@charset "UTF-8";
:root {
  color-scheme:light;
  --bg:#f8fafc;
  --card:#fff;
  --ink:#0f172a;
  --text:#1e293b;
  --muted:#475569;
  --border:#e2e8f0;
  --tint:#e9eff8;
  --blue:#2563eb;
  --blue-dark:#1d4ed8;
  --blue-soft:#dbeafe;
  --blue-ink:#1e40af;
  --green-soft:#dcfce7;
  --green-ink:#166534;
  --amber-soft:#fef3c7;
  --amber-ink:#92400e;
  --red-soft:#fee2e2;
  --red-ink:#991b1b;
  --sans:"Plus Jakarta Sans","DM Sans",ui-sans-serif,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --mono:ui-monospace,"Cascadia Code","SFMono-Regular",Consolas,"Liberation Mono",monospace;
  --shadow:0 1px 2px rgb(15 23 42 / .06),0 8px 24px -8px rgb(15 23 42 / .12);
  --shadow-lg:0 2px 4px rgb(15 23 42 / .05),0 24px 60px -20px rgb(15 23 42 / .28);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:88px; }
body { margin:0; background:var(--bg); color:var(--text); font-family:var(--sans); font-size:17px; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-underline-offset:4px; }
button,select,input { font:inherit; }
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible { outline:3px solid var(--blue); outline-offset:3px; }
button { cursor:pointer; }
button:disabled,select:disabled { cursor:default; opacity:.6; }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { color:var(--ink); text-wrap:balance; }
p { line-height:1.65; }
code { font-family:var(--mono); }
.container { width:min(1120px,calc(100% - 48px)); margin-inline:auto; }
.skip-link { position:absolute; z-index:20; top:-100px; left:16px; padding:12px 16px; background:var(--ink); color:#fff; border-radius:8px; }
.skip-link:focus { top:12px; }

/* Header */
.site-header { position:sticky; top:0; z-index:10; background:rgb(248 250 252 / .88); backdrop-filter:blur(12px); border-bottom:1px solid var(--border); }
.header-inner { width:min(1120px,calc(100% - 48px)); margin-inline:auto; display:flex; align-items:center; gap:24px; min-height:68px; }
.wordmark { display:inline-flex; align-items:center; gap:10px; min-height:44px; font-weight:800; font-size:20px; letter-spacing:-.03em; color:var(--ink); text-decoration:none; }
.mark { position:relative; width:28px; height:28px; border-radius:8px; background:var(--blue); }
.mark::after { content:""; position:absolute; inset:9px; border-radius:50%; background:#fff; }
.header-inner nav { display:flex; gap:4px; margin-inline:auto; }
.header-inner nav a { display:inline-flex; align-items:center; min-height:44px; padding-inline:14px; border-radius:8px; font-size:15px; font-weight:600; color:var(--muted); text-decoration:none; transition:background .15s,color .15s; }
.header-inner nav a:hover { background:var(--tint); color:var(--ink); }
.sign-in { display:inline-flex; align-items:center; min-height:44px; padding-inline:18px; border:1px solid var(--border); border-radius:10px; background:var(--card); font-size:15px; font-weight:600; color:var(--ink); text-decoration:none; transition:border-color .15s,box-shadow .15s; }
.sign-in:hover { border-color:#cbd5e1; box-shadow:var(--shadow); }

/* Hero */
.hero { padding-top:56px; background:radial-gradient(60% 50% at 50% 0%,rgb(37 99 235 / .10),transparent 70%); }
.hero-copy { text-align:center; }
.pill { display:inline-flex; align-items:center; gap:10px; margin:0 0 24px; padding:6px 16px; background:var(--card); border:1px solid var(--border); border-radius:999px; font-size:14px; font-weight:600; color:var(--muted); box-shadow:var(--shadow); }
.dot { width:8px; height:8px; border-radius:50%; background:#f59e0b; flex-shrink:0; }
h1 { min-height:2.08em; max-width:20ch; margin:0 auto 20px; font-size:clamp(38px,5.6vw,68px); line-height:1.04; letter-spacing:-.045em; font-weight:800; }
/* Overlapping full phrases reserve the tallest layout at every viewport width. */
.hero-copy h1 { display:grid; }
.headline-line,.headline-reserve { grid-area:1 / 1; min-width:0; }
.headline-reserve { visibility:hidden; pointer-events:none; }
.headline-opening { display:inline-block; white-space:nowrap; }
.headline-ending { display:block; white-space:nowrap; }
.nb { white-space:nowrap; }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
/* Intrinsic grid width fits every word across fonts and responsive sizes. */
/* Rotating verb: static "Simulate" unless motion is enabled. */
.rotator { color:var(--blue); }
.rotator .word:not(.is-on) { display:none; }
.rotator.is-animated { display:inline-grid; vertical-align:top; height:1.34em; margin-bottom:-.30em; padding-inline:.08em; overflow:hidden; white-space:nowrap; }
.rotator.is-animated .word { display:block; grid-area:1 / 1; justify-self:center; opacity:0; transform:translateY(70%); transition:opacity .5s ease,transform .65s cubic-bezier(.3,.7,.2,1); }
.rotator.is-animated .word.is-on { opacity:1; transform:none; }
.rotator.is-animated .word.is-out { opacity:0; transform:translateY(-70%); }
.intro { max-width:38em; margin:0 auto 28px; font-size:19px; color:var(--muted); }
.hero-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 26px; background:var(--blue); color:#fff; border-radius:10px; font-size:16px; font-weight:700; text-decoration:none; box-shadow:0 1px 2px rgb(37 99 235 / .4),0 8px 20px -8px rgb(37 99 235 / .6); transition:background .15s,transform .15s; }
.button:hover { background:var(--blue-dark); }
.button:active { transform:translateY(1px); }
.button-quiet { background:var(--card); color:var(--ink); border:1px solid var(--border); box-shadow:var(--shadow); }
.button-quiet:hover { background:var(--tint); }
.button-light { background:#fff; color:var(--blue-ink); box-shadow:none; }
.button-light:hover { background:var(--blue-soft); }
.text-link { display:inline-flex; align-items:center; min-height:44px; font-weight:700; color:var(--blue-dark); text-decoration:none; }
.text-link:hover { text-decoration:underline; }

.hero-visual { max-width:960px; padding-block:48px 24px; }

/* Browser-only Payments sandbox */
.demo { background:var(--card); border:1px solid var(--border); border-radius:20px; box-shadow:var(--shadow-lg); padding:24px; }
.demo-bar { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:20px; }
.demo-bar h2 { margin:0; font-size:18px; letter-spacing:-.02em; }
.demo-badge { padding:2px 12px; background:var(--blue-soft); color:var(--blue-ink); border-radius:999px; font-size:13px; font-weight:700; }
.demo-controls { display:grid; grid-template-columns:auto minmax(0,300px); align-items:center; justify-content:start; gap:12px; margin-bottom:12px; }
.demo-controls label { font-size:14px; font-weight:600; color:var(--muted); }
select { min-height:44px; background:var(--card); color:var(--ink); border:1px solid #cbd5e1; border-radius:10px; padding:0 12px; font-size:15px; min-width:0; }
.run-button { min-height:44px; padding:0 22px; background:var(--blue); color:#fff; border:0; border-radius:10px; font-weight:700; transition:background .15s; }
.run-button:not(:disabled):hover { background:var(--blue-dark); }
.demo-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:20px; }
.request-line { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:10px; font-size:14px; }
.method { background:var(--blue-soft); color:var(--blue-ink); font:700 12px var(--mono); padding:3px 8px; border-radius:6px; }
.response-code { margin-left:auto; color:var(--muted); font-size:13px; font-weight:600; }
.response-body { margin:0; min-height:170px; max-height:320px; background:var(--ink); color:#e2e8f0; border-radius:12px; padding:16px; font:12px/1.7 var(--mono); overflow:auto; }
.demo-state { background:var(--bg); border:1px solid var(--border); border-radius:12px; padding:16px; display:flex; flex-direction:column; justify-content:flex-start; }
.demo-label { margin:0 0 14px; font-size:14px; font-weight:600; color:var(--muted); }
.demo-status { margin:16px 0 0; padding:12px 0 4px; min-height:3em; font-size:13px; color:var(--muted); }
.demo-disclaimer { margin:20px 0 0; text-align:center; font-size:14px; color:var(--muted); }
.no-js-note { display:inline; }
.demo-ready .no-js-note { display:none; }

/* Guided browser sandbox */
.demo-eyebrow { display:block; margin-bottom:6px; font-size:12px; font-weight:700; color:var(--blue); letter-spacing:.04em; text-transform:uppercase; }
.demo-reset,.demo-secondary { min-height:44px; padding:0 14px; border:1px solid var(--border); border-radius:8px; background:var(--card); color:var(--muted); font-size:14px; font-weight:600; }
.demo-reset:hover,.demo-secondary:hover { background:var(--tint); color:var(--ink); }
.scenario-description { max-width:64ch; min-height:3.3em; margin:0 0 16px; color:var(--muted); font-size:15px; }
.journey-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:24px; }
.journey-actions > span { flex:1 1 220px; font-size:13px; color:var(--muted); line-height:1.5; }
.demo-code,.demo-state { min-width:0; }
.request-line > code { overflow-wrap:anywhere; }
.payload-label { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 12px; margin:14px 0 8px; font-size:12px; font-weight:700; color:var(--muted); }
.payload-label span { font-weight:400; }
.request-body { margin:0; padding:14px 16px; border:1px solid var(--border); border-radius:10px; background:var(--bg); color:var(--muted); font:12px/1.65 var(--mono); overflow:auto; max-height:180px; }
.state-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:16px; }
.state-heading .demo-label { margin:0; }
#payment-state { display:grid; gap:8px; max-height:350px; overflow:auto; padding:3px; margin:-3px; }
.state-empty { margin:20px 0; color:var(--muted); font-size:15px; line-height:1.7; }
.state-note { margin:20px 0 0; padding-top:16px; border-top:1px solid var(--border); font-size:12px; color:var(--muted); }
.payment-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; width:100%; text-align:left; background:var(--card); border:1px solid var(--border); border-radius:10px; padding:14px 12px; }
.payment-row[aria-pressed="true"] { border-color:var(--blue); box-shadow:0 0 0 1px var(--blue); }
.payment-row > span:first-child { min-width:0; flex:1; }
.payment-row strong { display:block; color:var(--ink); font:600 13px var(--mono); }
.payment-row small { display:block; margin-top:6px; font-size:12px; color:var(--muted); overflow-wrap:anywhere; }
.payment-status { padding:5px 8px; border-radius:6px; font-size:10px; font-weight:800; letter-spacing:.02em; color:var(--blue-ink); background:var(--blue-soft); }
.payment-status[data-state="processing"] { color:var(--amber-ink); background:var(--amber-soft); }
.payment-status[data-state="completed"],.payment-status[data-state="refunded"] { color:var(--green-ink); background:var(--green-soft); }
.payment-status[data-state="failed"] { color:var(--red-ink); background:var(--red-soft); }
.payment-status[data-state="cancelled"] { color:var(--muted); background:var(--tint); }
.api-explorer,.request-history { border-top:1px solid var(--border); margin-top:12px; padding-top:4px; }
.demo summary { display:flex; align-items:center; justify-content:space-between; gap:10px; cursor:pointer; min-height:48px; font-size:14px; font-weight:700; color:var(--ink); list-style:none; }
.demo summary::-webkit-details-marker { display:none; }
.demo summary::before { content:'+'; color:var(--blue); font-size:20px; font-weight:400; }
.demo details[open] > summary::before { content:'−'; }
.demo summary > span { margin-left:auto; color:var(--muted); font-size:12px; font-weight:500; }
.demo summary:focus-visible { outline:3px solid var(--blue); outline-offset:3px; border-radius:4px; }
.api-explorer > p,.history-note { margin:4px 0 16px; font-size:13px; color:var(--muted); }
.explorer-form { display:flex; flex-wrap:wrap; gap:12px; align-items:flex-end; padding-bottom:16px; }
.explorer-form label { display:grid; gap:6px; flex:1 1 180px; min-width:0; font-size:12px; color:var(--muted); font-weight:600; }
.explorer-form label[hidden] { display:none; }
.explorer-form input,.explorer-form select { width:100%; min-height:44px; min-width:0; border:1px solid #cbd5e1; border-radius:8px; padding:8px 10px; color:var(--ink); background:var(--card); font-size:13px; }
#request-history { margin:0; padding:0 3px 3px; list-style:none; max-height:260px; overflow:auto; }
#request-history button { display:flex; width:100%; align-items:center; gap:10px; text-align:left; border:0; border-radius:6px; background:transparent; padding:12px 8px; min-height:44px; }
#request-history button:hover,#request-history button[aria-pressed="true"] { background:var(--tint); }
#request-history code { min-width:0; overflow-wrap:anywhere; font-size:12px; }
.history-status { margin-left:auto; font:700 12px var(--mono); color:var(--green-ink); }
[data-error="true"] { color:var(--red-ink); }
.history-empty { padding:12px 0; color:var(--muted); font-size:13px; }
@media (max-width:520px) {
  .demo-bar { gap:12px; align-items:flex-start; }
  .demo-eyebrow { font-size:10px; }
  .demo-bar h2 { font-size:17px; }
  .demo-reset { padding-inline:10px; white-space:nowrap; font-size:12px; }
  .demo-controls { grid-template-columns:1fr; gap:6px; }
  .journey-actions > span { flex-basis:100%; }
  .explorer-form { flex-direction:column; align-items:stretch; }
  .explorer-form label { flex-basis:auto; }
}
.explorer-feedback { margin:0 0 16px; font-size:13px; color:var(--muted); overflow-wrap:anywhere; }
.explorer-feedback a { color:var(--blue); font-weight:600; margin-left:6px; }
#demo-response { scroll-margin-top:140px; }
@media (max-width:520px) {
  .demo-state { order:-1; }
}

/* Sections */
.section { padding-block:96px; }
.section-head { max-width:720px; margin:0 auto 56px; text-align:center; }
h2 { font-size:clamp(30px,4vw,44px); line-height:1.1; letter-spacing:-.035em; font-weight:800; margin-bottom:16px; }
h3 { font-size:20px; letter-spacing:-.02em; line-height:1.25; margin-bottom:10px; }
.section-head p { margin:0 auto; max-width:34em; font-size:18px; color:var(--muted); }
.card-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.card { background:var(--card); border:1px solid var(--border); border-radius:16px; box-shadow:var(--shadow); padding:32px; min-width:0; }
.card p { color:var(--muted); }
.card ul { margin:0 0 20px; padding-left:1.2em; color:var(--muted); line-height:1.7; }
.card li { margin-bottom:4px; }

.specimen { display:grid; grid-template-columns:1fr max-content; gap:12px 20px; align-items:center; margin-top:24px; background:var(--ink); color:#e2e8f0; border-radius:12px; padding:16px 18px; font-size:14px; }
.specimen code b { color:#93c5fd; }
.chip { display:inline-block; justify-self:end; padding:3px 12px; border-radius:999px; background:var(--tint); color:#334155; font-size:12px; font-weight:700; white-space:nowrap; }
.chip.wait { background:var(--amber-soft); color:var(--amber-ink); }
.chip.done { background:var(--green-soft); color:var(--green-ink); }
.chip.bad { background:var(--red-soft); color:var(--red-ink); }
.specimen .chip.wait { background:#fbbf24; color:var(--ink); }
.specimen .chip.done { background:#4ade80; color:var(--ink); }
.specimen .chip.bad { background:#f87171; color:var(--ink); }
.specimen .chip.neutral { background:#334155; color:#e2e8f0; }

.how-section { background:var(--card); border-block:1px solid var(--border); }
.steps { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:32px; position:relative; }
.steps li { position:relative; }
.steps li:not(:last-child)::after { content:""; position:absolute; top:20px; left:56px; right:-16px; height:2px; background:var(--border); }
.step-number { position:relative; z-index:1; display:inline-grid; place-items:center; width:40px; height:40px; border-radius:50%; background:var(--blue); color:#fff; font-weight:800; margin-bottom:20px; }
.steps p { color:var(--muted); }
.step-artifact { display:inline-flex; align-items:center; min-height:44px; margin-top:4px; padding:0 14px; background:var(--bg); border:1px solid var(--border); border-radius:10px; font:14px var(--mono); color:var(--ink); text-decoration:none; }
a.step-artifact { font-family:var(--sans); font-weight:600; color:var(--blue-dark); }
a.step-artifact:hover { background:var(--blue-soft); }

.waitlist-card { background:var(--card); border:1px solid var(--border); border-radius:20px; box-shadow:var(--shadow); max-width:860px; margin-inline:auto; padding:48px 32px; }
.waitlist-card .section-head { margin-bottom:28px; }
.waitlist-success { text-align:center; padding-block:16px; }
.waitlist-success-mark { display:inline-grid; place-items:center; width:64px; height:64px; margin-bottom:24px; border-radius:50%; background:var(--green-soft); color:var(--green-ink); font-size:32px; font-weight:700; }
.waitlist-success p { max-width:34em; margin:0 auto 28px; color:var(--muted); font-size:18px; }
.waitlist-success h2:focus { outline:none; }
.waitlist-form { max-width:600px; margin-inline:auto; }
.waitlist-form label { display:block; margin-bottom:8px; color:var(--ink); font-size:15px; font-weight:600; }
.waitlist-fields { display:flex; gap:12px; }
.waitlist-fields input { flex:1; min-width:0; min-height:48px; padding:12px 16px; background:var(--bg); color:var(--muted); border:1px solid #cbd5e1; border-radius:10px; opacity:1; }
.waitlist-fields .button { border:0; white-space:nowrap; box-shadow:none; }
.waitlist-note { max-width:600px; margin:16px auto 0; text-align:center; color:var(--muted); font-size:14px; }
.waitlist-form .waitlist-consent { display:flex; align-items:flex-start; gap:10px; margin-top:18px; font-weight:400; line-height:1.6; color:var(--muted); }
.waitlist-consent input { width:18px; height:18px; flex-shrink:0; margin-top:3px; accent-color:var(--blue); }
.waitlist-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.waitlist-data { max-width:600px; margin:24px auto 0; color:var(--muted); font-size:14px; line-height:1.65; }
.waitlist-data summary { cursor:pointer; color:var(--blue-dark); font-weight:600; }
.waitlist-data p { margin:12px 0 0; }

.closing { padding-top:0; }
.closing-card { padding:64px 32px; border-radius:24px; text-align:center; color:#fff; background:linear-gradient(135deg,var(--blue) 0%,#1e3a8a 100%); box-shadow:var(--shadow-lg); }
.closing-card h2 { color:#fff; max-width:20ch; margin:0 auto 12px; }
.closing-card p { color:#dbeafe; margin-bottom:28px; }

.site-footer { border-top:1px solid var(--border); }
.footer-inner { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:24px; padding-block:40px; }
.site-footer p { margin:4px 0 0; font-size:15px; color:var(--muted); }
.site-footer nav { display:flex; gap:4px; }
.site-footer nav a { display:inline-flex; align-items:center; min-height:44px; padding-inline:12px; border-radius:8px; font-size:15px; font-weight:600; color:var(--muted); text-decoration:none; }
.site-footer nav a:hover { background:var(--tint); color:var(--ink); }

/* 404 */
.error-page { width:min(720px,calc(100% - 48px)); margin:0 auto; padding:48px 0 96px; min-height:100vh; }
.error-page h1 { margin:56px 0 16px; max-width:14ch; font-size:clamp(34px,6vw,56px); text-align:left; }
.error-page p { color:var(--muted); margin-bottom:28px; }

@media (max-width:900px) {
  .hero { padding-top:48px; }
  .demo-grid,.card-grid,.steps { grid-template-columns:1fr; }
  .steps li:not(:last-child)::after { display:none; }
  .section { padding-block:64px; }
  .section-head { margin-bottom:40px; }
  .header-inner { flex-wrap:wrap; gap:0 12px; min-height:60px; padding-block:8px; }
  .header-inner nav { order:3; width:100%; margin:0; justify-content:space-between; }
  .header-inner nav a { padding-inline:8px; }
  .sign-in { margin-left:auto; }
  html { scroll-padding-top:120px; }
  .footer-inner { flex-direction:column; align-items:flex-start; }
}
@media (max-width:520px) {
  .hero-copy h1 { font-size:clamp(30px,8.8vw,38px); }
  .headline-ending { white-space:normal; }
  .container,.header-inner { width:calc(100% - 32px); }
  .demo { padding:16px; }
  .demo-controls { grid-template-columns:1fr; }
  .run-button { justify-self:start; }
  .card { padding:24px; }
  .waitlist-card { padding:32px 24px; }
  .waitlist-fields { flex-direction:column; }
  .specimen { grid-template-columns:1fr; gap:6px; }
  .specimen .chip { justify-self:start; margin-bottom:10px; }
  .pill { font-size:13px; text-align:left; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition:none !important; }
}
