:root {
    --poppy: #FF3957;
    --poppy-deep: #D81F3C;
    --poppy-soft: #FFE3E8;
    --poppy-glow: rgba(255, 57, 87, 0.18);
    --lime: #D6FF3D;
    --lime-deep: #B8E219;
    --cream: #FFF8EE;
    --cream-warm: #FAF0DD;
    --cream-dim: #F2E9D7;
    --ink: #0E0E14;
    --ink-soft: #1A1A22;
    --ink-deep: #07070B;
    --slate: #525266;
    --slate-soft: #8A8A99;
    --slate-line: #E5E2D9;
    --slate-line-dark: #2A2A33;
    --white: #FFFFFF;

    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 18px;
    --r-xl: 28px;
    --r-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(14, 14, 20, 0.06);
    --shadow-md: 0 4px 16px rgba(14, 14, 20, 0.08);
    --shadow-lg: 0 24px 60px -16px rgba(14, 14, 20, 0.2);
    --shadow-poppy: 0 8px 28px -8px rgba(255, 57, 87, 0.45);

    --max-w: 1200px;
    --gutter: 24px;
    --gutter-lg: 48px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

p { margin: 0; }

a {
    color: inherit;
    text-decoration: none;
    transition: color 160ms ease;
}

a:hover {
    color: var(--poppy);
}

code, pre {
    font-family: var(--font-mono);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
}

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

::selection {
    background: var(--poppy);
    color: var(--cream);
}

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

@media (min-width: 1024px) {
    .container { padding: 0 var(--gutter-lg); }
}


/* ---------------- Buttons ---------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.7em 1.2em;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    border-radius: var(--r-md);
    transition: all 180ms ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn--primary {
    background: var(--poppy);
    color: var(--cream);
    box-shadow: var(--shadow-poppy);
}

.btn--primary:hover {
    background: var(--poppy-deep);
    color: var(--cream);
    transform: translateY(-1px);
    box-shadow: 0 12px 32px -6px rgba(255, 57, 87, 0.55);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--ink);
}

.btn--ghost:hover {
    background: var(--ink);
    color: var(--cream);
}

.btn--lg {
    padding: 1em 1.6em;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}


/* ---------------- Nav ---------------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 248, 238, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 200ms ease, background 200ms ease;
}

.nav.is-scrolled {
    border-bottom-color: var(--slate-line);
    background: rgba(255, 248, 238, 0.94);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.nav__brand:hover { color: var(--ink); }

.nav__logo {
    width: 30px;
    height: 30px;
    color: var(--ink);
}

.nav__wordmark {
    line-height: 1;
}

.nav__links {
    display: none;
    gap: 28px;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--slate);
}

.nav__links a:hover {
    color: var(--ink);
}

.nav__cta {
    display: none;
    align-items: center;
    gap: 10px;
}

.nav__menu {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav__menu span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 200ms ease, opacity 200ms ease;
}

.nav.is-open .nav__menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__menu span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 880px) {
    .nav__links { display: flex; }
    .nav__cta { display: inline-flex; }
    .nav__menu { display: none; }
}

.nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--slate-line);
    padding: 24px var(--gutter);
    gap: 16px;
}


/* ---------------- Hero ---------------- */

.hero {
    position: relative;
    padding: 80px 0 120px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -160px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, var(--poppy-glow) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(20px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(214, 255, 61, 0.25) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(30px);
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero { padding: 100px 0 140px; }
    .hero__grid {
        grid-template-columns: 1.05fr 1fr;
        gap: 80px;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(14, 14, 20, 0.04);
    border: 1px solid var(--slate-line);
    border-radius: var(--r-pill);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eyebrow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 4px rgba(214, 255, 61, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero__headline {
    margin: 24px 0 24px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.hero__headline em {
    font-style: normal;
    color: var(--poppy);
    position: relative;
    white-space: nowrap;
}

.hero__headline em::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 12px;
    background: var(--lime);
    z-index: -1;
    opacity: 0.7;
    border-radius: 2px;
}

.hero__lede {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--slate);
    max-width: 540px;
    margin-bottom: 36px;
    line-height: 1.55;
}

.hero__lede code {
    padding: 2px 8px;
    background: var(--ink);
    color: var(--cream);
    border-radius: var(--r-sm);
    font-size: 0.92em;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    font-size: 0.9rem;
    color: var(--slate);
}

.hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero__trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--poppy);
}

.hero__panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.window {
    background: var(--ink);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-line-dark);
}

.window--out {
    transform: translateX(8px) translateY(-12px);
    background: var(--ink-soft);
}

@media (min-width: 1024px) {
    .window--out {
        margin-left: 40px;
    }
}

.window__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--ink-deep);
    border-bottom: 1px solid var(--slate-line-dark);
}

.window__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--slate);
}

.window__dot--red { background: #ff5f56; }
.window__dot--yellow { background: #ffbd2e; }
.window__dot--green { background: #27c93f; }

.window__title {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--slate-soft);
}

.window__badge {
    padding: 2px 8px;
    background: var(--lime);
    color: var(--ink);
    border-radius: var(--r-sm);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.window__body {
    padding: 18px 20px;
    overflow-x: auto;
}

.code-block {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--cream);
    white-space: pre;
}

.code-block--out {
    color: var(--cream-warm);
}

.tok-comment { color: var(--slate-soft); }
.tok-cmd { color: var(--lime); font-weight: 600; }
.tok-string { color: #FFB6A6; }
.tok-key { color: #93D7FF; }
.tok-num { color: var(--lime); }
.tok-null { color: var(--slate-soft); font-style: italic; }


/* ---------------- Stats ---------------- */

.stats {
    background: var(--ink);
    padding: 60px 0;
    color: var(--cream);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (min-width: 768px) {
    .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    border-left: 1px solid var(--slate-line-dark);
    padding-left: 24px;
}

.stat:first-child {
    border-left: 0;
    padding-left: 0;
}

@media (max-width: 767px) {
    .stat { border-left: 0; padding-left: 0; text-align: left; }
}

.stat__num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat__num-sub {
    color: var(--poppy);
    margin-left: 2px;
}

.stat__label {
    font-size: 0.9rem;
    color: var(--slate-soft);
    font-weight: 500;
}


/* ---------------- Section heads ---------------- */

.section__head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.section__heading {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.section__heading .hl {
    color: var(--poppy);
}

.section__lede {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    color: var(--slate);
    line-height: 1.6;
}

.section__lede code {
    padding: 2px 6px;
    background: var(--cream-warm);
    border-radius: var(--r-sm);
    font-size: 0.92em;
    color: var(--ink);
}


/* ---------------- Search pitch ---------------- */

.search-pitch {
    padding: 100px 0;
    background: var(--ink);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.search-pitch::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -120px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(214, 255, 61, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.search-pitch::after {
    content: '';
    position: absolute;
    bottom: -180px;
    left: -150px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(255, 57, 87, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.search-pitch__head {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.search-pitch .eyebrow {
    background: rgba(255, 248, 238, 0.08);
    color: var(--cream-warm);
    border-color: rgba(255, 248, 238, 0.18);
}

.search-pitch .section__heading {
    color: var(--cream);
    margin-top: 18px;
}

.search-pitch .section__lede {
    color: var(--slate-soft);
}

.search-pitch .section__lede code {
    background: rgba(214, 255, 61, 0.15);
    color: var(--lime);
}

.search-pitch__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .search-pitch__grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 56px;
        align-items: center;
    }
}

.search-pitch__demo {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.search-pitch__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.search-pitch__features li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.search-pitch__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    background: rgba(214, 255, 61, 0.14);
    color: var(--lime);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-pitch__icon svg {
    width: 20px;
    height: 20px;
}

.search-pitch__features h3 {
    color: var(--cream);
    font-size: 1.05rem;
    margin-bottom: 4px;
    letter-spacing: -0.015em;
}

.search-pitch__features p {
    color: var(--slate-soft);
    font-size: 0.92rem;
    line-height: 1.5;
}

.search-pitch__features code {
    background: rgba(255, 57, 87, 0.18);
    color: var(--cream);
    padding: 1px 5px;
    border-radius: var(--r-sm);
    font-size: 0.88em;
}

.search-pitch__compare {
    position: relative;
    margin-top: 56px;
    padding: 22px 26px;
    background: rgba(255, 57, 87, 0.12);
    border: 1px solid var(--poppy);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.search-pitch__compare-tag {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--poppy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    background: rgba(255, 57, 87, 0.2);
    border-radius: var(--r-pill);
    flex-shrink: 0;
}

.search-pitch__compare p {
    color: var(--cream);
    font-size: 0.95rem;
    line-height: 1.55;
    flex: 1;
    min-width: 240px;
}

.search-pitch__compare code {
    background: rgba(255, 248, 238, 0.1);
    color: var(--lime);
    padding: 1px 5px;
    border-radius: var(--r-sm);
}


/* ---------------- Problem ---------------- */

.problem {
    padding: 100px 0;
}

.problem .section__heading {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.problem .section__lede {
    text-align: center;
    max-width: 680px;
    margin: 16px auto 56px;
}

.problem__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .problem__grid { grid-template-columns: 1fr 1fr; }
}

.problem__card {
    padding: 32px;
    background: var(--cream-warm);
    border-radius: var(--r-lg);
    border: 1px solid var(--slate-line);
}

.problem__card--accent {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
}

.problem__card--accent h3,
.problem__card--accent .problem__list code {
    color: var(--cream);
}

.problem__card--accent .problem__list code {
    background: rgba(255, 248, 238, 0.1);
}

.problem__icon {
    width: 44px;
    height: 44px;
    background: var(--cream);
    border-radius: var(--r-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    margin-bottom: 20px;
}

.problem__icon--accent {
    background: var(--poppy);
    color: var(--cream);
}

.problem__icon svg {
    width: 24px;
    height: 24px;
}

.problem__card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.problem__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.problem__list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.98rem;
    line-height: 1.5;
    color: inherit;
}

.problem__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}

.problem__card--accent .problem__list li::before {
    background: var(--lime);
    opacity: 1;
}

.problem__list code {
    padding: 2px 6px;
    background: var(--cream-dim);
    border-radius: var(--r-sm);
    font-size: 0.85em;
}


/* ---------------- How it works ---------------- */

.how {
    padding: 100px 0;
    background: var(--cream-warm);
    border-top: 1px solid var(--slate-line);
    border-bottom: 1px solid var(--slate-line);
}

.how .section__heading {
    text-align: center;
    margin-bottom: 56px;
}

.how__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .how__grid {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        gap: 28px;
    }
}

.how__step {
    background: var(--cream);
    padding: 32px;
    border-radius: var(--r-lg);
    border: 1px solid var(--slate-line);
}

.how__num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--poppy);
    letter-spacing: 0.06em;
}

.how__step h3 {
    font-size: 1.3rem;
    margin: 12px 0 12px;
}

.how__step p {
    color: var(--slate);
    line-height: 1.55;
}

.how__step code {
    padding: 1px 6px;
    background: var(--cream-dim);
    border-radius: var(--r-sm);
    font-size: 0.88em;
}

.how__arrow {
    display: none;
    font-size: 2rem;
    color: var(--poppy);
    align-self: center;
    justify-self: center;
    font-weight: 300;
}

@media (min-width: 1024px) {
    .how__arrow { display: block; }
}


/* ---------------- Endpoints ---------------- */

.endpoints {
    padding: 120px 0;
}

.endpoints__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 640px) {
    .endpoints__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .endpoints__grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.endpoint {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    background: var(--cream);
    border: 1px solid var(--slate-line);
    border-radius: var(--r-lg);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.endpoint:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--slate-soft);
}

.endpoint--live {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
}

.endpoint--live h3 { color: var(--cream); }

.endpoint--ask {
    background: var(--poppy-soft);
    border-color: var(--poppy);
    border-style: dashed;
}

.endpoint header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.endpoint h3 {
    font-size: 1.15rem;
    font-family: var(--font-display);
    font-weight: 600;
}

.endpoint p {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--slate);
    flex: 1;
}

.endpoint--live p { color: var(--slate-soft); }

.endpoint__badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: var(--r-sm);
    background: var(--slate-line);
    color: var(--slate);
}

.endpoint__badge--live {
    background: var(--lime);
    color: var(--ink);
}

.endpoint__badge--beta {
    background: var(--poppy);
    color: var(--cream);
}

.endpoint__badge--soon {
    background: rgba(82, 82, 102, 0.15);
    color: var(--slate);
}

.endpoint--live .endpoint__badge--soon {
    background: rgba(255, 248, 238, 0.15);
    color: var(--cream-warm);
}

.endpoint__path {
    font-family: var(--font-mono);
    font-size: 0.83rem;
    padding: 8px 12px;
    background: var(--cream-warm);
    border-radius: var(--r-sm);
    color: var(--ink);
    overflow-x: auto;
    white-space: nowrap;
}

.endpoint--live .endpoint__path {
    background: rgba(255, 248, 238, 0.08);
    color: var(--cream);
}

.endpoint--ask .endpoint__path {
    background: rgba(255, 57, 87, 0.1);
}

.endpoint__cta {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--poppy);
}


/* ---------------- Code demo ---------------- */

.code-demo {
    padding: 100px 0;
    background: var(--ink);
    color: var(--cream);
}

.code-demo .section__heading { color: var(--cream); }
.code-demo .section__lede { color: var(--slate-soft); }

.demo {
    border-radius: var(--r-lg);
    background: var(--ink-soft);
    border: 1px solid var(--slate-line-dark);
    overflow: hidden;
}

.demo__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid var(--slate-line-dark);
    background: var(--ink-deep);
    padding: 0 8px;
}

.demo__tab {
    padding: 14px 20px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--slate-soft);
    border-bottom: 2px solid transparent;
    transition: color 160ms ease, border-color 160ms ease;
}

.demo__tab:hover { color: var(--cream); }

.demo__tab.is-active {
    color: var(--cream);
    border-bottom-color: var(--poppy);
}

.demo__pane {
    display: none;
    padding: 28px;
}

.demo__pane.is-active {
    display: block;
}

.demo__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 900px) {
    .demo__cols { grid-template-columns: 1fr 1fr; }
}

.demo__req,
.demo__res {
    background: var(--ink-deep);
    border-radius: var(--r-md);
    border: 1px solid var(--slate-line-dark);
    overflow: hidden;
}

.demo__col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--slate-line-dark);
}

.demo__col-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--lime);
    letter-spacing: 0.06em;
}

.demo__col-meta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--slate-soft);
}

.demo__copy {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--slate-soft);
    padding: 2px 8px;
    border-radius: var(--r-sm);
    border: 1px solid var(--slate-line-dark);
    transition: color 160ms ease, border-color 160ms ease;
}

.demo__copy:hover {
    color: var(--cream);
    border-color: var(--slate);
}

.demo__copy.is-copied {
    color: var(--lime);
    border-color: var(--lime);
}

.demo pre {
    margin: 0;
    padding: 18px 20px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--cream);
    overflow-x: auto;
}


/* ---------------- Pricing ---------------- */

.pricing {
    padding: 120px 0;
}

.pricing__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (min-width: 880px) {
    .pricing__grid { grid-template-columns: repeat(3, 1fr); }
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 36px 28px;
    background: var(--cream);
    border: 1px solid var(--slate-line);
    border-radius: var(--r-lg);
}

.plan--featured {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 880px) {
    .plan--featured {
        transform: scale(1.04);
    }
}

.plan__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    background: var(--lime);
    color: var(--ink);
    border-radius: var(--r-pill);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plan__name {
    font-size: 1.4rem;
    font-weight: 700;
}

.plan--featured .plan__name { color: var(--cream); }

.plan__tag {
    color: var(--slate);
    font-size: 0.93rem;
    margin-top: 4px;
}

.plan--featured .plan__tag { color: var(--slate-soft); }

.plan__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--slate-line);
}

.plan--featured .plan__price {
    border-bottom-color: var(--slate-line-dark);
}

.plan__amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.plan--featured .plan__amount { color: var(--cream); }

.plan__per {
    color: var(--slate);
    font-size: 0.95rem;
}

.plan--featured .plan__per { color: var(--slate-soft); }

.plan__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.plan__list li {
    position: relative;
    padding-left: 28px;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--slate);
}

.plan--featured .plan__list li { color: var(--cream); }

.plan__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background: var(--poppy);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.plan--featured .plan__list li::before { background: var(--lime); }

.plan__list b { color: var(--ink); font-weight: 600; }
.plan--featured .plan__list b { color: var(--cream); }

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

.plan--featured .btn--primary {
    background: var(--poppy);
    color: var(--cream);
}

.pricing__grid--5 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .pricing__grid--5 { grid-template-columns: 1fr 1fr; gap: 18px; }
}

@media (min-width: 960px) {
    .pricing__grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1180px) {
    .pricing__grid--5 { grid-template-columns: repeat(5, 1fr); gap: 14px; }
}

.plan--compact {
    padding: 28px 22px;
    gap: 18px;
}

.plan--compact .plan__name {
    font-size: 1.2rem;
}

.plan--compact .plan__tag {
    font-size: 0.85rem;
}

.plan--compact .plan__price {
    padding-bottom: 16px;
}

.plan--compact .plan__amount {
    font-size: 2.3rem;
}

.plan--compact .plan__per {
    font-size: 0.85rem;
}

.plan--compact .plan__list {
    gap: 9px;
}

.plan--compact .plan__list li {
    font-size: 0.88rem;
    padding-left: 24px;
}

.plan--compact .plan__list li::before {
    width: 15px;
    height: 15px;
    top: 3px;
}

.plan--compact .btn {
    font-size: 0.86rem;
    padding: 0.7em 0.9em;
}

.pricing__footnote {
    margin-top: 32px;
    text-align: center;
    color: var(--slate);
    font-size: 0.92rem;
}

.pricing__footnote a {
    color: var(--poppy);
    text-decoration: underline;
    text-underline-offset: 3px;
}


.payg {
    margin-top: 80px;
    padding: 40px;
    background: var(--cream-warm);
    border-radius: var(--r-xl);
    border: 1px solid var(--slate-line);
}

.payg__head {
    margin-bottom: 28px;
    max-width: 640px;
}

.payg__head h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.payg__head p {
    color: var(--slate);
    line-height: 1.55;
    font-size: 1rem;
}

.payg__table {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--slate-line);
}

.payg__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--slate-line);
}

@media (min-width: 720px) {
    .payg__row {
        grid-template-columns: 1.1fr 1.6fr auto auto;
        align-items: center;
        gap: 24px;
    }
}

.payg__row--accent {
    background: var(--poppy-soft);
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    border-bottom-color: var(--poppy);
    border-radius: var(--r-md);
}

.payg__op {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
    font-size: 1rem;
}

.payg__detail {
    font-size: 0.92rem;
    color: var(--slate);
}

.payg__credits {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate);
    background: var(--cream);
    padding: 4px 10px;
    border-radius: var(--r-sm);
    border: 1px solid var(--slate-line);
    text-align: center;
    justify-self: start;
}

@media (min-width: 720px) {
    .payg__credits { justify-self: end; }
}

.payg__row--accent .payg__credits {
    background: var(--poppy);
    color: var(--cream);
    border-color: var(--poppy);
}

.payg__cost {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    font-size: 1.05rem;
    text-align: right;
    min-width: 70px;
}

.payg__footnote {
    margin-top: 20px;
    color: var(--slate);
    font-size: 0.9rem;
    line-height: 1.55;
}


/* ---------------- Trust ---------------- */

.trust {
    padding: 100px 0;
    background: var(--cream-warm);
    border-top: 1px solid var(--slate-line);
}

.trust .section__heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.trust__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) { .trust__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }

.trust__card {
    background: var(--cream);
    padding: 28px;
    border-radius: var(--r-lg);
    border: 1px solid var(--slate-line);
}

.trust__icon {
    width: 44px;
    height: 44px;
    background: var(--poppy-soft);
    border-radius: var(--r-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--poppy);
    margin-bottom: 18px;
}

.trust__icon svg {
    width: 22px;
    height: 22px;
}

.trust__card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.trust__card p {
    font-size: 0.93rem;
    line-height: 1.5;
    color: var(--slate);
}

.trust__card code {
    padding: 1px 5px;
    background: var(--cream-warm);
    border-radius: var(--r-sm);
    font-size: 0.85em;
}


/* ---------------- FAQ ---------------- */

.faq {
    padding: 100px 0;
}

.faq .section__heading {
    text-align: center;
    margin-bottom: 48px;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__item {
    background: var(--cream);
    border: 1px solid var(--slate-line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color 200ms ease;
}

.faq__item[open] {
    border-color: var(--poppy);
    background: var(--cream-warm);
}

.faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.02rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
    content: '+';
    color: var(--poppy);
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 300;
    transition: transform 200ms ease;
    line-height: 1;
}

.faq__item[open] summary::after {
    content: '−';
}

.faq__body {
    padding: 0 24px 22px;
    color: var(--slate);
    font-size: 0.96rem;
    line-height: 1.6;
}

.faq__body p + p { margin-top: 12px; }

.faq__body a {
    color: var(--poppy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq__body code {
    padding: 1px 6px;
    background: var(--cream-dim);
    border-radius: var(--r-sm);
    font-size: 0.88em;
}


/* ---------------- CTA banner ---------------- */

.cta {
    padding: 80px 0 120px;
}

.cta__card {
    position: relative;
    background: var(--poppy);
    color: var(--cream);
    padding: 64px 32px;
    border-radius: var(--r-xl);
    text-align: center;
    overflow: hidden;
}

.cta__card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(214, 255, 61, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.cta__card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14, 14, 20, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta__card h2 {
    color: var(--cream);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
    position: relative;
}

.cta__card p {
    font-size: 1.05rem;
    margin-bottom: 32px;
    opacity: 0.95;
    position: relative;
}

.cta__row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.cta__card .btn--primary {
    background: var(--ink);
    color: var(--cream);
    box-shadow: 0 8px 28px -8px rgba(14, 14, 20, 0.5);
}

.cta__card .btn--primary:hover {
    background: var(--cream);
    color: var(--ink);
}

.cta__card .btn--ghost {
    border-color: var(--cream);
    color: var(--cream);
}

.cta__card .btn--ghost:hover {
    background: var(--cream);
    color: var(--ink);
}


/* ---------------- Footer ---------------- */

.footer {
    background: var(--ink);
    color: var(--cream);
    padding: 64px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--slate-line-dark);
}

@media (min-width: 640px) {
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.footer .nav__brand { color: var(--cream); }
.footer .nav__brand:hover { color: var(--cream); }
.footer .nav__logo { color: var(--cream); }

.footer__tag {
    margin-top: 16px;
    color: var(--slate-soft);
    font-size: 0.93rem;
    line-height: 1.55;
    max-width: 320px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__col h4 {
    color: var(--cream);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.footer__col a {
    color: var(--slate-soft);
    font-size: 0.95rem;
}

.footer__col a:hover {
    color: var(--cream);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 32px;
    color: var(--slate-soft);
    font-size: 0.86rem;
}

@media (max-width: 639px) {
    .footer__bottom { justify-content: flex-start; }
}


/* ============================================================
 * v2 redesign — bento, asymmetric hero, scroll animations,
 * hand-drawn underlines, dot grid. Appended without touching
 * older rules. Anchored to .page--landing on body.
 * ============================================================ */

.page--landing {
    background: var(--cream);
    position: relative;
    isolation: isolate;
}

.dot-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(14, 14, 20, 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    background-position: 0 0;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, #000 30%, transparent 75%);
    pointer-events: none;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 10px;
    border: 1px solid var(--slate-line);
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink);
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

.live-pill__dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime-deep);
    box-shadow: 0 0 0 0 rgba(184, 226, 25, 0.65);
}

@keyframes live-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(184, 226, 25, 0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(184, 226, 25, 0); }
    100% { box-shadow: 0 0 0 0 rgba(184, 226, 25, 0); }
}

.live-pill__dot { animation: live-pulse 1.8s ease-out infinite; }

.eyebrow--lime {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--slate);
    text-transform: lowercase;
    letter-spacing: 0.06em;
    margin-bottom: 22px;
}

.eyebrow--lime .eyebrow__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime-deep);
}

.hl-underline {
    position: relative;
    display: inline-block;
    color: var(--ink);
    padding-bottom: 4px;
}

.hl-underline--block {
    display: block;
}

.hl-underline__svg {
    position: absolute;
    left: -2%;
    right: -2%;
    width: 104%;
    bottom: -2px;
    height: 0.4em;
    color: var(--poppy);
    overflow: visible;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 1200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hl-underline.is-drawn .hl-underline__svg,
.is-revealed .hl-underline__svg {
    stroke-dashoffset: 0;
}

.hero--asym {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 767px) {
    .hero--asym { padding: 88px 0 56px; }
}

.hero--asym .hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 1024px) {
    .hero--asym .hero__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 64px;
    }
}

.hero__copy { max-width: 640px; }

.hero__h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 20px 0 24px;
    color: var(--ink);
    text-wrap: balance;
}

.hero__lede {
    font-size: clamp(1.05rem, 1.3vw, 1.18rem);
    line-height: 1.55;
    color: var(--slate);
    max-width: 560px;
    margin-bottom: 36px;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.hero__inline-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 24px 0 0;
    border-top: 1px solid var(--slate-line);
    list-style: none;
    margin: 0;
    padding-left: 0;
    max-width: 560px;
}

@media (max-width: 600px) {
    .hero__inline-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.hero__inline-stats li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__inline-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.hero__inline-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--slate);
    letter-spacing: 0.04em;
    text-transform: lowercase;
}

.hero__demo {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

@media (min-width: 1024px) {
    .hero__demo { transform: translateY(8px); }
}

.window--terminal {
    border-radius: 14px;
    border: 1px solid var(--slate-line);
    background: var(--ink);
    box-shadow:
        0 30px 80px -28px rgba(14, 14, 20, 0.35),
        0 1px 0 0 rgba(255, 255, 255, 0.04) inset;
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.window--terminal .window__bar {
    background: var(--ink-soft);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--slate-line-dark);
}

.window--terminal .window__title {
    color: var(--slate-soft);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    margin-left: 8px;
    letter-spacing: 0.02em;
}

.window--terminal .window__badge {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--lime-deep);
    background: rgba(184, 226, 25, 0.1);
    padding: 2px 8px;
    border-radius: var(--r-sm);
    letter-spacing: 0.05em;
    text-transform: lowercase;
}

.window--terminal .window__body {
    padding: 18px 18px 22px;
    overflow-x: auto;
}

.window--terminal .code-block {
    margin: 0;
    color: var(--cream);
    font-family: var(--font-mono);
    font-size: 0.84rem;
    line-height: 1.6;
    white-space: pre;
    transition: opacity 220ms ease;
}

.window--terminal .code-block--out { color: var(--slate-soft); }

.section__head--left {
    text-align: left;
    margin: 0 0 56px;
    max-width: 720px;
}

.section__head--left .section__heading { margin-bottom: 18px; }

.section__head--left .section__lede { max-width: 620px; }

.catalog {
    padding: 100px 0;
    position: relative;
}

.bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    grid-auto-rows: minmax(180px, auto);
}

@media (min-width: 640px) {
    .bento { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (min-width: 1024px) {
    .bento { grid-template-columns: repeat(6, 1fr); gap: 20px; }
    .bento__card--hero     { grid-column: span 3; grid-row: span 2; }
    .bento__card--feature  { grid-column: span 3; }
    .bento__card           { grid-column: span 2; }
}

.bento__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    background: var(--cream);
    border: 1px solid var(--slate-line);
    border-radius: var(--r-lg);
    position: relative;
    overflow: hidden;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.bento__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--ink);
}

.bento__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, var(--poppy-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 280ms ease;
    pointer-events: none;
}

.bento__card:hover::before { opacity: 1; }

.bento__card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.015em;
    margin: 4px 0 0;
    color: var(--ink);
    position: relative;
}

.bento__card--hero h3 {
    font-size: 2rem;
    margin-top: 10px;
}

.bento__card p {
    color: var(--slate);
    line-height: 1.55;
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
    position: relative;
}

.bento__card--hero p { font-size: 1.05rem; }

.bento__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    position: relative;
}

.bento__badge {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--r-sm);
    text-transform: lowercase;
    letter-spacing: 0.08em;
}

.bento__badge--live {
    color: var(--ink);
    background: var(--lime);
}

.bento__price {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--slate);
    letter-spacing: 0.02em;
}

.bento__path {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink);
    background: var(--cream-warm);
    padding: 8px 12px;
    border-radius: var(--r-sm);
    align-self: flex-start;
    border: 1px solid var(--slate-line);
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    position: relative;
}

.bento__metric {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-top: 14px;
    margin-top: auto;
    border-top: 1px dashed var(--slate-line);
    position: relative;
}

.bento__metric-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--poppy);
    letter-spacing: -0.02em;
}

.bento__metric-unit {
    font-size: 0.9rem;
    color: var(--poppy);
    margin-left: 1px;
}

.bento__metric-label {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--slate);
}

.bento__card--hero {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
}

.bento__card--hero h3,
.bento__card--hero p { color: var(--cream); }

.bento__card--hero p { color: var(--slate-soft); }

.bento__card--hero .bento__path {
    background: rgba(255, 255, 255, 0.06);
    color: var(--cream);
    border-color: var(--slate-line-dark);
}

.bento__card--hero .bento__metric { border-top-color: var(--slate-line-dark); }

.bento__card--hero .bento__price { color: var(--slate-soft); }

.bento__card--hero:hover { transform: translateY(-3px); border-color: var(--poppy); }

.bento__card--hero::before {
    background: radial-gradient(ellipse at top right, rgba(255, 57, 87, 0.22) 0%, transparent 60%);
}

.bento__card--accent {
    background: var(--poppy-soft);
    border-color: rgba(255, 57, 87, 0.2);
}

.bento__card--accent .bento__path {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 57, 87, 0.15);
}

.catalog__footnote {
    text-align: center;
    margin-top: 48px;
    font-family: var(--font-mono);
    font-size: 0.86rem;
    color: var(--slate);
}

.catalog__footnote a {
    color: var(--poppy);
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
}

.anatomy {
    padding: 100px 0;
    background: var(--cream-warm);
    border-top: 1px solid var(--slate-line);
    border-bottom: 1px solid var(--slate-line);
    position: relative;
}

.anatomy__flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0;
    margin: 0 0 56px;
    list-style: none;
}

@media (min-width: 768px) {
    .anatomy__flow { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (min-width: 1100px) {
    .anatomy__flow { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

.anatomy__step {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px 24px;
    background: var(--cream);
    border: 1px solid var(--slate-line);
    border-radius: var(--r-lg);
    position: relative;
    transition: transform 200ms ease, border-color 200ms ease;
}

.anatomy__step:hover {
    transform: translateY(-2px);
    border-color: var(--ink);
}

.anatomy__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--poppy);
    letter-spacing: 0.05em;
}

.anatomy__step h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: -0.015em;
    margin-bottom: 6px;
}

.anatomy__step p {
    color: var(--slate);
    line-height: 1.55;
    font-size: 0.95rem;
}

.anatomy__terminals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 1024px) {
    .anatomy__terminals { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.plans {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 56px;
}

@media (min-width: 640px) {
    .plans { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .plans { grid-template-columns: repeat(5, 1fr); }
}

.cta__card--terminal {
    background: var(--ink);
    color: var(--cream);
    border-radius: var(--r-xl);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta__card--terminal::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.cta__card--terminal::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 57, 87, 0.45) 0%, transparent 70%);
    pointer-events: none;
}

.cta__card--terminal h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--cream);
    margin-bottom: 16px;
    position: relative;
    text-wrap: balance;
}

.cta__card--terminal p {
    color: var(--slate-soft);
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 32px;
    position: relative;
}

.cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--lime-deep);
    text-transform: lowercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    position: relative;
}

.cta__card--terminal .cta__row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    position: relative;
}

.btn--ghost-on-dark {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--cream);
}

.btn--ghost-on-dark:hover {
    border-color: var(--cream);
    background: rgba(255, 255, 255, 0.06);
    color: var(--cream);
}

.footer__mono {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--slate);
}

.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: calc(var(--reveal-i, 0) * 65ms);
}

.reveal-up.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up { opacity: 1; transform: none; transition: none; }
    .live-pill__dot { animation: none; }
    .hl-underline__svg { stroke-dashoffset: 0; transition: none; }
}
