/* Range, the LopeBase visual system. Values mirror
   apps/backoffice/docs/design-system.md and src/theme/system.ts. */
:root {
  --canvas: #f8f7fa;
  --panel: #ffffff;
  --muted-bg: #f0edf5;
  --border: #e2deeb;
  --fg: #1a1526;
  --fg-muted: #574f6b;
  --fg-faint: #766e8a;

  --brand: #7b52c9;
  --brand-hover: #673ab7;
  --brand-fg: #552d9e;
  --brand-muted: #efebfb;
  --brand-emph: #dfd5f7;
  --on-brand: #ffffff;

  --ok: #16a34a;
  --warn: #b45309;
  --warn-bg: #fef3c7;
  --down: #dc2626;

  --aurora: rgba(123, 82, 201, 0.22);
  --aurora-echo: rgba(99, 102, 241, 0.14);

  --shadow-card: 0 8px 24px -4px rgba(28, 25, 23, 0.06);
  --shadow-shell: 0 1px 2px rgba(26, 21, 38, 0.04), 0 24px 60px -24px rgba(26, 21, 38, 0.18);

  --font-heading: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r1: 6px;
  --r2: 10px;
  --r3: 14px;
  --r-shell: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #100d18;
    --panel: #1a1526;
    --muted-bg: #221c31;
    --border: #2b243b;
    --fg: #f0edf5;
    --fg-muted: #9e97b0;
    --fg-faint: #766e8a;
    --brand: #a387e7;
    --brand-hover: #c3b1f0;
    --brand-fg: #c3b1f0;
    --brand-muted: #2e1459;
    --brand-emph: #42207d;
    --on-brand: #1a0a33;
    --ok: #4ade80;
    --warn: #fbbf24;
    --warn-bg: #3a2a0c;
    --down: #f87171;
    --aurora: rgba(163, 135, 231, 0.2);
    --aurora-echo: rgba(99, 102, 241, 0.14);
    --shadow-card: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
    --shadow-shell: 0 1px 2px rgba(0, 0, 0, 0.4), 0 28px 70px -24px rgba(0, 0, 0, 0.7);
  }
}
:root[data-theme="dark"] {
  --canvas: #100d18;
  --panel: #1a1526;
  --muted-bg: #221c31;
  --border: #2b243b;
  --fg: #f0edf5;
  --fg-muted: #9e97b0;
  --fg-faint: #766e8a;
  --brand: #a387e7;
  --brand-hover: #c3b1f0;
  --brand-fg: #c3b1f0;
  --brand-muted: #2e1459;
  --brand-emph: #42207d;
  --on-brand: #1a0a33;
  --ok: #4ade80;
  --warn: #fbbf24;
  --warn-bg: #3a2a0c;
  --down: #f87171;
  --aurora: rgba(163, 135, 231, 0.2);
  --aurora-echo: rgba(99, 102, 241, 0.14);
  --shadow-card: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
  --shadow-shell: 0 1px 2px rgba(0, 0, 0, 0.4), 0 28px 70px -24px rgba(0, 0, 0, 0.7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; }
::selection { background: var(--brand); color: var(--on-brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--font-mono); }
.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: 16px; top: -48px; z-index: 50;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--r2);
  padding: 8px 12px; text-decoration: none; font-size: 14px;
}
.skip:focus { top: 12px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Aurora on the range: soft lavender off the top right, indigo echo bottom left. */
.aurora {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px);
}
.aurora::before {
  width: 720px; height: 520px; right: -160px; top: -200px;
  background: radial-gradient(closest-side, var(--aurora), transparent);
  animation: drift 18s var(--ease) infinite alternate;
}
.aurora::after {
  width: 620px; height: 460px; left: -220px; bottom: -120px;
  background: radial-gradient(closest-side, var(--aurora-echo), transparent);
  animation: drift 22s var(--ease) infinite alternate-reverse;
}
@keyframes drift { to { transform: translate3d(-40px, 30px, 0); } }

/* ---------- mark ---------- */
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark svg { width: 24px; height: 24px; color: var(--brand-fg); flex: none; overflow: visible; }
.mark .ear, .mark .peak { transition: transform 180ms var(--ease); }
.mark:hover .ear { transform: translateY(-2px); }
.mark:hover .peak { transform: translateY(-1px); }
.wordmark {
  font-family: var(--font-heading); font-weight: 600; font-size: 18px; letter-spacing: -0.03em;
}
.wordmark span { color: var(--fg-muted); font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 14px/1 var(--font-body); letter-spacing: 0.01em;
  padding: 11px 16px; border-radius: var(--r2); text-decoration: none; border: 0; cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 120ms var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-subtle { background: var(--muted-bg); color: var(--fg); }
.btn-subtle:hover { background: var(--brand-emph); }
.btn-ghost { background: transparent; color: var(--fg-muted); }
.btn-ghost:hover { color: var(--fg); background: var(--muted-bg); }
.btn-lg { padding: 14px 20px; font-size: 15px; }
.btn svg { width: 14px; height: 14px; transition: transform 180ms var(--ease); }
.btn:hover svg { transform: translateX(2px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a.link {
  font-size: 14px; color: var(--fg-muted); text-decoration: none; padding: 8px 12px; border-radius: var(--r2);
  transition: color 180ms var(--ease);
}
.nav-links a.link:hover { color: var(--fg); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 420px) { .nav-cta .btn-ghost { display: none; } }

/* ---------- horizon rule ---------- */
.horizon {
  display: block; width: 40px; height: 2px; border-radius: 2px; background: var(--brand);
  transform-origin: left; margin-top: 20px;
}
.in .horizon, .hero .horizon { animation: horizon 520ms var(--ease) both 120ms; }
@keyframes horizon { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 0; }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 760px; }
.hero h1 { font-size: clamp(38px, 6.2vw, 68px); letter-spacing: -0.045em; line-height: 0.98; }
.hero h1 em { font-style: normal; color: var(--brand-fg); }
.hero .lede { margin-top: 24px; font-size: clamp(17px, 1.6vw, 19px); color: var(--fg-muted); max-width: 58ch; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--fg-faint); }
.rise { opacity: 0; transform: translateY(8px); animation: rise 520ms var(--ease) forwards; }
.rise.d1 { animation-delay: 60ms; } .rise.d2 { animation-delay: 130ms; } .rise.d3 { animation-delay: 200ms; }
.rise.d4 { animation-delay: 300ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- workstation mockup ---------- */
.desk {
  position: relative; margin-top: 64px; padding: 12px; border-radius: 24px;
  background: color-mix(in srgb, var(--muted-bg) 70%, transparent);
  border: 1px solid var(--border);
}
.shell {
  display: grid; grid-template-columns: 220px 1fr; min-height: 480px;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-shell);
  box-shadow: var(--shadow-shell); overflow: hidden;
}
.rail { background: var(--muted-bg); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--border); }
.rail .mark { padding: 4px 10px 18px; }
.rail .mark .wordmark { font-size: 15px; }
.rail .mark svg { width: 20px; height: 20px; }
.rail-item {
  position: relative; display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--fg-muted);
  padding: 7px 10px; border-radius: var(--r1);
}
.rail-item .mono { font-size: 11px; color: var(--fg-faint); letter-spacing: 0.04em; }
.rail-item.on { color: var(--fg); background: var(--panel); font-weight: 500; }
.rail-item.on::before {
  content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 2px; border-radius: 2px; background: var(--brand);
}
.rail-label { margin: 18px 10px 6px; font-size: 11px; color: var(--fg-faint); }
.rail-prop { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-muted); padding: 5px 10px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.dot.warn { background: var(--warn); }
.dot.down { background: var(--down); }

.main { padding: 28px 32px; min-width: 0; }
.main h3 { font-size: 30px; letter-spacing: -0.04em; line-height: 0.95; }
.main .horizon { margin-top: 14px; }
.main .sub { margin-top: 12px; font-size: 13px; color: var(--fg-muted); }
.strip {
  margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden;
}
.reading { padding: 14px 16px; border-left: 1px solid var(--border); min-width: 0; }
.reading:first-child { border-left: 0; }
.reading .k { font-size: 12px; color: var(--fg-muted); }
.reading .v { font-family: var(--font-heading); font-weight: 600; font-size: 24px; letter-spacing: -0.04em; line-height: 1.1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.reading .d { font-size: 12px; color: var(--ok); margin-top: 2px; }
.reading .d.neg { color: var(--down); }

.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 20px; }
.well { background: var(--muted-bg); border-radius: var(--r2); padding: 14px; min-width: 0; }
.well-title { font-family: var(--font-heading); font-weight: 600; font-size: 14px; letter-spacing: -0.02em; margin-bottom: 8px; }
.prow {
  position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; align-items: center;
  font-size: 13px; padding: 9px 10px; border-radius: var(--r1); font-variant-numeric: tabular-nums;
  transition: background 180ms var(--ease);
}
.prow + .prow { border-top: 1px solid var(--border); }
.prow .n { display: flex; align-items: center; gap: 8px; font-weight: 500; min-width: 0; }
.prow span:not(.dot) { color: var(--fg-muted); }
.prow:hover { background: var(--panel); }
.prow:hover::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--brand);
}
.attn { display: flex; flex-direction: column; gap: 8px; overflow: hidden; contain: layout paint; }
.attn-item { background: var(--panel); border-radius: var(--r1); padding: 10px 12px; font-size: 13px; }
.attn-item b { font-weight: 500; display: block; }
.attn-item span { color: var(--fg-muted); font-size: 12px; }
.caption { margin-top: 12px; text-align: center; font-size: 12px; color: var(--fg-faint); }

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .rail { display: none; }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .desk { padding: 6px; border-radius: 18px; margin-top: 44px; }
  .main { padding: 20px 16px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .reading:nth-child(3) { border-left: 0; }
  .reading:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .prow { grid-template-columns: 1.4fr 1fr; }
  .prow .hide-xs { display: none; }
}

/* ---------- promise ---------- */
.promise { padding-top: 112px; padding-bottom: 24px; }
.promise p {
  font-family: var(--font-heading); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12;
  font-size: clamp(26px, 3.6vw, 40px); max-width: 26ch; text-wrap: balance;
}
.promise p span { color: var(--fg-faint); }

/* ---------- sections ---------- */
section.sec { padding: 104px 0 0; }
.sec-head { max-width: 680px; }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 46px); }
.sec-head p { margin-top: 20px; color: var(--fg-muted); font-size: 17px; max-width: 60ch; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.step { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r3); padding: 24px; }
.step .mono { font-size: 12px; color: var(--brand-fg); letter-spacing: 0.04em; }
.step h3 { font-size: 21px; letter-spacing: -0.025em; margin-top: 14px; }
.step p { margin-top: 10px; font-size: 15px; color: var(--fg-muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.conn { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 48px; }
.conn-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--r3); padding: 18px;
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.conn-card b { font-family: var(--font-heading); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.conn-card span { font-size: 13px; color: var(--fg-muted); }
.conn-card.yours { background: var(--brand-muted); border-color: var(--brand-emph); }
.conn-card.yours span { color: var(--brand-fg); }
@media (max-width: 960px) { .conn { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .conn { grid-template-columns: repeat(2, 1fr); } }

.act { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; margin-top: 48px; }
@media (max-width: 900px) { .act { grid-template-columns: 1fr; gap: 32px; } }
.audit { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r3); overflow: hidden; }
.audit-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.audit-head b { font-family: var(--font-heading); font-weight: 600; font-size: 15px; letter-spacing: -0.02em; }
.audit-head span { font-size: 12px; color: var(--fg-faint); }
.ev { padding: 14px 18px; font-size: 13px; }
.ev + .ev { border-top: 1px solid var(--border); }
.ev-top { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.ev-top .mono { font-size: 12px; color: var(--fg-faint); }
.ev-top .who { font-weight: 500; }
.ev-top .what { font-family: var(--font-mono); font-size: 12px; color: var(--brand-fg); background: var(--brand-muted); padding: 2px 6px; border-radius: 4px; }
.ev-top .on { color: var(--fg-muted); }
.diff { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; border-radius: var(--r1); background: var(--muted-bg); padding: 10px 12px; overflow-x: auto; white-space: nowrap; }
.diff .rm { color: var(--down); }
.diff .add { color: var(--ok); }
.facts { display: flex; flex-direction: column; gap: 28px; }
.fact { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.fact .ico {
  width: 40px; height: 40px; border-radius: var(--r2); background: var(--brand-muted); color: var(--brand-fg);
  display: grid; place-items: center;
}
.fact .ico svg { width: 18px; height: 18px; }
.fact h3 { font-size: 18px; letter-spacing: -0.02em; line-height: 1.25; }
.fact p { margin-top: 6px; color: var(--fg-muted); font-size: 15px; }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
@media (max-width: 1000px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r3);
  padding: 24px; display: flex; flex-direction: column;
}
.tier.pick { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-card); }
.tier h3 { font-size: 20px; letter-spacing: -0.025em; }
.tier .price { margin-top: 14px; font-family: var(--font-heading); font-weight: 600; font-size: 40px; letter-spacing: -0.045em; line-height: 1; }
.tier .price small { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--fg-muted); letter-spacing: 0; }
.tier .for { margin-top: 12px; font-size: 14px; color: var(--fg-muted); min-height: 44px; }
.tier ul { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.tier li { display: flex; gap: 10px; align-items: flex-start; }
.tier li svg { width: 16px; height: 16px; color: var(--brand-fg); flex: none; margin-top: 3px; }
.tier .btn { margin-top: auto; width: 100%; }
.price-note { margin-top: 20px; font-size: 14px; color: var(--fg-muted); }

/* ---------- faq ---------- */
.faq { margin-top: 40px; border-top: 1px solid var(--border); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-family: var(--font-heading); font-weight: 600; font-size: 18px; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; color: var(--fg-faint); flex: none; transition: transform 180ms var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--brand-fg); }
.faq details p { padding: 0 0 22px; color: var(--fg-muted); max-width: 64ch; }

/* ---------- close ---------- */
.close { position: relative; margin-top: 120px; padding: 112px 0; overflow: hidden; border-top: 1px solid var(--border); }
.close .wrap { position: relative; z-index: 1; text-align: center; }
.close h2 { font-size: clamp(34px, 5.4vw, 60px); letter-spacing: -0.045em; max-width: 16ch; margin: 0 auto; }
.close .horizon { margin: 24px auto 0; }
.close p { margin: 24px auto 0; color: var(--fg-muted); font-size: 18px; max-width: 48ch; }
.close .cta-row { justify-content: center; }

footer { border-top: 1px solid var(--border); padding: 32px 0 40px; font-size: 14px; color: var(--fg-muted); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--fg); }


/* ---------- logos ---------- */
.logo {
  display: inline-block; width: 28px; height: 28px; flex: none;
  background: var(--c, var(--fg));
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.logo[data-l="googleanalytics"] { --c: #e37400; }
.logo[data-l="googlesearchconsole"] { --c: #458cf5; }
.logo[data-l="microsoftbing"] { --c: #258ffa; }
.logo[data-l="sentry"] { --c: #362d59; }
.logo[data-l="stripe"] { --c: #635bff; }
.logo[data-l="cloudflare"] { --c: #f38020; }
.logo.own { background: none; -webkit-mask: none; mask: none; color: var(--brand-fg); }
.logo.own svg { width: 100%; height: 100%; }
.logo-img { width: 28px; height: 28px; border-radius: 7px; flex: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo[data-l="sentry"] { --c: #b3a6e0; } }
:root[data-theme="dark"] .logo[data-l="sentry"] { --c: #b3a6e0; }
.conn-card .logo, .conn-card .logo-img, .logo-stack { margin-bottom: 14px; }
.logo-stack { display: flex; gap: 8px; }
.logo-stack .logo { width: 24px; height: 24px; }
.conn-card { transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease); }
.conn-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--brand-emph); }
.conn-card .logo, .conn-card .logo-img { transition: transform 260ms var(--ease); }
.conn-card:hover .logo, .conn-card:hover .logo-img { transform: scale(1.08) rotate(-3deg); }

.logos { padding: 72px 0 0; }
.logos-cap { text-align: center; font-size: 14px; color: var(--fg-faint); }
.marquee {
  margin-top: 24px; display: flex; overflow: hidden; gap: 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee ul {
  list-style: none; margin: 0; padding: 0 20px 0 0; display: flex; gap: 20px; flex: none;
  animation: marquee 48s linear infinite;
}
.marquee:hover ul { animation-play-state: paused; }
.marquee li {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--border); font-size: 14px; font-weight: 500; white-space: nowrap;
}
.marquee .logo, .marquee .logo-img { width: 20px; height: 20px; border-radius: 5px; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- motion ---------- */
.spark { display: block; width: 100%; height: 22px; margin-top: 6px; overflow: visible; }
.spark polyline {
  fill: none; stroke: var(--brand); stroke-width: 1.6; vector-effect: non-scaling-stroke;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1400ms var(--ease) forwards 700ms;
}
.reading:nth-child(2) .spark polyline { animation-delay: 820ms; }
.reading:nth-child(3) .spark polyline { animation-delay: 940ms; stroke: var(--fg-faint); }
.reading:nth-child(4) .spark polyline { animation-delay: 1060ms; stroke: var(--fg-faint); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.desk { transform-style: preserve-3d; will-change: transform; transition: transform 600ms var(--ease); }
.hero .desk { perspective: 1400px; }
.attn-item { transition: opacity 420ms var(--ease), transform 420ms var(--ease), max-height 420ms var(--ease); max-height: 80px; }
.attn-item.enter { opacity: 0; transform: translateY(-10px); max-height: 0; padding-top: 0; padding-bottom: 0; }
.attn-item.leave { opacity: 0; transform: translateX(16px); }
.attn-item.fresh { box-shadow: inset 2px 0 0 var(--brand); }

.js .stagger > * { opacity: 0; transform: translateY(14px); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
.js .stagger.in > * { opacity: 1; transform: none; }
.js .stagger.in > .conn-card:hover { transform: translateY(-3px); }
.js .reveal .horizon, .js .stagger .horizon { transform: scaleX(0); animation: none; transition: transform 620ms var(--ease) 200ms; }
.js .reveal.in .horizon { transform: scaleX(1); }

.ev.new { animation: evin 620ms var(--ease); }
@keyframes evin { from { opacity: 0; transform: translateY(-8px); background: var(--brand-muted); } }

.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transition: transform 700ms var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }

.tier { transition: transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.tier:hover { box-shadow: var(--shadow-card); }


/* ---------- punch ---------- */
.hero h1 { font-size: clamp(42px, 7.4vw, 92px); font-weight: 700; letter-spacing: -0.055em; line-height: 0.92; max-width: 12ch; }
.hero-copy { max-width: 900px; }
.hero .lede code { font-family: var(--font-mono); font-size: 0.9em; background: var(--muted-bg); padding: 1px 6px; border-radius: 5px; }

.tabs-sec { padding: 120px 0 0; }
.tabs-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.tabs-grid h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; letter-spacing: -0.05em; }
.tabs-grid p { margin-top: 20px; color: var(--fg-muted); font-size: 17px; max-width: 44ch; }
@media (max-width: 860px) { .tabs-grid { grid-template-columns: 1fr; gap: 32px; } }
.tabbox { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r3); padding: 18px; min-height: 260px; }
.tablist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tab, .onetab {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px;
  padding: 8px 12px; border-radius: 8px 8px 3px 3px; background: var(--muted-bg); color: var(--fg-muted); white-space: nowrap;
}
.fav { width: 10px; height: 10px; border-radius: 3px; background: var(--border); flex: none; }
.js .tabbox.in .tab { animation: tabgone 700ms var(--ease) forwards; }
.js .tabbox.in .tab:nth-child(1) { animation-delay: 500ms; } .js .tabbox.in .tab:nth-child(2) { animation-delay: 580ms; }
.js .tabbox.in .tab:nth-child(3) { animation-delay: 660ms; } .js .tabbox.in .tab:nth-child(4) { animation-delay: 740ms; }
.js .tabbox.in .tab:nth-child(5) { animation-delay: 820ms; } .js .tabbox.in .tab:nth-child(6) { animation-delay: 900ms; }
.js .tabbox.in .tab:nth-child(7) { animation-delay: 980ms; } .js .tabbox.in .tab:nth-child(8) { animation-delay: 1060ms; }
.js .tabbox.in .tab:nth-child(9) { animation-delay: 1140ms; }
@keyframes tabgone { to { opacity: 0.28; text-decoration: line-through; transform: scale(0.96); } }
.onetab {
  position: absolute; left: 18px; bottom: 18px; font-size: 15px; padding: 14px 18px;
  background: var(--brand); color: var(--on-brand); box-shadow: 0 16px 40px -12px var(--brand);
}
.onetab .fav { background: var(--on-brand); opacity: 0.8; }
.js .tabbox .onetab { opacity: 0; transform: translateY(12px) scale(0.94); }
.js .tabbox.in .onetab { animation: tabin 600ms var(--ease) forwards 1500ms; }
@keyframes tabin { to { opacity: 1; transform: none; } }

.rows { list-style: none; margin: 40px 0 0; padding: 0; }
.row { display: grid; grid-template-columns: 140px 1fr 1.3fr; gap: 24px; align-items: baseline; padding: 32px 0; border-top: 1px solid var(--border); }
.row:last-child { border-bottom: 1px solid var(--border); }
.row .num { font-family: var(--font-heading); font-weight: 700; font-size: 64px; letter-spacing: -0.06em; line-height: 0.8; color: var(--brand); }
.row h3 { font-size: 26px; letter-spacing: -0.035em; }
.row p { color: var(--fg-muted); font-size: 16px; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 10px; } .row .num { font-size: 44px; } }

.band {
  margin-top: 120px; padding: 104px 0; position: relative; overflow: hidden;
  --canvas: #100d18; --panel: #1a1526; --muted-bg: #221c31; --border: #2b243b; --fg: #f0edf5; --fg-muted: #b3acc6; --fg-faint: #8a839e;
  --brand: var(--d-brand, #a387e7); --brand-fg: var(--d-brand-fg, #c3b1f0); --brand-muted: var(--d-brand-muted, #2e1459); --brand-emph: var(--d-brand-emph, #42207d); --on-brand: #100d18; --ok: #4ade80; --down: #f87171;
  background: radial-gradient(900px 500px at 85% 0%, rgba(123, 82, 201, 0.35), transparent 70%), #100d18; color: var(--fg);
}
.band .sec-head h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 700; letter-spacing: -0.05em; }
.band .facts { gap: 0; }
.band .fact { display: block; padding: 22px 0; border-top: 1px solid var(--border); }
.band .fact:first-child { border-top: 0; padding-top: 0; }
.sec-head h2 { font-weight: 700; letter-spacing: -0.045em; }
.tier.pick { background: #1a1526; color: #f0edf5; border-color: #1a1526; box-shadow: 0 30px 60px -30px rgba(85, 45, 158, 0.6); --fg-muted: #b3acc6; --brand-fg: #c3b1f0; }
.tier.pick .btn-primary { background: #a387e7; color: #1a0a33; }

.close { margin-top: 120px; padding: 120px 0; border-top: 0; background: var(--brand); color: #fff; }
.close-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; text-align: left; }
.close h2 { font-size: clamp(38px, 6vw, 76px); font-weight: 700; letter-spacing: -0.055em; line-height: 0.95; max-width: 14ch; margin: 0; }
.close p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 18px; }
.close .cta-row { justify-content: flex-start; }
.close .btn-primary { background: #fff; color: #2e1459; }
.close .btn-primary:hover { background: #efebfb; }
.close .btn-ghost { color: #fff; }
.close .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
@media (max-width: 800px) { .close-grid { grid-template-columns: 1fr; } }


@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band { border-block: 1px solid #2b243b; background: radial-gradient(900px 500px at 85% 0%, rgba(123, 82, 201, 0.42), transparent 70%), #0a0810; } }
:root[data-theme="dark"] .band { border-block: 1px solid #2b243b; background: radial-gradient(900px 500px at 85% 0%, rgba(123, 82, 201, 0.42), transparent 70%), #0a0810; }
/* Site rail: the console's numbered nav, used as the page's contents. */
.siterail { position: fixed; left: 24px; top: 50%; transform: translateY(-50%); z-index: 20; display: none; flex-direction: column; gap: 2px; }
@media (min-width: 1420px) { .siterail { display: flex; } }
.siterail a {
  position: relative; display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--fg-faint);
  text-decoration: none; padding: 6px 12px; border-radius: 6px; transition: color 180ms var(--ease), background 180ms var(--ease);
}
.siterail a span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; }
.siterail a:hover { color: var(--fg); }
.siterail a::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--brand);
  transform: scaleY(0); opacity: 0; transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}
.siterail a.on { color: var(--fg); background: var(--panel); }
.siterail a.on span { color: var(--brand-fg); }
.siterail a.on::before { transform: scaleY(1); opacity: 1; }
.siterail { opacity: 0; pointer-events: none; transition: opacity 260ms var(--ease); }
.siterail.show { opacity: 1; pointer-events: auto; }
.siterail.over-dark a { color: #8a839e; }
.siterail.over-dark a.on { background: #1a1526; color: #f0edf5; }

.close { background: none; color: var(--fg); padding: 0 0 96px; }
.close-desk { padding: 12px; border-radius: 28px; background: var(--muted-bg); border: 1px solid var(--border); position: relative; overflow: hidden; }
.close-desk::before { content: ""; position: absolute; right: -120px; top: -160px; width: 560px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, var(--aurora), transparent); filter: blur(40px); }
.close-grid { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: clamp(28px, 6vw, 72px); box-shadow: var(--shadow-shell); }
.close p { color: var(--fg-muted); }
.close .btn-primary { background: var(--brand); color: var(--on-brand); }
.close .btn-primary:hover { background: var(--brand-hover); }
.close .btn-ghost { color: var(--fg-muted); }
.close .btn-ghost:hover { background: var(--muted-bg); color: var(--fg); }
.close h2::after { content: ""; display: block; width: 40px; height: 2px; background: var(--brand); border-radius: 2px; margin-top: 24px; }


/* ---------- features ---------- */
:root { --series-2: #6366f1; --series-3: #0ea5e9; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 48px; }
.bx {
  grid-column: span 2; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r3);
  padding: 16px 16px 22px; display: flex; flex-direction: column; min-width: 0; position: relative; overflow: hidden;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.bx:hover { border-color: var(--brand-emph); box-shadow: var(--shadow-card); }
.bx-dash { grid-column: span 4; } .bx-map { grid-column: span 2; }
.bx-pipe, .bx-res, .bx-roles, .bx-pal { grid-column: span 3; }
.bx h3 { font-size: 19px; letter-spacing: -0.03em; margin: 18px 6px 0; }
.bx > p { margin: 8px 6px 0; color: var(--fg-muted); font-size: 15px; }
.bx-viz {
  border-radius: 10px; min-height: 190px; padding: 16px; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, color-mix(in srgb, var(--series-2) 12%, transparent), transparent 60%),
    var(--muted-bg);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .bx, .bx-dash, .bx-map, .bx-pipe, .bx-res { grid-column: span 2; } .bx-roles, .bx-pal { grid-column: span 1; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .bx, .bx-roles, .bx-pal { grid-column: span 1; } }

.chart { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.chart-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.chart-top b { font-family: var(--font-heading); font-weight: 600; letter-spacing: -0.02em; }
.legend { display: flex; flex-wrap: wrap; white-space: nowrap; align-items: center; gap: 6px; color: var(--fg-muted); font-size: 12px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--brand); margin-left: 6px; }
.legend i.l2 { background: var(--series-2); } .legend i.l3 { background: var(--series-3); }
.area { width: 100%; height: auto; display: block; margin-top: 10px; overflow: visible; }
.area .grid line { stroke: var(--border); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.area .ln { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.area .ln2 { stroke: var(--series-2); } .area .ln3 { stroke: var(--series-3); }
.area .fill { opacity: 0; transition: opacity 900ms var(--ease) 700ms; }
.in .area .ln, .bento.in .area .ln { animation: draw 1600ms var(--ease) forwards 200ms; }
.bento.in .area .fill { opacity: 1; }

.map { position: relative; height: 200px; }
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lk { stroke-width: 1.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lk-live { stroke: var(--brand); stroke-dasharray: 3 5; animation: flow 1.6s linear infinite; }
.lk-down { stroke: var(--down); stroke-dasharray: 2 4; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.hub, .node { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; }
.hub { left: 50%; top: 50%; width: 56px; height: 56px; border-radius: 50%; background: var(--panel); border: 1px solid var(--brand-emph); color: var(--brand-fg); box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 10%, transparent), var(--shadow-card); }
.hub svg { width: 26px; height: 26px; }
.node { width: 38px; height: 38px; border-radius: 10px; background: var(--panel); border: 1px solid var(--border); color: var(--brand-fg); }
.node.down { border-color: var(--down); box-shadow: 0 0 0 4px color-mix(in srgb, var(--down) 16%, transparent); }
.node .logo, .node img, .node svg { width: 20px; height: 20px; border-radius: 4px; }
.bento.in .node { animation: pop 460ms var(--ease) both; }
.bento.in .node:nth-of-type(2) { animation-delay: 80ms; } .bento.in .node:nth-of-type(3) { animation-delay: 160ms; }
.bento.in .node:nth-of-type(4) { animation-delay: 240ms; } .bento.in .node:nth-of-type(5) { animation-delay: 320ms; }
.bento.in .node:nth-of-type(6) { animation-delay: 400ms; } .bento.in .node:nth-of-type(7) { animation-delay: 480ms; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -50%) scale(0.6); } }

.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.stepper li { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 10px 8px; font-size: 12px; color: var(--fg-muted); display: flex; flex-direction: column; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--border); display: block; }
.stepper .done { color: var(--fg); } .stepper .done .sd { background: var(--brand); border-color: var(--brand); }
.stepper .wait { color: var(--fg); border-color: var(--warn); } .stepper .wait .sd { border-color: var(--warn); animation: ring 1.8s var(--ease) infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--warn) 50%, transparent); } 80%, 100% { box-shadow: 0 0 0 7px transparent; } }
.gate, .confirm { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font-size: 13px; }
.gate b, .confirm b { display: block; font-weight: 600; }
.gate span:not(.fake-btn), .confirm span:not(.fake-btn) { color: var(--fg-muted); font-size: 12px; }
.fake-btn { background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 12px; padding: 7px 12px; border-radius: 8px; flex: none; }
@media (max-width: 420px) { .stepper { grid-template-columns: repeat(3, 1fr); } .stepper li:nth-child(n+4) { display: none; } }

.table { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; font-size: 13px; }
.tr { display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding: 8px 12px; position: relative; font-variant-numeric: tabular-nums; }
.tr + .tr { border-top: 1px solid var(--border); }
.th { color: var(--fg-faint); font-size: 12px; }
.tr.hl { background: var(--brand-muted); }
.tr.hl::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--brand); border-radius: 2px; }
.flip s { color: var(--fg-faint); margin-right: 4px; }
.confirm { flex-wrap: wrap; } .confirm b { margin-right: auto; }

.roles { display: flex; flex-direction: column; gap: 8px; }
.role { display: flex; align-items: center; gap: 6px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 13px; flex-wrap: wrap; }
.role b { font-weight: 600; margin-right: auto; }
.cap { font-family: var(--font-mono); font-size: 11px; padding: 2px 7px; border-radius: 999px; color: var(--fg-faint); background: var(--muted-bg); text-decoration: line-through; }
.cap.on { color: var(--brand-fg); background: var(--brand-muted); text-decoration: none; }

.swatches { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.swatches button {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: var(--sw);
  box-shadow: inset 0 0 0 3px color-mix(in srgb, #fff 30%, transparent); transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.swatches button:hover { transform: translateY(-2px) scale(1.05); }
.swatches button[aria-checked="true"] { box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px var(--sw); }
.pal-name { text-align: center; font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); }
html.pal-anim, html.pal-anim * { transition: background-color 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease) !important; }

/* ---------- roadmap ---------- */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; position: relative; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 40%, transparent) 50%, var(--border)); z-index: 0; }
.lane { position: relative; z-index: 1; }
.lane-h { display: inline-flex; align-items: center; gap: 10px; background: var(--canvas); padding: 12px 14px 12px 0; font-family: var(--font-heading); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.st { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--brand); background: var(--canvas); }
.st-done { background: var(--brand); }
.st-now { background: var(--canvas); box-shadow: 0 0 0 0 var(--brand); animation: ring2 2s var(--ease) infinite; }
@keyframes ring2 { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 50%, transparent); } 80%, 100% { box-shadow: 0 0 0 9px transparent; } }
.st-next { border-color: var(--fg-faint); border-style: dashed; }
.lane ul { list-style: none; margin: 14px 0 0; padding: 20px; display: flex; flex-direction: column; gap: 12px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r3); font-size: 15px; }
.lane li { padding-left: 18px; position: relative; }
.lane li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; border-radius: 2px; background: var(--brand); }
.lane.now ul { border-color: var(--brand-emph); background: linear-gradient(160deg, var(--brand-muted), var(--panel) 70%); }
@media (max-width: 860px) { .road { grid-template-columns: 1fr; } .road::before { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(var(--brand), var(--border)); } }

/* Instrument strip, as in the console: value, then label, then hint. */
.reading { display: flex; flex-direction: column; }
.reading .v { margin: 0 0 10px; }
.reading .k { color: var(--fg); font-weight: 500; font-size: 13px; }
.reading .d { color: var(--fg-muted); }

/* Scroll-in: sections fade up once. Only when JS runs and motion is allowed. */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 520ms var(--ease), transform 520ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .rise, .js .reveal, .js .stagger > *, .js .tabbox .onetab { opacity: 1; transform: none; }
  .js .tabbox .tab { opacity: 0.28; text-decoration: line-through; }
  .spark polyline { stroke-dashoffset: 0; }
  .js .reveal .horizon { transform: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- sub pages ---------- */
.page-hero { position: relative; padding: 96px 0 8px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 80px); font-weight: 700; letter-spacing: -0.055em; line-height: 0.95; max-width: 14ch; }
.page-hero h1 em { font-style: normal; color: var(--brand-fg); }
.page-hero .lede { margin-top: 24px; font-size: clamp(17px, 1.6vw, 19px); color: var(--fg-muted); max-width: 58ch; }
.nav-links a.link[aria-current="page"] { color: var(--fg); }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 600; color: var(--brand-fg); text-decoration: none; font-size: 15px; }
.more-link svg { width: 14px; height: 14px; transition: transform 180ms var(--ease); }
.more-link:hover svg { transform: translateX(3px); }
.teaser { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; margin-top: 48px; padding: clamp(24px, 4vw, 40px); border-radius: 20px; border: 1px solid var(--border);
  background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 55%), var(--panel); }
.teaser h3 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.04em; font-weight: 700; }
.teaser p { margin-top: 10px; color: var(--fg-muted); }
.teaser .price-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.price-chip { display: flex; flex-direction: column; padding: 12px 16px; border-radius: 12px; background: var(--muted-bg); min-width: 96px; }
.price-chip b { font-family: var(--font-heading); font-size: 24px; letter-spacing: -0.04em; }
.price-chip span { font-size: 12px; color: var(--fg-muted); }
.price-chip.pick { background: var(--brand); color: var(--on-brand); } .price-chip.pick span { color: inherit; opacity: 0.85; }
@media (max-width: 760px) { .teaser { grid-template-columns: 1fr; } .teaser .price-chips { justify-content: flex-start; } }
.adapter { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; margin-top: 48px; }
@media (max-width: 860px) { .adapter { grid-template-columns: 1fr; } }
.code { background: #100d18; color: #e6e1f2; border-radius: 14px; padding: 20px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; overflow-x: auto; border: 1px solid #2b243b; white-space: pre; }
.code .c { color: #8a839e; } .code .k { color: #c3b1f0; } .code .s { color: #86efac; }
.adapter ol { margin: 20px 0 0; padding-left: 20px; color: var(--fg-muted); display: flex; flex-direction: column; gap: 10px; }
.adapter ol b { color: var(--fg); font-weight: 600; }
.next-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.next-links a { display: block; padding: 22px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel); text-decoration: none; transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
.next-links a:hover { border-color: var(--brand-emph); transform: translateY(-2px); }
.next-links b { font-family: var(--font-heading); font-size: 19px; letter-spacing: -0.03em; display: flex; justify-content: space-between; align-items: center; }
.next-links span { display: block; margin-top: 6px; color: var(--fg-muted); font-size: 14px; }
.next-links svg { width: 16px; height: 16px; color: var(--brand-fg); }
@media (max-width: 760px) { .next-links { grid-template-columns: 1fr; } }
.bento .bx-wide { grid-column: span 6; }
.bx-wide .bx-viz { min-height: 0; }
@media (min-width: 981px) { .bx-wide { display: grid; grid-template-columns: 1.4fr 1fr; column-gap: 28px; align-items: center; } .bx-wide .bx-viz { grid-row: span 2; } .bx-wide h3 { margin-top: 0; align-self: end; } .bx-wide > p { align-self: start; } }
@media (max-width: 980px) { .bento .bx-wide { grid-column: span 2; } }
@media (max-width: 620px) { .bento .bx-wide { grid-column: span 1; } }
.logos-cap a { color: var(--brand-fg); text-decoration: none; font-weight: 500; margin-left: 4px; }
.logos-cap a:hover { text-decoration: underline; }
.teaser .price-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) and (min-width: 761px) { .teaser .price-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .teaser .price-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
