/* ==========================================================================
   LazyScale — design system
   Layout: connector board. Copy sits left, live white cards float right and
   are joined by dotted lime connectors (lifted from the brand artwork).
   Pale green ground, soft organic blobs, black ink, one lime accent.
   ========================================================================== */

:root {
  --paper: #F6F9F1;
  --paper-2: #EDF3E4;
  --panel: #FFFFFF;
  --ink: #0D110B;
  --ink-2: #4A5243;
  --ink-3: #687263;
  --line: #E0E7D6;
  --line-2: #C9D3BC;
  --lime: #A3E635;
  --lime-hover: #95DA25;
  --lime-deep: #65A30D;
  --lime-ink: #3F6212;
  --lime-soft: #ECF8D7;
  --lime-glow: rgba(163, 230, 53, .38);
  --on-lime: #0D110B;
  --blob: #E8F2D8;
  --band: #0D110B;
  --band-2: #171D13;
  --band-line: #283022;
  --on-band: #EEF4E7;
  --on-band-2: #A4AE9B;
  --ok: #15803D;
  --ok-soft: #DCFCE7;
  --warn: #B45309;
  --bad: #DC2626;
  --bad-soft: #FEE2E2;
  --on-dark: #FFFFFF;
  --scrim: rgba(9, 12, 7, .55);
  --shadow-1: 0 1px 2px rgba(13, 17, 11, .05), 0 1px 1px rgba(13, 17, 11, .03);
  --shadow-2: 0 18px 40px -18px rgba(13, 17, 11, .22), 0 2px 6px rgba(13, 17, 11, .05);
  --shadow-3: 0 30px 80px -24px rgba(13, 17, 11, .35);
  --shadow-lime: 0 0 0 1px rgba(163, 230, 53, .6), 0 18px 50px -16px rgba(101, 163, 13, .45);

  --font-display: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-script: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  --r-xs: 6px;
  --r-s: 10px;
  --r-m: 14px;
  --r-l: 20px;
  --r-xl: 28px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B0E09;
    --paper-2: #12170F;
    --panel: #161B13;
    --ink: #EDF3E6;
    --ink-2: #AAB4A1;
    --ink-3: #8B9680;
    --line: #252C1F;
    --line-2: #343D2B;
    --lime: #A3E635;
    --lime-hover: #B6F052;
    --lime-deep: #A3E635;
    --lime-ink: #BEF264;
    --lime-soft: #1E2913;
    --lime-glow: rgba(163, 230, 53, .22);
    --blob: #121A0C;
    --band: #10150D;
    --band-2: #192015;
    --band-line: #2A3323;
    --ok: #4ADE80;
    --ok-soft: #12301D;
    --warn: #F59E0B;
    --bad: #F87171;
    --bad-soft: #3A1414;
    --scrim: rgba(0, 0, 0, .65);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-2: 0 18px 40px -18px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .35);
    --shadow-3: 0 30px 80px -24px rgba(0, 0, 0, .8);
    --shadow-lime: 0 0 0 1px rgba(163, 230, 53, .45), 0 18px 50px -16px rgba(163, 230, 53, .25);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0B0E09;
  --paper-2: #12170F;
  --panel: #161B13;
  --ink: #EDF3E6;
  --ink-2: #AAB4A1;
  --ink-3: #8B9680;
  --line: #252C1F;
  --line-2: #343D2B;
  --lime: #A3E635;
  --lime-hover: #B6F052;
  --lime-deep: #A3E635;
  --lime-ink: #BEF264;
  --lime-soft: #1E2913;
  --lime-glow: rgba(163, 230, 53, .22);
  --blob: #121A0C;
  --band: #10150D;
  --band-2: #192015;
  --band-line: #2A3323;
  --ok: #4ADE80;
  --ok-soft: #12301D;
  --warn: #F59E0B;
  --bad: #F87171;
  --bad-soft: #3A1414;
  --scrim: rgba(0, 0, 0, .65);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 18px 40px -18px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .35);
  --shadow-3: 0 30px 80px -24px rgba(0, 0, 0, .8);
  --shadow-lime: 0 0 0 1px rgba(163, 230, 53, .45), 0 18px 50px -16px rgba(163, 230, 53, .25);
  color-scheme: dark;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--on-lime); }
[hidden] { display: none !important; }

.ico {
  width: 1.15em; height: 1.15em;
  stroke: currentColor; fill: none;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
  flex: none; display: inline-block; vertical-align: -0.2em;
}
.ico--fill { fill: currentColor; stroke: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.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: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.h-display { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5rem); line-height: .98; letter-spacing: -.045em; }
.h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4rem); line-height: 1; letter-spacing: -.042em; }
.h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem); }
.h3 { font-size: 1.3rem; letter-spacing: -.025em; line-height: 1.2; font-weight: 700; }
.h4 { font-size: 1.05rem; letter-spacing: -.015em; line-height: 1.3; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); line-height: 1.6; max-width: 58ch; }
.muted { color: var(--ink-2); }
.subtle { color: var(--ink-3); }
.small { font-size: .875rem; }
.xs { font-size: .78rem; }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }
.num { font-variant-numeric: tabular-nums; }
.script { font-family: var(--font-script); font-weight: 600; letter-spacing: 0; }
.grad-lime {
  background: linear-gradient(100deg, var(--lime-deep) 10%, var(--lime) 90%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex; flex-direction: column; gap: 12px;
  font-family: var(--font-mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 48px; height: 3px; border-radius: 3px; background: var(--lime); }
.eyebrow--inline { flex-direction: row; align-items: center; gap: 10px; }
.eyebrow--inline::before { width: 20px; }
.band .eyebrow { color: var(--on-band-2); }
.link { color: var(--lime-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link .ico { transition: transform .2s; }
.link:hover .ico { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding-inline: 20px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: -.005em; white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s, transform .12s, box-shadow .18s;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn--lime { background: var(--lime); color: var(--on-lime); box-shadow: inset 0 -2px 0 rgba(13, 17, 11, .12), 0 8px 22px -10px var(--lime-glow); }
.btn--lime:hover { background: var(--lime-hover); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: color-mix(in srgb, var(--ink) 86%, var(--lime)); }
.btn--ghost { background: var(--panel); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--text { padding-inline: 8px; color: var(--ink-2); }
.btn--text:hover { color: var(--ink); }
.btn--sm { --h: 38px; padding-inline: 14px; font-size: .875rem; }
.btn--lg { --h: 54px; padding-inline: 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.band .btn--ghost { background: transparent; color: var(--on-band); border-color: var(--band-line); }
.band .btn--ghost:hover { border-color: var(--on-band); }

.icon-btn {
  width: 40px; height: 40px; border-radius: 999px;
  display: inline-grid; place-items: center;
  color: var(--ink-2); border: 1px solid var(--line);
  background: var(--panel); position: relative;
  transition: color .15s, border-color .15s;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); }

/* ---------- Chips, tags, badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding-inline: 14px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--ink-2); font-size: .86rem; font-weight: 500;
  transition: border-color .15s, color .15s, background .15s;
}
.chip:hover { border-color: var(--lime-deep); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-2);
  font-size: .76rem; font-weight: 500; white-space: nowrap;
}
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  background: var(--paper-2); color: var(--ink-2);
}
.badge--lime { background: var(--lime); color: var(--on-lime); }
.badge--soft { background: var(--lime-soft); color: var(--lime-ink); }
.badge--ink { background: var(--ink); color: var(--paper); }
.verified { color: var(--lime-ink); display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; }
.stars { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .88rem; }
.stars .ico { color: #E9B10A; width: 1em; height: 1em; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px var(--lime-glow); flex: none; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--band); color: var(--on-band); font-size: .86rem; }
.topbar-in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding-block: 8px; text-align: center; flex-wrap: wrap; }
.topbar a { color: var(--lime); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar .badge { background: var(--lime); color: var(--on-lime); }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: -.04em; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-inline-start: 18px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; color: var(--ink-2);
  font-weight: 500; font-size: .94rem; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--panel); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.nav-signin { padding: 8px 12px; font-weight: 600; font-size: .94rem; color: var(--ink-2); }
.nav-signin:hover { color: var(--ink); }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding-inline: 5px;
  border-radius: 999px; background: var(--lime); color: var(--on-lime);
  font-size: .68rem; font-weight: 700; display: grid; place-items: center; font-family: var(--font-mono);
  box-shadow: 0 0 0 2px var(--paper);
}
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }
.theme-ico-dark { display: none; }
:root[data-theme="dark"] .theme-ico-dark { display: inline-block; }
:root[data-theme="dark"] .theme-ico-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-ico-dark { display: inline-block; }
  :root:not([data-theme="light"]) .theme-ico-light { display: none; }
}

.mobile-menu { border-top: 1px solid var(--line); background: var(--paper); padding-block: 12px 20px; }
.mobile-menu nav { display: grid; gap: 2px; }
.mobile-menu nav a { padding: 12px 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.03em; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu .mm-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .nav-links, .nav-signin, .nav-cta { display: none; }
  .menu-btn { display: inline-grid; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--band); color: var(--on-band); padding-block: 72px 28px; margin-top: 0; }
.site-footer .brand-name { color: var(--on-band); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.foot-about p { color: var(--on-band-2); margin-top: 16px; max-width: 34ch; font-size: .94rem; }
.foot-col h2 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-band-2); font-weight: 500; margin-bottom: 14px; }
.foot-col ul { display: grid; gap: 10px; }
.foot-col a { color: var(--on-band); opacity: .86; font-size: .94rem; }
.foot-col a:hover { opacity: 1; color: var(--lime); }
.foot-news { margin-top: 24px; display: flex; gap: 8px; max-width: 380px; }
.foot-news input {
  flex: 1; min-width: 0; height: 44px; border-radius: 999px; padding-inline: 16px;
  background: var(--band-2); border: 1px solid var(--band-line); color: var(--on-band);
}
.foot-news input::placeholder { color: var(--on-band-2); }
.foot-news input:focus { outline: none; border-color: var(--lime); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--band-line); display: flex; gap: 16px 28px; justify-content: space-between; flex-wrap: wrap; color: var(--on-band-2); font-size: .86rem; }
.foot-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-bottom a:hover { color: var(--on-band); }
.foot-status { display: inline-flex; align-items: center; gap: 8px; }
.foot-made { font-family: var(--font-script); font-size: 1.35rem; color: var(--lime); line-height: 1; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-about { grid-column: 1 / -1; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--line { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px 72px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head > div { display: grid; gap: 18px; justify-items: start; }
.sec-head .lead { justify-self: start; }
.sec-head--stack { grid-template-columns: minmax(0, 1fr); max-width: 780px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }

.band { background: var(--band); color: var(--on-band); }
.band .lead, .band .muted { color: var(--on-band-2); }
.band .h2 { color: var(--on-band); }

.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.blobs::before, .blobs::after { content: ""; position: absolute; border-radius: 50%; background: var(--blob); }
.blobs::before { width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; right: -18vw; top: -26vw; }
.blobs::after { width: 46vw; height: 30vw; left: -14vw; bottom: -12vw; border-radius: 50% 50% 40% 60%; }
.page-top { position: relative; isolation: isolate; }
.page-top > .wrap { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(44px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; min-width: 0; }
.hero-title { font-size: clamp(2.5rem, 1.3rem + 4.4vw, 4.75rem); line-height: .98; letter-spacing: -.048em; }
.hero-title span { display: block; }
.hero-sub { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--ink-2); max-width: 50ch; }
.hero-note { position: relative; font-size: 1.7rem; color: var(--ink); transform: rotate(-4deg); display: inline-block; margin-top: 4px; line-height: 1; }
.hero-note svg { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 12px; stroke: var(--lime-deep); fill: none; stroke-width: 3; stroke-linecap: round; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.gapform {
  width: 100%; max-width: 600px;
  display: flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 7px 7px 20px;
  box-shadow: var(--shadow-2);
  transition: border-color .2s, box-shadow .2s;
}
.gapform:focus-within { border-color: var(--lime-deep); box-shadow: var(--shadow-2), 0 0 0 4px var(--lime-glow); }
.gapform .ico { color: var(--ink-3); }
.gapform input { flex: 1; min-width: 0; border: 0; background: transparent; height: 46px; font-size: 1rem; outline: none; }
.gapform input::placeholder { color: var(--ink-3); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero-chips > span { font-size: .86rem; color: var(--ink-3); margin-right: 2px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: .9rem; }
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .ico { color: var(--lime-deep); }
@media (max-width: 520px) {
  .gapform { flex-wrap: wrap; border-radius: var(--r-l); padding: 10px; }
  .gapform > .ico { display: none; }
  .gapform input { padding-inline: 8px; }
  .gapform .btn { width: 100%; }
}

/* ---------- Match board (hero) ---------- */
.board { position: relative; min-width: 0; }
.board-stage { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 84px); align-items: center; padding: 56px 0 8px; min-height: 360px; }
.board-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.board-wires path.wire { fill: none; stroke: var(--lime-deep); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 0 8; }
.board-wires path.wire.flow { animation: flow 1.1s linear infinite; }
.board-wires path.wire.dim { stroke: var(--line-2); }
.board-wires .arrow { fill: none; stroke: var(--lime-deep); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.board-wires .arrow.dim { stroke: var(--line-2); }
@keyframes flow { to { stroke-dashoffset: -16; } }

.board-pill {
  position: absolute; top: 0; right: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--lime-soft); color: var(--ink);
  border-radius: 999px; padding: 10px 18px 10px 14px;
  font-weight: 600; font-size: .9rem; line-height: 1.2;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--lime) 50%, transparent);
}
.board-pill .ico { width: 1.5em; height: 1.5em; color: var(--lime-ink); }
.board-pill small { display: block; font-weight: 500; color: var(--ink-2); font-size: .78rem; }

.src-card {
  position: relative; z-index: 1;
  background: var(--panel); border-radius: var(--r-l);
  padding: 18px 18px 16px; box-shadow: var(--shadow-2);
  border: 1px solid var(--line);
  display: grid; gap: 12px;
}
.src-card .who { display: flex; align-items: center; gap: 10px; }
.src-card .who-av { width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; color: var(--ink-2); }
.src-card .who b { font-size: .9rem; display: block; line-height: 1.2; }
.src-card .who span { font-size: .76rem; color: var(--ink-3); }
.src-text { font-size: 1.02rem; line-height: 1.45; min-height: 3em; font-weight: 500; }
.src-text .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--lime-deep); vertical-align: -0.18em; margin-left: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.src-parsed { display: flex; flex-wrap: wrap; gap: 6px; }
.src-parsed .tag b { color: var(--ink); font-weight: 600; }
.src-card .socket, .tgt-card .socket {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--panel); border: 2.5px solid var(--lime-deep); top: 50%; translate: 0 -50%;
}
.src-card .socket { right: -7px; }
.tgt-card .socket { left: -7px; }

.tgt-list { display: grid; gap: 14px; position: relative; z-index: 1; }
.tgt-card {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: var(--panel); border-radius: var(--r-m); padding: 12px 14px;
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s, box-shadow .2s;
}
.tgt-card:hover { box-shadow: var(--shadow-2); }
button.tgt-card { width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.tgt-card .tgt-name, .tgt-card .tgt-sub { display: block; }
.tgt-card .tgt-body { min-width: 0; }
.tgt-card.is-best { border-color: color-mix(in srgb, var(--lime) 70%, transparent); box-shadow: var(--shadow-lime); }
.tgt-card .tgt-name { font-weight: 700; font-size: .95rem; line-height: 1.25; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tgt-card .tgt-sub { font-size: .78rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score { font-family: var(--font-mono); font-size: .8rem; font-weight: 600; padding: 4px 8px; border-radius: 8px; background: var(--paper-2); color: var(--ink); }
.is-best .score { background: var(--lime); color: var(--on-lime); }
.tgt-card.enter { animation: tgtIn .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes tgtIn { from { transform: translateX(14px); opacity: .2; } }

.board-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px; padding: 14px 16px; border-radius: var(--r-m); background: color-mix(in srgb, var(--panel) 70%, transparent); border: 1px dashed var(--line-2); font-size: .86rem; color: var(--ink-2); }
.board-foot .status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em; }
.board-empty { padding: 18px; border-radius: var(--r-m); border: 1px dashed var(--line-2); background: var(--panel); font-size: .9rem; color: var(--ink-2); display: grid; gap: 10px; }

@media (max-width: 600px) {
  .board-stage { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 64px; min-height: 0; }
  .tgt-list { padding-left: 22px; }
  .src-card .socket { right: auto; left: 22px; top: auto; bottom: -7px; translate: 0 0; }
  .board-pill { left: 0; right: auto; }
}

/* Monogram logos */
.mlogo {
  --c: var(--ink);
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: .92rem; letter-spacing: -.04em;
  background: var(--c); color: var(--mlogo-fg, var(--on-dark));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.mlogo--lg { width: 56px; height: 56px; border-radius: 15px; font-size: 1.2rem; }

/* ---------- Wordmark strip ---------- */
.logos { padding-block: 8px 24px; }
.logos-label { text-align: center; color: var(--ink-3); font-size: .88rem; margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; align-items: center; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.wm { color: var(--ink-3); font-size: 1.35rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.wm-a { font-family: var(--font-display); font-weight: 800; letter-spacing: -.05em; }
.wm-b { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 600; }
.wm-c { font-family: var(--font-mono); font-weight: 600; font-size: 1.1rem; letter-spacing: .02em; text-transform: uppercase; }
.wm-d { font-family: var(--font-body); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 1rem; }
.wm-e { font-family: var(--font-script); font-size: 1.9rem; font-weight: 600; }
.wm-f { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; }
.wm i { width: 18px; height: 18px; border-radius: 5px; background: currentColor; display: inline-block; opacity: .9; }
.wm i.r { border-radius: 50%; }
.wm i.t { clip-path: polygon(50% 0, 100% 100%, 0 100%); border-radius: 0; }

/* ---------- Versus (problem) ---------- */
.versus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.versus-col { border-radius: var(--r-l); padding: clamp(24px, 3vw, 40px); display: grid; gap: 22px; align-content: start; }
.versus-col--old { background: var(--paper-2); }
.versus-col--new { background: var(--panel); box-shadow: var(--shadow-lime); }
.versus-col header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.versus-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); letter-spacing: -.05em; line-height: 1; }
.versus-big small { font-size: .4em; letter-spacing: -.01em; color: var(--ink-2); font-weight: 600; margin-left: 6px; }
.versus-list { display: grid; gap: 12px; }
.versus-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--ink-2); }
.versus-list .ico { margin-top: 3px; }
.versus-col--old .versus-list .ico { color: var(--ink-3); }
.versus-col--new .versus-list .ico { color: var(--lime-deep); }
.versus-col--new .versus-list li { color: var(--ink); }
.versus-col--old .versus-big { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: color-mix(in srgb, var(--bad) 70%, transparent); }
@media (max-width: 800px) { .versus { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { display: grid; grid-template-rows: auto auto 1fr; gap: 14px; }
.step-num { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.step-num::after { content: ""; flex: 1; height: 0; border-top: 2px dotted var(--line-2); }
.step:last-child .step-num::after { display: none; }
.step h3 { margin-top: 2px; }
.step p { color: var(--ink-2); }
.step-ui { margin-top: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; box-shadow: var(--shadow-1); display: grid; gap: 10px; align-content: start; font-size: .88rem; }
.step-ui .fake-input { border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 10px 12px; color: var(--ink); line-height: 1.45; background: var(--paper); }
.step-ui .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.step-ui .bar { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; flex: 1; max-width: 120px; }
.step-ui .bar i { display: block; height: 100%; background: var(--lime-deep); border-radius: inherit; }
.step-ui .mail { border-left: 3px solid var(--lime); padding-left: 12px; display: grid; gap: 4px; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } .step-num::after { display: none; } }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 20px; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; min-height: 196px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cat:hover { border-color: var(--lime-deep); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.cat-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lime-soft); color: var(--lime-ink); }
.cat-ico .ico { width: 22px; height: 22px; }
.cat h3 { font-size: 1.08rem; letter-spacing: -.02em; font-weight: 700; line-height: 1.25; }
.cat p { font-size: .84rem; color: var(--ink-3); margin-top: 6px; line-height: 1.45; }
.cat-foot { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--ink-2); }
.cat-foot .ico { color: var(--ink-3); transition: transform .2s, color .2s; }
.cat:hover .cat-foot .ico { transform: translateX(3px); color: var(--lime-ink); }
@media (max-width: 1060px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .cat { min-height: 0; padding: 16px; } .cat p { display: none; } }

/* ---------- Stats + live feed band ---------- */
.ops { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); border-radius: var(--r-l); overflow: hidden; margin-top: 36px; }
.stat { background: var(--band); padding: 24px; display: grid; gap: 6px; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); letter-spacing: -.05em; line-height: 1; color: var(--on-band); font-variant-numeric: tabular-nums; }
.stat-num em { font-style: normal; color: var(--lime); }
.stat-label { color: var(--on-band-2); font-size: .88rem; }
.feed { background: var(--band-2); border: 1px solid var(--band-line); border-radius: var(--r-l); overflow: hidden; }
.feed-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--band-line); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-band-2); }
.feed-head span { display: inline-flex; align-items: center; gap: 8px; }
.feed-list { display: grid; }
.feed-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 14px 18px; border-bottom: 1px solid var(--band-line); align-items: center; }
.feed-row:last-child { border-bottom: 0; }
.feed-row .who { font-weight: 600; color: var(--on-band); font-size: .94rem; }
.feed-row .what { color: var(--on-band-2); font-size: .84rem; grid-column: 1; }
.feed-row .what b { color: var(--lime); font-weight: 600; }
.feed-row .when { grid-row: 1 / span 2; grid-column: 2; font-family: var(--font-mono); font-size: .76rem; color: var(--on-band-2); text-align: right; }
.feed-row .when b { display: block; color: var(--on-band); font-weight: 500; font-size: .82rem; }
.feed-row.enter { animation: feedIn .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes feedIn { from { background: color-mix(in srgb, var(--lime) 14%, transparent); } }
@media (max-width: 900px) { .ops { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bot faces & cards ---------- */
.bot-face {
  --s: 46px; --c: #A3E635; --fc: #0D110B;
  width: var(--s); height: var(--s); border-radius: 30%; flex: none;
  background: var(--c); position: relative; display: inline-block;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14);
}
.bot-face::before, .bot-face::after {
  content: ""; position: absolute; top: 38%; width: 12%; height: 22%;
  background: var(--fc); border-radius: 999px; animation: blink 5s infinite;
}
.bot-face::before { left: 31%; }
.bot-face::after { right: 31%; }
.bot-face i { position: absolute; left: 50%; bottom: 22%; width: 28%; height: 13%; translate: -50% 0; border: calc(var(--s) * .055) solid var(--fc); border-top: 0; border-radius: 0 0 999px 999px; }
.bot-face[data-shape="round"] { border-radius: 50%; }
.bot-face[data-shape="square"] { border-radius: 24%; }
.bot-face[data-shape="tall"] { border-radius: 44% 44% 24% 24%; }
.bot-face[data-shape="leaf"] { border-radius: 50% 18% 50% 18%; }
.bot-face--sm { --s: 32px; }
.bot-face--lg { --s: 72px; }
.bot-face--xl { --s: 96px; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }

.bot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bot-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 20px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; position: relative;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.bot-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.bot-card__head { display: flex; align-items: center; gap: 14px; }
.bot-card__head > div { min-width: 0; }
.bot-card__name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; line-height: 1.2; }
.bot-card__name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.bot-card__cat { font-size: .8rem; color: var(--ink-3); }
.bot-card__badge { position: absolute; top: 16px; right: 16px; }
.bot-card__desc { color: var(--ink-2); font-size: .92rem; line-height: 1.5; }
.bot-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .82rem; color: var(--ink-2); }
.bot-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.bot-card__price { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; }
.bot-card__price small { font-family: var(--font-body); font-weight: 500; font-size: .78rem; color: var(--ink-3); letter-spacing: 0; }
.bot-card__foot .btn { position: relative; z-index: 2; }
.channels { display: inline-flex; gap: 4px; }
.ch { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink-2); }
.ch .ico { width: 14px; height: 14px; }
.bot-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bot-grid--4 .bot-card { padding: 18px; }
@media (max-width: 1180px) { .bot-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .bot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bot-grid { grid-template-columns: minmax(0, 1fr); } }

.mini-chat { background: var(--paper); border-radius: var(--r-m); padding: 12px; display: grid; gap: 8px; font-size: .82rem; line-height: 1.4; }
.mini-msg { max-width: 88%; padding: 8px 11px; border-radius: 12px 12px 12px 4px; background: var(--panel); border: 1px solid var(--line); }
.mini-msg--me { justify-self: end; background: var(--ink); color: var(--paper); border-color: var(--ink); border-radius: 12px 12px 4px 12px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; }
.quotes-side { display: grid; gap: 18px; }
.quote { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 3vw, 32px); display: grid; gap: 22px; align-content: space-between; }
.quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.quote--big { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.quote--big blockquote { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); line-height: 1.22; letter-spacing: -.03em; color: var(--on-lime); }
.quote--big .quote-person div span { color: color-mix(in srgb, var(--on-lime) 75%, transparent); }
.quote-person { display: flex; align-items: center; gap: 12px; }
.quote-person b { display: block; font-size: .94rem; line-height: 1.3; }
.quote-person div span { font-size: .84rem; color: var(--ink-3); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: var(--ink); color: var(--paper); flex: none; }
.quote--big .avatar { background: var(--on-lime); color: var(--lime); }
.quote-metric { display: flex; gap: 22px; flex-wrap: wrap; }
.quote-metric div { display: grid; }
.quote-metric b { font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -.05em; line-height: 1.05; }
.quote-metric span { font-size: .8rem; opacity: .8; }
@media (max-width: 860px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-wrap > div:first-child { display: grid; gap: 18px; justify-items: start; position: sticky; top: calc(var(--header-h) + 32px); }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform .25s, background .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.faq details > div { padding: 0 48px 22px 0; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } .faq-wrap > div:first-child { position: static; } }

/* ---------- CTA ---------- */
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--lime); color: var(--on-lime);
  border-radius: var(--r-xl); padding: clamp(36px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: end;
}
.cta-card::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -240px; background: rgba(255, 255, 255, .22); z-index: -1; }
.cta-card .h1 { color: var(--on-lime); }
.cta-card p { color: color-mix(in srgb, var(--on-lime) 78%, transparent); font-size: 1.1rem; margin-top: 18px; max-width: 44ch; }
.cta-card .cta-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cta-card .btn--ink { background: var(--on-lime); color: var(--lime); }
.cta-card .btn--ghost { background: transparent; color: var(--on-lime); border-color: color-mix(in srgb, var(--on-lime) 35%, transparent); }
.cta-card .btn--ghost:hover { border-color: var(--on-lime); }
.cta-card .script { font-size: 1.8rem; display: block; margin-bottom: 8px; transform: rotate(-3deg); transform-origin: left; }
@media (max-width: 820px) { .cta-card { grid-template-columns: minmax(0, 1fr); } .cta-card .cta-actions { justify-content: flex-start; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; min-width: 0; }
.field > label, .label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: .78rem; color: var(--ink-3); }
.field .err { font-size: .78rem; color: var(--bad); }
.input, .textarea, .select {
  width: 100%; min-width: 0; height: 46px; padding-inline: 14px;
  border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--panel);
  transition: border-color .15s, box-shadow .15s; font-size: .95rem;
}
.textarea { height: auto; min-height: 104px; padding-block: 12px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--lime-deep); box-shadow: 0 0 0 4px var(--lime-glow); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--bad); }
.select-wrap { position: relative; }
.select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer; }
.select-wrap .ico { position: absolute; right: 13px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--ink-3); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .9rem; color: var(--ink-2); padding-block: 5px; }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-2); background: var(--panel); display: grid; place-items: center; flex: none; margin: 0; cursor: pointer; transition: background .15s, border-color .15s; }
.check input[type="radio"] { border-radius: 50%; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid var(--paper); border-top: 0; border-right: 0; rotate: -45deg; translate: 0 -1px; }
.check input[type="radio"]:checked::after { width: 7px; height: 7px; border: 0; border-radius: 50%; background: var(--paper); rotate: 0deg; translate: 0 0; }
.check:hover { color: var(--ink); }
.check .count { margin-left: auto; font-family: var(--font-mono); font-size: .74rem; color: var(--ink-3); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .9rem; font-weight: 500; }
.switch input { appearance: none; -webkit-appearance: none; width: 40px; height: 24px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; transition: background .2s; margin: 0; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--panel); box-shadow: var(--shadow-1); transition: transform .2s; }
.switch input:checked { background: var(--lime-deep); }
.switch input:checked::after { transform: translateX(16px); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); gap: 2px; border: 1px solid var(--line); }
.seg button { height: 34px; padding-inline: 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--ink-2); transition: background .15s, color .15s; display: inline-flex; align-items: center; gap: 6px; }
.seg button[aria-pressed="true"] { background: var(--panel); color: var(--ink); box-shadow: var(--shadow-1); }
.seg .save { font-size: .7rem; background: var(--lime); color: var(--on-lime); padding: 2px 6px; border-radius: 999px; font-family: var(--font-mono); }
input[type="range"].range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--lime-deep) var(--p, 50%), var(--line-2) var(--p, 50%)); outline: none; }
input[type="range"].range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--panel); border: 2px solid var(--lime-deep); box-shadow: var(--shadow-1); cursor: pointer; }
input[type="range"].range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--panel); border: 2px solid var(--lime-deep); cursor: pointer; }

/* ---------- Dialogs, drawers, toasts ---------- */
.modal {
  border: 0; padding: 0; color: var(--ink); background: var(--panel);
  border-radius: var(--r-xl); width: min(580px, calc(100vw - 24px)); max-height: calc(100dvh - 32px);
  box-shadow: var(--shadow-3); overflow: hidden;
}
.modal--wide { width: min(980px, calc(100vw - 24px)); }
.modal::backdrop { background: var(--scrim); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal[open] { display: flex; flex-direction: column; animation: modalIn .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes modalIn { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 24px 0; }
.modal-head h2 { font-size: 1.45rem; letter-spacing: -.035em; }
.modal-head p { color: var(--ink-2); font-size: .92rem; margin-top: 6px; }
.modal-body { padding: 20px 24px 24px; overflow-y: auto; display: grid; gap: 16px; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; background: var(--paper); }
.modal-close { flex: none; }
.success { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 18px 6px 6px; }
.success-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.success-ico .ico { width: 30px; height: 30px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.receipt { width: 100%; text-align: left; border: 1px dashed var(--line-2); border-radius: var(--r-m); padding: 14px 16px; display: grid; gap: 8px; font-size: .88rem; }
.receipt div { display: flex; justify-content: space-between; gap: 12px; }
.receipt dt { color: var(--ink-3); }
.receipt dd { font-weight: 600; text-align: right; }

.drawer {
  margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(440px, 100vw);
  border: 0; padding: 0; background: var(--panel); color: var(--ink);
  box-shadow: var(--shadow-3); overflow: hidden;
}
.drawer::backdrop { background: var(--scrim); }
.drawer[open] { display: flex; flex-direction: column; animation: drawerIn .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } }
.drawer .modal-body { flex: 1; align-content: start; }
.cart-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--line); }
.cart-line b { display: block; font-size: .95rem; }
.cart-line span { font-size: .8rem; color: var(--ink-3); }
.cart-line .price { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.cart-line .rm { color: var(--ink-3); font-size: .78rem; display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.cart-line .rm:hover { color: var(--bad); }
.totals { display: grid; gap: 8px; font-size: .92rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 700; font-size: 1.05rem; padding-top: 8px; border-top: 1px solid var(--line); }
.empty { text-align: center; padding: 40px 16px; display: grid; gap: 12px; justify-items: center; color: var(--ink-2); }
.empty .ico { width: 36px; height: 36px; color: var(--ink-3); }

.toasts { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; z-index: 300; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-size: .9rem; font-weight: 500; display: inline-flex; align-items: center; gap: 10px; box-shadow: var(--shadow-3); animation: toastIn .3s cubic-bezier(.2, .8, .2, 1); pointer-events: auto; }
.toast .ico { color: var(--lime); }
.toast.out { animation: toastOut .25s forwards; }
@keyframes toastIn { from { transform: translateY(12px); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(8px); opacity: 0; } }

/* ---------- Page heads (inner pages) ---------- */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px 64px; align-items: end; }
.page-head-grid > div:first-child { display: grid; gap: 20px; justify-items: start; }
@media (max-width: 900px) { .page-head-grid { grid-template-columns: minmax(0, 1fr); } }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--ink-3); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .ico { width: 14px; height: 14px; }

/* ---------- Discover ---------- */
.disc-search { display: flex; gap: 8px; width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; align-items: center; box-shadow: var(--shadow-1); }
.disc-search:focus-within { border-color: var(--lime-deep); box-shadow: 0 0 0 4px var(--lime-glow); }
.disc-search .ico { color: var(--ink-3); }
.disc-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; height: 44px; }
.disc-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-top: 18px; min-height: 40px; }
.partner-grid:empty { min-height: 80vh; }
.disc-cats::-webkit-scrollbar { display: none; }
.disc-cats .chip { flex: none; }
.disc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; padding-bottom: 96px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 26px; max-height: calc(100dvh - var(--header-h) - 40px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.filter-group { display: grid; gap: 4px; }
.filter-group h3 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 6px; }
.filters-head { display: none; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.results-bar .count { color: var(--ink-2); font-size: .92rem; }
.results-bar .count b { color: var(--ink); }
.results-actions { display: flex; gap: 8px; align-items: center; }
.results-actions .select { height: 38px; border-radius: 999px; font-size: .86rem; width: auto; }
.filter-toggle { display: none; }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pcard {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 20px; display: grid; gap: 14px; grid-template-rows: auto auto 1fr auto auto auto; position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.pcard:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.pcard.is-compared { border-color: var(--lime-deep); box-shadow: var(--shadow-lime); }
.pcard__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.pcard__name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.03em; line-height: 1.2; }
.pcard__sub { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--ink-3); flex-wrap: wrap; }
.pcard__tagline { font-weight: 600; font-size: .96rem; line-height: 1.4; }
.pcard__desc { color: var(--ink-2); font-size: .88rem; line-height: 1.5; align-self: start; }
.pcard__tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; align-content: flex-start; }
.pcard__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-block: 12px; border-block: 1px solid var(--line); }
.pcard__stats div { display: grid; gap: 2px; min-width: 0; }
.pcard__stats dt { font-size: .72rem; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.pcard__stats dd { font-size: .88rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.save-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); border: 1px solid var(--line); transition: color .15s, background .15s, border-color .15s; }
.save-btn:hover { color: var(--ink); border-color: var(--line-2); }
.save-btn[aria-pressed="true"] { color: var(--bad); background: var(--bad-soft); border-color: transparent; }
.save-btn[aria-pressed="true"] .ico { fill: currentColor; }
.cmp-check { font-size: .84rem; }
.concierge { margin-top: 24px; border: 1px dashed var(--line-2); border-radius: var(--r-l); padding: 22px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--panel); }
.concierge > div { display: flex; gap: 14px; align-items: center; min-width: 0; flex: 1 1 320px; }
.concierge .bigico { width: 48px; height: 48px; border-radius: 14px; background: var(--lime-soft); color: var(--lime-ink); display: grid; place-items: center; flex: none; }
.compare-tray {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; z-index: 70;
  width: min(760px, calc(100vw - 24px));
  background: var(--ink); color: var(--paper); border-radius: var(--r-l);
  padding: 10px 10px 10px 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-3);
  animation: toastIn .3s cubic-bezier(.2, .8, .2, 1);
}
.compare-tray .slots { display: flex; gap: 8px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.compare-tray .slot { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 5px; border-radius: 12px; background: color-mix(in srgb, var(--paper) 12%, transparent); font-size: .84rem; font-weight: 600; white-space: nowrap; }
.compare-tray .slot .mlogo { width: 26px; height: 26px; border-radius: 8px; font-size: .64rem; }
.compare-tray .slot button { color: inherit; opacity: .6; display: grid; place-items: center; }
.compare-tray .slot button:hover { opacity: 1; }
.compare-tray .slot.empty { border: 1px dashed color-mix(in srgb, var(--paper) 30%, transparent); background: transparent; color: color-mix(in srgb, var(--paper) 60%, transparent); padding-inline: 12px; font-weight: 500; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.cmp-table th, .cmp-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table thead th { background: var(--paper); vertical-align: bottom; }
.cmp-table tbody th { color: var(--ink-3); font-weight: 500; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; width: 150px; }
.cmp-table .best { color: var(--lime-ink); font-weight: 700; }
.cmp-head { display: grid; gap: 8px; justify-items: start; }
@media (max-width: 1100px) { .partner-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .disc-layout { grid-template-columns: minmax(0, 1fr); }
  .filter-toggle { display: inline-flex; }
  .filters { position: fixed; inset: 0 auto 0 0; top: 0; width: min(340px, 88vw); max-height: none; height: 100dvh; background: var(--panel); z-index: 120; padding: 20px; box-shadow: var(--shadow-3); transform: translateX(-105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
  .filters.is-open { transform: none; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; }
  .filters-scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 110; }
}
@media (min-width: 1101px) and (max-width: 1240px) { .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Bots page ---------- */
.omni { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .72fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: center; min-height: 420px; }
.omni-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.omni-msg { position: relative; z-index: 1; background: var(--panel); border-radius: var(--r-l); padding: 16px; box-shadow: var(--shadow-2); border: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-self: end; margin-bottom: 18px; justify-self: start; width: 100%; max-width: 340px; }
.omni-msg .who-av { width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; color: var(--ink-2); }
.omni-msg p { font-size: .92rem; line-height: 1.45; }
.omni-msg time { display: block; text-align: right; font-size: .74rem; color: var(--ink-3); margin-top: 6px; font-family: var(--font-mono); }
.omni-chs { display: grid; gap: 12px; position: relative; z-index: 1; }
.omni-ch { background: var(--panel); border-radius: var(--r-m); padding: 12px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; box-shadow: var(--shadow-1); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; transition: box-shadow .3s, border-color .3s; }
.omni-ch .ch-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.omni-ch .ch-ico .ico { width: 18px; height: 18px; }
.omni-ch .bars { display: grid; gap: 5px; margin-top: 4px; }
.omni-ch .bars i { display: block; height: 5px; border-radius: 4px; background: var(--paper-2); }
.omni-ch .bars i:last-child { width: 60%; }
.omni-ch .led { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); align-self: start; }
.omni-ch.is-active { border-color: var(--lime-deep); box-shadow: var(--shadow-lime); }
.omni-reply { position: relative; z-index: 1; background: var(--panel); border-radius: var(--r-l); padding: 16px; box-shadow: var(--shadow-lime); display: grid; gap: 12px; }
.omni-reply header { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.omni-reply header img { width: 30px; height: 30px; border-radius: 8px; }
.omni-reply .bubble { background: var(--lime-soft); border-radius: 14px; padding: 12px 14px; font-size: .92rem; line-height: 1.5; min-height: 5.2em; }
.omni-pill { position: absolute; top: -8px; right: 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: var(--lime-soft); padding: 8px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600; line-height: 1.2; box-shadow: 0 0 0 1px color-mix(in srgb, var(--lime) 50%, transparent); }
.omni-pill .ico { color: var(--lime-ink); }
@media (max-width: 1020px) { .omni { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; } .omni-msg { grid-column: 1 / -1; align-self: auto; margin: 0; max-width: none; } .omni-wires { display: none; } .omni-pill { position: static; justify-self: start; grid-column: 1 / -1; } }
@media (max-width: 600px) { .omni { grid-template-columns: minmax(0, 1fr); min-height: 0; } }

.store-tools { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 22px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tabs .chip { flex: none; }
.tabs .chip .n { font-family: var(--font-mono); font-size: .72rem; opacity: .7; }
.store-search { display: flex; gap: 8px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding-inline: 14px; height: 40px; min-width: 0; flex: 1 1 200px; }
.store-filters { display: flex; gap: 10px; align-items: center; flex: 0 1 460px; min-width: 0; }
@media (max-width: 600px) { .store-filters { flex: 1 1 100%; } }
.store-search input { border: 0; outline: none; background: transparent; flex: 1; min-width: 0; font-size: .9rem; }
.store-search:focus-within { border-color: var(--lime-deep); }

.playground { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.pg-list { background: var(--band-2); border: 1px solid var(--band-line); border-radius: var(--r-l); padding: 8px; display: grid; gap: 2px; align-content: start; max-height: 600px; overflow-y: auto; scrollbar-width: thin; }
.pg-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 12px; text-align: left; color: var(--on-band); transition: background .15s; }
.pg-item:hover { background: color-mix(in srgb, var(--on-band) 6%, transparent); }
.pg-item[aria-pressed="true"] { background: color-mix(in srgb, var(--lime) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lime) 45%, transparent); }
.pg-item b { display: block; font-size: .92rem; }
.pg-item span { font-size: .78rem; color: var(--on-band-2); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) {
  .playground { grid-template-columns: minmax(0, 1fr); }
  .pg-list { display: flex; overflow-x: auto; max-height: none; gap: 6px; }
  .pg-item { flex: none; grid-template-columns: auto auto; }
  .pg-item > span > span { display: none; }
}

/* Chat */
.chat { background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-l); display: flex; flex-direction: column; height: 600px; max-height: 80vh; overflow: hidden; box-shadow: var(--shadow-2); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-head b { display: block; font-size: .98rem; line-height: 1.25; }
.chat-head span { font-size: .78rem; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.chat-head span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.chat-head .chat-reset { margin-left: auto; }
.chat-sim { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 6px 16px; background: var(--paper); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 4px 10px; flex-wrap: wrap; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; background: var(--paper); }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px 16px 16px 5px; background: var(--panel); border: 1px solid var(--line); font-size: .92rem; line-height: 1.5; animation: msgIn .3s cubic-bezier(.2, .8, .2, 1); white-space: pre-line; }
.msg--me { align-self: flex-end; background: var(--ink); border-color: var(--ink); color: var(--paper); border-radius: 16px 16px 5px 16px; }
@keyframes msgIn { from { transform: translateY(6px); opacity: 0; } }
.msg-card { margin-top: 10px; background: var(--paper); border-radius: 12px; padding: 10px 12px; display: grid; gap: 6px; font-size: .84rem; border: 1px solid var(--line); }
.msg-card b { font-size: .86rem; }
.msg-card div { display: flex; justify-content: space-between; gap: 12px; }
.msg-card dt { color: var(--ink-3); }
.msg-card dd { font-weight: 600; text-align: right; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px 16px 16px 5px; align-self: flex-start; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-chips { display: flex; gap: 6px; padding: 10px 12px 0; overflow-x: auto; scrollbar-width: none; background: var(--panel); }
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips .chip { flex: none; height: 32px; font-size: .82rem; }
.chat-form { display: flex; gap: 8px; padding: 12px; background: var(--panel); }
.chat-form input { flex: 1; min-width: 0; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); padding-inline: 16px; background: var(--paper); font-size: .92rem; }
.chat-form input:focus { outline: none; border-color: var(--lime-deep); }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; flex: none; }
.chat-form button:hover { background: var(--lime-hover); }

/* Customizer */
.customizer { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
.cz-controls { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; display: grid; gap: 20px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; background: var(--sw); border: 3px solid var(--panel); box-shadow: 0 0 0 1px var(--line-2); transition: box-shadow .15s, transform .15s; }
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"], .swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink); }
.cz-preview { display: grid; gap: 14px; min-width: 0; }
.site-mock { position: relative; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow-2); height: 520px; }
.site-mock .bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.site-mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.site-mock .bar span { margin-left: 10px; font-family: var(--font-mono); font-size: .74rem; color: var(--ink-3); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
.site-mock .skel { padding: 26px; display: grid; gap: 12px; }
.site-mock .skel i { display: block; height: 12px; border-radius: 6px; background: var(--paper-2); }
.site-mock .skel i.h { height: 26px; width: 55%; }
.site-mock .skel i.img { height: 120px; border-radius: 12px; }
.widget { --wa: #A3E635; --wfg: #0D110B; position: absolute; bottom: 16px; width: min(300px, calc(100% - 32px)); background: var(--panel); border-radius: 18px; box-shadow: var(--shadow-3); overflow: hidden; border: 1px solid var(--line); transition: left .3s, right .3s; }
.widget.right { right: 16px; }
.widget.left { left: 16px; }
.widget-head { background: var(--wa); color: var(--wfg); padding: 14px; display: flex; gap: 10px; align-items: center; }
.widget-head b { display: block; font-size: .95rem; }
.widget-head span { font-size: .74rem; opacity: .8; }
.widget-body { padding: 14px; display: grid; gap: 8px; font-size: .84rem; background: var(--paper); }
.widget-body .msg { max-width: 92%; font-size: .84rem; animation: none; }
.widget-body .msg--me { background: var(--wa); color: var(--wfg); border-color: var(--wa); }
.widget-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); align-items: center; font-size: .82rem; color: var(--ink-3); }
.widget-input span { flex: 1; }
.widget-input i { width: 30px; height: 30px; border-radius: 50%; background: var(--wa); color: var(--wfg); display: grid; place-items: center; }
.code { position: relative; background: var(--band); color: var(--on-band); border-radius: var(--r-m); padding: 16px 18px; font-family: var(--font-mono); font-size: .8rem; line-height: 1.65; overflow-x: auto; white-space: pre; }
.code .k { color: var(--lime); }
.code .s { color: #F9D58B; }
.code .c { color: var(--on-band-2); }
.code-copy { position: absolute; top: 10px; right: 10px; }
.code-copy.btn--ghost { background: var(--band-2); color: var(--on-band); border-color: var(--band-line); }
@media (max-width: 900px) { .customizer { grid-template-columns: minmax(0, 1fr); } .site-mock { height: 470px; } }

.includes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.includes > div { background: var(--panel); padding: 22px; display: grid; gap: 10px; align-content: start; }
.includes .ico-box { width: 40px; height: 40px; border-radius: 12px; background: var(--lime-soft); color: var(--lime-ink); display: grid; place-items: center; }
.includes p { color: var(--ink-2); font-size: .9rem; }
@media (max-width: 960px) { .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .includes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bot detail ---------- */
.bd-hero { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.bd-title { display: flex; gap: 18px; align-items: center; }
.bd-title > div { min-width: 0; }
.bd-meta { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; color: var(--ink-2); font-size: .9rem; }
.bd-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; min-width: 0; }
.buy-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; display: grid; gap: 16px; box-shadow: var(--shadow-2); }
.license-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.license-opt:hover { border-color: var(--line-2); }
.license-opt:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.license-opt input { margin-top: 3px; }
.license-opt b { display: block; font-size: .95rem; }
.license-opt span { font-size: .8rem; color: var(--ink-3); display: block; line-height: 1.45; margin-top: 2px; }
.license-opt .p { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; text-align: right; white-space: nowrap; }
.license-opt .p small { display: block; font-family: var(--font-body); font-size: .72rem; color: var(--ink-3); font-weight: 500; letter-spacing: 0; }
.buy-list { display: grid; gap: 8px; font-size: .88rem; color: var(--ink-2); }
.buy-list li { display: flex; gap: 8px; align-items: flex-start; }
.buy-list .ico { color: var(--lime-deep); margin-top: 2px; }
.seg-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.seg-tabs button { padding: 12px 14px; font-weight: 600; font-size: .92rem; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.seg-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--lime-deep); }
.tab-panel { padding-top: 22px; }
.flows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.flows li { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--panel); font-weight: 500; font-size: .92rem; }
.flows li > .ico { color: var(--lime-deep); }
.flows li .n { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-3); width: 22px; flex: none; }
.integr { display: flex; flex-wrap: wrap; gap: 8px; }
.integr span { padding: 10px 14px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--panel); font-weight: 600; font-size: .88rem; }
.reviews { display: grid; gap: 14px; }
.review { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--panel); display: grid; gap: 10px; }
.review header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.review p { color: var(--ink-2); font-size: .94rem; }
.kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.kv div { background: var(--panel); padding: 14px 16px; display: grid; gap: 4px; }
.kv dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.kv dd { font-weight: 700; font-size: 1rem; }
@media (max-width: 1000px) { .bd-hero { grid-template-columns: minmax(0, 1fr); } .buy-card { position: static; } }
@media (max-width: 640px) { .flows { grid-template-columns: minmax(0, 1fr); } .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; display: grid; grid-template-rows: auto auto auto 1fr; gap: 20px; position: relative; }
.plan--featured { background: var(--band); color: var(--on-band); border-color: var(--band); box-shadow: var(--shadow-3); }
.plan--featured .muted, .plan--featured .plan-feats li { color: var(--on-band-2); }
.plan--featured .plan-feats .ico { color: var(--lime); }
.plan-tag { position: absolute; top: 24px; right: 24px; }
.plan h3 { font-size: 1.35rem; }
.plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-price b { font-family: var(--font-display); font-weight: 800; font-size: 3rem; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--ink-3); font-size: .9rem; }
.plan--featured .plan-price span { color: var(--on-band-2); }
.plan-price s { color: var(--ink-3); font-size: .95rem; width: 100%; }
.plan-feats { display: grid; gap: 11px; align-content: start; font-size: .92rem; }
.plan-feats li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: var(--ink-2); }
.plan-feats .ico { color: var(--lime-deep); margin-top: 3px; }
.plan-feats li.off { opacity: .45; }
.plan-feats li.off .ico { color: var(--ink-3); }
.plan--featured .btn--ghost { background: transparent; color: var(--on-band); border-color: var(--band-line); }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } }
.ptable { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.ptable th, .ptable td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.ptable th:first-child, .ptable td:first-child { text-align: left; }
.ptable thead th { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; position: sticky; top: 0; background: var(--paper); }
.ptable .grp td { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2); text-align: left; }
.ptable .ico { color: var(--lime-deep); }
.ptable .no { color: var(--ink-3); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.calc-in { padding: clamp(24px, 4vw, 40px); display: grid; gap: 26px; }
.calc-row { display: grid; gap: 10px; }
.calc-row header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-row output { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-out { background: var(--lime); color: var(--on-lime); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; align-content: center; }
.calc-out .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2.6vw, 4rem); letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-out dl { display: grid; gap: 8px; font-size: .92rem; }
.calc-out dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(13, 17, 11, .15); padding-bottom: 8px; }
.calc-out dd { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .calc { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Partners ---------- */
.p-hero-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow-2); display: grid; gap: 14px; }
.lead-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); }
.lead-card b { display: block; font-size: .92rem; }
.lead-card span { font-size: .8rem; color: var(--ink-3); }
.p-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.p-step { padding: 22px; border-radius: var(--r-l); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.p-step .n { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.p-step p { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 960px) { .p-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .p-steps { grid-template-columns: minmax(0, 1fr); } }
.fees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fee { padding: 26px; border-radius: var(--r-l); border: 1px solid var(--band-line); background: var(--band-2); display: grid; gap: 12px; align-content: start; }
.fee .big { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -.05em; line-height: 1; color: var(--lime); }
.fee h3 { color: var(--on-band); }
.fee p { color: var(--on-band-2); font-size: .92rem; }
@media (max-width: 860px) { .fees { grid-template-columns: minmax(0, 1fr); } }
.apply { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.apply-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-2); overflow: hidden; }
.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.stepper li { padding: 14px 16px; font-size: .84rem; font-weight: 600; color: var(--ink-3); display: flex; align-items: center; gap: 8px; border-bottom: 2px solid transparent; margin-bottom: -1px; min-width: 0; }
.stepper li span { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: .72rem; flex: none; font-family: var(--font-mono); }
.stepper li.is-current { color: var(--ink); border-bottom-color: var(--lime-deep); }
.stepper li.is-current span { border-color: var(--ink); }
.stepper li.is-done span { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.form-step { padding: 26px; display: grid; gap: 18px; }
.form-nav { display: flex; justify-content: space-between; gap: 10px; padding: 16px 26px; border-top: 1px solid var(--line); background: var(--paper); }
.chip-select { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 860px) { .apply { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .stepper li { font-size: 0; gap: 0; justify-content: center; } .stepper li span { font-size: .72rem; } }

/* ---------- Utilities ---------- */
.stack-s { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.stack-m { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.center { text-align: center; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 48px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
}

/* ---------- Account & admin ---------- */
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; background: var(--paper-2); color: var(--ink-2); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--new { background: var(--lime-soft); color: var(--lime-ink); }
.status--in_progress { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.status--done { background: var(--ok-soft); color: var(--ok); }
.status--closed { background: var(--paper-2); color: var(--ink-3); }
.status--awaiting_payment { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.status--paid { background: var(--ok-soft); color: var(--ok); }
.status--payment_failed { background: var(--bad-soft); color: var(--bad); }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.auth-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-2); display: grid; gap: 20px; }
.form-error { background: var(--bad-soft); color: var(--bad); border-radius: var(--r-s); padding: 10px 14px; font-size: .88rem; font-weight: 500; }
.acct-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.acct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.acct-stats div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; display: grid; gap: 4px; }
.acct-stats b { font-family: var(--font-display); font-size: 2rem; letter-spacing: -.05em; line-height: 1; }
.acct-stats span { font-size: .85rem; color: var(--ink-2); }
.req-list { display: grid; gap: 12px; }
.req { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.req-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lime-soft); color: var(--lime-ink); }
.req b { display: block; font-size: 1rem; }
.req p { color: var(--ink-2); font-size: .9rem; margin-top: 2px; overflow-wrap: anywhere; }
.req small { color: var(--ink-3); font-size: .78rem; font-family: var(--font-mono); }
.req-note { grid-column: 2 / -1; background: var(--paper); border-radius: var(--r-s); padding: 10px 12px; font-size: .86rem; color: var(--ink-2); border-left: 3px solid var(--lime); }
.admin-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-block: 20px 14px; }
.admin-bar .row { flex-wrap: wrap; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 900px; background: var(--panel); }
.admin-table th { text-align: left; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; padding: 12px 14px; background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tbody tr { cursor: pointer; transition: background .12s; }
.admin-table tbody tr:hover { background: var(--paper); }
.admin-table .sum { max-width: 320px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.admin-table select { height: 32px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel); padding-inline: 8px; font-size: .82rem; }
.kv-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.kv-list div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.kv-list div:last-child { border-bottom: 0; }
.kv-list dt { color: var(--ink-3); }
.kv-list dd { overflow-wrap: anywhere; white-space: pre-wrap; }
@media (max-width: 860px) { .auth-grid { grid-template-columns: minmax(0, 1fr); } .acct-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .req { grid-template-columns: auto minmax(0, 1fr); } .req > .row { grid-column: 2; justify-content: flex-start !important; } .req-note { grid-column: 1 / -1; } .acct-stats { gap: 8px; } .acct-stats div { padding: 12px; } .acct-stats b { font-size: 1.5rem; } .kv-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- Long-form pages (legal, about) ---------- */
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: 96px; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; font-size: .9rem; }
.doc-toc b { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 8px; }
.doc-toc a { color: var(--ink-2); padding: 6px 10px; border-radius: 8px; }
.doc-toc a:hover { background: var(--paper-2); color: var(--ink); }
.doc { max-width: 70ch; display: grid; gap: 16px; color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.doc h2 { font-size: 1.45rem; color: var(--ink); margin-top: 28px; letter-spacing: -.03em; scroll-margin-top: calc(var(--header-h) + 24px); }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.08rem; color: var(--ink); margin-top: 8px; letter-spacing: -.015em; }
.doc ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }
.doc a { color: var(--lime-ink); text-decoration: underline; text-underline-offset: 3px; }
.doc strong { color: var(--ink); }
.doc .callout { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--lime); border-radius: var(--r-m); padding: 16px 18px; }
.doc-meta { font-family: var(--font-mono); font-size: .76rem; color: var(--ink-3); letter-spacing: .04em; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.values > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; display: grid; gap: 10px; align-content: start; }
.values p { color: var(--ink-2); font-size: .94rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-ways { display: grid; gap: 12px; }
.contact-ways > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; }
.contact-ways p { color: var(--ink-2); font-size: .92rem; }
.nf { text-align: center; display: grid; gap: 20px; justify-items: center; padding-block: clamp(56px, 10vw, 120px); }
.nf .piece { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 10rem); letter-spacing: -.07em; line-height: .9; }
@media (max-width: 860px) { .doc-layout, .contact-grid { grid-template-columns: minmax(0, 1fr); } .doc-toc { position: static; display: none; } .values { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- Bot Studio */
.studio .wrap { display: grid; gap: 0; }
.st-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.st-tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; display: grid; gap: 16px; box-shadow: var(--shadow-1); }
.st-tile__name { display: block; font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; margin-bottom: 4px; }
.st-tile__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.st-tile__stats div { background: var(--paper); border-radius: 12px; padding: 10px; display: grid; gap: 2px; }
.st-tile__stats dt { font-size: .72rem; color: var(--ink-3); }
.st-tile__stats dd { margin: 0; font-weight: 700; font-size: 1.15rem; font-family: var(--font-display); }
.st-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 650; padding: 3px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.st-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-pill--active { background: var(--ok-soft); color: var(--ok); }
.st-pill--trial { background: var(--lime-soft); color: var(--lime-ink); }
.st-pill--expired { background: var(--bad-soft); color: var(--bad); }
.st-pill--paused { background: var(--paper-2); color: var(--ink-3); }
.st-tpl { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.st-tpl__item { text-align: left; display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 14px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.st-tpl__item:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.st-tpl__item span { display: grid; gap: 3px; min-width: 0; }
.st-tpl__item b { font-size: .98rem; }
.st-tpl__item small { color: var(--ink-3); font-size: .78rem; }
.st-tpl__item em { font-style: normal; font-size: .84rem; color: var(--ink-2); line-height: 1.4; }
.st-banner { display: flex; gap: 14px; align-items: center; background: var(--lime-soft); color: var(--lime-ink); border-radius: var(--r-l); padding: 14px 16px; flex-wrap: wrap; }
.st-banner > div { flex: 1 1 260px; }
.st-banner p { margin: 2px 0 0; color: var(--ink-2); }
.st-banner--bad { background: var(--bad-soft); color: var(--bad); }
.st-tabs .chip .ico { width: 15px; height: 15px; }
.st-savebar { position: sticky; bottom: 16px; z-index: 20; margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--ink); color: var(--paper); padding: 10px 12px 10px 18px; border-radius: 999px; box-shadow: var(--shadow-3); font-size: .9rem; }
.st-savebar span { display: inline-flex; gap: 8px; align-items: center; }
.st-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.st-cols .full { grid-column: 1 / -1; }
.st-cols--tight { gap: 20px; }
.st-card { gap: 14px; box-shadow: var(--shadow-1); }
.st-card h2 { margin: 0; }
.st-card .kv-list div { grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; }
.st-card .kv-list dt { color: var(--ink-3); }
.st-card .kv-list dd { margin: 0; }
.st-swatch-custom { display: grid; place-items: center; background: conic-gradient(#ef4444, #f59e0b, #84cc16, #06b6d4, #6366f1, #d946ef, #ef4444); cursor: pointer; position: relative; overflow: hidden; }
.st-swatch-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.st-faqs { display: grid; gap: 10px; }
.st-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 10px; align-items: start; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); position: relative; }
.st-faq .field { gap: 0; }
.st-faq--empty { border-style: dashed; border-color: var(--line-2); }
.st-faq__flag { position: absolute; top: -9px; left: 12px; font-size: .68rem; font-weight: 700; background: var(--panel); color: var(--warn); padding: 0 6px; border-radius: 6px; }
.st-test { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.st-steps { display: grid; gap: 8px; padding-left: 20px; margin: 0; color: var(--ink-2); }
.st-inbox { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: var(--panel); min-height: 560px; }
.st-ib-list { border-right: 1px solid var(--line); overflow-y: auto; max-height: 680px; }
.st-ib-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; width: 100%; text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); background: transparent; align-items: center; }
.st-ib-item:hover { background: var(--paper); }
.st-ib-item.is-on { background: var(--lime-soft); }
.st-ib-av { width: 34px; height: 34px; border-radius: 10px; background: var(--paper-2); display: grid; place-items: center; }
.st-ib-av .ico { width: 17px; height: 17px; }
.st-ib-main { display: grid; min-width: 0; }
.st-ib-main b { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-ib-main small { color: var(--ink-3); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-ib-meta { display: grid; justify-items: end; gap: 4px; font-size: .72rem; color: var(--ink-3); }
.st-thread { display: flex; flex-direction: column; min-width: 0; max-height: 680px; }
.st-th-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.st-th-head small { display: block; font-size: .78rem; }
.st-th-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--paper); min-height: 260px; }
.st-th-log .msg--me { background: var(--panel); color: var(--ink); border-color: var(--line); }
.st-th-log .st-agent { background: var(--lime-soft); border-color: var(--lime); }
.st-who { display: block; font-size: .7rem; font-weight: 700; color: var(--ink-3); }
.st-time { display: block; font-size: .68rem; color: var(--ink-3); margin-top: 4px; }
.st-th-reply { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.st-th-reply textarea { flex: 1; min-height: 46px; }
.st-thread > p { padding: 0 14px 12px; margin: 0; }
.st-lead-card { margin: 12px 16px 0; padding: 10px 12px; border-radius: var(--r-m); background: var(--lime-soft); font-size: .85rem; display: grid; gap: 3px; }
.st-lead-card b { display: flex; gap: 6px; align-items: center; color: var(--lime-ink); }
.st-list { list-style: none; padding: 0; margin: 0; display: grid; }
.st-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.st-list li:last-child { border-bottom: 0; }
.st-meter { height: 10px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.st-meter i { display: block; height: 100%; background: var(--lime-deep); border-radius: inherit; }
.st-danger { border-color: var(--bad-soft); }
@media (max-width: 900px) {
  .st-cols, .st-test { grid-template-columns: minmax(0, 1fr); }
  .st-inbox { grid-template-columns: minmax(0, 1fr); }
  .st-ib-list { max-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .st-faq { grid-template-columns: minmax(0, 1fr) auto; }
  .st-faq .field:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .st-tile__stats dd { font-size: 1rem; }
  .st-savebar { border-radius: var(--r-l); }
}

/* Sample ratings and usage counts on bots, switched off in Admin → Site */
.no-bot-proof .bot-proof { display: none !important; }
.st-card .form-grid { align-items: start; }
