:root {
    --bg: #F7F4EE;
    --surface: #FDFCF9;
    --ink-1: #1A1915;
    --ink-2: #4A4844;
    --ink-3: #76746F;
    --border: #E2DDD5;
    --bot: #3D6B52;
    --bot-dark: #2A4D3A;
    --bot-soft: #EAF1EB;
    --bot-mid: #5C8A6F;
    --bot-pale: #F2F7F3;
    --accent: #5B4FE8;
    --accent-soft: #EEEDFE;
    --accent-txt: #3C3489;
    --ch-ai: #5B4FE8;
    --ch-ai-s: #EEEDFE;
    --ch-ai-t: #3C3489;
    --ch-he: #0E9E75;
    --ch-he-s: #E1F5EE;
    --ch-he-t: #085041;
    --ch-ph: #1A6FE8;
    --ch-ph-s: #E6F1FB;
    --ch-ph-t: #0C447C;
    --ch-ec: #D4870A;
    --ch-ec-s: #FAEEDA;
    --ch-ec-t: #633806;
    --ch-cl: #5BAD2A;
    --ch-cl-s: #EAF3DE;
    --ch-cl-t: #27500A;
    --ch-ne: #D24222;
    --ch-ne-s: #F5DFD8;
    --ch-ne-t: #5A1907;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #141310;
        --surface: #1E1C18;
        --ink-1: #F0EDE5;
        --ink-2: #A8A59E;
        --ink-3: #5C5A55;
        --border: #2E2C28;
        --bot: #5C8A6F;
        --bot-dark: #7DB896;
        --bot-soft: #1A2E22;
        --bot-mid: #7DB896;
        --bot-pale: #141F18;
        --accent: #7B70F5;
        --accent-soft: #242238;
        --accent-txt: #9B93F5;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--ink-1);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* ── Grain texture ───────────────────────── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 9999;
}

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

.serif {
    font-family: 'Lora', Georgia, serif;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Animations ──────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes bloom {
    0% {
        opacity: 0;
        transform: scale(0.6) rotate(-15deg);
    }

    60% {
        transform: scale(1.08) rotate(3deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes sprout {
    0% {
        transform: scaleY(0);
    }

    100% {
        transform: scaleY(1);
    }
}

.fade-up {
    animation: fadeUp 0.75s cubic-bezier(.22, .68, 0, 1.2) both;
}

.fade-in {
    animation: fadeIn 0.6s ease both;
}

.d1 {
    animation-delay: .12s;
}

.d2 {
    animation-delay: .24s;
}

.d3 {
    animation-delay: .38s;
}

.d4 {
    animation-delay: .54s;
}

/* ── Nav ─────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 0.5px solid var(--border);
    height: 56px;
    display: flex;
    align-items: center;
}

.nav-inner {
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-wordmark {
    font-family: 'Lora', serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink-1);
}

.nav-tagline {
    font-size: 11px;
    color: var(--ink-3);
    display: none;
}

@media(min-width:600px) {
    .nav-tagline {
        display: block;
    }
}

.nav-cta {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--surface);
    background: var(--bot);
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background .15s;
    letter-spacing: 0.01em;
}

.nav-cta:hover {
    background: var(--bot-dark);
}

/* ── Hero ────────────────────────────────── */
.hero {
    padding: 88px 0 72px;
    position: relative;
}

/* Large faded floret watermark */
.hero-watermark {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 480px;
    height: 480px;
    opacity: 0.04;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--bot);
    margin-bottom: 22px;
}

.hero-eyebrow-line {
    display: inline-block;
    width: 24px;
    height: 1.5px;
    opacity: 0.8;
    background: var(--bot);
    margin-right: 2px;
}

.hero-headline {
    font-family: 'Lora', serif;
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.028em;
    color: var(--ink-1);
    margin-bottom: 20px;
}

.hero-headline em {
    font-style: italic;
    font-weight: 500;
    color: var(--bot);
    position: relative;
}

/* Organic ink underline on em */
.hero-headline em::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--bot);
    opacity: 0.25;
    border-radius: 1px;
}

.hero-sub {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.72;
    color: var(--ink-2);
    max-width: 460px;
    margin-bottom: 36px;
}

/* ── Waitlist form — hero inline ─────────── */
.waitlist-form {
    display: flex;
    gap: 8px;
    max-width: 440px;
    flex-wrap: wrap;
}

.waitlist-input {
    flex: 1;
    min-width: 200px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-1);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 11px 14px;
    outline: none;
    transition: border-color .15s;
}

.waitlist-input::placeholder {
    color: var(--ink-3);
}

/* Update Waitlist Input Focus State */
.waitlist-input:focus,
.waitlist-input:focus-visible {
    border-color: var(--bot);
    outline: none;
    box-shadow: 0 0 0 3px var(--bot-soft);
    /* Softer, premium focus ring */
}

.waitlist-btn {
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--surface);
    background: var(--bot);
    border: none;
    border-radius: 4px;
    padding: 11px 20px;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.waitlist-btn:hover {
    background: var(--bot-dark);
}

.waitlist-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.waitlist-btn svg {
    transition: transform 0.2s ease;
}

.waitlist-btn:hover svg {
    transform: translateX(3px);
    /* Gently nudges the arrow to the right */
}

.waitlist-success {
    display: none;
    flex-direction: column;
    gap: 16px;
    animation: fadeIn .4s ease;
    padding: 12px 16px;
    background: var(--bot-pale);
    border: 0.5px solid rgba(61, 107, 82, 0.2);
    border-radius: 6px;
    max-width: 440px;
    width: 100%;
}

.waitlist-success.visible {
    display: flex;
}

.waitlist-success-text {
    font-size: 13px;
    color: var(--ink-1);
    font-weight: 500;
    line-height: 1.5;
}

.waitlist-error {
    font-size: 12px;
    color: #B94040;
    margin-top: 6px;
    display: none;
}

.waitlist-error.visible {
    display: block;
}

.success-header {
    display: flex;
    align-items: center;
    /* vertical alignment */
    gap: 8px;
    /* space between icon and text */
}

/* ── The Lifetime Deal Box ── */
.upsell-box {
    position: relative;
    background: var(--bot-pale);
    border: 1px solid rgba(61, 107, 82, 0.2);
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
}

/* Recreating the blur-2xl from your Tailwind example */
.upsell-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: var(--bot);
    opacity: 0.15;
    filter: blur(40px);
    border-radius: 50%;
    pointer-events: none;
}

.upsell-content {
    position: relative;
    z-index: 2;
}

.upsell-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bot);
    margin-bottom: 12px;
}

.upsell-body {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-1);
    margin-bottom: 6px;
}

.upsell-body strong {
    font-weight: 600;
    color: var(--bot);
}

.upsell-tagline {
    font-family: 'Lora', serif;
    font-size: 13px;
    font-style: italic;
    color: var(--bot);
    margin-bottom: 20px;
}

.upsell-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background: var(--bot);
    color: var(--surface);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(61, 107, 82, 0.25);
}

.upsell-btn:hover {
    background: var(--bot-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 107, 82, 0.35);
}


.hero-note {
    font-size: 11px;
    color: var(--ink-3);
    margin-top: 10px;
    letter-spacing: 0.02em;
}


/* ── Hero stats ──────────────────────────── */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 0.5px solid var(--border);
    max-width: 500px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.stat-num {
    font-family: 'Lora', serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--ink-1);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 10px;
    color: var(--ink-3);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stat-divider {
    width: 0.5px;
    height: 28px;
    background: var(--border);
}


.device-badge {
    position: absolute;
    top: -14px;
    left: -14px;
    background: var(--bot);
    color: var(--surface);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(61, 107, 82, 0.2);
    transform: rotate(-7deg);
}


/* ── Hero card ───────────────────────────── */
.hero-card-wrap {
    position: relative;
}

.hero-card-float {
    position: relative;
    animation: float 8s ease-in-out infinite;
    margin-top: 56px;
}

.hero-card {
    background: var(--surface);
    border: 0.5px solid var(--border);
    border-radius: 12px;
}

.hc-bar {
    height: 3px;
    border-top-left-radius: 11px;
    /* Added to round the inner bar */
    border-top-right-radius: 11px;
    /* Added to round the inner bar */
}

.hc-inner {
    padding: 20px 20px 16px;
}

.hc-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 12px;
}

.hc-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.hc-hook {
    font-family: 'Lora', serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: var(--ink-1);
    margin-bottom: 10px;
}

.hc-hook.italic {
    font-style: italic;
    font-weight: 500;
}

.hc-body {
    font-size: 12.5px;
    line-height: 1.72;
    color: var(--ink-2);
    margin-bottom: 13px;
}

/* ── Jargon Hover Tooltip ───────────────────────── */
.jargon {
    position: relative;
    cursor: help;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    background: var(--accent-soft);
    color: var(--accent-txt);
    padding: 1px 5px;
    border-radius: 3px;
}

.jargon::after {
    content: attr(data-definition);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: max-content;
    max-width: 200px;
    padding: 8px 12px;
    background: var(--ink-1);
    color: var(--surface);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 10;
    pointer-events: none;
    text-wrap: balance;
}

.jargon::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border: 5px solid transparent;
    border-top-color: var(--ink-1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 10;
    pointer-events: none;
}

.jargon:hover::after,
.jargon:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.hc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 11px;
    border-top: 0.5px solid var(--border);
}

.hc-streak {
    font-size: 11px;
    font-weight: 500;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
}

.hc-cta {
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-2);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 5px 12px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: border-color .15s, color .15s;
}

.hc-cta:hover {
    border-color: var(--ink-3);
    color: var(--ink-1);
}

.hero-card-behind {
    position: absolute;
    top: -12px;
    left: 12px;
    right: -12px;
    background: var(--surface);
    border: 0.5px solid var(--border);
    border-radius: 12px;
    height: 100%;
    z-index: -1;
    opacity: 0.45;
}

/* ── Marquee ─────────────────────────────── */
.marquee-wrap {
    border-top: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
    padding: 13px 0;
    overflow: hidden;
    white-space: nowrap;
    background: var(--surface);
    display: flex;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 70s linear infinite;
}

/* Pause the animation on hover for better UX */
.marquee-wrap:hover .marquee-track {
    animation-play-state: paused;
}

.m-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 26px;
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-3);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-right: 0.5px solid var(--border);
    flex-shrink: 0;
    /* Prevents items from squishing */
}

.m-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

:focus-visible {
    outline: 2px solid var(--bot);
    outline-offset: 2px;
}

/* ── Section shared ──────────────────────── */
.section {
    padding: 88px 0;
}

.section-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bot);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 0.5px;
    background: var(--bot);
}

.section-headline {
    font-family: 'Lora', serif;
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.022em;
    color: var(--ink-1);
    margin-bottom: 14px;
}

.section-sub {
    font-size: 16px;
    line-height: 1.72;
    color: var(--ink-2);
    max-width: 520px;
}

/* ── How it works ────────────────────────── */
.how-section {
    padding: 88px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 52px;
    border: 0.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.step {
    padding: 32px 28px;
    background: var(--surface);
    border-right: 0.5px solid var(--border);
    transition: background .2s;
}

.step:last-child {
    border-right: none;
}

.step:hover {
    background: var(--bot-pale);
}

.step-num {
    font-family: 'Lora', serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--bot);
    margin-bottom: 18px;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-num::after {
    content: '';
    flex: 1;
    height: 0.5px;
    background: var(--border);
}

.step-icon {
    margin-bottom: 18px;
}

.step-title {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink-1);
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.step-body {
    font-size: 13.5px;
    line-height: 1.70;
    color: var(--ink-2);
}

/* ── Channels ────────────────────────────── */
.channels-section {
    padding: 88px 0;
    background: var(--surface);
    border-top: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
    position: relative;
}

/* Large botanical watermark in channels */
.channels-watermark {
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 400px;
    height: 400px;
    opacity: 0.03;
    pointer-events: none;
}

.channels-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 48px;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ch-card {
    padding: 18px;
    border: 0.5px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    cursor: default;
    transition: border-color .15s, background .15s, transform .18s;
    position: relative;
    overflow: hidden;
}

.ch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--dot-color, var(--bot));
    opacity: 0;
    transition: opacity .2s;
}

.ch-card:hover::before {
    opacity: 1;
}

.ch-card:hover {
    border-color: var(--dot-color, var(--bot));
    background: var(--surface);
    transform: translateY(-2px);
}

.ch-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.ch-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.ch-name {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.ch-persona {
    font-family: 'Lora', serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-1);
    margin-bottom: 7px;
    letter-spacing: -0.01em;
}

.ch-desc {
    font-size: 12px;
    line-height: 1.60;
    color: var(--ink-3);
}

/* ── Waitlist CTA section ────────────────── */
.cta-section {
    padding: 96px 0 108px;
    text-align: center;
    position: relative;
}

.cta-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
    opacity: 0.035;
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bot);
    margin-bottom: 20px;
}

.cta-overline::before,
.cta-overline::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 0.5px;
    background: var(--bot);
}

.cta-headline {
    font-family: 'Lora', serif;
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--ink-1);
    margin-bottom: 16px;
}

.cta-headline em {
    font-style: italic;
    font-weight: 500;
    color: var(--bot);
}

.cta-sub {
    font-size: 16px;
    line-height: 1.70;
    color: var(--ink-2);
    max-width: 420px;
    margin: 0 auto 36px;
}

.cta-form-wrap {
    display: flex;
    justify-content: center;
}

.cta-form {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 420px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    animation: fadeIn .5s ease;
}

.cta-success.visible {
    display: flex;
}

.cta-success-bloom {
    animation: bloom .7s cubic-bezier(.22, .68, 0, 1.2) both;
}

.cta-success-text {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--bot);
    letter-spacing: -0.01em;
}

.cta-success-sub {
    font-size: 13px;
    color: var(--ink-3);
}

.cta-disclaimer {
    margin-top: 14px;
    font-size: 11px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
}

/* ── Step 1: Looping Paper Animation ─────────── */
.step-paper .line {
    /* 20px is longer than our longest path */
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    opacity: 0;
    /* 4 second loop, runs infinitely */
    animation: drawPaper 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stagger the start times of the lines */
.step-paper .l1 {
    animation-delay: 0s;
}

.step-paper .l2 {
    animation-delay: 0.2s;
}

.step-paper .l3 {
    animation-delay: 0.4s;
}

@keyframes drawPaper {

    0%,
    5% {
        stroke-dashoffset: 20;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    30%,
    75% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    /* Holds the drawn line */
    85% {
        stroke-dashoffset: 0;
        opacity: 0;
    }

    /* Fades out softly */
    100% {
        stroke-dashoffset: 20;
        opacity: 0;
    }

    /* Resets invisibly */
}

/* ── Step 2: Stronger Speaking Animation ───────── */
.speak-svg .wave {
    opacity: 0;
    /* Sets the expansion point to the person's mouth area */
    transform-origin: 10px 15px;
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Initially pull them inward and shrink them */
.speak-svg .w1 {
    transform: translateX(-6px) scale(0.8);
}

.speak-svg .w2 {
    transform: translateX(-12px) scale(0.6);
}

.speak-svg .w3 {
    transform: translateX(-18px) scale(0.4);
}

/* On hover, they blast outward and grow with strong opacity */
.step-ai:hover .w1 {
    opacity: 1;
    /* Solid */
    transform: translateX(0) scale(1);
    transition-delay: 0s;
}

.step-ai:hover .w2 {
    opacity: 0.85;
    /* Very visible */
    transform: translateX(0) scale(1);
    transition-delay: 0.1s;
}

.step-ai:hover .w3 {
    opacity: 0.7;
    /* Much stronger than before */
    transform: translateX(0) scale(1);
    transition-delay: 0.2s;
}

/* ── Step 3 Blooming & Spinning Animation ─────── */
.step-bloom .bloom-svg {
    transform-origin: 16px 16px;
    /* Centers the spin exactly on the circle */
}

/* Base state for the hidden petals */
.petal {
    opacity: 0;
    transform-origin: 16px 16px;
    /* When the mouse leaves, they disappear quickly */
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Initial "un-bloomed" positions (scaled down and rotated slightly back) */
.petal.p2 {
    transform: rotate(40deg) scale(0.5);
}

.petal.p3 {
    transform: rotate(100deg) scale(0.5);
}

.petal.p4 {
    transform: rotate(160deg) scale(0.5);
}

.petal.p5 {
    transform: rotate(220deg) scale(0.5);
}

.petal.p6 {
    transform: rotate(280deg) scale(0.5);
}

/* Hover state: Staggered bloom with a bouncy cubic-bezier curve */
.step-bloom:hover .petal {
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* We vary the final opacities slightly so the flower has texture */
.step-bloom:hover .petal.p2 {
    opacity: 0.6;
    transform: rotate(60deg) scale(1);
    transition-delay: 0.1s;
}

.step-bloom:hover .petal.p3 {
    opacity: 0.8;
    transform: rotate(120deg) scale(1);
    transition-delay: 0.2s;
}

.step-bloom:hover .petal.p4 {
    opacity: 1.0;
    transform: rotate(180deg) scale(1);
    transition-delay: 0.3s;
}

.step-bloom:hover .petal.p5 {
    opacity: 0.6;
    transform: rotate(240deg) scale(1);
    transition-delay: 0.4s;
}

.step-bloom:hover .petal.p6 {
    opacity: 0.8;
    transform: rotate(300deg) scale(1);
    transition-delay: 0.5s;
}

/* The continuous spinning keyframe */
@keyframes spinFlower {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Apply the spin to the whole SVG only AFTER the 0.9s bloom finishes */
.step-bloom:hover .bloom-svg {
    /* 0.5s max delay + 0.4s transition duration = 0.9s until spin starts */
    animation: spinFlower 7s linear infinite;
    animation-delay: 0.9s;
}

/* ── Footer ──────────────────────────────── */
.footer {
    border-top: 0.5px solid var(--border);
    padding: 36px 0 28px;
    background: var(--surface);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-wordmark {
    font-family: 'Lora', serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-1);
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 11px;
    color: var(--ink-3);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 11px;
    color: var(--ink-3);
    transition: color .15s;
}

.footer-link:hover {
    color: var(--ink-1);
}

.footer-copy {
    font-size: 11px;
    color: var(--ink-3);
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 0.5px solid var(--border);
}

/* ── Scroll reveal ───────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.rd1 {
    transition-delay: .08s;
}

.rd2 {
    transition-delay: .18s;
}

.rd3 {
    transition-delay: .28s;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 820px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-card-wrap {
        max-width: 420px;
    }

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

    .step {
        border-right: none;
        border-bottom: 0.5px solid var(--border);
    }

    .step:last-child {
        border-bottom: none;
    }

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

    .channels-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero {
        padding: 56px 0 44px;
    }

    .how-section,
    .section,
    .cta-section {
        padding: 64px 0;
    }

    .channels-section {
        padding: 64px 0;
    }
}

@media (max-width: 500px) {
    .channels-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 16px;
    }

    .waitlist-form {
        flex-direction: column;
        gap: 12px;
    }

    .waitlist-input,
    .waitlist-btn {
        width: 100%;
        padding: 14px 20px;
    }

    @media (prefers-reduced-motion: reduce) {

        *,
        ::before,
        ::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
            scroll-behavior: auto !important;
        }
    }
}
