/* ═══════════════════════════════════════════════════════════════════════
   Vrux — shared landing design system
   Mirrors public/product.html (the canonical reference page) and adds the
   components the content pages (home, features, pricing, about, contact)
   need. Keep tokens/utilities in sync with product.html.
   ═══════════════════════════════════════════════════════════════════════ */

/* ───────── Tokens ───────── */
:root {
  --bg: #050605;
  --bg2: #0c0e0c;
  --surface: #141714;
  --surface2: #1b1f1b;
  --win: rgba(28, 32, 28, 0.78);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f7f2;
  --muted: #a3a8a0;
  --brand: #c6ff4d;
  --brand-fill: #c6ff4d;
  --brand-fill-strong: #b4f53c;
  --brand-soft: rgba(198, 255, 77, 0.14);
  --glow: #e3ff9e;
  --coral: #ff8a9b;
  --ok: #4ade80;
  --on-brand: #0a0d06;
  --shadow: 0 40px 120px -30px rgba(198, 255, 77, 0.35);
  --display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
:root[data-theme='light'] {
  --bg: #f8f9f5;
  --bg2: #eef1e9;
  --surface: #ffffff;
  --surface2: #f4f6ef;
  --win: rgba(255, 255, 255, 0.85);
  --line: rgba(20, 30, 10, 0.12);
  --text: #10140b;
  --muted: #5c6650;
  --brand: #3f7d00;
  --brand-fill: #c6ff4d;
  --brand-fill-strong: #b4f53c;
  --brand-soft: rgba(198, 255, 77, 0.22);
  --glow: #2f5e00;
  --coral: #e5486a;
  --ok: #0f9f66;
  --on-brand: #0a0d06;
  --shadow: 0 40px 100px -30px rgba(92, 124, 0, 0.3);
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; line-height: 1.05; font-weight: 650; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1200px, 92%); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 200; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand-fill), var(--glow)); }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand-fill); color: var(--on-brand); box-shadow: 0 8px 30px -8px var(--brand); }
.btn-primary:hover { box-shadow: 0 14px 40px -8px var(--brand); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); }
.btn-outline { border-color: var(--line); background: color-mix(in srgb, var(--surface) 55%, transparent); backdrop-filter: blur(8px); }
.btn-outline:hover { border-color: var(--brand); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ───────── Nav ───────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 68px; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: var(--bg); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; height: 68px; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo svg { width: 32px; height: 32px; color: var(--brand); }
.nav-links { display: flex; gap: 6px; margin-left: 12px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--brand-soft); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--muted); }
.icon-btn:hover { color: var(--text); background: var(--brand-soft); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-moon { display: none; }
:root[data-theme='light'] .icon-sun { display: none; }
:root[data-theme='light'] .icon-moon { display: block; }
.nav-toggle { display: none; }

/* ───────── Hero ───────── */
.hero { position: relative; padding: 148px 0 0; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 50% -5%, color-mix(in srgb, var(--brand) 38%, transparent), transparent 70%),
    radial-gradient(40% 40% at 88% 30%, color-mix(in srgb, var(--glow) 12%, transparent), transparent 70%),
    radial-gradient(45% 45% at 8% 45%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), color-mix(in srgb, var(--glow) 11%, transparent), transparent 70%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-copy { text-align: center; max-width: 980px; margin-inline: auto; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); backdrop-filter: blur(8px);
  font-size: 14px; color: var(--muted);
  opacity: 0; animation: fadein 0.8s 0.1s var(--ease) forwards;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 0 color-mix(in srgb, var(--glow) 60%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes fadein { to { opacity: 1; } }
.hero h1 { margin-top: 28px; font-size: clamp(46px, 8.6vw, 124px); font-weight: 700; font-variation-settings: 'wdth' 88; letter-spacing: -0.045em; line-height: 0.96; }
.hero h1 .line { display: block; overflow: hidden; padding: 0.06em 0 0.1em; }
.hero h1 .w { display: inline-block; transform: translateY(112%); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms + 250ms); }
@keyframes rise { to { transform: none; } }
.hero-sub { margin: 26px auto 0; max-width: 620px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); opacity: 0; animation: fadein 1s 1s var(--ease) forwards; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: fadein 1s 1.2s var(--ease) forwards; }

/* compact hero for inner pages */
.hero.is-page { padding: 156px 0 96px; }
.hero.is-page h1 { margin-top: 22px; font-size: clamp(38px, 6.4vw, 86px); }
.hero.is-page .hero-sub { margin-top: 22px; }
.hero.is-page .eyebrow { opacity: 0; animation: fadein 0.8s 0.05s var(--ease) forwards; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--brand); }

/* window stage (home hero) */
.stage { position: relative; margin: 76px auto 0; width: min(1080px, 94%); perspective: 1800px; opacity: 0; transform: translateY(60px); animation: stagein 1.3s 1.35s var(--ease) forwards; }
@keyframes stagein { to { opacity: 1; transform: none; } }
.win {
  border-radius: 18px 18px 0 0; border: 1px solid var(--line); border-bottom: 0; background: var(--win); backdrop-filter: blur(18px);
  box-shadow: var(--shadow); overflow: hidden;
  transform-origin: 50% 100%; transform: rotateX(var(--tilt, 10deg)) scale(var(--sc, 0.96)); will-change: transform;
}
.win-chrome { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.win-chrome i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-chrome i:nth-child(2) { background: #febc2e; }
.win-chrome i:nth-child(3) { background: #28c840; }
.win-url { margin: 0 auto; font-size: 12px; color: var(--muted); padding: 3px 18px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 45%, transparent); }
.win-body { display: grid; grid-template-columns: 210px 1fr; min-height: 470px; text-align: left; }
.win-side { padding: 18px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.ws { display: flex; align-items: center; gap: 10px; }
.ws-logo { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-fill), var(--brand-fill-strong)); color: var(--on-brand); font-weight: 700; font-family: var(--display); }
.ws b { display: block; font-size: 14px; line-height: 1.2; }
.ws small { font-size: 12px; color: var(--muted); }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a { padding: 8px 10px; font-size: 14px; border-radius: 8px; color: var(--muted); }
.side-nav a.on { background: var(--brand-soft); color: var(--text); font-weight: 600; }
.agents-live { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.win-main { position: relative; padding: 18px 20px 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.win-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.win-top b { font-family: var(--display); font-size: 18px; font-weight: 650; }
.pill { font-size: 12px; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--text); transition: background 0.4s; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.col { min-width: 0; }
.col h5 { display: flex; align-items: center; gap: 8px; font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 0; margin-bottom: 10px; color: var(--muted); }
.col h5 em { font-style: normal; margin-left: auto; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--text); }
.col h5 .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.col h5 .dot.prog { background: var(--brand-fill); }
.col h5 .dot.done { background: var(--ok); }
.cards { display: flex; flex-direction: column; gap: 10px; min-height: 120px; }
.card { position: relative; background: var(--surface2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.card small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); font-weight: 400; }
.card.done { opacity: 0.7; }
.card.done small { color: var(--ok); }
.card.hot { border-color: color-mix(in srgb, var(--glow) 70%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--glow) 14%, transparent), 0 10px 30px -10px color-mix(in srgb, var(--glow) 50%, transparent); }
.card.pop { animation: pop 0.6s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(0.92) translateY(-8px); } }
.tag { display: inline-block; margin-top: 6px; font-size: 11px; padding: 1px 8px; border-radius: 999px; font-weight: 600; }
.tag.design { background: color-mix(in srgb, var(--coral) 18%, transparent); color: var(--coral); }
.tag.backend { background: color-mix(in srgb, var(--glow) 16%, transparent); color: var(--glow); }
.meter { margin-top: 9px; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--text) 10%, transparent); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w, 0%); border-radius: 4px; background: linear-gradient(90deg, var(--brand-fill), var(--glow)); transition: width 3.4s linear; }
.reply { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: 14px; background: var(--brand-soft); border: 1px solid var(--line); font-size: 13.5px; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.reply.show { opacity: 1; transform: none; }
.reply svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 1px; }
.dots { display: inline-flex; gap: 4px; padding: 6px 0; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; } .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 40% { transform: translateY(-4px); opacity: 0.4; } }
.cmd { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 55%, transparent); font-size: 14px; min-height: 46px; }
.cmd .ph { color: var(--muted); }
.cmd .caret { width: 2px; height: 18px; background: var(--glow); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.win-foot { display: flex; gap: 10px; flex-wrap: wrap; padding: 4px 0 18px; }
.chip { font-size: 12px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.chip.ai { color: var(--glow); border-color: color-mix(in srgb, var(--glow) 40%, transparent); background: color-mix(in srgb, var(--glow) 8%, transparent); }

/* ───────── Marquee ───────── */
.trust { padding: 72px 0 40px; background: linear-gradient(to bottom, transparent, var(--bg)); position: relative; }
.trust p { text-align: center; font-size: 15px; color: var(--muted); margin-bottom: 28px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; width: max-content; animation: slide 36s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: color-mix(in srgb, var(--text) 38%, transparent); padding: 0 40px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ───────── Sections ───────── */
.section { padding: 130px 0; position: relative; }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(36px, 5.4vw, 68px); font-variation-settings: 'wdth' 90; letter-spacing: -0.04em; }
.section-head p { margin-top: 20px; color: var(--muted); font-size: 19px; max-width: 560px; }
.section-head.center p { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 18px; }
.link { display: inline-flex; margin-top: 22px; font-weight: 600; color: var(--brand); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
:root[data-theme='dark'] .link { color: var(--brand); }
.link:hover { border-color: currentColor; }

/* ───────── Generic cards & grids ───────── */
.grid { display: grid; gap: 24px; margin-top: 64px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tile { padding: 30px 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s; }
.tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); }
.tile .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.tile .ic svg { width: 24px; height: 24px; }
.tile .n { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--brand); }
.tile h3 { margin-top: 20px; font-size: 22px; letter-spacing: -0.02em; }
.tile p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.tile p:first-child { margin-top: 0; }

/* ───────── Feature showcase ───────── */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase + .showcase { margin-top: 110px; }
.showcase.rev .showcase-visual { order: -1; }
.showcase-copy h3 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.03em; }
.showcase-copy p { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 460px; }
.showcase-visual { border-radius: 22px; border: 1px solid var(--line); background: var(--win); backdrop-filter: blur(14px); box-shadow: var(--shadow); overflow: hidden; }
.pane-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.pane-bar small { color: var(--muted); }
.avs { margin-left: auto; display: flex; }
.av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; border: 2px solid var(--surface); }
.avs .av + .av { margin-left: -8px; }
.a1 { background: #f59e0b; } .a2 { background: #22a55b; } .a3 { background: var(--brand-fill); }
.av.a3 { color: var(--on-brand); }

.rows { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface2); font-size: 14px; }
.row .av { border-color: transparent; }
.row b { font-weight: 600; }
.row small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.row .pill { margin-left: auto; }
.row .ok { margin-left: auto; color: var(--ok); font-size: 12.5px; font-weight: 600; }

.bars { display: flex; align-items: flex-end; gap: 12px; height: 150px; padding: 24px; }
.bars i { flex: 1; height: var(--h, 40%); border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--brand-fill), var(--glow)); opacity: 0.9; }
.bars i.mut { background: color-mix(in srgb, var(--text) 14%, transparent); }

.code { font-family: var(--mono); font-size: 13px; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line); color: var(--glow); overflow-x: auto; white-space: nowrap; }

/* ───────── Pricing ───────── */
.plans { margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 34px 30px; border-radius: 26px; border: 1px solid var(--line); background: var(--surface); }
.plan.featured { border-color: var(--brand); box-shadow: var(--shadow); }
.plan .pop { position: absolute; top: -13px; left: 30px; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--brand-fill); color: var(--on-brand); }
.plan h3 { font-size: 20px; }
.plan .price { display: flex; align-items: flex-end; gap: 6px; font-family: var(--display); font-weight: 700; font-size: clamp(44px, 5vw, 60px); letter-spacing: -0.045em; line-height: 1; }
.plan .price small { font-family: var(--body); font-size: 14px; font-weight: 400; color: var(--muted); padding-bottom: 6px; }
.plan > p { color: var(--muted); font-size: 15px; }
.plan .btn { width: 100%; }
.plan .divider { height: 1px; background: var(--line); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--muted); }
.checklist li::before {
  content: ''; width: 20px; height: 20px; margin-top: 1px;
  background-color: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ───────── Contact ───────── */
.book { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 38px 40px; border-radius: 26px; border: 1px solid var(--line); background: var(--win); backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.book h3 { font-size: clamp(24px, 2.6vw, 32px); }
.book p { margin-top: 8px; color: var(--muted); }
.book .book-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ───────── Stats band ───────── */
.stats { padding: 30px 0 120px; }
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 44px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num { font-family: var(--display); font-size: clamp(44px, 6vw, 84px); font-weight: 700; font-variation-settings: 'wdth' 85; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat p { margin-top: 14px; color: var(--muted); font-size: 15.5px; max-width: 220px; }

/* ───────── Testimonials ───────── */
.quotes { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.quote { margin: 0; padding: 34px 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.quote:nth-child(2) { margin-top: 56px; }
.quote:nth-child(3) { margin-top: 20px; }
.quote blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.3; letter-spacing: -0.02em; }
.quote figcaption { margin-top: 26px; display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--muted); }
.quote figcaption svg { width: 28px; height: 28px; color: var(--brand); }

/* ───────── FAQ ───────── */
.faq { max-width: 860px; margin: 56px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 4px; background: none; border: 0; text-align: left; font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.faq-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform 0.35s var(--ease), background 0.3s; }
.faq-icon svg { width: 14px; height: 14px; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--brand-fill); border-color: var(--brand-fill); color: var(--on-brand); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { padding: 0 60px 26px 4px; color: var(--muted); }

/* ───────── CTA ───────── */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 160px 0 190px; margin-top: 60px; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 50% 100%, color-mix(in srgb, var(--brand) 42%, transparent), transparent 70%), radial-gradient(30% 40% at 50% 40%, color-mix(in srgb, var(--glow) 10%, transparent), transparent 70%); }
.cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.cta h2 { font-size: clamp(44px, 8vw, 110px); letter-spacing: -0.05em; font-variation-settings: 'wdth' 86; line-height: 0.95; }
.cta p { margin: 26px auto 0; max-width: 520px; color: var(--muted); font-size: 19px; }
.cta-actions { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ───────── Footer ───────── */
.footer { border-top: 1px solid var(--line); padding: 70px 0 34px; background: var(--bg); position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-grid p { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 300px; }
.footer h4 { font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: 0; margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 15px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 14px; }
.social { display: flex; gap: 6px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.social a:hover { color: var(--text); background: var(--brand-soft); }
.social svg { width: 18px; height: 18px; }

/* ───────── Home page additions ───────── */
.hero.hero-home h1 { font-size: clamp(42px, 6.4vw, 92px); max-width: 1080px; margin-inline: auto; }
.hero.hero-home .hero-sub { max-width: 700px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); opacity: 0; animation: fadein 1s 1.35s var(--ease) forwards; }
.sample-note { text-align: center; margin: 18px auto 0; font-size: 13.5px; color: var(--muted); max-width: 780px; }
.sample-note .link { margin: 0; }

.walkthrough { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; align-items: stretch; }
.walk-card { display: flex; flex-direction: column; gap: 16px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.walk-step { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.walk-card h3 { font-size: 21px; }
.walk-card > p { color: var(--muted); font-size: 15px; }
.prompt-box { font-family: var(--mono); font-size: 13px; line-height: 1.6; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 55%, transparent); color: var(--text); }
.prompt-box .prompt-label { display: block; font-family: var(--body); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.mini-config { display: flex; flex-direction: column; gap: 8px; }
.mini-config > div { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); }
.mini-config span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.mini-config b { font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.mini-chat { display: flex; flex-direction: column; gap: 10px; }
.mini-msg { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); font-size: 13.5px; }
.mini-msg.ai { background: var(--brand-soft); }
.mini-msg svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 1px; }
.mini-msg .av { width: 22px; height: 22px; font-size: 10px; flex: none; }
.mini-msg b { font-weight: 600; }
.gate { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--coral) 40%, transparent); background: color-mix(in srgb, var(--coral) 8%, transparent); color: var(--coral); font-size: 12.5px; font-weight: 600; }
.gate .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.walk-note { margin-top: auto; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.ba-card { padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.ba-card.good { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.ba-card h3 { font-size: 20px; }
.ba-card ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ba-card li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.ba-card li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--coral); }
.ba-card.good li::before { background: var(--ok); }
.callout { margin-top: 24px; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--win); }
.callout h3 { font-size: 19px; }
.callout ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.callout p { margin-top: 14px; color: var(--muted); font-size: 14px; }
.callout.warn { border-color: color-mix(in srgb, var(--coral) 35%, var(--line)); background: color-mix(in srgb, var(--coral) 5%, transparent); }

.compare-wrap { margin-top: 48px; overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--display); font-size: 16px; background: var(--surface); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { width: 42%; }
.compare td.ai { color: var(--muted); }
.compare td.vrux { color: var(--text); font-weight: 500; }
.compare-note { margin-top: 18px; color: var(--muted); font-size: 14px; max-width: 820px; }

.security-list { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--line); }
.security-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.security-item h3 { font-size: 17px; }
.security-item p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.price-note { margin-top: 22px; color: var(--muted); font-size: 14px; }
.price-note a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--text); }

/* ───────── Reveal-on-scroll ───────── */
/* `.js` is set by vrux.js, so content stays visible when JS is disabled. */
:root.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
:root.js [data-reveal].in { opacity: 1; transform: none; }

/* ───────── Responsive ───────── */
@media (max-width: 980px) {
  .nav-toggle { display: grid; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; margin: 0; padding: 12px 4%; background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
  .nav-links.mobile-open { display: flex; }
  .nav-right .btn-ghost { display: none; }
  .win-body { grid-template-columns: 1fr; }
  .win-side { display: none; }
  .board { overflow-x: auto; grid-template-columns: repeat(3, minmax(190px, 1fr)); padding-bottom: 6px; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero.hero-home h1 { font-size: clamp(40px, 9vw, 64px); }
  .walkthrough, .before-after { grid-template-columns: 1fr; }
  .security-list { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; gap: 32px; }
  .showcase.rev .showcase-visual { order: 0; }
  .showcase + .showcase { margin-top: 72px; }
  .plans { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .quotes { grid-template-columns: 1fr; }
  .quote:nth-child(n) { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 90px 0; }
  .hero.is-page { padding: 128px 0 72px; }
}
@media (max-width: 560px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .hero.hero-home h1 { font-size: clamp(34px, 10.5vw, 48px); }
  .walk-card, .ba-card, .callout { padding: 22px; }
  .compare th, .compare td { padding: 14px 16px; }
  .compare-wrap { border-radius: 18px; }
  .compare { min-width: 0; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .compare tr:last-child { border-bottom: 0; }
  .compare td { border: 0; padding: 4px 0; }
  .compare td:first-child { width: auto; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
  .compare td.ai::before { content: 'Generic AI · '; color: var(--muted); }
  .compare td.vrux::before { content: 'Vrux · '; color: var(--brand); font-weight: 600; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .faq-q { font-size: 19px; }
  .faq-a p { padding-right: 4px; }
  .book { padding: 28px 24px; }
  .nav-right .btn-primary { padding: 9px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .badge, .hero-sub, .hero-actions, .hero-note, .stage, .eyebrow { opacity: 1; transform: none; }
  .hero h1 .w { transform: none; }
  .win { transform: none; }
  :root.js [data-reveal] { opacity: 1; transform: none; }
}
