/* Vitals Health Kit site, v3: built on stripe.com's layout system.
 *
 * Stripe's structure, measured from stripe.com on 2026-11-18: light 300-weight
 * headlines in navy whose second sentence runs on in slate, a framed 1266 px
 * column with hairline rails, 4 px buttons, product cards that each show real
 * UI, a gradient stats band, a navy developer section, and a footer CTA.
 * Our own touch: the hero silk is drawn from breathing waveforms, the accent
 * is the Vitals blue, and the logo strip lists what's in the kit (we have no
 * customer logos to show).
 */

@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #0A1A33;       /* headings */
  --slate: #5F6F86;      /* the run-on half of a headline, body copy (5.2:1) */
  --ink: #2A3547;        /* body */
  --muted: #5F6F86;
  --line: #E3E8EF;
  --rail: #EEF1F5;
  --soft: #F6F9FC;
  --blue: #2732D6; --blue-hover: #1F28B5;
  --navy-bg: #0B1235;
  --radius: 4px; --card-r: 8px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.55 var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: 300; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: .9em; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 60; }
.skip:focus { left: 8px; }
figure { margin: 0; }

/* ------------------------------------------------- the framed column */
.container { width: 100%; max-width: 1266px; margin: 0 auto; padding: 0 32px; position: relative; }
.rails { position: relative; }
.rails::before, .rails::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rail); pointer-events: none; z-index: 0; }
.rails::before { left: max(16px, calc(50% - 633px)); } .rails::after { right: max(16px, calc(50% - 633px)); }
.dash { border-top: 1px dashed var(--line); }
@media (max-width: 760px) { .container { padding: 0 20px; } .rails::before, .rails::after { display: none; } }

/* ---------------------------------------------------------------- type */
.h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 300; color: var(--navy); }
.h1 .run, .h2 .run { color: var(--slate); }
.h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 300; color: var(--navy); max-width: 22em; }
.h2.big { font-size: clamp(36px, 4vw, 56px); line-height: 1.03; letter-spacing: -0.025em; }
.h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 400; color: var(--navy); }
.lede { font-size: 18px; line-height: 1.55; color: var(--slate); }
.small { font-size: 14px; color: var(--muted); line-height: 1.5; }
.navy { color: var(--navy); }
.c { color: var(--navy); font-weight: 500; }

/* -------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 15px 22px 16px; border-radius: var(--radius); background: var(--blue); color: #fff; font-size: 16px; font-weight: 400; line-height: 1; border: 0; cursor: pointer; font-family: inherit; transition: background .15s; }
.btn:hover { background: var(--blue-hover); }
.btn.ghost { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1px #C9CDF5; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--blue); }
.btn.sm { padding: 10px 14px 11px; font-size: 15px; }
.arr::after { content: "\203A"; font-size: 1.15em; margin-left: 2px; transition: transform .15s; display: inline-block; }
.arr:hover::after { transform: translateX(3px); }
.link { color: var(--blue); font-weight: 400; }
.link:hover { color: var(--navy); }

/* ------------------------------------------------------------ top bars */
.announce { background: var(--navy-bg); color: #fff; font-size: 14px; text-align: center; padding: 9px 16px; }
.announce a { font-weight: 500; }
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.8) blur(12px); -webkit-backdrop-filter: saturate(1.8) blur(12px); border-bottom: 1px solid var(--rail); }
.nav .container { height: 62px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); }
.brand svg { height: 19px; width: auto; }
.brand span { font-size: 15px; color: var(--slate); padding-left: 9px; border-left: 1px solid var(--line); line-height: 1; }
.links { display: none; gap: 26px; }
.links a { font-size: 15px; color: var(--navy); font-weight: 400; }
.links a:hover, .links a[aria-current="page"] { color: var(--blue); }
.nav-end { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu { position: relative; }
.menu summary { list-style: none; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; border-radius: var(--radius); color: var(--navy); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; }
.menu-panel { position: absolute; right: 0; top: 46px; width: min(86vw, 290px); background: #fff; border-radius: var(--card-r); box-shadow: 0 20px 50px -12px rgba(10,26,51,.25), 0 0 0 1px var(--line); padding: 8px; display: grid; }
.menu-panel a { padding: 11px 12px; border-radius: var(--radius); color: var(--navy); }
.menu-panel a:hover { background: var(--soft); }
@media (min-width: 1000px) { .links { display: flex; } .menu { display: none; } }
@media (max-width: 560px) { .nav .btn.ghost { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 2; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 6vw, 80px); }
.silk { position: absolute; z-index: 1; top: -40px; right: -6vw; width: 62vw; max-width: 980px; height: calc(100% + 80px); pointer-events: none; }
.silk canvas { width: 100%; height: 100%; display: block; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.ticker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--navy); margin-bottom: 30px; }
.ticker canvas { width: 64px; height: 18px; }
.ticker b { font-weight: 400; color: var(--slate); font-variant-numeric: tabular-nums; }
.hero .h1 { max-width: 14.5em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .status { margin-top: 22px; font-size: 14px; color: var(--slate); display: flex; gap: 8px; align-items: center; }
.hero .status i { width: 7px; height: 7px; border-radius: 50%; background: #E3A13B; }
@media (max-width: 900px) { .silk { width: 120vw; right: -50vw; opacity: .4; } }

/* The strip under the hero: what's in the kit, set like a logo row. */
.kitstrip { border-top: 1px solid var(--rail); border-bottom: 1px solid var(--rail); }
.kitstrip .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.kitstrip a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 92px; color: #3A4659; font-size: 17px; letter-spacing: -0.01em; font-weight: 500; border-right: 1px solid var(--rail); transition: color .15s, background .15s; }
.kitstrip a:hover { color: var(--blue); background: var(--soft); }
.kitstrip a svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .kitstrip .container { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 899px) { .kitstrip a:nth-child(3n) { border-right: 0; } .kitstrip a:nth-child(-n+3) { border-bottom: 1px solid var(--rail); } .kitstrip a { height: 72px; font-size: 15px; } }

/* ---------------------------------------------------------- sections */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section.soft { background: var(--soft); }
.section-head { margin-bottom: clamp(36px, 4vw, 56px); }

/* Product cards: Stripe's bento, light borders, real UI inside. */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .bento { grid-template-columns: repeat(3, 1fr); } .bento .w2 { grid-column: span 2; } .bento .w3 { grid-column: span 3; } }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--card-r); background: #fff; overflow: hidden; display: flex; flex-direction: column; min-height: 460px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 30px 60px -30px rgba(10,26,51,.25), 0 0 0 1px #D5DCE6; }
.card .t { padding: 26px 68px 0 28px; font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; color: var(--navy); max-width: 18em; }
.card .t span { color: var(--slate); }
.card .plus { position: absolute; top: 22px; right: 22px; width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--slate); background: #fff; z-index: 2; }
.card .plus svg { width: 14px; height: 14px; }
.card .viz { margin-top: auto; position: relative; padding: 28px 28px 0; display: flex; justify-content: center; align-items: flex-end; min-height: 300px; }
.card .viz.flush { padding: 0; }
.wash-1 { background: linear-gradient(180deg, #fff 0%, #fff 30%, #FFE7D6 70%, #FFC9B0 100%); }
.wash-2 { background: linear-gradient(180deg, #fff 0%, #fff 25%, #E8E6FF 65%, #C9C2FF 100%); }
.wash-3 { background: linear-gradient(180deg, #fff 0%, #fff 25%, #DDF1FF 65%, #B5DEFF 100%); }
.wash-4 { background: linear-gradient(180deg, #fff 0%, #fff 30%, #FFE0EC 70%, #FFB8D2 100%); }

/* Browser chrome around a real screen. */
.browser { width: 100%; max-width: 760px; border-radius: 8px 8px 0 0; background: #fff; box-shadow: 0 -1px 0 rgba(10,26,51,.04), 0 30px 60px -20px rgba(10,26,51,.30), 0 0 0 1px rgba(10,26,51,.08); overflow: hidden; }
.browser .bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #F6F8FA; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #DCE1E8; }
.browser .bar span { margin-left: 10px; font-size: 11.5px; color: var(--slate); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 1px 10px; }
.browser img { width: 100%; height: 300px; object-fit: cover; object-position: top center; }

/* The partner phone, rebuilt in HTML from the real UI kit. */
.phone { width: 270px; border-radius: 38px 38px 0 0; background: #0D0E12; padding: 9px 9px 0; box-shadow: 0 40px 80px -30px rgba(10,26,51,.5), inset 0 0 0 1.5px #2B2D35; }
.phone .scr { border-radius: 30px 30px 0 0; background: #F6F1EA; height: 330px; overflow: hidden; font-size: 12.5px; color: #2A211B; }
.phone .top { padding: 13px 18px 6px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 12px; }
.phone .isl { width: 78px; height: 22px; border-radius: 16px; background: #0D0E12; }
.phone .bat { width: 21px; height: 10px; border-radius: 3px; border: 1.5px solid rgba(42,33,27,.5); position: relative; }
.phone .bat::after { content: ""; position: absolute; inset: 1.5px 4px 1.5px 1.5px; background: #2A211B; border-radius: 1px; }
.app-h { padding: 4px 14px 8px; display: flex; align-items: center; gap: 8px; }
.app-h .lg { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #E8743B, #C9502A); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 13px; }
.app-h b { font-size: 14.5px; letter-spacing: -0.02em; }
.app-h span { margin-left: auto; font-size: 10.5px; color: #8A7B6E; border: 1px solid #E5D9CB; border-radius: 999px; padding: 1px 7px; }
.alert { margin: 4px 10px 0; background: #fff; border-radius: 16px; padding: 12px 14px; position: relative; overflow: hidden; box-shadow: 0 1px 2px rgba(60,40,20,.08); }
.alert::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #B0352B; }
.alert.ok::before { background: #2E8B57; }
.pill { display: inline-flex; gap: 5px; align-items: center; font-size: 11px; font-weight: 600; color: #B0352B; background: #FBE7E3; border-radius: 999px; padding: 2px 9px; }
.pill.ok { color: #1E6B42; background: #E4F3E9; }
.alert h5 { margin: 8px 0 0; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.alert .w { font-size: 11px; color: #8A7B6E; }
.alert p { margin-top: 8px; background: #FBF2EA; border-radius: 9px; padding: 8px 10px; line-height: 1.4; }

/* Claims guard visual. */
.guard { width: 100%; max-width: 330px; background: #fff; border-radius: 8px 8px 0 0; box-shadow: 0 30px 60px -25px rgba(10,26,51,.3), 0 0 0 1px rgba(10,26,51,.07); padding: 18px 18px 22px; font-size: 14px; }
.guard .lbl { font-size: 12px; color: var(--slate); margin-bottom: 6px; }
.guard .in { padding: 10px 12px; border-radius: 6px; background: #FDF0EE; color: #8A2A22; text-decoration: line-through; text-decoration-color: rgba(168,42,31,.5); }
.guard .out { padding: 10px 12px; border-radius: 6px; background: #EEF8F2; color: #13583A; }
.guard .arrow { text-align: center; color: var(--slate); margin: 8px 0; font-size: 13px; }
.guard .tag { display: inline-block; margin-top: 12px; font-size: 11.5px; color: var(--slate); border: 1px solid var(--line); border-radius: 4px; padding: 2px 8px; }

/* On-device visual: video stays, a few bytes leave. */
.ondev { width: 100%; max-width: 340px; display: grid; gap: 10px; padding-bottom: 26px; }
.ondev .box { background: #fff; border-radius: 8px; box-shadow: 0 20px 40px -20px rgba(10,26,51,.25), 0 0 0 1px rgba(10,26,51,.07); padding: 14px 16px; }
.ondev .k { font-size: 12px; color: var(--slate); }
.ondev .v { font-size: 15px; color: var(--navy); margin-top: 2px; }
.ondev .frames { display: flex; gap: 6px; margin-top: 10px; }
.ondev .frames i { flex: 1; height: 44px; border-radius: 4px; background: linear-gradient(135deg, #2B2F3A, #15171C); position: relative; }
.ondev .frames i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 48%, rgba(255,107,94,.85) 49%, rgba(255,107,94,.85) 51%, transparent 52%); }
.ondev .bytes { font: 12.5px/1.6 var(--font-mono); color: #3A4659; background: #F4F6FA; border-radius: 6px; padding: 8px 10px; margin-top: 8px; }
.ondev .bytes span { color: var(--blue); }

/* Statement visual. */
.stmt { width: 100%; max-width: 340px; background: #fff; border-radius: 8px 8px 0 0; box-shadow: 0 30px 60px -25px rgba(10,26,51,.3), 0 0 0 1px rgba(10,26,51,.07); padding: 18px 18px 6px; font-size: 13.5px; }
.stmt .hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.stmt .hd b { font-weight: 500; color: var(--navy); }
.stmt .hd span { font-size: 11.5px; color: var(--slate); }
.stmt .r { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink); font-variant-numeric: tabular-nums; }
.stmt .r.tot { font-weight: 500; color: var(--navy); }

/* Packs: three live signals. */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-top: 1px solid var(--line); }
.packs > div { padding: 22px 22px 26px; border-right: 1px solid var(--line); }
.packs > div:last-child { border-right: 0; }
.packs .n { font-size: 15px; color: var(--navy); font-weight: 500; }
.packs .d { font-size: 13.5px; color: var(--slate); margin-top: 4px; min-height: 42px; }
.packs canvas { width: 100%; height: 70px; margin-top: 14px; }
.packs q { display: block; font-size: 13px; color: var(--ink); margin-top: 10px; quotes: "\201C" "\201D"; }
@media (max-width: 760px) { .packs { grid-template-columns: 1fr; } .packs > div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ------------------------------------------------- the terms (stats) */
.stats { position: relative; overflow: hidden; text-align: center; background: linear-gradient(180deg, #F6F9FC 0%, #fff 55%); }
.stats .h2 { margin: 0 auto; max-width: 14em; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; position: relative; z-index: 1; background: rgba(255,255,255,.7); }
@media (min-width: 900px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat-row > div { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat-row > div:last-child { border-right: 0; }
.stat-row b { display: block; font-size: clamp(34px, 3.4vw, 44px); font-weight: 300; letter-spacing: -0.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-row span { display: block; margin-top: 6px; font-size: 14px; color: var(--slate); max-width: 15em; }
.burst { display: block; margin: 0 auto; width: min(900px, 100%); height: 300px; position: relative; z-index: 0; margin-top: -10px; }

/* ----------------------------------------------- device rows (sizes) */
.rows { display: grid; gap: 0; }
.row { display: grid; gap: 28px 64px; padding: 44px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .row { grid-template-columns: 1fr 1fr; align-items: start; } }
.row .h3 { max-width: 20em; }
.row .meta { color: var(--slate); }
.row .meta q { display: block; color: var(--navy); margin-top: 12px; quotes: "\201C" "\201D"; }
.row .actions { margin-top: 20px; display: flex; gap: 18px; }

/* ----------------------------------------------- developer section */
.dev { background: var(--navy-bg); color: #C9D3E6; position: relative; overflow: hidden; }
.dev .h2 { color: #fff; }
.dev .h2 .run { color: #8E9BB8; }
.dev .lede { color: #AEB9D0; }
.dev .link { color: #A9B0FF; }
.dev-grid { display: grid; gap: 40px; margin-top: 48px; }
@media (min-width: 980px) { .dev-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.dev ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.dev li b { display: block; color: #fff; font-weight: 400; font-size: 17px; }
.dev li span { color: #AEB9D0; font-size: 15px; }
.code { background: #0F1A45; border: 1px solid rgba(169,176,255,.18); border-radius: 8px; overflow: hidden; }
.code .tabs { display: flex; gap: 18px; padding: 12px 16px; border-bottom: 1px solid rgba(169,176,255,.14); font-size: 13px; color: #8E9BB8; }
.code .tabs b { color: #fff; font-weight: 400; }
.code pre { margin: 0; padding: 18px 20px 22px; font: 13.5px/1.75 var(--font-mono); color: #D6DCF0; overflow-x: auto; white-space: pre; }
.code .c1 { color: #6F7DA3; } .code .s1 { color: #FFB27A; } .code .k1 { color: #A9B0FF; } .code .o1 { color: #7CD6A0; }
.dev-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid rgba(169,176,255,.16); }
.dev-stats div { padding: 26px 0 0; }
.dev-stats b { display: block; font-size: clamp(30px, 3vw, 40px); font-weight: 300; letter-spacing: -0.03em; color: #fff; }
.dev-stats span { font-size: 14px; color: #8E9BB8; }
.waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 260px; opacity: .9; pointer-events: none; }

/* ----------------------------------------------- status (what's happening) */
.status-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .status-grid { grid-template-columns: 1fr 1fr; } }
.status-card { border: 1px solid var(--line); border-radius: var(--card-r); padding: 28px; background: #fff; }
.status-card h3 { font-size: 20px; font-weight: 400; margin-bottom: 14px; }
.status-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: var(--ink); }
.status-card li { padding-left: 22px; position: relative; }
.status-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: #2E8B57; }
.status-card.no li::before { background: transparent; box-shadow: inset 0 0 0 1.5px #B0352B; }

/* ----------------------------------------------- footer CTA */
.ready { display: grid; gap: 40px; }
@media (min-width: 980px) { .ready { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; } }
.ready .h2 { font-size: 32px; }
.ready .ic { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue); margin-bottom: 14px; }
.ready .ic svg { width: 18px; height: 18px; }
.ready b { display: block; color: var(--navy); font-weight: 500; }
.ready p { color: var(--slate); margin-top: 4px; }
.ready .link { display: inline-block; margin-top: 10px; }

.notes { padding: 28px 0 36px; font-size: 13px; color: var(--slate); border-top: 1px solid var(--rail); }
.notes p + p { margin-top: 6px; }

footer { background: var(--soft); border-top: 1px solid var(--rail); padding: 48px 0 40px; font-size: 14px; color: var(--slate); }
footer .cols { display: grid; gap: 28px; }
@media (min-width: 900px) { footer .cols { grid-template-columns: 1.6fr repeat(3, 1fr); } }
footer h4 { font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 12px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
footer a:hover { color: var(--blue); }

/* ----------------------------------------------- page heads (subpages) */
.page-head .container { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-head .h1 { max-width: 15em; }

/* ----------------------------------------------- forms */
.form { display: grid; gap: 22px; max-width: 560px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { color: var(--navy); font-size: 15px; font-weight: 500; }
.field .hint { color: var(--slate); font-weight: 400; font-size: 14px; }
.field input[type=email], .field input[type=text], .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #D5DCE6; border-radius: var(--radius); background: #fff; color: var(--navy); font: 16px var(--font-sans); box-shadow: 0 1px 1px rgba(10,26,51,.04); }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(39,50,214,.18); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; font-weight: 400; }
.choices input { position: absolute; opacity: 0; inset: 0; }
.choices span { display: inline-flex; min-height: 38px; align-items: center; padding: 0 14px; border-radius: var(--radius); border: 1px solid #D5DCE6; color: var(--ink); cursor: pointer; font-size: 15px; background: #fff; }
.choices input:checked + span { border-color: var(--blue); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.choices input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; color: var(--slate); }
.consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--blue); }
.hp { position: absolute; left: -5000px; }
.result { border: 1px solid var(--line); border-radius: var(--card-r); padding: 20px 22px; margin-top: 20px; max-width: 560px; }
.result h3 { font-size: 20px; font-weight: 400; margin-bottom: 6px; }
.result pre { white-space: pre-wrap; font: 13px/1.5 var(--font-mono); background: var(--soft); padding: 12px; border-radius: 6px; margin: 10px 0; }

.table { width: 100%; border-collapse: collapse; }
.table td, .table th { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: top; }
.table td:first-child { color: var(--navy); padding-right: 24px; white-space: nowrap; }
.table .r { text-align: right; font-variant-numeric: tabular-nums; }
.table tr.tot td { font-weight: 500; color: var(--navy); border-bottom: 0; }

/* ----------------------------------------------- motion */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* A full real screen in browser chrome (subpages). */
.shot { margin-top: 40px; }
.shot .browser { max-width: none; border-radius: 8px; }
.shot .browser img { height: min(640px, 62vw); object-fit: cover; object-position: top center; }
.shot figcaption { margin-top: 12px; font-size: 13px; color: var(--slate); max-width: 52em; }
.viz-cap { padding: 12px 28px 18px; font-size: 12.5px; color: var(--slate); background: #fff; border-top: 1px solid var(--line); }
/* Coloured bands sit above the hairline rails, as on stripe.com. */
.section.soft, .stats, .dev, footer, .announce { position: relative; z-index: 1; }

/* Phone: logo and menu only in the bar (the menu carries the CTA), two-up kit strip, tighter code. */
.brand span, .nav .btn { white-space: nowrap; }
@media (max-width: 560px) {
  .nav-end .btn { display: none; }
  .kitstrip .container { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .kitstrip a, .kitstrip a:nth-child(3n) { border-right: 1px solid var(--rail); border-bottom: 1px solid var(--rail); height: 64px; }
  .kitstrip a:nth-child(2n) { border-right: 0; }
  .kitstrip a:nth-last-child(-n+2) { border-bottom: 0; }
  .code pre { font-size: 12px; padding: 16px; }
  .burst { height: 200px; }
}

/* ----------------------------------------------- subpages */
.page-head { position: relative; overflow: hidden; }
.page-head .container { position: relative; z-index: 2; }
.page-head .silk { opacity: .75; }
.page-head .lede { margin-top: 24px; max-width: 36em; }
.page-head .hero-actions { margin-top: 30px; }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--blue); margin-bottom: 14px; }
.split { display: grid; gap: 36px 72px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } .split.center { align-items: center; } }
.split > * { min-width: 0; }
.split .lede { margin-top: 18px; }
.split .small { margin-top: 18px; }
.split .card { min-height: 0; }
.quote { font-size: 22px; line-height: 1.35; letter-spacing: -0.01em; color: var(--navy); font-weight: 300; margin-top: 28px; quotes: "\201C" "\201D"; }
.steps { display: grid; gap: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { border: 1px solid var(--line); border-radius: var(--card-r); padding: 28px; background: #fff; display: flex; flex-direction: column; }
.step .n { font: 500 13px/1 var(--font-mono); color: var(--blue); }
.step h3 { margin-top: 16px; }
.step p { color: var(--slate); margin-top: 10px; }
.step .price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--navy); font-size: 15px; }
.step .price::before { content: ""; display: block; height: 22px; }
.code-note { margin-top: 12px; font-size: 13px; color: var(--slate); }
.founders { display: grid; gap: 16px; }
.founder { display: flex; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: var(--card-r); padding: 16px; background: #fff; }
.founder img { width: 72px; height: 90px; object-fit: cover; border-radius: 6px; }
.founder h3 { font-size: 18px; font-weight: 400; }
.founder p { color: var(--slate); font-size: 14px; margin-top: 2px; }
.signal-card { padding: 26px 28px; }
.signal-card canvas { width: 100%; height: 120px; display: block; margin-top: 18px; }
.signal-card .k { font-size: 13px; color: var(--slate); }
.dev.page-head { padding-top: 0; }
