/* Tech Support Bots — site styles.
   Tokens first; every color and size below comes from these. Dark by design. */

:root {
  --ink: #06080d;          /* page */
  --ink-2: #0b0f18;        /* raised surface */
  --ink-3: #121826;        /* inset / hover */
  --line: rgba(236, 240, 250, 0.08);
  --line-2: rgba(236, 240, 250, 0.14);
  --text: #eceef4;
  --muted: #a0a7b9;
  --dim: #767e93;
  --violet: #8f7cff;
  --cyan: #4fd8f0;
  --solved: #5be49b;
  --amber: #ffb547;
  --danger: #ff6b6b;

  --f-display: "Bricolage Grotesque", "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --glow: radial-gradient(60% 60% at 50% 0%, rgba(143, 124, 255, .16), transparent 70%);
  --fg: 255, 255, 255;     /* overlay tint: white glass on dark, ink glass on light */
  --nav-glass: rgba(6, 8, 13, .72);
  --on-accent: #0a0820;    /* text on violet fills */
  color-scheme: dark;
}

/* Day mode. Toggled from the nav (assets/js/site.js), saved in localStorage. */
:root[data-theme="light"] {
  --ink: #f5f6fa;
  --ink-2: #ffffff;
  --ink-3: #eceef5;
  --line: rgba(16, 22, 42, 0.10);
  --line-2: rgba(16, 22, 42, 0.18);
  --text: #0d111c;
  --muted: #4a5266;
  --dim: #6b7389;
  --violet: #6a55f0;
  --cyan: #0a93ad;
  --solved: #138a50;
  --amber: #b86e00;
  --danger: #d23c3c;
  --glow: radial-gradient(60% 60% at 50% 0%, rgba(106, 85, 240, .10), transparent 70%);
  --fg: 16, 22, 42;
  --nav-glass: rgba(245, 246, 250, .8);
  --on-accent: #ffffff;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, li a, .link { color: var(--text); text-decoration: underline; text-decoration-color: rgba(143,124,255,.6); text-underline-offset: 3px; }
p a:hover, li a:hover, .link:hover { text-decoration-color: var(--violet); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(143,124,255,.35); }
[hidden] { display: none !important; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--text); color: var(--ink); border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
@media (max-width: 640px) { :root { --gutter: 16px; } }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; font-optical-sizing: auto; text-wrap: balance; }
.display { font-size: clamp(42px, 6.6vw, 92px); letter-spacing: -0.042em; line-height: .96; }
.h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.045em; }
.h2 { font-size: clamp(32px, 4.4vw, 56px); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.025em; line-height: 1.12; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-feature-settings: "tnum" 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; font: 500 12.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.eyebrow--live::before { background: var(--solved); box-shadow: 0 0 12px var(--solved); animation: pulse 1.6s ease-in-out infinite; }
.grad { background: linear-gradient(100deg, #fff 10%, #c9c0ff 45%, var(--cyan) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strike { position: relative; color: var(--dim); white-space: nowrap; }
.strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: .07em; background: var(--amber); transform: rotate(-3deg); }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- buttons ---------- */
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 550; font-size: 15.5px; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap; transition: transform .18s var(--ease), background .18s, border-color .18s, box-shadow .18s; touch-action: manipulation; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--text); color: var(--ink); box-shadow: 0 0 0 1px rgba(var(--fg),.2), 0 10px 30px -10px rgba(143,124,255,.7); }
.btn--primary:hover { background: #fff; box-shadow: 0 0 0 1px #fff, 0 14px 40px -10px rgba(143,124,255,.9); }
.btn--ghost { background: rgba(var(--fg),.03); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(var(--fg),.07); border-color: rgba(var(--fg),.26); }
.btn--violet { background: var(--violet); color: var(--on-accent); }
.btn--violet:hover { background: #a595ff; }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .55; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: 13.5px; color: var(--dim); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .2s, border-color .2s; }
.nav.is-stuck { background: var(--nav-glass); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 650; font-size: 18px; letter-spacing: -0.03em; }
.brand svg { width: 26px; height: 26px; }
.nav__links { display: flex; gap: 4px; margin-left: 12px; }
.nav__links a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: 14.5px; transition: color .15s, background .15s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); background: rgba(var(--fg),.05); }
.nav__cta { margin-left: 0; display: flex; gap: 8px; align-items: center; }
.nav__toggle { display: none; margin-left: 4px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.nav__toggle span { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: var(--text); transition: transform .2s; }
.nav__sheet { display: none; }
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open { background: var(--ink); border-color: var(--line); }
  .nav.is-open .nav__sheet { display: grid; gap: 4px; padding: 8px var(--gutter) 24px; }
  .nav__sheet a:not(.btn) { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav__sheet .btn { margin-top: 14px; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(2.75px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
}

/* ---------- announcement ---------- */
.ribbon { display: block; text-align: center; padding: 10px 16px; font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, transparent, rgba(143,124,255,.08), transparent); }
.ribbon b { color: var(--text); font-weight: 550; }
.ribbon a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--fg),.3); }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--line { border-top: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .lede { margin-left: auto; margin-right: auto; }
.section__head .lede { margin-top: 20px; }
.glow-top::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 600px; background: var(--glow); pointer-events: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 5.5vw, 72px) 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 900px; background:
  radial-gradient(40% 50% at 30% 20%, rgba(143,124,255,.20), transparent 70%),
  radial-gradient(35% 45% at 75% 10%, rgba(79,216,240,.12), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(var(--fg),.07) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero__copy { text-align: center; max-width: 1000px; margin: 0 auto; }
.hero__copy .lede { margin: 24px auto 0; max-width: 56ch; }
.hero__copy .cta-row { justify-content: center; margin-top: 32px; }
.hero__counter { display: inline-flex; align-items: baseline; gap: .18em; }
.hero__proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 16px; height: 16px; color: var(--solved); }
.hero__demo { margin-top: clamp(40px, 4.5vw, 64px); scroll-margin-top: 88px; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { position: relative; padding: 28px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(var(--fg),.035), rgba(var(--fg),.01)); border: 1px solid var(--line); overflow: hidden; }
.card h3 { margin-bottom: 12px; }
.card p { margin: 0; color: var(--muted); }
.card--hover { transition: border-color .2s, transform .2s var(--ease), background .2s; }
.card--hover:hover { border-color: var(--line-2); background: linear-gradient(180deg, rgba(var(--fg),.055), rgba(var(--fg),.015)); }
.icon-tile { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 20px; border-radius: 11px; background: rgba(143,124,255,.12); border: 1px solid rgba(143,124,255,.28); color: #c3b9ff; }
.icon-tile svg { width: 20px; height: 20px; }
.icon-tile--amber { background: rgba(255,181,71,.1); border-color: rgba(255,181,71,.28); color: var(--amber); }
.icon-tile--green { background: rgba(91,228,155,.1); border-color: rgba(91,228,155,.28); color: var(--solved); }
.icon-tile--cyan { background: rgba(79,216,240,.1); border-color: rgba(79,216,240,.28); color: var(--cyan); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento > .card { display: flex; flex-direction: column; }
.b-4 { grid-column: span 4; } .b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; } .b-6 { grid-column: span 6; }
@media (max-width: 980px) { .b-4, .b-3, .b-2 { grid-column: span 6; } }
.card__visual { margin-top: auto; padding-top: 28px; }

/* ---------- pain ---------- */
.pain { position: relative; }
.pain .card p.quote { font-family: var(--f-display); font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; color: var(--text); margin-bottom: 14px; }
.vs { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.vs__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; border-top: 1px solid var(--line); }
.vs__row:first-child { border-top: 0; }
.vs__row > div { padding: 18px 24px; }
.vs__row > div:first-child { color: var(--muted); font-size: 14.5px; }
.vs__head { background: rgba(var(--fg),.02); font: 500 12.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.vs__head > div { padding: 16px 24px !important; }
.vs__old { color: var(--muted); }
.vs__new { color: var(--text); font-weight: 550; background: linear-gradient(90deg, rgba(143,124,255,.07), transparent); }
.vs__new::before { content: "✓"; margin-right: 8px; color: var(--solved); }
.vs__head .vs__new::before { content: none; }
.vs__head .vs__new { color: #c3b9ff; }
@media (max-width: 720px) {
  .vs__row { grid-template-columns: 1fr 1fr; }
  .vs__row > div:first-child { grid-column: 1 / -1; padding-bottom: 0; font-weight: 550; color: var(--text); }
  .vs__head > div:first-child { display: none; }
  .vs__row > div { padding: 14px 16px; font-size: 14.5px; }
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; counter-reset: s; }
.step { position: relative; padding: 32px 28px 36px; border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; }
.step__n { display: block; margin-bottom: 40px; font: 500 13px/1 var(--f-mono); color: var(--dim); }
.step__n b { color: var(--violet); font-weight: 500; }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.step__bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan)); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); }
.is-in .step__bar { transform: scaleX(1); }
.is-in .step:nth-child(2) .step__bar { transition-delay: .25s; } .is-in .step:nth-child(3) .step__bar { transition-delay: .5s; } .is-in .step:nth-child(4) .step__bar { transition-delay: .75s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(3) { border-left: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { border-left: 0; border-top: 1px solid var(--line); } .step:first-child { border-top: 0; } .step__n { margin-bottom: 18px; } }

/* ---------- feature visuals ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(var(--fg),.04); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.chip svg { width: 14px; height: 14px; }
.thread { display: grid; gap: 10px; font-size: 14px; }
.thread__msg { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 12px; background: rgba(var(--fg),.03); border: 1px solid var(--line); }
.thread__msg .mono { font-size: 11.5px; color: var(--dim); padding-top: 2px; text-transform: uppercase; letter-spacing: .06em; }
.thread__msg--bot { background: rgba(143,124,255,.07); border-color: rgba(143,124,255,.2); }

.call { position: relative; border-radius: 16px; border: 1px solid var(--line); background: radial-gradient(80% 80% at 50% 30%, rgba(143,124,255,.22), transparent 70%), #0a0d16; aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; }
.call__face { position: relative; width: 38%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #2a2f48 0 22%, transparent 23%), radial-gradient(ellipse 60% 42% at 50% 100%, #2a2f48 0 70%, transparent 71%), linear-gradient(180deg, #171c2e, #10131f); box-shadow: 0 0 0 1px rgba(var(--fg),.08), 0 0 60px rgba(143,124,255,.35); }
.call__ring { position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(79,216,240,.4); animation: ring 2.4s var(--ease) infinite; }
.call__ring:nth-child(2) { animation-delay: 1.2s; }
.call__video { position: absolute; inset: 0; display: block; }
.call__video img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; animation: call-breathe 6s ease-in-out infinite; }
.call__video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 28%, transparent 55%, rgba(0,0,0,.55)); }
@keyframes call-breathe { 50% { transform: scale(1.025); } }
.call__who { position: absolute; top: 40px; left: 12px; font: 600 12.5px/1 var(--f-body); color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.call__self { position: absolute; right: 12px; bottom: 72px; width: 18%; aspect-ratio: 4 / 3; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: radial-gradient(circle at 50% 42%, #3a4058 0 18%, transparent 19%), radial-gradient(ellipse 50% 40% at 50% 100%, #3a4058 0 70%, transparent 71%), #161a28; box-shadow: 0 6px 18px -6px rgba(0,0,0,.6); }
.call__tag, .wave, .call__cap { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .call__video img { animation: none; } }
@keyframes ring { from { transform: scale(.95); opacity: .8; } to { transform: scale(1.35); opacity: 0; } }
.call__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); font-size: 13px; color: #dfe3ee; }
.call__tag { position: absolute; top: 12px; left: 12px; display: inline-flex; gap: 6px; align-items: center; font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; background: rgba(0,0,0,.5); color: var(--text); }
.call__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); animation: pulse 1.2s infinite; }
.wave { position: absolute; right: 14px; top: 12px; display: flex; gap: 3px; align-items: center; height: 18px; }
.wave i { width: 3px; border-radius: 2px; background: var(--cyan); animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(1) { height: 30%; } .wave i:nth-child(2) { height: 80%; animation-delay: .15s; } .wave i:nth-child(3) { height: 55%; animation-delay: .3s; } .wave i:nth-child(4) { height: 95%; animation-delay: .45s; } .wave i:nth-child(5) { height: 40%; animation-delay: .6s; }
@keyframes wave { 50% { transform: scaleY(.35); } }

.learn { font: 13px/1.5 var(--f-mono); display: grid; gap: 8px; }
.learn__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(var(--fg),.03); border: 1px solid var(--line); color: var(--muted); }
.learn__row b { color: var(--solved); font-weight: 500; white-space: nowrap; }
.meter { height: 6px; border-radius: 6px; background: rgba(var(--fg),.06); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--v, 50%); background: linear-gradient(90deg, var(--violet), var(--solved)); border-radius: inherit; }

.update { font: 13px/1.5 var(--f-mono); display: grid; gap: 6px; color: var(--muted); }
.update div { display: flex; gap: 10px; }
.update .ok { color: var(--solved); }

/* ---------- ROI ---------- */
.roi { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .roi { grid-template-columns: 1fr; } }
.roi__out { display: grid; gap: 16px; align-content: start; }
.roi__big { font: 600 clamp(48px, 7vw, 84px)/1 var(--f-display); letter-spacing: -0.05em; color: var(--solved); }
.roi label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 550; margin-bottom: 14px; }
.roi label output { font: 500 15px var(--f-mono); color: var(--text); }
.roi__field + .roi__field { margin-top: 32px; }
.roi__line { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.roi__line b { font: 500 15px var(--f-mono); color: var(--text); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--violet) var(--p, 50%), rgba(var(--fg),.1) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(var(--fg),.1); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--violet); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(143,124,255,.35); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(143,124,255,.35); }
.fineprint { font-size: 13px; color: var(--dim); margin: 16px 0 0; }

/* ---------- trust ---------- */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.trust > div { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust h3 { font-size: 19px; margin: 16px 0 8px; letter-spacing: -0.02em; }
.trust p { margin: 0; color: var(--muted); font-size: 15px; }
.trust svg { width: 22px; height: 22px; color: var(--cyan); }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }

/* ---------- founding ---------- */
.founding { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 28px; border: 1px solid rgba(143,124,255,.3); background: radial-gradient(70% 120% at 100% 0%, rgba(143,124,255,.18), transparent 60%), linear-gradient(180deg, rgba(var(--fg),.03), transparent); }
.founding ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.founding li { display: flex; gap: 12px; align-items: flex-start; }
.founding li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--solved); }
@media (max-width: 860px) { .founding { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 980px) { .tiers { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.tier { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(var(--fg),.035), rgba(var(--fg),.008)); }
.tier--pop { border-color: rgba(143,124,255,.55); background: radial-gradient(90% 60% at 50% 0%, rgba(143,124,255,.18), transparent 70%), linear-gradient(180deg, rgba(var(--fg),.05), rgba(var(--fg),.01)); box-shadow: 0 30px 80px -40px rgba(143,124,255,.6); }
.tier__badge { position: absolute; top: -12px; left: 28px; padding: 6px 10px; border-radius: 999px; background: var(--violet); color: var(--on-accent); font: 600 11.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.tier__name { font: 600 20px/1.2 var(--f-display); letter-spacing: -0.02em; }
.tier__for { margin: 6px 0 24px; color: var(--muted); font-size: 15px; min-height: 48px; }
.tier__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.tier__price b { font: 600 56px/1 var(--f-display); letter-spacing: -0.05em; }
.tier__price span { color: var(--muted); }
.tier__anchor { font-size: 13.5px; color: var(--dim); margin-bottom: 24px; }
.tier__swarm { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 24px; border-radius: 12px; background: rgba(var(--fg),.03); border: 1px solid var(--line); font-size: 14px; }
.dots { display: grid; grid-template-columns: repeat(10, 6px); gap: 3px; }
.dots i { width: 6px; height: 6px; border-radius: 2px; background: rgba(var(--fg),.1); }
.dots i.on { background: var(--violet); box-shadow: 0 0 6px rgba(143,124,255,.8); }
.tier ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.tier li { display: flex; gap: 10px; color: var(--muted); }
.tier li b { color: var(--text); font-weight: 550; }
.tier li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--solved); }
.tier .btn { margin-top: auto; }

.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.matrix { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.matrix th, .matrix td { padding: 15px 20px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.matrix thead th { position: sticky; top: 0; border-top: 0; background: var(--ink-2); font: 600 17px/1.2 var(--f-display); letter-spacing: -0.02em; }
.matrix thead th small { display: block; margin-top: 4px; font: 400 13px var(--f-body); color: var(--muted); letter-spacing: 0; }
.matrix tbody th { font-weight: 450; color: var(--muted); width: 34%; }
.matrix td { color: var(--text); }
.matrix .grp th { padding-top: 28px; font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--violet); background: transparent; }
.matrix .yes { color: var(--solved); }
.matrix .no { color: var(--dim); }
.matrix td:nth-child(3), .matrix thead th:nth-child(3) { background: rgba(143,124,255,.05); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; cursor: pointer; list-style: none; font: 550 18px/1.35 var(--f-body); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); font: 400 18px/1 var(--f-mono); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--muted); max-width: 70ch; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 550; }
.field .hint { font-size: 13px; color: var(--dim); }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(var(--fg),.03); color: var(--text); font-size: 16px; transition: border-color .15s, background .15s; }
.textarea { min-height: 110px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(var(--fg),.24); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--violet); background: rgba(143,124,255,.06); box-shadow: 0 0 0 3px rgba(143,124,255,.2); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.err { font-size: 13px; color: var(--danger); min-height: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--violet); flex: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form__done { padding: 28px; border-radius: var(--r); border: 1px solid rgba(91,228,155,.35); background: rgba(91,228,155,.06); }
.form__done h3 { margin-bottom: 8px; }
.form__done p { margin: 0; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* ---------- final CTA ---------- */
.final { position: relative; text-align: center; padding: clamp(96px, 12vw, 160px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.final::before { content: ""; position: absolute; left: 50%; top: 100%; width: 1200px; height: 800px; transform: translate(-50%, -55%); background: radial-gradient(closest-side, rgba(143,124,255,.35), rgba(79,216,240,.08) 60%, transparent); pointer-events: none; }
.final > * { position: relative; }
.final .lede { margin: 24px auto 0; }
.final .cta-row { justify-content: center; margin-top: 36px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14.5px; color: var(--muted); }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a:hover { color: var(--text); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--solved); box-shadow: 0 0 10px var(--solved); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- page header (inner pages) ---------- */
.phead { position: relative; padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.phead::before { content: ""; position: absolute; inset: -30% 0 auto; height: 700px; background: radial-gradient(45% 55% at 50% 10%, rgba(143,124,255,.18), transparent 70%); pointer-events: none; }
.phead > * { position: relative; }
.phead .lede { margin-top: 24px; }
.phead--center { text-align: center; }
.phead--center .lede { margin-left: auto; margin-right: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 13.5px; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--dim); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }

/* ---------- affiliate ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat-row > div { padding: 28px; border-left: 1px solid var(--line); }
.stat-row > div:first-child { border-left: 0; }
.stat-row b { display: block; font: 600 clamp(40px, 5vw, 60px)/1 var(--f-display); letter-spacing: -0.05em; margin-bottom: 10px; }
.stat-row span { color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr; } .stat-row > div { border-left: 0; border-top: 1px solid var(--line); } .stat-row > div:first-child { border-top: 0; } }

.dash { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--ink-2); overflow: hidden; box-shadow: 0 40px 120px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(var(--fg),.02); }
.dash__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 12.5px var(--f-mono); color: var(--dim); }
.dash__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(var(--fg),.12); }
.dash__bar span { margin-left: 8px; }
.dash__bar em { margin-left: auto; font-style: normal; padding: 4px 8px; border-radius: 6px; background: rgba(255,181,71,.12); color: var(--amber); }
.dash__body { padding: 24px; display: grid; gap: 16px; }
.dash__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(var(--fg),.02); }
.kpi span { display: block; font-size: 12.5px; color: var(--dim); margin-bottom: 8px; }
.kpi b { font: 600 26px/1 var(--f-display); letter-spacing: -0.03em; }
.kpi small { display: block; margin-top: 6px; font: 12px var(--f-mono); color: var(--solved); }
@media (max-width: 720px) { .dash__kpis { grid-template-columns: 1fr 1fr; } }
.dash__chart { padding: 16px; border-radius: 12px; border: 1px solid var(--line); }
.dash__chart header { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.dash__table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dash__table th, .dash__table td { padding: 10px 12px; text-align: left; border-top: 1px solid var(--line); }
.dash__table th { font-weight: 500; color: var(--dim); border-top: 0; }
.dash__table td:last-child, .dash__table th:last-child { text-align: right; font-family: var(--f-mono); }
.pill { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 12px; background: rgba(91,228,155,.12); color: var(--solved); }
.pill--trial { background: rgba(79,216,240,.12); color: var(--cyan); }

.kit-link { display: flex; gap: 10px; }
.kit-link .input { font-family: var(--f-mono); }
.swipe { display: grid; gap: 12px; }
.swipe__item { position: relative; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(var(--fg),.02); }
.swipe__item header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.swipe__item h3 { font-size: 18px; letter-spacing: -0.02em; }
.swipe__item pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: 14.5px/1.65 var(--f-body); color: var(--muted); }
.copy { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 13px; cursor: pointer; }
.copy:hover { background: rgba(var(--fg),.06); }
.copy.is-done { border-color: rgba(91,228,155,.5); color: var(--solved); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 14.5px; }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--ink); font-weight: 550; }
.banners { display: grid; gap: 24px; }
.banner-item { display: grid; gap: 12px; }
.banner-item img { border-radius: 8px; border: 1px solid var(--line); height: auto; }
.banner-item .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }

/* ---------- blog ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }
.cat { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(var(--fg),.02); transition: border-color .2s, background .2s; min-height: 180px; }
.cat:hover { border-color: var(--line-2); background: rgba(var(--fg),.045); }
.cat h3 { font-size: 21px; }
.cat p { margin: 0; color: var(--muted); font-size: 15px; }
.cat .mono { margin-top: auto; font-size: 12.5px; color: var(--dim); }
.post-card { display: grid; gap: 12px; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(143,124,255,.08), transparent 60%); transition: border-color .2s; }
.post-card:hover { border-color: rgba(143,124,255,.5); }
.post-card .meta { font: 12.5px var(--f-mono); color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.post-card h3 { font-size: clamp(24px, 3vw, 34px); }
.post-card p { margin: 0; color: var(--muted); }
.search { position: relative; max-width: 560px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--dim); }
.search .input { padding-left: 46px; border-radius: 999px; }
.empty { padding: 48px 28px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.empty h3 { margin-bottom: 10px; }
.empty p { color: var(--muted); margin: 0 auto 24px; max-width: 48ch; }

.article { font-size: 18px; line-height: 1.75; }
.article > * + * { margin-top: 1.1em; }
.article h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 2em; line-height: 1.15; }
.article h3 { font-size: 21px; margin-top: 1.6em; letter-spacing: -0.02em; line-height: 1.25; }
.article p, .article li { color: #c9cedb; }
.article ol, .article ul { padding-left: 1.3em; }
.article li + li { margin-top: .5em; }
.article code { font: 15px var(--f-mono); padding: 2px 6px; border-radius: 6px; background: rgba(var(--fg),.06); color: var(--text); }
.callout { padding: 20px 22px; border-radius: var(--r); border: 1px solid rgba(143,124,255,.3); background: rgba(143,124,255,.07); font-size: 16px; }
.callout p { margin: 0; color: var(--text); }
.toc { padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); font-size: 15px; }
.toc b { display: block; margin-bottom: 8px; font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.toc ol { margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font: 13px var(--f-mono); color: var(--dim); }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding: 40px 0 120px; }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr; gap: 24px; } }
.docs__nav { position: sticky; top: 92px; align-self: start; display: grid; gap: 22px; font-size: 14.5px; }
@media (max-width: 860px) { .docs__nav { position: static; } }
.docs__nav h4 { font: 500 11.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.docs__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.docs__nav a { display: block; padding: 7px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); }
.docs__nav a:hover { color: var(--text); }
.docs__nav a[aria-current="page"] { color: var(--text); border-color: var(--violet); }
.docs__main { max-width: 760px; }
.docs__main .article { font-size: 16.5px; }
.preview-bar { padding: 10px 16px; text-align: center; font-size: 13.5px; background: rgba(255,181,71,.1); color: var(--amber); border-bottom: 1px solid rgba(255,181,71,.25); }
.gate { display: grid; place-items: center; min-height: calc(100dvh - 68px); padding: 48px 16px; }
.gate__card { width: 100%; max-width: 440px; padding: 36px 32px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--ink-2); }
.gate__card h1 { font-size: 32px; margin-bottom: 10px; }
.gate__card > p { margin: 0 0 28px; color: var(--muted); }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; border: 1px solid rgba(255,107,107,.35); background: rgba(255,107,107,.08); color: #ffc2c2; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- billing toggle (pricing) ---------- */
.billing { display: flex; gap: 4px; width: fit-content; margin: 0 auto 40px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(var(--fg),.02); }
.billing button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 15px; font-weight: 550; cursor: pointer; transition: background .18s, color .18s; }
.billing button[aria-pressed="true"] { background: var(--text); color: var(--ink); }
.billing__tag { padding: 3px 8px; border-radius: 999px; background: rgba(91,228,155,.14); color: var(--solved); font: 500 12px var(--f-mono); }
.billing button[aria-pressed="true"] .billing__tag { background: #0d3a24; color: #8ff5bd; }
.tier__bonus b { color: var(--solved); font-weight: 550; }

/* ---------- /welcome/ (checkout thank-you) ---------- */
.welcome__key { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(0,0,0,.25); }
.welcome__key .mono { flex: 1 1 auto; min-width: 0; font-size: clamp(15px, 2.4vw, 20px); letter-spacing: .04em; overflow-wrap: anywhere; color: var(--text); }
.welcome__steps { margin: 36px 0 28px; padding-left: 22px; display: grid; gap: 12px; color: var(--muted); }
.welcome__steps b { color: var(--text); }

/* ---------- /account/ customer portal ---------- */
.acct__login { max-width: 520px; }
.acct__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.acct__head .h3 { margin: 0; }
.acct__grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.acct__grid .card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.acct__grid .card .h3 { margin: 0; }
.acct__dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; font-size: 14.5px; }
.acct__dl dt { color: var(--dim); }
.acct__dl dd { margin: 0; overflow-wrap: anywhere; }
.acct__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; font-size: 14px; }
.acct__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--muted); }
.acct__big { font: 600 34px/1 var(--f-display); color: var(--text) !important; }
.acct__stats { display: flex; gap: 28px; flex-wrap: wrap; }
.acct__stats b { display: block; font: 600 26px/1.1 var(--f-display); color: var(--text); }
.acct__stats span { font-size: 13px; color: var(--dim); }
.acct__meter { width: 100%; height: 8px; border-radius: 99px; background: var(--ink-3); overflow: hidden; }
.acct__meter i { display: block; height: 100%; background: var(--violet); }
.acct__meter i.hi { background: var(--amber); }
.acct__meter i.full { background: var(--danger); }
.acct__spark { display: flex; align-items: flex-end; gap: 3px; height: 48px; width: 100%; }
.acct__spark i { flex: 1; min-height: 2px; background: rgba(143,124,255,.55); border-radius: 2px 2px 0 0; }
.acct__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acct__steps li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); }
.acct__steps li.done { opacity: .6; }
.acct__steps li.done b { text-decoration: line-through; }
.acct__steps input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--violet); flex: none; }
.acct__steps p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.acct__steps .grow { flex: 1; min-width: 0; }
.acct__alert { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line-2); margin-bottom: 12px; background: var(--ink-2); }
.acct__alert--error { border-color: rgba(255,107,107,.45); }
.acct__alert--warn { border-color: rgba(255,181,71,.45); }
.acct__alert p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--cyan); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 12.5px; border: 1px solid var(--line-2); color: var(--muted); }
.tag--ok { color: var(--solved); border-color: rgba(91,228,155,.4); }
.tag--bad { color: var(--danger); border-color: rgba(255,107,107,.4); }
.acct__grid .card > div { width: 100%; }

/* ---------- Meet the technicians (home) ---------- */
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.team__card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: rgba(var(--fg),.02); overflow: hidden; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.team__card:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); transform: translateY(-3px); box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--c) 70%, transparent); }
.team__ph { display: block; aspect-ratio: 1; overflow: hidden; background: #0d111a; }
.team__ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.team__card:hover .team__ph img { transform: scale(1.04); }
.team__body { padding: 14px 16px 16px; border-top: 2px solid var(--c); }
.team__name { margin: 0; font: 600 18px/1.15 var(--f-display); letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.team__name::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--solved); box-shadow: 0 0 0 3px rgba(91,228,155,.18); }
.team__title { margin: 4px 0 8px; font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 65%, #fff); }
.team__role { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.team__note { margin: 32px auto 0; max-width: 620px; text-align: center; color: var(--dim); font-size: 14.5px; }
@media (max-width: 1080px) { .team { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 820px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .team__body { padding: 10px 12px 12px; } .team__name { font-size: 16px; } .team__title { font-size: 10.5px; } .team__role { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .team__card, .team__ph img { transition: none; } .team__card:hover { transform: none; } .team__card:hover .team__ph img { transform: none; } }

/* Demo cards: technician photos */
.hx-card__av.has-ph { overflow: hidden; padding: 0; border-radius: 50%; }
.hx-card__av.has-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- theme toggle (nav, top right) ---------- */
.theme-toggle { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(var(--fg),.03); color: var(--text); cursor: pointer; transition: background .18s, border-color .18s, transform .18s var(--ease); touch-action: manipulation; }
.theme-toggle:hover { background: rgba(var(--fg),.08); border-color: rgba(var(--fg),.28); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle svg { position: absolute; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity .25s, transform .35s var(--ease); }
.theme-toggle .ico-sun { opacity: 1; transform: none; }
.theme-toggle .ico-moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
:root[data-theme="light"] .theme-toggle .ico-sun { opacity: 0; transform: rotate(60deg) scale(.6); }
:root[data-theme="light"] .theme-toggle .ico-moon { opacity: 1; transform: none; }
@media (max-width: 900px) { .nav__in { gap: 12px; } .theme-toggle { width: 44px; height: 44px; border-radius: 12px; } }
/* Smooth swap only while toggling, so first paint never animates. */
:root.theme-anim, :root.theme-anim *, :root.theme-anim *::before, :root.theme-anim *::after { transition: background-color .3s, border-color .3s, color .3s, fill .3s !important; }
@media (prefers-reduced-motion: reduce) { .theme-toggle svg { transition: none; } }

/* ---------- day mode: component tweaks the tokens can't reach ---------- */
:root[data-theme="light"] .btn--primary { box-shadow: 0 0 0 1px rgba(var(--fg),.2), 0 10px 30px -12px rgba(106,85,240,.55); }
:root[data-theme="light"] .btn--primary:hover { background: #000; box-shadow: 0 0 0 1px #000, 0 14px 40px -12px rgba(106,85,240,.7); }
:root[data-theme="light"] .btn--violet:hover { background: #5a45e0; }
:root[data-theme="light"] .grad { background-image: linear-gradient(100deg, #0d111c 10%, #5b47e6 50%, #0a93ad 95%); }
:root[data-theme="light"] .hero::before { opacity: .55; }
:root[data-theme="light"] .final::before { opacity: .45; }
:root[data-theme="light"] .card, :root[data-theme="light"] .tier, :root[data-theme="light"] .team__card,
:root[data-theme="light"] .cat, :root[data-theme="light"] .kpi, :root[data-theme="light"] .swipe__item,
:root[data-theme="light"] .learn__row, :root[data-theme="light"] .thread__msg:not(.thread__msg--bot) { background: var(--ink-2); box-shadow: 0 1px 2px rgba(16,22,42,.04), 0 8px 24px -16px rgba(16,22,42,.18); }
:root[data-theme="light"] .card--hover:hover { background: var(--ink-2); box-shadow: 0 2px 4px rgba(16,22,42,.05), 0 18px 40px -20px rgba(16,22,42,.28); }
:root[data-theme="light"] .tier--pop { background: radial-gradient(90% 60% at 50% 0%, rgba(106,85,240,.10), transparent 70%), var(--ink-2); box-shadow: 0 30px 80px -40px rgba(106,85,240,.45); }
:root[data-theme="light"] .founding { background: radial-gradient(70% 120% at 100% 0%, rgba(106,85,240,.12), transparent 60%), var(--ink-2); }
:root[data-theme="light"] .icon-tile { color: var(--violet); }
:root[data-theme="light"] .vs__head .vs__new { color: var(--violet); }
:root[data-theme="light"] .article p, :root[data-theme="light"] .article li { color: #2b3245; }
:root[data-theme="light"] .alert { color: #9b2222; }
:root[data-theme="light"] .billing button[aria-pressed="true"] .billing__tag { background: #d6f5e3; color: #0d6b3c; }
:root[data-theme="light"] .welcome__key { background: var(--ink-3); }
:root[data-theme="light"] .dash { box-shadow: 0 40px 120px -50px rgba(16,22,42,.35), 0 0 0 1px rgba(var(--fg),.03); }
:root[data-theme="light"] .team__ph { background: #e6e8f0; }
:root[data-theme="light"] .team__title { color: color-mix(in srgb, var(--c) 60%, #000); }
:root[data-theme="light"] input[type="range"]::-webkit-slider-thumb { box-shadow: 0 0 0 1px rgba(var(--fg),.2), 0 0 0 5px rgba(106,85,240,.3); }
:root[data-theme="light"] input[type="range"]::-moz-range-thumb { box-shadow: 0 0 0 1px rgba(var(--fg),.2), 0 0 0 5px rgba(106,85,240,.3); }
/* The video-call mock stays a dark "screen" in both modes. */
:root[data-theme="light"] .call { --text: #eceef4; --fg: 255, 255, 255; }
