/* The homepage header and hero. Originally generated from the pre-2026-10-02 landing.css (generator in
   docs/design/classic/), each rule limited to elements inside .rc-classic (index.html puts that class on the
   header and the hero section), plus the page canvas the hero sits on. landing.css keeps its own rules off
   those two elements with :not(:where(.rc-classic, .rc-classic *)).
   2026-10-09 hero remake: the owner said the centred hero "looks too AI vibecoded". The pill, gradient word,
   underline, grid and glows are gone; the "Hero remake" block at the end is hand-written and is the source
   of truth for the hero. Do not regenerate this file over it. */
body.home { background: transparent; }
html:has(> body.home) { background: #120b1f; }
.rc-classic { --bg: #0f0a17;
  --card: #1a102c; --card-top: #211538;
  --surface: #241a3a; --surface-hover: #2e2148; --surface-down: #382a58;
  --line: rgba(255,255,255,.07); --line-ui: rgba(255,255,255,.14); --line-ui-hover: rgba(255,255,255,.24);
  --edge: transparent;
  --hair: rgba(255,255,255,.05); --surface-1: rgba(255,255,255,.024); --surface-2: rgba(255,255,255,.045);
  --text: #f6f1ff; --text-2: #cfc3e0; --text-3: #b7abc8;
  --brand: #8b5cf6; 
  --violet: #a78bfa; --violet-soft: #c4b5fd;
  
  --fill: #7c3aed; --fill-hover: #8b5cf6; --fill-down: #6d28d9;
  --on-fill: #ffffff;
  
  --canvas:
    radial-gradient(900px 560px at 78% -12%, rgba(91,33,182,.13), transparent 60%),
    radial-gradient(760px 520px at -12% 22%, rgba(74,24,116,.11), transparent 55%),
    var(--bg);
  --ok: #6BE08A; --ok-bg: rgba(48,209,88,.12); --ok-line: rgba(48,209,88,.32);
  --amber: #FBBF24;
  --disabled-bg: #261c3d; --disabled-text: #a89cbd;
  --radius: 20px; --radius-sm: 14px; --radius-xs: 10px; --radius-pill: 999px;
  --shadow: 0 30px 80px -50px rgba(0,0,0,.7);
  --card-shadow: none;
  --dur: .2s; --ease: cubic-bezier(.22,.61,.36,1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --container: 1120px; --gutter: 24px;
  --hero-top: 88px; --hero-bottom: 120px; --section: 128px; --section-minor: 80px;
  --nav-h: 64px; }
*:is(.rc-classic, .rc-classic *), *:is(.rc-classic, .rc-classic *)::before, *:is(.rc-classic, .rc-classic *)::after { box-sizing: border-box; }
*:is(.rc-classic, .rc-classic *) { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; }
.rc-classic { color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.5; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.home::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 520px at 50% -12%, rgba(91,33,182,.22), transparent 62%), #120b1f; }
h1:is(.rc-classic, .rc-classic *), p:is(.rc-classic, .rc-classic *), ul:is(.rc-classic, .rc-classic *), figure:is(.rc-classic, .rc-classic *) { margin: 0; }
ul:is(.rc-classic, .rc-classic *) { padding: 0; list-style: none; }
a:is(.rc-classic, .rc-classic *) { color: var(--violet); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover:is(.rc-classic, .rc-classic *) { color: var(--text); }
button:is(.rc-classic, .rc-classic *) { font: inherit; color: inherit; }
svg:is(.rc-classic, .rc-classic *) { display: block; }
:focus-visible:is(.rc-classic, .rc-classic *) { outline: 2px solid #A78BFA; outline-offset: 3px; border-radius: var(--radius-sm); }
.visually-hidden:is(.rc-classic, .rc-classic *) { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden]:is(.rc-classic, .rc-classic *) { display: none !important; }
.container:is(.rc-classic, .rc-classic *) { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
h1:is(.rc-classic, .rc-classic *) { font-size: clamp(2.15rem, 4.2vw, 3.35rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; }
.lead:is(.rc-classic, .rc-classic *) { font-size: 19px; line-height: 1.5; color: var(--text-2); }
.wordmark:is(.rc-classic, .rc-classic *) { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); line-height: 1.5; }
.btn:is(.rc-classic, .rc-classic *) { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 20px; border-radius: 10px;
  border: 1px solid transparent; font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.btn-primary:is(.rc-classic, .rc-classic *) { background: var(--fill); color: var(--on-fill); font-size: 15px; font-weight: 600; }
.btn-primary:hover:is(.rc-classic, .rc-classic *) { background: var(--fill-hover); color: var(--on-fill); }
.btn-primary:active:is(.rc-classic, .rc-classic *) { background: var(--fill-down); transform: scale(.98); }
.btn-nav:is(.rc-classic, .rc-classic *) { min-height: 36px; padding: 6px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.site-header:is(.rc-classic, .rc-classic *) { position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.05); }
.site-header:is(.rc-classic, .rc-classic *)::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--canvas);
  clip-path: inset(0 0 calc(100% - var(--nav-h) - 1px) 0); }
.nav:is(.rc-classic, .rc-classic *) { display: flex; align-items: center; gap: 24px; min-height: var(--nav-h); }
.nav-links:is(.rc-classic, .rc-classic *) { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-links a:is(.rc-classic, .rc-classic *), .nav-link-btn:is(.rc-classic, .rc-classic *) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  border-radius: var(--radius-xs); font-size: 14px; font-weight: 500; color: var(--text-3); }
.nav-links a:hover:is(.rc-classic, .rc-classic *), .nav-link-btn:hover:is(.rc-classic, .rc-classic *) { color: var(--text); }
.nav-actions:is(.rc-classic, .rc-classic *) { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hero:is(.rc-classic, .rc-classic *) { padding: var(--hero-top) 0 var(--hero-bottom); overflow-x: clip; }
.hero-actions:is(.rc-classic, .rc-classic *) { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px 22px; margin-top: 32px; }
#hero-cta-container:is(.rc-classic, .rc-classic *) { display: contents; }
#hero-cta-container .btn-primary > span:is(.rc-classic, .rc-classic *) { font-weight: 500; }
.hero-visual:is(.rc-classic, .rc-classic *) { position: relative; min-width: 0; width: calc(50% + 50vw); max-width: 1240px; }
.works-with:is(.rc-classic, .rc-classic *) { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 12px 25px; margin-top: -16px; }
.works-with-label:is(.rc-classic, .rc-classic *) { font-size: 16px; color: var(--text-3); }
.works-with-item:is(.rc-classic, .rc-classic *) { display: inline-flex; align-items: center; gap: 9px; min-height: 37px; color: var(--text-2); font-size: 16px; font-weight: 500; }
.works-with-item svg:is(.rc-classic, .rc-classic *) { flex: none; width: 18px; height: 18px; color: var(--text-2); }
.works-with-item .model-mark:is(.rc-classic, .rc-classic *) { width: 18px; height: 18px; }
.demo-caption:is(.rc-classic, .rc-classic *) { margin-top: 18px; max-width: 720px; font-size: 14px; line-height: 1.55; color: var(--text-3); }
.hero-demo:is(.rc-classic, .rc-classic *) { position: relative; width: 100%; margin: 0;
  background: #0d0718;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  box-shadow: 0 50px 110px -50px rgba(0,0,0,.9);
  overflow: hidden; }
.hero-demo:is(.rc-classic, .rc-classic *) { z-index: 1; }
.demo-stage:is(.rc-classic, .rc-classic *) { position: relative; aspect-ratio: 16 / 9; background: #0d0718; }
.demo-video:is(.rc-classic, .rc-classic *) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.05) brightness(1.04); }
.demo-play:is(.rc-classic, .rc-classic *) { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: rgba(18,11,31,.32); color: #fff; cursor: pointer;
  transition: background-color var(--dur) var(--ease); }
.demo-play:hover:is(.rc-classic, .rc-classic *) { background: rgba(18,11,31,.48); }
.demo-play:focus-visible:is(.rc-classic, .rc-classic *) { border-radius: 0; outline-offset: -4px; }
.demo-play-badge:is(.rc-classic, .rc-classic *) { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 22px 12px 18px;
  border-radius: 10px; background: var(--fill); font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  transition: background-color var(--dur) var(--ease); }
.demo-play:hover .demo-play-badge:is(.rc-classic, .rc-classic *) { background: var(--fill-hover); }
.demo-toggle:is(.rc-classic, .rc-classic *) { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  background: rgba(18,11,31,.74); color: #fff; cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.demo-toggle:hover:is(.rc-classic, .rc-classic *) { background: rgba(18,11,31,.94); border-color: rgba(255,255,255,.36); }
.demo-toggle:focus-visible:is(.rc-classic, .rc-classic *) { border-radius: 50%; }
.demo-toggle .ico-play:is(.rc-classic, .rc-classic *) { display: none; }
@media (min-width: 1024px) and (max-height: 800px) {
  .rc-classic { --hero-top: 72px; }
}
@media (max-width: 1023px) {
  .hero-visual:is(.rc-classic, .rc-classic *) { width: 100%; }
}
@media (max-width: 768px) {
  .rc-classic { --gutter: 16px; --hero-top: 64px; --hero-bottom: 56px; --section: 56px; --section-minor: 40px; }
  h1:is(.rc-classic, .rc-classic *) { font-size: clamp(2rem, 9vw, 2.4rem); }
  .lead:is(.rc-classic, .rc-classic *) { font-size: 17px; }
  .nav:is(.rc-classic, .rc-classic *) { gap: 12px; }
  .btn-nav:is(.rc-classic, .rc-classic *) { min-height: 44px; }
  .hero-demo:is(.rc-classic, .rc-classic *) { border-radius: 16px; }
}
@media (max-width: 640px) {
  .nav-link-btn:is(.rc-classic, .rc-classic *) { padding: 0 8px; }
  .hero-actions .btn:is(.rc-classic, .rc-classic *) { width: 100%; }
}
@media (max-width: 480px) {
  .btn:is(.rc-classic, .rc-classic *) { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *:is(.rc-classic, .rc-classic *), *:is(.rc-classic, .rc-classic *)::before, *:is(.rc-classic, .rc-classic *)::after { animation: none !important; transition-duration: 0s !important; }
}
@media (max-width: 768px) {
  .nav-links a:is(.rc-classic, .rc-classic *), .nav-link-btn:is(.rc-classic, .rc-classic *) { min-height: 44px; }
}
.btn-nav.btn-primary:is(.rc-classic, .rc-classic *) { font-size: 15px; font-weight: 600; }
.nav-menu-btn:is(.rc-classic, .rc-classic *) { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: 2px; padding: 0; border: 1px solid var(--line-ui); border-radius: var(--radius-xs); background: transparent; color: var(--text); cursor: pointer; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.nav-menu-btn:hover:is(.rc-classic, .rc-classic *) { background: rgba(255,255,255,.06); border-color: var(--line-ui-hover); }
.nav-menu-btn .ico-close:is(.rc-classic, .rc-classic *) { display: none; }
.nav-menu-btn[aria-expanded="true"] .ico-menu:is(.rc-classic, .rc-classic *) { display: none; }
.nav-menu-btn[aria-expanded="true"] .ico-close:is(.rc-classic, .rc-classic *) { display: block; }
.nav-drawer:is(.rc-classic, .rc-classic *) { position: absolute; left: 0; right: 0; top: 100%; z-index: 49; background: var(--bg); border-bottom: 1px solid var(--line-ui); box-shadow: 0 24px 48px -24px rgba(0,0,0,.7); }
.nav-drawer-inner:is(.rc-classic, .rc-classic *) { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 12px; }
.nav-drawer a:is(.rc-classic, .rc-classic *) { display: flex; align-items: center; min-height: 48px; padding: 0 10px; border-radius: var(--radius-xs); font-size: 17px; font-weight: 500; color: var(--text); }
.nav-drawer a:hover:is(.rc-classic, .rc-classic *) { background: rgba(255,255,255,.05); color: var(--text); }
.nav-drawer-login:is(.rc-classic, .rc-classic *) { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; border-radius: 0 !important; }
@media (max-width: 880px) {
  .nav-links:is(.rc-classic, .rc-classic *) { display: none; }
  .nav-menu-btn:is(.rc-classic, .rc-classic *) { display: inline-flex; }
}
.rc-classic { --bg: #09090b; --canvas: #09090b;
  --card: #111114; --card-top: #17171b;
  --surface: rgba(255,255,255,.04); --surface-hover: rgba(255,255,255,.07); --surface-down: rgba(255,255,255,.1);
  --line: rgba(255,255,255,.07); --line-ui: rgba(255,255,255,.12); --line-ui-hover: rgba(255,255,255,.22);
  --hair: rgba(255,255,255,.08); --surface-1: #111114; --surface-2: #17171b;
  --text: #f5f4f8; --text-2: #b1adbb; --text-3: #817d8c;
  --violet: #a78bfa; --violet-soft: #c4b5fd;
  --fill: #7c3aed; --fill-hover: #8b5cf6; --fill-down: #6d28d9;
  --radius: 16px; --radius-sm: 12px; --radius-xs: 10px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1160px;
  --hero-top: 72px; --hero-bottom: 96px; --section: 120px; --section-minor: 72px;
  --nav-h: 72px; }
.rc-classic { font-family: var(--font); letter-spacing: -0.01em; }
body.home::before { background: #120b1f; }
.site-header:is(.rc-classic, .rc-classic *)::before { background: var(--bg); }
h1:is(.rc-classic, .rc-classic *) { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; }
.lead:is(.rc-classic, .rc-classic *) { font-size: 19px; line-height: 1.55; color: var(--text-2); }
.site-header:is(.rc-classic, .rc-classic *) { border-bottom-color: rgba(255,255,255,.06); }
.nav:is(.rc-classic, .rc-classic *) { min-height: var(--nav-h); gap: 28px; }
.wordmark:is(.rc-classic, .rc-classic *) { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.nav-links:is(.rc-classic, .rc-classic *) { gap: 2px; margin-left: 20px; }
.nav-links a:is(.rc-classic, .rc-classic *) { padding: 0 12px; font-size: 14.5px; color: var(--text-2); }
.nav-links a:hover:is(.rc-classic, .rc-classic *) { color: var(--text); }
.nav-link-btn:is(.rc-classic, .rc-classic *) { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-ui); border-radius: 10px; color: var(--text); font-size: 14px; }
.nav-link-btn:hover:is(.rc-classic, .rc-classic *) { border-color: var(--line-ui-hover); background: rgba(255,255,255,.04); }
.btn-nav.btn-primary:is(.rc-classic, .rc-classic *) { min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.nav-actions:is(.rc-classic, .rc-classic *) { gap: 10px; }
.btn:is(.rc-classic, .rc-classic *) { border-radius: 12px; min-height: 46px; font-size: 15px; }
.btn-primary:is(.rc-classic, .rc-classic *) { background: var(--fill); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 12px 32px -14px rgba(124,58,237,.7); }
.btn-primary:hover:is(.rc-classic, .rc-classic *) { background: var(--fill-hover); }
.btn-hero:is(.rc-classic, .rc-classic *) { min-height: 56px; padding: 0 30px; border-radius: 14px; font-size: 17px; }
.hero:is(.rc-classic, .rc-classic *) { position: relative; padding: var(--hero-top) 0 var(--hero-bottom); overflow: clip; }
.hero-visual:is(.rc-classic, .rc-classic *) { position: relative; width: 100%; max-width: 1160px; margin-top: 64px; }
.hero-demo:is(.rc-classic, .rc-classic *) { position: relative; z-index: 1; background: var(--card); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; box-shadow: 0 60px 120px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4); }
@media (max-width: 768px) {
  .rc-classic { --hero-top: 48px; --hero-bottom: 64px; --section: 72px; --section-minor: 48px; --nav-h: 64px; }
  h1:is(.rc-classic, .rc-classic *) { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-visual:is(.rc-classic, .rc-classic *) { margin-top: 40px; }
  .hero-demo:is(.rc-classic, .rc-classic *) { border-radius: 12px; }
}
@media (max-width: 640px) {
  .btn-hero:is(.rc-classic, .rc-classic *) { width: 100%; }
}
.nav-link-btn:is(.rc-classic, .rc-classic *), .btn-nav:is(.rc-classic, .rc-classic *) { white-space: nowrap; }
@media (max-width: 640px) {
  .nav-link-btn:is(.rc-classic, .rc-classic *) { padding: 0 10px; font-size: 13.5px; }
  .btn-nav.btn-primary:is(.rc-classic, .rc-classic *) { padding: 0 12px; font-size: 13.5px; }
  .nav:is(.rc-classic, .rc-classic *) { gap: 8px; }
}
@media (max-width: 360px) {
  .nav-actions:is(.rc-classic, .rc-classic *) { gap: 6px; }
  .nav-menu-btn:is(.rc-classic, .rc-classic *) { margin-left: 0; }
}
.rc-classic { --bg: #120b1f;
  --canvas: radial-gradient(900px 520px at 50% -12%, rgba(91,33,182,.22), transparent 62%), #120b1f;
  --card: #15101f; --card-top: #1a1427;
  --surface: #15101f; --surface-hover: #1a1427; --surface-down: #1f1830;
  --line: rgba(207,195,224,.09); --line-ui: rgba(207,195,224,.17); --line-ui-hover: rgba(207,195,224,.28);
  --hair: rgba(255,255,255,.05); --surface-1: #15101f; --surface-2: #1a1427;
  --text: #f3eefc; --text-2: #c5b9d8; --text-3: #8f84a6;
  --violet: #a78bfa; --violet-soft: #c4b5fd;
  --fill: #7c3aed; --fill-hover: #8b5cf6; --fill-down: #6d28d9;
  --ok: #4ade80; }
body.home::before { background: radial-gradient(900px 520px at 50% -12%, rgba(91,33,182,.22), transparent 62%), #120b1f; background-attachment: fixed; }
.site-header:is(.rc-classic, .rc-classic *)::before { background: var(--canvas); }
.hero-demo:is(.rc-classic, .rc-classic *) { background: #15101f; border-color: rgba(207,195,224,.14); }
.nav-link-btn:is(.rc-classic, .rc-classic *) { border-color: rgba(207,195,224,.17); }
.rc-classic { --section: 96px; --section-minor: 64px; }
@media (max-width: 768px) {
  .rc-classic { --section: 64px; --section-minor: 44px; }
}
@media (max-width: 480px) {
}
@media (min-width: 769px) {
  .rc-classic { --hero-bottom: 72px; }
}

/* ---------- Hero v3 (2026-10-09) ----------
   Owner: v2 (left-aligned split) looked worse; "look at Ropilot". Centred and confident: a quiet tag, a big
   white headline with one solid-violet word on a hand-drawn swoosh (no gradient, no glow), one solid CTA,
   real numbers in quiet type, then a large composition of REAL captures (Roblox Studio with the RoCode panel,
   the RoCode chat box). Near-black canvas with a very soft violet vignette at the top, nothing else. */
html:has(> body.home) { background: #0c0b10; }
body.home::before { background: #0c0b10; }
.rc-classic { --bg: #0c0b10; --canvas: #0c0b10;
  --text: #f4f2f8; --text-2: #b6b0c4; --text-3: #8c8799;
  --line: rgba(233,226,250,.075); --line-ui: rgba(233,226,250,.13); --line-ui-hover: rgba(233,226,250,.22);
  --accent: #9b6cff;
  --hero-top: 88px; --hero-bottom: 24px; }
.site-header:is(.rc-classic, .rc-classic *) { border-bottom-color: var(--line); }
.nav-link-btn:is(.rc-classic, .rc-classic *) { border-color: var(--line-ui); }
.btn-primary:is(.rc-classic, .rc-classic *) { box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.btn-primary:hover:is(.rc-classic, .rc-classic *) { background: #8448f1; }

.hero:is(.rc-classic, .rc-classic *) { position: relative; isolation: isolate; overflow: clip; }
.hero:is(.rc-classic, .rc-classic *)::before { content: ""; position: absolute; inset: 0 0 auto; height: 760px; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 100% at 50% 0%, rgba(124,58,237,.11), rgba(124,58,237,.035) 45%, transparent 75%); }
.hero-inner:is(.rc-classic, .rc-classic *) { display: flex; flex-direction: column; align-items: center; text-align: center; }

.hero-tag:is(.rc-classic, .rc-classic *) { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; margin: 0; padding: 0 14px 0 12px;
  border: 1px solid rgba(233,226,250,.12); border-radius: 999px; background: rgba(255,255,255,.035);
  font-size: 13.5px; font-weight: 500; letter-spacing: -0.005em; color: var(--text-2); }
.hero-tag svg:is(.rc-classic, .rc-classic *) { flex: none; color: var(--text); opacity: .9; }

.hero h1:is(.rc-classic, .rc-classic *) { margin: 26px 0 0; font-size: clamp(2.6rem, 1.1rem + 4.3vw, 4.6rem); font-weight: 650; line-height: 1.04; letter-spacing: -0.042em; color: var(--text); text-wrap: initial; }
.hero-mark:is(.rc-classic, .rc-classic *) { position: relative; display: inline-block; padding: 0 .06em 0 .02em; font-style: italic; font-weight: 700; letter-spacing: -0.03em; color: var(--accent); }
.hero-swoosh:is(.rc-classic, .rc-classic *) { position: absolute; left: -.02em; right: -.04em; bottom: -.2em; width: calc(100% + .06em); height: .3em; color: var(--accent); overflow: visible; }

.hero .lead:is(.rc-classic, .rc-classic *) { max-width: 58ch; margin: 30px auto 0; font-size: 18px; line-height: 1.55; letter-spacing: -0.006em; color: var(--text-2); text-wrap: balance; }
.hero-actions:is(.rc-classic, .rc-classic *) { display: flex; justify-content: center; margin-top: 34px; }
.btn-hero:is(.rc-classic, .rc-classic *) { min-height: 52px; padding: 0 28px; border-radius: 12px; font-size: 16px; font-weight: 600; }
.btn-hero > span:is(.rc-classic, .rc-classic *) { opacity: .7; }
/* The hero CTA is the brand violet, same as "Start free" in the nav, with a soft glow under it. */
.hero .btn-hero.btn-primary:is(.rc-classic, .rc-classic *) { background: var(--fill); color: var(--on-fill);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 14px 36px -12px rgba(124,58,237,.75); transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.hero .btn-hero.btn-primary:hover:is(.rc-classic, .rc-classic *) { background: var(--fill-hover); color: var(--on-fill); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 18px 44px -12px rgba(124,58,237,.9); transform: translateY(-1px); }
.hero .btn-hero.btn-primary:active:is(.rc-classic, .rc-classic *) { background: var(--fill-down); transform: scale(.98); }
.hero .btn-hero.btn-primary:focus-visible:is(.rc-classic, .rc-classic *) { outline-color: #a78bfa; }
.hero-note:is(.rc-classic, .rc-classic *) { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-3); }


/* Hero v4 (owner: "where is the video we had"): the build demo back under the v3 top, in a clean frame
   (no traffic lights), a very soft violet wash behind it, caption and the pause control under the frame. */
.hero-visual:is(.rc-classic, .rc-classic *) { position: relative; width: 100%; max-width: 1200px; margin: 64px auto 0; }
.hero-visual:is(.rc-classic, .rc-classic *)::before { content: ""; position: absolute; inset: -12% -8% 4%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(124,58,237,.10), rgba(124,58,237,.03) 55%, transparent 75%); }
.hero-figure:is(.rc-classic, .rc-classic *) { margin: 0; }
.hero-demo:is(.rc-classic, .rc-classic *) { position: relative; z-index: 1; overflow: hidden; border: 1px solid rgba(233,226,250,.12); border-radius: 16px; background: #0d0a14;
  box-shadow: 0 0 0 6px rgba(255,255,255,.025), 0 50px 100px -40px rgba(0,0,0,.85); }
.demo-stage:is(.rc-classic, .rc-classic *) { position: relative; aspect-ratio: 16 / 9; background: #0d0a14; }
.demo-video:is(.rc-classic, .rc-classic *) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.demo-play:is(.rc-classic, .rc-classic *) { background: rgba(12,11,16,.28); }
.demo-play:hover:is(.rc-classic, .rc-classic *) { background: rgba(12,11,16,.4); }
.demo-play-badge:is(.rc-classic, .rc-classic *) { gap: 8px; min-height: 46px; padding: 0 20px 0 16px; border: 0; border-radius: 12px; background: #f4f2f8; color: #0c0b10; font-size: 15px; font-weight: 600; }
.demo-play:hover .demo-play-badge:is(.rc-classic, .rc-classic *) { background: #ffffff; }
.demo-foot:is(.rc-classic, .rc-classic *) { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.demo-foot .demo-toggle:is(.rc-classic, .rc-classic *) { position: static; flex: none; width: 32px; height: 32px; border: 1px solid rgba(233,226,250,.14); border-radius: 50%; background: transparent; color: var(--text-2); }
.demo-foot .demo-toggle:hover:is(.rc-classic, .rc-classic *) { background: rgba(255,255,255,.05); border-color: rgba(233,226,250,.28); color: var(--text); }
.demo-foot .demo-toggle[hidden]:is(.rc-classic, .rc-classic *) { display: none; }
.demo-toggle.is-paused .ico-pause:is(.rc-classic, .rc-classic *) { display: none; }
.demo-toggle.is-paused .ico-play:is(.rc-classic, .rc-classic *) { display: block; }

.works-with:is(.rc-classic, .rc-classic *) { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 26px; margin-top: 28px; }
.works-with-label:is(.rc-classic, .rc-classic *) { font-size: 14px; color: var(--text-3); }
.works-with-item:is(.rc-classic, .rc-classic *) { gap: 8px; min-height: 30px; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.works-with-item svg:is(.rc-classic, .rc-classic *), .works-with-item .model-mark:is(.rc-classic, .rc-classic *) { width: 16px; height: 16px; color: var(--text-2); }

@media (max-width: 900px) {
  .rc-classic { --hero-top: 64px; }
}
@media (max-width: 640px) {
  .rc-classic { --hero-top: 40px; --hero-bottom: 8px; }
  .hero-tag:is(.rc-classic, .rc-classic *) { font-size: 13px; }
  .hero h1:is(.rc-classic, .rc-classic *) { margin-top: 22px; font-size: clamp(2.35rem, 11vw, 3rem); line-height: 1.06; letter-spacing: -0.04em; }
  .hero .lead:is(.rc-classic, .rc-classic *) { margin-top: 24px; font-size: 16.5px; }
  .hero-actions:is(.rc-classic, .rc-classic *) { width: 100%; margin-top: 28px; }
  #hero-cta-container:is(.rc-classic, .rc-classic *) { display: block; width: 100%; }
  .btn-hero:is(.rc-classic, .rc-classic *) { width: 100%; min-height: 54px; }
  .hero-note:is(.rc-classic, .rc-classic *) { font-size: 13.5px; }
  /* Phones: the source switches to neon-demo-mobile (the Studio viewport of the same clip, 540x700), so
     the build fills the frame with nothing cut off and no empty band. */
  .hero-visual:is(.rc-classic, .rc-classic *) { margin-top: 40px; }
  .hero-demo:is(.rc-classic, .rc-classic *) { border-radius: 14px; box-shadow: 0 0 0 4px rgba(255,255,255,.025), 0 30px 60px -30px rgba(0,0,0,.8); }
  .demo-stage:is(.rc-classic, .rc-classic *) { aspect-ratio: 540 / 700; }
  .demo-video:is(.rc-classic, .rc-classic *) { object-position: 100% 50%; }
  .demo-foot:is(.rc-classic, .rc-classic *) { margin-top: 12px; font-size: 12.5px; text-align: left; }
  .works-with:is(.rc-classic, .rc-classic *) { gap: 4px 18px; margin-top: 24px; }
}

/* Homepage demo: 3D tilt toward the mouse and a soft light that follows the cursor (lib/hero-tilt.js).
   Mice only; the script never adds .is-tilting for touch or reduced motion. */
.hero-demo:is(.rc-classic, .rc-classic *) {
  --tilt-x: 0deg; --tilt-y: 0deg; --glare-x: 50%; --glare-y: 30%;
  transform: perspective(1500px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease;
  will-change: transform;
}
.hero-demo.is-tilting:is(.rc-classic, .rc-classic *) {
  transform: perspective(1500px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.015);
  transition: transform .12s ease-out, box-shadow .45s ease;
  box-shadow: 0 80px 140px -50px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.4), 0 0 90px -20px rgba(139,92,246,.22);
}
.hero-demo:is(.rc-classic, .rc-classic *)::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
  background: radial-gradient(520px circle at var(--glare-x) var(--glare-y), rgba(196,170,255,.08), rgba(139,92,246,.03) 35%, transparent 60%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .35s ease;
}
.hero-demo.is-tilting:is(.rc-classic, .rc-classic *)::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-demo:is(.rc-classic, .rc-classic *) { transform: none !important; transition: none; }
  .hero-demo:is(.rc-classic, .rc-classic *)::after { display: none; }
}

/* How it works: the island steps video fills the stage like the old screenshot did. */
.v3-stage .steps-video { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: inherit; background: #08060d; }

/* Examples: each card plays a short rendered loop (hover on desktop, on screen on phones). */
.exg-art.exg-art--video { background: #0b0a0e; }
.exg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.exg-card:hover .exg-video { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .exg-card:hover .exg-video { transform: none; } }

/* Models band: the line-up at a glance (detail stays in #models). */
.mb-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.mb-card { position: relative; padding: 22px 20px 20px; border: 1px solid var(--rc-line, rgba(255,255,255,.08)); border-radius: 16px; background: linear-gradient(180deg, rgba(139,92,246,.07), rgba(255,255,255,.015)); }
.mb-card .model-mark { width: 30px; height: 30px; }
.mb-card .model-mark > svg { width: 30px; height: 30px; }
.mb-name { margin: 16px 0 0; font-weight: 650; font-size: 17px; color: var(--rc-text, #f2f0f7); }
.mb-tag { position: absolute; top: 22px; right: 18px; margin: 0; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #c4b5fd; background: rgba(139,92,246,.16); }
.mb-tag.is-free { color: #6ee7b7; background: rgba(52,211,153,.14); }
.mb-what { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--rc-text-2, #b6b0c4); }
.mb-foot { margin: 22px 0 0; text-align: center; font-size: 14.5px; color: var(--rc-text-2, #b6b0c4); }
@media (max-width: 1000px) { .mb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mb-grid { grid-template-columns: 1fr; } }

/* It checks its own work: three steps and a code panel. */
.sc-wrap { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.sc-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.sc-steps li { display: flex; gap: 16px; }
.sc-num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #c4b5fd; background: rgba(139,92,246,.16); border: 1px solid rgba(139,92,246,.4); }
.sc-steps h3 { margin: 4px 0 4px; font-size: 18px; }
.sc-steps p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--rc-text-2, #b6b0c4); }
.sc-panel { padding: 18px 20px; border-radius: 18px; background: #110f17; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 60px -30px rgba(139,92,246,.45); font-family: Menlo, Monaco, ui-monospace, monospace; font-size: 14.5px; }
.sc-head { margin: 0 0 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--rc-font, Inter, sans-serif); font-weight: 650; display: flex; align-items: center; gap: 8px; color: #f2f0f7; }
.sc-dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.sc-ln { margin: 0; padding: 7px 0; display: flex; align-items: center; gap: 12px; color: #f2f0f7; }
.sc-ln code { font: inherit; } .sc-ln b { color: #fbbf24; font-weight: 400; }
.sc-ln .ok, .sc-ln .err { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: Inter, sans-serif; font-size: 12px; font-weight: 800; }
.sc-ln .ok { color: #34d399; background: rgba(52,211,153,.16); } .sc-ln .err { color: #f87171; background: rgba(248,113,113,.18); }
.sc-out { margin: 0 0 4px 34px; font-size: 13px; } .sc-out.red { color: #f87171; } .sc-out.green { color: #34d399; }
@media (max-width: 900px) { .sc-wrap { grid-template-columns: 1fr; } }

/* Videos fade in over their poster once the first frame is ready (lib/inview-video.js). */
html.vid-fade video.fade-in { opacity: 0; transition: opacity .35s ease; }
html.vid-fade video.fade-in.is-ready { opacity: 1; }
.exg-art.exg-art--video { background-size: cover; background-position: center; }

/* Discord as an icon in the top nav (label is on the link) */
.nav-discord a { justify-content: center; min-width: 44px; }
.nav-discord svg { display: block; width: 20px; height: 20px; }

/* Hero video opens larger on click (index.html #demo-lightbox, 2026-10-11). */
#demo-video { cursor: zoom-in; }
.demo-lightbox { width: min(1100px, 94vw); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.demo-lightbox::backdrop { background: rgba(5, 3, 10, .84); backdrop-filter: blur(4px); }
.demo-lightbox-video { display: block; width: 100%; height: auto; max-height: 78vh; border-radius: 16px; border: 1px solid rgba(167, 139, 250, .35); background: #0d0718; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.demo-lightbox-close { position: absolute; top: -46px; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(20, 14, 32, .92); color: #fff; cursor: pointer; }
.demo-lightbox-close:hover { background: rgba(40, 28, 64, .95); }
.demo-lightbox-cta { display: flex; justify-content: center; margin-top: 18px; }
