/* =========================================================
   Agentronics — site styles
   Palette rule: black + white + three signal colours, each with one job.
     lime  = go · ready · allow · the action you should take
     amber = caution · partly ready · ask first
     red   = stop · not ready · deny · what you're losing
   Type: Funnel Display (headlines; built from data-point shapes),
         Funnel Sans (text), Martian Mono (machine voice).
   ========================================================= */

:root {
  --ink: #0B0B0C;
  --paper: #FFFFFF;
  --lime: #D4FF3A;
  --amber: #FFB224;
  --red: #FF4D1F;

  --ink-80: rgba(11, 11, 12, .8);
  --ink-65: rgba(11, 11, 12, .65);
  --ink-50: rgba(11, 11, 12, .6); /* .5 failed WCAG AA contrast for small text */
  --ink-25: rgba(11, 11, 12, .25);
  --ink-15: rgba(11, 11, 12, .15);
  --ink-10: rgba(11, 11, 12, .1);
  --ink-06: rgba(11, 11, 12, .06);
  --ink-03: rgba(11, 11, 12, .035);
  --paper-80: rgba(255, 255, 255, .8);
  --paper-65: rgba(255, 255, 255, .65);
  --paper-50: rgba(255, 255, 255, .5);
  --paper-25: rgba(255, 255, 255, .25);
  --paper-15: rgba(255, 255, 255, .15);
  --paper-10: rgba(255, 255, 255, .1);
  --paper-06: rgba(255, 255, 255, .06);

  --f-display: "Funnel Display", "Helvetica Neue", Arial, sans-serif;
  --f-sans: "Funnel Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --nav-h: 72px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  interpolate-size: allow-keywords;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; }
code { font-family: var(--f-mono); font-size: .92em; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .console :focus-visible { outline-color: var(--lime); }
section[id], main [id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

.t-red { color: var(--red); }
.t-lime { color: var(--lime); }
.t-amber { color: var(--amber); }

/* ---------- type ---------- */
.h1 {
  font: 700 clamp(2.4rem, 1rem + 4.6vw, 5.3rem)/.98 var(--f-display);
  letter-spacing: -.045em;
}
.h2 {
  font: 650 clamp(2.1rem, 1.2rem + 3vw, 4.1rem)/1.02 var(--f-display);
  letter-spacing: -.035em;
  max-width: 20ch;
  text-wrap: balance;
}
.h3 {
  font: 650 clamp(1.55rem, 1.1rem + 1.4vw, 2.3rem)/1.06 var(--f-display);
  letter-spacing: -.03em;
  text-wrap: balance;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--f-mono);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-65);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 3px;
  background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink);
}
.dark .eyebrow { color: var(--paper-65); }
.dark .eyebrow::before { box-shadow: none; }
.sub { margin-top: 20px; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-65); max-width: 48ch; }
.sub b { color: var(--ink); font-weight: 650; }
.dark .sub { color: var(--paper-65); }
.dark .sub b { color: var(--paper); }

/* highlighter that sweeps in when seen */
.mark {
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 92% / 0% .4em;
  transition: background-size 1s var(--ease) .15s;
  padding-inline: .04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.mark.is-in, html:not(.app-ready) .mark { background-size: 100% .4em; }
.dark .mark { background: none; color: var(--lime); }

/* ---------- buttons ---------- */
.btn {
  --sh: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 650 16px/1 var(--f-display); letter-spacing: -.01em;
  padding: 15px 22px;
  border: 2px solid var(--ink); border-radius: 12px;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .2s, translate .35s var(--ease);
}
.btn__arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--go { background: var(--lime); color: var(--ink); box-shadow: var(--sh) var(--sh) 0 var(--ink); }
.btn--go:hover { transform: translate(-2px, -2px); box-shadow: calc(var(--sh) + 2px) calc(var(--sh) + 2px) 0 var(--ink); }
.btn--go:active { transform: translate(var(--sh), var(--sh)); box-shadow: 0 0 0 var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: var(--sh) var(--sh) 0 var(--paper); }
.btn--ink:hover { transform: translate(-2px, -2px); box-shadow: calc(var(--sh) + 2px) calc(var(--sh) + 2px) 0 var(--paper); }
.btn--ink:active { transform: translate(var(--sh), var(--sh)); box-shadow: 0 0 0 var(--paper); }
.btn--line { background: var(--paper); color: var(--ink); }
.btn--line:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn--lg { font-size: 18px; padding: 0 26px; height: 62px; border-radius: 14px; }
.btn--sm { --sh: 3px; font-size: 15px; padding: 10px 16px; border-radius: 10px; }
.dark .btn--go, .console .btn--go { border-color: var(--lime); box-shadow: 0 0 0 0 transparent; }
.dark .btn--go:hover, .console .btn--go:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px color-mix(in srgb, var(--lime) 22%, transparent); }
.dark .btn--go:active, .console .btn--go:active { transform: translateY(1px); box-shadow: 0 0 0 2px color-mix(in srgb, var(--lime) 30%, transparent); }
.btn[disabled] { cursor: progress; opacity: .85; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--ink-10);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 22px/1 var(--f-display); letter-spacing: -.04em; }
.logo__mark { width: 30px; height: 30px; transition: transform .5s var(--ease-spring); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo--light { color: var(--paper); }
.nav__links { display: flex; gap: 30px; }
.nav__links a, .nav__login {
  font-size: 15.5px; font-weight: 500; color: var(--ink-80);
  background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 0% 1.5px;
  transition: background-size .3s var(--ease), color .2s; padding-block: 4px;
}
.nav__links a:hover, .nav__login:hover { color: var(--ink); background-size: 100% 1.5px; }
.nav__right { display: flex; align-items: center; gap: 20px; }

/* ---------- score input (shared) ---------- */
.scanform { max-width: 600px; }
.scanform__label { display: block; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-65); margin-bottom: 12px; }
.scanform__row { display: flex; flex-wrap: wrap; gap: 12px; }
.scanform__field {
  flex: 1 1 260px; display: flex; align-items: center; height: 62px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding-left: 16px;
  transition: box-shadow .2s, border-color .2s;
}
.scanform__field:focus-within { box-shadow: 0 0 0 5px var(--lime); }
.scanform__prefix { font: 400 14px/1 var(--f-mono); color: var(--ink-50); }
.scanform__field input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
  font: 500 18px/1 var(--f-sans); color: var(--ink); padding: 0 14px 0 2px;
}
.scanform__field input::placeholder { color: var(--ink-50); }
.scanform.is-invalid .scanform__field { border-color: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 25%, transparent); animation: shake .4s; }
.scanform__error { margin-top: 10px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.scanform__error::before { content: "!"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: var(--ink); font: 700 12px/1 var(--f-mono); }
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 14.5px; color: var(--ink-65); }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%230B0B0C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
  box-shadow: 0 0 0 1.5px var(--ink);
}

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(36px, 6vw, 72px)) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.hero__dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--ink-15) 1.1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(#000 30%, transparent 92%); mask-image: linear-gradient(#000 30%, transparent 92%);
}
.hero__dots--lit {
  background-image: radial-gradient(var(--ink) 1.4px, transparent 1.8px);
  -webkit-mask-image: radial-gradient(240px circle at var(--mx, 70%) var(--my, 30%), rgba(0,0,0,.55), transparent 70%);
  mask-image: radial-gradient(240px circle at var(--mx, 70%) var(--my, 30%), rgba(0,0,0,.55), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.hero.is-lit .hero__dots--lit { opacity: 1; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 72px); align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 7px 14px 7px 10px; margin-bottom: 26px;
  background: var(--paper); border: 1.5px solid var(--ink-15); border-radius: 999px;
  font-size: 14px; color: var(--ink-80);
}
.pill b { color: var(--ink); font-weight: 700; }
.pill__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }
.pill__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--ink); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
.pill__src { font: 400 11px/1 var(--f-mono); color: var(--ink-50); padding-left: 10px; border-left: 1px solid var(--ink-15); }

.h1 .line { display: block; padding-bottom: .04em; }
.h1 .line__in { display: block; }
.rotator {
  position: relative; display: inline-block; white-space: nowrap; vertical-align: top;
  background: var(--lime); border-radius: .14em;
  transition: width .55s var(--ease);
}
.rotator__word {
  position: absolute; left: 0; top: 0; display: inline-block; padding: 0 .1em;
  opacity: 0; transform: translateY(.45em) rotateX(-40deg); filter: blur(8px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), filter .5s var(--ease);
}
.rotator__word.is-on { position: relative; opacity: 1; transform: none; filter: none; }
.rotator__word.is-out { opacity: 0; transform: translateY(-.45em) rotateX(40deg); filter: blur(8px); }

.lede { margin-top: 26px; font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem); line-height: 1.5; color: var(--ink-65); max-width: 34ch; }
.hero .scanform { margin-top: 34px; }

/* human view ↔ agent view */
.hero__visual { position: relative; padding: 0 0 30px; }
.duo { position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 12px 12px 0 var(--ink); overflow: hidden; }
.duo__bar { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 14px; border-bottom: 2px solid var(--ink); }
.duo__dots { display: inline-flex; gap: 6px; }
.duo__dots i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--ink); }
.duo__dots i:nth-child(1) { background: var(--red); }
.duo__dots i:nth-child(2) { background: var(--amber); }
.duo__dots i:nth-child(3) { background: var(--lime); }
.duo__url { flex: 1; font: 400 12px/1 var(--f-mono); color: var(--ink-65); background: var(--ink-06); border-radius: 999px; padding: 7px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.duo__stage { --x: 50%; position: relative; height: 340px; cursor: ew-resize; user-select: none; touch-action: pan-y; }
.duo__layer { position: absolute; inset: 0; display: grid; grid-template-columns: .92fr 1.08fr; gap: 20px; padding: 24px; }
.duo__agent {
  background: var(--ink); color: var(--paper);
  clip-path: inset(0 calc(100% - var(--x)) 0 0);
  font: 400 11px/1.4 var(--f-mono);
}
.duo__agent .pm__info { gap: 8px; }
.duo__beam {
  position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px;
  background: var(--lime); box-shadow: 0 0 0 1px var(--ink), 0 0 28px 6px color-mix(in srgb, var(--lime) 65%, transparent);
  pointer-events: none;
}
.duo__beam::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5' fill='none' stroke='%230B0B0C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
  border: 2px solid var(--ink);
}
.duo__tag { position: absolute; top: 12px; font: 600 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; white-space: nowrap; }
.duo__tag--agent { right: 12px; background: var(--lime); color: var(--ink); }
.duo__tag--human { left: 12px; background: var(--ink); color: var(--paper); }

.pm__img { display: grid; place-items: center; background: var(--ink-03); border: 1.5px solid var(--ink-10); border-radius: 16px; min-height: 0; }
.pm__shoe { width: 88%; transform: rotate(-8deg); }
.pm__info { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; }
.pm__brand { font: 500 10px/1 var(--f-mono); letter-spacing: .14em; color: var(--ink-50); }
.pm__title { font: 700 27px/1 var(--f-display); letter-spacing: -.03em; }
.pm__stars { font-size: 13px; letter-spacing: .05em; }
.pm__stars small { color: var(--ink-50); letter-spacing: 0; }
.pm__price { font: 750 30px/1 var(--f-display); letter-spacing: -.03em; }
.pm__sizes { display: flex; gap: 6px; }
.pm__sizes i { display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--ink-25); border-radius: 9px; font: 600 12px/1 var(--f-sans); font-style: normal; }
.pm__sizes i.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pm__actions { display: flex; gap: 8px; }
.pm__actions i { display: grid; place-items: center; height: 42px; border-radius: 11px; }
.pm__actions svg { width: 20px; height: 20px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pm__cart { flex: 1; background: var(--ink); }
.pm__cart svg { stroke: var(--paper); }
.pm__heart { width: 42px; border: 1.5px solid var(--ink); }
.pm__heart svg { stroke: var(--ink); }
.pm__email { font-size: 12.5px; color: var(--ink-50); border: 1.5px solid var(--ink-25); border-radius: 10px; padding: 10px 12px; }

.ag__box { flex-direction: column; gap: 10px; display: flex; align-items: center; justify-content: center; background: var(--paper-06); border: 1.5px dashed var(--paper-25); }
.ag__box code { color: var(--paper-65); }
.ag__line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--paper-80); min-height: 24px; }
.ag__line code { color: var(--paper-50); }
.ag__line.ok b { color: var(--lime); }
.ag__empty { display: inline-block; width: 56px; height: 12px; border-radius: 3px; background: repeating-linear-gradient(45deg, var(--paper-15) 0 4px, transparent 4px 8px); }
.flag { font: 500 10px/1.2 var(--f-mono); font-style: normal; color: color-mix(in srgb, var(--red) 88%, var(--paper)); background: color-mix(in srgb, var(--red) 14%, transparent); border: 1px solid color-mix(in srgb, var(--red) 55%, transparent); padding: 3px 6px; border-radius: 5px; white-space: nowrap; }
.flag::before { content: "✕ "; }
.ag__log { margin-top: 4px; padding-top: 10px; border-top: 1px dashed var(--paper-15); color: var(--red); }

.chip-float {
  position: absolute; left: -18px; bottom: 0; display: flex; align-items: center; gap: 12px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; padding: 10px 16px 10px 10px;
  box-shadow: 5px 5px 0 var(--ink); animation: float 5s ease-in-out infinite;
}
.chip-float__num { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--red); border: 2px solid var(--ink); font: 800 23px/1 var(--f-display); letter-spacing: -.03em; }
.chip-float__txt { display: flex; flex-direction: column; gap: 4px; }
.chip-float__txt b { font: 700 16px/1 var(--f-display); }
.chip-float__txt small { font: 400 10.5px/1 var(--f-mono); color: var(--ink-50); }

/* intro choreography (CSS only, so it never depends on JS loading) */
.pill, .hero .line__in, .lede, .hero .scanform, .hero__visual { animation: rise .9s var(--ease) both; }
.pill { animation-delay: .05s; }
.hero .line:nth-child(1) .line__in { animation-delay: .12s; }
.hero .line:nth-child(2) .line__in { animation-delay: .22s; }
.lede { animation-delay: .34s; }
.hero .scanform { animation-delay: .44s; }
.hero__visual { animation: rise-in 1.1s var(--ease) .3s both; }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; border-block: 2px solid var(--ink); }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 42s linear infinite; font: 600 clamp(17px, 1.6vw, 21px)/1 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.marquee__track i { color: var(--lime); font-style: normal; font-size: .8em; }
.marquee__track span:first-child, .marquee__track span:nth-child(15) { color: var(--paper-65); font-weight: 500; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- sections ---------- */
.section { padding-block: clamp(84px, 11vw, 150px); }
.section-head { margin-bottom: clamp(40px, 5.5vw, 72px); }
.section-head--center { text-align: center; }
.section-head--center .h2, .section-head--center .sub { margin-inline: auto; }
.dark { background: var(--ink); color: var(--paper); }

/* reveal on scroll (only once app.js runs) */
.app-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.app-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- shift / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 40px); }
.stat { position: relative; padding-top: 30px; border-top: 2px solid var(--ink); }
.stat::before { content: ""; position: absolute; left: 0; top: -2px; height: 6px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.stat--red::before { background: var(--red); }
.stat.is-in::before, html:not(.app-ready) .stat::before { transform: scaleX(1); }
.stat__num { display: block; font: 750 clamp(4.2rem, 2.4rem + 6vw, 8.8rem)/.88 var(--f-display); letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .42em; vertical-align: top; position: relative; top: .14em; margin-left: .04em; letter-spacing: -.02em; }
.stat--red .stat__num { color: var(--red); }
.stat figcaption { margin-top: 18px; font-size: 18px; font-weight: 550; line-height: 1.35; max-width: 22ch; }
.stat figcaption small { display: block; margin-top: 10px; font: 400 11px/1.4 var(--f-mono); color: var(--ink-50); letter-spacing: .02em; }
.footnote { margin-top: 56px; max-width: 64ch; font-size: 16px; color: var(--ink-65); }
.footnote b { color: var(--ink); }

/* ---------- problem ---------- */
.problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.blockers { list-style: none; border-top: 1px solid var(--paper-15); }
.blockers li { padding: 20px 0; border-bottom: 1px solid var(--paper-15); }
.blockers__you { display: block; font: 600 clamp(1.25rem, 1rem + .9vw, 1.65rem)/1.15 var(--f-display); letter-spacing: -.02em; }
.blockers__agent { display: block; margin-top: 8px; font: 400 13px/1.3 var(--f-mono); color: var(--red); }
.blockers__agent::before { content: "agent → "; color: var(--paper-50); }

.term { background: rgba(255, 255, 255, .035); border: 1px solid var(--paper-15); border-radius: 20px; overflow: hidden; position: sticky; top: calc(var(--nav-h) + 24px); }
.term__bar { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--paper-10); font: 400 11px/1 var(--f-mono); color: var(--paper-50); letter-spacing: .06em; }
.term__bar .duo__dots i { border-color: transparent; }
.term__body { margin: 0; padding: 24px; min-height: 380px; font: 400 13px/1.85 var(--f-mono); color: var(--paper-80); white-space: pre-wrap; word-break: break-word; }
.term__body code { font-size: inherit; }
.term__body .d { color: var(--paper-50); }
.term__body .r { color: var(--red); }
.term__body .g { color: var(--lime); }
.term__body .a { color: var(--amber); }
.term__body .w { color: var(--paper); font-weight: 600; }
.term__caret { display: inline-block; width: 8px; height: 15px; background: var(--lime); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.kicker { margin-top: clamp(48px, 6vw, 80px); font: 500 clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem)/1.15 var(--f-display); letter-spacing: -.025em; color: var(--paper-50); max-width: 30ch; }
.kicker b { color: var(--paper); font-weight: 650; }

/* ---------- scanner ---------- */
.scanner { background: #F4F4F4; position: relative; }
.console {
  position: relative; background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink); border-radius: 28px;
  box-shadow: 12px 12px 0 var(--lime), 12px 12px 0 2px var(--ink);
  padding: clamp(20px, 3vw, 38px);
}
.scanform--console { max-width: none; }
.scanform--console .scanform__label { color: var(--paper-50); }
.scanform--console .scanform__field { border-color: var(--paper); }
.scanform--console .scanform__error { color: var(--paper); }
.console__body { display: grid; grid-template-columns: 290px 1fr; gap: clamp(20px, 3vw, 36px); margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--paper-10); }

.gauge { --c: var(--paper-50); text-align: center; align-self: start; padding-top: 6px; }
.gauge__svg { width: 100%; overflow: visible; }
.gauge__seg { fill: none; stroke-width: 14; opacity: .3; }
.gauge__seg--red { stroke: var(--red); }
.gauge__seg--amber { stroke: var(--amber); }
.gauge__seg--lime { stroke: var(--lime); }
.gauge__fill { fill: none; stroke: var(--c); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 0 200; filter: drop-shadow(0 0 10px var(--c)); transition: opacity .3s; }
.console:not([data-state="done"]) .gauge__fill { opacity: 0; }
.gauge__ticks text { font: 500 9px/1 var(--f-mono); fill: var(--paper-50); text-anchor: middle; }
.gauge__readout { margin-top: -62px; display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.gauge__num { font: 800 64px/1 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--c); min-width: 1ch; }
.gauge__of { font: 400 14px/1 var(--f-mono); color: var(--paper-50); }
.gauge__band { margin-top: 14px; font: 650 20px/1.2 var(--f-display); letter-spacing: -.02em; color: var(--paper); }
.gauge__site { margin-top: 8px; font: 400 12px/1.3 var(--f-mono); color: var(--paper-50); word-break: break-all; }
.gauge.is-not { --c: var(--red); }
.gauge.is-partly { --c: var(--amber); }
.gauge.is-ready { --c: var(--lime); }
.gauge.is-not .gauge__band { color: var(--red); }
.gauge.is-partly .gauge__band { color: var(--amber); }
.gauge.is-ready .gauge__band { color: var(--lime); }
.console[data-state="idle"] .gauge__num { animation: breathe 2.6s ease-in-out infinite; color: var(--paper); }
.console[data-state="scanning"] .gauge__num { color: var(--paper); }

.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.checks__col { background: var(--paper-06); border: 1px solid var(--paper-10); border-radius: 18px; padding: 16px 16px 8px; }
.checks__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--paper-50); line-height: 1.35; }
.checks__head b { display: block; font: 700 19px/1.1 var(--f-display); color: var(--paper); letter-spacing: -.02em; margin-bottom: 3px; }
.checks__score { font: 750 28px/1 var(--f-display); color: var(--paper); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.checks__bar { height: 6px; border-radius: 99px; background: var(--paper-10); margin: 14px 0 6px; overflow: hidden; }
.checks__bar i { display: block; height: 100%; width: var(--v, 0%); background: var(--bar, var(--lime)); border-radius: inherit; transition: width 1.2s var(--ease); }
.checks ol { list-style: none; }
.check { display: grid; grid-template-columns: 20px 1fr; column-gap: 10px; padding: 10px 0; border-top: 1px dashed var(--paper-10); font-size: 14px; line-height: 1.35; color: var(--paper-80); }
.check:first-child { border-top: 0; }
.check__icon { width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--paper-25); display: grid; place-items: center; font: 700 11px/1 var(--f-mono); color: var(--ink); transition: background-color .3s, border-color .3s, transform .4s var(--ease-spring); }
.check.is-running .check__icon { border-color: var(--lime); border-top-color: transparent; animation: spin .7s linear infinite; }
.check.is-pass .check__icon, .check.is-fail .check__icon { animation: pop .45s var(--ease-spring); }
.check.is-pass .check__icon { background: var(--lime); border-color: var(--lime); }
.check.is-pass .check__icon::after { content: "✓"; }
.check.is-fail .check__icon { background: var(--red); border-color: var(--red); }
.check.is-fail .check__icon::after { content: "✕"; }
.check.is-fail .check__title { color: var(--paper); }
.check__detail { grid-column: 2; margin-top: 5px; font-size: 12.5px; color: var(--paper-50); animation: fade-in .5s var(--ease) both; }
.check__fix { grid-column: 2; margin-top: 6px; font: 400 11.5px/1.45 var(--f-mono); color: var(--paper-80); animation: fade-in .5s var(--ease) .1s both; }
.check__fix::before { content: "Fix → "; color: var(--lime); }

.console__status { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; font: 400 12.5px/1.4 var(--f-mono); color: var(--paper-50); }
.console[data-state="scanning"] .console__status [data-status]::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--lime); animation: ping-dot 1s ease-in-out infinite; vertical-align: 1px; }
.console__status.is-error { color: var(--paper); }
.console__status.is-error [data-status]::before { content: "✕ "; color: var(--red); }

/* report */
.report { margin-top: 26px; padding-top: 30px; border-top: 1px solid var(--paper-10); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 3vw, 40px); animation: rise .8s var(--ease) both; }
.report__label { font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--paper-50); margin-bottom: 14px; }
.report__verdict { font: 600 clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem)/1.15 var(--f-display); letter-spacing: -.025em; text-wrap: balance; }
.report__verdict b { font-weight: 750; }
.report__pass { margin-top: 14px; color: var(--paper-65); }
.report__pass b { color: var(--paper); }
.report__path { margin-top: 26px; padding: 20px; border: 1px solid var(--paper-15); border-radius: 18px; }
.report__jump { display: flex; align-items: baseline; gap: 14px; font: 800 52px/1 var(--f-display); letter-spacing: -.04em; }
.report__jump svg { width: 46px; height: 20px; fill: none; stroke: var(--paper-50); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; align-self: center; }
.report__jumpnote { margin-top: 8px; font-size: 14.5px; color: var(--paper-65); }
.report__fixes { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.report__fixes li { display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; color: var(--paper-80); }
.report__fixes b { flex: none; min-width: 44px; font: 600 12px/1 var(--f-mono); color: var(--ink); background: var(--lime); padding: 5px 7px; border-radius: 6px; text-align: center; }
.report__miss { list-style: none; display: grid; gap: 12px; margin-bottom: 22px; }
.report__miss li { position: relative; padding-left: 26px; font-size: 15px; color: var(--paper-80); }
.report__miss li::before { content: "✕"; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%; background: var(--red); color: var(--ink); display: grid; place-items: center; font: 700 10px/1 var(--f-mono); }
.report__cta { background: var(--lime); color: var(--ink); border-radius: 20px; padding: 22px; }
.report__cta p { font-size: 16px; margin-bottom: 16px; }
.report__cta .btn { width: 100%; }
.report__alt { display: block; margin-top: 14px; font-size: 14px; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.report__tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.report__tools button { background: transparent; border: 1px solid var(--paper-25); color: var(--paper); border-radius: 10px; padding: 10px 14px; font-size: 14px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.report__tools button:hover { border-color: var(--lime); background: var(--paper-06); }

.bands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.band { background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; padding: 16px 18px; }
.band b { display: flex; align-items: center; gap: 9px; font: 650 16px/1.2 var(--f-display); }
.band b::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); flex: none; }
.band--red b::before { background: var(--red); }
.band--amber b::before { background: var(--amber); }
.band--lime b::before { background: var(--lime); }
.band span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--ink-65); }

/* ---------- solution stack ---------- */
.stack { display: grid; gap: 28px; }
.stack__card {
  position: sticky; top: calc(var(--nav-h) + 20px + var(--i, 0) * 16px);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  min-height: 460px; padding: clamp(26px, 4vw, 56px);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 30px;
  transform-origin: 50% 0; will-change: transform;
}
.stack__card.dark { background: var(--ink); color: var(--paper); }
.stack__card:nth-child(2) { --i: 1; }
.stack__card:nth-child(3) { --i: 2; }
.stack__num { font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-50); }
.stack__copy .h3 { margin: 18px 0 16px; }
.stack__copy p:last-child { font-size: 18px; color: var(--ink-65); max-width: 38ch; }
.stack__card.dark .stack__num { color: var(--paper-50); }
.stack__card.dark .stack__copy p:last-child { color: var(--paper-65); }

.mini-groups { background: var(--paper); border: 2px solid var(--ink); border-radius: 22px; padding: 26px; box-shadow: 8px 8px 0 var(--ink); }
.mini-groups__row { display: grid; grid-template-columns: 56px 1fr 40px; gap: 14px; align-items: center; padding: 10px 0; font: 650 17px/1 var(--f-display); }
.mini-groups__row b { text-align: right; font-variant-numeric: tabular-nums; }
.mini-bar { height: 14px; background: var(--ink-06); border-radius: 99px; overflow: hidden; }
.mini-bar i { display: block; height: 100%; width: var(--v); background: var(--amber); border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.mini-groups__row:nth-child(1) .mini-bar i { transition-delay: .1s; background: var(--red); }
.mini-groups__row:nth-child(2) .mini-bar i { transition-delay: .25s; background: var(--red); }
.mini-groups__row:nth-child(3) .mini-bar i { transition-delay: .4s; }
.stack__card.is-in .mini-bar i, html:not(.app-ready) .mini-bar i { transform: scaleX(1); }
.mini-groups__total { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 16px; padding-top: 18px; border-top: 2px solid var(--ink); }
.mini-groups__total span { font: 400 11.5px/1.3 var(--f-mono); color: var(--ink-50); }
.mini-groups__total b { font: 800 60px/.9 var(--f-display); letter-spacing: -.05em; }
.mini-groups__total small { font: 400 15px/1 var(--f-mono); color: var(--ink-50); letter-spacing: 0; }

/* PR card */
.pr { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 10px 10px 0 var(--lime); }
.pr__head { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-65); flex-wrap: wrap; }
.pr__head b { color: var(--ink); }
.pr__avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); font: 800 14px/1 var(--f-display); color: var(--ink); }
.pr__state { margin-left: auto; font: 600 11px/1 var(--f-mono); padding: 6px 10px; border-radius: 99px; border: 1.5px solid var(--ink); color: var(--ink); transition: background-color .3s, color .3s; }
.pr.is-merged .pr__state { background: var(--ink); color: var(--lime); }
.pr__title { font: 700 22px/1.1 var(--f-display); letter-spacing: -.02em; margin: 14px 0 10px; }
.pr__files { list-style: none; }
.pr__files li { display: grid; grid-template-columns: 20px auto 1fr; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px dashed var(--ink-15); font-size: 13px; opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pr__files li i { display: grid; place-items: center; height: 20px; border-radius: 5px; background: var(--lime); font: 700 12px/1 var(--f-mono); font-style: normal; border: 1.5px solid var(--ink); }
.pr__files li:nth-child(n+4) i { background: var(--amber); }
.pr__files code { font-weight: 600; font-size: 12.5px; }
.pr__files span { text-align: right; color: var(--ink-50); }
.pr.is-in .pr__files li, html:not(.app-ready) .pr__files li { opacity: 1; transform: none; }
.pr__files li:nth-child(2) { transition-delay: .12s; }
.pr__files li:nth-child(3) { transition-delay: .24s; }
.pr__files li:nth-child(4) { transition-delay: .36s; }
.pr__files li:nth-child(5) { transition-delay: .48s; }
.pr__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pr__checks { font: 500 12px/1 var(--f-mono); color: var(--ink-65); }
.pr__merge { font: 650 14px/1 var(--f-display); padding: 11px 16px; border-radius: 10px; background: var(--lime); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s, background-color .3s, color .3s; }
.pr__merge.is-pressed { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.pr.is-merged .pr__merge { background: var(--ink); color: var(--lime); box-shadow: 0 0 0 var(--ink); transform: none; }

/* access rules */
.rules { display: grid; gap: 10px; background: var(--paper); border: 2px solid var(--ink); border-radius: 22px; padding: 18px; box-shadow: 8px 8px 0 var(--ink); }
.rule { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 14px; border: 1.5px solid var(--ink-10); border-radius: 14px; flex-wrap: wrap; }
.rule__name code { font-weight: 600; font-size: 13px; }
.seg { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 11px; overflow: hidden; }
.seg__opt { border: 0; border-left: 1.5px solid var(--ink); background: var(--paper); padding: 8px 12px; font: 600 13px/1 var(--f-sans); cursor: pointer; transition: background-color .25s; }
.seg__opt:first-child { border-left: 0; }
.seg__opt:hover { background: var(--ink-06); }
.seg__opt[aria-checked="true"][data-v="allow"] { background: var(--lime); }
.seg__opt[aria-checked="true"][data-v="ask"] { background: var(--amber); }
.seg__opt[aria-checked="true"][data-v="deny"] { background: var(--red); }
.ask { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; background: var(--ink); color: var(--paper); border-radius: 14px; padding: 12px 14px; font-size: 14px; overflow: hidden; transition: opacity .35s var(--ease), max-height .45s var(--ease), padding .45s var(--ease), margin .45s var(--ease); max-height: 120px; }
.ask b { color: var(--amber); }
.ask__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--amber); color: var(--ink); font: 800 14px/1 var(--f-display); animation: ping-soft 2s ease-in-out infinite; }
.ask.is-hidden { opacity: 0; max-height: 0; padding-block: 0; margin-block: -5px; }
.alert { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 11px 14px; border: 1.5px dashed var(--ink-25); border-radius: 14px; color: var(--ink-65); }
.alert b { color: var(--ink); }
.alert__dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 1.5px var(--ink); }
.alert__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--amber); animation: ping 2s var(--ease) infinite; }

/* ---------- how ---------- */
.how { background: #F4F4F4; }
.steps { --p: 0; list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 28px; right: 12%; top: 27px; height: 2px; background: var(--ink-15); }
.steps::after { background: var(--ink); transform: scaleX(var(--p)); transform-origin: left; }
.step { position: relative; z-index: 1; }
.step__n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); font: 700 22px/1 var(--f-display); }
.step--go .step__n { background: var(--lime); box-shadow: 4px 4px 0 var(--ink); }
.step h3 { margin: 24px 0 6px; font: 650 clamp(1.25rem, 1rem + .7vw, 1.55rem)/1.15 var(--f-display); letter-spacing: -.02em; }
.step p { color: var(--ink-65); font-size: 16px; }
.step__meta { display: inline-block; margin-top: 14px; font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-65); border: 1px solid var(--ink-15); border-radius: 99px; padding: 6px 10px; background: var(--paper); }
.how__after { margin-top: clamp(48px, 6vw, 72px); font: 500 clamp(1.3rem, 1rem + 1vw, 1.9rem)/1.25 var(--f-display); letter-spacing: -.02em; max-width: 36ch; }

/* ---------- proof ---------- */
.proof__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { font: 500 13px/1 var(--f-mono); padding: 10px 14px; border-radius: 99px; border: 1.5px solid var(--lime); color: var(--lime); }
.proof__note { margin-top: 28px; color: var(--paper-50); font-size: 15px; max-width: 42ch; }
.proof__score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; text-align: center; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--paper-15); border-radius: 30px; background: rgba(255, 255, 255, .035); }
.proof__score span { display: block; font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--paper-50); margin-bottom: 10px; }
.proof__score b { font: 800 clamp(4.2rem, 2.6rem + 5vw, 8rem)/.9 var(--f-display); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.proof__before b { color: var(--paper-50); }
.proof__after b { color: var(--lime); text-shadow: 0 0 40px color-mix(in srgb, var(--lime) 35%, transparent); }
.proof__arrow { width: 64px; fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.proof__meta { grid-column: 1 / -1; margin-top: 10px; font: 400 12px/1.4 var(--f-mono); color: var(--paper-50); }
.proof__score .btn { grid-column: 1 / -1; justify-self: center; margin-top: 12px; }

/* ---------- trust ---------- */
.trust__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 40px); border-top: 2px solid var(--ink); }
.trust__grid li { padding: 30px 0 34px; border-bottom: 1px solid var(--ink-15); }
.trust__grid svg { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--lime); border: 2px solid var(--ink); fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.trust__grid h3 { margin: 20px 0 8px; font: 650 21px/1.2 var(--f-display); letter-spacing: -.02em; max-width: 22ch; }
.trust__grid p { color: var(--ink-65); font-size: 16px; }

/* ---------- pricing ---------- */
.pricing { padding-top: clamp(40px, 6vw, 80px); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 24px 24px; background: var(--paper); border: 2px solid var(--ink); border-radius: 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.plan__name { font: 700 24px/1 var(--f-display); letter-spacing: -.02em; }
.plan__for { margin-top: 10px; font-size: 15px; color: var(--ink-65); min-height: 2.9em; }
.plan__price { margin: 18px 0 20px; display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font: 800 50px/1 var(--f-display); letter-spacing: -.05em; }
.plan__price span { font-size: 15px; color: var(--ink-50); }
.plan .btn { width: 100%; margin-bottom: 22px; }
.plan__list { list-style: none; }
.plan__list li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--ink-10); font-size: 14.5px; line-height: 1.4; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; top: 10px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font: 700 9px/1 var(--f-mono); background: var(--ink-10); }
.plan--hot { background: var(--ink); color: var(--paper); box-shadow: 10px 10px 0 var(--lime), 10px 10px 0 2px var(--ink); }
.plan--hot:hover { box-shadow: 12px 12px 0 var(--lime), 12px 12px 0 2px var(--ink); }
.plan--hot .plan__for, .plan--hot .plan__price span { color: var(--paper-65); }
.plan--hot .plan__list li { border-color: var(--paper-15); }
.plan--hot .plan__list li::before { background: var(--lime); color: var(--ink); }
.plan__badge { position: absolute; top: -15px; left: 22px; font: 600 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 99px; background: var(--lime); color: var(--ink); border: 2px solid var(--ink); }
.pricing__note { margin-top: 34px; text-align: center; font-size: 15px; color: var(--ink-65); }

.compare { margin-top: 22px; border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; }
.compare summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; font: 650 18px/1 var(--f-display); }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; font: 400 26px/1 var(--f-sans); transition: transform .3s var(--ease); }
.compare[open] summary::after { transform: rotate(45deg); }
.compare__scroll { overflow-x: auto; border-top: 2px solid var(--ink); }
.compare table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--ink-10); vertical-align: top; }
.compare thead th { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-65); border-top: 0; }
.compare tbody th { font-weight: 550; }
.compare td:nth-child(3), .compare th:nth-child(3) { background: color-mix(in srgb, var(--lime) 28%, transparent); }

/* ---------- FAQ ---------- */
.faq { padding-top: clamp(40px, 6vw, 80px); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__grid .section-head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__list { border-top: 2px solid var(--ink); }
.faq__list details { border-bottom: 1px solid var(--ink-15); }
.faq__list summary { position: relative; list-style: none; cursor: pointer; padding: 22px 52px 22px 0; font: 600 clamp(1.08rem, 1rem + .4vw, 1.3rem)/1.3 var(--f-display); letter-spacing: -.015em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 400 20px/1 var(--f-sans); transition: transform .35s var(--ease), background-color .25s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.faq__list p { padding: 0 52px 24px 0; color: var(--ink-65); font-size: 16.5px; max-width: 62ch; }
.faq__list details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq__list details[open]::details-content { block-size: auto; }

/* ---------- final CTA ---------- */
.final { background: var(--lime); padding-block: clamp(84px, 11vw, 150px); border-top: 2px solid var(--ink); overflow: hidden; }
.final__grid { display: grid; grid-template-columns: 1.5fr .5fr; gap: 40px; align-items: center; }
.final__title { max-width: 17ch; }
.final__sub { margin: 22px 0 34px; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-80); max-width: 44ch; }
.scanform--final .scanform__label { color: var(--ink-80); }
.scanform--final .scanform__field:focus-within { box-shadow: 0 0 0 5px var(--paper); }
.scanform--final .ticks { color: var(--ink-80); }
.scanform--final .ticks li::before { background-color: var(--paper); }
.final__q { display: flex; align-items: baseline; justify-content: center; font: 800 clamp(9rem, 5rem + 12vw, 19rem)/.8 var(--f-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 3px var(--ink); animation: wobble 6s ease-in-out infinite; }
.final__q small { font: 500 clamp(16px, 1.5vw, 22px)/1 var(--f-mono); letter-spacing: 0; color: var(--ink); -webkit-text-stroke: 0; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 72px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 40px; }
.footer__tag { margin-top: 16px; color: var(--paper-65); }
.live-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font: 400 12px/1.3 var(--f-mono); color: var(--paper-80); border: 1px solid var(--paper-25); border-radius: 99px; padding: 9px 14px; transition: border-color .2s; }
.live-badge:hover { border-color: var(--lime); }
.live-badge b { color: var(--lime); font-weight: 600; }
.live-badge__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.live-badge__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--lime); animation: ping 2s var(--ease) infinite; }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; align-content: start; }
.footer__links a, .footer__agents a { color: var(--paper-65); transition: color .2s; width: fit-content; }
.footer__links a:hover, .footer__agents a:hover { color: var(--lime); }
.footer__agents { display: grid; gap: 10px; align-content: start; font: 400 13px/1.3 var(--f-mono); }
.footer__agents p { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-50); margin-bottom: 4px; }
.footer__base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--paper-10); font: 400 12px/1 var(--f-mono); color: var(--paper-50); }

/* ---------- keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(40px) rotate(1.5deg) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes ping-dot { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes ping-soft { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--amber) 60%, transparent); } 50% { box-shadow: 0 0 0 7px transparent; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes wobble { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-12px); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 640px; }
  .console__body { grid-template-columns: 1fr; }
  .gauge { max-width: 300px; margin-inline: auto; }
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .problem__grid, .proof__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .term { position: relative; top: 0; }
  .faq__grid .section-head { position: static; }
  .checks { grid-template-columns: 1fr; }
  .report { grid-template-columns: 1fr; }
  .stack__card { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .final__grid { grid-template-columns: 1fr; }
  .final__q { display: none; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav__login { display: none; }
  .duo__stage { height: 300px; }
  .duo__layer { grid-template-columns: 1fr 1.25fr; gap: 12px; padding: 16px; }
  .pm__title { font-size: 21px; }
  .pm__price { font-size: 24px; }
  .pm__sizes i { width: 26px; height: 26px; }
  .pm__email { display: none; }
  .duo__agent { font-size: 10px; }
  .flag { font-size: 9px; }
  .chip-float { left: 8px; }
  .duo { box-shadow: 7px 7px 0 var(--ink); }
  .pill { font-size: 13px; row-gap: 4px; }
  .pill__src { flex-basis: 100%; border-left: 0; padding-left: 19px; }
  .stats, .bands, .plans, .trust__grid, .footer__grid { grid-template-columns: 1fr; }
  .stat { padding-bottom: 28px; }
  .steps { grid-template-columns: 1fr; }
  .scanform__row .btn { width: 100%; }
  .proof__score { grid-template-columns: 1fr; }
  .proof__arrow { transform: rotate(90deg); justify-self: center; }
  .plan--hot { box-shadow: 8px 8px 0 var(--lime), 8px 8px 0 2px var(--ink); }
  .console { box-shadow: 8px 8px 0 var(--lime), 8px 8px 0 2px var(--ink); }
  .footer__links { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .app-ready [data-reveal] { opacity: 1; transform: none; }
}
