/* Sysnovo — dark violet night, Sysnovo teal (#00CCCC) as the signal color, purple as the atmosphere.
   Layout: one 1200px column, full-bleed bands, cards only where something is a separate thing. */
:root {
  --night: #0b0918;
  --night-2: #100d22;
  --surface: #161230;
  --surface-2: #1d1840;
  --line: rgba(222, 214, 255, 0.10);
  --line-strong: rgba(222, 214, 255, 0.20);
  --ink: #eeecf8;
  --ink-2: #aba6c9;
  --ink-3: #8f8ab0;
  --teal: #00cccc;
  --teal-hi: #3de8e3;
  --teal-ink: #04161a;
  --violet: #8d6bff;
  --violet-deep: #2a1d66;
  --violet-glow: rgba(124, 88, 255, 0.34);
  --teal-glow: rgba(0, 204, 204, 0.16);
  --ok: #5fe0a8;
  --flag: #ffcf6e;

  --display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wordmark: "Montserrat", "Figtree", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  --step-3: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.4rem + 3.6vw, 4.1rem);

  --radius: 18px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--body);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-hi); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet); color: #fff; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; line-height: 1.12; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.25; }
.lead { font-size: var(--step-1); color: var(--ink-2); max-width: 60ch; line-height: 1.55; }
.muted { color: var(--ink-2); }
.eyebrow {
  font: 500 0.75rem/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 100; background: var(--teal); color: var(--teal-ink); padding: 8px 14px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.band { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.band--alt { background: var(--night-2); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { margin: 0; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--night) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: auto; color: var(--teal); }
.brand-word { font: 500 1.18rem/1 var(--wordmark); letter-spacing: 0.16em; color: var(--teal); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.97rem;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(141, 107, 255, 0.16); }
.nav .btn { margin-left: 10px; }
/* Buttons inside the nav keep their own colors (".nav a" would otherwise win) */
.nav a.btn--primary { color: var(--teal-ink); background: var(--teal); padding: 10px 18px; font-weight: 600; }
.nav a.btn--primary:hover, .nav a.btn--primary:focus-visible { color: var(--teal-ink); background: var(--teal-hi); }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: 10px; padding: 8px 12px; font: 500 0.9rem var(--body); cursor: pointer;
}
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter-r) 20px var(--gutter);
    background: var(--night); border-bottom: 1px solid var(--line);
  }
  .nav[hidden] { display: none; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}
@media (min-width: 1061px) { .nav[hidden] { display: flex; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn--primary { background: var(--teal); color: var(--teal-ink); }
.btn--primary:hover { background: var(--teal-hi); color: var(--teal-ink); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: var(--teal); color: var(--ink); }
.btn--small { padding: 9px 16px; font-size: 0.92rem; }
.btn .arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn, .btn .arrow { transition: none; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(64px, 8vw, 112px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, var(--violet-glow), transparent 70%);
  z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -30% -15%; width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(closest-side, var(--teal-glow), transparent 70%);
  z-index: -2;
}
.hero-mark {
  position: absolute; z-index: -1; right: -8%; top: 50%; width: min(760px, 80vw);
  transform: translateY(-50%); color: var(--violet); opacity: 0.13;
}
.hero-mark svg { animation: drift 120s linear infinite; transform-origin: 50% 52%; }
@keyframes drift { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-mark svg { animation: none; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { margin: 24px 0 32px; }
.hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-3); font: 500 0.8rem/1.4 var(--mono); letter-spacing: .04em; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.page-hero { padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 22px; }

/* Live call card (illustrative transcript) */
.call {
  position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); border-radius: 22px; padding: 18px;
  box-shadow: 0 30px 80px -30px rgba(76, 46, 196, 0.55), inset 0 1px 0 rgba(255,255,255,0.05);
  font-size: 0.95rem;
}
.call-top { display: flex; align-items: center; gap: 10px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); }
.call-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(95, 224, 168, 0.15); }
.call-title { font-weight: 600; }
.call-sub { margin-left: auto; font: 500 0.75rem var(--mono); color: var(--ink-3); }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; margin: 14px 4px 6px; }
.wave i { flex: 1; background: var(--teal); border-radius: 2px; opacity: .85; height: 30%; animation: wave 1.4s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; background: var(--violet); }
.wave i:nth-child(4n) { animation-delay: -.7s; }
.wave i:nth-child(5n) { animation-delay: -1s; }
@keyframes wave { 0%, 100% { height: 22%; } 50% { height: 95%; } }
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; height: 55%; } .wave i:nth-child(2n) { height: 30%; } }
.lines { list-style: none; padding: 8px 4px 4px; margin: 0; display: grid; gap: 10px; }
.lines li { display: grid; gap: 2px; }
.lines .who { font: 500 0.7rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.lines .ai .who { color: var(--teal); }
.lines .say { color: var(--ink); }
.lines .caller .say { color: var(--ink-2); }
.call-events { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px;
  font: 500 0.75rem/1 var(--mono); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--ink-2);
}
.chip--ok { color: var(--ok); border-color: rgba(95, 224, 168, 0.3); background: rgba(95, 224, 168, 0.07); }
.chip--teal { color: var(--teal); border-color: rgba(0, 204, 204, 0.35); background: rgba(0, 204, 204, 0.07); }
.call-note { margin: 12px 4px 0; font: 400 0.72rem var(--mono); color: var(--ink-3); }
.js .lines li.pending { opacity: 0; transform: translateY(6px); }
.js .lines li { transition: opacity .4s ease, transform .4s ease; }

/* ---------- Paths (three offers) ---------- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .paths { grid-template-columns: 1fr; } }
.path {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 26px; text-decoration: none; color: var(--ink);
  transition: border-color .2s, transform .2s, background-color .2s;
}
.path:hover { border-color: var(--line-strong); color: var(--ink); background: var(--surface-2); }
.path--feature { border-color: rgba(0, 204, 204, 0.45); background: linear-gradient(170deg, rgba(0, 204, 204, 0.10), var(--surface) 45%); }
.path--feature:hover { border-color: var(--teal); }
.path .tag { font: 500 0.72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.path--feature .tag { color: var(--teal); }
.path h3 { font-size: 1.45rem; }
.path p { color: var(--ink-2); margin: 0; }
.path .price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.path .price b { font: 500 1.35rem/1 var(--display); letter-spacing: -0.02em; }
.path .price span { font-size: 0.9rem; color: var(--ink-3); }
.path .go { color: var(--teal); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
@media (prefers-reduced-motion: reduce) { .path { transition: none; } }

/* ---------- Generic grids ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
@media (max-width: 900px) { .cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cols-3, .cols-2 { grid-template-columns: 1fr; } }
.feature { display: grid; gap: 10px; align-content: start; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--ink-2); margin: 0; }
.feature .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(141, 107, 255, 0.14); color: var(--violet); }
.feature .icon svg { width: 22px; height: 22px; }

/* Numbered process: real sequences only */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 18px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; border-top: 1px solid var(--line-strong); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 500 0.8rem var(--mono); color: var(--teal); }
.steps h3 { font-size: 1.05rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; }
.plan--pro { border-color: rgba(141, 107, 255, 0.5); background: linear-gradient(165deg, rgba(141, 107, 255, 0.16), var(--surface) 50%); }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-name h3 { font-size: 1.3rem; }
.amount { display: flex; align-items: baseline; gap: 8px; }
.amount b { font: 500 clamp(2.4rem, 1.8rem + 2vw, 3.2rem)/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.amount span { color: var(--ink-2); }
.plan .note { color: var(--teal); font-size: 0.95rem; margin: -6px 0 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink-2); }
.ticks li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: radial-gradient(circle, var(--teal) 0 3px, transparent 3.5px), rgba(0, 204, 204, 0.12); border: 1px solid rgba(0, 204, 204, 0.4); }
.ticks li strong { color: var(--ink); font-weight: 600; }
.plan .btn { margin-top: auto; justify-content: center; }
.fine { font-size: 0.9rem; color: var(--ink-3); }

/* Terms strip: the commercial facts, stated plainly */
.terms { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); gap: 1px; }
@media (max-width: 760px) { .terms { grid-template-columns: 1fr; } }
.terms > div { background: var(--surface); padding: 22px 24px; display: grid; gap: 6px; align-content: start; }
.terms dt, .terms .k { font: 500 0.72rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.terms dd, .terms .v { margin: 0; font: 500 1.35rem/1.2 var(--display); letter-spacing: -0.02em; }
.terms .s { color: var(--ink-2); font-size: 0.95rem; }

/* Statement band */
.statement { font: 500 var(--step-3)/1.2 var(--display); letter-spacing: -0.025em; max-width: 24ch; text-wrap: balance; }
.statement em { font-style: normal; color: var(--teal); }

/* Proof / clients */
.clients { display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; padding: 0; margin: 0; }
.clients li { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-weight: 500; background: rgba(255,255,255,0.02); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts div { background: var(--night-2); padding: 24px; display: grid; gap: 6px; }
.facts b { font: 500 1.6rem/1.1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.facts span { color: var(--ink-2); font-size: 0.95rem; }

/* Work cards */
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .work { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .work { grid-template-columns: 1fr; } }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.case-art { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, rgba(141, 107, 255, 0.35), transparent 60%), radial-gradient(90% 80% at 10% 100%, rgba(0, 204, 204, 0.25), transparent 60%), var(--surface-2); display: grid; place-items: center; }
.case-art span { font: 500 clamp(1.1rem, 0.9rem + 1vw, 1.5rem)/1.15 var(--display); letter-spacing: -0.02em; text-align: center; padding: 0 18px; color: var(--ink); }
.case-body { padding: 20px 22px 22px; display: grid; gap: 8px; }
.case-body .k { font: 500 0.72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.case-body p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }
.person { display: grid; gap: 12px; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-3); font: 500 2.4rem var(--display); }
.person h3 { font-size: 1.1rem; }
.person p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font: 500 1.08rem/1.4 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font: 400 1.6rem/1 var(--body); color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }
.faq .a p:last-child { margin: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 28px; padding: clamp(36px, 6vw, 72px); background: radial-gradient(80% 120% at 100% 0%, rgba(141, 107, 255, 0.35), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(0, 204, 204, 0.18), transparent 60%), var(--surface); display: grid; gap: 22px; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: var(--ink-2); max-width: 56ch; margin: 0; }

/* Lists with labels */
.spec { display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .spec > div { grid-template-columns: 1fr; gap: 6px; } }
.spec h3 { font-size: 1.05rem; }
.spec p { margin: 0; color: var(--ink-2); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 36px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: 0.88rem; color: var(--ink-3); margin: 0; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink);
  background: var(--night); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 204, 204, 0.18); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
@media (max-width: 600px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--night); cursor: pointer; transition: border-color .15s, background-color .15s; }
.choice span b { font-weight: 600; }
.choice span small { color: var(--ink-3); font-size: 0.86rem; }
.choice input:checked + span { border-color: var(--teal); background: rgba(0, 204, 204, 0.08); }
.choice input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.notice { border-left: 3px solid var(--teal); background: rgba(0, 204, 204, 0.07); padding: 12px 16px; border-radius: 0 12px 12px 0; color: var(--ink); font-size: 0.97rem; margin: 0; }
.notice--violet { border-color: var(--violet); background: rgba(141, 107, 255, 0.1); }
.form-done { text-align: left; display: grid; gap: 10px; }
.contact-side { display: grid; gap: 26px; align-content: start; }
.contact-side h3 { font-size: 1rem; font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.contact-side p { margin: 4px 0 0; color: var(--ink-2); }
.contact-side .big { font: 500 1.3rem var(--display); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); background: var(--night-2); color: var(--ink-2); font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h2 { font: 500 0.72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--ink-2); text-decoration: none; }
.foot-grid a:hover { color: var(--teal); }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--ink-3); font-size: 0.88rem; }

/* ---------- Preview / review mode ---------- */
.tbc { position: relative; }
.review .tbc { outline: 1px dashed var(--flag); outline-offset: 3px; border-radius: 4px; }
.review .tbc::after {
  content: attr(data-note); position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; min-width: 200px; max-width: 280px;
  background: #2b2200; color: var(--flag); border: 1px solid var(--flag); border-radius: 8px; padding: 6px 9px;
  font: 500 0.72rem/1.35 var(--mono); letter-spacing: 0; text-transform: none; white-space: normal; pointer-events: none;
}
.preview-pill {
  position: fixed; z-index: 80; left: max(14px, env(safe-area-inset-left, 0px)); bottom: max(14px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px;
  background: #1f1a3d; border: 1px solid var(--line-strong); color: var(--ink-2); font: 500 0.78rem var(--mono); cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
}
.preview-pill b { color: var(--flag); font-weight: 500; }
.review .preview-pill { border-color: var(--flag); color: var(--ink); }

/* Small utilities */
.mt-0 { margin-top: 0; }
.stack-s > * + * { margin-top: 12px; }
.center { text-align: center; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }

/* Call-flow trace (hero card) */
.trace { list-style: none; margin: 10px 0 0; padding: 0; display: grid; position: relative; }
.trace::before { content: ""; position: absolute; left: 71px; top: 16px; bottom: 16px; width: 1px; background: var(--line-strong); }
.trace li { display: grid; grid-template-columns: 52px 12px minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 4px; }
.trace time { font: 500 0.72rem/1.6 var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.trace .node { width: 9px; height: 9px; margin: 5px 0 0 1px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 3px rgba(141, 107, 255, 0.2); position: relative; z-index: 1; }
.trace li.sys .node { background: var(--teal); box-shadow: 0 0 0 3px rgba(0, 204, 204, 0.18); }
.trace li.done .node { background: var(--ok); box-shadow: 0 0 0 3px rgba(95, 224, 168, 0.2); }
.trace .t { color: var(--ink); font-size: 0.94rem; line-height: 1.4; }
.trace .t small { display: block; margin-top: 2px; font: 500 0.72rem/1.4 var(--mono); color: var(--ink-3); }

/* Old way vs. new way */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare-col { border-radius: var(--radius); padding: 28px 26px; display: grid; gap: 18px; align-content: start; }
.compare-col h3 { font-size: 1.15rem; }
.compare-col ul { margin: 0; }
.compare-col--before { border: 1px dashed var(--line-strong); }
.compare-col--before h3 { color: var(--ink-2); }
.compare-col--before ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.compare-col--before li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink-3); }
.compare-col--before li::before { content: "\2013"; color: var(--ink-3); text-align: center; }
.compare-col--after { background: linear-gradient(165deg, rgba(0, 204, 204, 0.10), var(--surface) 55%); border: 1px solid rgba(0, 204, 204, 0.4); }

/* ---------- Motion: quiet signs of life ---------- */
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

/* Lead flow: the line fills step by step, each dot glows as it is reached */
.trace::after {
  content: ""; position: absolute; left: 70.5px; top: 16px; width: 2px; height: var(--fill, 0px); border-radius: 2px;
  background: linear-gradient(to bottom, rgba(141, 107, 255, 0.25), var(--teal));
  box-shadow: 0 0 10px rgba(0, 204, 204, 0.45);
  opacity: 0; transition: height .8s cubic-bezier(.45, 0, .25, 1), opacity .7s ease;
}
.trace.is-live::after { opacity: 1; }
.trace.resetting::after { opacity: 0; }
.trace.no-anim::after, .trace.no-anim li, .trace.no-anim li * { transition: none !important; }
.trace .t, .trace time { transition: transform .6s cubic-bezier(.3, 0, .2, 1), opacity .6s ease, color .6s ease; }
.trace .t { transform-origin: left center; }
.trace .node { transition: transform .6s cubic-bezier(.3, 0, .2, 1), box-shadow .6s ease, opacity .6s ease; }
.trace.is-live li .t, .trace.is-live li time { opacity: .5; }
.trace.is-live li .node { opacity: .45; }
.trace.is-live li.past .t, .trace.is-live li.past time, .trace.is-live li.active .t, .trace.is-live li.active time { opacity: 1; }
.trace.is-live li.past .node, .trace.is-live li.active .node { opacity: 1; }
.trace.is-live li.active .t { transform: scale(1.035); }
.trace.is-live li.active time { color: var(--teal); }
.trace.is-live li.active .node { transform: scale(1.35); box-shadow: 0 0 0 4px rgba(141, 107, 255, 0.2), 0 0 16px 2px rgba(141, 107, 255, 0.7); }
.trace.is-live li.sys.active .node { box-shadow: 0 0 0 4px rgba(0, 204, 204, 0.18), 0 0 16px 2px rgba(0, 204, 204, 0.7); }
.trace.is-live li.done.active .node { box-shadow: 0 0 0 4px rgba(95, 224, 168, 0.2), 0 0 16px 2px rgba(95, 224, 168, 0.7); }
.trace.resetting li.past .t, .trace.resetting li.past time { opacity: .5; }
.trace.resetting li.past .node { opacity: .45; }

/* Live indicator breathes */
.call-dot { animation: live 2.8s ease-out infinite; }
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(95, 224, 168, 0.45); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(95, 224, 168, 0); }
}

/* A faint light travels around the frame of featured panels */
.call, .path--feature, .compare-col--after, .plan--pro { position: relative; }
.call::after, .path--feature::after, .compare-col--after::after, .plan--pro::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--spin), transparent 0deg 250deg, rgba(0, 204, 204, 0.6) 300deg, rgba(141, 107, 255, 0.5) 330deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin var(--glow-speed, 10s) linear infinite; opacity: var(--glow-opacity, .75);
}
.path--feature, .compare-col--after, .plan--pro { --glow-speed: 16s; --glow-opacity: .5; }
.compare-col--after { --glow-speed: 18s; }
@keyframes spin { to { --spin: 360deg; } }

/* Light passing along the step lines, one after another */
.steps li { position: relative; }
.steps li::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0, 204, 204, 0.9), rgba(141, 107, 255, 0.7), transparent) no-repeat;
  background-size: 45% 100%; background-position: -100% 0;
  animation: sweep 10s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1.15s);
}
.steps li:nth-child(2) { --i: 1; }
.steps li:nth-child(3) { --i: 2; }
.steps li:nth-child(4) { --i: 3; }
@keyframes sweep {
  0% { background-position: -100% 0; }
  14% { background-position: 200% 0; }
  100% { background-position: 200% 0; }
}

/* Header hairline: an occasional slow glint */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0, 204, 204, 0.55), rgba(141, 107, 255, 0.45), transparent) no-repeat;
  background-size: 28% 100%; background-position: -100% 0;
  animation: glint 16s ease-in-out infinite 3s;
}
@keyframes glint {
  0% { background-position: -100% 0; }
  30% { background-position: 240% 0; }
  100% { background-position: 240% 0; }
}

/* Call-to-action panels breathe */
.cta-band > * { position: relative; z-index: 1; }
.cta-band::before {
  content: ""; position: absolute; inset: -30%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(141, 107, 255, 0.22), transparent 70%) 78% 22% / 55% 60% no-repeat,
    radial-gradient(closest-side, rgba(0, 204, 204, 0.14), transparent 70%) 18% 82% / 50% 55% no-repeat;
  animation: drift 20s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-4%, 3%, 0) scale(1); }
  to { transform: translate3d(4%, -3%, 0) scale(1.06); }
}

/* Background mark breathes while it turns */
.hero-mark { animation: breathe 12s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .10; } 50% { opacity: .17; } }

@media (prefers-reduced-motion: reduce) {
  .call-dot, .hero-mark, .cta-band::before { animation: none; }
  .call::after, .path--feature::after, .compare-col--after::after, .plan--pro::after,
  .steps li::after, .site-header::after { animation: none; display: none; }
  .trace::after { display: none; }
}

/* Contact form: spam trap stays out of sight; errors read clearly */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #ffb4a8; }
.btn[disabled] { opacity: .7; cursor: progress; }
