/* ==========================================================================
   Yallio — site styles
   Palette and type follow the Yallio logo and banner: warm near-black,
   signal orange, cream. Space Grotesk for display, DM Sans for reading.
   ========================================================================== */

:root {
  --ink: #141210;
  --ink-2: #1b1815;
  --ink-3: #25201b;
  --brown: #3a1f16;
  --brown-2: #2b1912;
  --cream: #f2eee6;
  --paper: #f6f2eb;
  --white: #fffdf9;
  --muted: #a59d92;
  --muted-dark: #5e554c;
  --orange: #ff5a1f;
  --orange-2: #ff7d3d;
  --amber: #ffb23f;
  --line: rgba(242, 238, 230, 0.1);
  --line-dark: rgba(20, 18, 16, 0.12);

  --display: "Space Grotesk", "Helvetica Neue", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: clamp(18px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Film grain over everything, very faint */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--orange); color: var(--ink); }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--orange); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.light .eyebrow { color: var(--muted-dark); }
.h-xl { font: 600 clamp(48px, 8.2vw, 132px)/0.94 var(--display); letter-spacing: -0.045em; }
.h-l { font: 600 clamp(38px, 5.6vw, 86px)/0.98 var(--display); letter-spacing: -0.04em; }
.h-m { font: 600 clamp(24px, 2.4vw, 34px)/1.08 var(--display); letter-spacing: -0.025em; }
.lede { font-size: clamp(17px, 1.45vw, 20px); color: var(--muted); max-width: 560px; }
.light .lede { color: var(--muted-dark); }
.accent { color: var(--orange); }
.mono { font: 500 12px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Layout ---------- */
.light { background: var(--paper); color: var(--ink); }
.section { position: relative; padding: clamp(96px, 12vw, 180px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 28px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .h-l { margin-top: 22px; }

/* ---------- Logo ---------- */
.lm-b { fill: var(--orange); }
.lm-d { fill: var(--ink); }
.alive .lm-d { transform-box: fill-box; transform-origin: center; animation: hop 1.5s infinite both; }
.alive .lm-d:nth-of-type(2) { animation-delay: 0.16s; }
.alive .lm-d:nth-of-type(3) { animation-delay: 0.32s; }
@keyframes hop { 0%, 60%, 100% { transform: none; opacity: 1; } 30% { transform: translateY(-18%); opacity: 0.6; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--orange); --fg: var(--ink); --hov: var(--cream);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 7px 7px 7px 24px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 16px/1 var(--display); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform 0.45s var(--ease), color 0.3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--hov);
  clip-path: circle(0% at var(--bx, 50%) var(--by, 50%)); transition: clip-path 0.65s var(--ease);
}
.btn:hover::before { clip-path: circle(150% at var(--bx, 50%) var(--by, 50%)); }
.btn .ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--orange); flex: none; }
.btn .ic svg { width: 16px; height: 16px; transition: transform 0.45s var(--ease); }
.btn:hover .ic svg { transform: rotate(45deg); }
.btn:hover { color: var(--ink); }
.btn.ghost { --bg: transparent; --fg: var(--cream); padding: 0 26px; box-shadow: inset 0 0 0 1.5px rgba(242, 238, 230, 0.22); }
.light .btn.ghost { --fg: var(--ink); --hov: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.light .btn.ghost:hover { color: var(--cream); }
.btn.dark { --bg: var(--ink); --fg: var(--cream); --hov: var(--cream); }
.btn.dark .ic { background: var(--orange); color: var(--ink); }
.btn.sm { min-height: 46px; padding: 5px 5px 5px 18px; font-size: 15px; gap: 12px; }
.btn.sm .ic { width: 36px; height: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: background 0.35s, box-shadow 0.35s, transform 0.5s var(--ease); }
.nav.stuck { background: rgba(20, 18, 16, 0.8); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; }
.brand svg { width: 42px; height: auto; }
.brand span { font: 700 26px/1 var(--display); letter-spacing: -0.04em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; padding: 5px; border-radius: 999px; background: rgba(242, 238, 230, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.nav-links a { padding: 9px 16px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); background: rgba(242, 238, 230, 0.08); }
.nav-links .only-m { display: none; }
.menu-btn { display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(242, 238, 230, 0.08); cursor: pointer; }
.menu-btn i { position: absolute; left: 15px; right: 15px; height: 2px; border-radius: 2px; background: var(--cream); transition: transform 0.4s var(--ease); }
.menu-btn i:first-child { top: 19px; }
.menu-btn i:last-child { top: 27px; }
.menu-open .menu-btn i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 132px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(640px circle at var(--mx, 72%) var(--my, 42%), rgba(255, 90, 31, 0.13), transparent 62%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 32px 48px; align-items: center; }
.pill-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px;
  background: rgba(242, 238, 230, 0.05); box-shadow: inset 0 0 0 1px var(--line);
  font: 500 13px/1 var(--mono); letter-spacing: 0.06em; color: var(--muted);
}
.pill-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.6); animation: ping 2s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); } }
.hero h1 { margin: 28px 0 0; font-size: clamp(44px, 5.9vw, 100px); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.hero h1 .ln > span { display: block; }
.js .hero h1 .ln > span { transform: translateY(110%); animation: rise 1.15s var(--ease) forwards; animation-delay: calc(var(--i) * 0.1s + 0.15s); }
@keyframes rise { to { transform: none; } }
.tagline { margin-top: 26px; font: 500 clamp(19px, 1.9vw, 25px)/1.3 var(--display); letter-spacing: -0.015em; color: var(--orange-2); }
.hero .lede { margin-top: 18px; }
.hero .actions { margin-top: 36px; }
.js .fade { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease) var(--d, 0s) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-art { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; justify-self: end; }
.disc { position: absolute; left: 8%; top: 50%; width: 128%; aspect-ratio: 1; border-radius: 50%; background: var(--brown); transform: translateY(-50%); }
.js .disc { animation: discIn 1.4s var(--ease) both; }
@keyframes discIn { from { transform: translateY(-50%) scale(0.6); opacity: 0; } }
.orbit { position: absolute; left: 8%; top: 50%; width: 128%; aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%); pointer-events: none; }
.orbit svg { width: 100%; height: 100%; animation: spin 60s linear infinite; }
.orbit circle { fill: none; stroke: rgba(255, 125, 61, 0.35); stroke-width: 1; stroke-dasharray: 2 10; vector-effect: non-scaling-stroke; }
@keyframes spin { to { transform: rotate(360deg); } }
.bubble-wrap { position: absolute; left: 15%; top: 26%; width: 68%; transform: translate3d(calc(var(--px, 0) * 22px), calc(var(--py, 0) * 22px), 0); transition: transform 0.6s var(--ease); }
.bubble-wrap svg { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(255, 90, 31, 0.28)); animation: float 7s ease-in-out infinite; }
.js .bubble-wrap { animation: popIn 1.1s var(--ease) 0.35s both; }
@keyframes popIn { from { opacity: 0; transform: scale(0.5) rotate(-10deg); } }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1.5deg); } }

.chip-float {
  position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; border-radius: 16px;
  background: rgba(27, 24, 21, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 48px rgba(0, 0, 0, 0.35);
  font: 500 12.5px/1.2 var(--mono); color: var(--cream); white-space: nowrap;
  transform: translate3d(calc(var(--px, 0) * var(--z, 40px)), calc(var(--py, 0) * var(--z, 40px)), 0);
  transition: transform 0.7s var(--ease);
}
.chip-float > span { display: inline-flex; align-items: center; gap: 9px; animation: bob 7s ease-in-out infinite; animation-delay: var(--bd, 0s); }
.chip-float i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; }
.chip-float b { color: var(--orange-2); font-weight: 500; }
.chip-float.ok { background: var(--orange); color: var(--ink); box-shadow: 0 24px 48px rgba(255, 90, 31, 0.3); }
.chip-float.ok i { background: var(--ink); }
.js .chip-float { opacity: 0; animation: chipIn 0.9s var(--ease) forwards; animation-delay: var(--cd, 1s); }
@keyframes chipIn { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: none; } }
@keyframes bob { 50% { transform: translateY(-9px); } }
.c1 { top: 10%; left: -4%; --z: 50px; --cd: 0.9s; }
.c2 { top: 19%; right: -2%; --z: 30px; --cd: 1.15s; --bd: -2s; }
.c3 { bottom: 23%; left: -8%; --z: 60px; --cd: 1.4s; --bd: -4s; }
.c4 { bottom: 9%; right: 6%; --z: 36px; --cd: 1.65s; --bd: -1s; }

.proof { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.proof li { display: inline-flex; align-items: center; gap: 10px; }
.proof svg { width: 18px; height: 18px; color: var(--orange); flex: none; }

/* ---------- Marquee ---------- */
.marquee-wrap { position: relative; z-index: 3; overflow-x: clip; margin: -22px 0; }
.marquee { background: var(--orange); color: var(--ink); padding: 20px 0; transform: rotate(-1.6deg) scale(1.03); overflow: hidden; }
.marquee .track { display: flex; width: max-content; animation: slide 42s linear infinite; }
.marquee-wrap:hover .track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; }
.marquee li { display: flex; align-items: center; font: 600 clamp(28px, 3.8vw, 52px)/1 var(--display); letter-spacing: -0.03em; white-space: nowrap; }
.marquee li::after { content: ""; width: 0.62em; height: 0.44em; margin: 0 0.6em; border-radius: 0.14em; background: var(--ink); clip-path: polygon(0 0, 100% 0, 100% 78%, 40% 78%, 14% 100%, 18% 78%, 0 78%); }
.marquee li.lead-in { font: 500 13px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Problem ---------- */
.big-quote {
  position: relative; max-width: 1040px; padding: clamp(26px, 3.4vw, 46px) clamp(28px, 4vw, 56px);
  border-radius: 36px 36px 36px 8px; background: var(--amber); color: var(--ink);
  font: 500 clamp(24px, 3.1vw, 44px)/1.18 var(--display); letter-spacing: -0.025em;
}
.big-quote .who { display: block; margin-top: 18px; font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.caret { display: inline-block; width: 0.06em; height: 0.9em; margin-left: 0.04em; vertical-align: -0.08em; background: currentColor; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.pain article { padding: 34px 30px 36px; border-radius: 28px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-dark); transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.pain article:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-dark), 0 30px 60px -30px rgba(20, 18, 16, 0.3); }
.pain .dot { width: 46px; height: 46px; border-radius: 50%; margin-bottom: 34px; }
.pain h3 { font: 600 24px/1.15 var(--display); letter-spacing: -0.02em; }
.pain p { margin-top: 12px; color: var(--muted-dark); }

/* ---------- Story (pinned scroll) ---------- */
.story { position: relative; height: 330vh; }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.story-pin .wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: center; }
.story .h-l { margin: 22px 0 40px; font-size: clamp(36px, 4.6vw, 70px); }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); cursor: pointer; opacity: 0.38; transition: opacity 0.5s; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li.on { opacity: 1; }
.steps .n { font: 500 13px/1.9 var(--mono); color: var(--orange); }
.steps h3 { font: 600 24px/1.2 var(--display); letter-spacing: -0.02em; }
.steps p { display: grid; grid-template-rows: 0fr; color: var(--muted); transition: grid-template-rows 0.6s var(--ease); }
.steps p > span { overflow: hidden; min-height: 0; }
.steps li.on p { grid-template-rows: 1fr; }
.steps li.on p > span { padding-top: 8px; }
.prog { height: 3px; margin-top: 28px; border-radius: 3px; background: var(--line); overflow: hidden; }
.prog i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--orange); }

.stage { position: relative; height: min(600px, 74vh); }
.panel { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; opacity: 0; transform: translateY(48px) scale(0.96); pointer-events: none; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.panel.on { opacity: 1; transform: none; pointer-events: auto; }
.panel.past { transform: translateY(-48px) scale(0.96); }
.s-msg { align-self: flex-end; max-width: 92%; padding: 20px 24px; border-radius: 26px 26px 6px 26px; background: var(--amber); color: var(--ink); font: 500 clamp(17px, 1.7vw, 22px)/1.35 var(--display); letter-spacing: -0.015em; }
.s-msg mark { background: transparent; color: inherit; border-radius: 6px; padding: 0 3px; margin: 0 -3px; box-shadow: inset 0 -0.12em 0 rgba(20, 18, 16, 0); transition: background 0.4s, box-shadow 0.4s; }
.panel.on .s-msg mark { background: rgba(20, 18, 16, 0.12); box-shadow: inset 0 -0.14em 0 var(--orange); transition-delay: calc(var(--k) * 0.18s + 0.25s); }
.s-card { border-radius: 26px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, 0.6); padding: 22px 24px; }
.s-card-h { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); color: var(--orange-2); }
.s-card-h .dim { color: var(--muted); }
.s-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-14px); transition: opacity 0.5s, transform 0.6s var(--ease); }
.s-row:last-of-type { border-bottom: 0; }
.s-row span { color: var(--muted); font-size: 15px; }
.s-row b { padding: 6px 12px; border-radius: 999px; background: rgba(255, 90, 31, 0.14); color: var(--cream); font: 500 14px/1.2 var(--mono); letter-spacing: 0.02em; }
.panel.on .s-row { opacity: 1; transform: none; transition-delay: calc(var(--k) * 0.12s + 0.5s); }
.s-note { margin-top: 12px; color: var(--muted); font-size: 14px; }

.sys .s-card-h .lock { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(242, 238, 230, 0.08); color: var(--cream); }
.s-src { position: relative; display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.s-src span:first-child { color: var(--muted); }
.s-src .bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.s-src .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--amber)); transition: width 1.4s var(--ease); }
.panel.on .s-src .bar i { width: 100%; transition-delay: calc(var(--k) * 0.3s + 0.3s); }
.s-src b { font: 500 13px/1 var(--mono); color: var(--orange-2); opacity: 0; transition: opacity 0.4s; }
.panel.on .s-src b { opacity: 1; transition-delay: calc(var(--k) * 0.3s + 1.5s); }
.hits { display: grid; gap: 8px; margin-top: 16px; }
.hit { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--ink-3); font-size: 15px; opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.6s var(--ease); }
.hit em { font: 500 13px/1 var(--mono); font-style: normal; color: var(--amber); }
.panel.on .hit { opacity: 1; transform: none; transition-delay: calc(var(--k) * 0.14s + 1.7s); }
.slots { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.slots span { padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 125, 61, 0.5); font: 500 13px/1 var(--mono); color: var(--orange-2); opacity: 0; transition: opacity 0.4s; }
.panel.on .slots span { opacity: 1; transition-delay: calc(var(--k) * 0.12s + 2.2s); }

.receipt { position: relative; border-radius: 30px; background: var(--cream); color: var(--ink); padding: clamp(26px, 3vw, 38px); box-shadow: 0 50px 90px -40px rgba(255, 90, 31, 0.45); overflow: hidden; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: radial-gradient(circle at 10px 10px, var(--ink) 6px, transparent 6.5px) 0 0 / 20px 20px repeat-x; }
.receipt .mono { color: var(--muted-dark); }
.receipt h4 { margin: 10px 0 20px; font: 600 clamp(28px, 3vw, 40px)/1 var(--display); letter-spacing: -0.03em; }
.r-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border-radius: 16px; overflow: hidden; }
.r-grid div { background: var(--cream); padding: 12px 14px; }
.r-grid span { display: block; font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
.r-grid b { display: block; margin-top: 6px; font: 600 18px/1.2 var(--display); }
.receipt p { margin-top: 18px; padding-bottom: 8px; color: var(--muted-dark); font-size: 15px; }
.stamp {
  position: absolute; right: clamp(16px, 3vw, 30px); top: clamp(16px, 3vw, 28px); padding: 10px 18px; border: 3px solid var(--orange); border-radius: 12px;
  color: var(--orange); font: 700 22px/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase;
  transform: rotate(-9deg) scale(2.2); opacity: 0; transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.2s;
}
.panel.on .stamp { transform: rotate(-9deg); opacity: 1; transition-delay: 0.55s; }
.s-reply { align-self: flex-start; max-width: 86%; padding: 16px 20px; border-radius: 26px 26px 26px 6px; background: var(--ink-3); color: var(--cream); font-size: 16px; opacity: 0; transform: translateY(12px); transition: opacity 0.5s, transform 0.6s var(--ease); }
.panel.on .s-reply { opacity: 1; transform: none; transition-delay: 1s; }

/* ---------- Demo phone ---------- */
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px clamp(40px, 7vw, 120px); align-items: center; }
.demo-grid .h-l { margin-top: 22px; }
.tabs { display: grid; gap: 12px; margin-top: 44px; max-width: 560px; }
.tab { display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; align-items: center; width: 100%; padding: 16px 20px 16px 16px; border: 0; border-radius: 24px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-dark); text-align: left; cursor: pointer; transition: background 0.35s, color 0.35s, box-shadow 0.35s, transform 0.4s var(--ease); }
.tab:hover { transform: translateX(6px); }
.tab .ti { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-dark); transition: background 0.35s; }
.tab .ti svg { width: 26px; height: 26px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab strong { font: 600 21px/1.2 var(--display); letter-spacing: -0.02em; }
.tab small { font-size: 15px; color: var(--muted-dark); }
.tab .bar { grid-column: 1 / -1; height: 3px; margin-top: 12px; border-radius: 3px; background: rgba(242, 238, 230, 0.14); overflow: hidden; display: none; }
.tab .bar i { display: block; height: 100%; width: 0; background: var(--orange); }
.tab.run .bar i { animation: fill var(--dur, 10s) linear forwards; }
@keyframes fill { to { width: 100%; } }
.tab[aria-selected="true"] { background: var(--ink); color: var(--cream); box-shadow: none; }
.tab[aria-selected="true"] .ti { background: var(--orange); box-shadow: none; }
.tab[aria-selected="true"] small { color: var(--muted); }
.tab[aria-selected="true"] .bar { display: block; }
.demo-note { margin-top: 18px; font-size: 14px; color: var(--muted-dark); }

.phone-wrap { position: relative; }
.phone { position: relative; width: 360px; height: 720px; border-radius: 56px; background: var(--ink); padding: 12px; box-shadow: 0 80px 120px -50px rgba(20, 18, 16, 0.55), inset 0 0 0 2px #3a332c; }
.phone::before { content: ""; position: absolute; top: 24px; left: 50%; z-index: 3; width: 110px; height: 30px; margin-left: -55px; border-radius: 20px; background: #000; }
.screen { height: 100%; border-radius: 46px; overflow: hidden; display: flex; flex-direction: column; background: var(--ink-2); }
.p-head { display: flex; align-items: center; gap: 12px; padding: 64px 18px 14px; background: var(--ink); border-bottom: 1px solid var(--line); }
.p-av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brown); flex: none; }
.p-av svg { width: 26px; }
.p-name { font: 600 16px/1.2 var(--display); color: var(--cream); }
.p-status { font-size: 12.5px; color: var(--orange-2); }
.p-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 16px 14px; overflow: hidden; background-image: radial-gradient(rgba(242, 238, 230, 0.05) 1px, transparent 1px); background-size: 18px 18px; }
.msg { max-width: 84%; padding: 10px 14px 8px; border-radius: 18px; font-size: 14.5px; line-height: 1.42; white-space: pre-line; animation: pop 0.5s var(--ease) both; }
.msg.me { align-self: flex-end; background: var(--amber); color: var(--ink); border-bottom-right-radius: 6px; }
.msg.it { align-self: flex-start; background: var(--cream); color: var(--ink); border-bottom-left-radius: 6px; }
.msg time { display: block; margin-top: 2px; text-align: right; font-size: 10.5px; opacity: 0.55; }
.msg.voice { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.msg.voice .play { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); flex: none; }
.msg.voice .play svg { width: 12px; fill: var(--amber); }
.msg.voice .vw { display: flex; align-items: center; gap: 2px; height: 26px; }
.msg.voice .vw i { width: 3px; border-radius: 2px; background: var(--ink); opacity: 0.75; }
.msg.voice small { font-size: 11px; opacity: 0.6; }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 15px 16px; border-radius: 18px 18px 18px 6px; background: var(--orange); animation: pop 0.35s var(--ease) both; }
.typing b { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: hop 1.1s infinite both; }
.typing b:nth-child(2) { animation-delay: 0.15s; }
.typing b:nth-child(3) { animation-delay: 0.3s; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.92); } }
.p-input { display: flex; align-items: center; gap: 10px; padding: 10px 12px 26px; background: var(--ink); }
.p-input span { flex: 1; padding: 11px 16px; border-radius: 999px; background: var(--ink-3); color: var(--muted); font-size: 14px; }
.p-input i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); }
.p-input i svg { width: 16px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }
.sticker { position: absolute; z-index: 4; padding: 12px 16px; border-radius: 16px; font: 600 15px/1.2 var(--display); letter-spacing: -0.01em; box-shadow: 0 24px 50px -20px rgba(20, 18, 16, 0.5); animation: bob 6s ease-in-out infinite; }
.sticker.s1 { left: -84px; top: 22%; background: var(--orange); color: var(--ink); rotate: -6deg; }
.sticker.s2 { right: -64px; bottom: 18%; background: var(--ink); color: var(--cream); rotate: 5deg; animation-delay: -3s; }
.sticker.s2 b { color: var(--orange-2); font-weight: 600; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 30px; border-radius: 30px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(420px circle at var(--tx, 50%) var(--ty, 50%), rgba(255, 90, 31, 0.14), transparent 60%); transition: opacity 0.4s; }
.tile:hover::before { opacity: 1; }
.tile h3 { margin-top: auto; padding-top: 28px; font: 600 clamp(23px, 2.1vw, 30px)/1.1 var(--display); letter-spacing: -0.025em; }
.tile p { margin-top: 10px; max-width: 460px; color: var(--muted); }
.tile .mono { color: var(--muted); }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.tile.hl { background: var(--orange); color: var(--ink); box-shadow: none; }
.tile.hl p, .tile.hl .mono { color: rgba(20, 18, 16, 0.72); }
.tile.hl::before { background: radial-gradient(420px circle at var(--tx, 50%) var(--ty, 50%), rgba(255, 255, 255, 0.25), transparent 60%); }
.zero { font: 700 clamp(130px, 14vw, 210px)/0.8 var(--display); letter-spacing: -0.07em; margin-top: 18px; }

.wave { display: flex; align-items: center; gap: 4px; height: 110px; margin-top: 26px; }
.wave i { flex: 1; min-width: 2px; height: var(--h); border-radius: 4px; background: linear-gradient(var(--orange), var(--amber)); transform-origin: center; animation: eq 1.3s ease-in-out infinite alternate; animation-delay: var(--dl); }
@keyframes eq { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
.langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.langs span { padding: 5px 11px; border-radius: 999px; background: rgba(242, 238, 230, 0.06); font-size: 13px; color: var(--muted); }

.lock { width: 88px; margin-top: 18px; }
.lock path, .lock rect { fill: none; stroke: var(--orange); stroke-width: 6; stroke-linecap: round; }
.lock .sh { animation: shackle 3.4s var(--ease) infinite; }
@keyframes shackle { 0%, 55%, 100% { transform: none; } 70%, 85% { transform: translateY(-12px); } }
.lock .kh { fill: var(--orange); stroke: none; }

.console { display: grid; gap: 8px; margin-top: 18px; }
.c-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: var(--ink-3); font-size: 14.5px; }
.c-row .av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brown); color: var(--orange-2); font: 600 12px/1 var(--mono); font-style: normal; }
.c-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st { display: inline-grid; height: 26px; overflow: hidden; border-radius: 999px; font: 500 12px/26px var(--mono); font-style: normal; text-align: center; }
.st b { display: block; padding: 0 12px; font-weight: 500; }
.st.ok { background: rgba(255, 178, 63, 0.16); color: var(--amber); }
.st.person { background: rgba(242, 238, 230, 0.08); color: var(--cream); }
.st.swap b { animation: swap 5s var(--ease) infinite; }
.st.swap b:first-child { background: rgba(255, 90, 31, 0.16); color: var(--orange-2); }
.st.swap b:last-child { background: var(--orange); color: var(--ink); }
@keyframes swap { 0%, 40% { transform: none; } 50%, 90% { transform: translateY(-100%); } 100% { transform: none; } }

.flow { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; margin-top: 26px; }
.fn { padding: 10px 12px; border-radius: 12px; background: var(--ink-3); font: 500 12px/1.2 var(--mono); text-align: center; white-space: nowrap; }
.fn.o { background: rgba(255, 90, 31, 0.16); color: var(--orange-2); }
.fn.c { background: var(--cream); color: var(--ink); }
.fl { position: relative; height: 2px; margin: 0 6px; background: var(--line); overflow: hidden; }
.fl i { position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: var(--orange); animation: run 2.4s linear infinite; animation-delay: var(--dl, 0s); }
@keyframes run { to { left: 100%; } }
.flow-cap { display: flex; justify-content: space-between; margin-top: 10px; font: 500 11px/1.3 var(--mono); color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

.mini { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.mm { max-width: 80%; padding: 9px 14px; border-radius: 16px; font-size: 14.5px; opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.6s var(--ease); }
.mm.me { align-self: flex-end; background: var(--amber); color: var(--ink); border-bottom-right-radius: 5px; }
.mm.it { align-self: flex-start; background: var(--cream); color: var(--ink); border-bottom-left-radius: 5px; }
.is-in .mm { opacity: 1; transform: none; transition-delay: calc(var(--k) * 0.6s + 0.3s); }

/* ---------- Guarantee ---------- */
.guarantee .h-l { max-width: 1120px; margin-top: 22px; }
.guarantee .lede { margin-top: 26px; max-width: 760px; }
.code { position: relative; margin-top: 56px; padding: clamp(24px, 4vw, 46px); border-radius: 30px; background: var(--ink); color: var(--cream); font: 400 clamp(13px, 1.35vw, 18px)/1.75 var(--mono); overflow-x: auto; }
.code .bar3 { display: flex; gap: 7px; margin-bottom: 22px; }
.code .bar3 i { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-3); }
.code .bar3 i:first-child { background: var(--orange); }
.code pre { margin: 0; font: inherit; white-space: pre; }
.code .k { color: var(--orange-2); }
.code .t { color: var(--amber); }
.code .cm { color: var(--muted); }
.code-cap { margin-top: 22px; font: 500 clamp(16px, 1.4vw, 19px)/1.4 var(--body); color: var(--cream); }

/* ---------- Industries ---------- */
.inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ind { position: relative; display: flex; flex-direction: column; min-height: 560px; padding: 30px; border-radius: 30px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform 0.6s var(--ease), background 0.4s; }
.ind:hover { transform: translateY(-10px); background: var(--ink-3); }
.ind::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.ind:hover::after { transform: scaleX(1); }
.ind .top { display: flex; justify-content: space-between; color: var(--muted); }
.ind .top b { color: var(--orange-2); font-weight: 500; }
.ind .art { height: 190px; margin: 26px -6px 10px; }
.ind .art svg { width: 100%; height: 100%; overflow: visible; }
.art .s { fill: none; stroke: rgba(242, 238, 230, 0.22); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.art .o { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.art .f { fill: var(--orange); }
.art .c { fill: var(--cream); }
.art .dash { stroke-dasharray: 5 9; animation: dashrun 1.6s linear infinite; }
@keyframes dashrun { to { stroke-dashoffset: -14; } }
.art .blink { animation: blinkSoft 2.2s infinite; animation-delay: var(--dl, 0s); }
@keyframes blinkSoft { 50% { opacity: 0.2; } }
.art .ring { fill: none; stroke: var(--orange); transform-box: fill-box; transform-origin: center; animation: ring 2.6s ease-out infinite; }
@keyframes ring { from { transform: scale(0.5); opacity: 1; } to { transform: scale(2.8); opacity: 0; } }
.art .wheel { transform-box: fill-box; transform-origin: center; animation: spin 2.2s linear infinite; }
.art .bob { animation: bob 3.6s ease-in-out infinite; }
.ind h3 { font: 600 clamp(30px, 3vw, 42px)/1 var(--display); letter-spacing: -0.035em; }
.ind > p { margin-top: 12px; color: var(--muted); }
.ind ul { display: grid; gap: 10px; margin-top: auto; padding-top: 26px; }
.ind li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15.5px; color: var(--cream); }
.ind li::before { content: ""; width: 9px; height: 9px; margin-top: 8px; border-radius: 50%; background: var(--orange); }
.inds-foot { margin-top: 28px; color: var(--muted); }
.inds-foot a { color: var(--orange-2); font-weight: 600; text-underline-offset: 4px; }

/* ---------- Stats ---------- */
.stats-sec { background: var(--orange); color: var(--ink); }
.stats-sec .eyebrow { color: rgba(20, 18, 16, 0.7); }
.stats-sec .eyebrow::before { background: var(--ink); }
.stats-sec .h-l { max-width: 1000px; margin-top: 22px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); border-top: 2px solid var(--ink); }
.stat { padding: 30px 30px 0 0; }
.stat + .stat { padding-left: 30px; border-left: 2px solid rgba(20, 18, 16, 0.18); }
.stat .fig { font: 600 clamp(84px, 11vw, 176px)/0.86 var(--display); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.stat .fig small { font-size: 0.34em; letter-spacing: -0.02em; margin-left: 0.08em; }
.stat p { margin-top: 18px; max-width: 300px; font-size: 17px; }
.source { margin-top: 44px; font-size: 13.5px; color: rgba(20, 18, 16, 0.65); }

/* ---------- Pilot ---------- */
.pilot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.pilot-steps li { display: grid; grid-template-columns: clamp(64px, 8vw, 120px) 1fr; gap: 18px; padding: 32px 0; border-top: 1.5px solid var(--line-dark); }
.pilot-steps li:last-child { border-bottom: 1.5px solid var(--line-dark); }
.pilot-steps .n { font: 600 clamp(40px, 5vw, 72px)/0.9 var(--display); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color 0.4s; }
.pilot-steps li:hover .n { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.pilot-steps h3 { font: 600 clamp(22px, 2.2vw, 30px)/1.15 var(--display); letter-spacing: -0.025em; }
.pilot-steps p { margin-top: 8px; color: var(--muted-dark); max-width: 560px; }
.price { position: sticky; top: 110px; padding: 34px; border-radius: 32px; background: var(--ink); color: var(--cream); overflow: hidden; isolation: isolate; }
.price::before { content: ""; position: absolute; right: -90px; top: -90px; z-index: -1; width: 260px; height: 260px; border-radius: 50%; background: var(--brown); }
.price .tagnow { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--amber); color: var(--ink); font: 600 12px/1 var(--mono); letter-spacing: 0.12em; }
.price h3 { margin-top: 22px; font: 600 clamp(36px, 3.6vw, 52px)/1 var(--display); letter-spacing: -0.04em; color: var(--orange); }
.price h4 { margin-top: 10px; font: 600 20px/1.3 var(--display); }
.price p { margin-top: 12px; color: var(--muted); }
.price ul { display: grid; gap: 10px; margin: 26px 0 30px; padding-top: 22px; border-top: 1px dashed var(--line); }
.price li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; }
.price li svg { width: 18px; margin-top: 3px; color: var(--orange); }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.light .acc { border-color: var(--line-dark); }
.acc[hidden] { display: none; }
.acc h3 { font: inherit; }
.acc button { display: grid; grid-template-columns: auto 1fr 46px; gap: 18px; align-items: center; width: 100%; padding: 26px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.acc .num { font: 500 13px/1 var(--mono); color: var(--orange); min-width: 26px; }
.acc .q { font: 600 clamp(19px, 1.8vw, 25px)/1.25 var(--display); letter-spacing: -0.02em; transition: transform 0.45s var(--ease); }
.acc button:hover .q { transform: translateX(6px); }
.acc .pm { position: relative; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(242, 238, 230, 0.2); transition: background 0.35s, box-shadow 0.35s, transform 0.55s var(--ease); }
.light .acc .pm { box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.acc .pm::before, .acc .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: currentColor; transition: transform 0.55s var(--ease); }
.acc .pm::after { transform: rotate(90deg); }
.acc.open .pm { background: var(--orange); color: var(--ink); box-shadow: none; transform: rotate(180deg); }
.acc.open .pm::after { transform: none; }
.acc .a { display: grid; grid-template-rows: 1fr; }
.js .acc .a { grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.js .acc.open .a { grid-template-rows: 1fr; }
.acc .a > div { overflow: hidden; min-height: 0; }
.acc .in { padding: 0 64px 28px 44px; max-width: 780px; color: var(--muted); }
.light .acc .in { color: var(--muted-dark); }
.acc .in p + p, .acc .in p + ul, .acc .in ul + p { margin-top: 12px; }
.acc .in ul { display: grid; gap: 6px; }
.acc .in li { position: relative; padding-left: 20px; }
.acc .in li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.acc .in strong { color: var(--cream); font-weight: 600; }
.light .acc .in strong { color: var(--ink); }
.acc .in a { color: var(--orange-2); font-weight: 600; text-underline-offset: 3px; }
.light .acc .in a { color: #c4420f; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .h-l { margin: 22px 0 24px; }
.faq-grid .btn { margin-top: 30px; }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--orange); color: var(--ink); overflow: hidden; }
.cta .wrap { position: relative; z-index: 1; }
.cta .h-xl { margin-top: 24px; font-size: clamp(46px, 6.6vw, 112px); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; }
.cta .eyebrow { color: rgba(20, 18, 16, 0.7); }
.cta .eyebrow::before { background: var(--ink); }
.cta p { max-width: 520px; margin: 28px 0 38px; font-size: clamp(18px, 1.6vw, 21px); }
.cta-art { pointer-events: none; width: 100%; max-width: 440px; justify-self: end; transform: rotate(-10deg); }
.cta-art svg { width: 100%; height: auto; animation: float 8s ease-in-out infinite; }
.cta-art .lm-b { fill: var(--ink); }
.cta-art .lm-d { fill: var(--orange); }

/* ---------- Footer ---------- */
footer { background: var(--ink); padding: 84px 0 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-grid .brand { margin-bottom: 18px; }
.foot-grid p { color: var(--muted); max-width: 340px; }
.foot-grid h4 { margin-bottom: 16px; font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.foot-grid li + li { margin-top: 10px; }
.foot-grid a { color: var(--cream); text-decoration: none; transition: color 0.2s; }
.foot-grid a:hover { color: var(--orange); }
.foot-grid .plain { color: var(--cream); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 70px; padding: 26px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.mega { display: flex; justify-content: center; margin: 10px 0 0; font: 700 clamp(110px, 27vw, 430px)/0.82 var(--display); letter-spacing: -0.07em; color: var(--brown); user-select: none; white-space: nowrap; }
.mega span { display: inline-block; transition: transform 0.6s var(--ease), color 0.3s; }
.mega span:hover { color: var(--orange); transform: translateY(-6%) rotate(-4deg); }

/* ---------- FAQ page ---------- */
.page-hero { position: relative; padding: 170px 0 70px; overflow: hidden; }
.page-hero .disc { left: auto; right: -14%; width: 52vw; max-width: 760px; top: 46%; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .h-xl { margin-top: 26px; }
.page-hero .lede { margin-top: 24px; }
.search { position: relative; max-width: 620px; margin-top: 40px; }
.search input {
  width: 100%; height: 64px; padding: 0 22px 0 58px; border: 0; border-radius: 999px;
  background: rgba(242, 238, 230, 0.06); box-shadow: inset 0 0 0 1px var(--line); color: var(--cream);
  font: 500 18px/1 var(--body); transition: box-shadow 0.3s, background 0.3s;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; background: rgba(242, 238, 230, 0.09); box-shadow: inset 0 0 0 2px var(--orange); }
.search svg { position: absolute; left: 22px; top: 50%; width: 20px; margin-top: -10px; stroke: var(--muted); fill: none; stroke-width: 2; stroke-linecap: round; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px rgba(242, 238, 230, 0.18); color: var(--cream); font-size: 15px; font-weight: 500; cursor: pointer; transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.3s var(--ease); }
.chip:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--cream); }
.chip[aria-pressed="true"] { background: var(--orange); color: var(--ink); box-shadow: none; }
.chip sup { margin-left: 5px; font-size: 11px; opacity: 0.65; }
.faq-list { max-width: 980px; }
.faq-empty { padding: 40px 0; font: 600 24px/1.3 var(--display); color: var(--muted-dark); }
.faq-empty a { color: #c4420f; }

/* ---------- Parent company and investor ---------- */
.backed { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 26px; color: var(--muted); font-size: 15px; }
.backed b { color: var(--cream); font-weight: 600; }
.light .backed b { color: var(--ink); }
.backed a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
.backed a:hover { color: var(--cream); border-color: var(--orange); }
.light .backed a:hover { color: var(--ink); }
.foot-z7 { color: inherit; text-decoration: none; transition: color 0.2s; }
.foot-z7:hover { color: var(--cream); }
.backed > i { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.backed .b-z7, .foot-z7 { display: inline-flex; align-items: center; gap: 9px; }
.z7m { display: inline-grid; place-items: center; width: 24px; height: 24px; background: #ff1f2e; color: #050505; font: 700 11px/1 var(--display); clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.page-hero .backed { margin-top: 20px; }

.parents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.parent { position: relative; display: flex; flex-direction: column; min-height: 440px; padding: clamp(28px, 3.4vw, 44px); border-radius: 32px; overflow: hidden; isolation: isolate; transition: transform 0.6s var(--ease); }
.parent:hover { transform: translateY(-8px); }
.parent .mono { opacity: 0.7; }
.parent .p-mark { margin: 36px 0 auto; font: 700 clamp(56px, 7.4vw, 112px)/0.9 var(--display); letter-spacing: -0.05em; }
.parent h3 { margin-top: 40px; font: 600 clamp(24px, 2.4vw, 34px)/1.1 var(--display); letter-spacing: -0.025em; }
.parent p { margin-top: 10px; max-width: 460px; }
.parent.os { background: var(--orange); color: var(--ink); }
.parent.os .p-mark span { color: var(--cream); }
.parent.os::before { content: ""; position: absolute; right: -80px; top: -80px; z-index: -1; width: 280px; height: 280px; border-radius: 50%; background: var(--orange-2); animation: float 9s ease-in-out infinite; }
.parent.os p { color: rgba(20, 18, 16, 0.78); }
.parent.z7 { background: #050505; color: #f4f2f0; }
.parent.z7 .p-mark { display: flex; align-items: center; gap: 0.18em; font-size: clamp(40px, 5.2vw, 78px); letter-spacing: -0.02em; text-transform: uppercase; }
.parent.z7 .z7box { display: grid; place-items: center; width: 1.5em; height: 1.5em; background: #ff1f2e; color: #050505; font-size: 0.8em; clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.parent.z7 p { color: #9a9795; }
.parent.z7 .mono { color: #ff1f2e; opacity: 1; }
.net { position: absolute; right: 28px; top: 28px; z-index: -1; width: 180px; height: 120px; }
.net b { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: #ff1f2e; box-shadow: 0 0 14px #ff1f2e; animation: blinkSoft 2.4s infinite; }
.net b:nth-of-type(1) { left: 10%; top: 80%; }
.net b:nth-of-type(2) { left: 55%; top: 15%; animation-delay: 0.8s; }
.net b:nth-of-type(3) { left: 95%; top: 70%; animation-delay: 1.6s; }
.net i { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, #ff1f2e, transparent); background-size: 200% 100%; transform-origin: left center; animation: netflow 2.2s linear infinite; }
.net i:nth-of-type(1) { left: 10%; top: 80%; width: 109px; transform: rotate(-52deg); }
.net i:nth-of-type(2) { left: 55%; top: 15%; width: 88px; transform: rotate(43deg); animation-delay: 0.7s; }
.net i:nth-of-type(3) { left: 10%; top: 80%; width: 153px; transform: rotate(-4deg); animation-delay: 1.4s; }
@keyframes netflow { from { background-position: 100% 0; } to { background-position: -100% 0; } }
a.parent { text-decoration: none; cursor: pointer; }
.parent .p-go { position: absolute; right: clamp(22px, 3vw, 34px); bottom: clamp(22px, 3vw, 34px); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; transition: transform 0.5s var(--ease), background 0.3s; }
.parent .p-go svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.parent:hover .p-go svg { transform: rotate(45deg); }
.parent.os .p-go { background: var(--ink); color: var(--orange); }
.parent.z7 .p-go { background: #ff1f2e; color: #050505; }
.parent h3, .parent p { padding-right: 64px; }
.parent:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (max-width: 760px) {
  .parents { grid-template-columns: minmax(0, 1fr); }
  .parent { min-height: 340px; }
  .net { width: 130px; height: 90px; }
}

/* ---------- Reveal ---------- */
.js [data-r] { opacity: 0; transform: translateY(44px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-r].is-in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.w > span { display: inline-block; transform: translateY(112%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi) * 45ms); }
.is-in .w > span { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sticker.s1 { left: -40px; }
  .sticker.s2 { right: -30px; }
  .span-4, .span-2, .span-3 { grid-column: span 3; }
  .inds { grid-template-columns: minmax(0, 1fr); }
  .ind { min-height: 0; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0 36px; }
  .ind .top { grid-column: 1 / -1; }
  .ind .art { grid-row: span 3; margin: 20px 0 0; height: auto; min-height: 200px; }
  .ind h3 { margin-top: 26px; }
  .ind ul { margin-top: 0; }
}
@media (max-width: 960px) {
  .nav-links {
    position: fixed; top: 86px; left: 12px; right: 12px; flex-direction: column; gap: 2px; padding: 12px; border-radius: 26px;
    background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px rgba(0, 0, 0, 0.5);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
  }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 18px; font: 600 22px/1.2 var(--display); color: var(--cream); }
  .nav-links .only-m { display: block; margin-top: 8px; background: var(--orange); color: var(--ink); text-align: center; }
  .menu-btn { display: block; margin-left: auto; }
  .nav .btn { display: none; }
  .hero .wrap, .sec-head, .story-pin .wrap, .demo-grid, .pilot-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(44px, 11.5vw, 96px); }
  .hero-art { justify-self: center; max-width: 460px; margin-top: 8px; }
  .disc, .orbit { left: 0; width: 100%; }
  .c3 { left: -2%; }
  .c2 { right: 0; }
  .pain { grid-template-columns: minmax(0, 1fr); }
  .story { height: 300vh; }
  .story-pin { align-items: flex-start; padding-top: 92px; }
  .story .h-l { margin: 14px 0 14px; font-size: clamp(30px, 8vw, 44px); }
  .story .eyebrow, .steps p { display: none; }
  .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .steps li { display: block; padding: 10px 0 0; border-top: 3px solid var(--line); border-bottom: 0 !important; }
  .steps li.on { border-top-color: var(--orange); }
  .steps .n { display: block; line-height: 1.4; }
  .steps h3 { font-size: 15px; line-height: 1.2; }
  .prog { display: none; }
  .stage { height: calc(100svh - 300px); min-height: 380px; margin-top: 4px; }
  .s-card { padding: 16px 18px; }
  .s-row, .s-src { padding: 9px 0; }
  .hits { margin-top: 10px; }
  .hit { padding: 9px 12px; }
  .phone-wrap { justify-self: center; }
  .price { position: relative; top: 0; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-art { order: -1; max-width: 160px; justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .span-4, .span-2, .span-3 { grid-column: 1 / -1; }
  .tile { min-height: 0; }
  .ind { display: flex; }
  .ind .art { height: 170px; min-height: 0; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat + .stat { padding: 26px 0; border-left: 0; }
  .stat + .stat { border-top: 2px solid rgba(20, 18, 16, 0.18); }
  .phone { width: min(340px, calc(100vw - 36px)); height: 640px; }
  .sticker { display: none; }
  .hero .actions .btn, .cta .btn, .price .btn { width: 100%; justify-content: space-between; }
  .hero .actions .btn.ghost { justify-content: center; }
  .acc button { grid-template-columns: auto 1fr 42px; gap: 12px; padding: 22px 0; }
  .acc .pm { width: 42px; height: 42px; }
  .acc .in { padding: 0 4px 24px 38px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 6px; justify-items: start; }
  .fl { width: 2px; height: 16px; margin: 0 0 0 20px; }
  .fl i { left: 0; top: -30%; width: 100%; height: 30%; animation-name: rundown; }
  .flow-cap { display: none; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-grid b { font-size: 16px; }
  .chip-float { font-size: 11px; padding: 9px 12px; }
}
@keyframes rundown { to { top: 100%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-r], .js .fade, .js .chip-float { opacity: 1; transform: none; }
  .w > span, .js .hero h1 .ln > span { transform: none; }
}
