/* ERIUS PHONE — variant 4: bento / control-panel direction.
   Tile styling recreated from HorizonX Library Figma bentos:
   DevOps Pipeline Bento (bento-grid-07), Analytics Bento (bento-grid-05),
   Automation Bento (bento-grid-15), SaaS Feature Bento (bento-grid-02).
   Pricing cards use the HorizonX "Neon Glass Card" component export. */

:root {
  --bg: #07080b;
  --tile: #0d0f14;
  --tile-2: #11141a;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #eef0f4;
  --ink-2: #a3a8b4;
  --ink-3: #6b7180;
  --teal: #2dd4bf;
  --violet: #a78bfa;
  --blue: #60a5fa;
  --orange: #fb923c;
  --amber: #f5b544;
  --magenta: #e879f9;
  --ok: #6ee7b7;
  --err: #fb7185;
  --r: 22px;
  --gap: 16px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 15% -5%, rgba(45, 212, 191, .07), transparent 70%),
    radial-gradient(800px 500px at 95% 0%, rgba(96, 165, 250, .06), transparent 70%),
    var(--bg);
  color: var(--ink);
  font: 400 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
pre { margin: 0; }
code, pre { font-family: var(--mono); }

.wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(7, 8, 11, .72); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .08em; font-size: 13px; text-decoration: none; }
.wordmark__logo { height: 26px; width: auto; display: block; }
.wordmark__glyph { width: 12px; height: 20px; border: 2px solid var(--ink); border-radius: 4px; position: relative; }
.wordmark__glyph::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 2px; translate: -50% 0; background: var(--ok); border-radius: 1px; }
.nav__links { display: flex; gap: 22px; font-size: 14px; color: var(--ink-2); }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--ink); }
.nav__status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--mono); color: var(--ink-2); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
.pulse, .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(110, 231, 183, .18); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 20px; border: 0; border-radius: 12px;
  background: var(--ink); color: #07080b; font: 600 14px var(--sans);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 8px 30px -10px rgba(45, 212, 191, .55);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 10px 36px -8px rgba(45, 212, 191, .7); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn--warm { background: #2a160b; color: #fff4e6; box-shadow: 0 10px 30px -12px rgba(194, 65, 12, .7); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- generic tile ---------- */
main { padding-block: 24px 64px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, var(--tile-2), var(--tile));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.tile h3 { font-size: 18px; line-height: 1.25; }
.tile p { color: var(--ink-2); }
.tile__bloom { position: absolute; z-index: -1; pointer-events: none; filter: blur(40px); }
.tile__bloom--teal { width: 520px; height: 360px; left: -120px; top: -160px; background: radial-gradient(closest-side, rgba(45, 212, 191, .28), transparent); }
.tile__foot { margin-top: auto; display: grid; gap: 8px; }
.tile__bar { display: flex; justify-content: space-between; align-items: center; }
.tile__label { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); }
.tag { font: 500 11px var(--mono); padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--ink-2); }
.tag--ok { color: var(--ok); border-color: rgba(110, 231, 183, .3); background: rgba(110, 231, 183, .06); }
.fine { font-size: 12px; color: var(--ink-3) !important; }
.fine--center { text-align: center; margin-top: 20px; }

.kicker { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.kicker--warm { color: #9a3412; }
.kicker--orange { color: var(--orange); }

/* SaaS Feature Bento: hairline + corner ticks */
.ticks { position: relative; }
.ticks > * { position: relative; }
.ticks > *::before, .ticks > *::after {
  content: ""; position: absolute; width: 9px; height: 9px; pointer-events: none;
  border-color: rgba(255,255,255,.35); border-style: solid; border-width: 0;
}
.ticks > *::before { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.ticks > *::after { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }

/* ---------- block headings ---------- */
.bento-block { margin-top: 96px; }
.block__head { margin-bottom: 28px; max-width: 760px; }
.block__head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; }
.block__sub { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.block__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.block__head--center { margin-inline: auto; text-align: center; }

/* ================= BENTO 1 · HERO ================= */
.bento--hero { grid-template-rows: auto auto; padding-top: 16px; }
.tile--hero { grid-column: 1 / span 8; padding: 56px 56px 48px; display: flex; flex-direction: column; justify-content: center; min-height: 560px; }
.chip { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 12px var(--mono); color: var(--ink-2) !important; margin-bottom: 28px; background: rgba(255,255,255,.03); }
.tile--hero h1 { font-size: clamp(44px, 5.6vw, 78px); line-height: .98; letter-spacing: -.04em; }
.lede { margin-top: 22px; font-size: 22px; color: var(--ink) !important; font-weight: 500; letter-spacing: -.01em; }
.sub { margin-top: 12px; max-width: 580px; font-size: 16px; }
.signup { margin-top: 32px; display: flex; gap: 8px; max-width: 520px; padding: 6px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(0,0,0,.35); }
.signup input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 15px var(--sans); }
.signup input::placeholder { color: var(--ink-3); }
.signup__note { margin-top: 12px; font-size: 13px; color: var(--ink-3) !important; }
.signup__note.is-ok { color: var(--ok) !important; }
.signup__note.is-err { color: var(--err) !important; }

.tile--device { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 18px; padding: 22px; background: radial-gradient(120% 70% at 50% 0%, rgba(96, 165, 250, .12), transparent 60%), linear-gradient(180deg, var(--tile-2), var(--tile)); }
.device-stage { display: grid; place-items: center; flex: 1; }

.phone { width: 220px; padding: 8px; border-radius: 34px; background: #16181d; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), inset 0 0 0 1px rgba(0,0,0,.6); }
.phone--sm { width: 190px; }
.phone__screen { position: relative; width: 100%; aspect-ratio: 720 / 1280; overflow: hidden; border-radius: 27px; background: #000; }
.phone__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .5s; }
.phone__shot.is-active { opacity: 1; }
.tap { position: absolute; left: 50%; top: 13%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; background: rgba(110, 231, 183, .35); border: 2px solid var(--ok); opacity: 0; }
.tap.is-on { animation: tap .8s ease-out; }
@keyframes tap { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6); } }

.console__log { font: 12px/1.9 var(--mono); color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 12px; }
.console__log li { display: flex; gap: 8px; }
.console__log b { color: var(--teal); font-weight: 500; min-width: 78px; }
.console__log i { margin-left: auto; font-style: normal; color: var(--ok); }
.hero__visual[data-animate] .console__log li { opacity: .25; transition: opacity .3s; }
.hero__visual[data-animate] .console__log li.is-in { opacity: 1; }

.tile--stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; background: transparent; border: 0; box-shadow: none; overflow: visible; gap: var(--gap); }
.tile--stats li { padding: 22px 24px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.015); display: flex; gap: 16px; align-items: center; }
.stat__n { font: 600 40px/1 var(--sans); letter-spacing: -.04em; color: var(--ink); min-width: 52px; }
.stat__n small { font-size: 22px; color: var(--ink-3); }
.stat__l { font-size: 13px; color: var(--ink-2); line-height: 1.4; }

/* ================= HERO · CINEMATIC STAGE =================
   HorizonX Library "Movement Beyond Hero" (Code / Hero, premium): full-bleed CGI stage,
   editorial type, frame ticks, WAAPI entrance (main.js). The light "ice" CGI is inverted
   into the page's dark palette; the real phone stands on the podium. */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/hero/sora-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/hero/ibm-plex-mono-600-latin.woff2") format("woff2"); }

html { overflow-x: clip; }
.cine {
  --pad: clamp(1.25rem, 3.2vw, 3.5rem);
  --hmono: "IBM Plex Mono", var(--mono);
  --ease-in: cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; isolation: isolate; overflow: hidden; container-type: size;
  /* full-bleed out of .wrap; --sbw (scrollbar width) is set by main.js */
  --bleed: calc(100vw - var(--sbw, 0px));
  width: var(--bleed); margin: -24px 0 0 calc(50% - var(--bleed) / 2);
  height: calc(100svh - 64px); min-height: 640px; max-height: 1080px;
  background: var(--bg);
}
.cine__media, .cine__video, .cine__scrim, .cine__frame { position: absolute; inset: 0; }
.cine__media { z-index: -1; }
.cine__video {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%;
  /* white architecture → near-black, keeps the cyan/violet edge light */
  filter: invert(1) hue-rotate(180deg) brightness(.82) contrast(1.15) saturate(1.4);
}
.cine__scrim {
  background:
    linear-gradient(180deg, rgba(7, 8, 11, .78) 0%, rgba(7, 8, 11, .35) 34%, rgba(7, 8, 11, 0) 58%, rgba(7, 8, 11, .25) 82%, var(--bg) 100%),
    radial-gradient(60% 40% at 50% 82%, rgba(45, 212, 191, .12), transparent 70%);
}

.cine__frame { inset: .75rem; z-index: 3; border: 1px solid rgba(255, 255, 255, .07); pointer-events: none; }
.cine__corner { position: absolute; width: 18px; height: 18px; }
.cine__corner::before, .cine__corner::after { content: ""; position: absolute; background: rgba(255, 255, 255, .45); }
.cine__corner::before { top: 8px; left: 0; width: 18px; height: 1px; }
.cine__corner::after { left: 8px; top: 0; width: 1px; height: 18px; }
.cine__corner--tl { top: 1rem; left: 1rem; }
.cine__corner--tr { top: 1rem; right: 1rem; }
.cine__corner--bl { bottom: 1rem; left: 1rem; }
.cine__corner--br { bottom: 1rem; right: 1rem; }

.cine__index { position: absolute; z-index: 4; right: var(--pad); top: 46%; display: grid; justify-items: center; gap: .8rem; font: 600 11px var(--hmono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cine__index-line { width: 1px; height: 3.5rem; background: linear-gradient(var(--ink-3), var(--teal)); transform-origin: 50% 0%; }

.cine__heading { position: absolute; z-index: 4; top: clamp(2.5rem, 6vh, 4.5rem); left: 50%; width: min(94vw, 92rem); transform: translateX(-50%); text-align: center; }
.cine__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(1rem, 2.2vh, 1.6rem); font: 600 12px var(--hmono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.cine__title { display: grid; row-gap: .04em; font: 600 clamp(3rem, 6.9vw, 7.25rem)/.96 "Sora", var(--sans); letter-spacing: -.06em; color: var(--ink); text-wrap: balance; perspective: 800px; }
.cine__title span { display: block; transform-origin: 50% 100%; }
.cine__title span + span { background: linear-gradient(180deg, var(--ink) 30%, #9fb3c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cine__cta { margin: clamp(1.4rem, 3vh, 2.1rem) auto 0; max-width: 470px; background: rgba(7, 8, 11, .55); backdrop-filter: blur(12px); }
.cine__cta .btn { gap: 10px; }
.cine__cta-icon { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: square; transition: transform 180ms var(--ease-in); }
.cine__cta .btn:hover .cine__cta-icon { transform: translate(2px, -2px); }
.cine .signup__note { margin-top: 10px; }

/* Mirrors the video's object-fit: cover box (object-position 50% 58%) so the phone stays on the podium. */
.cine__stage {
  --sw: max(100cqw, 100cqh * 16 / 9);
  --sh: max(100cqh, 100cqw * 9 / 16);
  position: absolute; z-index: 2; pointer-events: none;
  width: var(--sw); height: var(--sh);
  left: 50%; margin-left: calc(var(--sw) / -2);
  top: calc((100cqh - var(--sh)) * .58);
}
.cine__device { position: absolute; left: 50%; bottom: 18.6%; width: calc(var(--sh) * .155); margin-left: calc(var(--sh) * -.0775); }
.cine__device::after { content: ""; position: absolute; left: -60%; right: -60%; bottom: -14%; height: 26%; z-index: -1; background: radial-gradient(closest-side, rgba(45, 212, 191, .45), rgba(96, 165, 250, .12) 55%, transparent); filter: blur(6px); }
.cine__device .phone { width: 100%; padding: 5px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(45, 212, 191, .18), 0 30px 50px -18px rgba(0, 0, 0, .9), 0 0 60px -10px rgba(45, 212, 191, .35); }
.cine__device .phone__screen { border-radius: 17px; }
.cine__device .tap { width: 22px; height: 22px; margin: -11px; }

.cine__caption { position: absolute; z-index: 4; left: var(--pad); bottom: clamp(1.8rem, 5vh, 3.5rem); width: min(22rem, 34vw); }
.cine__caption-lead { margin-bottom: 10px; font: 500 clamp(17px, 1.4vw, 21px)/1.15 "Sora", var(--sans); letter-spacing: -.025em; color: var(--ink); }
.cine__caption p + p { font-size: 14px; color: var(--ink-2); }

.cine__meta { position: absolute; z-index: 4; right: var(--pad); bottom: clamp(1.8rem, 5vh, 3.5rem); width: 280px; }
.cine__meta-label { margin-bottom: 8px; font: 600 11px var(--hmono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); text-align: right; }
.cine__meta .console__log { font-size: 11.5px; line-height: 1.8; }

.js.motion-pending .cine [data-enter="media"] { opacity: .55; transform: scale(1.055); }
.js.motion-pending .cine [data-enter="frame"],
.js.motion-pending .cine__corner,
.js.motion-pending .cine__eyebrow,
.js.motion-pending .cine__title > span,
.js.motion-pending .cine__cta,
.js.motion-pending .cine .signup__note,
.js.motion-pending .cine [data-enter="device"],
.js.motion-pending .cine [data-enter="index"],
.js.motion-pending .cine [data-enter="caption"],
.js.motion-pending .cine [data-enter="metadata"] { opacity: 0; }

@media (max-width: 1100px) {
  .cine__meta, .cine__index { display: none; }
}
@media (max-width: 760px) {
  .cine__eyebrow { display: block; font-size: 11px; letter-spacing: .08em; }
  .cine__eyebrow .pulse { display: inline-block; margin-right: 8px; vertical-align: 1px; }
  .cine { container-type: normal; height: auto; min-height: 0; max-height: none; padding: 3.5rem var(--pad) 3.5rem; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
  .cine__heading, .cine__stage, .cine__device, .cine__caption { position: static; transform: none; margin: 0; width: auto; height: auto; }
  .cine__heading { width: 100%; }
  .cine__title { font-size: clamp(2.6rem, 12vw, 4rem); }
  .cine__cta { flex-direction: column; }
  .cine__device { width: 150px; position: relative; left: auto; bottom: auto; }
  .cine__caption { text-align: center; max-width: 24rem; }
}

/* ================= BENTO 2 · WHAT IT IS (Automation Bento) ================= */
.tile--screenpair { grid-column: span 7; display: flex; flex-direction: column; gap: 24px; }
.screenpair { display: flex; gap: 20px; align-items: center; }
.tree { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.35); overflow: hidden; }
.tree__head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 500 11px var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .12em; }
.tree pre { padding: 14px; font-size: 11.5px; line-height: 1.7; color: var(--ink-2); overflow-x: auto; }
.c { color: var(--ink-3); } .s { color: #fcd34d; } .k { color: var(--teal); } .ok { color: var(--ok); } .err { color: var(--err); }

.tile--auto { display: flex; flex-direction: column; gap: 22px; min-height: 280px; }
.tile--auto::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tile--magenta::before { background: radial-gradient(80% 60% at 70% 0%, rgba(232, 121, 249, .22), transparent 70%); }
.tile--teal::before { background: radial-gradient(80% 60% at 50% 0%, rgba(45, 212, 191, .2), transparent 70%); }
.tile--amber::before { background: radial-gradient(80% 60% at 80% 10%, rgba(245, 181, 68, .2), transparent 70%); }

.mock { border: 1px solid var(--line-2); border-radius: 14px; background: rgba(8, 9, 13, .7); padding: 14px; font-size: 13px; box-shadow: 0 20px 40px -24px rgba(0,0,0,.9); }
.mock__dots { display: flex; gap: 5px; margin-bottom: 10px; }
.mock__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.18); }
.mock__title { font-size: 12px; color: var(--ink-3) !important; margin-bottom: 8px; }
.mock--picker ul { display: grid; gap: 6px; }
.mock--picker li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--ink-2); border: 1px solid transparent; }
.mock--picker li.is-on { border-color: rgba(232, 121, 249, .45); background: rgba(232, 121, 249, .1); color: var(--ink); }
.mock--picker li em { margin-left: auto; font: normal 11px var(--mono); color: var(--magenta); }
.ico { width: 16px; height: 16px; border-radius: 5px; background: rgba(255,255,255,.12); }
.is-on .ico { background: var(--magenta); }

.mock--flow { display: grid; gap: 0; justify-items: center; }
.flow__node { width: 100%; display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--line-2); color: var(--ink-3); font-size: 12px; }
.flow__node span { color: var(--ink-2); font-weight: 500; }
.flow__node--on { border-color: rgba(45, 212, 191, .55); background: rgba(45, 212, 191, .08); box-shadow: 0 0 24px -6px rgba(45, 212, 191, .5); }
.flow__node--on span { color: var(--teal); }
.flow__link { width: 1px; height: 12px; background: linear-gradient(var(--line-2), rgba(45, 212, 191, .6)); }

.mock--actions { position: relative; }
.mock--actions ul { display: grid; gap: 8px; }
.mock--actions li { display: flex; flex-wrap: wrap; gap: 6px; }
.mock--actions code { font-size: 12px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--ink-2); }
.mock--actions code.is-on { color: #1b1204; background: var(--amber); border-color: var(--amber); box-shadow: 0 0 20px -4px rgba(245, 181, 68, .7); }
.mock__pill { position: absolute; right: 12px; bottom: -12px; font: 500 11px var(--mono); padding: 4px 9px; border-radius: 999px; background: #2a1d05; color: var(--amber); border: 1px solid rgba(245, 181, 68, .4); }

/* Automation Bento's three accent cards, re-tiled around the screenpair:
   row 1 = screenpair (7) + magenta (5), row 2 = teal (6) + amber (6). */
.bento--what .tile--magenta { grid-column: span 5; }
.bento--what .tile--teal, .bento--what .tile--amber { grid-column: span 6; }

/* ================= BENTO 3 · PIPELINE (DevOps Pipeline Bento) ================= */
.tile--step { grid-column: span 6; display: flex; flex-direction: column; gap: 10px; min-height: 330px; padding: 26px 28px 28px; }
.tile--step::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.step--teal::before { background: radial-gradient(70% 70% at 25% 0%, rgba(45, 212, 191, .22), transparent 70%); }
.step--violet::before { background: radial-gradient(70% 70% at 60% 0%, rgba(167, 139, 250, .24), transparent 70%); }
.step--blue::before { background: radial-gradient(70% 70% at 40% 0%, rgba(96, 165, 250, .22), transparent 70%); }
.step--orange::before { background: radial-gradient(60% 70% at 70% 10%, rgba(251, 146, 60, .25), transparent 70%); }
.step__mock { flex: 1; display: grid; place-items: center; margin-bottom: 14px; min-height: 150px; }
.step__n { font: 500 12px var(--mono); color: var(--ink-3); letter-spacing: .12em; }
.tile--step p { max-width: 520px; }
.code { font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }

.meter { width: min(100%, 420px); padding: 16px; border-radius: 14px; border: 1px solid rgba(45, 212, 191, .3); background: linear-gradient(180deg, rgba(45, 212, 191, .08), rgba(0,0,0,.3)); box-shadow: 0 0 40px -12px rgba(45, 212, 191, .45); font: 12px var(--mono); }
.meter__head, .meter__rows { display: flex; justify-content: space-between; color: var(--ink-2); }
.meter__rows { color: var(--ink-3); margin-top: 10px; }
.meter__bar { margin-top: 12px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, rgba(45, 212, 191, .3), var(--teal)); box-shadow: 0 0 14px var(--teal); }

.sync { width: 100%; display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; }
.sync__end { padding: 14px; border-radius: 14px; border: 1px solid rgba(167, 139, 250, .4); background: rgba(167, 139, 250, .08); min-height: 92px; }
.sync__end--dash { border-style: dashed; background: transparent; }
.sync__k { display: block; font: 500 11px var(--mono); color: var(--violet); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; }
.sync__wire { height: 2px; background: linear-gradient(90deg, rgba(167, 139, 250, .2), var(--violet), rgba(167, 139, 250, .2)); position: relative; }
.sync__wire i { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 14px var(--violet); }

.term { width: min(100%, 440px); display: grid; gap: 12px; justify-items: center; }
.term__url { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(96, 165, 250, .4); background: rgba(96, 165, 250, .08); font: 12px var(--mono); color: var(--ink-2); }
.term__dots { display: flex; gap: 4px; } .term__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); }
.term__check { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(96, 165, 250, .6); color: var(--blue); font-size: 12px; }
.term__line { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0,0,0,.45); box-shadow: 0 0 30px -10px rgba(96, 165, 250, .5); }

.results { padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(251, 146, 60, .35); background: radial-gradient(circle at 50% 0%, rgba(251, 146, 60, .14), rgba(0,0,0,.35)); font-size: 13.5px; }

/* ================= BENTO 4 · USE CASES (Analytics Bento panel) ================= */
.panel { position: relative; isolation: isolate; padding: 18px; border-radius: 30px; border: 1px solid var(--line); background: #0a0b0f; overflow: hidden; }
.panel__bloom { position: absolute; z-index: -1; width: 640px; height: 420px; filter: blur(70px); pointer-events: none; }
.panel__bloom--warm { left: -180px; top: -220px; background: radial-gradient(closest-side, rgba(251, 146, 60, .45), transparent); }
.panel__bloom--cool { right: -180px; top: -220px; background: radial-gradient(closest-side, rgba(96, 165, 250, .45), transparent); }
.tile--case { display: flex; flex-direction: column; gap: 16px; background: linear-gradient(180deg, rgba(22, 24, 30, .82), rgba(12, 13, 17, .92)); backdrop-filter: blur(10px); }
.tile--qa { grid-column: span 7; }
.tile--automation { grid-column: span 5; }
.tile--case h3 { font-size: 24px; max-width: 460px; }
.case__label { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--orange) !important; margin-bottom: 8px; }
.tile--automation .case__label { color: var(--blue) !important; }
.case__top { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.gauge { margin: 0; width: 150px; flex: none; text-align: center; }
.gauge svg { width: 100%; overflow: visible; }
.gauge__track, .gauge__val { fill: none; stroke-width: 8; stroke-linecap: round; }
.gauge__track { stroke: rgba(255,255,255,.08); }
.gauge__val { stroke: var(--orange); stroke-dasharray: 66.7 100; filter: drop-shadow(0 0 6px rgba(251, 146, 60, .8)); }
.gauge figcaption { margin-top: -26px; display: grid; }
.gauge b { font-size: 24px; letter-spacing: -.03em; }
.gauge span { font: 11px var(--mono); color: var(--ink-3); }
.case__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: start; margin-top: 4px; }
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; color: var(--ink); font-size: 14px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 5px; background: rgba(110, 231, 183, .12); border: 1px solid rgba(110, 231, 183, .4); }
.checks li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 6px; height: 3px; border: solid var(--ok); border-width: 0 0 1.5px 1.5px; rotate: -45deg; }
.report { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.4); font-size: 12px; line-height: 1.75; color: var(--ink-2); overflow-x: auto; }
.glowchip { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; margin-bottom: 8px; border-radius: 14px; border: 1px solid rgba(96, 165, 250, .55); background: rgba(96, 165, 250, .08); box-shadow: 0 0 40px -8px rgba(96, 165, 250, .6), inset 0 0 20px rgba(96, 165, 250, .15); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.glowchip__arrows { color: var(--blue); font-size: 16px; }
.case__note { font-size: 13px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); margin-top: auto; }
.case__note strong { color: var(--ink); }

/* ================= GIFT · breaks the rhythm ================= */
.gift {
  margin-top: 96px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center;
  padding: 64px; border-radius: 40px 40px 40px 8px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(251, 146, 60, .35), transparent 60%),
    linear-gradient(160deg, #fff4e6, #fde3c8);
  color: #2a160b;
  rotate: -.4deg;
  box-shadow: 0 40px 80px -40px rgba(251, 146, 60, .45);
}
.gift > * { rotate: .4deg; }
.gift h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.02em; }
.gift__sub { margin-top: 16px; font-size: 17px; color: #6b3d1e; max-width: 560px; }
.gift__list { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gift__list li { padding-top: 14px; border-top: 1px solid rgba(42, 22, 11, .18); }
.gift__list h3 { font-size: 15px; }
.gift__list p { margin-top: 6px; font-size: 13.5px; color: #7c4a26; }
.gift__cta { margin-top: 32px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.gift__cta p { font-size: 14px; color: #8a5530; font-style: italic; }
.gift__visual { margin: 0; display: grid; justify-items: center; gap: 14px; }
.gift__box { position: relative; padding: 28px 40px; }
.gift__box .phone { rotate: 4deg; box-shadow: 0 40px 60px -24px rgba(124, 45, 18, .55); }
.gift__tag { position: absolute; left: -6px; bottom: 34px; rotate: -8deg; display: grid; gap: 2px; padding: 12px 16px 12px 26px; background: #fffaf3; border: 1px solid rgba(42, 22, 11, .2); border-radius: 6px 14px 14px 6px; font: 13px Georgia, serif; font-style: italic; box-shadow: 0 10px 20px -10px rgba(0,0,0,.3); }
.gift__tag::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; border: 1.5px solid rgba(42, 22, 11, .45); }
.gift__visual figcaption { font-size: 12px; color: #8a5530; }

/* ================= BENTO 5 · ISOLATION ================= */
.tile--protect { grid-column: span 5; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; background: radial-gradient(70% 60% at 50% 32%, rgba(251, 146, 60, .32), transparent 70%), linear-gradient(180deg, #17110d, var(--tile)); }
.tile--protect h2 { font-size: 32px; line-height: 1.1; margin-bottom: 10px; }
.protect__orb { position: absolute; left: 50%; top: 32%; translate: -50% -50%; display: flex; align-items: center; gap: 30px; }
.protect__lock { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 50% 35%, #fb923c, #7c2d12); box-shadow: 0 0 0 10px rgba(251, 146, 60, .1), 0 0 0 22px rgba(251, 146, 60, .05), 0 0 70px rgba(251, 146, 60, .7); }
.protect__lock svg { width: 32px; }
.protect__sat { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.specs { grid-column: span 7; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin: 0; }
.specs > div { padding: 28px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.015); }
.specs dt { font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.specs dd { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ================= PRICING · HorizonX Neon Glass Card ================= */
/* Component CSS below is the HorizonX export (neon-glass-card), adapted:
   card sized to fit a 3-up row, feature list + badge slots added. */
.ngc-row { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; padding-top: 12px; }
.ngc-frame{--ngc-w:384px;--ngc-h:520px;--ngc-radius:30px;--ngc-frost:17px;--ngc-tint:6%;--ngc-lift:6px;--ngc-glow:.72;--ngc-spread:.58;--ngc-sweep-opacity:1;--ngc-sweep-play:running;--ngc-sweep-duration:4600ms;--ngc-ink:#ffffff;--ngc-surface:#0b0d12;--ngc-duration:400ms;--ngc-stage:transparent}
.ngc-frame{--ngc-u:calc(var(--ngc-w) / 20);--ngc-hairline:color-mix(in srgb,var(--ngc-ink) 18%,transparent);--ngc-glass:color-mix(in srgb,var(--ngc-ink) var(--ngc-tint),transparent);display:grid;place-items:center;background:var(--ngc-stage);font-family:var(--sans)}
.ngc-frame *,.ngc-frame *::before,.ngc-frame *::after{box-sizing:border-box}
.ngc-card{position:relative;isolation:isolate;overflow:hidden;width:var(--ngc-w);height:var(--ngc-h);border-radius:var(--ngc-radius);color:var(--ngc-ink);outline:none;box-shadow:0 calc(var(--ngc-u) * 1.2) calc(var(--ngc-u) * 4.2) calc(var(--ngc-u) * -1.6) color-mix(in srgb,var(--ngc-surface) 62%,transparent);transition:transform var(--ngc-duration) cubic-bezier(.16,1,.3,1)}
.ngc-bloom{position:absolute;inset:calc(var(--ngc-u) * -1.2);z-index:0;border-radius:calc(var(--ngc-radius) + var(--ngc-u) * 1.2);background:radial-gradient(60% 55% at 18% 8%,var(--ngc-neon) 0%,transparent 68%),radial-gradient(58% 52% at 88% 96%,var(--ngc-neon-alt) 0%,transparent 66%);filter:blur(calc(var(--ngc-u) * (.7 + var(--ngc-spread) * 1.6)));opacity:calc(var(--ngc-glow) * .26);transform:scale(.88);transition:opacity var(--ngc-duration) cubic-bezier(.22,1,.36,1),transform var(--ngc-duration) cubic-bezier(.16,1,.3,1);pointer-events:none}
.ngc-pane{position:absolute;inset:0;z-index:1;border-radius:inherit;border:1px solid var(--ngc-hairline);background:linear-gradient(160deg,color-mix(in srgb,var(--ngc-ink) calc(var(--ngc-tint) + 6%),transparent),var(--ngc-glass) 46%,color-mix(in srgb,var(--ngc-surface) 30%,transparent));-webkit-backdrop-filter:blur(var(--ngc-frost)) saturate(1.4);backdrop-filter:blur(var(--ngc-frost)) saturate(1.4);box-shadow:inset 0 1px 0 0 color-mix(in srgb,var(--ngc-ink) 14%,transparent);transition:border-color var(--ngc-duration) cubic-bezier(.22,1,.36,1),box-shadow var(--ngc-duration) cubic-bezier(.22,1,.36,1);pointer-events:none}
.ngc-ring{position:absolute;inset:0;z-index:2;overflow:hidden;border-radius:inherit;padding:1px;opacity:0;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;transition:opacity var(--ngc-duration) cubic-bezier(.22,1,.36,1);pointer-events:none}
.ngc-ring-spin{position:absolute;top:50%;left:50%;width:200%;aspect-ratio:1;background:conic-gradient(from 0deg,transparent 0deg 186deg,color-mix(in srgb,var(--ngc-neon) 88%,transparent) 250deg,color-mix(in srgb,var(--ngc-neon-alt) 96%,transparent) 300deg,transparent 344deg);animation:ngc-sweep var(--ngc-sweep-duration) linear infinite;animation-play-state:var(--ngc-sweep-play)}
@keyframes ngc-sweep{from{transform:translate(-50%,-50%) rotate(0turn)}to{transform:translate(-50%,-50%) rotate(1turn)}}
.ngc-content{position:relative;z-index:3;display:flex;flex-direction:column;width:100%;height:100%;padding:calc(var(--ngc-u) * 1.6);gap:calc(var(--ngc-u) * .8)}
.ngc-head{flex:1 1 auto;display:flex;align-items:flex-start;justify-content:space-between}
.ngc-icon{display:grid;place-items:center;width:calc(var(--ngc-u) * 3);height:calc(var(--ngc-u) * 3);border:1px solid color-mix(in srgb,var(--ngc-ink) 20%,transparent);border-radius:calc(var(--ngc-radius) * .42);background:color-mix(in srgb,var(--ngc-ink) 8%,transparent);color:color-mix(in srgb,var(--ngc-ink) 74%,transparent);transition:color var(--ngc-duration),border-color var(--ngc-duration),box-shadow var(--ngc-duration)}
.ngc-icon svg{display:block;width:calc(var(--ngc-u) * 1.5);height:calc(var(--ngc-u) * 1.5)}
.ngc-badge{font:500 11px var(--mono);letter-spacing:.06em;padding:5px 10px;border-radius:999px;border:1px dashed color-mix(in srgb,var(--ngc-ink) 30%,transparent);color:color-mix(in srgb,var(--ngc-ink) 60%,transparent)}
.ngc-badge--hot{border-style:solid;border-color:color-mix(in srgb,var(--ngc-neon) 60%,transparent);color:color-mix(in srgb,var(--ngc-neon) 80%,var(--ngc-ink));background:color-mix(in srgb,var(--ngc-neon) 14%,transparent)}
.ngc-body{display:flex;flex-direction:column;gap:calc(var(--ngc-u) * .42)}
.ngc-eyebrow{color:color-mix(in srgb,var(--ngc-ink) 52%,transparent);font-size:calc(var(--ngc-u) * .62);font-weight:600;line-height:1;letter-spacing:.18em;text-transform:uppercase;transition:color var(--ngc-duration)}
.ngc-title{margin:0;color:var(--ngc-ink);font-size:calc(var(--ngc-u) * 2.2);font-weight:600;line-height:1.05;letter-spacing:-.035em}
.ngc-period{font-size:0.4em;font-weight:500;color:var(--ngc-ink-dim,rgba(255,255,255,.55));letter-spacing:0;margin-left:.15em}
.ngc-description{margin:0;color:color-mix(in srgb,var(--ngc-ink) 58%,transparent);font-size:calc(var(--ngc-u) * .74);line-height:1.45}
.ngc-list{display:grid;gap:8px;margin-top:calc(var(--ngc-u) * .5)}
.ngc-list li{position:relative;padding-left:20px;font-size:14px;color:color-mix(in srgb,var(--ngc-ink) 82%,transparent)}
.ngc-list li::before{content:"";position:absolute;left:0;top:7px;width:8px;height:8px;border-radius:50%;background:var(--ngc-neon);box-shadow:0 0 10px var(--ngc-neon)}
.ngc-footer{display:flex;align-items:center;justify-content:space-between;gap:calc(var(--ngc-u) * .6);margin-top:calc(var(--ngc-u) * .5);padding-top:calc(var(--ngc-u) * .82);border-top:1px solid color-mix(in srgb,var(--ngc-ink) 12%,transparent)}
.ngc-meta{color:color-mix(in srgb,var(--ngc-ink) 44%,transparent);font-size:calc(var(--ngc-u) * .64);white-space:nowrap}
.ngc-action{display:inline-flex;align-items:center;gap:calc(var(--ngc-u) * .3);color:color-mix(in srgb,var(--ngc-ink) 70%,transparent);font-size:calc(var(--ngc-u) * .7);font-weight:500;white-space:nowrap;text-decoration:none;transition:color var(--ngc-duration)}
.ngc-action-arrow{display:block;width:calc(var(--ngc-u) * .82);height:calc(var(--ngc-u) * .82);transition:transform var(--ngc-duration) cubic-bezier(.16,1,.3,1)}
.ngc-card:is(:hover,:focus-visible,:focus-within,.ngc-card--lit){transform:translateY(calc(var(--ngc-lift) * -1))}
.ngc-card:is(:hover,:focus-visible,:focus-within,.ngc-card--lit) .ngc-bloom{opacity:var(--ngc-glow);transform:scale(1)}
.ngc-card:is(:hover,:focus-visible,:focus-within,.ngc-card--lit) .ngc-ring{opacity:var(--ngc-sweep-opacity)}
.ngc-card:is(:hover,:focus-visible,:focus-within,.ngc-card--lit) .ngc-pane{border-color:color-mix(in srgb,var(--ngc-neon) 34%,var(--ngc-hairline));box-shadow:inset 0 1px 0 0 color-mix(in srgb,var(--ngc-ink) 22%,transparent),inset 0 0 calc(var(--ngc-u) * 2.6) 0 color-mix(in srgb,var(--ngc-neon) calc(var(--ngc-glow) * 26%),transparent)}
.ngc-card:is(:hover,:focus-visible,:focus-within,.ngc-card--lit) .ngc-icon{color:color-mix(in srgb,var(--ngc-neon) 82%,var(--ngc-ink));border-color:color-mix(in srgb,var(--ngc-neon) 48%,transparent);box-shadow:0 0 calc(var(--ngc-u) * 1.1) 0 color-mix(in srgb,var(--ngc-neon) calc(var(--ngc-glow) * 55%),transparent)}
.ngc-card:is(:hover,:focus-visible,:focus-within,.ngc-card--lit) .ngc-eyebrow{color:color-mix(in srgb,var(--ngc-neon) 74%,var(--ngc-ink))}
.ngc-card:is(:hover,:focus-visible,:focus-within,.ngc-card--lit) .ngc-action{color:color-mix(in srgb,var(--ngc-neon) 70%,var(--ngc-ink))}
.ngc-card:is(:hover,:focus-visible,:focus-within,.ngc-card--lit) .ngc-action-arrow{transform:translateX(calc(var(--ngc-u) * .22))}
@media (hover:none){
.ngc-card .ngc-bloom{opacity:var(--ngc-glow);transform:scale(1)}
.ngc-card .ngc-ring{opacity:var(--ngc-sweep-opacity)}
.ngc-card .ngc-eyebrow{color:color-mix(in srgb,var(--ngc-neon) 74%,var(--ngc-ink))}
}
@media (prefers-reduced-motion:reduce){.ngc-card,.ngc-card *{transition-duration:1ms !important}.ngc-ring-spin{animation:none}}

/* ================= CTA + FOOTER ================= */
.tile--cta { margin-top: 96px; padding: 72px 40px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.tile--cta .tile__bloom--teal { left: 50%; translate: -50% 0; top: -200px; }
.tile--cta h2 { font-size: clamp(32px, 4vw, 52px); }
.tile--cta p { font-size: 17px; margin-bottom: 10px; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 20px; font-size: 14px; color: var(--ink-2); }
.footer__links a { text-decoration: none; }
.footer__legal { margin-left: auto; font-size: 12px; color: var(--ink-3); }

/* ================= responsive ================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .tile--hero, .tile--device { grid-column: 1 / -1; }
  .tile--hero { padding: 40px; min-height: 0; }
  .tile--stats { grid-template-columns: repeat(2, 1fr); }
  .tile--screenpair, .bento--what .tile--magenta, .bento--what .tile--amber, .bento--what .tile--teal { grid-column: 1 / -1; grid-row: auto; }
  .tile--step { grid-column: 1 / -1; }
  .tile--qa, .tile--automation { grid-column: 1 / -1; }
  .tile--protect, .specs { grid-column: 1 / -1; }
  .gift { grid-template-columns: 1fr; padding: 40px; rotate: 0deg; }
  .gift > * { rotate: 0deg; }
  .gift__list { grid-template-columns: 1fr; }
  .ngc-frame { --ngc-w: 340px; --ngc-h: 500px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .nav__status { display: none; }
  .tile { padding: 22px; }
  .tile--hero { padding: 28px 22px; }
  .signup { flex-direction: column; }
  .tile--stats { grid-template-columns: 1fr; }
  .screenpair { flex-direction: column; }
  .sync { grid-template-columns: 1fr; gap: 12px; }
  .sync__wire { display: none; }
  .case__top, .case__grid { grid-template-columns: 1fr; flex-direction: column; }
  .specs { grid-template-columns: 1fr; }
  .block__head--row { flex-direction: column; align-items: start; }
  .gift { padding: 28px 22px; }
  .ngc-frame { --ngc-w: 320px; }
  .footer__legal { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tap.is-on { animation: none; }
  .js.motion-pending .cine [data-enter],
  .js.motion-pending .cine__corner,
  .js.motion-pending .cine__eyebrow,
  .js.motion-pending .cine__title > span,
  .js.motion-pending .cine__cta,
  .js.motion-pending .cine .signup__note { opacity: 1; transform: none; clip-path: none; filter: none; }
}

/* ================= scroll reveal (below the hero) =================
   main.js adds .rv-on to <html> only when IntersectionObserver exists and motion is allowed,
   tags targets with .rv (+ --rv-i stagger index), and adds .in-view once each enters the viewport.
   Without .rv-on nothing is hidden. */
.rv-on .rv {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--rv-i, 0) * 80ms);
}
.rv-on .rv.in-view { opacity: 1; transform: none; }

/* stats: numbers tick up from below while the cell fades in */
.rv-on .tile--stats .stat__n { display: inline-block; }
.rv-on .tile--stats li.rv .stat__n { transform: translate3d(0, 60%, 0); opacity: 0; transition: transform .8s cubic-bezier(.16, 1, .3, 1), opacity .5s; transition-delay: calc(var(--rv-i, 0) * 80ms + 120ms); }
.rv-on .tile--stats li.rv.in-view .stat__n { transform: none; opacity: 1; }

/* pipeline meter fills, gauge draws, sync dot travels — once their tile is in view */
.rv-on .tile--step.rv .meter__bar i { transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.65, 0, .35, 1) .45s; }
.rv-on .tile--step.rv.in-view .meter__bar i { transform: none; }
.rv-on .tile--step.rv .sync__wire i { left: 0; opacity: 0; transition: left 1s cubic-bezier(.65, 0, .35, 1) .6s, opacity .3s .6s; }
.rv-on .tile--step.rv.in-view .sync__wire i { left: 50%; opacity: 1; }
.rv-on .tile--qa.rv .gauge__val { stroke-dasharray: 0 100; transition: stroke-dasharray 1.4s cubic-bezier(.65, 0, .35, 1) .4s; }
.rv-on .tile--qa.rv.in-view .gauge__val { stroke-dasharray: 66.7 100; }

/* gift: warmer, springier — the phone drops in and settles at its tilt, the tag swings on after */
.rv-on .gift__box .phone.rv { transform: translate3d(0, 40px, 0) rotate(-9deg) scale(.88); transition: opacity .6s ease-out, transform 1.1s cubic-bezier(.34, 1.56, .64, 1); transition-delay: .15s; }
.rv-on .gift__tag.rv { transform: translate3d(-24px, 10px, 0) rotate(-18deg) scale(.8); transform-origin: 0 50%; transition: opacity .5s ease-out, transform .9s cubic-bezier(.34, 1.7, .64, 1); transition-delay: .7s; }
.rv-on .gift__box .phone.rv.in-view, .rv-on .gift__tag.rv.in-view { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rv-on .rv, .rv-on .rv .stat__n, .rv-on .rv .meter__bar i { opacity: 1 !important; transform: none !important; transition: none !important; }
  .rv-on .tile--qa.rv .gauge__val { stroke-dasharray: 66.7 100; }
  .rv-on .tile--step.rv .sync__wire i { left: 50%; }
}
@media print { .rv-on .rv { opacity: 1; transform: none; } }

/* ================= SUBPAGES · pricing.html + docs.html =================
   Same tokens and components as the landing page; only page-level layout is new here. */
.nav__links a[aria-current="page"] { color: var(--ink); }

/* page header: a wide tile with the CTA tile's teal bloom */
.tile--pagehead { margin-top: 40px; padding: 64px 56px 56px; }
.tile--pagehead .tile__bloom--teal { top: -200px; left: -60px; }
.tile--pagehead h1 { font: 600 clamp(40px, 5vw, 68px)/1 "Sora", var(--sans); letter-spacing: -.05em; max-width: 900px; text-wrap: balance; }
.tile--pagehead .block__sub { max-width: 720px; }
.pagehead__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pagehead__tags .tag { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- landing: brief pricing teaser (full plans live on pricing.html) ---------- */
.tier-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.tier-teaser > div { padding: 26px 28px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.015); display: grid; gap: 6px; align-content: start; }
.tier-teaser dt { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); }
.tier-teaser dd { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.tier-teaser .tier-teaser__price { font: 600 28px/1.1 var(--sans); letter-spacing: -.03em; color: var(--ink); }
.pricing__more { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- pricing page ---------- */
.ngc-row--lg .ngc-frame { --ngc-w: 400px; --ngc-h: 660px; }
.ngc-row--lg .ngc-title { font-size: 48px; }
.ngc-fit { margin-top: 10px; font-size: 13px; color: color-mix(in srgb, var(--ngc-ink) 50%, transparent); }
.ngc-fit b { color: color-mix(in srgb, var(--ngc-ink) 78%, transparent); font-weight: 500; }
.specs--wide { grid-template-columns: repeat(3, 1fr); }

.faq { align-items: start; }
.faq__head { grid-column: span 4; position: sticky; top: 96px; }
.faq__head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; }
.faq__head .block__sub { font-size: 15px; }
.faq__list { grid-column: span 8; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line-2); font: 400 16px var(--mono); color: var(--ink-2); transition: transform .3s cubic-bezier(.16, 1, .3, 1), color .2s, border-color .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); color: var(--teal); border-color: rgba(45, 212, 191, .45); }
.faq__item summary:hover::after { color: var(--ink); }
.faq__item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.faq__item p { padding: 0 48px 22px 4px; color: var(--ink-2); max-width: 720px; }
.faq__item p + p { margin-top: -10px; }
.faq__item a, a.inline, .callout a { color: var(--teal); text-decoration: none; }
.faq__item a:hover, a.inline:hover, .callout a:hover { text-decoration: underline; }

/* ---------- docs page ---------- */
.docs { margin-top: 56px; align-items: start; }
.docs__nav { grid-column: span 3; position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto; padding: 4px 8px 24px 0; }
.docs__nav p { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); margin: 20px 0 8px; }
.docs__nav p:first-child { margin-top: 0; }
.docs__nav a { display: block; padding: 4px 10px; margin-left: -10px; border-radius: 8px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.docs__nav a code { font-size: 12px; }
.docs__nav a:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.docs__body { grid-column: span 9; min-width: 0; }
.docs__body > .bento-block:first-child { margin-top: 0; }
.docs .bento-block { margin-top: 72px; scroll-margin-top: 88px; }
.docs h3 { font-size: 18px; }
.prose { display: grid; gap: 14px; color: var(--ink-2); font-size: 15.5px; max-width: 780px; }
.prose code, .params code, .callout code, .tile p code, .faq__item code { font-size: .88em; padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }

.callout { display: grid; gap: 6px; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(245, 181, 68, .3); background: rgba(245, 181, 68, .05); font-size: 14px; color: var(--ink-2); }
.callout strong { color: var(--amber); font-weight: 600; }
.callout--teal { border-color: rgba(45, 212, 191, .3); background: rgba(45, 212, 191, .05); }
.callout--teal strong { color: var(--teal); }

.concepts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); margin-top: 24px; }
.concepts > div { padding: 22px 24px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.015); }
.concepts h3 { font-size: 15.5px; margin-bottom: 6px; }
.concepts p { color: var(--ink-2); font-size: 14px; }

.codeblock { border: 1px solid var(--line-2); border-radius: 14px; background: rgba(0,0,0,.4); overflow: hidden; min-width: 0; }
.codeblock__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--line); font: 500 11px var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .12em; }
.codeblock pre { padding: 14px 16px; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); overflow-x: auto; }
.codeblock + .codeblock { margin-top: 12px; }

.endpoints { display: grid; gap: var(--gap); margin-top: 24px; }
.endpoint { display: grid; gap: 16px; padding: 24px; scroll-margin-top: 88px; }
.endpoint__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.endpoint__path { font: 500 15px var(--mono); color: var(--ink); }
.endpoint__path i { font-style: normal; color: var(--ink-3); }
.endpoint__desc { max-width: 760px; }
.endpoint__io { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.endpoint__io > .codeblock + .codeblock { margin-top: 0; }
.method { font: 600 11px var(--mono); letter-spacing: .08em; padding: 4px 8px; border-radius: 6px; border: 1px solid; }
.method--get { color: var(--teal); border-color: rgba(45, 212, 191, .4); background: rgba(45, 212, 191, .08); }
.method--post { color: var(--violet); border-color: rgba(167, 139, 250, .4); background: rgba(167, 139, 250, .08); }
.method--delete { color: var(--err); border-color: rgba(251, 113, 133, .4); background: rgba(251, 113, 133, .08); }

.params { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.params th { text-align: left; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); padding: 0 12px 8px 0; border-bottom: 1px solid var(--line); }
.params td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.params td:first-child { white-space: nowrap; }
.params tr:last-child td { border-bottom: 0; }

/* ---------- footer small print: legal links ---------- */
.footer__legal a { margin-right: 16px; color: var(--ink-2); text-decoration: none; }
.footer__legal a:hover { color: var(--ink); }

/* ---------- legal page ---------- */
a.tag--link { text-decoration: none; transition: color .2s, border-color .2s; }
a.tag--link:hover { color: var(--teal); border-color: rgba(45, 212, 191, .45); }
.legal__draft { margin-top: 28px; max-width: 760px; }
.prose h3 { margin-top: 10px; color: var(--ink); }
.prose .checks li { color: var(--ink-2); }
.docs .concepts { margin-top: 0; }
/* "don't" list: same box as .checks, a cross instead of a tick */
.checks--no li::before { background: rgba(251, 113, 133, .1); border-color: rgba(251, 113, 133, .4); }
.checks--no li::after { content: "×"; left: 0; top: 3px; width: 16px; height: 16px; border: 0; rotate: 0deg; display: grid; place-items: center; font: 500 14px/1 var(--sans); color: var(--err); }

/* ---------- about page ---------- */
.about { align-items: start; }
.about__head { grid-column: span 5; position: sticky; top: 96px; }
.about__head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; }
.about__body { grid-column: span 7; font-size: 17px; }
.about__status .tile { grid-column: span 6; }
.case__label--teal { color: var(--teal) !important; }
.checks--todo li::before { background: rgba(245, 181, 68, .08); border-color: rgba(245, 181, 68, .35); }
.checks--todo li::after { left: 5px; top: 10px; width: 6px; height: 0; border: 0; border-top: 1.5px solid var(--amber); rotate: 0deg; }
.contact .tile { grid-column: span 4; }
.contact__card { display: flex; flex-direction: column; gap: 10px; min-height: 240px; text-decoration: none; transition: border-color .25s, transform .25s; }
.contact__card:hover { border-color: rgba(45, 212, 191, .4); transform: translateY(-2px); }
.contact__k { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); }
.contact__card h3 { font-size: 22px; overflow-wrap: anywhere; }
.contact__go { margin-top: auto; font-size: 14px; font-weight: 500; color: var(--teal); }

@media (max-width: 1100px) {
  .about__head, .about__body, .about__status .tile, .contact .tile { grid-column: 1 / -1; position: static; }
  .tier-teaser, .specs--wide { grid-template-columns: 1fr; }
  .faq__head, .faq__list { grid-column: 1 / -1; position: static; }
  .docs__nav { display: none; }
  .docs__body { grid-column: 1 / -1; }
  .endpoint__io { grid-template-columns: minmax(0, 1fr); }
  .ngc-row--lg .ngc-frame { --ngc-w: 360px; --ngc-h: 660px; }
}
@media (max-width: 640px) {
  .tile--pagehead { padding: 40px 22px 32px; }
  .concepts { grid-template-columns: 1fr; }
  .ngc-row--lg .ngc-frame { --ngc-w: 320px; --ngc-h: 700px; }
  .faq__item p { padding-right: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq__item summary::after { transition: none; }
}

/* ================= LIVE DEMO · real shared device (demo.js + erius-phone-demo-gateway) ================= */
.cine__live { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(7, 8, 11, .55); backdrop-filter: blur(12px); color: var(--ink); font: 500 13px var(--sans); cursor: pointer; transition: border-color .2s, background .2s; }
.cine__live:hover { border-color: rgba(45, 212, 191, .5); background: rgba(45, 212, 191, .08); }
.cine__live:focus-visible, .demo button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.tile--live { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding: 44px; }
.live__copy { display: grid; gap: 4px; max-width: 640px; }
.live__copy h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; }
.live__actions { margin: 24px 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.live__health { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--mono); color: var(--ink-3); }
.live__health::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.live__health.is-ok { color: var(--ok); }
.live__health.is-ok::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(110, 231, 183, .18); }
.live__health.is-busy { color: var(--amber); }
.live__health.is-busy::before { background: var(--amber); }
.live__health.is-off { color: var(--err); }
.live__health.is-off::before { background: var(--err); }
.live__preview { padding-right: 12px; transform: rotate(4deg); }

/* modal */
.demo { width: min(1080px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: var(--r); background: linear-gradient(180deg, var(--tile-2), var(--tile)); color: var(--ink); box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05); overflow: auto; overscroll-behavior: contain; }
.demo::backdrop { background: rgba(4, 5, 7, .72); backdrop-filter: blur(6px); }
.demo__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 22px 24px 0; }
.demo__head .kicker { margin-bottom: 6px; }
.demo__head h2 { font-size: 22px; }
.demo__close { width: 36px; height: 36px; flex: none; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; color: var(--ink-2); font-size: 15px; cursor: pointer; }
.demo__close:hover { color: var(--ink); border-color: rgba(255,255,255,.3); }
.demo__body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; padding: 22px 24px 26px; }

.demo__device { display: grid; justify-items: center; gap: 12px; }
.phone--demo { width: min(420px, 78vw, calc((100dvh - 190px) * 0.5625 + 16px)); padding: 6px 6px 10px; border-radius: 42px; background: linear-gradient(165deg, #2a2d33, #121317 55%, #1a1c20); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 40px 80px -24px rgba(0,0,0,.85), inset 0 0 0 1px rgba(0,0,0,.6), inset 0 1px 1px rgba(255,255,255,.08); position: relative; }
.phone--demo::before { content: ""; position: absolute; left: 50%; top: 14px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #05070a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 3px rgba(94, 234, 212, .25); z-index: 2; }
.phone--demo .phone__screen { border-radius: 34px; }
.demo__screen { touch-action: none; user-select: none; -webkit-user-select: none; cursor: pointer; }
.demo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; opacity: 0; transition: opacity .3s; pointer-events: none; }
.demo__img.is-on { opacity: 1; }
.demo__overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; background: rgba(7, 8, 11, .78); backdrop-filter: blur(4px); transition: opacity .25s; }
.demo__overlay[hidden] { display: grid; opacity: 0; pointer-events: none; }
.demo__overlay .btn[hidden] { display: none; }
.demo__msg { font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 220px; }
.demo__msg b { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 600; }
.demo__ripple { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid var(--teal); background: rgba(45, 212, 191, .25); pointer-events: none; animation: demo-ripple .5s ease-out forwards; }
@keyframes demo-ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.demo__keys { display: flex; gap: 10px; }
.demo__key { width: 56px; height: 38px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(0,0,0,.35); color: var(--ink); font-size: 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.demo__key:hover:not(:disabled) { border-color: rgba(45, 212, 191, .5); background: rgba(45, 212, 191, .08); }
.demo__key:disabled { opacity: .4; cursor: default; }

.demo__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.demo__timer { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; row-gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.35); }
.demo__time { font: 600 30px var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.demo__time-l { font-size: 13px; color: var(--ink-3); }
.demo__bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.demo__bar i { display: block; height: 100%; width: 100%; background: var(--teal); transform-origin: left; transition: transform .25s linear, background .3s; }
.demo__timer.is-low .demo__time { color: var(--amber); }
.demo__timer.is-low .demo__bar i { background: var(--amber); }
.demo__timer.is-done .demo__time, .demo__timer.is-wait .demo__time { color: var(--ink-3); }
.demo__timer.is-wait .demo__bar i { background: var(--line-2); }
.demo__help { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.demo__help b { color: var(--ink); font-weight: 600; }
.demo__log { min-height: 96px; max-height: 160px; overflow: auto; }
.demo__log:empty::before { content: "actions you send appear here"; color: var(--ink-3); }
.demo__log i.is-err { color: var(--err); }

@media (max-width: 860px) {
  .tile--live { grid-template-columns: 1fr; padding: 28px; }
  .live__preview { display: none; }
}
@media (max-width: 680px) {
  .demo { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; border: 0; }
  .demo__head { padding: 14px 16px 0; }
  .demo__head h2 { font-size: 18px; }
  .demo__body { grid-template-columns: 1fr; gap: 16px; padding: 14px 16px 24px; }
  .phone--demo { width: min(360px, 82vw, calc((100dvh - 230px) * 0.5625 + 16px)); }
  .demo__side { display: contents; }
  .demo__timer { order: -1; }
  .demo__side .fine { order: 1; }
  .demo__timer { padding: 10px 14px; }
  .demo__time { font-size: 22px; }
  .demo__help, .demo__log { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .demo__ripple { animation-duration: 1ms; }
  .live__preview { transform: none; }
}
