/* ================================================
   FAUNA COVE — privacy.css
   ================================================ */

/* ── RESET ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── TOKENS ── */
:root {
    --bg: #F8F9FB;
    --white: #ffffff;
    --text: #001B44;
    --muted: #6b7a99;
    --border: #e4e8f0;
    --card-bg: #f0f2f7;
    --dark: #0e1d36;
    --serif: 'Noto Serif', Georgia, serif;
    --sans: 'Manrope', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: #ffffff40;
    font-size: 11.2px;

}

button {
    cursor: pointer;
    font-family: var(--sans);
}

li {
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.6;
}


/* ================================================
   HEADER
   ================================================ */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 40px;
    height: 58px;
    display: flex;
    align-items: center;
}

/* Text logo */
.brand {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

/* Right icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.icon-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: none;
    border: none;
    color: var(--text);
    transition: background 0.18s;
}

.icon-btn:hover {
    background: var(--card-bg);
}

.icon-btn svg {
    width: 18px;
    height: 18px;
}

.avatar-btn {
    background: var(--text);
    color: #fff;
    width: 32px;
    height: 32px;
}

.avatar-btn:hover {
    background: #0a2a5a;
}

.avatar-btn svg {
    width: 16px;
    height: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    margin-left: 4px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 1.8px;
    background: var(--text);
    border-radius: 2px;
}


/* ================================================
   MOBILE DRAWER
   ================================================ */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
}

.mobile-nav.open {
    display: block;
}

.mobile-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 12, 36, 0.35);
    backdrop-filter: blur(2px);
}

.mobile-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 260px;
    background: var(--white);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: drawerRight 0.27s ease;
}

@keyframes drawerRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.drawer-close {
    align-self: flex-start;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1;
}

.drawer-link {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    padding: 12px 10px;
    border-radius: 6px;
    transition: background 0.18s;
}

.drawer-link:hover {
    background: var(--card-bg);
}


/* ================================================
   PAGE HERO — centered
   ================================================ */
.page-hero {
    text-align: center;
    padding: 56px 32px 48px;
    max-width: 680px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
    display: block;
}

.page-hero h1 {
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 58px);
    font-weight: 400;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-sub {
    font-family: var(--sans);
    font-size: 14px;
    color: var(--muted);
    line-height: 1.72;
}


/* ================================================
   BODY: SIDEBAR + CONTENT
   ================================================ */
.body-wrap {
    padding-bottom: 0;
}

.body-inner {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 40px 0;
    display: grid;
    grid-template-columns: 148px 1fr;
    gap: 64px;
    align-items: start;
}


/* ================================================
   SIDEBAR
   ================================================ */
.sidebar {
    position: sticky;
    top: 80px;
    padding-top: 4px;
}

.sidebar-title {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.toc {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 24px;
}

.toc-link {
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--muted);
    padding: 5px 0;
    transition: color 0.18s;
    line-height: 1.4;
}

.toc-link:hover {
    color: var(--text);
}

.toc-link.active {
    color: var(--text);
    font-weight: 700;
}

.effective-date {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 14px 14px 16px;
}

.effective-label {
    display: block;
    font-family: var(--sans);
    font-style: italic;
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 6px;
}

.effective-value {
    display: block;
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
}


/* ================================================
   MAIN CONTENT
   ================================================ */
.content {
    min-width: 0;
    padding-bottom: 0;
}

/* ── Each policy section ── */
.policy-section {
    padding: 40px 0 48px;
    border-top: 1px solid var(--border);
}

.policy-section:first-child {
    border-top: none;
    padding-top: 0;
}

/* Section number + heading inline */
.section-num-wrap {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 22px;
}

.section-num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 28px;
    font-weight: 300;
    color: #c0cad8;
    line-height: 1;
    flex-shrink: 0;
}

.section-num-wrap h2 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.2;
}

/* Body text */
.policy-section p {
    font-family: var(--sans);
    font-size: 13.5px;
    color: #3a4a6a;
    line-height: 1.82;
    margin-bottom: 16px;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

/* ── Info cards (section 01) ── */
.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.info-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 22px 22px 24px;
}

.info-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 14px;
    color: var(--muted);
}

.info-icon svg {
    width: 100%;
    height: 100%;
}

.info-card h4 {
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.info-card p {
    font-family: var(--sans);
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.68;
    margin-bottom: 0;
}

/* ── Blockquote (section 02) ── */
.policy-quote {
    border-left: 3px solid var(--text);
    padding: 4px 0 4px 22px;
    margin: 24px 0;
    font-family: var(--serif);
    font-style: italic;
    font-size: 16px;
    color: var(--text);
    line-height: 1.65;
}

/* ── Dark section (03) ── */
.section-dark {
    background: #001B44;
    border-radius: 14px;
    padding: 36px 40px 40px;
    border-top: none;
    margin: 0 0 0;
}

.section-dark .section-num {
    color: rgba(255, 255, 255, 0.22);
}

.section-dark h2 {
    color: #fff;
}

.section-dark p {
    color: rgba(255, 255, 255, 0.52);
    margin-bottom: 16px;
}

.section-dark p:last-child {
    margin-bottom: 0;
}

/* ── Rights list (section 04) ── */
.rights-list {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rights-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-family: var(--sans);
    font-size: 13.5px;
    color: #3a4a6a;
    line-height: 1.6;
}

.rights-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--muted);
    opacity: 0.7;
}

.rights-icon svg {
    width: 100%;
    height: 100%;
}

.rights-list strong {
    color: var(--text);
    font-weight: 700;
}

/* ── Further Inquiries ── */
.inquiries-section {
    text-align: center;
    padding: 72px 0 80px;
    border-top: none;
}

.inquiries-title {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 16px;
}

.inquiries-sub {
    font-family: var(--sans);
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 32px;
    text-align: center;
}

.btn-email {
    display: inline-block;
    background: #001B44;
    color: #fff;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 14px 32px;
    border-radius: 6px;
    transition: opacity 0.2s;
}

.btn-email:hover {
    opacity: 0.85;
}


/* ── Footer ── */
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 1s 1.5s ease both;
    padding: 40px;
    background-color: #001B44;
}

.footer-text {
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.25);
}

.footer-note {
    font-family: 'Manrope', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
}



/* ================================================
   RESPONSIVE — LARGE TABLET (≤1024px)
   ================================================ */
@media (max-width: 1024px) {
    .header-inner {
        padding: 0 28px;
    }

    .body-inner {
        padding: 0 28px;
        gap: 44px;
        grid-template-columns: 130px 1fr;
    }

    .page-hero {
        padding: 44px 28px 36px;
    }

    .footer-inner {
        padding: 40px 28px 36px;
        grid-template-columns: 1.2fr 1fr 1fr 0.9fr;
        gap: 28px;
    }

    .section-dark {
        padding: 30px 32px 34px;
    }
}


/* ================================================
   RESPONSIVE — TABLET (≤768px)
   ================================================ */
@media (max-width: 768px) {

    /* Nav collapses */
    #nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-inner {
        padding: 0 20px;
    }

    /* Hero */
    .page-hero {
        padding: 36px 20px 28px;
    }

    .page-hero h1 {
        font-size: 40px;
    }

    .hero-sub br {
        display: none;
    }

    /* Body: stack sidebar above content */
    .body-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 20px;
    }

    /* Sidebar: horizontal scrolling TOC bar */
    .sidebar {
        position: static;
        display: flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
        padding: 16px 0 20px;
        border-bottom: 1px solid var(--border);
        margin-bottom: 32px;
    }

    .sidebar-title {
        flex-shrink: 0;
        margin-bottom: 0;
        font-size: 10px;
    }

    .toc {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px 16px;
        margin-bottom: 0;
    }

    .toc-link {
        font-size: 12px;
        padding: 3px 0;
    }

    .effective-date {
        display: none;
    }

    /* Info cards */
    .info-cards {
        grid-template-columns: 1fr 1fr;
    }

    /* Section dark */
    .section-dark {
        padding: 28px 24px 32px;
        border-radius: 10px;
    }

    /* Inquiries */
    .inquiries-section {
        padding: 52px 0 60px;
    }

    .inquiries-title {
        font-size: 28px;
    }

    .inquiries-sub br {
        display: none;
    }

    /* Footer 2-col */
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        padding: 36px 20px 32px;
        gap: 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* ================================================
   RESPONSIVE — MOBILE (≤480px)
   ================================================ */
@media (max-width: 480px) {
    .header-inner {
        padding: 0 16px;
    }

    .brand {
        font-size: 16px;
    }

    /* Hero */
    .page-hero {
        padding: 28px 16px 22px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .hero-sub {
        font-size: 13px;
    }

    /* Body */
    .body-inner {
        padding: 0 16px;
    }

    .sidebar {
        gap: 12px;
    }

    .toc {
        gap: 3px 12px;
    }

    /* Section headings */
    .section-num-wrap h2 {
        font-size: 20px;
    }

    .section-num {
        font-size: 22px;
    }

    /* Info cards: stack */
    .info-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Blockquote */
    .policy-quote {
        font-size: 14.5px;
    }

    /* Dark section */
    .section-dark {
        padding: 24px 20px 28px;
        border-radius: 10px;
    }

    /* Rights list */
    .rights-list li {
        font-size: 13px;
    }

    /* Inquiries */
    .inquiries-section {
        padding: 44px 0 52px;
    }

    .inquiries-title {
        font-size: 24px;
    }

    .inquiries-sub {
        font-size: 13px;
    }

    .btn-email {
        font-size: 12.5px;
        padding: 13px 24px;
    }

    /* Footer: fully stacked */
    .footer-inner {
        grid-template-columns: 1fr;
        padding: 32px 16px 28px;
        gap: 20px;
    }

    .footer-brand {
        grid-column: auto;
    }
}