@font-face {
    font-family: "Fraunces";
    src: url("fonts/Fraunces.ttf") format("truetype");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fraunces";
    src: url("fonts/Fraunces-Italic.ttf") format("truetype");
    font-weight: 400 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --app-background: #F7F2EA;
    --sub-surface: #EFE7DA;
    --card-background: #FFFFFF;
    --card-elevated: #FFFDF9;
    --app-primary: #E8836B;
    --coral-soft: #FFD7C2;
    --coral-deep: #C56549;
    --app-secondary: #5BA4A4;
    --teal-soft: #D9E8DD;
    --teal-deep: #3D8585;
    --cake-pink: #F4B5C7;
    --butter: #FFE6A8;
    --sage: #C7DCC1;
    --iris: #B8B5E1;
    --success-soft: #D7EFDF;
    --text-primary: #1B1F26;
    --text-secondary: #3A4250;
    --text-tertiary: #6B7280;
    --shadow-key: 0 1px 2px rgba(28, 33, 46, 0.06);
    --shadow-ambient: 0 8px 24px rgba(28, 33, 46, 0.08);
    --shadow-coral: 0 8px 22px rgba(232, 131, 107, 0.32), 0 2px 6px rgba(232, 131, 107, 0.18);
    --radius-sm: 14px;
    --radius-md: 18px;
    --radius-lg: 22px;
    --radius-xl: 28px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --app-background: #1A2230;
        --sub-surface: #222C3C;
        --card-background: #222C3C;
        --card-elevated: #2A3648;
        --coral-soft: rgba(232, 131, 107, 0.16);
        --coral-deep: #F09C82;
        --teal-soft: rgba(91, 164, 164, 0.18);
        --teal-deep: #84C5C5;
        --success-soft: rgba(77, 176, 120, 0.20);
        --text-primary: #F2F4F7;
        --text-secondary: #C7CDD6;
        --text-tertiary: #8E97A4;
        --shadow-key: 0 1px 2px rgba(0, 0, 0, 0.35);
        --shadow-ambient: 0 10px 28px rgba(0, 0, 0, 0.32);
    }
}

* {
    box-sizing: border-box;
}

html {
    background: var(--app-background);
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text-primary);
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 215, 194, 0.75), transparent 24rem),
        radial-gradient(circle at 86% 18%, rgba(217, 232, 221, 0.85), transparent 22rem),
        linear-gradient(180deg, var(--app-background), var(--sub-surface));
    font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

body.privacy-page {
    background:
        radial-gradient(circle at 12% 12%, rgba(217, 232, 221, 0.8), transparent 22rem),
        radial-gradient(circle at 88% 16%, rgba(255, 215, 194, 0.7), transparent 20rem),
        linear-gradient(180deg, var(--app-background), var(--sub-surface));
}

a {
    color: var(--coral-deep);
    text-decoration-color: rgba(197, 101, 73, 0.32);
    text-underline-offset: 0.18em;
}

.page-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header,
.privacy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0 8px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 700;
    text-decoration: none;
}

.brand-mark img,
.hero-icon img {
    display: block;
    object-fit: contain;
}

.brand-mark img {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--card-background);
    box-shadow: var(--shadow-key), var(--shadow-ambient);
}

.nav-link,
.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    border-radius: 999px;
    color: var(--coral-deep);
    font-weight: 700;
    text-decoration: none;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    align-items: center;
    gap: 40px;
    min-height: min(680px, calc(100vh - 156px));
    padding: 44px 0 28px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal-deep);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
}

h1,
.privacy-title {
    font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
    font-size: 5.6rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 0.92;
}

.privacy-title {
    font-size: 4.4rem;
}

.hero-copy {
    max-width: 680px;
}

.tagline,
.privacy-intro {
    max-width: 620px;
    margin: 20px 0 0;
    color: var(--text-secondary);
    font-size: 1.28rem;
    font-weight: 600;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--app-primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-coral);
    font-weight: 800;
    text-decoration: none;
}

.button.secondary {
    background: var(--card-background);
    color: var(--text-primary);
    box-shadow: var(--shadow-key), var(--shadow-ambient);
}

.hero-panel {
    position: relative;
    min-height: 440px;
    padding: 28px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hero-panel::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(232, 131, 107, 0.14), transparent 38%),
        linear-gradient(315deg, rgba(91, 164, 164, 0.16), transparent 42%);
    content: "";
}

.hero-panel > * {
    position: relative;
}

.hero-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 28px;
    border-radius: 29px;
    background: var(--card-background);
    box-shadow: var(--shadow-key), var(--shadow-ambient);
    display: grid;
    place-items: center;
}

.hero-icon img {
    width: 82px;
    height: 82px;
}

.mini-card {
    max-width: 320px;
    margin-left: auto;
    padding: 18px;
    border: 0.5px solid rgba(28, 33, 46, 0.06);
    border-radius: var(--radius-lg);
    background: var(--card-background);
    box-shadow: var(--shadow-key), var(--shadow-ambient);
}

.mini-card + .mini-card {
    margin-top: 16px;
    margin-left: 0;
}

.mini-label,
.feature-label {
    color: var(--text-tertiary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mini-title {
    margin-top: 6px;
    font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.05;
}

.mini-meta {
    margin: 8px 0 0;
    color: var(--text-secondary);
    font-weight: 600;
}

.section {
    padding: 36px 0;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.section h2 {
    font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
    font-size: 2.75rem;
    font-weight: 650;
    line-height: 1;
}

.section-kicker {
    max-width: 540px;
    margin: 0;
    color: var(--text-secondary);
    font-weight: 600;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card,
.privacy-card,
.content-card {
    border: 0.5px solid rgba(28, 33, 46, 0.06);
    border-radius: var(--radius-lg);
    background: var(--card-background);
    box-shadow: var(--shadow-key), var(--shadow-ambient);
}

.feature-card {
    min-height: 210px;
    padding: 18px;
}

.feature-icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: var(--radius-sm);
    background: var(--coral-soft);
    color: var(--coral-deep);
    font-weight: 900;
}

.feature-card:nth-child(2n) .feature-icon {
    background: var(--teal-soft);
    color: var(--teal-deep);
}

.feature-card:nth-child(3n) .feature-icon {
    background: var(--success-soft);
    color: #2E7E50;
}

.feature-card h3 {
    margin-top: 8px;
    font-size: 1.05rem;
    line-height: 1.2;
}

.feature-card p,
.privacy-card p,
.content-card p,
.content-card li {
    color: var(--text-secondary);
}

.privacy-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 24px;
}

.privacy-card h2 {
    font-size: 1.75rem;
}

.privacy-card p {
    max-width: 700px;
    margin: 8px 0 0;
    font-weight: 600;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 32px 0 40px;
    color: var(--text-tertiary);
    font-size: 0.95rem;
    font-weight: 600;
}

.privacy-hero {
    padding: 44px 0 24px;
}

.content-card {
    padding: 40px;
}

.notice {
    margin-bottom: 28px;
    padding: 18px 20px;
    border-left: 4px solid var(--app-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: var(--coral-soft);
}

.notice p {
    margin: 0;
    color: var(--text-primary);
    font-weight: 650;
}

.content-card h2 {
    margin: 28px 0 10px;
    padding-top: 24px;
    border-top: 1px solid rgba(107, 114, 128, 0.18);
    color: var(--coral-deep);
    font-size: 1.15rem;
}

.content-card h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.content-card p {
    margin: 0 0 14px;
}

.content-card ul {
    margin: 12px 0 18px;
    padding-left: 22px;
}

.last-updated {
    display: inline-flex;
    margin-top: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal-deep);
    font-size: 0.82rem;
    font-weight: 800;
}

@media (prefers-color-scheme: dark) {
    .feature-card,
    .privacy-card,
    .content-card,
    .mini-card {
        border-color: rgba(255, 255, 255, 0.06);
    }

    .feature-card:nth-child(3n) .feature-icon {
        color: #7DCFA1;
    }
}

@media (max-width: 820px) {
    h1 {
        font-size: 4.1rem;
    }

    .privacy-title {
        font-size: 3.2rem;
    }

    .tagline,
    .privacy-intro {
        font-size: 1.16rem;
    }

    .section h2 {
        font-size: 2.25rem;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 32px;
    }

    .hero-panel {
        min-height: 360px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .privacy-card,
    .section-header {
        display: block;
    }

    .privacy-card .button,
    .section-kicker {
        margin-top: 16px;
    }
}

@media (max-width: 560px) {
    h1 {
        font-size: 3rem;
    }

    .privacy-title {
        font-size: 2.55rem;
    }

    .tagline,
    .privacy-intro {
        font-size: 1.08rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .content-card {
        padding: 22px;
    }

    .page-shell {
        width: min(100% - 24px, 1120px);
    }

    .site-header,
    .privacy-header,
    .footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}
