/*
 * Kitcart public site (landing page, free-plan card step). Same language as the seller dashboard v2:
 * strictly monochrome warm ink, Cera Pro, layered "lift" shadows; colour only for status signals.
 * Hand-written, no build step (live does not run one). Mobile first.
 */
@font-face { font-family: 'Cera Pro'; font-weight: 400; font-display: swap; src: url('/frontend/organic/fonts/Cera Pro Regular.otf') format('opentype'); }
@font-face { font-family: 'Cera Pro'; font-weight: 500; font-display: swap; src: url('/frontend/organic/fonts/Cera Pro Medium.otf') format('opentype'); }
@font-face { font-family: 'Cera Pro'; font-weight: 700; font-display: swap; src: url('/frontend/organic/fonts/Cera Pro Bold.otf') format('opentype'); }
@font-face { font-family: 'Cera Pro'; font-weight: 900; font-display: swap; src: url('/frontend/organic/fonts/Cera Pro Black.otf') format('opentype'); }

:root {
    --ink-50: #f7f7f5; --ink-100: #eeedea; --ink-200: #e2e1dc; --ink-300: #cbc9c2; --ink-400: #a3a19a;
    --ink-500: #77756f; --ink-600: #57554f; --ink-700: #3d3c38; --ink-800: #252422; --ink-900: #161615; --ink-950: #0b0b0a;
    --canvas: #f4f3ef;
    --success: #059669; --danger: #e11d48; --warning: #d97706;
    --sans: 'Cera Pro', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
    --shadow-card: 0 1px 2px rgba(11,11,10,.04), 0 8px 24px -12px rgba(11,11,10,.10);
    --shadow-lift: 0 1px 2px rgba(11,11,10,.06), 0 18px 40px -16px rgba(11,11,10,.22);
    --shadow-pop: 0 12px 48px -12px rgba(11,11,10,.35);
    --radius: 1.75rem;
    --gutter: 16px;
    --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink-950); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -.03em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink-950); outline-offset: 3px; border-radius: 6px; }
.on-ink :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.logo { height: 26px; width: auto; }
.on-ink .logo, .logo--light { filter: invert(1); }

.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); }
.eyebrow::before { content: ''; width: .45rem; height: .45rem; border-radius: 99px; background: currentColor; }
.eyebrow--light, .on-ink .eyebrow { color: var(--ink-400); }
.muted { color: var(--ink-500); }
.on-ink .muted { color: var(--ink-400); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: .7rem 1.25rem; border-radius: 999px; border: 0; font-weight: 500; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink-950); color: #fff; box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255,255,255,.12); }
.btn--ink:hover { background: var(--ink-800); }
.btn--light { background: #fff; color: var(--ink-950); box-shadow: var(--shadow-card); }
.btn--light:hover { box-shadow: var(--shadow-lift); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px rgba(11,11,10,.14); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(11,11,10,.4); }
.on-ink .btn--ghost { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.on-ink .btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.btn--lg { min-height: 3.25rem; padding: .9rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn.is-loading .btn__label::after { content: '…'; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.ink-card { position: relative; overflow: hidden; background: var(--ink-950); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-pop); isolation: isolate; }
.ink-card::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255,255,255,.12), transparent); z-index: -1; }

.alert { margin: 1rem 0; padding: .8rem 1rem; border-radius: 1rem; font-size: .92rem; }
.alert--danger { background: #fff1f2; color: #9f1239; box-shadow: inset 0 0 0 1px #fecdd3; }
.alert--success { background: #ecfdf5; color: #065f46; box-shadow: inset 0 0 0 1px #a7f3d0; }

/* ------------------------------------------------------------------ free-plan card step */
.trial { min-height: 100vh; padding: 24px var(--gutter) 48px; max-width: 1080px; margin: 0 auto; }
.trial--narrow { max-width: 520px; }
.trial__brand { display: inline-block; margin-bottom: 28px; }
.trial__grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .trial__grid { grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: start; } .trial { padding-top: 40px; } }
.trial__story { padding: 32px 28px; }
.trial__title { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 900; margin: 14px 0 12px; }
.trial__lede { color: var(--ink-300); max-width: 32rem; }
.timeline { margin: 28px 0 0; display: grid; gap: 0; counter-reset: step; }
.timeline li { position: relative; display: grid; gap: 2px; padding: 0 0 22px 28px; }
.timeline li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 9px; height: 9px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.timeline li:not(:last-child)::after { content: ''; position: absolute; left: 8px; top: 20px; bottom: 2px; width: 1px; background: rgba(255,255,255,.18); }
.timeline__when { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-400); }
.timeline__what { color: var(--ink-200); font-size: .95rem; }
.timeline__what strong { color: #fff; }
.trial__perks { display: grid; gap: 8px; margin-top: 6px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; color: var(--ink-300); }
.trial__perks li::before { content: '✓'; margin-right: .6rem; color: #fff; }
.trial__form { padding: 28px; }
.trial__formtitle { font-size: 1.6rem; margin: 8px 0 6px; }
.trial__form .muted { margin-bottom: 18px; font-size: .95rem; }
.trial__form .btn + .btn { margin-top: 10px; }
.field-label { display: block; font-size: .85rem; font-weight: 500; margin: 6px 0 8px; }
.stripe-field { padding: 15px 16px; border-radius: 1rem; background: #fff; box-shadow: inset 0 0 0 1px rgba(11,11,10,.14); transition: box-shadow .2s; }
.stripe-field.is-focus { box-shadow: inset 0 0 0 1.5px var(--ink-950), 0 0 0 4px rgba(11,11,10,.07); }
.field-error { margin-top: 8px; color: var(--danger); font-size: .88rem; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0; font-size: .86rem; line-height: 1.5; color: var(--ink-600); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink-950); }
.fineprint { margin-top: 10px; text-align: center; font-size: .82rem; color: var(--ink-500); }
.trial__alt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ink-100); font-size: .88rem; color: var(--ink-500); }
.trial__alt a { color: var(--ink-950); font-weight: 500; }

/* ------------------------------------------------------------------ landing: nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(244,243,239,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: rgba(11,11,10,.07); }
.nav__bar { display: flex; align-items: center; gap: 16px; height: 68px; }
.nav__links { display: none; gap: 4px; margin-left: 20px; }
.nav__links a { padding: .45rem .8rem; border-radius: 999px; font-size: .92rem; color: var(--ink-600); text-decoration: none; transition: background-color .2s, color .2s; }
.nav__links a:hover { background: rgba(11,11,10,.05); color: var(--ink-950); }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__signin { display: none; font-size: .92rem; color: var(--ink-700); text-decoration: none; padding: .45rem .8rem; }
.nav__toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: #fff; box-shadow: var(--shadow-card); cursor: pointer; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 16px; height: 1.5px; background: var(--ink-950); position: relative; transition: transform .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ''; position: absolute; left: 0; }
.nav__toggle span::before { top: -5px; } .nav__toggle span::after { top: 5px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-5px) rotate(-45deg); }
.nav__sheet { display: none; padding: 8px var(--gutter) 20px; }
.nav.is-open .nav__sheet { display: grid; gap: 2px; }
.nav__sheet a { padding: .8rem .2rem; border-bottom: 1px solid rgba(11,11,10,.07); text-decoration: none; font-size: 1.05rem; }
.nav .btn { min-height: 2.5rem; padding: .55rem 1.05rem; }
@media (min-width: 960px) {
    .nav__links { display: flex; } .nav__signin { display: inline-block; } .nav__toggle, .nav__sheet, .nav.is-open .nav__sheet { display: none; }
}

/* ------------------------------------------------------------------ landing: hero */
.hero { position: relative; padding: 36px 0 48px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero { padding: 64px 0 80px; } .hero__grid { grid-template-columns: 1fr 1.02fr; gap: 48px; } }
.hero__pill { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .4rem .35rem .9rem; border-radius: 999px; background: #fff; box-shadow: var(--shadow-card); font-size: .85rem; color: var(--ink-700); text-decoration: none; }
.hero__pill b { padding: .15rem .6rem; border-radius: 999px; background: var(--ink-950); color: #fff; font-weight: 500; font-size: .78rem; }
.hero__title { margin-top: 22px; font-size: clamp(2.7rem, 8.4vw, 5.6rem); font-weight: 900; letter-spacing: -.045em; line-height: .95; }
.hero__title em { font-style: normal; color: var(--ink-400); }
.hero__lede { margin-top: 22px; max-width: 34rem; font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--ink-600); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__note { margin-top: 14px; font-size: .85rem; color: var(--ink-500); }

/* hero collage: a storefront in a browser frame with dashboard cards layered on top */
.collage { position: relative; min-height: 440px; }
@media (min-width: 640px) { .collage { min-height: 520px; } }
.browser { position: absolute; inset: 0 0 auto 0; margin: 0 auto; width: min(100%, 560px); border-radius: 22px; background: #fff; box-shadow: var(--shadow-pop); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--ink-50); border-bottom: 1px solid var(--ink-100); }
.browser__bar i { width: 9px; height: 9px; border-radius: 99px; background: var(--ink-200); }
.browser__url { margin-left: 10px; flex: 1; padding: 4px 12px; border-radius: 99px; background: #fff; font-size: .72rem; color: var(--ink-500); box-shadow: inset 0 0 0 1px var(--ink-100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store { padding: 16px; }
.store__head { display: flex; align-items: center; justify-content: space-between; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); }
.store__brand { font-family: var(--sans); font-weight: 900; letter-spacing: -.02em; text-transform: none; font-size: 1rem; color: var(--ink-950); }
.store__banner { margin-top: 12px; height: 128px; border-radius: 16px; background: linear-gradient(120deg, var(--ink-900), var(--ink-700)); position: relative; overflow: hidden; color: #fff; padding: 18px; }
.store__banner strong { display: block; font-size: 1.25rem; letter-spacing: -.02em; max-width: 12rem; line-height: 1.1; }
.store__banner span { font-size: .72rem; color: var(--ink-300); }
.store__banner::after { content: ''; position: absolute; right: -30px; bottom: -40px; width: 170px; height: 170px; border-radius: 99px; background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent); }
.store__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.product i { display: block; aspect-ratio: 1; border-radius: 12px; background: var(--ink-100); position: relative; overflow: hidden; }
.product:nth-child(2) i { background: var(--ink-200); } .product:nth-child(3) i { background: var(--ink-300); }
.product i::after { content: ''; position: absolute; inset: 22% 26%; border-radius: 40% 40% 12px 12px; background: rgba(255,255,255,.55); }
.product b { display: block; margin-top: 6px; font-size: .72rem; font-weight: 500; }
.product small { font-size: .7rem; color: var(--ink-500); }

.float { position: absolute; z-index: 2; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lift); padding: 14px 16px; font-size: .8rem; animation: bob 7s ease-in-out infinite; }
.float--order { left: -4px; top: 300px; width: 210px; }
.float--sales { right: -4px; top: 160px; width: 210px; background: var(--ink-950); color: #fff; animation-delay: -2s; }
.float--pay { right: 4%; bottom: 0; width: 240px; animation-delay: -4s; }
@media (max-width: 639px) { .collage { min-height: 500px; } .float--sales { top: 318px; width: 178px; } .float--order { top: 392px; width: 186px; } .float--pay { display: none; } }
@media (min-width: 640px) { .float--order { left: -28px; top: 352px; } .float--sales { right: -24px; top: 120px; } .float--pay { right: 6%; bottom: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.float__label { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); }
.float--sales .float__label { color: var(--ink-400); }
.float__big { margin-top: 4px; font-size: 1.45rem; font-weight: 700; letter-spacing: -.03em; }
.status { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 500; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 99px; background: currentColor; }
.status--ok { color: var(--success); } .status--warn { color: var(--warning); }
.float--sales .status--ok { color: #34d399; }
.spark { margin-top: 8px; width: 100%; height: 42px; }
.pay-methods { display: flex; gap: 6px; margin-top: 10px; }
.pay-methods span { flex: 1; text-align: center; padding: 6px 0; border-radius: 10px; background: var(--ink-50); box-shadow: inset 0 0 0 1px var(--ink-100); font-size: .7rem; font-weight: 500; }
.pay-methods span:first-child { background: var(--ink-950); color: #fff; box-shadow: none; }

/* ------------------------------------------------------------------ landing: ticker + stats */
.ticker { overflow: hidden; border-block: 1px solid rgba(11,11,10,.08); background: #fff; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__track span { padding: 18px 28px; font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; color: var(--ink-300); }
.ticker__track span:nth-child(3n+1) { color: var(--ink-950); }
@keyframes ticker { to { transform: translateX(-50%); } }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 56px; border-radius: var(--radius); overflow: hidden; background: rgba(11,11,10,.08); box-shadow: var(--shadow-card); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; padding: 24px 22px; }
.stat b { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: .88rem; color: var(--ink-500); }

/* ------------------------------------------------------------------ landing: sections */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section--white { background: #fff; }
.section--ink { background: var(--ink-950); color: #fff; }
.section__head { max-width: 46rem; margin-bottom: 40px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { margin-top: 14px; font-size: clamp(2.1rem, 5.4vw, 3.8rem); font-weight: 900; letter-spacing: -.04em; }
.section__title em { font-style: normal; color: var(--ink-400); }
.section--ink .section__title em { color: var(--ink-500); }
.section__lede { margin-top: 16px; font-size: 1.08rem; color: var(--ink-600); }
.section--ink .section__lede { color: var(--ink-300); }

/* chapters: what you can do, one story beat each */
.chapters { display: grid; gap: 20px; }
.chapter { display: grid; gap: 28px; padding: 28px; align-items: center; }
@media (min-width: 900px) { .chapter { grid-template-columns: 1fr 1.05fr; gap: 48px; padding: 48px; } .chapter:nth-child(even) .chapter__visual { order: -1; } }
.chapter__num { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; color: var(--ink-400); }
.chapter__title { margin-top: 10px; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 900; letter-spacing: -.035em; }
.chapter__copy { margin-top: 14px; color: var(--ink-600); }
.ink-card .chapter__copy { color: var(--ink-300); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { padding: .38rem .8rem; border-radius: 999px; background: var(--ink-50); box-shadow: inset 0 0 0 1px var(--ink-100); font-size: .82rem; color: var(--ink-700); }
.ink-card .chips li, .section--ink .chips li { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: var(--ink-200); }
.chapter__visual { position: relative; min-height: 260px; border-radius: 22px; background: var(--ink-50); box-shadow: inset 0 0 0 1px var(--ink-100); padding: 20px; display: grid; align-content: center; gap: 12px; overflow: hidden; }
.ink-card .chapter__visual { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }

/* small UI pieces used inside chapter visuals */
.ui { background: #fff; border-radius: 16px; box-shadow: var(--shadow-card); padding: 14px 16px; font-size: .85rem; color: var(--ink-950); }
.ui--ink { background: var(--ink-950); color: #fff; }
.ui__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ui__row + .ui__row { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ink-100); }
.ui--ink .ui__row + .ui__row { border-top-color: rgba(255,255,255,.1); }
.ui__k { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); }
.ui__v { font-weight: 700; letter-spacing: -.02em; }
.ui__big { font-size: 1.6rem; font-weight: 900; letter-spacing: -.04em; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thumb { aspect-ratio: 3/4; border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); padding: 8px; display: grid; grid-template-rows: auto 1fr auto; gap: 6px; }
.thumb i { display: block; height: 6px; border-radius: 4px; background: var(--ink-200); width: 60%; }
.thumb u { display: block; border-radius: 8px; background: var(--ink-100); }
.thumb s { display: block; height: 6px; border-radius: 4px; background: var(--ink-950); width: 40%; }
.thumb.is-active { box-shadow: 0 0 0 2px var(--ink-950), var(--shadow-lift); }
.thumb:nth-child(2) u { background: var(--ink-800); } .thumb:nth-child(3) u { background: linear-gradient(var(--ink-200) 50%, var(--ink-100) 50%); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--ink-200); }
.bars i.prev { background: var(--ink-100); }
.bars i:last-child { background: var(--ink-950); }
.avatars { display: flex; }
.avatars span { width: 32px; height: 32px; border-radius: 99px; display: grid; place-items: center; font-size: .64rem; font-weight: 700; background: var(--ink-200); box-shadow: 0 0 0 2px #fff; margin-left: -6px; }
.avatars span:first-child { margin-left: 0; background: var(--ink-950); color: #fff; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slots span { padding: 8px 0; text-align: center; border-radius: 10px; font-size: .74rem; background: #fff; box-shadow: inset 0 0 0 1px var(--ink-100); }
.slots span.is-taken { color: var(--ink-300); text-decoration: line-through; }
.slots span.is-picked { background: var(--ink-950); color: #fff; box-shadow: none; }

/* "and everything else" grid */
.more { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.08); }
@media (min-width: 800px) { .more { grid-template-columns: repeat(4, 1fr); } }
.more li { background: var(--ink-950); padding: 22px 20px; }
.more b { display: block; font-size: 1rem; letter-spacing: -.01em; }
.more span { display: block; margin-top: 4px; font-size: .85rem; color: var(--ink-400); }

/* steps */
.steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { padding: 28px; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font-family: var(--mono); font-size: .8rem; color: var(--ink-400); letter-spacing: .1em; }
.step h3 { margin-top: 18px; font-size: 1.35rem; }
.step p { margin-top: 8px; color: var(--ink-600); font-size: .95rem; }

/* quote */
.quote { margin: 0; padding: 36px 28px; }
@media (min-width: 900px) { .quote { padding: 64px; } }
.quote blockquote { margin: 0; font-size: clamp(1.5rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 99px; object-fit: cover; }
.quote figcaption b { display: block; }
.quote figcaption span { font-size: .9rem; color: var(--ink-400); }
.quote figcaption a { color: var(--ink-300); font-size: .9rem; }

/* pricing */
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-card); margin-bottom: 28px; }
.tabs button { border: 0; background: transparent; padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .92rem; color: var(--ink-600); }
.tabs button[aria-selected="true"] { background: var(--ink-950); color: #fff; }
.plans { display: grid; gap: 16px; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plans[hidden] { display: none; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; }
.plan--free { background: var(--ink-950); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-pop); }
.plan__name { font-size: 1.15rem; }
.plan__tag { position: absolute; top: 22px; right: 22px; padding: .25rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 500; background: var(--ink-950); color: #fff; }
.plan--free .plan__tag { background: #fff; color: var(--ink-950); }
.plan__price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-size: clamp(2.2rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.plan__price span { color: var(--ink-500); font-size: .92rem; }
.plan--free .plan__price span { color: var(--ink-400); }
.plan__alt { margin-top: 6px; font-size: .85rem; color: var(--ink-500); min-height: 1.4em; }
.plan--free .plan__alt { color: var(--ink-400); }
.plan__list { display: grid; gap: 10px; margin: 24px 0 28px; font-size: .93rem; }
.plan__list li { display: flex; gap: .65rem; }
.plan__list li::before { content: '✓'; font-weight: 700; }
.plan__list li.is-off { color: var(--ink-400); }
.plan__list li.is-off::before { content: '–'; }
.plan .btn { margin-top: auto; }
.pricing__note { margin-top: 20px; font-size: .88rem; color: var(--ink-500); text-align: center; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { padding: 4px 24px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 99px; background: var(--ink-50); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-600); }

/* blog */
.posts { display: grid; gap: 16px; }
@media (min-width: 800px) { .posts { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.post { overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.post:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.post img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--ink-100); }
.post__body { padding: 20px 22px 24px; }
.post__meta { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); }
.post h3 { margin-top: 10px; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.02em; }

/* closing CTA + forms */
.cta { padding: 40px 28px; text-align: center; }
@media (min-width: 900px) { .cta { padding: 80px 64px; } }
.cta .section__title { max-width: 40rem; margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.subscribe { display: grid; gap: 10px; max-width: 460px; margin: 36px auto 0; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.subscribe__row { display: flex; gap: 8px; }
.input { width: 100%; min-height: 3rem; padding: .75rem 1.1rem; border: 0; border-radius: 999px; background: #fff; color: var(--ink-950); box-shadow: inset 0 0 0 1px rgba(11,11,10,.14); }
.input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink-950), 0 0 0 4px rgba(11,11,10,.07); }
textarea.input { border-radius: 1.2rem; min-height: 120px; resize: vertical; }
.on-ink .input { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.on-ink .input::placeholder { color: var(--ink-400); }
.on-ink .input:focus { box-shadow: inset 0 0 0 1.5px #fff; }
.form-msg { font-size: .88rem; min-height: 1.2em; }
.form-msg.is-error { color: #fda4af; } .form-msg.is-ok { color: #6ee7b7; }
.contact .form-msg.is-error { color: var(--danger); } .contact .form-msg.is-ok { color: var(--success); }
.captcha { display: flex; justify-content: center; }

.contact { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; } }
.contact form { padding: 28px; display: grid; gap: 12px; }
.contact__grid { display: grid; gap: 12px; }
@media (min-width: 600px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
.contact__lines { display: grid; gap: 14px; margin-top: 28px; }
.contact__lines a, .contact__lines span { display: block; color: var(--ink-700); text-decoration: none; }
.contact__lines small { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-400); }

/* footer */
.footer { padding: 64px 0 32px; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.footer__about { grid-column: 1 / -1; max-width: 22rem; }
@media (min-width: 900px) { .footer__about { grid-column: auto; } }
.footer__about p { margin-top: 16px; font-size: .9rem; color: var(--ink-400); }
.footer h4 { font-family: var(--mono); font-size: .68rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer ul a { color: var(--ink-200); text-decoration: none; font-size: .92rem; }
.footer ul a:hover { color: #fff; }
.footer__social { display: flex; gap: 8px; margin-top: 20px; }
.footer__social a { width: 38px; height: 38px; border-radius: 99px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); color: #fff; }
.footer__social a:hover { background: rgba(255,255,255,.08); }
.footer__social svg { width: 16px; height: 16px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: var(--ink-500); }
.footer__base a { color: var(--ink-400); }
.footer__word { margin-top: 48px; font-size: clamp(4rem, 20vw, 15rem); font-weight: 900; letter-spacing: -.06em; line-height: .8; color: var(--ink-900); user-select: none; }

/* scroll reveal (only when JS has marked the page, so no-JS shows everything) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .float, .ticker__track { animation: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ================================================================== inner pages */
.nav__links a[aria-current="page"] { background: rgba(11,11,10,.06); color: var(--ink-950); }
.page-hero { padding: 40px 0 28px; }
@media (min-width: 900px) { .page-hero { padding: 72px 0 40px; } }
.page-title { margin-top: 16px; font-size: clamp(2.5rem, 7.4vw, 5rem); font-weight: 900; letter-spacing: -.045em; line-height: .98; max-width: 16ch; }
.page-title em { font-style: normal; color: var(--ink-400); }
.page-hero--center { text-align: center; }
.page-hero--center .page-title, .page-hero--center .page-lede { margin-inline: auto; }
.page-lede { margin-top: 18px; max-width: 40rem; font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--ink-600); }
.on-ink .page-lede { color: var(--ink-300); }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.page-hero--center .page-actions { justify-content: center; }
.section--tight { padding: 40px 0 72px; }
@media (min-width: 900px) { .section--tight { padding: 48px 0 112px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* generic tiles */
.tiles { display: grid; gap: 16px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } .tiles--4 { grid-template-columns: repeat(4, 1fr); } }
.tile { padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.tile h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.tile p { color: var(--ink-600); font-size: .95rem; }
.ink-card .tile p, .on-ink .tile p { color: var(--ink-300); }
.tile__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--ink-950); color: #fff; margin-bottom: 8px; }
.on-ink .tile__icon, .tile.ink-card .tile__icon { background: #fff; color: var(--ink-950); }
.tile__icon svg { width: 20px; height: 20px; }
.tile__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .9rem; }
.tag { display: inline-flex; align-items: center; padding: .2rem .65rem; border-radius: 999px; background: var(--ink-50); box-shadow: inset 0 0 0 1px var(--ink-100); font-size: .74rem; font-weight: 500; color: var(--ink-600); }
.tag--ink { background: var(--ink-950); color: #fff; box-shadow: none; }

/* big numbers row (KitPay fees, plan facts) */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-radius: var(--radius); overflow: hidden; background: rgba(11,11,10,.08); }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts > div { background: #fff; padding: 22px; }
.facts b { display: block; font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.facts span { display: block; margin-top: 6px; font-size: .86rem; color: var(--ink-500); }
.on-ink .facts { background: rgba(255,255,255,.1); }
.on-ink .facts > div { background: var(--ink-950); }
.on-ink .facts span { color: var(--ink-400); }

/* comparison table */
.compare { overflow-x: auto; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-card); }
.compare table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--ink-100); white-space: nowrap; }
.compare thead th { font-size: 1rem; position: sticky; top: 0; background: #fff; }
.compare tbody th { font-weight: 500; color: var(--ink-600); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .is-off { color: var(--ink-300); }

/* legal text */
.prose { max-width: 46rem; color: var(--ink-700); font-size: 1rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h6 { margin-top: 2.2em; font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; color: var(--ink-950); line-height: 1.3; }
.prose p + p { margin-top: .9em; }
.prose ol, .prose ul { padding-left: 1.3rem; }
.prose ol { list-style: decimal; } .prose ul { list-style: disc; }
.prose li { margin-top: .7em; padding-left: .3rem; }
.prose li::marker { color: var(--ink-400); font-weight: 700; }
.prose li > strong:first-child { display: block; color: var(--ink-950); font-size: 1.08rem; letter-spacing: -.01em; }
.prose a { color: var(--ink-950); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose .callout { padding: 20px 22px; border-radius: 1.2rem; background: #fff; box-shadow: var(--shadow-card); }
.legal { display: grid; gap: 28px; }
@media (min-width: 1000px) { .legal { grid-template-columns: 240px 1fr; gap: 64px; align-items: start; } .legal__aside { position: sticky; top: 96px; } }
.legal__aside nav { display: grid; gap: 4px; }
.legal__aside a { padding: .45rem .8rem; border-radius: 999px; text-decoration: none; font-size: .92rem; color: var(--ink-600); }
.legal__aside a[aria-current="page"] { background: var(--ink-950); color: #fff; }

/* people + projects */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 900px) { .people { grid-template-columns: repeat(5, 1fr); gap: 20px; } }
.person img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px; background: var(--ink-100); filter: grayscale(1) contrast(1.05); transition: filter .3s; }
.person:hover img { filter: none; }
.person b { display: block; margin-top: 12px; font-size: 1.05rem; letter-spacing: -.01em; }
.person span { font-size: .88rem; color: var(--ink-500); }
.project { overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.project:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.project__logo { height: 150px; display: grid; place-items: center; background: var(--ink-50); border-bottom: 1px solid var(--ink-100); padding: 28px; }
.project__logo img { max-height: 70px; max-width: 70%; object-fit: contain; filter: grayscale(1); }
.project__body { padding: 20px 22px 24px; display: grid; gap: 6px; }
.project__body h3 { font-size: 1.15rem; }
.project__body p { color: var(--ink-600); font-size: .92rem; }
.project__body small { margin-top: 6px; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--ink-500); }

/* forms on light cards */
.form-card { padding: 28px; display: grid; gap: 14px; }
@media (min-width: 900px) { .form-card { padding: 36px; } }
.field { display: grid; gap: 6px; }
.field > span { font-size: .85rem; font-weight: 500; color: var(--ink-700); }
.field-row { display: grid; gap: 14px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row--phone { grid-template-columns: 9.5rem 1fr; } }
select.input { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2377756f' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 3.6rem; }
.input-wrap button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; padding: .4rem .7rem; border-radius: 999px; font-size: .8rem; color: var(--ink-500); cursor: pointer; }
.input-wrap button:hover { background: var(--ink-50); color: var(--ink-950); }
.captcha-sum { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 1rem; background: var(--ink-50); }
.captcha-sum b { font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.captcha-sum .input { max-width: 7rem; min-height: 2.6rem; }
.form-card .form-msg.is-error { color: var(--danger); } .form-card .form-msg.is-ok { color: var(--success); }

/* sign up / sign in */
.auth { min-height: 100vh; display: grid; }
@media (min-width: 1000px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth__main { display: flex; flex-direction: column; padding: 24px var(--gutter) 40px; }
@media (min-width: 1000px) { .auth__main { padding: 36px 56px 48px; } }
.auth__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--ink-500); }
.auth__top a { color: var(--ink-950); font-weight: 500; }
.auth__body { width: 100%; max-width: 460px; margin: auto; padding: 40px 0; }
.auth__title { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; letter-spacing: -.04em; }
.auth__lede { margin-top: 10px; color: var(--ink-600); }
.auth__form { display: grid; gap: 14px; margin-top: 28px; }
.auth__aside { display: none; }
@media (min-width: 1000px) {
    .auth__aside { display: flex; flex-direction: column; justify-content: space-between; margin: 12px; padding: 48px; border-radius: 2rem; }
}
.auth__quote { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.auth__points { display: grid; gap: 14px; margin-top: 32px; }
.auth__points li { display: flex; gap: 12px; color: var(--ink-200); }
.auth__points li::before { content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 99px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; font-size: .8rem; }
.auth__fine { margin-top: 18px; font-size: .84rem; color: var(--ink-500); text-align: center; }
.auth__fine a { color: var(--ink-950); }
.auth__mini { display: none; }
.auth__form .form-msg.is-error { color: var(--danger); } .auth__form .form-msg.is-ok { color: var(--success); }
.auth__points--light li { color: var(--ink-700); } .auth__points--light li::before { background: var(--ink-950); color: #fff; }
