/* ───────────── Tokens (mirrors the VXOS founder console) ───────────── */
:root {
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --wrap: 1240px;
  --nav-h: 72px;
}

html[data-theme="dark"],
.band-dark {
  --bg: #0f0e0d;
  --bg-2: #141312;
  --paper: #1a1917;
  --paper-2: #1f1e1b;
  --panel: #232220;
  --stone: #2e2c28;
  --ink: #ecebe5;
  --ink-2: #cdcabf;
  --mute: #9a9581;
  --mute-2: #77725f;
  --line: rgba(236, 235, 229, 0.14);
  --line-2: rgba(236, 235, 229, 0.08);
  --moss: #9fb382;
  --moss-soft: #28311f;
  --ochre: #d2aa62;
  --ochre-soft: #372b17;
  --rust: #d38d71;
  --btn-bg: #ecebe5;
  --btn-fg: #1a1917;
  --shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.75);
  --glow: rgba(159, 179, 130, 0.18);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f0eee8;
  --bg-2: #efede6;
  --paper: #fbfaf7;
  --paper-2: #f6f4ef;
  --panel: #efede6;
  --stone: #e7e4dc;
  --ink: #1b1a17;
  --ink-2: #3d3b35;
  --mute: #857f6d;
  --mute-2: #aaa593;
  --line: rgba(27, 26, 23, 0.13);
  --line-2: rgba(27, 26, 23, 0.075);
  --moss: #4d5c3a;
  --moss-soft: #e8ecdf;
  --ochre: #8a6a2f;
  --ochre-soft: #f4ebd8;
  --rust: #8a4630;
  --btn-bg: #1b1a17;
  --btn-fg: #fbfaf7;
  --shadow: 0 40px 100px -40px rgba(27, 26, 23, 0.35);
  --glow: rgba(77, 92, 58, 0.14);
  color-scheme: light;
}

html[data-theme="light"] .band-dark {
  --bg: #1d1c19;
  --bg-2: #22211e;
}

/* ───────────── Base ───────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease);
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--moss); color: var(--bg); }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.dim { color: var(--mute); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow-live { color: #4fd1a1; }

.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144;
}
.h2 em, .hero-title em, .cta-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--moss);
}
.lead { max-width: 560px; margin: 22px 0 0; color: var(--ink-2); font-size: 18px; line-height: 1.6; }

.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4fd1a1;
  box-shadow: 0 0 0 0 rgba(79, 209, 161, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 209, 161, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(79, 209, 161, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 209, 161, 0); }
}

.chip {
  display: inline-flex; align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px; font-weight: 500;
  background: var(--stone);
  color: var(--ink-2);
  border: 1px solid var(--line-2);
}
.chip-moss { background: var(--moss-soft); color: var(--moss); }
.chip-ochre { background: var(--ochre-soft); color: var(--ochre); }

.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--moss-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--moss) 40%, transparent);
}
.ticks li::after {
  content: ""; position: absolute; left: 5px; top: 9px;
  width: 6px; height: 3.5px;
  border-left: 1.5px solid var(--moss); border-bottom: 1.5px solid var(--moss);
  transform: rotate(-45deg);
}

/* ───────────── Buttons ───────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 42px; padding: 0 18px;
  border-radius: 10px;
  font-size: 14px; font-weight: 500;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-solid { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--ink) 50%, transparent); }
.btn-solid:hover { box-shadow: 0 18px 40px -14px color-mix(in srgb, var(--moss) 70%, transparent); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: color-mix(in srgb, var(--paper) 40%, transparent); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.btn-lg { height: 54px; padding: 0 26px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; height: 48px; }
.btn-xl { height: 64px; padding: 0 34px; font-size: 17px; border-radius: 16px; }
.btn-xl svg { width: 20px; height: 20px; }
.cta-btn { margin-top: 44px; }

/* ───────────── Loader ───────────── */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: #0f0e0d; color: #ecebe5;
}
.loader-inner { width: min(360px, 80vw); }
.loader-mark {
  margin-bottom: 24px;
  font-family: var(--display); font-weight: 400; font-size: 56px; line-height: 1; letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144;
  animation: markpulse 2.4s var(--ease-io) infinite;
}
@keyframes markpulse { 0%, 100% { opacity: 1; letter-spacing: -0.03em; } 50% { opacity: 0.6; letter-spacing: 0.02em; } }
.loader-meta { display: flex; justify-content: space-between; color: #9a9581; margin-bottom: 12px; }
.loader-count b { color: #ecebe5; font-weight: 500; }
.loader-bar { height: 2px; background: rgba(236, 235, 229, 0.12); overflow: hidden; border-radius: 2px; }
.loader-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #9fb382, #d2aa62); transform-origin: left; transform: scaleX(0); }

/* ───────────── Grain + cursor ───────────── */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
html[data-theme="light"] .grain { opacity: 0.07; }
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5%, 4%); }
  40% { transform: translate(3%, -6%); }
  60% { transform: translate(-4%, -2%); }
  80% { transform: translate(5%, 5%); }
}

.cursor { position: fixed; top: 0; left: 0; z-index: 95; pointer-events: none; mix-blend-mode: difference; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: grid; place-items: center;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background-color 0.3s, border-color 0.3s;
}
.cursor-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity 0.3s; }
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 255, 255, 0.12); }
.cursor.is-label .cursor-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: #fff; border-color: #fff; }
.cursor.is-label .cursor-label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ───────────── Nav ───────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 max(24px, calc((100vw - var(--wrap)) / 2));
  transition: background-color 0.5s var(--ease), border-color 0.5s, transform 0.6s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line-2);
}
.nav.is-hidden { transform: translateY(-100%); }

.brand { display: inline-grid; line-height: 1.05; }
.brand-name {
  font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  transition: letter-spacing 0.6s var(--ease);
}
.brand-name:hover { letter-spacing: 0.02em; }
.brand-by { justify-self: start; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--mute); text-transform: uppercase; transition: color 0.3s; }
.brand-by:hover { color: var(--moss); }

.nav-links { display: flex; gap: 6px; padding: 5px; border-radius: 12px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--paper) 50%, transparent); backdrop-filter: blur(12px); }
.nav-links a { position: relative; padding: 7px 14px; border-radius: 8px; font-size: 14px; color: var(--ink-2); transition: color 0.3s, background-color 0.3s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); background: var(--stone); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  position: relative; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); display: grid; place-items: center;
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.theme-toggle:hover { transform: rotate(20deg); border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.theme-toggle svg { width: 18px; height: 18px; position: absolute; transition: transform 0.6s var(--ease), opacity 0.4s; }
html[data-theme="dark"] .i-moon, html[data-theme="light"] .i-sun { opacity: 0; transform: rotate(-90deg) scale(0.5); }

.nav-burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); position: relative; }
.nav-burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease); }
.nav-burger i:first-child { top: 16px; }
.nav-burger i:last-child { top: 24px; }
body.menu-open .nav-burger i:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .nav-burger i:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 32px;
  background: var(--bg);
  clip-path: circle(0 at calc(100% - 45px) 36px);
  transition: clip-path 0.8s var(--ease);
}
.mobile-menu a { font-family: var(--display); font-size: 44px; line-height: 1.15; letter-spacing: -0.02em; }
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 45px) 36px); }

/* ───────────── Hero ───────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 60% at 75% 45%, var(--glow), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, color-mix(in srgb, var(--ochre) 10%, transparent), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.6;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-labels { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.node-label {
  position: absolute; top: 0; left: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px 6px 8px;
  border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  opacity: 0;
  will-change: transform, opacity;
}
.node-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 12px var(--moss); }
.node-label[data-node="1"] i { background: var(--ochre); box-shadow: 0 0 12px var(--ochre); }
.node-label[data-node="2"] i { background: var(--rust); box-shadow: 0 0 12px var(--rust); }

.hero-content { position: relative; z-index: 2; }
.hero-title {
  margin: 0;
  max-width: 900px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 8.4vw, 124px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144;
}
.hero-sub { max-width: 560px; margin: 30px 0 0; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); }
.hero-sub b { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 48px 0 0; }
.hero-stats li {
  min-width: 150px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 12px;
  background: color-mix(in srgb, var(--paper) 55%, transparent);
  backdrop-filter: blur(10px);
}
.hero-stats b { display: block; font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.2; }
.hero-stats span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; color: var(--mute); z-index: 2; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--mute), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--ink); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { to { top: 120%; } }

/* split text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.wi { display: inline-block; will-change: transform; }

/* ───────────── Showcase ───────────── */
.showcase { position: relative; padding: 40px 0 140px; perspective: 1800px; }
.showcase-stage { position: relative; width: min(1180px, 100% - 48px); margin: 0 auto; transform-style: preserve-3d; }

.browser {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 0 1px var(--line-2);
  transform-origin: 50% 0;
  will-change: transform;
}
.browser-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 42px; padding: 0 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-2);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--stone); }
.dots i:nth-child(1) { background: #ec6a5e; }
.dots i:nth-child(2) { background: #f4bf4f; }
.dots i:nth-child(3) { background: #61c554; }
.url {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 8px;
  background: var(--bg-2); color: var(--mute);
  font-size: 11px; letter-spacing: 0.06em; text-transform: none;
}
.url svg { width: 11px; height: 11px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #4fd1a1; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #4fd1a1; animation: pulse 2s infinite; }
.browser-shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.browser-glare {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.08) 45%, transparent 60%);
  transform: translateX(var(--gx, -60%));
}

.float-card {
  position: absolute; z-index: 3;
  padding: 14px 16px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  will-change: transform;
}
.fc-k { margin: 0 0 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.fc-v { margin: 0; font-family: var(--display); font-size: 34px; line-height: 1; }
.fc-v span { font-size: 16px; color: var(--mute); margin-left: 3px; }
.fc-t { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.4; }
.fc-score { top: 18%; left: -5%; width: 200px; }
.fc-bars { display: grid; gap: 5px; margin-top: 12px; }
.fc-bars i { display: block; height: 7px; border-radius: 3px; background: var(--c); width: var(--w); transform-origin: left; }
.fc-pitch { top: -5%; right: 7%; width: 240px; }
.fc-progress { height: 5px; margin: 12px 0; border-radius: 3px; background: var(--stone); overflow: hidden; }
.fc-progress i { display: block; height: 100%; width: 100%; background: var(--moss); transform-origin: left; }
.fc-chat { bottom: 14%; right: -4%; width: 280px; display: flex; gap: 12px; align-items: flex-start; }
.avatar { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #1b1a17; color: #ecebe5; font-family: var(--display); font-size: 12px; }
.fc-nrr { bottom: -6%; left: 10%; width: 210px; }
.spark { width: 100%; height: 36px; margin-top: 8px; }
.spark path { fill: none; stroke: #3fbf8c; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 160; stroke-dashoffset: 160; }

.showcase-copy { margin-top: 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.showcase-copy .eyebrow { grid-column: 1 / -1; margin-bottom: -18px; }
.showcase-copy .lead { margin: 0; justify-self: end; }

/* ───────────── Marquee ───────────── */
.marquee {
  position: relative; overflow: hidden;
  padding: 28px 0;
  background: var(--bg);
  color: var(--ink);
  border-block: 1px solid var(--line-2);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; will-change: transform; }
.marquee-row { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee span { font-family: var(--display); font-size: clamp(30px, 4.2vw, 58px); font-weight: 300; letter-spacing: -0.02em; white-space: nowrap; }
.marquee span:nth-child(4n + 1) { font-style: italic; color: var(--moss); }
.marquee i { font-style: normal; color: var(--ochre); font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────────── Loop ───────────── */
.loop { position: relative; }
.loop-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 80px; overflow: hidden; }
.loop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 60px; }
.loop-head .h2 { max-width: 760px; }
.loop-progress { display: flex; align-items: center; gap: 14px; color: var(--mute); }
.loop-step-now { color: var(--ink); }
.loop-line { width: 160px; height: 1px; background: var(--line); position: relative; }
.loop-line i { position: absolute; inset: 0; background: var(--moss); transform-origin: left; transform: scaleX(0); }

.loop-track { display: flex; gap: 22px; padding-left: max(24px, calc((100vw - var(--wrap)) / 2)); padding-right: 24px; width: max-content; will-change: transform; }
.step {
  position: relative;
  width: clamp(300px, 30vw, 400px);
  padding: 26px;
  border-radius: var(--r-xl);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.step:hover { border-color: color-mix(in srgb, var(--moss) 60%, transparent); transform: translateY(-6px); }
.step-n { color: var(--mute); }
.step h3 { margin: 22px 0 8px; font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.step-art {
  position: relative; height: 190px; margin-top: 18px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  overflow: hidden;
  display: grid; place-items: center;
}

.art-upload .doc { position: relative; width: 84px; height: 108px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); padding: 16px 12px; display: grid; align-content: start; gap: 7px; animation: bob 3s var(--ease-io) infinite; }
.art-upload .doc i { height: 5px; border-radius: 3px; background: var(--stone); }
.art-upload .doc i:nth-child(2) { width: 70%; }
.art-upload .doc b { position: absolute; bottom: 10px; left: 12px; font-family: var(--mono); font-size: 10px; color: var(--rust); }
.art-upload .beam { position: absolute; left: 0; right: 0; height: 40px; top: -40px; background: linear-gradient(transparent, color-mix(in srgb, var(--moss) 30%, transparent), transparent); animation: beam 2.6s var(--ease-io) infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-2deg); } }
@keyframes beam { to { top: 100%; } }

.art-extract { place-items: stretch; align-content: center; padding: 18px; gap: 8px; }
.art-extract .row { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); opacity: 0.25; transform: translateX(-10px); transition: all 0.6s var(--ease); }
.art-extract .row em { font-style: normal; font-size: 10px; padding: 2px 7px; border-radius: 5px; background: var(--moss-soft); color: var(--moss); }
.step.is-in .art-extract .row { opacity: 1; transform: none; }
.step.is-in .art-extract .row:nth-child(2) { transition-delay: 0.15s; }
.step.is-in .art-extract .row:nth-child(3) { transition-delay: 0.3s; }
.step.is-in .art-extract .row:nth-child(4) { transition-delay: 0.45s; }

.art-score { grid-template-columns: auto auto; gap: 28px; }
.art-score .ring { position: relative; width: 120px; height: 120px; }
.art-score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.art-score circle { fill: none; stroke: var(--stone); stroke-width: 7; }
.art-score .arc { stroke: var(--moss); stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; transition: stroke-dashoffset 1.6s var(--ease); }
.step.is-in .art-score .arc { stroke-dashoffset: 111; }
.art-score b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 34px; font-weight: 400; }
.art-score ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }

.art-publish { grid-auto-flow: column; gap: 8px; }
.art-publish .pill { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--mute); }
.art-publish .pill.on { background: var(--moss); color: var(--bg); border-color: var(--moss); box-shadow: 0 0 30px color-mix(in srgb, var(--moss) 50%, transparent); animation: glowp 2s infinite; }
.art-publish .arrow { color: var(--mute-2); }
@keyframes glowp { 50% { box-shadow: 0 0 10px color-mix(in srgb, var(--moss) 20%, transparent); } }

.art-match svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-match path { stroke: var(--line); stroke-width: 1; stroke-dasharray: 4 4; fill: none; animation: dash 1.5s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -16; } }
.m-node { position: absolute; z-index: 1; padding: 5px 10px; border-radius: 8px; font-size: 11px; background: var(--paper); border: 1px solid var(--line); white-space: nowrap; }
.m-node.a { left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--btn-bg); color: var(--btn-fg); }
.m-node.b { left: 6%; top: 10%; }
.m-node.c { right: 6%; top: 12%; }
.m-node.d { right: 8%; bottom: 10%; background: var(--moss-soft); color: var(--moss); }

.art-close { place-items: stretch; align-content: center; padding: 16px; gap: 8px; }
.bubble { max-width: 78%; padding: 8px 12px; border-radius: 12px; font-size: 12.5px; background: var(--paper); border: 1px solid var(--line-2); }
.bubble.r { justify-self: end; background: var(--btn-bg); color: var(--btn-fg); }

/* ───────────── Product ───────────── */
.product { padding: 160px 0 120px; }
.product-head { margin-bottom: 80px; }
.product-head .h2 { max-width: 820px; }
.product-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
.feat { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.6s var(--ease); }
.feat.is-active { opacity: 1; }
.feat-n { color: var(--moss); }
.feat h3 { margin: 16px 0 14px; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.feat p { margin: 0; color: var(--ink-2); font-size: 17px; }
.feat-m { display: none; }

.feat-stage { position: relative; }
.feat-frame {
  position: sticky; top: calc(50vh - min(30vw, 330px) / 1.6 - 40px);
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.feat-count { font-size: 11px; color: var(--mute); }
.feat-count b { color: var(--ink); font-weight: 500; }
.feat-shots { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.feat-shots img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  opacity: 0; transform: scale(1.06); filter: blur(8px);
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.7s var(--ease), transform 1.1s var(--ease), filter 0.8s var(--ease), clip-path 0.9s var(--ease);
}
.feat-shots img.is-active { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0); }
.feat-bar { height: 2px; background: var(--line-2); }
.feat-bar i { display: block; height: 100%; background: var(--moss); transform-origin: left; transform: scaleX(0.125); transition: transform 0.8s var(--ease); }

/* ───────────── Pitch room ───────────── */
.pitch { position: relative; overflow: hidden; padding: 160px 0; background: var(--bg); color: var(--ink); }
.pitch-glow {
  position: absolute; width: 900px; height: 900px; right: -200px; top: 50%; transform: translateY(-50%);
  background: conic-gradient(from 90deg, rgba(63, 191, 140, 0.18), rgba(233, 162, 59, 0.14), rgba(63, 198, 230, 0.16), rgba(169, 140, 240, 0.18), rgba(63, 191, 140, 0.18));
  filter: blur(120px); border-radius: 50%;
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.pitch-grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
.partner {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line);
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.partner:hover { border-color: var(--pc); transform: translateY(-3px); }
.partner > span {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; color: var(--pc);
  border: 1px solid color-mix(in srgb, var(--pc) 50%, transparent);
  background: color-mix(in srgb, var(--pc) 12%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--pc) 25%, transparent);
}
.partner b { display: block; font-size: 14px; }
.partner small { color: var(--mute); font-size: 12px; }
.pitch-media { position: relative; border-radius: var(--r-lg); overflow: visible; }
.pitch-media img { border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.wave { position: absolute; z-index: 2; left: 24px; bottom: -22px; display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.wave i { width: 3px; height: 8px; border-radius: 2px; background: #4fd1a1; animation: wave 1.1s var(--ease-io) infinite; }
.wave i:nth-child(odd) { animation-duration: 0.9s; }
.wave i:nth-child(3n) { animation-duration: 1.3s; background: var(--ochre); }
.wave i:nth-child(2) { animation-delay: -0.2s; } .wave i:nth-child(4) { animation-delay: -0.5s; } .wave i:nth-child(5) { animation-delay: -0.1s; }
.wave i:nth-child(7) { animation-delay: -0.7s; } .wave i:nth-child(8) { animation-delay: -0.3s; } .wave i:nth-child(10) { animation-delay: -0.6s; }
@keyframes wave { 50% { height: 26px; } }

/* ───────────── Agents ───────────── */
.agents { padding: 160px 0 120px; }
.agents-head { margin-bottom: 60px; }
.agents-head .h2 { max-width: 780px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  padding: 24px; border-radius: var(--r-xl);
  background: var(--paper); border: 1px solid var(--line);
  transition: border-color 0.4s, transform 0.6s var(--ease);
  isolation: isolate;
}
.card::before, .plan::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--moss) 16%, transparent), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover::before, .plan:hover::before { opacity: 1; }
.card:hover { border-color: color-mix(in srgb, var(--moss) 45%, transparent); }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.ag-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--moss-soft); color: var(--moss); border: 1px solid color-mix(in srgb, var(--moss) 30%, transparent); font-family: var(--mono); font-size: 12px; font-weight: 500; }
.card h3 { margin: 22px 0 6px; font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.card img { margin-top: 20px; border-radius: 12px; border: 1px solid var(--line); transition: transform 0.8s var(--ease); transform-origin: top left; }
.card:hover img { transform: scale(1.04) translateY(-4px); }

.card { display: flex; flex-direction: column; }
.card-vrox, .card-eval, .card-lead, .card-board { grid-column: span 2; }
.card-lead img, .card-board img { margin-top: auto; }
.card-lead p, .card-board p { margin-bottom: 20px; }
.card-small { min-height: 230px; }
.card-small h3 { margin-top: 40px; }
.chat { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }
.msg { display: flex; }
.msg span { max-width: 82%; padding: 11px 14px; border-radius: 14px; font-size: 14px; }
.msg.bot span { background: #1b1a17; color: #ecebe5; border-top-left-radius: 4px; }
html[data-theme="dark"] .msg.bot span { background: var(--stone); }
.msg.me { justify-content: flex-end; }
.msg.me span { background: var(--stone); border-top-right-radius: 4px; }
html[data-theme="dark"] .msg.me span { background: var(--moss-soft); color: var(--ink); }
.typing span { display: inline-flex; gap: 5px; padding: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 30% { transform: translateY(-4px); opacity: 1; } }
.chat .msg { opacity: 0; transform: translateY(12px); }

.eval { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.eval li { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--mute); }
.eval i { display: block; height: 10px; border-radius: 4px; background: var(--c); width: var(--w); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.card-eval.is-in .eval i { transform: scaleX(1); }
.eval li:nth-child(n) i { transition-delay: calc(var(--i, 0) * 0.08s); }

/* ───────────── Gallery ───────────── */
.gallery { position: relative; background: var(--bg); color: var(--ink); }
.gallery-pin { position: relative; height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.has-motion .gallery { height: calc(100svh + 240vh); }
.has-motion .gallery-pin { position: sticky; top: 0; }
.gallery-head { padding-top: calc(var(--nav-h) + 30px); position: relative; z-index: 2; text-align: center; }
.gallery-head .eyebrow { justify-content: center; }
.gallery-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.gallery-canvas:active { cursor: grabbing; }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 20px; pointer-events: none; }
.gallery-caption > div { text-align: center; display: grid; }
.gallery-title { font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: -0.01em; }
.gallery-desc { color: var(--mute); font-size: 14px; }
.gallery-fallback { position: relative; z-index: 1; flex: 1; min-height: 0; margin: 36px 0 130px; }
.gf-track { position: absolute; top: 0; bottom: 0; left: 50%; display: flex; align-items: center; gap: 28px; will-change: transform; }
.gf-card {
  flex: none;
  height: min(100%, calc(84vw / 1.6));
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  will-change: transform, opacity;
}
.gf-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ───────────── Roles ───────────── */
.roles { padding: 160px 0 120px; }
.roles-head { margin-bottom: 48px; }
.roles-head .h2 { max-width: 820px; }
.tabs { position: relative; display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); margin-bottom: 36px; }
.tab { position: relative; z-index: 1; padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--mute); transition: color 0.3s; }
.tab.is-active { color: var(--btn-fg); }
.tab-ink { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 10px; background: var(--btn-bg); transition: transform 0.6s var(--ease), width 0.6s var(--ease); }
.panels { position: relative; display: grid; }
.panel {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center;
  padding: 36px; border-radius: var(--r-xl);
  background: var(--paper); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), visibility 0.6s;
}
.panel.is-active { opacity: 1; visibility: visible; transform: none; }
.panel h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; line-height: 1.1; }
.panel p { margin: 0; color: var(--ink-2); }
.panel img { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ───────────── Stats ───────────── */
.stats { padding: 60px 0 140px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 36px 24px 0 0; border-right: 1px solid var(--line-2); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(64px, 8vw, 120px); line-height: 1; letter-spacing: -0.04em; }
.stat span { display: block; margin-top: 14px; max-width: 220px; color: var(--mute); font-size: 15px; }

/* ───────────── Pricing ───────────── */
.pricing { padding: 60px 0 160px; }
.pricing-head { margin-bottom: 56px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 28px; border-radius: var(--r-xl);
  background: var(--paper); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.6s var(--ease), border-color 0.4s;
}
.plan:hover { transform: translateY(-8px); }
.plan-hot { border-color: color-mix(in srgb, var(--moss) 55%, transparent); box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--moss) 60%, transparent); }
.plan-badge { position: absolute; top: 24px; right: 24px; }
.plan-k { margin: 0; color: var(--mute); }
.plan-price { margin: 18px 0 6px; font-family: var(--display); font-size: 46px; line-height: 1; letter-spacing: -0.02em; }
.plan-price s { font-size: 18px; color: var(--mute-2); }
.plan-sub { margin: 0 0 4px; color: var(--ink-2); }
.plan-desc { margin: 18px 0 0; }
.plan .ticks { margin-bottom: 28px; }
.plan .btn { margin-top: auto; }

/* ───────────── Contact ───────────── */
.contact { padding: 120px 0 160px; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy { position: sticky; top: calc(var(--nav-h) + 40px); }
.contact-form { gap: 16px; padding: 32px; }
.contact-form:hover { border-color: var(--line); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: grid; gap: 8px; }
.cf-field > span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.cf-field input, .cf-field select, .cf-field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font: inherit; font-size: 15px; outline: 0;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.cf-field select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.cf-field textarea { resize: vertical; min-height: 110px; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: var(--mute-2); }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { border-color: var(--moss); box-shadow: 0 0 0 4px color-mix(in srgb, var(--moss) 18%, transparent); }
.cf-field.is-invalid input { border-color: var(--rust); }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.cf-status { margin: 0; font-size: 12px; letter-spacing: 0.04em; text-transform: none; color: var(--mute); }
.cf-status.is-error { color: var(--rust); }
.cf-status.is-ok { color: var(--moss); }
.cf-submit { height: 52px; padding: 0 26px; flex-shrink: 0; }
.cf-submit[disabled] { opacity: 0.6; pointer-events: none; }
.contact-form.is-sent .cf-row, .contact-form.is-sent > .cf-field { opacity: 0.5; pointer-events: none; }

/* ───────────── FAQ ───────────── */
.faq { padding: 140px 0 40px; }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: 21px; line-height: 1.3; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; font-family: var(--mono); font-size: 20px; color: var(--mute); transition: transform 0.4s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--moss); }
.faq-item p { margin: -8px 0 24px; max-width: 680px; color: var(--ink-2); font-size: 16px; }
.faq-item a, .cf-consent a { color: var(--ink); border-bottom: 1px solid var(--line); }
.cf-consent { margin: 0; font-size: 13px; color: var(--mute); }

/* ───────────── Legal pages ───────────── */
.page .nav { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom-color: var(--line-2); }
.legal-hero { padding: calc(var(--nav-h) + 90px) 0 56px; border-bottom: 1px solid var(--line-2); }
.crumbs { display: flex; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--mute-2); }
.crumbs a:hover { color: var(--moss); }
.legal-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: -0.035em; font-variation-settings: "opsz" 144; }
.legal-title em { color: var(--moss); font-weight: 300; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; color: var(--mute); }
.legal-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; padding: 64px 0 140px; }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; display: grid; gap: 2px; }
.toc p { margin: 0 0 12px; color: var(--mute); }
.toc a { padding: 6px 0 6px 14px; border-left: 1px solid var(--line); color: var(--mute); font-size: 14px; line-height: 1.4; transition: color 0.3s, border-color 0.3s; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--moss); }
.legal-doc { max-width: 760px; color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.legal-doc > p:first-child { margin-top: 0; font-size: 19px; color: var(--ink); }
.legal-doc section { scroll-margin-top: calc(var(--nav-h) + 24px); padding-top: 12px; }
.legal-doc h2 { margin: 44px 0 14px; font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); }
.legal-doc h3 { margin: 28px 0 8px; font-size: 17px; font-weight: 600; color: var(--ink); }
.legal-doc ul { padding-left: 20px; }
.legal-doc li { margin: 6px 0; }
.legal-doc li::marker { color: var(--moss); }
.legal-doc a { color: var(--ink); border-bottom: 1px solid color-mix(in srgb, var(--moss) 60%, transparent); }
.legal-doc a:hover { color: var(--moss); }
.legal-doc table { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: 14.5px; }
.legal-doc th, .legal-doc td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-doc th { background: var(--paper); color: var(--ink); font-weight: 600; }
.legal-card { margin: 22px 0; padding: 22px 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.legal-card p { margin: 0; }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--nav-h) 24px 60px; }
.notfound .legal-title { font-size: clamp(64px, 14vw, 180px); }
.notfound .lead { margin-inline: auto; }
.notfound .btn { margin-top: 36px; }

/* ───────────── CTA ───────────── */
.cta { position: relative; overflow: hidden; padding: 180px 0; background: var(--bg); color: var(--ink); text-align: center; }
.cta-orbs i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; animation: orb 14s var(--ease-io) infinite alternate; }
.cta-orbs i:nth-child(1) { width: 520px; height: 520px; left: -120px; top: -100px; background: #4d5c3a; }
.cta-orbs i:nth-child(2) { width: 420px; height: 420px; right: -80px; bottom: -120px; background: #8a6a2f; animation-delay: -5s; }
.cta-orbs i:nth-child(3) { width: 300px; height: 300px; left: 45%; top: 30%; background: #8a4630; opacity: 0.3; animation-delay: -9s; }
@keyframes orb { to { transform: translate(80px, -60px) scale(1.2); } }
.cta-inner { position: relative; display: grid; justify-items: center; }
.cta-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(56px, 11vw, 168px); line-height: 0.95; letter-spacing: -0.04em; font-variation-settings: "opsz" 144; }
.cta .lead { margin-inline: auto; }
.cta-form { display: flex; gap: 10px; width: min(520px, 100%); margin-top: 40px; padding: 6px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.cta-form input { flex: 1; min-width: 0; padding: 0 16px; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; }
.cta-form input::placeholder { color: var(--mute-2); }
.cta-form .btn { height: 48px; }
.cta-form.is-error { animation: shake 0.5s; border-color: var(--rust); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.cta-note { margin-top: 22px; color: var(--mute); text-transform: none; letter-spacing: 0.04em; }
.cta-note a { color: var(--ink); border-bottom: 1px solid var(--line); }

/* ───────────── Footer ───────────── */
.footer { padding: 90px 0 30px; border-top: 1px solid var(--line-2); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer-brand p { max-width: 320px; margin: 18px 0; color: var(--mute); font-size: 14px; }
.footer-base a { color: var(--ink-2); transition: color 0.3s; }
.footer-base a:hover { color: var(--moss); }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col .mono { margin: 0 0 6px; color: var(--mute); font-size: 11px; }
.footer-col a { color: var(--ink-2); font-size: 14px; transition: color 0.3s; }
.footer-col a:hover { color: var(--ink); }
.footer-big {
  margin-top: 60px;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(120px, 27vw, 420px);
  line-height: 0.8; letter-spacing: -0.06em; text-align: center;
  background: linear-gradient(180deg, var(--ink) 0%, transparent 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.12;
  user-select: none;
}
.footer-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-2); color: var(--mute); font-size: 11px; }

/* ───────────── Reveal defaults (JS adds motion) ───────────── */
[data-reveal] { will-change: transform, opacity; }

/* ───────────── Responsive ───────────── */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-lead, .card-board { grid-column: span 1; }
  .pitch-grid, .panel { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .faq { padding: 100px 0 20px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-body { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .toc { position: static; grid-template-columns: 1fr 1fr; padding: 18px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
  .toc p { grid-column: 1 / -1; }
  .contact { padding: 110px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-copy { position: static; }
  .product-grid { grid-template-columns: 1fr; }
  .feat-stage { display: none; }
  .feat { min-height: auto; opacity: 1; padding: 40px 0; border-top: 1px solid var(--line-2); }
  .feat-m { display: block; margin: 28px 0 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
  .showcase-copy { grid-template-columns: 1fr; }
  .showcase-copy .lead { justify-self: start; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .plans { grid-template-columns: 1fr; }
  .loop-progress { display: none; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .contact-form { padding: 22px; }
  .cf-row { grid-template-columns: 1fr; }
  .cf-foot { flex-direction: column-reverse; align-items: stretch; }
  .cf-submit { justify-content: center; }
  .wrap { width: calc(100% - 36px); }
  .nav { padding: 0 18px; }
  .nav-actions .btn-ghost, .nav-actions .btn-solid { display: none; }
  .nav-burger { display: block; }
  .hero { align-items: flex-end; padding-bottom: 70px; }
  .hero-canvas { opacity: 0.75; }
  .hero-title { text-shadow: 0 2px 30px color-mix(in srgb, var(--bg) 80%, transparent); }
  .node-label { display: none; }
  .hero-stats li { min-width: 0; flex: 1; }
  .scroll-cue { display: none; }
  .float-card { transform: scale(0.72); }
  .fc-score { left: -8%; top: 8%; }
  .fc-pitch { right: -6%; top: -10%; }
  .fc-chat { display: none; }
  .fc-nrr { bottom: -14%; left: 4%; }
  .bento { grid-template-columns: 1fr; }
  .card-vrox, .card-eval, .card-lead, .card-board { grid-column: auto; }
  .eval { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr; }
  .tabs { display: flex; overflow-x: auto; width: 100%; }
  .tab { flex: 1; padding: 10px 12px; }
  .panel { padding: 22px; }
  .gallery-caption { flex-direction: column; gap: 6px; bottom: 28px; }
  .gallery-hint { display: none; }
  .footer-base { flex-direction: column; }
  .step-art { height: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
