:root {
    --ink: #17261e;
    --paper: #f5efe6;
    --moss: #36563d;
    --muted: #5e675f;
    --line: #d7d5ca;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at 81% 12%, rgba(224, 201, 163, .22), transparent 26%), var(--paper);
    font-size: 17px;
    line-height: 1.55;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid #6b54aa;
    outline-offset: 4px;
}

.shell {
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    min-height: 118px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ded3c2;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    flex: none;
}

.brand-logo img {
    display: block;
    width: auto;
    height: 96px;
}

.header-cta,
.text-link {
    font-weight: 700;
    text-underline-offset: 5px;
}

.header-cta {
    font-size: 15px;
}

.eyebrow {
    margin: 0 0 15px;
    color: var(--moss);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.calm-hero {
    min-height: 620px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    padding: 42px 0 50px;
}

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

.calm-hero h1 {
    margin: 0;
    font-size: clamp(44px, 5.6vw, 72px);
    letter-spacing: -.065em;
    line-height: .99;
}

.lead {
    color: #46544a;
    font-size: 19px;
    line-height: 1.55;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    margin-top: 32px;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.primary {
    background: var(--ink);
    color: #fff;
}

.primary:hover:not(:disabled) {
    background: #304a38;
}

.text-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.text-link span {
    font-size: 22px;
}

.hero-product {
    position: relative;
    min-height: 685px;
    display: grid;
    place-items: center;
    border: 1px solid #d8dac9;
    border-radius: 42px;
    background: linear-gradient(145deg, #e4ebd9, #ece5d5);
}

.hero-product::before {
    content: "";
    position: absolute;
    width: 83%;
    height: 74%;
    border: 1px solid rgba(73, 92, 65, .18);
    border-radius: 36px;
    transform: rotate(-7deg);
}

.preview-label {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: #5c667b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.real-screen-link {
    position: relative;
    z-index: 1;
    display: block;
    width: 276px;
    overflow: hidden;
    border: 7px solid var(--ink);
    border-radius: 38px;
    background: #fff;
    box-shadow: 0 25px 45px rgba(30, 52, 39, .16);
}

.real-screen-link img {
    display: block;
    width: 100%;
    height: auto;
}

.real-screen-link:focus-visible {
    outline-offset: 7px;
}

.steps {
    margin-bottom: 76px;
    padding: 48px;
    border: 1px solid #e6ddcf;
    border-radius: 32px;
    background: rgba(255, 253, 248, .72);
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.step-grid article {
    padding: 8px 24px 10px 0;
    border-right: 1px solid var(--line);
}

.step-grid article:last-child {
    border: 0;
}

.step-grid span {
    color: var(--moss);
    font-size: 13px;
    font-weight: 800;
}

.step-grid h2 {
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: -.04em;
}

.step-grid p {
    color: var(--muted);
    font-size: 16px;
}

.warm-audience {
    padding: 76px 0;
    background: #e8dccb;
}

.warm-audience-grid,
.knowledge {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.warm-audience h2,
.knowledge h2 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.warm-audience h2 {
    font-size: clamp(32px, 3.5vw, 48px);
}

.warm-audience-grid > p {
    margin: 0;
    color: #3f4b40;
    font-size: 19px;
    line-height: 1.55;
}

.knowledge {
    padding: 98px 0;
}

.knowledge h2 {
    font-size: clamp(32px, 3.4vw, 46px);
}

.knowledge > div:last-child {
    color: #3f4b40;
    font-size: 18px;
}

.knowledge > div:last-child p:first-child {
    margin-top: 0;
}

.knowledge-limit {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #cfc6b8;
    font-size: 15px;
}

.signup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
    padding: 52px;
    border-radius: 24px;
    background: #dce7d5;
    scroll-margin-top: 20px;
}

.signup h2 {
    margin: 0 0 12px;
    font-size: 34px;
    letter-spacing: -.05em;
    line-height: 1.05;
}

.signup-copy > p:last-child {
    color: #425245;
}

.waitlist-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

.email-row {
    display: flex;
    gap: 8px;
}

.email-row input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #aebca9;
    border-radius: 14px;
    background: #fffefa;
    color: var(--ink);
}

.email-row button {
    min-width: 151px;
}

.email-row button:disabled {
    cursor: not-allowed;
    opacity: .7;
}

.cf-turnstile {
    margin-top: 14px;
}

.cf-turnstile:empty {
    display: none;
}

.waitlist-help {
    margin: 8px 0 0;
    color: #536056;
    font-size: 12px;
}

.waitlist-help a,
.footer a {
    text-underline-offset: 3px;
}

.waitlist-help--warning {
    color: #76480d;
    font-weight: 700;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.waitlist-status {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1rem 1.1rem 1rem 1.2rem;
    border: 2px solid var(--line);
    border-left-width: .45rem;
    border-radius: 1rem;
    background: #fffefa;
    box-shadow: 0 1rem 2.5rem rgba(34, 49, 55, .1);
    line-height: 1.4;
}

.waitlist-status[hidden],
.waitlist-help[hidden] {
    display: none;
}

.waitlist-status:focus {
    outline: 3px solid rgba(107, 84, 170, .45);
    outline-offset: 4px;
}

.waitlist-status__label {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.25;
}

.waitlist-status__message {
    display: block;
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.5;
}

.waitlist-status--success,
.waitlist-status--exists {
    color: #245b45;
    background: #e6f4ed;
    border-color: #8ebaa8;
}

.waitlist-status--invalid,
.waitlist-status--captcha {
    color: #76480d;
    background: #fff1dd;
    border-color: #d19a58;
}

.waitlist-status--error {
    color: #8b2c2c;
    background: #f8e3e3;
    border-color: #c77a7a;
}

.footer {
    padding: 0 0 32px;
    color: #536056;
    font-size: 13px;
}

.footer-inner,
.footer-links {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.footer p {
    margin: 0;
}

@media (max-width: 760px) {
    body {
        font-size: 16px;
    }

    .shell {
        width: min(100% - 32px, 560px);
    }

    .site-header {
        min-height: 100px;
    }

    .brand-logo img {
        height: 82px;
    }

    .header-cta {
        display: flex;
        align-items: center;
        min-height: 44px;
    }

    .calm-hero {
        grid-template-columns: 1fr;
        gap: 42px;
        padding: 42px 0 50px;
    }

    .calm-hero h1 {
        font-size: clamp(44px, 13vw, 65px);
    }

    .step-grid,
    .warm-audience-grid,
    .knowledge,
    .signup {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .steps {
        margin-bottom: 40px;
        padding: 28px 24px;
    }

    .step-grid article {
        padding: 15px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .step-grid article:last-child {
        border-bottom: 0;
    }

    .warm-audience {
        padding: 58px 0;
    }

    .warm-audience-grid > p,
    .knowledge > div:last-child {
        font-size: 17px;
    }

    .knowledge {
        padding: 68px 0;
    }

    .signup {
        margin-bottom: 20px;
        padding: 32px 24px;
    }

    .email-row {
        flex-direction: column;
    }

    .email-row button {
        width: 100%;
    }

    .footer {
        padding: 12px 0 28px;
    }
}

@media (max-width: 360px) {
    .actions {
        gap: 14px;
    }

    .hero-product {
        min-height: 635px;
    }

    .real-screen-link {
        width: min(245px, calc(100% - 26px));
    }

    .preview-label {
        font-size: 9px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
