/* surety landing. One accent (teal); amber/rose only as chart data colours. */
:root {
  color-scheme: dark;
  --bg: #0b1020;
  --bg-2: #0d1328;
  --panel: #0f1730;
  --panel-2: #121a31;
  --line: #24305a;
  --line-2: #2a3557;
  --text: #f5f7fb;
  --muted: #aab4cf;
  --dim: #8f9abb;
  --accent: #2dd4bf;
  --accent-ink: #042f2a;
  --accent-soft: rgba(45, 212, 191, .12);
  --accent-text: #5eead4;
  --grid: rgba(255, 255, 255, .035);
  --glow-a: rgba(99, 102, 241, .20);
  --glow-b: rgba(45, 212, 191, .14);
  --dot-auto: #2dd4bf;
  --dot-review: #f5a524;
  --dot-wrong: #f43f5e;
  --code-key: #c4b5fd;
  --code-warn: #fbbf24;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 60px -24px rgba(0, 0, 0, .6);
  --radius: 14px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f8fafc;
    --bg-2: #f1f5f9;
    --panel: #ffffff;
    --panel-2: #f8fafc;
    --line: #e2e8f0;
    --line-2: #cbd5e1;
    --text: #0b1020;
    --muted: #475569;
    --dim: #5b6779;
    --accent: #0f766e;
    --accent-ink: #ffffff;
    --accent-soft: rgba(15, 118, 110, .08);
    --accent-text: #0f766e;
    --grid: rgba(11, 16, 32, .045);
    --glow-a: rgba(99, 102, 241, .10);
    --glow-b: rgba(20, 184, 166, .10);
    --dot-auto: #14b8a6;
    --dot-review: #f59e0b;
    --dot-wrong: #e11d48;
    --code-key: #6d28d9;
    --code-warn: #b45309;
    --shadow: 0 1px 2px rgba(11, 16, 32, .04), 0 20px 50px -28px rgba(11, 16, 32, .25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
code, kbd, pre, .mono { font-family: var(--mono); }
code { font-size: .9em; padding: .1em .35em; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 8px 12px; background: var(--accent); color: var(--accent-ink); border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 8px; pointer-events: none; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.brand svg { width: 22px; height: 24px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .925rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { color: var(--text); background: var(--panel-2); }
.nav .gh { display: inline-flex; align-items: center; gap: 6px; }
.nav .gh svg { width: 18px; height: 18px; }
.top .btn { padding: 8px 14px; min-height: 38px; font-size: .9rem; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .2s, transform .2s; }
.top.show-cta .btn { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 719px) {
  .nav .hide-sm { display: none; }
  .nav .gh span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .top .wrap { gap: 8px; }
}

/* ---------- buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 8px 24px -10px var(--accent);
  transition: transform .15s, filter .15s, box-shadow .15s;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); box-shadow: none; }
.btn.ghost:hover { background: var(--panel-2); filter: none; }
.btn svg { width: 18px; height: 18px; flex: none; }

input[type=email], input[type=text], input[type=url], select {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text);
  font: 400 1rem/1.3 var(--sans); transition: border-color .15s, box-shadow .15s;
}
select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
input::placeholder { color: var(--dim); }
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; line-height: 1.45; }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 28px 0 56px; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero::before {
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}
.hero::after { background: radial-gradient(520px 420px at 8% 0%, var(--glow-a), transparent 70%), radial-gradient(620px 480px at 85% 45%, var(--glow-b), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 8px; border-radius: 999px;
  font: 500 .78rem/1.3 var(--mono); color: var(--muted); background: var(--panel-2); border: 1px solid var(--line-2);
  text-decoration: none;
}
.chip b { font-weight: 600; color: var(--accent-ink); background: var(--accent); padding: 1px 7px; border-radius: 999px; }
a.chip:hover { color: var(--text); border-color: var(--accent); }
h1 {
  margin: 16px 0 14px; font-size: clamp(2.1rem, 1.2rem + 4.4vw, 3.9rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 750; text-wrap: balance;
}
h1 em { font-style: normal; color: var(--accent-text); }
.sub { margin: 0 0 22px; max-width: 37rem; color: var(--muted); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.6; }
.sub strong { color: var(--text); font-weight: 600; }

.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.join { max-width: 34rem; }
.join form { display: grid; gap: 12px; }
.row { display: flex; gap: 8px; }
.row input { flex: 1; min-width: 0; }
@media (max-width: 359px) { .row { flex-direction: column; } }
.micro { margin: 14px 0 0; font-size: .8rem; color: var(--dim); line-height: 1.6; }
.micro span { white-space: nowrap; }
.msg { margin: 0; font-size: .9rem; color: var(--dot-wrong); min-height: 0; }
.msg:empty { display: none; }

/* thank-you / step 2 */
.done { padding: 22px; }
.done h2 { margin: 0 0 4px; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.3; }
.done h2 small { display: block; font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.ok-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 600 .78rem var(--mono); color: var(--accent-text); text-transform: uppercase; letter-spacing: .08em; }
.ok-badge svg { width: 18px; height: 18px; }
.q { display: grid; gap: 12px; margin-top: 16px; }
.q label.f { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.q .two { display: grid; gap: 12px; }
@media (min-width: 520px) { .q .two { grid-template-columns: 1fr 1fr; } }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.seg label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; font: 500 .9rem var(--mono); color: var(--muted); cursor: pointer; }
.seg label + label { border-left: 1px solid var(--line-2); }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.saved { margin: 14px 0 0; color: var(--accent-text); font-weight: 600; }
.share { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.share p { margin: 0 0 8px; font-size: .9rem; color: var(--muted); }
.share .row input { font: 500 .85rem var(--mono); color: var(--text); }
.share .btns { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.share .btns .btn { min-height: 42px; padding: 10px 14px; font-size: .9rem; flex: 1 1 auto; }

/* chart */
.viz { margin: 0; padding: 18px 18px 14px; }
.viz-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.legend { display: flex; gap: 12px; letter-spacing: .02em; text-transform: none; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
.legend .la { background: var(--dot-auto); } .legend .lr { background: var(--dot-review); } .legend .lw { background: var(--dot-wrong); }
.chart { width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.chart text { font-family: var(--mono); fill: var(--dim); font-size: 11px; }
.chart .axis { stroke: var(--line-2); stroke-width: 1.2; }
.chart .a { fill: var(--dot-auto); } .chart .r { fill: var(--dot-review); fill-opacity: .9; } .chart .w { fill: var(--dot-wrong); stroke: var(--panel); stroke-width: 1.5; }
.chart .t { stroke: var(--text); stroke-width: 1.6; stroke-dasharray: 5 5; }
.chart .tl { fill: var(--text); font-size: 12px; }
.chart .lab-a { fill: var(--accent-text); font-weight: 700; font-size: 11.5px; letter-spacing: .06em; }
.chart .lab-r { fill: var(--dot-review); font-weight: 700; font-size: 11.5px; letter-spacing: .06em; }
.chart .zone { fill: var(--accent-soft); }
.viz-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font: 500 .8rem var(--mono); color: var(--muted); }
.viz-foot b { color: var(--text); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .chart .col { animation: fade .45s ease-out both; }
  .chart .t { animation: draw 1.1s .8s ease-out both; }
  .chart .tl, .chart .zone, .chart .lab-a, .chart .lab-r { animation: fade .6s 1.3s both; }
}
@keyframes draw { from { stroke-dasharray: 0 400; } to { stroke-dasharray: 5 5; } }
@keyframes fade { from { opacity: 0; } }

@media (min-width: 960px) {
  .hero { padding: 72px 0 96px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
}

/* ---------- sections ---------- */
section { padding: 72px 0; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 12px; font: 600 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 720; text-wrap: balance; }
h2 .num { font-family: var(--mono); font-weight: 600; color: var(--accent-text); letter-spacing: -.02em; }
.lead { margin: 0 0 36px; max-width: 40rem; color: var(--muted); font-size: 1.05rem; }
.grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .g4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 999px) { .g4 { grid-template-columns: repeat(2, 1fr); } }
.tile { padding: 22px; }
.tile h3 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.35; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }
.tag { display: inline-block; margin-bottom: 14px; font: 500 .72rem var(--mono); color: var(--dim); letter-spacing: .06em; }

.steps .tile { padding-top: 20px; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--accent-text); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.icon svg { width: 20px; height: 20px; }
.step-n { font: 600 .8rem var(--mono); color: var(--dim); }
.tile .k { font-family: var(--mono); font-size: .88em; color: var(--text); }

/* terminal */
.term { overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.term-title { font: 500 .78rem var(--mono); color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term-badge { margin-left: auto; flex: none; font: 600 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); padding: 3px 8px; border-radius: 999px; }
.term pre { margin: 0; padding: 18px 18px 20px; overflow-x: auto; font-size: .8rem; line-height: 1.7; color: var(--muted); tab-size: 2; }
.term pre:focus-visible { outline-offset: -2px; }
.term .p { color: var(--accent-text); user-select: none; }
.term .cmd { color: var(--text); }
.term .h { color: var(--text); font-weight: 600; }
.term .qid { color: var(--code-key); }
.term .n { color: var(--text); }
.term .ok { color: var(--accent-text); }
.term .no { color: var(--code-warn); }
.term .rule { color: var(--line-2); }
.term .note { color: var(--dim); font-style: italic; }
.caption { margin: 14px 2px 0; font-size: .9rem; color: var(--dim); }

/* hosted + partners */
.split { display: grid; gap: 14px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr 1fr; } }
.hosted { padding: 28px; }
.badge-soon { display: inline-block; margin-bottom: 14px; font: 600 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent-text); }
.partner { padding: 28px; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: linear-gradient(160deg, var(--accent-soft), transparent 60%), var(--panel); }
.partner .big { margin: 0 0 6px; font: 700 clamp(2.5rem, 2rem + 2vw, 3.4rem)/1 var(--mono); letter-spacing: -.04em; color: var(--accent-text); }
.partner h3 { margin: 0 0 10px; font-size: 1.3rem; letter-spacing: -.02em; }
.partner p { margin: 0 0 20px; color: var(--muted); }

/* faq */
.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--dim), var(--dim)) center / 12px 1.5px no-repeat, linear-gradient(var(--dim), var(--dim)) center / 1.5px 12px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; padding-right: 28px; color: var(--muted); }

/* final cta */
.final { text-align: center; padding: 88px 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 50% 100%, var(--glow-b), transparent 70%); }
.final p { margin: 0 auto 26px; max-width: 34rem; color: var(--muted); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .9rem; color: var(--dim); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 6px 20px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; padding: 6px 0; }
footer a:hover { color: var(--text); text-decoration: underline; }
footer .fine { flex-basis: 100%; margin: 0; font-size: .8rem; }

/* simple pages (privacy, thanks, oops) */
.page { padding: 48px 0 72px; }
.page .wrap { max-width: 720px; }
.page h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 2.8rem); }
.page h2 { font-size: 1.3rem; margin-top: 36px; }
.page p, .page li { color: var(--muted); }
.page li { margin-bottom: 6px; }
.page .card { padding: 22px; }
.back { display: inline-flex; gap: 6px; align-items: center; margin-bottom: 8px; font-size: .9rem; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }
.chart .col:nth-of-type(1){animation-delay:0.150s} .chart .col:nth-of-type(2){animation-delay:0.185s} .chart .col:nth-of-type(3){animation-delay:0.220s} .chart .col:nth-of-type(4){animation-delay:0.255s} .chart .col:nth-of-type(5){animation-delay:0.290s} .chart .col:nth-of-type(6){animation-delay:0.325s} .chart .col:nth-of-type(7){animation-delay:0.360s} .chart .col:nth-of-type(8){animation-delay:0.395s} .chart .col:nth-of-type(9){animation-delay:0.430s} .chart .col:nth-of-type(10){animation-delay:0.465s} .chart .col:nth-of-type(11){animation-delay:0.500s} .chart .col:nth-of-type(12){animation-delay:0.535s} .chart .col:nth-of-type(13){animation-delay:0.570s} .chart .col:nth-of-type(14){animation-delay:0.605s} .chart .col:nth-of-type(15){animation-delay:0.640s} .chart .col:nth-of-type(16){animation-delay:0.675s} .chart .col:nth-of-type(17){animation-delay:0.710s} .chart .col:nth-of-type(18){animation-delay:0.745s} .chart .col:nth-of-type(19){animation-delay:0.780s} .chart .col:nth-of-type(20){animation-delay:0.815s} .chart .col:nth-of-type(21){animation-delay:0.850s} .chart .col:nth-of-type(22){animation-delay:0.885s}
.plain { list-style: none; margin: 0; padding: 0; }
