/* Home page layout — header/footer live in site-chrome.css */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(36, 127, 120, 0.1), transparent 55%),
        radial-gradient(900px 500px at 100% 0%, rgba(196, 163, 90, 0.1), transparent 50%),
        var(--paper);
    line-height: 1.55;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }

.hero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: grid;
    align-items: end;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 70% 20%, rgba(196, 163, 90, 0.22), transparent 55%),
        radial-gradient(ellipse 60% 50% at 15% 80%, rgba(36, 127, 120, 0.35), transparent 50%),
        linear-gradient(180deg, rgba(18, 60, 57, 0.05), rgba(18, 60, 57, 0.58) 55%, rgba(15, 47, 44, 0.9)),
        linear-gradient(135deg, #247f78 0%, #123c39 55%, #0d2b29 100%);
    animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(4rem, 12vh, 7rem) 1.25rem clamp(3.5rem, 10vh, 6rem);
    color: white;
}

.brand-mark {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 0.95;
    color: var(--gold);
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 500;
    line-height: 1.08;
    max-width: 18ch;
    margin-bottom: 1rem;
}

.hero-copy {
    max-width: 36rem;
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
    background: white;
    color: var(--brand-dark);
}

.btn-ghost {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost.dark {
    color: var(--ink);
    border-color: rgba(18, 60, 57, 0.25);
}

.btn-ghost.dark:hover {
    border-color: var(--ink);
}

.section {
    padding: clamp(4rem, 8vw, 6.25rem) 1.25rem;
}

.section-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 0.85rem;
}

.eyebrow.light { color: var(--gold); }

.section h2,
.paths h3,
.audience h3,
.feature-row h3 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.section h2 {
    font-size: clamp(2rem, 4vw, 2.85rem);
    margin-bottom: 0.75rem;
    max-width: 18ch;
    line-height: 1.12;
}

.section-lead {
    color: var(--muted);
    max-width: 40rem;
    margin-bottom: 2.75rem;
    font-size: 1.05rem;
}

.intro {
    border-bottom: 1px solid var(--line);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 2.5rem 4rem;
    align-items: end;
}

.intro-grid h2 {
    max-width: 14ch;
    margin-bottom: 0;
}

.intro-copy {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 34rem;
}

.steps {
    list-style: none;
    display: grid;
    gap: 2rem;
    counter-reset: step;
}

.steps li {
    display: grid;
    gap: 0.45rem;
    padding-left: 3.5rem;
    position: relative;
    max-width: 44rem;
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--wash);
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 0.9rem;
}

.steps strong { font-size: 1.18rem; }
.steps span { color: var(--muted); }

.features {
    background: linear-gradient(180deg, transparent, rgba(238, 245, 242, 0.55));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
}

.feature-row {
    padding: 1.75rem 1.5rem 1.75rem 0;
    border-bottom: 1px solid var(--line);
}

.feature-row:nth-child(odd) {
    padding-right: 2.25rem;
    border-right: 1px solid var(--line);
}

.feature-row:nth-child(even) {
    padding-left: 2.25rem;
}

.feature-row h3 {
    font-size: 1.35rem;
    margin-bottom: 0.55rem;
}

.feature-row p {
    color: var(--muted);
    max-width: 32rem;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.audience-grid h3 {
    font-size: 1.55rem;
    margin-bottom: 1rem;
}

.audience-grid li {
    position: relative;
    padding: 0.55rem 0 0.55rem 1.25rem;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}

.audience-grid li:last-child { border-bottom: 0; }

.audience-grid li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--gold);
}

.privacy {
    padding-top: 0;
}

.privacy-panel {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
    padding: clamp(2.5rem, 5vw, 3.5rem);
    background:
        radial-gradient(ellipse 70% 80% at 100% 0%, rgba(196, 163, 90, 0.18), transparent 50%),
        linear-gradient(145deg, #1a4f4a, var(--deep));
    color: white;
}

.privacy-panel h2 {
    color: white;
    max-width: 16ch;
}

.privacy-panel p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 34rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.privacy-points {
    display: grid;
    gap: 0.85rem;
}

.privacy-points li {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 650;
    color: rgba(255, 255, 255, 0.92);
}

.privacy-points li:last-child { border-bottom: 0; }

.paths {
    background: transparent;
}

.path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 4rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
}

.path-grid article {
    max-width: 28rem;
    padding-top: 1.75rem;
}

.path-grid h3 {
    font-size: 1.55rem;
    margin-bottom: 0.55rem;
}

.path-grid p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.text-link {
    color: var(--brand);
    font-weight: 750;
    text-decoration: none;
    border-bottom: 1px solid rgba(36, 127, 120, 0.35);
}

.text-link:hover { border-bottom-color: var(--brand); }

.cta-band {
    border-top: 1px solid var(--line);
    background:
        radial-gradient(900px 400px at 50% 120%, rgba(36, 127, 120, 0.12), transparent 60%),
        var(--wash);
}

.cta-band-inner {
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 1rem;
}

.cta-band h2 {
    max-width: none;
    margin-bottom: 0;
}

.cta-band p {
    color: var(--muted);
    max-width: 28rem;
    margin-bottom: 0.5rem;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    animation: rise-in 0.8s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

.fade-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes rise-in {
    to { opacity: 1; transform: none; }
}

@keyframes atmosphere-drift {
    from { transform: scale(1) translate3d(0, 0, 0); }
    to { transform: scale(1.04) translate3d(-1.5%, 1%, 0); }
}

@media (max-width: 900px) {
    .intro-grid,
    .feature-list,
    .audience-grid,
    .privacy-panel,
    .path-grid {
        grid-template-columns: 1fr;
    }

    .feature-row:nth-child(odd),
    .feature-row:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
        border-right: 0;
    }

    .section h2 { max-width: none; }
}

@media (max-width: 760px) {
    .hero-inner { align-self: center; padding-top: 5rem; }
    .privacy-panel { padding: 2rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
    .hero-atmosphere { animation: none; }
    .reveal,
    .fade-up {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }
}
