/* Oggy landing — same tokens as the app (frontend/src/renderer/src/theme.css). Calm, centred layout. */
:root {
  --ink-0: #0a0a0c;
  --ink-1: #111114;
  --ink-2: #18181c;
  --ink-3: #222227;
  --paper: #f2f2f3;
  --paper-2: rgba(242, 242, 243, 0.68);
  --paper-3: rgba(242, 242, 243, 0.45);
  --paper-4: rgba(242, 242, 243, 0.22);
  --hair: rgba(255, 255, 255, 0.07);
  --hair-2: rgba(255, 255, 255, 0.12);
  --cat: #5f8fe8;
  --cat-d: #3a63bd;
  --cat-l: #8fb2f2;
  --ok: #5ec48a;
  --ember: #e8b04b;
  --sans: 'Geist', 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', 'Cascadia Code', Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);

  /* a comfortable reading width with a fluid gutter */
  --max: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
  --pad: max(var(--gutter), calc((100vw - var(--max)) / 2));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--paper);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
kbd {
  font: 500 0.78em var(--mono);
  padding: 0.12em 0.45em;
  border: 1px solid var(--hair-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--ink-2);
  color: var(--paper);
  white-space: nowrap;
}
.mono { font-family: var(--mono); font-size: 0.88em; color: var(--paper); }
em { font-style: normal; color: var(--ember); }
:focus-visible { outline: 2px solid var(--cat-l); outline-offset: 3px; border-radius: 6px; }

.wrap { padding-inline: var(--pad); }

/* scroll progress */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 30;
  background: linear-gradient(90deg, var(--cat-d), var(--cat-l));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  background: rgba(10, 10, 12, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}
.nav.scrolled { border-bottom-color: var(--hair); background: rgba(10, 10, 12, 0.78); }
.nav-in { padding: 12px var(--pad); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand.small { font-size: 14px; gap: 7px; }
.nav-links {
  position: relative; display: flex; gap: 4px; margin-inline: auto; font-size: 14px; color: var(--paper-2);
  padding: 4px; border-radius: 999px; border: 1px solid var(--hair); background: rgba(255, 255, 255, 0.02);
}
.nav-links a { position: relative; z-index: 1; padding: 6px 14px; border-radius: 999px; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--paper); }
.nav-links .ind {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.09); opacity: 0;
  transition: transform 0.55s var(--ease-soft), width 0.55s var(--ease-soft), opacity 0.3s;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--paper-2); transition: color 0.2s, background 0.2s; }
.icon-btn:hover { color: var(--paper); background: var(--ink-3); }

.cat { image-rendering: pixelated; image-rendering: crisp-edges; display: block; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 20px; border-radius: 10px;
  font: 600 14px var(--sans); letter-spacing: -0.005em;
  transition: transform 0.45s var(--ease-soft), background 0.3s, border-color 0.3s, box-shadow 0.45s var(--ease-soft);
  will-change: transform;
}
.btn:active { transform: scale(0.97) !important; }
.btn-sm { height: 36px; padding: 0 15px; font-size: 14px; border-radius: 9px; }
.btn-light { background: var(--paper); color: #0b0b0d; }
.btn-light:hover { background: #fff; box-shadow: 0 10px 36px -8px rgba(95, 143, 232, 0.7); }
.btn-dark { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--hair-2); color: var(--paper); }
.btn-dark:hover { background: var(--ink-3); border-color: rgba(255, 255, 255, 0.22); }
.win { width: 15px; height: 15px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 8vh, 96px); isolation: isolate; }
.matrix {
  position: absolute; inset: 0 0 30% 0; width: 100%; height: 70%; z-index: -1; pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.6;
}
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  animation: float 22s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: 18%; background: rgba(58, 99, 189, 0.45); }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; right: -10vw; top: 6%; background: rgba(95, 143, 232, 0.32); animation-duration: 28s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 35%; top: 52%; background: rgba(143, 178, 242, 0.22); animation-duration: 34s; animation-delay: -12s; }
@keyframes float { to { transform: translate3d(6vw, -4vw, 0) scale(1.15); } }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 96px); align-items: end;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 28px;
  padding: 6px 14px; border: 1px solid var(--hair-2); border-radius: 999px;
  font-size: 13px; color: var(--paper-2); background: rgba(255, 255, 255, 0.03);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
h1 {
  margin: 0; font-weight: 500; letter-spacing: -0.04em; line-height: 1.02;
  font-size: clamp(36px, 4.6vw, 66px);
}
h1 .line { display: block; }
@media (min-width: 560px) { h1 .line { white-space: nowrap; } }
.grad {
  background: linear-gradient(100deg, var(--paper) 0%, var(--cat-l) 45%, var(--cat) 85%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s ease-in-out infinite alternate;
}
@keyframes sheen { to { background-position: 100% 0; } }
.lede { margin: 0; font-size: clamp(15px, 1.05vw, 16.5px); line-height: 1.65; color: var(--paper-2); max-width: 470px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine { margin: 16px 0 0; font: 12.5px var(--mono); color: var(--paper-3); }

.hero-shot { position: relative; margin-top: clamp(48px, 7vh, 80px); }
.hero-shot .tilt-scene, .hero-shot .cat-track { max-width: 980px; margin-inline: auto; }
.hero-shot::before {
  content: ''; position: absolute; inset: 10% 12% -4%; z-index: -1;
  background: radial-gradient(55% 55% at 50% 40%, rgba(95, 143, 232, 0.28), transparent 70%);
  filter: blur(50px);
}
.tilt-scene { perspective: 2000px; }
.cat-track { position: absolute; left: calc(var(--pad) + 2%); right: calc(var(--pad) + 2%); top: -40px; height: 44px; z-index: 3; pointer-events: none; }
.walker { position: absolute; left: 0; bottom: -4px; will-change: transform; }
.tilt { transform-origin: 50% 0; will-change: transform; }

/* ---------- framed screenshots ---------- */
.window {
  margin: 0; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--hair-2);
  background: var(--ink-1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 50px 120px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.window img { width: 100%; }
.zoomable, .zoomable-img { cursor: zoom-in; }
[data-drift] { will-change: transform; }

/* ---------- works with: marquee across the full width ---------- */
.works {
  margin-top: clamp(56px, 8vh, 90px); display: flex; align-items: center; gap: 28px;
  padding: 22px 0 22px var(--pad); border-block: 1px solid var(--hair);
}
.works-label { flex: none; font: 12.5px var(--mono); color: var(--paper-3); text-transform: uppercase; letter-spacing: 0.08em; }
.marquee {
  flex: 1; display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee ul { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0 12px 0 0; flex: none; animation: marquee 32s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li { white-space: nowrap; font-size: 14px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--hair); color: var(--paper-2); background: rgba(255, 255, 255, 0.02); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- how it works ---------- */
.how { margin-top: clamp(64px, 9vh, 110px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hair); }
.steps li { position: relative; padding: 30px 28px 6px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--hair); }
.steps li::before {
  content: ''; position: absolute; top: -1px; left: 0; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--cat-l), transparent); transform: scaleX(0); transform-origin: 0;
  transition: transform 1.4s var(--ease-soft) var(--d, 0s);
}
.steps li.in::before { transform: scaleX(1); }
.n { font: 12.5px var(--mono); color: var(--cat-l); }
.steps h3 { margin: 10px 0 6px; font-size: clamp(16px, 1.2vw, 18px); font-weight: 500; letter-spacing: -0.015em; }
.steps p { margin: 0; color: var(--paper-2); font-size: 14px; }

/* ---------- section type ---------- */
.eyebrow { margin: 0 0 16px; font: 13px var(--mono); color: var(--paper-3); }
.eyebrow::before { content: '● '; color: var(--cat); font-size: 10px; vertical-align: 2px; }
h2 { margin: 0; font-weight: 500; letter-spacing: -0.028em; line-height: 1.1; font-size: clamp(26px, 2.5vw, 38px); }
h2 .sub { display: block; color: var(--paper-3); }
.body { margin: 16px 0 0; color: var(--paper-2); font-size: clamp(14.5px, 1vw, 15.5px); line-height: 1.65; max-width: 460px; }

/* ---------- demo ---------- */
.demo { margin-top: clamp(90px, 12vh, 140px); }
.demo .demo-head, .demo .stage { max-width: 940px; margin-inline: auto; }
.demo-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); align-items: end; margin-bottom: 28px; }
.demo-head .body { margin: 0; }

/* ---------- features: sticky text on one side, a visual that runs to the screen edge on the other ---------- */
.feature {
  display: grid; grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.5fr);
  gap: clamp(32px, 4.5vw, 72px); align-items: center;
  padding-inline: var(--pad);
  margin-top: clamp(100px, 13vh, 160px);
}
.feature.flip { grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.85fr); }
.feature.flip .f-text { order: 2; }
.feature.flip .f-visual { order: 1; }
.f-text { position: relative; }
.f-text h2 { font-size: clamp(24px, 2.1vw, 32px); }
.f-visual { min-width: 0; }

/* the textured panel every screenshot sits on — like the app wallpaper, in Oggy blue */
.stage {
  --mx: 50%; --my: 50%;
  position: relative; padding: clamp(14px, 2.4vw, 34px);
  border-radius: 22px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.075), transparent 60%),
    radial-gradient(70% 90% at 15% 10%, rgba(143, 178, 242, 0.32), transparent 60%),
    radial-gradient(60% 80% at 90% 100%, rgba(58, 99, 189, 0.45), transparent 60%),
    linear-gradient(160deg, #1b2b4d, #0f1a33 55%, #0b1326);
  border: 1px solid rgba(143, 178, 242, 0.16);
  transform-origin: 50% 50%; will-change: transform;
}
.stage::before { /* soft silk streaks */
  content: ''; position: absolute; inset: -40%; z-index: -1; opacity: 0.5;
  background: repeating-conic-gradient(from 210deg at 30% 60%, rgba(255, 255, 255, 0.05) 0 2deg, transparent 2deg 9deg);
  filter: blur(18px);
  animation: drift 60s linear infinite;
}
.stage::after { /* grain */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.22; mix-blend-mode: overlay; pointer-events: none;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift { to { transform: rotate(360deg); } }

/* bleed to the screen edge on the visual's side */
/* panels sit inside the page, not against the screen edge */
.stage { border-radius: 16px; }

.duo { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(16px, 3vw, 48px); align-items: center; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 36px); align-items: start; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr); gap: clamp(16px, 2.4vw, 36px); align-items: center; }

.card-shot { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.card-shot img {
  width: 100%;
  border-radius: 12px; border: 1px solid var(--hair-2);
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.85);
  transition: transform 0.7s var(--ease-soft), box-shadow 0.7s var(--ease-soft);
}
.card-shot:hover img { transform: translateY(-6px); box-shadow: 0 40px 80px -25px rgba(0, 0, 0, 0.9); }
.card-shot.tall img { max-width: 300px; margin: 0 auto; }
figcaption { font-size: 14px; color: var(--paper-2); display: flex; align-items: center; gap: 10px; justify-content: center; }
.step {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  font: 600 12px var(--mono); background: rgba(255, 255, 255, 0.1); color: var(--paper); border: 1px solid var(--hair-2);
}

/* chips */
.tags, .agents { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--paper-2); padding: 5px 13px; border: 1px solid var(--hair); border-radius: 999px; }
.tags i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.agents li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--paper-2); padding: 5px 12px 5px 5px; border: 1px solid var(--hair); border-radius: 999px; transition: border-color 0.3s, color 0.3s; }
.agents li:hover { border-color: var(--hair-2); color: var(--paper); }
.agents b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 11px; color: #fff; background: var(--c); }

/* workflow tabs: a sliding pill, and screens that crossfade */
.tabs { position: relative; display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 22px; padding: 4px; width: fit-content; max-width: 100%; border-radius: 12px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--hair); }
.tabs button {
  position: relative; z-index: 1;
  border: 0; background: none; color: var(--paper-2); font: 500 13.5px var(--sans);
  padding: 7px 14px; border-radius: 9px; cursor: pointer; transition: color 0.35s;
}
.tabs button:hover, .tabs button[aria-selected='true'] { color: var(--paper); }
.tab-ind {
  position: absolute; z-index: 0; left: 0; top: 4px; height: calc(100% - 8px); width: 0; border-radius: 9px;
  background: rgba(255, 255, 255, 0.13);
  transition: transform 0.55s var(--ease-soft), width 0.55s var(--ease-soft);
}
.swap { display: grid; }
.swap img { grid-area: 1 / 1; opacity: 0; transform: scale(1.015); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease-soft); }
.swap img.on { opacity: 1; transform: none; }

/* video */
.stage-wide { padding: clamp(14px, 2.6vw, 48px); }
.video-wrap { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--hair-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9); background: #000; }
.video-wrap video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  border: 0; background: radial-gradient(circle, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.55)); color: #fff; cursor: pointer;
  transition: opacity 0.5s var(--ease);
}
.play-ring {
  display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95); color: #0b0b0d;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.14), 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s var(--ease-soft), box-shadow 0.6s var(--ease-soft);
  animation: breathe 3s ease-in-out infinite;
}
@keyframes breathe { 50% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.07), 0 20px 50px rgba(0, 0, 0, 0.5); } }
.play-ring svg { width: 36px; height: 36px; margin-left: 4px; }
.play:hover .play-ring { transform: scale(1.08); }
.play-label { font-weight: 600; font-size: 15px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }
.play-label .mono { color: rgba(255, 255, 255, 0.75); margin-left: 6px; }
.video-wrap.playing .play { opacity: 0; pointer-events: none; }

/* final */
.final { position: relative; margin-top: clamp(110px, 14vh, 170px); padding: clamp(70px, 10vh, 110px) var(--pad); text-align: center; overflow: hidden; border-top: 1px solid var(--hair); }
.final-glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 60% at 50% 100%, rgba(95, 143, 232, 0.35), transparent 70%),
    radial-gradient(60% 40% at 50% 0%, rgba(58, 99, 189, 0.12), transparent 70%);
}
.final .cat.big { margin: 0 auto 30px; filter: drop-shadow(0 12px 24px rgba(95, 143, 232, 0.5)); }
.final h2 { font-size: clamp(30px, 3.6vw, 50px); letter-spacing: -0.035em; }
.final p { color: var(--paper-2); margin: 14px 0 0; font-size: clamp(15px, 1.05vw, 16.5px); }
.final .cta { justify-content: center; }

.foot { border-top: 1px solid var(--hair); }
.foot-in { padding-block: 26px; display: flex; align-items: center; gap: 24px; font-size: 13px; color: var(--paper-3); }
.foot-in a { margin-left: auto; color: var(--paper-2); }
.foot-in a:hover { color: var(--paper); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px;
  background: rgba(5, 5, 7, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out; opacity: 0; transition: opacity 0.45s var(--ease);
}
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1600px, 100%); max-height: 92vh; width: auto; border-radius: 12px; border: 1px solid var(--hair-2); transform: scale(0.94); transition: transform 0.6s var(--ease-soft); }
.lightbox.open img { transform: scale(1); }

/* ---------- motion: load-in for the hero, soft blur-up reveals for the rest ---------- */
.rise { animation: rise 1.2s var(--ease-soft) both; }
.hero-l .rise:nth-child(2) { animation-delay: 0.08s; }
.hero-r .rise:nth-child(1) { animation-delay: 0.18s; }
.hero-r .rise:nth-child(2) { animation-delay: 0.26s; }
.hero-r .rise:nth-child(3) { animation-delay: 0.32s; }
.hero-shot.rise { animation-delay: 0.38s; animation-duration: 1.6s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }

.reveal {
  opacity: 0; transform: translateY(14px); filter: blur(3px);
  transition: opacity 0.9s var(--ease-soft) var(--d, 0s), transform 0.9s var(--ease-soft) var(--d, 0s), filter 0.9s var(--ease-soft) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero-grid, .demo-head { grid-template-columns: 1fr; align-items: start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .feature, .feature.flip { grid-template-columns: 1fr; padding: 0 var(--pad); gap: 36px; }
  .feature.flip .f-text { order: 0; }
  .f-text { position: static; padding-top: 0; }
  .feature .stage.bleed { border-radius: 22px !important; border: 1px solid rgba(143, 178, 242, 0.16) !important; padding: clamp(14px, 3.6vw, 40px) !important; }
}
@media (max-width: 720px) {
  .duo, .split { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .split .side { max-width: 380px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .steps { border-top: 0; }
  .steps li, .steps li + li { border-left: 0; padding-left: 0; padding-bottom: 22px; border-top: 1px solid var(--hair); }
  .works { flex-direction: column; align-items: flex-start; gap: 14px; padding-right: 0; }
  .marquee { width: 100%; }
}
@media (max-width: 520px) {
  .nav-in { gap: 12px; }
  .hero-r .btn { width: 100%; justify-content: center; }
  .final .btn { width: 100%; justify-content: center; }
  .stage, .feature .stage.bleed { border-radius: 14px !important; padding: 10px !important; }
  .tabs { margin-bottom: 10px; }
  .tabs button { padding: 6px 10px; font-size: 12.5px; }
  .play-ring { width: 64px; height: 64px; }
  .foot-in { flex-wrap: wrap; gap: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .tilt, .stage, [data-drift] { transform: none !important; }
}

/* ---------- voice-first additions ---------- */
.link { color: var(--paper); text-decoration: underline; text-decoration-color: rgba(143, 178, 242, 0.5); text-underline-offset: 3px; transition: text-decoration-color 0.25s; }
.link:hover { text-decoration-color: var(--cat-l); }
.lede b { color: var(--paper); font-weight: 600; }

a.pill { transition: border-color 0.3s, background 0.3s; }
a.pill:hover { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); }
.pill img { border-radius: 5px; }
.pill-arrow { color: var(--paper-3); transition: transform 0.35s var(--ease-soft); }
a.pill:hover .pill-arrow { transform: translateX(3px); }

/* the real Ctrl+Space box, floating over the hero board */
.tilt-scene { position: relative; }
.hero-say {
  position: absolute; left: -2%; bottom: -7%; width: min(46%, 440px); margin: 0; z-index: 2;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 24px 60px -12px rgba(0, 0, 0, 0.85), 0 0 60px -10px rgba(95, 143, 232, 0.35);
  animation: say-float 6s ease-in-out infinite alternate;
}
.hero-say img { width: 100%; }
@keyframes say-float { to { transform: translateY(-6px); } }

.marquee li { display: inline-flex; align-items: center; gap: 7px; }
.marquee li img { border-radius: 4px; }

.voice-steps { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.voice-steps li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--paper-2); }

.wispr {
  display: flex; align-items: center; gap: 12px; width: fit-content; margin-top: 24px; padding: 10px 16px 10px 10px;
  border-radius: 12px; border: 1px solid var(--hair-2); background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, background 0.3s, transform 0.45s var(--ease-soft);
}
.wispr:hover { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }
.wispr > img { border-radius: 9px; }
.wispr span { display: flex; flex-direction: column; gap: 2px; }
.wispr b { font-size: 14.5px; font-weight: 600; color: var(--paper); }
.wispr small { font-size: 12.5px; color: var(--paper-3); }
.f-text .fine { margin-top: 12px; }

.kinds { margin-top: clamp(100px, 13vh, 160px); }
.kinds-head { max-width: 640px; margin-bottom: 30px; }
.kind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.kind {
  display: flex; flex-direction: column; border-radius: 16px; overflow: hidden;
  background: var(--ink-1); border: 1px solid var(--hair);
  transition: border-color 0.35s, transform 0.55s var(--ease-soft), box-shadow 0.55s var(--ease-soft);
}
.kind:hover { border-color: var(--hair-2); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.kind-shot {
  height: 168px; overflow: hidden; padding: 16px 16px 0;
  background:
    radial-gradient(80% 90% at 20% 0%, rgba(143, 178, 242, 0.28), transparent 60%),
    linear-gradient(160deg, #1b2b4d, #0f1a33 60%, #0b1326);
}
.kind-shot img { width: 100%; border-radius: 8px 8px 0 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); transition: transform 0.8s var(--ease-soft); transform-origin: 50% 0; }
.kind:hover .kind-shot img { transform: scale(1.03); }
.kind-body { flex: 1; display: flex; flex-direction: column; padding: 18px 18px 20px; }
.kind-tag { width: fit-content; font: 500 11.5px var(--mono); color: var(--cat-l); padding: 3px 9px; border-radius: 999px; background: rgba(95, 143, 232, 0.12); }
.kind h3 { margin: 12px 0 6px; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.kind p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--paper-2); }
.kind q {
  display: block; margin-top: auto; padding-top: 14px; font: 400 12.5px var(--mono); color: var(--paper);
  quotes: '“' '”';
}
.kind q::before { content: '🎙 '; font-family: var(--sans); }

.mini-shot { margin: 24px 0 0; }
.mini-shot img { width: 100%; border-radius: 10px; border: 1px solid var(--hair-2); box-shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.9); cursor: zoom-in; }
.mini-shot figcaption { justify-content: flex-start; margin-top: 10px; font-size: 13px; color: var(--paper-3); }

.say { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.say li { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--hair); color: var(--paper-2); background: rgba(255, 255, 255, 0.02); }

@media (max-width: 1100px) {
  .kind-grid { grid-template-columns: 1fr; max-width: 560px; }
  .hero-say { left: 2%; bottom: -10%; width: 58%; }
}
@media (max-width: 520px) {
  .hero-say { position: static; width: 100%; margin-top: 12px; animation: none; }
  .wispr { width: 100%; }
}

/* ---------- powered by Switch ---------- */
.hero-l .pill { margin-right: 8px; }

.sw { margin-top: clamp(100px, 13vh, 160px); }
.sw-head { max-width: 640px; }
.sw-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 8px 18px 8px 8px;
  border-radius: 14px; border: 1px solid var(--hair-2); background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, background 0.3s, transform 0.45s var(--ease-soft);
}
.sw-badge:hover { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }
.sw-badge img { border-radius: 10px; }
.sw-badge span { display: flex; flex-direction: column; line-height: 1.2; }
.sw-badge small { font: 500 11px var(--mono); color: var(--paper-3); text-transform: uppercase; letter-spacing: 0.08em; }
.sw-badge b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }

/* You → Oggy → Switch → agents */
.sw-flow { display: grid; grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr; align-items: stretch; margin-top: 40px; }
.sw-node {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 18px;
  border-radius: 14px; background: var(--ink-1); border: 1px solid var(--hair);
}
.sw-node b { font-size: 15px; font-weight: 500; }
.sw-node small { font-size: 12.5px; line-height: 1.5; color: var(--paper-3); }
.sw-k { font: 500 11px var(--mono); color: var(--paper-3); text-transform: uppercase; letter-spacing: 0.08em; }
.sw-node.is-oggy { border-color: rgba(143, 178, 242, 0.3); background: linear-gradient(160deg, rgba(95, 143, 232, 0.12), var(--ink-1) 70%); }
.sw-node.is-switch { border-color: rgba(167, 214, 224, 0.32); background: linear-gradient(160deg, rgba(167, 214, 224, 0.1), var(--ink-1) 70%); }
.sw-node.is-switch img { position: absolute; top: 14px; right: 14px; border-radius: 6px; }
.sw-arrow { align-self: center; height: 1px; background: linear-gradient(90deg, var(--hair-2), var(--cat-l)); position: relative; }
.sw-arrow::after { content: ''; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left: 5px solid var(--cat-l); }

.sw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.sw-card { padding: 18px 18px 20px; border-radius: 14px; background: var(--ink-1); border: 1px solid var(--hair); transition: border-color 0.35s; }
.sw-card:hover { border-color: var(--hair-2); }
.sw-n { font: 500 12px var(--mono); color: var(--cat-l); }
.sw-card h3 { margin: 10px 0 6px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.sw-card p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--paper-2); }

.sw-proof { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: 40px; }
.sw-proof .stage { margin: 0; display: grid; place-items: center; }
.sw-shot { width: 100%; max-width: 360px; border-radius: 12px; border: 1px solid var(--hair-2); box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.85); cursor: zoom-in; }
.sw-proof-text h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.sw-proof-text p { margin: 0; color: var(--paper-2); line-height: 1.65; max-width: 460px; }
.sw-links { justify-content: flex-start; margin-top: 22px; }
.sw-links .btn img { border-radius: 4px; }

@media (max-width: 1100px) {
  .sw-flow { grid-template-columns: 1fr; gap: 0; }
  .sw-arrow { width: 1px; height: 22px; justify-self: center; background: linear-gradient(180deg, var(--hair-2), var(--cat-l)); }
  .sw-arrow::after { right: -3px; top: auto; bottom: -1px; border: 3.5px solid transparent; border-top: 5px solid var(--cat-l); }
  .sw-grid { grid-template-columns: 1fr 1fr; }
  .sw-proof { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sw-grid { grid-template-columns: 1fr; }
}
