:root {
    --navy: #0d2137;
    --navy-2: #153247;
    --green: #1b9e72;
    --green-2: #22bf8a;
    --green-soft: #e9f7f2;
    --line: #d8e4de;
    --muted: #5b7068;
    --text: #10251d;
    --white: #ffffff;
    --bg: #f7faf9;
    --shadow: 0 10px 28px rgba(13, 33, 55, 0.08);
    --radius: 18px;
    --serif: 'Fraunces', serif;
    --sans: 'Instrument Sans', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 999;
    background: var(--navy);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
}

/* Homepage banner style */
.compliance-banner {
    background: var(--green-soft);
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.compliance-banner .container {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    padding: 10px 0;
    color: var(--muted);
}

.compliance-banner a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
}

/* Homepage header style */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(216, 228, 222, 0.9);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green), var(--green-2));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(27, 158, 114, 0.28);
}

.brand-copy strong {
    display: block;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.1;
}

.brand-copy span {
    display: block;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 10px;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
    background: var(--green-soft);
    color: var(--navy);
    outline: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-login {
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--green), var(--green-2));
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(27, 158, 114, 0.22);
}

.btn-secondary {
    border: 1px solid var(--line);
    color: var(--navy);
    background: #fff;
}

/* Hero adapted to match homepage */
.hero {
    background: radial-gradient(circle at top right, rgba(34, 191, 138, .16), transparent 28%), linear-gradient(180deg, #f7faf9 0%, #ffffff 100%);
    padding: 72px 0 54px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr .95fr;
    gap: 32px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

h1 {
    margin: 0 0 14px;
    font-family: var(--serif);
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.02;
    letter-spacing: -.03em;
    color: var(--navy);
}

.hero p {
    margin: 0;
    max-width: 680px;
    font-size: 18px;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-panel {
    background: var(--navy);
    color: #fff;
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.hero-panel-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 8px 10px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    margin-bottom: 14px;
}

.hero-panel-top strong {
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #c4e9dc;
}

.hero-panel-top span {
    font-size: 12px;
    color: #89b1a7;
}

.hero-panel-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 20px;
}

.hero-panel-card h3 {
    margin: 0 0 8px;
    font-size: 28px;
    color: #fff;
}

.hero-panel-card p {
    font-size: 13px;
    color: #bdd9d0;
}

/* Privacy page layout restyled with homepage design system */
main {
    padding: 70px 0;
    background: var(--bg);
}

.privacy-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    grid-auto-flow: column;
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.toc {
    position: sticky;
    top: 96px;
    height: fit-content;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.toc h3 {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 800;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.toc a {
    display: block;
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
    padding: 8px 0 8px 14px;
    border-left: 2px solid #e6efeb;
    margin-bottom: 2px;
    transition: all .15s;
}

.toc a:hover,
.toc a.active {
    color: var(--navy);
    border-left-color: var(--green);
    background: linear-gradient(90deg, rgba(27, 158, 114, .08), transparent);
}

.policy-body {
    min-width: 0;
}

.last-updated {
    background: var(--green-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 18px;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 20px;
    font-weight: 600;
}

.callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.callout-icon {
    font-size: 24px;
    line-height: 1;
}

.callout-body h4 {
    margin: 0 0 8px;
    font-size: 20px;
    color: var(--navy);
}

.callout-body p {
    margin: 0;
    color: var(--muted);
}

.policy-section {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.policy-section h2 {
    margin: 0 0 14px;
    font-size: 26px;
    font-family: var(--serif);
    color: var(--navy);
    line-height: 1.15;
}

.policy-section h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    margin: 18px 0 8px;
}

.policy-section p,
.policy-section li {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
}

.policy-section ul,
.policy-section ol {
    padding-left: 22px;
    margin: 0 0 12px;
}

.policy-section strong {
    color: var(--navy);
}

.policy-section a {
    color: var(--green);
    font-weight: 700;
    text-decoration: none;
}

.policy-section a:hover {
    text-decoration: underline;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--line);
}

.data-table th {
    background: var(--navy);
    color: #fff;
    text-align: left;
    padding: 14px 16px;
    font-size: 13px;
    letter-spacing: .03em;
}

.data-table td {
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    vertical-align: top;
}

.data-table tr:nth-child(even) td {
    background: #fbfdfc;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.btn-full {
    width: 100%;
}

/* Homepage footer reused */
footer {
    padding: 50px 0;
    background: var(--navy);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr .8fr .9fr;
    gap: 28px;
}

.footer-brand h3,
.footer-links h4,
.footer-contact h4 {
    margin: 0 0 14px;
    font-size: 20px;
}

.footer-brand p,
.footer-contact p,
.footer-links a,
.footer-bottom {
    color: #c8dbd4;
    font-size: 14px;
    line-height: 1.7;
}

.footer-links a {
    display: block;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-meta {
    margin-top: 14px;
    font-size: 13px;
    color: #8fb1a6;
}

@media (max-width: 980px) {

    .hero-grid,
    .privacy-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .toc {
        position: static;
        order: 1;
    }

    .policy-body {
        order: 2;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links,
    .nav-actions {
        justify-content: flex-start;
    }

    .hero {
        padding-top: 52px;
    }

    .policy-section {
        padding: 22px;
    }

    .toc {
        padding: 18px;
    }

    .data-table {
        display: block;
        overflow-x: auto;
    }
}

/* ===== TOC Mobile Fix ===== */
@media (max-width: 768px) {

    .privacy-layout {
        display: flex;
        flex-direction: column;
    }

    .toc {
        position: relative !important;
        top: auto !important;
        width: 100%;
        max-height: none;
        overflow: visible;
        margin-bottom: 16px;
        border-radius: 14px;
        padding: 16px;
    }

    /* Make TOC scrollable horizontally instead of tall */
    .toc {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .toc h3 {
        display: none;
        /* optional: hide "Contents" on mobile */
    }

    .toc a {
        display: inline-block;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 6px 12px;
        font-size: 12px;
        white-space: nowrap;
        background: #fff;
    }

    .toc a.active {
        background: var(--green-soft);
        border-color: var(--green);
    }

    /* Content full width */
    .policy-body {
        width: 100%;
    }
}



.facility-form {
    display: grid;
    gap: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.form-group {
    padding-bottom: 16px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #f7faf9;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 15px 16px;
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(27, 158, 114, 0.12);
}

.form-group textarea {
    resize: vertical;
}

.small-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.form-recaptcha {
    display: flex;
    justify-content: center;
}

@media (max-width: 760px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}