:root {
    --white: #ffffff;
    --sand: #F7F4EC;
    --mist: #EDF6F3;
    --navy: #0A1F3C;
    --teal: #0B7D77;
    --gold: #D4AF37;
    --ink: #121923;
    --muted: #5e676f;
    --line: rgba(7, 31, 55, 0.13);
    --max: 1220px;
    --sans: Inter, "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--sand);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.shell {
    width: min(var(--max), calc(100% - 28px));
    margin-inline: auto;
}

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    background: transparent;
    border-top: 1px solid rgba(10, 31, 60, 0.14);
}

.header-inner {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.wordmark {
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 850;
}

.header-label,
.atg-link {
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.015em;
}

.atg-link {
    text-transform: none;
    font-size: 0.68rem;
}

.atg-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: var(--gold);
}

.hero {
    min-height: 650px;
    padding: 102px 0 82px;
    background: linear-gradient(145deg, var(--sand), var(--white) 54%, var(--mist));
}

.hero-grid {
    min-height: 550px;
    display: grid;
    grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1.25fr);
    gap: clamp(56px, 8vw, 118px);
    align-items: center;
}

.hero-lab {
    align-self: start;
    padding-top: 4px;
}

.hero-logo {
    width: min(100%, 425px);
    height: auto;
}

.byline {
    margin: -3px 0 0 98px;
    font-size: clamp(0.78rem, 1vw, 0.9rem);
    color: var(--ink);
    white-space: nowrap;
}

.lab-explainer {
    max-width: 420px;
    margin: 88px 0 0 28px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.hero-message {
    max-width: 720px;
}

h1,
h2,
p {
    margin-top: 0;
}

h1,
h2 {
    color: var(--navy);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(3.2rem, 5.2vw, 5rem);
    font-weight: 680;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 4.4vw, 4rem);
    font-weight: 650;
}

.hero-message > p {
    max-width: 700px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    line-height: 1.65;
}

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

.button {
    min-height: 50px;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 750;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button img {
    width: 20px;
    height: 20px;
}

.button-primary {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(7, 31, 55, 0.12);
}

.button-primary:hover {
    background: #0b2b4a;
}

.button-quiet {
    border: 1px solid var(--line);
    color: var(--navy);
    background: transparent;
}

.button-quiet:hover {
    background: var(--mist);
}

.section {
    padding: 96px 0;
    border-top: 1px solid var(--line);
}

.section-intro {
    background: var(--white);
}

.intro-grid,
.conversation-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(52px, 7vw, 96px);
    align-items: start;
}

.section-label {
    margin: 0 0 18px;
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.intro-copy {
    padding-top: 6px;
}

.intro-copy > p {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 1.06rem;
}

.capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.capabilities span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 13px;
    background: var(--white);
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 700;
}

.health-section {
    background: var(--mist);
}

.health-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.65fr);
    gap: clamp(36px, 7vw, 100px);
    align-items: end;
    padding: clamp(32px, 5vw, 60px);
    border: 1px solid var(--line);
    background: var(--white);
}

.health-copy p:last-child {
    max-width: 690px;
    margin-bottom: 0;
    color: var(--muted);
}

.health-action {
    border-left: 2px solid var(--gold);
    padding-left: 22px;
}

.health-action .status {
    display: block;
    margin-bottom: 10px;
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.health-action p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.conversation {
    background: var(--navy);
    color: var(--white);
    border-top-color: rgba(255, 255, 255, 0.08);
}

.conversation .section-label {
    color: var(--gold);
}

.conversation h2 {
    max-width: 650px;
    margin-bottom: 0;
    color: var(--white);
    font-size: clamp(2.35rem, 3.9vw, 3.75rem);
}

.conversation-copy {
    max-width: 560px;
    padding-top: 36px;
}

.conversation-copy > p {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.05rem;
}

.conversation-copy > p:first-child {
    color: var(--white);
    font-size: clamp(1.08rem, 1.5vw, 1.25rem);
    font-weight: 700;
    line-height: 1.55;
}

.conversation-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.conversation .button-primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: none;
}

.conversation .button-primary:hover {
    background: #096B66;
}

.email-link {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
}

.email-link:hover {
    color: #DDE9EE;
    text-decoration: underline;
    text-underline-offset: 5px;
}

footer {
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.58);
}

.footer-inner {
    min-height: 78px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 0.76rem;
}

@media (max-width: 900px) {
    .shell {
        width: min(100% - 40px, var(--max));
    }

    .hero {
        padding-top: 112px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 62px;
        min-height: auto;
    }

    .hero-lab {
        max-width: 540px;
    }

    .hero-logo {
        width: min(100%, 500px);
    }

    .byline {
        margin-left: 12%;
    }

    .lab-explainer {
        margin: 52px 0 0;
        max-width: 520px;
    }

    .hero-message {
        max-width: 760px;
    }

    .intro-grid,
    .conversation-grid,
    .health-card {
        grid-template-columns: 1fr;
    }

    .conversation-copy {
        max-width: 680px;
        padding-top: 0;
    }
}

@media (max-width: 560px) {
    .shell {
        width: calc(100% - 30px);
    }

    .header-inner {
        min-height: 62px;
    }

    .header-label {
        font-size: 0.62rem;
    }

    .atg-link {
        display: none;
    }

    .hero {
        padding: 92px 0 64px;
        min-height: 0;
    }

    .hero-grid {
        gap: 54px;
    }

    .hero-logo {
        width: 100%;
    }

    .byline {
        margin: 0 0 0 13%;
        font-size: 0.76rem;
        white-space: normal;
    }

    .lab-explainer {
        margin-top: 42px;
        font-size: 0.95rem;
    }

    h1 {
        font-size: clamp(2.6rem, 12vw, 3.7rem);
    }

    .actions,
    .conversation-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .section {
        padding: 66px 0;
    }

    .health-card {
        padding: 26px 22px;
    }

    .footer-inner {
        padding: 22px 0;
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}




.footer-single-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 900px) {
    .footer-single-line {
        justify-content: flex-start;
    }
}


/* Consent-first analytics */
.analytics-preferences {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 80;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(10,31,60,.94);
    color: #fff;
    font: 700 .72rem/1.2 var(--sans);
    box-shadow: 0 8px 24px rgba(10,31,60,.18);
    cursor: pointer;
}

.analytics-consent {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 90;
    width: min(760px, calc(100% - 28px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 20px 22px;
    border: 1px solid rgba(10,31,60,.14);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 20px 60px rgba(10,31,60,.18);
}

.analytics-consent[hidden] {
    display: none;
}

.analytics-consent-copy strong {
    display: block;
    margin-bottom: 4px;
    color: var(--navy);
    font-size: .95rem;
}

.analytics-consent-copy p {
    margin: 0;
    max-width: 62ch;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.5;
}

.analytics-consent-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.analytics-button {
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 6px;
    font: 750 .8rem/1 var(--sans);
    cursor: pointer;
}

.analytics-button-primary {
    border: 1px solid var(--navy);
    background: var(--navy);
    color: #fff;
}

.analytics-button-quiet {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--navy);
}

@media (max-width: 700px) {
    .analytics-consent {
        grid-template-columns: 1fr;
        gap: 14px;
        bottom: 12px;
    }

    .analytics-consent-actions {
        justify-content: stretch;
    }

    .analytics-button {
        flex: 1 1 140px;
    }

    .analytics-preferences {
        right: 10px;
        bottom: 10px;
    }
}
