* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --anchor-deep-navy: #222e43;
    --slate-blue: #536b77;
    --cool-medical-gray: #8b9da4;
    --soft-off-white: #f2f6f8;
    --clear-action-blue: #057afb;
    --reassured-signal-green: #51a854;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #fff;
    color: var(--anchor-deep-navy);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 60px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 26px;
    font-weight: 500;
    color: var(--anchor-deep-navy);
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.header-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    padding: 12px 28px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--clear-action-blue);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #0569d4;
}

.btn-outline {
    background-color: transparent;
    color: var(--anchor-deep-navy);
    border: 1px solid var(--cool-medical-gray);
}

.btn-sign-in {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.18;
}

.btn-outline:hover {
    border-color: var(--anchor-deep-navy);
}

/* Main Content */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px 100px;
}

.legal-header {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.legal-header h1 {
    font-size: 42px;
    font-weight: 400;
    color: var(--anchor-deep-navy);
    margin-bottom: 12px;
}

.last-updated {
    font-size: 14px;
    color: var(--cool-medical-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.important-notice {
    background-color: var(--soft-off-white);
    border-left: 4px solid var(--clear-action-blue);
    padding: 24px 28px;
    margin-bottom: 40px;
    border-radius: 0 8px 8px 0;
}

.important-notice p {
    font-size: 14px;
    color: var(--slate-blue);
    margin-bottom: 16px;
}

.important-notice p:last-child {
    margin-bottom: 0;
}

.important-notice strong {
    color: var(--anchor-deep-navy);
}

.medical-notice {
    background-color: #fff8f0;
    border-left: 4px solid #e67e22;
    padding: 24px 28px;
    margin-bottom: 50px;
    border-radius: 0 8px 8px 0;
}

.medical-notice h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--anchor-deep-navy);
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.medical-notice p {
    font-size: 15px;
    color: var(--slate-blue);
    margin-bottom: 14px;
}

.medical-notice p:last-child {
    margin-bottom: 0;
}

.section {
    margin-bottom: 40px;
}

.section h2 {
    font-size: 24px;
    font-weight: 500;
    color: var(--anchor-deep-navy);
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--anchor-deep-navy);
    margin-top: 28px;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
}

.section p {
    font-size: 15px;
    color: var(--slate-blue);
    margin-bottom: 16px;
    line-height: 1.8;
}

.section p:last-child {
    margin-bottom: 0;
}

.section ul {
    list-style: none;
    margin-bottom: 16px;
    padding-left: 0;
}

.section li {
    font-size: 15px;
    color: var(--slate-blue);
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    line-height: 1.7;
}

.section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--cool-medical-gray);
    border-radius: 50%;
}

.address {
    font-style: normal;
    background-color: var(--soft-off-white);
    padding: 16px 20px;
    border-radius: 6px;
    margin: 16px 0;
    font-size: 14px;
    color: var(--slate-blue);
    line-height: 1.8;
}

.contact-link {
    color: var(--clear-action-blue);
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--anchor-deep-navy);
    color: #fff;
    padding: 50px 60px;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-brand {
    flex: 1;
}

.footer-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    max-width: 280px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
    padding-left: 0;
}

.footer-column li::before {
    display: none;
}

.footer-column a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 900px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 16px 24px;
    }

    .logo {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .legal-container {
        padding: 40px 24px 80px;
    }

    .legal-header h1 {
        font-size: 32px;
    }

    .section h2 {
        font-size: 20px;
    }

    .footer {
        padding: 40px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}