/* ============ Voxa website ============ */
:root {
  --bg: #070b14;
  --bg-alt: #0a101d;
  --panel: #0e1524;
  --panel-2: #121a2c;
  --line: rgba(140, 170, 230, 0.14);
  --text: #dbe4f5;
  --muted: #8b98b4;
  --ember: #ffa040;
  --ember-soft: rgba(255, 160, 64, 0.14);
  --violet: #8b7cf6;
  --violet-soft: rgba(139, 124, 246, 0.15);
  --hot: #ffd9a8;
  --radius: 16px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 0.6em; }
h3 { font-size: 1.22rem; margin-bottom: 0.45em; }
p { margin-bottom: 1em; }
a { color: var(--hot); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
code {
  font-family: var(--font-mono); font-size: 0.86em;
  background: var(--violet-soft); border: 1px solid var(--line);
  padding: 0.1em 0.4em; border-radius: 6px; color: #c9c2ff;
}
em { color: var(--hot); font-style: italic; }
strong { color: #f2f6ff; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.center { text-align: center; }
.center.sub, .sub { color: var(--muted); max-width: 760px; margin-left: auto; margin-right: auto; }
.kicker {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--ember); margin-bottom: 0.9em;
}
.only-wide { display: none; }
@media (min-width: 900px) { .only-wide { display: inline; } }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.6rem;
  padding: 0.75rem clamp(1rem, 4vw, 2.6rem);
  background: rgba(7, 11, 20, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none !important; }
.nav-word { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.18em; color: var(--text); }
.nav-orb {
  position: relative; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(255, 160, 64, 0.5);
  display: grid; place-items: center;
  animation: navspin 9s linear infinite;
}
.nav-orb-core {
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle, #fff2df, var(--ember) 60%, transparent);
  box-shadow: 0 0 12px 3px rgba(255, 160, 64, 0.65);
  animation: breathe 3.2s ease-in-out infinite;
}
@keyframes navspin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.22); } }
.nav-links { display: flex; gap: 1.25rem; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--hot); text-decoration: none; }
.nav-cta { display: flex; gap: 0.6rem; }
.nav-burger { display: none; }
.icon-link {
  width: 38px; height: 38px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px;
  color: var(--text); background: rgba(255, 255, 255, 0.03);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.icon-link svg { width: 18px; height: 18px; fill: currentColor; }
.icon-link:hover {
  transform: translateY(-2px); text-decoration: none;
  border-color: rgba(255, 160, 64, 0.45);
  box-shadow: 0 8px 26px rgba(255, 160, 64, 0.12);
}
@media (max-width: 960px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; padding: 1rem 2rem 1.4rem;
    background: rgba(7, 11, 20, 0.97); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-cta { margin-left: auto; }
  .nav-burger {
    display: flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px;
  }
  .nav-burger span { width: 22px; height: 2px; background: var(--muted); border-radius: 2px; }
}
@media (max-width: 640px) {
  .nav { gap: 0.9rem; }
  .nav-cta { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.78rem 1.5rem; border-radius: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  text-decoration: none !important; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
}
.btn svg { width: 1.08em; height: 1.08em; fill: currentColor; flex: 0 0 auto; }
.btn-sm { padding: 0.48rem 0.95rem; font-size: 0.85rem; }
.btn-primary {
  color: #1a0e00; background: linear-gradient(135deg, #ffc37a, var(--ember));
  box-shadow: 0 4px 24px rgba(255, 160, 64, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 34px rgba(255, 160, 64, 0.5); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(255, 160, 64, 0.45); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem;
  align-items: center; max-width: 1200px; margin: 0 auto; padding: 5rem clamp(1rem, 4vw, 2.6rem) 3rem;
}
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; text-align: center; } .hero-actions { justify-content: center; } .hero-badges { justify-content: center; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 100px; padding: 0.35rem 0.9rem; margin-bottom: 1.4rem;
  background: rgba(255, 255, 255, 0.02);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 rgba(255, 160, 64, 0.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 160, 64, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 160, 64, 0); } }
.hero h1 em { font-style: italic; color: var(--ember); }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin: 1.2rem 0 1.8rem; }
@media (max-width: 960px) { .lede { margin-inline: auto; } }
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; list-style: none; margin-top: 1.9rem; color: var(--muted); font-size: 0.86rem; }
.hero-orb { text-align: center; }
#heroOrb { width: min(100%, 480px); height: auto; filter: drop-shadow(0 0 60px rgba(255, 160, 64, 0.12)); }
.orb-caption { font-size: 0.82rem; color: var(--muted); margin-top: -0.6rem; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%);
  color: var(--muted); font-size: 1.3rem; text-decoration: none !important;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-inner { max-width: 1140px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.6rem); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.settings-split { margin-top: clamp(3rem, 6vw, 5rem); }

/* ---------- screenshots ---------- */
.shot {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--panel); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.shot:hover { transform: translateY(-5px) scale(1.008); box-shadow: 0 34px 90px rgba(0, 0, 0, 0.65), 0 0 60px rgba(255, 160, 64, 0.07); }
.shot img { width: 100%; }
.shot figcaption { padding: 0.8rem 1.1rem; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); }
.shot.wide { margin: clamp(2.5rem, 5vw, 4rem) 0; }

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.6rem; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem; overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(255, 160, 64, 0.55), transparent 40%, transparent 60%, rgba(139, 124, 246, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s ease;
}
.card:hover { transform: translateY(-6px); }
.card:hover::before { opacity: 1; }
.card-icon { font-size: 1.9rem; margin-bottom: 0.7rem; filter: drop-shadow(0 0 14px rgba(255, 160, 64, 0.35)); }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- cinema (video) ---------- */
.cinema { position: relative; min-height: 74vh; display: grid; place-items: center; overflow: hidden; }
.cinema-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.cinema-scrim { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(7, 11, 20, 0.15), rgba(7, 11, 20, 0.92) 78%), linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%); }
.cinema-copy { position: relative; text-align: center; max-width: 700px; padding: 6rem 1.5rem; }
.cinema-copy h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.8); }
.cinema-copy p { color: #c4d0e6; font-size: 1.12rem; text-shadow: 0 1px 18px rgba(0, 0, 0, 0.8); }
.cinema-credit { font-size: 0.75rem !important; color: var(--muted) !important; font-family: var(--font-mono); margin-top: 2.2rem; }

/* ---------- architecture ---------- */
.arch {
  display: flex; align-items: stretch; justify-content: center; gap: 0;
  margin-top: 3rem; flex-wrap: wrap;
}
.arch-node {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.1rem 1.3rem; text-align: center; min-width: 150px;
}
.arch-node small { color: var(--muted); font-size: 0.72rem; font-family: var(--font-mono); }
.arch-emoji { font-size: 1.6rem; }
.arch-you { align-self: center; }
.arch-model { align-self: center; border-color: rgba(139, 124, 246, 0.4); box-shadow: 0 0 40px rgba(139, 124, 246, 0.1); }
.arch-box {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  border: 1px dashed rgba(255, 160, 64, 0.4); border-radius: 20px;
  padding: 2.2rem 1.6rem 1.4rem; background: rgba(255, 160, 64, 0.03);
}
.arch-local-label {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; white-space: nowrap;
  color: var(--ember); background: var(--bg); padding: 0.15rem 0.8rem; border: 1px solid rgba(255, 160, 64, 0.4); border-radius: 100px;
}
.arch-orb { border-color: rgba(255, 160, 64, 0.5); box-shadow: 0 0 40px rgba(255, 160, 64, 0.12); }
.arch-children { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; max-width: 380px; }
.arch-chip {
  font-size: 0.78rem; font-family: var(--font-mono); color: var(--muted);
  border: 1px solid var(--line); border-radius: 100px; padding: 0.3rem 0.75rem; background: var(--panel);
}
.arch-chip small { color: var(--ember); }
.arch-flow { position: relative; display: flex; align-items: center; min-width: 66px; min-height: 34px; }
.arch-flow.flow-2 { min-width: 0; min-height: 30px; flex-direction: column; }
.flow-dot {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 10px 2px rgba(255, 160, 64, 0.55);
  animation: flowx 2.1s linear infinite;
}
.flow-dot.d2 { animation-delay: 0.7s; }
.flow-dot.d3 { animation-delay: 1.4s; }
.flow-2 .flow-dot { animation-name: flowy; }
.flow-3 .flow-dot { background: var(--violet); box-shadow: 0 0 10px 2px rgba(139, 124, 246, 0.55); }
@keyframes flowx { from { left: 4%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: 92%; opacity: 0; } }
@keyframes flowy { from { top: 4%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: 80%; opacity: 0; } }
.arch-flow::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--line); }
.arch-flow.flow-2::before { left: 50%; top: 0; bottom: 0; right: auto; border-top: 0; border-left: 1px dashed var(--line); }
@media (max-width: 900px) {
  .arch { flex-direction: column; align-items: center; gap: 0.4rem; }
  .arch-flow, .arch-flow.flow-1, .arch-flow.flow-3 { min-width: 0; min-height: 40px; flex-direction: column; }
  .arch-flow::before { left: 50%; top: 0; bottom: 0; right: auto; border-top: 0; border-left: 1px dashed var(--line); }
  .arch-flow .flow-dot { animation-name: flowy; }
}
.arch-legend { display: flex; gap: 1.6rem; justify-content: center; margin-top: 1.8rem; flex-wrap: wrap; color: var(--muted); font-size: 0.82rem; font-family: var(--font-mono); }
.leg { display: inline-block; width: 22px; height: 4px; border-radius: 2px; margin-right: 0.45rem; vertical-align: middle; }
.leg-voice { background: var(--ember); }
.leg-tools { background: var(--violet); }
.leg-http { background: var(--muted); }

/* ---------- steps ---------- */
.steps { list-style: none; max-width: 820px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 2.2rem; }
.step { display: grid; grid-template-columns: 58px 1fr; gap: 1.3rem; }
.step-num {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--ember);
  border: 1px solid rgba(255, 160, 64, 0.45); background: var(--ember-soft);
  box-shadow: 0 0 26px rgba(255, 160, 64, 0.15);
}
.step-body p { color: var(--muted); }
.tip {
  border: 1px solid rgba(255, 160, 64, 0.35); border-radius: 12px; background: var(--ember-soft);
  padding: 0.85rem 1.1rem; font-size: 0.92rem; margin-top: 0.9rem;
}
.repo-callout { margin: 1.4rem 0 0; }
.repo-link {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-head); font-weight: 600; color: var(--text);
  border: 1px solid rgba(255, 160, 64, 0.38); border-radius: 100px;
  padding: 0.54rem 1.05rem; background: rgba(255, 160, 64, 0.08);
  box-shadow: 0 0 28px rgba(255, 160, 64, 0.08);
}
.repo-link svg { width: 1.05em; height: 1.05em; fill: currentColor; }
.repo-link:hover {
  color: var(--hot); text-decoration: none;
  border-color: rgba(255, 160, 64, 0.58);
  transform: translateY(-1px);
}

/* ---------- code blocks ---------- */
.codeblock {
  position: relative; background: #0a0f1c; border: 1px solid var(--line); border-radius: 12px;
  margin: 0.9rem 0; overflow: hidden;
}
.codeblock pre { padding: 1.05rem 1.2rem; overflow-x: auto; }
.codeblock code {
  background: none; border: 0; padding: 0; color: #cfd9ee;
  font-family: var(--font-mono); font-size: 0.83rem; line-height: 1.7;
}
.codeblock .c { color: #5b6b8c; }
.codeblock .s { color: #ffc37a; }
.codeblock .k { color: #a99cff; }
.codeblock .f { color: #7dd3fc; }
.codeblock.tall pre { max-height: 560px; overflow: auto; }
.copy {
  position: absolute; top: 0.55rem; right: 0.6rem; z-index: 2;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted);
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.28rem 0.7rem; cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.copy:hover { color: var(--hot); border-color: rgba(255, 160, 64, 0.45); }
.copy.done { color: #7ce38b; border-color: rgba(124, 227, 139, 0.5); }
.center-block { max-width: 640px; margin: 2.2rem auto 0; }

/* ---------- chat bubbles ---------- */
.say-pair { display: flex; flex-direction: column; gap: 0.55rem; max-width: 480px; }
.bubble {
  padding: 0.65rem 1.05rem; border-radius: 16px; font-size: 0.95rem; width: fit-content; max-width: 100%;
}
.bubble.you { background: var(--panel-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.voxa {
  align-self: flex-end; border-bottom-right-radius: 4px;
  background: linear-gradient(135deg, rgba(255, 160, 64, 0.16), rgba(139, 124, 246, 0.14));
  border: 1px solid rgba(255, 160, 64, 0.3);
}
.bubble.big { font-size: 1.05rem; margin: 0.9rem 0; }

/* ---------- try line ---------- */
.tryline {
  display: flex; align-items: center; gap: 0.8rem; justify-content: center;
  max-width: 720px; margin: 2.4rem auto 3rem; padding: 1.1rem 1.6rem;
  border: 1px solid var(--line); border-radius: 100px; background: var(--panel);
  box-shadow: 0 0 50px rgba(255, 160, 64, 0.06) inset;
  font-family: var(--font-head); font-size: clamp(0.95rem, 2vw, 1.15rem);
}
.tryline-mic { font-size: 1.35rem; animation: breathe 2.6s ease-in-out infinite; }
.tryline-text { color: var(--hot); min-height: 1.4em; }
.tryline-caret { width: 2px; height: 1.15em; background: var(--ember); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- agent grid ---------- */
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 980px) { .agent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .agent-grid { grid-template-columns: 1fr; } }
.agent-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem; transition: transform 0.3s, border-color 0.3s;
}
.agent-card:hover { transform: translateY(-5px); border-color: rgba(139, 124, 246, 0.45); }
.agent-say { color: var(--hot); font-style: italic; font-size: 0.9rem; }
.agent-card p:last-child { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- tabs ---------- */
.tabs { margin-top: 2.8rem; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); overflow: hidden; }
.tab-bar { display: flex; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); overflow-x: auto; }
.tab {
  flex: 1; padding: 1rem 1.2rem; background: none; border: 0; cursor: pointer; white-space: nowrap;
  color: var(--muted); font-family: var(--font-head); font-size: 0.95rem; font-weight: 600;
  border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--ember); border-bottom-color: var(--ember); }
.tab-panel { display: none; padding: clamp(1.4rem, 3.5vw, 2.6rem); }
.tab-panel.active { display: block; animation: panelin 0.45s ease; }
@keyframes panelin { from { opacity: 0; transform: translateY(10px); } }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.panel-grid.wide-code { grid-template-columns: 0.9fr 1.1fr; }
@media (max-width: 900px) { .panel-grid, .panel-grid.wide-code { grid-template-columns: 1fr; } }
.panel-grid p { color: var(--muted); }
.rules { margin: 0.6rem 0 0 1.2rem; color: var(--muted); font-size: 0.92rem; display: flex; flex-direction: column; gap: 0.5rem; }
h4 { margin-top: 1.4rem; color: var(--text); }

/* ---------- forge animation ---------- */
.forge-anim { display: grid; place-items: center; min-height: 280px; }
.forge-stage { display: flex; flex-direction: column; gap: 0.7rem; width: 100%; max-width: 360px; }
.forge-line {
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 0.9rem; background: var(--bg);
  opacity: 0; transform: translateX(-14px);
  animation: forgein 7s ease-in-out infinite;
}
.forge-line.l1 { animation-delay: 0s; }
.forge-line.l2 { animation-delay: 0.9s; }
.forge-line.l3 { animation-delay: 1.8s; }
.forge-line.l4 { animation-delay: 2.7s; color: var(--hot); border-color: rgba(255, 160, 64, 0.4); }
.forge-line.l5 { animation-delay: 3.6s; color: #7ce38b; border-color: rgba(124, 227, 139, 0.35); }
@keyframes forgein {
  0% { opacity: 0; transform: translateX(-14px); }
  8%, 78% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateX(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .forge-line, .flow-dot, .tryline-mic, .nav-orb, .scroll-hint { animation: none !important; opacity: 1; transform: none; }
}

/* ---------- connector gallery ---------- */
.gallery-title { margin-top: 3.2rem; }
.conn-gallery { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1.6rem; }
.conn {
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--text);
  border: 1px solid var(--line); border-radius: 100px; padding: 0.45rem 1rem; background: var(--panel);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; cursor: default;
}
.conn:hover { transform: translateY(-3px) scale(1.04); border-color: rgba(255, 160, 64, 0.5); box-shadow: 0 6px 22px rgba(255, 160, 64, 0.12); }

/* ---------- skin lab ---------- */
.skinlab {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  border: 1px solid var(--line); border-radius: 24px; background: var(--panel);
  padding: clamp(1.4rem, 3.5vw, 2.6rem); margin: 2.8rem 0;
}
@media (max-width: 860px) { .skinlab { grid-template-columns: 1fr; justify-items: center; } }
.skinlab-orb { text-align: center; }
#labOrb { width: min(72vw, 380px); height: auto; }
.skinlab-voice { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); }
.skinlab-voice strong { color: var(--hot); }
.skinlab-hint { font-size: 0.75rem; color: var(--muted); opacity: 0.7; margin-top: -0.6em; }
.skinlab-controls h4 { margin: 0 0 0.7rem; }
.skinlab-controls h4 + .chipset { margin-bottom: 1.6rem; }
.chipset { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 100px; padding: 0.4rem 0.95rem;
  background: var(--bg); cursor: pointer; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.chip:hover { color: var(--text); transform: translateY(-2px); }
.chip.active { color: var(--hot); border-color: rgba(255, 160, 64, 0.55); background: var(--ember-soft); }
.chip .swatch { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; margin-top: 2.4rem; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: var(--panel); min-width: 640px; }
th, td { text-align: left; padding: 0.95rem 1.3rem; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
th { font-family: var(--font-head); color: var(--ember); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td { color: var(--muted); }
td:first-child { color: var(--text); white-space: nowrap; }

/* ---------- ticks ---------- */
.ticks { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; color: var(--muted); }
.ticks li { padding-left: 1.7rem; position: relative; }
.ticks li::before { content: "✦"; position: absolute; left: 0; color: var(--ember); }

/* ---------- finale + footer ---------- */
.finale { position: relative; text-align: center; padding: clamp(4rem, 9vw, 7rem) 1.5rem; overflow: hidden; }
.finale > canvas { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0.33; pointer-events: none; }
.finale h2, .finale p, .finale .hero-actions { position: relative; }
.finale p { color: var(--muted); max-width: 640px; margin: 0 auto 1.8rem; }
.footer { border-top: 1px solid var(--line); padding: 1.6rem 0; }
.footer-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.6rem);
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 0.84rem;
}
.footer-logo { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.22em; color: var(--text); }
.footer nav a { color: var(--muted); }
.footer nav a:hover { color: var(--hot); }
