/* ════════════════════════════════════════════════════════════════
   COHESIVITY — "the blueprint stack"
   Near-black canvas · off-white ink · ONE hot accent (orange #FF4D00 + red).
   Geist + Geist Mono. A visible 1px off-white hairline grid with
   registration-mark corners. One concept everywhere: many layers, one stack.
   ════════════════════════════════════════════════════════════════ */

:root {
  /* ---- surfaces : near-black ---- */
  --bg:        #0A0A0A;
  --bg-1:      #101010;
  --bg-2:      #161616;
  --bg-3:      #1E1E1E;
  --surface:   #1A1A1A;

  /* ---- hairlines : off-white at low alpha, NOT gray ---- */
  --line:      rgba(230, 230, 230, 0.10);
  --line-2:    rgba(230, 230, 230, 0.18);
  --line-3:    rgba(230, 230, 230, 0.30);

  /* ---- ink : off-white, never pure white ---- */
  --ink:       #E6E6E6;
  --ink-2:     #B5B5B5;
  --ink-3:     #8F8F8F;   /* ~5.3:1 on --bg (AA) */
  --ink-4:     #7C7C7C;   /* ~4.3:1 — metadata / faint labels */
  --white:     #FFFFFF;

  /* ---- the one accent : safety-orange + red ---- */
  --acc:       #FF4D00;
  --acc-2:     #F32D2D;   /* red secondary — the "before"/broken signal */
  --acc-deep:  #C23A00;
  --acc-glow:  rgba(255, 77, 0, 0.40);
  --acc-soft:  rgba(255, 77, 0, 0.12);
  --acc-faint: rgba(255, 77, 0, 0.05);
  --red-glow:  rgba(243, 45, 45, 0.38);
  --red-soft:  rgba(243, 45, 45, 0.12);
  --on-acc:    #0A0A0A;   /* dark ink on orange */
  --glow-red:  #FF0000;
  --white-glow: rgba(255, 255, 255, 0.22);  /* max-contrast highlight */

  /* ---- type : Geist (display+body) + Geist Mono ---- */
  --display: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans:    "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:    "Geist Mono", ui-monospace, "SF Mono", "Menlo", "Roboto Mono", monospace;

  /* ---- rhythm (4px base) ---- */
  --gut: clamp(1.25rem, 4.5vw, 5.5rem);
  --maxw: 1560px;
  --r: 2px;               /* sharp. blueprint, not bubbles. */

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.28s;           /* basement brand anim duration */

  color-scheme: dark;
}

/* ════════════ reset ════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
:where(#hero, #problem, #services, #agents, #pricing, #trust, #docs) { scroll-margin-top: 90px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

::selection { background: var(--acc); color: var(--on-acc); }

a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }

:focus-visible {
  outline: 2px solid var(--acc);   /* focus rings in #FF4D00 */
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 0.6rem; left: 0.6rem; z-index: 10000;
  transform: translateY(-160%);
  font-family: var(--mono); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--acc); color: var(--on-acc);
  padding: 0.7rem 1.1rem; border-radius: var(--r);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* monospace must never inherit the body's negative tracking */
.term__cmd, .term__out, .prov-line, .one-call pre, .loop__tool pre,
.cell__call, .finale__code, .foot__ascii, .mono { letter-spacing: 0; }

/* ════════════ atmosphere : grain ════════════ */
.grain {
  position: fixed; inset: 0; z-index: 9990;
  pointer-events: none; opacity: 0.40; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-rail {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 9995;
  background: transparent; pointer-events: none;
}
.scroll-rail__fill {
  display: block; height: 100%; width: 0%;
  background: var(--acc);
  box-shadow: 0 0 12px var(--acc-glow);
}

/* ════════════ the logo : 3-slab stack ════════════ */
.logo { width: 22px; height: 22px; }
.logo__slab { fill: var(--ink); transition: fill .35s var(--ease), transform .45s var(--ease); transform-origin: center; }
.logo__slab--mid { fill: var(--acc); }              /* the unified layer glows */
.brand:hover .logo__slab { fill: var(--white); }
.brand:hover .logo__slab--mid { fill: var(--acc); }
.brand:hover .logo__slab--top { transform: translate(0, -1.5px); }
.brand:hover .logo__slab--bot { transform: translate(0, 1.5px); }
.logo--lg { width: 34px; height: 34px; }

/* ════════════ registration-mark corners ════════════ */
.frame { position: relative; }
.reg {
  position: absolute; width: 9px; height: 9px; z-index: 3;
  border: 1px solid var(--line-3); pointer-events: none;
  animation: regpulse 4s var(--ease) infinite;
}
.reg--tl { top: -1px; left: -1px;  border-right: 0; border-bottom: 0; }
.reg--tr { top: -1px; right: -1px; border-left: 0;  border-bottom: 0; animation-delay: .3s; }
.reg--bl { bottom: -1px; left: -1px;  border-right: 0; border-top: 0; animation-delay: .6s; }
.reg--br { bottom: -1px; right: -1px; border-left: 0;  border-top: 0; animation-delay: .9s; }
@keyframes regpulse { 0%,100% { border-color: var(--line-2); } 50% { border-color: var(--acc); } }

/* ════════════ shared atoms ════════════ */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 1.3rem;
}
.eyebrow .cnt { color: var(--ink-4); }

.section-head { position: relative; margin: 0 0 clamp(2.5rem, 5vw, 4.5rem); padding-top: 1.4rem; border-top: 1px solid var(--line-2); }
.section-head::before, .section-head::after {
  content: "+"; position: absolute; top: 0; font-family: var(--mono); font-size: 0.85rem;
  line-height: 1; color: var(--acc); pointer-events: none;
}
.section-head::before { left: 0; transform: translate(-50%, -50%); }
.section-head::after  { right: 0; transform: translate(50%, -50%); }
.section-head__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.7rem; }
.section-head__row .eyebrow { margin-bottom: 0; }
.section-head__idx { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); white-space: nowrap; }
.section-head__idx b { color: var(--acc); font-weight: 500; }

.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;          /* aggressively tight on big type */
  color: var(--ink);
  text-wrap: balance;
}
.section-title em { font-style: normal; color: var(--ink-4); }
.section-title b { font-weight: 600; color: var(--acc); }
.section-lede {
  margin-top: 1.4rem;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.5; color: var(--ink-2);
  max-width: 54ch;
}
.hl { color: var(--ink); box-shadow: inset 0 -1px 0 0 var(--acc); }

/* ---- buttons : actionable-blink + orange-glow, never gradient ---- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--mono); font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap;
  padding: 0.85em 1.45em; border-radius: var(--r);
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow .35s var(--ease), color var(--dur) var(--ease);
}
.btn__l { display: inline-block; }
.btn:hover .btn__l { animation: actionable-blink .3s steps(1) 2; }
@keyframes actionable-blink { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

.btn--lg { padding: 1.02em 1.8em; font-size: 0.86rem; }
.btn--block { width: 100%; justify-content: center; }

.btn--key { background: var(--acc); color: var(--on-acc); }
.btn--key:hover {
  background: var(--acc);
  box-shadow: 0 0 0 1px var(--acc), 0 0 28px -2px var(--acc-glow);
}
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--acc); color: var(--acc); box-shadow: 0 0 18px -6px var(--acc-glow); }
.btn:active { transform: translateY(1px); }

/* ════════════ nav ════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 1rem var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__word {
  font-family: var(--mono); font-weight: 500; font-size: 0.98rem;
  letter-spacing: -0.01em; color: var(--ink);
}

.nav__links { display: flex; gap: 0.2rem; }
.nav__links a {
  font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2);
  padding: 0.4rem 0.7rem; border-radius: var(--r);
  transition: color .2s var(--ease);
}
.nav__links a .cnt { color: var(--ink-4); margin-left: 0.15em; }
.nav__links a:hover { color: var(--acc); }
.nav__docs { color: var(--ink) !important; }

.nav__right { display: flex; align-items: center; gap: 1rem; }
.status-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--mono); font-size: 0.72rem; color: var(--ink-2);
  padding: 0.45rem 0.7rem; border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s;
}
.status-pill:hover { border-color: var(--line-2); }
.status-pill__led {
  width: 6px; height: 6px; border-radius: 50%; background: var(--acc);
  box-shadow: 0 0 8px var(--acc); animation: led 2.4s ease-in-out infinite;
}
.status-pill__sep { color: var(--ink-4); }
.status-pill__ms { color: var(--ink-3); }
@keyframes led { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ════════════ hero ════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 9rem var(--gut) 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.weave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.85; }
.hero__glow {
  position: absolute; z-index: 0;
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  right: -6%; top: 16%;
  background: radial-gradient(circle, var(--acc-soft) 0%, transparent 60%);
  filter: blur(24px); pointer-events: none;
}
.grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 75% at 50% 40%, #000 0%, transparent 78%);
  opacity: 0.7;
}

.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero__copy { max-width: 36rem; }

.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3rem, 7.4vw, 6.125rem);   /* basement hero ~98px */
  line-height: 0.89;                          /* sub-1 leading */
  letter-spacing: -0.045em;
  margin: 0.3rem 0 1.6rem;
}
.hero__title span { display: block; }
.hero__title-accent { color: var(--acc); text-shadow: 0 0 40px var(--acc-glow), 0 0 14px var(--white-glow); }
.hero__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.5; color: var(--ink-2); max-width: 36ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.hero__trust {
  margin-top: 2.6rem; display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.74rem; color: var(--ink-3);
}
.hero__trust-label { color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.16em; }
.hero__trust-list { color: var(--ink-2); }

/* ---- the hero terminal : show the product working ---- */
.term {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9);
  overflow: hidden;
  font-family: var(--mono);
}
.term__bar {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}
.term__dots { display: flex; gap: 0.4rem; }
.term__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line-2); }
.term__file { font-size: 0.74rem; color: var(--ink-3); letter-spacing: 0.02em; }
.term__copy {
  margin-left: auto; font-size: 0.7rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.28rem 0.6rem; border: 1px solid var(--line); border-radius: var(--r);
  transition: color .2s, border-color .2s;
}
.term__copy:hover { color: var(--ink); border-color: var(--line-2); }
.term__copy.is-copied { color: var(--acc); border-color: var(--acc); }

.term__body { padding: 1.15rem 1.25rem 1.25rem; }
.term__cmd {
  font-size: clamp(0.74rem, 0.95vw, 0.84rem); line-height: 1.75; color: var(--ink-2);
  white-space: pre-wrap; word-break: break-word;
}
.t-p { color: var(--acc); }
.t-u { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.t-s { color: #9DBE7A; }    /* string : muted sage */
.t-k { color: var(--ink); }
.t-c { color: var(--ink-4); }

.term__out {
  margin-top: 0.9rem; min-height: 9.6em;
  font-size: clamp(0.74rem, 0.95vw, 0.84rem); line-height: 1.85;
}
.prov-line {
  display: grid; grid-template-columns: 1.1em 5.6em 1fr auto; gap: 0.55em;
  align-items: baseline;
  opacity: 0; transform: translateY(4px);
  animation: provIn .34s var(--ease) forwards;
}
.prov-line__tick { color: var(--acc); }
.prov-line__svc  { color: var(--ink); }
.prov-line__meta { color: var(--ink-3); }
.prov-line__ms   { color: var(--ink-4); justify-self: end; }
.prov-head { color: var(--ink-3); opacity: 0; animation: provIn .3s var(--ease) forwards; }
.prov-head .blink { color: var(--acc); animation: blink 1s steps(2) infinite; }
.prov-final {
  margin-top: 0.7rem; color: var(--ink); display: flex; gap: 0.6em; flex-wrap: wrap;
  align-items: center; opacity: 0; transform: translateY(4px);
  animation: provIn .4s var(--ease) forwards;
}
.prov-final .diamond { color: var(--acc); }
.prov-final .dim { color: var(--ink-4); }
@keyframes provIn { to { opacity: 1; transform: none; } }
@keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }

.term__run {
  margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.72rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.5rem 0.85rem; border: 1px solid var(--line-2); border-radius: var(--r);
  transition: color .2s, border-color .2s;
}
.term__run:hover { color: var(--acc); border-color: var(--acc); }
.term__run-ico { color: var(--acc); }

.hero__scroll {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-4);
}
.hero__scroll-line { width: 1px; height: 38px; background: linear-gradient(var(--acc), transparent); animation: scrolldown 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrolldown { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(38px); opacity: 0; } }

/* ════════════ section frame ════════════ */
.problem, .services, .agents, .pricing, .trust {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(5rem, 11vw, 9rem) var(--gut);
}
.problem, .services, .agents, .pricing, .trust, .proof, .finale, .marquee-sec { border-top: 1px solid var(--line); }

/* ════════════ one vs many ════════════ */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1rem, 3vw, 2rem); align-items: stretch; }
.vs__col {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem; background: var(--bg-1);
  min-height: 22rem; display: flex; flex-direction: column;
}
.vs__col--many { border-color: var(--red-soft); }
.vs__col--many:hover { box-shadow: inset 0 0 0 1px var(--red-soft), 0 0 40px -18px var(--red-glow); }
.vs__col--one { border-color: var(--line-2); background: var(--bg-1); }
.vs__col--one:hover { box-shadow: inset 0 0 0 1px var(--acc-soft), 0 0 40px -18px var(--acc-glow); }
.vs__tag {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 1.2rem;
}
.vs__col--many .vs__tag { color: var(--acc-2); }     /* before = red / broken */
.vs__tag--on { color: var(--acc); }
.vs__col--many .vs__facts b { color: var(--acc-2); }

.vendor-cloud { position: relative; flex: 1; min-height: 13rem; }
.vendor-cloud span {
  position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r));
  font-family: var(--mono); font-size: 0.76rem; color: var(--ink-3);
  padding: 0.3rem 0.6rem; border: 1px dashed var(--line-2); border-radius: var(--r);
  white-space: nowrap;
  transition: color .3s, border-color .3s, opacity .3s;
}
.vs__col--many:hover .vendor-cloud span { opacity: 0.35; }
.vs__col--many:hover .vendor-cloud span:hover { opacity: 1; color: var(--ink); border-color: var(--ink-3); }

.one-call { flex: 1; }
.one-call pre {
  font-family: var(--mono); font-size: clamp(0.72rem, 0.92vw, 0.82rem);
  line-height: 1.85; color: var(--ink-2); white-space: pre-wrap;
}

.vs__facts { list-style: none; margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.45rem; }
.vs__facts li { font-family: var(--mono); font-size: 0.82rem; color: var(--ink-3); }
.vs__facts b { color: var(--ink); font-weight: 600; }
.vs__facts--on b { color: var(--acc); }

.vs__bridge { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem; min-width: 60px; }
.vs__bridge svg { width: 100%; height: 60px; stroke: var(--acc); stroke-width: 1.5; fill: none; opacity: 0.6; stroke-dasharray: 4 5; animation: dash 22s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -200; } }
.vs__bridge-tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; color: var(--acc); writing-mode: vertical-rl; text-orientation: mixed; text-transform: uppercase; }

/* ════════════ services bento ════════════ */
.bento-wrap { position: relative; }
.bento {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  grid-auto-flow: dense;
  gap: 1px;                          /* hairline seams : the blueprint grid */
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.bento-weave { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.cell {
  position: relative; overflow: hidden;
  padding: 1.35rem 1.4rem 1.4rem;
  background: var(--bg);
  display: flex; flex-direction: column;
  transition: background var(--dur) var(--ease);
}
.cell--wide { grid-column: span 2; }
.cell--tall { grid-row: span 2; }
.cell:hover { background: var(--bg-2); }
.cell::after {           /* hover hairline highlight */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow var(--dur) var(--ease);
}
.cell:hover::after { box-shadow: inset 0 0 0 1px var(--acc-soft); }

.cell__idx { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-4); letter-spacing: 0.1em; }
.cell__name {
  font-family: var(--display); font-weight: 600; font-size: 1.3rem;
  letter-spacing: -0.025em; line-height: 1.05; color: var(--ink);
  margin: 0.5rem 0 0.4rem;
}
.cell__desc { font-size: 0.88rem; line-height: 1.45; color: var(--ink-3); flex: 1; }
.cell__call {
  font-family: var(--mono); font-size: 0.74rem; color: var(--ink-2);
  margin-top: 0.95rem; padding-top: 0.85rem; border-top: 1px solid var(--line);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), color .35s;
}
.cell:hover .cell__call { opacity: 1; transform: none; color: var(--acc); }
.cell__call--static { opacity: 1; transform: none; color: var(--ink-3); }
.cell:hover .cell__call--static { color: var(--acc); }

.cell--accent { background: var(--bg-2); }
.cell--accent::after { box-shadow: inset 0 0 0 1px var(--acc-soft); }
.cell--accent .cell__idx { color: var(--acc); }
.cell--more {
  align-items: flex-start; justify-content: center;
  background: repeating-linear-gradient(135deg, transparent 0 9px, var(--acc-faint) 9px 10px), var(--bg);
  background-position: 0 0, 0 0;
  animation: hazard 14s linear infinite;
}
@keyframes hazard { to { background-position: -28px 0, 0 0; } }
.cell--more:hover { background: repeating-linear-gradient(135deg, transparent 0 9px, var(--acc-soft) 9px 10px), var(--bg-2); }
.cell--more .cell__name { font-size: 1.02rem; color: var(--ink-2); }

@media (hover: none) {
  .cell__call { opacity: 1; transform: none; color: var(--acc); }
  .cell__call--static { color: var(--acc); }
}

/* ════════════ agent loop ════════════ */
.loop { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.loop__chat {
  border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--bg-1); padding: 1.4rem;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.loop__msg { border-radius: var(--r); padding: 0.9rem 1.1rem; font-size: 0.94rem; line-height: 1.5; }
.loop__msg--agent { background: var(--bg-2); border: 1px solid var(--line); }
.loop__who {
  display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 0.45rem;
}
.loop__who i { color: var(--acc); font-style: normal; }
.loop__msg p { color: var(--ink-2); }

.loop__tool { border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); padding: 0.85rem 1rem; }
.loop__tool-head { display: flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); margin-bottom: 0.6rem; }
.loop__tool-led { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); }
.loop__tool-led--ok { background: var(--acc); box-shadow: 0 0 8px var(--acc); }
.loop__tool--ok { border-color: var(--acc-soft); }
.loop__tool pre { font-family: var(--mono); font-size: 0.73rem; line-height: 1.7; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }

.loop__cursor { display: inline-block; width: 8px; height: 1.05em; background: var(--acc); vertical-align: text-bottom; margin-left: 2px; animation: blink 1s steps(2) infinite; }

.loop__aside { padding-top: 0.5rem; }
.loop__aside h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.95rem); letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); margin-bottom: 1.4rem; text-wrap: balance; }
.loop__aside ul { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.loop__aside li { font-size: 0.95rem; line-height: 1.5; color: var(--ink-3); padding-left: 1.5rem; position: relative; }
.loop__aside li::before { content: "→"; position: absolute; left: 0; color: var(--acc); font-family: var(--mono); }
.loop__aside li span { color: var(--ink); font-weight: 600; }

/* ════════════ marquee logo wall ════════════ */
.marquee-sec { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) 0; overflow: hidden; }
.marquee-sec .eyebrow { padding: 0 var(--gut); }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee-translate 36s linear infinite; padding-left: 3.5rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--mono); font-size: clamp(1.1rem, 2vw, 1.7rem); font-weight: 500;
  letter-spacing: -0.02em; color: var(--ink-4); white-space: nowrap;
  transition: color .25s var(--ease);
}
.marquee__track span:hover { color: var(--acc); }
@keyframes marquee-translate { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ════════════ proof / numbers ════════════ */
.proof { max-width: var(--maxw); margin: 0 auto; padding: clamp(4.5rem, 9vw, 8rem) var(--gut); }
.proof__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }

.proof__big {
  display: flex; align-items: flex-start;
  font-family: var(--display); font-weight: 600;
  line-height: 0.82; letter-spacing: -0.05em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.proof__big-n { font-size: clamp(6rem, 19vw, 15rem); text-shadow: 0 0 60px var(--white-glow); }
.proof__big-plus { font-size: clamp(3rem, 9vw, 7rem); color: var(--acc); text-shadow: 0 0 44px var(--acc-glow); margin-top: 0.06em; margin-left: 0.04em; }
.proof__big-label { margin-top: 1.3rem; font-size: clamp(1.05rem, 1.7vw, 1.4rem); color: var(--ink-2); max-width: 20ch; line-height: 1.25; text-wrap: balance; }
.proof__big-label em { font-style: normal; color: var(--acc); }

.proof__row { list-style: none; display: flex; flex-direction: column; }
.proof__row li { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.proof__row li:first-child { border-top: 1px solid var(--line); }
.proof__row b { font-family: var(--display); font-weight: 600; font-size: clamp(1.55rem, 2.8vw, 2.25rem); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.proof__row b i { font-style: normal; color: var(--acc); }
.proof__row span { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-3); text-align: right; letter-spacing: 0.01em; text-transform: uppercase; }

/* ════════════ pricing ════════════ */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); align-items: stretch; }
.tier {
  position: relative; background: var(--bg-1); padding: 1.9rem 1.7rem 2rem;
  display: flex; flex-direction: column;
  transition: background var(--dur) var(--ease);
}
.tier:hover { background: var(--bg-2); }
.tier--feature { background: var(--bg-2); }
.tier--feature::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px var(--acc-soft); }
.tier__flag {
  position: absolute; top: 1.4rem; right: 1.4rem;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--acc); border: 1px solid var(--acc-soft); padding: 0.3rem 0.6rem; border-radius: var(--r);
}
.tier header { padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); margin-bottom: 1.3rem; }
.tier__name { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.8rem; }
.tier__price { font-family: var(--display); font-weight: 600; font-size: 3rem; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.tier__price span { font-size: 1.5rem; color: var(--ink-3); vertical-align: top; position: relative; top: 0.12em; }
.tier__price small { display: block; font-family: var(--mono); font-size: 0.72rem; font-weight: 400; color: var(--ink-3); letter-spacing: 0; margin-top: 0.5rem; }
.tier__price--word { font-size: 2.4rem; }
.tier__note { font-size: 0.92rem; color: var(--ink-3); margin-bottom: 1.4rem; }
.tier__feat { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.8rem; flex: 1; }
.tier__feat li { font-size: 0.92rem; color: var(--ink-2); padding-left: 1.5rem; position: relative; }
.tier__feat li::before { content: "+"; position: absolute; left: 0; color: var(--acc); font-family: var(--mono); top: 0; }

/* ════════════ trust ════════════ */
.trust__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); }
.trust__status, .trust__log, .trust__logos { background: var(--bg-1); padding: 1.6rem; }
.trust__status-head { display: flex; align-items: center; gap: 0.6rem; font-family: var(--mono); font-size: 0.84rem; color: var(--ink); margin-bottom: 1.4rem; }
.trust__led { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); animation: led 2.4s ease-in-out infinite; }
.trust__metrics { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.5rem; }
.trust__metrics div { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.8rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); }
.trust__metrics dt { color: var(--ink-3); } .trust__metrics dd { color: var(--ink); }
.trust__spark { display: flex; align-items: flex-end; gap: 3px; height: 44px; }
.trust__spark span { flex: 1; background: var(--acc-soft); height: var(--h, 50%); transform-origin: bottom; animation: spark 2.6s var(--ease) infinite alternate; animation-delay: var(--sd, 0s); }
.trust__spark span:nth-child(3n) { background: var(--acc-faint); }
.trust__spark span:nth-child(8n+1) { --h: 48%; --sd: 0s;   }
.trust__spark span:nth-child(8n+2) { --h: 72%; --sd: .2s;  }
.trust__spark span:nth-child(8n+3) { --h: 36%; --sd: .5s;  }
.trust__spark span:nth-child(8n+4) { --h: 88%; --sd: .1s;  }
.trust__spark span:nth-child(8n+5) { --h: 58%; --sd: .4s;  }
.trust__spark span:nth-child(8n+6) { --h: 30%; --sd: .7s;  }
.trust__spark span:nth-child(8n+7) { --h: 78%; --sd: .3s;  }
.trust__spark span:nth-child(8n+8) { --h: 52%; --sd: .6s;  }
@keyframes spark { from { transform: scaleY(0.5); } to { transform: scaleY(1); } }

.trust__log ul { list-style: none; display: flex; flex-direction: column; gap: 0.95rem; margin-top: 1.3rem; }
.trust__log li { display: flex; gap: 0.9rem; font-size: 0.86rem; align-items: baseline; }
.trust__log time { font-family: var(--mono); font-size: 0.74rem; color: var(--acc); flex-shrink: 0; }
.trust__log span { color: var(--ink-2); line-height: 1.4; }

.trust__logo-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.3rem; }
.trust__logo-row span {
  font-family: var(--mono); font-size: 0.76rem; color: var(--ink-3);
  padding: 0.5rem 0.8rem; border: 1px solid var(--line); border-radius: var(--r);
  transition: color .25s, border-color .25s;
}
.trust__logo-row span:hover { color: var(--acc); border-color: var(--acc-soft); }

/* ════════════ finale ════════════ */
.finale { position: relative; overflow: hidden; padding: clamp(6rem, 14vw, 11rem) var(--gut); text-align: center; }
.weave--finale { opacity: 0.5; }
.finale__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.finale__title { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 0.92; letter-spacing: -0.04em; color: var(--ink); text-wrap: balance; }
.finale__code {
  display: inline-block; margin: 2rem auto 0;
  font-family: var(--mono); font-size: clamp(0.82rem, 1.4vw, 1rem);
  color: var(--ink-2); padding: 0.9rem 1.4rem;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-1);
}
.finale__kicker { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink-3); margin-top: 1.3rem; }
.finale__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 2rem; }

/* ════════════ footer ════════════ */
.foot { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) var(--gut) 2rem; max-width: var(--maxw); margin: 0 auto; }
.foot__top { display: grid; grid-template-columns: 1.4fr 2.6fr; gap: clamp(2rem, 6vw, 5rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.foot__brand-row { display: inline-flex; align-items: center; gap: 0.6rem; }
.foot__brand p { font-size: 0.92rem; color: var(--ink-3); margin: 1rem 0 1.4rem; line-height: 1.5; }
.brand__word--lg { font-size: 1.4rem; }
.foot__mail { font-family: var(--mono); font-size: 0.86rem; color: var(--ink); border-bottom: 1px solid var(--acc); padding-bottom: 1px; transition: color .2s; }
.foot__mail:hover { color: var(--acc); }
.foot__ascii { font-family: var(--mono); font-size: 0.72rem; color: var(--acc); line-height: 1.5; opacity: 0.8; margin-top: 1.3rem; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.foot__cols h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 1.1rem; }
.foot__cols a { display: block; font-size: 0.9rem; color: var(--ink-2); padding: 0.32rem 0; transition: color .2s; }
.foot__cols a:hover { color: var(--acc); }
.foot__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.8rem; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-4); }
.foot__bot-mid { color: var(--ink-3); }
.foot__social { display: flex; gap: 1rem; }
.foot__social a { color: var(--ink-3); transition: color .2s; }
.foot__social a:hover { color: var(--acc); }
.foot__sys { display: flex; align-items: center; gap: 0.5rem; }
.foot__sys i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc); }

/* ════════════ reveal ════════════ */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ════════════ responsive ════════════ */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell--wide { grid-column: span 2; }
  .cell--tall { grid-row: span 1; }
  .trust__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding-top: 7rem; min-height: auto; }
  .hero__copy { max-width: none; }
  .hero__sub { max-width: 40ch; }
  .loop { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; }
  .vs__bridge { flex-direction: row; min-height: 40px; }
  .vs__bridge svg { width: 80px; height: 30px; transform: rotate(90deg); }
  .vs__bridge-tag { writing-mode: horizontal-tb; }
  .proof__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .tiers { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .tier--feature { order: -1; }
}
@media (max-width: 760px) { .nav__links { display: none; } }
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .cell--wide { grid-column: span 1; }
  .foot__top { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
  .status-pill__sep, .status-pill__ms { display: none; }
  .nav__right .btn--key { display: none; }
  .hero__cta, .finale__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn, .finale__cta .btn { width: 100%; justify-content: center; }
  .foot__bot { flex-direction: column; gap: 0.6rem; }
}
@media (pointer: coarse) {
  .status-pill, .term__copy, .term__run { min-height: 44px; }
  .foot__cols a { padding: 0.55rem 0; }
  .nav__links a { padding: 0.6rem 0.7rem; }
}

/* ════════════ reduced motion ════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .weave { display: none; }
  .marquee__track { animation: none !important; }
}
