/* Sous landing page */
:root {
  --bg: #0f0b08;
  --bg-2: #16100c;
  --bg-3: #1d1611;
  --ink: #f7efe4;
  --ink-2: #d9cbb9;
  --muted: #a8988a;
  --line: rgba(247, 239, 228, 0.1);
  --line-2: rgba(247, 239, 228, 0.18);
  --saffron: #f5a524;
  --tomato: #ec4a2f;
  --basil: #5cbf73;
  --cyan: #2fd8ff;
  --cyan-deep: #0aa4d6;
  --cream: #f3e6d0;
  --radius: 22px;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--saffron); color: #1a1008; }

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

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; position: relative; z-index: 2; }

/* ---------- progress + nav ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 100%;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan), #b8f3ff);
  box-shadow: 0 0 12px var(--cyan);
}

.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1200px, 100% - 28px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  z-index: 50;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  border: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(22, 16, 12, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.02em;
  text-decoration: none;
}
.brand-ring {
  width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid var(--cyan);
  box-shadow: 0 0 14px var(--cyan), inset 0 0 8px rgba(47, 216, 255, .6);
  animation: breathe 3.2s ease-in-out infinite;
}
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14px;
  padding: 8px 14px; border-radius: 999px; transition: background .25s, color .25s;
}
.nav-links a:hover { background: rgba(247, 239, 228, .07); color: var(--ink); }
.nav-cta { display: flex; gap: 8px; }

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: 16px; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s;
  border: 1px solid transparent;
}
.btn.sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  color: #1a1008;
  background: linear-gradient(135deg, #ffd27a, var(--saffron) 45%, #f0812a);
  box-shadow: 0 10px 30px rgba(245, 165, 36, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(245, 165, 36, .45), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: rgba(247, 239, 228, .04); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(47, 216, 255, .55); box-shadow: 0 0 0 4px rgba(47, 216, 255, .08); transform: translateY(-2px); }
.btn:focus-visible, .nav-links a:focus-visible, .brand:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1200px 700px at 72% 45%, rgba(47, 216, 255, .10), transparent 60%),
    radial-gradient(900px 600px at 15% 85%, rgba(236, 74, 47, .12), transparent 60%),
    radial-gradient(700px 500px at 30% 10%, rgba(245, 165, 36, .10), transparent 60%),
    var(--bg);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease; z-index: -3;
}
.hero-video.ready { opacity: .45; }
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -1; opacity: 0; transition: opacity 1.6s ease;
}
.webgl-ready #hero-canvas { opacity: 1; }
.hero-fallback { position: absolute; inset: 0; z-index: -2; transition: opacity 1.2s ease; }
.webgl-ready .hero-fallback { opacity: 0; }
.hero-fallback .ring {
  position: absolute; right: 12%; top: 50%; width: min(46vw, 560px); aspect-ratio: 1;
  transform: translateY(-50%); border-radius: 50%;
  border: 6px solid var(--cyan);
  box-shadow: 0 0 60px var(--cyan), 0 0 140px rgba(47, 216, 255, .5), inset 0 0 60px rgba(47, 216, 255, .4);
  animation: breathe 3.6s ease-in-out infinite;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 11, 8, .95) 0%, rgba(15, 11, 8, .78) 34%, rgba(15, 11, 8, .2) 52%, rgba(15, 11, 8, 0) 62%),
    linear-gradient(0deg, var(--bg) 0%, rgba(15, 11, 8, 0) 26%);
}
.hero-content {
  width: min(1200px, 100% - 48px); margin-inline: auto;
  padding: 120px 0 140px;
  transform: translate3d(0, calc(var(--hs, 0) * -90px), 0);
  opacity: calc(1 - var(--hs, 0) * 1.25);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(15, 11, 8, .4);
  backdrop-filter: blur(6px);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 1.6s ease-in-out infinite; }
.hero-title {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-weight: 800;
  font-size: clamp(96px, 17vw, 248px);
  line-height: .82;
  letter-spacing: -.055em;
  color: var(--ink);
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .45));
}
.hero-title .char {
  display: inline-block; opacity: 0; transform: translateY(40%) rotate(6deg);
  animation: charIn 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms);
  background: linear-gradient(180deg, #fff8ee 0%, #f7e6cf 55%, #e8b980 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.hero-title .dot-accent { background: none; color: var(--saffron); text-shadow: 0 0 40px rgba(245, 165, 36, .55); }
.hero-tagline {
  margin: 18px 0 0;
  font-family: var(--display); font-weight: 500;
  font-variation-settings: "SOFT" 50, "opsz" 72;
  font-size: clamp(28px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.02em;
  max-width: 15ch;
}
.hero-tagline em { font-style: italic; color: var(--cyan); text-shadow: 0 0 24px rgba(47, 216, 255, .45); }
.hero-sub { margin: 20px 0 0; max-width: 46ch; font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 30px 0 0; }
.hero-badges li {
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(15, 11, 8, .45);
}
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) forwards; animation-delay: var(--d, 0ms); }

.hero-say {
  position: absolute; right: max(24px, calc((100vw - 1200px) / 2)); bottom: 120px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px 14px 14px; border-radius: 18px;
  background: rgba(22, 16, 12, .62); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  max-width: min(440px, 80vw);
  opacity: 0; animation: fadeUp 1s var(--ease) 1.4s forwards;
}
.hero-say .mic {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #6fe6ff, var(--cyan-deep));
  box-shadow: 0 0 0 0 rgba(47, 216, 255, .6); animation: ping 2s ease-out infinite;
}
.hero-say .mic svg { width: 20px; height: 20px; color: #032532; }
.hero-say .label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.hero-say .utter { font-family: var(--display); font-size: 19px; line-height: 1.3; min-height: 1.3em; }
.hero-say .utter::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -2px; background: var(--saffron); animation: blink 1s steps(1) infinite; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  text-decoration: none;
}
.scroll-cue i { width: 22px; height: 36px; border-radius: 12px; border: 2px solid var(--line-2); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--saffron); animation: wheel 1.8s ease-in-out infinite; }

/* Alexa light bar */
.lightbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 3;
  background: linear-gradient(90deg, transparent, var(--cyan-deep) 20%, var(--cyan) 45%, #c9f7ff 50%, var(--cyan) 55%, var(--cyan-deep) 80%, transparent);
  background-size: 200% 100%;
  animation: sweep 3.2s linear infinite;
  box-shadow: 0 0 24px var(--cyan), 0 0 60px rgba(47, 216, 255, .6);
}

/* ---------- marquee ---------- */
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #1f120d, #1e160c, #131a10);
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 22px; white-space: nowrap; }
.marquee-track b { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.exp-1 { background: rgba(236, 74, 47, .2); color: #ff9a85; }
.exp-2 { background: rgba(245, 165, 36, .18); color: #ffcd7a; }
.exp-3 { background: rgba(92, 191, 115, .18); color: #9ee6ae; }

/* ---------- section shared ---------- */
section { position: relative; }
.section { padding: clamp(96px, 14vw, 180px) 0; overflow: hidden; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.display {
  margin: 0;
  font-family: var(--display); font-weight: 700;
  font-variation-settings: "SOFT" 80, "opsz" 144;
  font-size: clamp(42px, 6.4vw, 96px); line-height: .98; letter-spacing: -.035em;
  max-width: 18ch;
}
.display em { font-style: italic; font-weight: 500; color: var(--saffron); }
.lede { margin: 24px 0 0; max-width: 56ch; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); }

[data-reveal] { opacity: 0; transform: translate3d(0, 46px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

.decor { position: absolute; inset: -10% 0; pointer-events: none; z-index: 0; will-change: transform; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.blob.tomato { background: var(--tomato); }
.blob.saffron { background: var(--saffron); }
.blob.basil { background: var(--basil); }
.blob.cyan { background: var(--cyan); }
.float-chip {
  position: absolute; font-size: clamp(36px, 5vw, 64px); line-height: 1;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .5));
  will-change: transform;
}

/* ---------- problem ---------- */
.problem { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; }
.stat {
  position: relative; padding: 30px 26px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(247, 239, 228, .05), rgba(247, 239, 228, .015));
  border: 1px solid var(--line);
  overflow: hidden;
}
.stat::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c, var(--saffron)); opacity: .9; }
.stat .num {
  font-family: var(--display); font-weight: 800; font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: clamp(40px, 4.1vw, 62px); line-height: 1; letter-spacing: -.04em; color: var(--c, var(--saffron));
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat p { margin: 14px 0 18px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.src { font-family: var(--mono); font-size: 12px; color: var(--muted); text-decoration: none; border-bottom: 1px dashed var(--line-2); }
.src:hover { color: var(--cyan); border-color: var(--cyan); }
.punch {
  margin: 72px 0 0; font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(26px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -.02em; max-width: 26ch;
}
.punch b { font-style: normal; color: var(--basil); font-weight: 700; }

/* ---------- say it ---------- */
.sayit { background: var(--bg-2); }
.sayit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.sayit-copy { position: sticky; top: 120px; }
.chat { display: grid; gap: 16px; }
.bubble {
  max-width: 88%; padding: 18px 22px; border-radius: 22px;
  font-size: clamp(17px, 1.45vw, 20px); line-height: 1.45;
  opacity: 0; transform: translateY(18px) scale(.98);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.bubble.show { opacity: 1; transform: none; }
.bubble .who { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.bubble.you { justify-self: end; background: linear-gradient(135deg, #2a1f17, #22190f); border: 1px solid var(--line-2); border-bottom-right-radius: 6px; font-family: var(--display); }
.bubble.you .who { color: var(--saffron); }
.bubble.alexa { background: linear-gradient(135deg, rgba(47, 216, 255, .13), rgba(10, 164, 214, .06)); border: 1px solid rgba(47, 216, 255, .28); border-bottom-left-radius: 6px; box-shadow: 0 0 40px rgba(47, 216, 255, .08); }
.bubble.alexa .who { color: var(--cyan); }
.bubble .tool { display: inline-block; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: #9fe9ff; background: rgba(3, 37, 50, .6); border: 1px solid rgba(47, 216, 255, .25); padding: 3px 9px; border-radius: 6px; }
.bubble .guard { color: #ffb4a6; font-weight: 600; }
.typing { justify-self: start; display: inline-flex; gap: 6px; padding: 16px 20px; border-radius: 18px; background: rgba(47, 216, 255, .08); border: 1px solid rgba(47, 216, 255, .2); opacity: 0; transition: opacity .3s; }
.typing.show { opacity: 1; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: bounce 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.sample-note { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- how it works ---------- */
.how { background: radial-gradient(1000px 600px at 50% 40%, rgba(47, 216, 255, .07), transparent 70%), var(--bg); }
.diagram {
  margin: 64px 0 0; padding: clamp(14px, 2.4vw, 32px); border-radius: 28px;
  border: 1px solid var(--line); background: linear-gradient(180deg, #19130f, #140f0b);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .35);
}
.diagram svg { width: 100%; height: auto; overflow: visible; }
.diagram .d-mobile { display: none; }
.dg-node { fill: #1b140f; stroke: rgba(247, 239, 228, .16); stroke-width: 1.5; }
.dg-node.sous { fill: #21170f; stroke: rgba(245, 165, 36, .55); }
.dg-node.alexa { stroke: rgba(47, 216, 255, .55); }
.dg-node.aws { stroke: rgba(245, 165, 36, .35); stroke-dasharray: 5 5; }
.dg-title { font-family: var(--display); font-weight: 700; fill: var(--ink); }
.dg-sub { font-family: var(--sans); fill: var(--ink-2); }
.dg-mono { font-family: var(--mono); fill: #9fe9ff; }
.dg-title:not([font-size]) { font-size: 24px; }
.dg-sub:not([font-size]) { font-size: 14px; }
.dg-mono:not([font-size]) { font-size: 12.5px; }
.dg-label { font-family: var(--mono); font-size: 12px; fill: var(--saffron); letter-spacing: .04em; }
.dg-chip { fill: rgba(3, 37, 50, .55); stroke: rgba(47, 216, 255, .25); }
.dg-chip-g { fill: rgba(92, 191, 115, .12); stroke: rgba(92, 191, 115, .45); }
.dg-chip-g-t { font-family: var(--mono); fill: #9ee6ae; }
.dg-chip-g-t:not([font-size]) { font-size: 12px; }
.dg-wire { fill: none; stroke: rgba(247, 239, 228, .22); stroke-width: 2; stroke-dasharray: 6 8; animation: dash 1.4s linear infinite; }
.dg-wire.cy { stroke: rgba(47, 216, 255, .6); }
.dg-wire.sf { stroke: rgba(245, 165, 36, .6); }
.dg-packet { stroke: currentColor; stroke-width: 9; stroke-opacity: .22; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 22px 22px 22px 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(247, 239, 228, .02); color: var(--ink-2); font-size: 15.5px; }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; margin-bottom: 10px; font-family: var(--display); font-size: 34px; font-weight: 700; color: var(--saffron); line-height: 1; }
.steps b { color: var(--ink); }

/* ---------- features ---------- */
.features { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; perspective: 1200px; }
.card {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; padding: 28px 24px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, #1d1611, #17110d);
  border: 1px solid var(--line);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s;
  overflow: hidden; isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 22%, transparent), transparent 55%);
}
.card:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px color-mix(in srgb, var(--c) 25%, transparent); }
.card:hover::before { opacity: 1; }
.card .ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  transform: translateZ(30px);
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1.15; letter-spacing: -.01em; transform: translateZ(20px); }
.card p { margin: 0 0 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.card code { font-family: var(--mono); font-size: 12px; color: var(--c); background: rgba(0, 0, 0, .3); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; }
.card.wide { grid-column: span 2; }

/* ---------- CTA ---------- */
.cta { background: var(--bg-2); }
.cta-card {
  position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 36px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(47, 216, 255, .18), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(236, 74, 47, .18), transparent 60%),
    linear-gradient(135deg, #241911, #160f0b);
  border: 1px solid var(--line-2);
  box-shadow: 0 60px 140px rgba(0, 0, 0, .5);
}
.cta-card .display { font-size: clamp(40px, 5.2vw, 78px); }
.device {
  position: relative; border-radius: 22px; padding: 6px;
  background: linear-gradient(180deg, rgba(247, 239, 228, .14), rgba(247, 239, 228, .04));
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 80px rgba(47, 216, 255, .12);
  transform: perspective(1400px) rotateY(calc(-8deg + var(--dx, 0) * 1deg)) rotateX(calc(4deg + var(--dy, 0) * 1deg));
  transition: transform .6s var(--ease);
}
.device-screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(400px 260px at 70% 30%, rgba(47, 216, 255, .18), transparent 70%),
    linear-gradient(135deg, #1f1610, #0e0a07);
}
.device-screen .poster { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; padding: 20px; }
.device-screen .poster .clock { font-family: var(--display); font-size: clamp(40px, 6vw, 84px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.device-screen .poster .hint { color: var(--ink-2); font-size: clamp(13px, 1.2vw, 16px); }
.device-screen iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; pointer-events: none; background: transparent; opacity: 0; transition: opacity .6s; }
.device-screen iframe.loaded { opacity: 1; }
.device-screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 14px var(--cyan); animation: sweep 3s linear infinite; background-size: 200% 100%; }
.device-link { position: absolute; inset: 0; z-index: 2; border-radius: 22px; }
.device-link:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

/* ---------- built with ---------- */
.built { padding: 64px 0; border-top: 1px solid var(--line); background: var(--bg); }
.built-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.built-row .label { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; gap: 12px; }
.logos span {
  font-family: var(--display); font-weight: 600; font-size: 20px; padding: 10px 18px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(247, 239, 228, .03);
}
.logos span small { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-left: 8px; font-weight: 400; }
.oss { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; border: 1px solid var(--line-2); }
.badge.mit { color: #9ee6ae; border-color: rgba(92, 191, 115, .45); background: rgba(92, 191, 115, .08); }
.badge svg { width: 18px; height: 18px; }

footer { padding: 48px 0 64px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; }
footer .brand { font-size: 22px; color: var(--ink); }
footer p { margin: 8px 0 0; max-width: 60ch; }

/* ---------- keyframes ---------- */
@keyframes breathe { 0%, 100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.06); filter: brightness(1.35); } }
.hero-fallback .ring { animation-name: breatheY; }
@keyframes breatheY { 0%, 100% { transform: translateY(-50%) scale(1); } 50% { transform: translateY(-50%) scale(1.05); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes charIn { to { opacity: 1; transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47, 216, 255, .55); } 100% { box-shadow: 0 0 0 18px rgba(47, 216, 255, 0); } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes sweep { from { background-position: 200% 0; } to { background-position: 0% 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-5px); opacity: 1; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 860px) {
  .sayit-grid, .cta-card { grid-template-columns: 1fr; }
  .sayit-copy { position: static; }
  .hero-vignette { background: linear-gradient(0deg, rgba(15, 11, 8, .96) 0%, rgba(15, 11, 8, .7) 45%, rgba(15, 11, 8, .1) 75%); }
  .hero { align-items: end; }
  .hero-content { padding: 46vh 0 120px; }
  .hero-say { display: none; }
  .float-chip { display: none; }
  .diagram .d-desktop { display: none; }
  .diagram .d-mobile { display: block; max-width: 440px; margin-inline: auto; }
  .hero-fallback .ring { right: 50%; top: 26%; transform: translate(50%, -50%); width: 62vw; animation: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .hero-content { width: calc(100% - 32px); }
  .nav { top: 10px; width: calc(100% - 20px); padding: 8px 8px 8px 14px; }
  .nav-cta .btn-ghost { display: none; }
  .stats, .grid, .steps { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .hero-actions .btn { width: 100%; }
  .btn { white-space: normal; height: auto; min-height: var(--h); padding: 12px 22px; text-align: center; line-height: 1.25; }
  .eyebrow { font-size: 11px; letter-spacing: .04em; padding: 7px 12px; }
  .hero-content { padding-top: 50vh; }
  .bubble { max-width: 96%; }
  .built-row { flex-direction: column; align-items: flex-start; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .bubble, .fade-up, .hero-title .char, .hero-say { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
}
