/* ═══════════════════════════════════════════════════════════
   KIMI CLAW — concept showcase
   "midnight ember" design system
   ═══════════════════════════════════════════════════════════ */

/* ── fonts (self-hosted, offline-safe) ── */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/fraunces-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/fraunces-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/jetbrainsmono-normal.woff2') format('woff2');
}

/* ── tokens ── */
:root {
  --bg: #06060b;
  --bg-2: #0b0b14;
  --bg-3: #10101c;
  --ink: #f4f1ea;
  --ink-dim: rgba(244, 241, 234, 0.62);
  --ink-faint: rgba(244, 241, 234, 0.38);
  --line: rgba(244, 241, 234, 0.10);
  --line-soft: rgba(244, 241, 234, 0.06);

  --coral: #ff6a3d;
  --coral-soft: #ff8f66;
  --ember: #ffb08a;
  --coral-deep: #c7431c;
  --coral-glow: rgba(255, 106, 61, 0.16);
  --gold: #f0c98a;
  --ok: #7ddba3;
  --bad: #8e8ea3;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.9s;

  --shell: min(1200px, 92vw);
  --radius: 20px;
  --radius-sm: 12px;
}

/* ── reset / base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--coral); color: #14060a; }

img, svg, canvas { display: block; max-width: 100%; }
svg use { pointer-events: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--coral-glow);
  border: 1px solid rgba(255, 106, 61, 0.22);
  border-radius: 6px;
  padding: 0.12em 0.45em;
  color: var(--ember);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 300;
  background: var(--coral);
  color: #14060a;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus-visible { top: 14px; }

/* thin ember scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a3a; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--coral-deep); }

/* ── scroll progress ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--coral-deep), var(--coral), var(--ember));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 210;
  pointer-events: none;
}

/* ── type scale ── */
.display {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 480;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 420;
  color: var(--coral-soft);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral-soft);
  margin-bottom: 1.4rem;
}
.eyebrow svg { width: 15px; height: 15px; fill: var(--coral); stroke: none; }
.lede {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-dim);
  max-width: 58ch;
  margin-top: 1.3rem;
  text-wrap: pretty;
}
.lede b { color: var(--ink); font-weight: 600; }

/* ── layout shells ── */
.section {
  position: relative;
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(90px, 13vh, 160px) 0;
}
.section-head { margin-bottom: clamp(48px, 7vh, 84px); max-width: 800px; }

/* ── reveal animation ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 clamp(18px, 4vw, 44px);
  height: 72px;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, border-color 0.4s, height 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  height: 60px;
  background: rgba(6, 6, 11, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line-soft);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav-mark {
  width: 30px; height: 30px;
  fill: var(--coral);
  filter: drop-shadow(0 0 12px rgba(255, 106, 61, 0.55));
  transition: transform 0.5s var(--ease-spring);
}
.nav-brand:hover .nav-mark { transform: rotate(-12deg) scale(1.08); }
.nav-word { font-size: 1.02rem; }
.nav-word b { font-family: var(--serif); font-style: italic; font-weight: 560; color: var(--coral-soft); }
.nav-links {
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
  margin-left: auto;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 0.86rem;
  color: var(--ink-dim);
  padding: 6px 2px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}
.nav-burger span:nth-child(1) { top: 16px; }
.nav-burger span:nth-child(2) { top: 24px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }
.nav-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(8, 8, 15, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 18px clamp(18px, 4vw, 44px) 26px;
  display: grid;
  gap: 4px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.nav-menu.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.nav-menu a {
  text-decoration: none;
  padding: 12px 4px;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line-soft);
  font-size: 1.05rem;
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 550;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 13px 26px;
  position: relative;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-solid {
  background: linear-gradient(160deg, var(--coral-soft), var(--coral) 55%, var(--coral-deep));
  color: #170708;
  box-shadow: 0 6px 28px -6px rgba(255, 106, 61, 0.55), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-solid:hover { box-shadow: 0 10px 36px -6px rgba(255, 106, 61, 0.75), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(244, 241, 234, 0.03);
}
.btn-ghost:hover { border-color: rgba(255, 106, 61, 0.5); color: var(--ember); background: var(--coral-glow); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn:active { transform: scale(0.97); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 130px 0 40px;
}
#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  z-index: 1;
  top: -20%; right: -10%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle at center, rgba(255, 106, 61, 0.13), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 1.6rem;
  text-wrap: balance;
}
.ht-line { display: block; }
.hero-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--ember), var(--coral) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ht-claw { position: relative; display: inline-block; white-space: nowrap; }
.ht-mark {
  position: absolute;
  top: -0.32em; right: -0.62em;
  width: 0.52em; height: 0.52em;
  fill: var(--coral);
  filter: drop-shadow(0 0 14px rgba(255, 106, 61, 0.7));
  animation: claw-bob 5s ease-in-out infinite;
}
@keyframes claw-bob {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-0.14em) rotate(4deg); }
}
.hero-sub {
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  max-width: 54ch;
  margin-bottom: 2.2rem;
  text-wrap: pretty;
}
.hero-sub b { color: var(--ember); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-fineprint {
  margin-top: 1.2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

/* orbit visual */
.hero-viz { display: flex; justify-content: center; }
.orbit-wrap {
  position: relative;
  width: min(420px, 80vw);
  aspect-ratio: 1;
}
.orbit-rings {
  position: absolute;
  inset: 0;
  animation: spin 90s linear infinite;
}
.orbit-rings .ring {
  fill: none;
  stroke: rgba(244, 241, 234, 0.10);
  stroke-width: 1;
}
.ring-dash {
  stroke-dasharray: 3 9 !important;
  stroke: rgba(255, 106, 61, 0.28) !important;
}
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-pivot {
  position: absolute;
  inset: 0;
  animation: spin linear infinite;
}
.orbit-a { animation-duration: 22s; }
.orbit-b { animation-duration: 34s; animation-direction: reverse; }
.orbit-c { animation-duration: 48s; }
.satellite {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
}
.sat-skill {
  width: 12px; height: 12px;
  margin: -6px;
  transform: translateX(96px);
  background: var(--coral);
  box-shadow: 0 0 16px 3px rgba(255, 106, 61, 0.7);
  animation: spin 22s linear infinite reverse;
}
.sat-mem {
  width: 9px; height: 9px;
  margin: -4.5px;
  transform: translateX(142px);
  background: var(--gold);
  box-shadow: 0 0 14px 3px rgba(240, 201, 138, 0.55);
  animation: spin 34s linear infinite;
}
.sat-task {
  width: 7px; height: 7px;
  margin: -3.5px;
  transform: translateX(186px);
  background: var(--ok);
  box-shadow: 0 0 12px 2px rgba(125, 219, 163, 0.55);
  animation: spin 48s linear infinite reverse;
}
.orbit-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 30%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}
.core-claw {
  width: 62%;
  fill: var(--coral);
  filter: drop-shadow(0 0 24px rgba(255, 106, 61, 0.8));
  animation: core-breathe 4.5s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
@keyframes core-breathe {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 18px rgba(255,106,61,0.65)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 34px rgba(255,106,61,0.95)); }
}
.core-ring {
  position: absolute;
  inset: -18%;
  border: 1px solid rgba(255, 106, 61, 0.35);
  border-radius: 50%;
  animation: ring-pulse 4.5s var(--ease-out) infinite;
}
.core-ring-2 { animation-delay: 2.25s; }
@keyframes ring-pulse {
  0% { transform: scale(0.72); opacity: 0; }
  25% { opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}
.status-pill {
  position: absolute;
  left: 50%;
  bottom: -6%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  background: rgba(11, 11, 20, 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
  animation: dot-blink 2.4s ease-in-out infinite;
}
@keyframes dot-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.status-clock { color: var(--ok); }

/* deploy strip */
.deploy-strip {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: clamp(40px, 7vh, 80px) auto 0;
}
.deploy-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.deploy-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.deploy-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(170deg, rgba(244,241,234,0.035), rgba(244,241,234,0.008));
  padding: 18px;
  display: grid;
  gap: 6px;
  align-content: start;
  transition: border-color 0.35s, background 0.35s, transform 0.35s var(--ease-spring);
}
.deploy-card svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--ink-dim);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 4px;
  transition: stroke 0.35s;
}
.deploy-card:hover { border-color: rgba(255, 106, 61, 0.4); }
.deploy-card.is-active {
  border-color: var(--coral);
  background: linear-gradient(170deg, rgba(255,106,61,0.12), rgba(255,106,61,0.03));
  box-shadow: 0 0 0 1px var(--coral), 0 12px 34px -14px rgba(255, 106, 61, 0.5);
}
.deploy-card.is-active svg { stroke: var(--coral-soft); }
.dc-name { font-weight: 600; font-size: 0.98rem; }
.dc-desc { font-size: 0.8rem; color: var(--ink-dim); line-height: 1.45; }
.deploy-panel {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 160% at 8% 0%, rgba(255, 106, 61, 0.09), transparent 55%),
    var(--bg-2);
  padding: clamp(22px, 3.4vw, 36px);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  overflow: hidden;
}
.dp-stage { position: relative; display: grid; place-items: center; height: 120px; }
.dp-chip {
  position: relative;
  z-index: 2;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(160deg, #1b1b2a, #0d0d16);
  border: 1px solid rgba(255, 106, 61, 0.45);
  display: grid;
  place-items: center;
  box-shadow: 0 0 30px -4px rgba(255, 106, 61, 0.4);
}
.dp-chip-icon {
  width: 30px; height: 30px;
  fill: none;
  stroke: var(--coral-soft);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dp-rings span {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(255, 106, 61, 0.25);
  border-radius: 50%;
  animation: ring-pulse 3s var(--ease-out) infinite;
}
.dp-rings span:nth-child(1) { width: 80px; height: 80px; margin: -40px; }
.dp-rings span:nth-child(2) { width: 80px; height: 80px; margin: -40px; animation-delay: 1s; }
.dp-rings span:nth-child(3) { width: 80px; height: 80px; margin: -40px; animation-delay: 2s; }
.dp-copy h3 {
  font-family: var(--serif);
  font-weight: 520;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.dp-copy p { color: var(--ink-dim); font-size: 0.96rem; max-width: 62ch; }
.dp-meta {
  margin-top: 0.7rem !important;
  font-family: var(--mono);
  font-size: 0.72rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-soft) !important;
}
.dp-copy.swap { animation: dp-swap 0.45s var(--ease-out); }
@keyframes dp-swap {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 0.3s;
}
.scroll-cue:hover { color: var(--coral-soft); }
.cue-line {
  width: 1px; height: 44px;
  background: linear-gradient(var(--coral), transparent);
  animation: cue-drop 2.2s var(--ease-out) infinite;
  transform-origin: top;
}
@keyframes cue-drop {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ═══════════ WHY / COMPARE ═══════════ */
.why .section-head { max-width: 860px; }
.compare {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 2.6vw, 34px);
  align-items: stretch;
}
.compare-hint {
  position: absolute;
  top: -34px; right: 4px;
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.compare-hint svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; transform: rotate(90deg); }
.compare-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.8vw, 32px);
  background: var(--bg-2);
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}
.compare-local { opacity: 0.75; }
.compare-cloud {
  border-color: rgba(255, 106, 61, 0.45);
  background:
    radial-gradient(130% 130% at 85% 0%, rgba(255, 106, 61, 0.10), transparent 55%),
    var(--bg-2);
  box-shadow: 0 30px 80px -40px rgba(255, 106, 61, 0.35);
}
.compare-col-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.compare-tag {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 540;
}
.tag-dim { color: var(--ink-faint); }
.tag-glow { color: var(--coral-soft); font-style: italic; }
.compare-sub {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.compare-list { list-style: none; display: grid; gap: 4px; }
.compare-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 10px;
  border-radius: 10px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s;
}
.compare-list li:last-child { border-bottom: 0; }
.compare-list li:hover { background: rgba(244, 241, 234, 0.03); }
.compare-list b { display: block; font-weight: 600; font-size: 0.96rem; }
.compare-list span { font-size: 0.82rem; color: var(--ink-dim); }
.compare-local b { color: var(--ink-dim); font-weight: 550; }
.ci {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 3px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ci-x { stroke: var(--bad); opacity: 0.7; }
.ci-check { stroke: var(--coral); filter: drop-shadow(0 0 6px rgba(255, 106, 61, 0.6)); }
.compare-divider {
  display: grid;
  place-items: center;
  position: relative;
  width: 44px;
}
.divider-line {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, rgba(255, 106, 61, 0.5) 30%, rgba(255, 106, 61, 0.5) 70%, transparent);
}
.divider-claw {
  position: relative;
  z-index: 2;
  width: 34px; height: 34px;
  fill: var(--coral);
  filter: drop-shadow(0 0 16px rgba(255, 106, 61, 0.8));
  animation: claw-bob 6s ease-in-out infinite;
}
/* hover sweep on desktop */
.compare:hover .compare-local { opacity: 0.55; transform: translateX(-6px); }
.compare:hover .compare-cloud { transform: translateX(6px); }
.compare:hover .compare-local:hover { opacity: 1; transform: none; }
.compare:hover .compare-cloud:hover { transform: none; }

/* stats */
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: clamp(50px, 8vh, 90px);
}
.stats li {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 26px 22px;
  background: linear-gradient(170deg, rgba(244,241,234,0.03), transparent);
  display: grid;
  gap: 6px;
}
.stat-num {
  font-family: var(--serif);
  font-weight: 480;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  color: var(--ember);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--ink-dim);
}

/* ═══════════ FEATURES ═══════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.fcard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(140% 120% at 100% 0%, rgba(255, 106, 61, 0.05), transparent 50%),
    var(--bg-2);
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
  position: relative;
  transition: border-color 0.4s, transform 0.5s var(--ease-out);
}
.fcard:hover { border-color: rgba(255, 106, 61, 0.35); }
.fcard-head { max-width: 560px; }
.fcard-icon {
  width: 34px; height: 34px;
  fill: none;
  stroke: var(--coral);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  padding: 7px;
  border: 1px solid rgba(255, 106, 61, 0.35);
  border-radius: 10px;
  background: var(--coral-glow);
  margin-bottom: 16px;
}
.fcard h3 {
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.fcard-head p { color: var(--ink-dim); font-size: 0.94rem; }
.fcard-personality { grid-column: span 7; }
.fcard-schedule { grid-column: span 5; grid-row: span 2; }
.fcard-skills { grid-column: span 7; }
.fcard-storage { grid-column: span 6; }
.fcard-search { grid-column: span 6; }

/* persona lab */
.persona-lab {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items: stretch;
}
.persona-controls {
  display: grid;
  gap: 18px;
  align-content: start;
}
.persona-field > span {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.persona-field input {
  width: 100%;
  background: rgba(244, 241, 234, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  padding: 10px 14px;
  transition: border-color 0.3s;
}
.persona-field input:focus { outline: none; border-color: var(--coral); }
.tone-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tone-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--ink-dim);
  transition: all 0.3s var(--ease-out);
}
.tone-chip:hover { border-color: rgba(255, 106, 61, 0.5); color: var(--ink); }
.tone-chip.is-active {
  background: var(--coral);
  border-color: var(--coral);
  color: #170708;
  font-weight: 600;
  box-shadow: 0 4px 18px -4px rgba(255, 106, 61, 0.6);
}
.persona-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  padding: 22px;
  display: grid;
  gap: 12px;
  align-content: start;
  position: relative;
}
.persona-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--coral-soft), var(--coral-deep));
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px -6px rgba(255, 106, 61, 0.6);
}
.persona-avatar svg { width: 26px; height: 26px; fill: #170708; }
.persona-line {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 420;
}
.persona-line b { color: var(--coral-soft); font-weight: 600; }
.persona-line.swap { animation: dp-swap 0.5s var(--ease-out); }
.persona-meta {
  font-size: 0.76rem;
  color: var(--ink-faint);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

/* schedule lab — phone + chat */
.schedule-lab {
  margin-top: 26px;
  display: grid;
  gap: 18px;
  justify-items: center;
}
.phone-frame {
  width: min(340px, 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #08080f;
  padding: 14px 14px 16px;
  position: relative;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(244,241,234,0.04);
}
.phone-notch {
  width: 90px; height: 5px;
  border-radius: 3px;
  background: rgba(244, 241, 234, 0.14);
  margin: 2px auto 12px;
}
.chat-window {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--bg-2);
  min-height: 330px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-clock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-faint);
}
.chat-clock { color: var(--gold); font-size: 0.8rem; }
.chat-feed {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-feed .bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  animation: bubble-in 0.45s var(--ease-spring) forwards;
}
@keyframes bubble-in { to { opacity: 1; transform: none; } }
.bubble-user {
  align-self: flex-end;
  background: rgba(244, 241, 234, 0.08);
  border: 1px solid var(--line);
  border-bottom-right-radius: 4px;
  color: var(--ink-dim);
}
.bubble-bot {
  align-self: flex-start;
  background: linear-gradient(160deg, rgba(255, 106, 61, 0.16), rgba(255, 106, 61, 0.06));
  border: 1px solid rgba(255, 106, 61, 0.3);
  border-bottom-left-radius: 4px;
}
.bubble-bot b { color: var(--ember); }
.bubble-doc {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
  background: rgba(6, 6, 11, 0.5);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 0.68rem;
}
.bubble-doc svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.bubble-doc small { display: block; color: var(--ink-faint); }
.typing {
  align-self: flex-start;
  display: flex;
  gap: 5px;
  padding: 12px 16px;
  background: rgba(255, 106, 61, 0.08);
  border: 1px solid rgba(255, 106, 61, 0.2);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}
.typing i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--coral-soft);
  animation: typing 1.1s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%,100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.chat-timerow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ok);
}
.chat-timerow svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.chat-fire {
  margin-top: 14px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 106, 61, 0.5);
  border-radius: 14px;
  padding: 13px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ember);
  background: var(--coral-glow);
  transition: background 0.3s, transform 0.2s var(--ease-spring);
}
.chat-fire:hover { background: rgba(255, 106, 61, 0.24); }
.chat-fire:active { transform: scale(0.97); }
.chat-fire svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.chat-fire[disabled] { opacity: 0.5; cursor: wait; }
.schedule-templates {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.schedule-templates li {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(244, 241, 234, 0.02);
}

/* skills chain */
.skills-lab { margin-top: 26px; }
.skills-ask {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-dim);
  margin-bottom: 20px;
}
.chain {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.chain-node {
  flex: 1 0 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  padding: 16px 14px;
  display: grid;
  gap: 3px;
  justify-items: start;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.chain-node svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--ink-dim);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 6px;
  transition: stroke 0.3s;
}
.chain-node b { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; }
.chain-node span { font-size: 0.72rem; color: var(--ink-faint); }
.chain-status {
  position: absolute;
  top: 10px; right: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(244, 241, 234, 0.15);
  transition: background 0.3s, box-shadow 0.3s;
}
.chain-node.is-running { border-color: var(--gold); box-shadow: 0 0 24px -6px rgba(240, 201, 138, 0.5); }
.chain-node.is-running .chain-status { background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: dot-blink 0.8s infinite; }
.chain-node.is-done { border-color: rgba(255, 106, 61, 0.55); }
.chain-node.is-done svg { stroke: var(--coral-soft); }
.chain-node.is-done .chain-status { background: var(--coral); box-shadow: 0 0 8px rgba(255, 106, 61, 0.8); }
.chain-link {
  flex: 0 0 34px;
  display: grid;
  place-items: center;
}
.chain-link span {
  width: 100%; height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
  display: block;
}
.chain-link.is-live span::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  animation: link-flow 0.7s linear infinite;
}
@keyframes link-flow { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.chain-foot {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.chain-count { font-size: 0.8rem; color: var(--ink-dim); }
.chain-count b { color: var(--ember); font-family: var(--serif); font-size: 1.05rem; }

/* storage */
.storage-lab {
  margin-top: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
}
.gauge { position: relative; width: 160px; }
.gauge-track, .gauge-fill {
  fill: none;
  stroke-linecap: round;
  stroke-width: 9;
}
.gauge-track { stroke: rgba(244, 241, 234, 0.08); }
.gauge-fill {
  stroke: var(--coral);
  stroke-dasharray: 201;
  stroke-dashoffset: 201;
  filter: drop-shadow(0 0 8px rgba(255, 106, 61, 0.6));
  transition: stroke-dashoffset 1.6s var(--ease-out);
}
.gauge.is-on .gauge-fill { stroke-dashoffset: 24; }
.gauge-label {
  position: absolute;
  inset: auto 0 6px;
  text-align: center;
  font-size: 0.66rem;
  color: var(--ink-faint);
  display: grid;
}
.gauge-label b {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 480;
  color: var(--ink);
  line-height: 1;
}
.gauge-label b::after { content: ''; }
.version-stack { display: grid; gap: 8px; }
.vs-card {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--bg-3);
  font-size: 0.8rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.vs-card svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.vs-card b { display: block; font-family: var(--mono); font-size: 0.74rem; font-weight: 600; }
.vs-card span { color: var(--ink-faint); font-size: 0.72rem; }
.vs-1 { border-color: rgba(255, 106, 61, 0.45); box-shadow: 0 8px 24px -12px rgba(255, 106, 61, 0.4); }
.vs-2 { opacity: 0.62; transform: translateX(10px) scale(0.98); }
.vs-3 { opacity: 0.38; transform: translateX(20px) scale(0.96); }
.version-stack:hover .vs-card { transform: none; opacity: 1; }

/* search */
.search-lab { margin-top: 26px; display: grid; gap: 14px; }
.searchbar {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 106, 61, 0.4);
  border-radius: 999px;
  padding: 13px 20px;
  background: var(--bg-3);
  box-shadow: 0 0 0 1px rgba(255, 106, 61, 0.12), 0 14px 40px -20px rgba(255, 106, 61, 0.5);
}
.searchbar svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--coral-soft); stroke-width: 1.8; stroke-linecap: round; }
.searchbar-query { font-size: 0.92rem; color: var(--ink); white-space: nowrap; overflow: hidden; }
.caret {
  width: 2px; height: 1.1em;
  background: var(--coral);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 0%,55% { opacity: 1; } 56%,100% { opacity: 0; } }
.search-sources { display: grid; gap: 8px; }
.source-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.8rem;
  background: rgba(244, 241, 234, 0.02);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.search-lab.is-on .source-chip { opacity: 1; transform: none; }
.search-lab.is-on .source-chip:nth-child(1) { transition-delay: 0.1s; }
.search-lab.is-on .source-chip:nth-child(2) { transition-delay: 0.25s; }
.search-lab.is-on .source-chip:nth-child(3) { transition-delay: 0.4s; }
.source-chip b { display: block; font-size: 0.8rem; font-weight: 600; }
.source-chip span { color: var(--ink-faint); font-size: 0.72rem; }
.src-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.src-fin { background: var(--gold); box-shadow: 0 0 8px rgba(240, 201, 138, 0.7); }
.src-acad { background: var(--coral-soft); box-shadow: 0 0 8px rgba(255, 143, 102, 0.7); }
.src-news { background: var(--ok); box-shadow: 0 0 8px rgba(125, 219, 163, 0.7); }

/* ═══════════ SETUP ═══════════ */
.setup { position: relative; }
.setup-sticky-head {
  position: sticky;
  top: 78px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  pointer-events: none;
  background: rgba(6, 6, 11, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 8px 16px;
}
.ssh-claw { width: 20px; height: 20px; fill: var(--coral); opacity: 0.8; }
.setup-rail { display: grid; gap: clamp(60px, 10vh, 110px); padding-top: 60px; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(18px, 3.4vw, 44px);
  opacity: 0.35;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.step.is-in { opacity: 1; transform: none; }
.step-index {
  display: grid;
  justify-items: center;
  gap: 10px;
  align-content: start;
}
.step-index b {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 2rem;
  color: var(--coral-soft);
  line-height: 1;
}
.step-line {
  width: 1px;
  flex: 1;
  min-height: 60px;
  background: linear-gradient(rgba(255, 106, 61, 0.5), transparent);
}
.step-body { max-width: 720px; }
.step-body h3 {
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.step-body > p { color: var(--ink-dim); max-width: 60ch; }
.step-body > p b { color: var(--ink); }

/* create demo */
.deploy-demo {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.demo-progress {
  display: grid;
  gap: 6px;
  min-width: 220px;
  flex: 1;
  max-width: 340px;
}
.demo-bar {
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  position: relative;
  overflow: hidden;
  display: block;
}
.demo-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--coral-deep), var(--coral));
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  transition: transform 0.2s linear;
  border-radius: 3px;
}
.demo-step {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.demo-progress.is-done .demo-step { color: var(--ok); }

/* prompt chips */
.chip-col { display: grid; gap: 12px; margin-top: 22px; }
.prompt-chip {
  position: relative;
  display: grid;
  gap: 6px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(170deg, rgba(244, 241, 234, 0.035), rgba(244, 241, 234, 0.008));
  padding: 16px 54px 16px 18px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-spring);
}
.step-body > .prompt-chip { margin-top: 22px; }
.prompt-chip:hover { border-color: rgba(255, 106, 61, 0.5); background: var(--coral-glow); }
.chip-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral-soft);
}
.chip-text {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
}
.chip-action {
  position: absolute;
  top: 14px; right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 0.3s;
}
.chip-action svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.prompt-chip:hover .chip-action { color: var(--ember); }
.prompt-chip.is-copied { border-color: var(--ok); }
.prompt-chip.is-copied .chip-action { color: var(--ok); }

/* ═══════════ USE CASES ═══════════ */
.uc-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  border-radius: var(--radius);
}
.uc-viewport::-webkit-scrollbar { display: none; }
.uc-viewport.is-drag { cursor: grabbing; scroll-snap-type: none; }
.uc-track {
  display: flex;
  gap: 16px;
  padding: 4px;
  width: max-content;
}
.uc-card {
  width: min(400px, 82vw);
  flex: none;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(255, 106, 61, 0.07), transparent 55%),
    var(--bg-2);
  padding: clamp(24px, 3vw, 34px);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  align-content: start;
  transition: border-color 0.4s, transform 0.5s var(--ease-out);
}
.uc-card:hover { border-color: rgba(255, 106, 61, 0.4); transform: translateY(-6px); }
.uc-num {
  position: absolute;
  top: 8px; right: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 4.6rem;
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 106, 61, 0.3);
  line-height: 1;
  pointer-events: none;
}
.uc-icon {
  width: 40px; height: 40px;
  fill: none;
  stroke: var(--coral);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  padding: 9px;
  border: 1px solid rgba(255, 106, 61, 0.35);
  border-radius: 12px;
  background: var(--coral-glow);
}
.uc-card h3 {
  font-family: var(--serif);
  font-weight: 520;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  max-width: 85%;
}
.uc-card > p { color: var(--ink-dim); font-size: 0.92rem; }
.uc-flow {
  list-style: none;
  display: grid;
  gap: 6px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}
.uc-flow li {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-dim);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.uc-flow li::before {
  content: '▸';
  color: var(--coral);
  flex: none;
}
.uc-tag {
  justify-self: start;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-soft);
  border: 1px solid rgba(255, 106, 61, 0.35);
  border-radius: 999px;
  padding: 5px 12px;
}
.uc-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}
.uc-dot {
  width: 26px; height: 4px;
  border-radius: 3px;
  background: rgba(244, 241, 234, 0.14);
  transition: background 0.3s, width 0.3s var(--ease-out);
}
.uc-dot.is-active { background: var(--coral); width: 40px; }

/* ═══════════ FAQ ═══════════ */
.faq-list { max-width: 780px; display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color 0.35s;
}
.faq-item[open] { border-color: rgba(255, 106, 61, 0.4); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 550;
  font-size: 1.02rem;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--ember); }
.faq-chev { flex: none; display: grid; place-items: center; }
.faq-chev svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: var(--coral-soft);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease-out);
}
.faq-item[open] .faq-chev svg { transform: rotate(180deg); }
.faq-body { padding: 0 22px; overflow: hidden; }
.faq-body p {
  color: var(--ink-dim);
  font-size: 0.94rem;
  padding-bottom: 22px;
  max-width: 62ch;
}
.faq-body b { color: var(--ink); }

/* ═══════════ CTA ═══════════ */
.cta {
  text-align: center;
  overflow: hidden;
}
.cta-inner {
  position: relative;
  border: 1px solid rgba(255, 106, 61, 0.3);
  border-radius: calc(var(--radius) * 1.6);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(255, 106, 61, 0.13), transparent 60%),
    var(--bg-2);
  padding: clamp(60px, 10vh, 110px) clamp(24px, 6vw, 80px);
  display: grid;
  justify-items: center;
  gap: 1.4rem;
}
.cta-claw {
  width: 64px; height: 64px;
  fill: var(--coral);
  filter: drop-shadow(0 0 30px rgba(255, 106, 61, 0.8));
  animation: core-breathe 4.5s ease-in-out infinite;
}
.cta-inner .lede { margin: 0 auto; }
.cta-constellation .ct-star {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px 2px rgba(255, 176, 138, 0.6);
  animation: dot-blink 3s ease-in-out infinite;
}
.ct-1 { top: 12%; left: 8%; }
.ct-2 { top: 22%; right: 12%; animation-delay: 0.7s; }
.ct-3 { bottom: 30%; left: 14%; animation-delay: 1.3s; background: var(--gold); }
.ct-4 { top: 40%; left: 4%; animation-delay: 2s; }
.ct-5 { bottom: 18%; right: 8%; animation-delay: 0.4s; background: var(--gold); }
.ct-6 { top: 8%; right: 30%; animation-delay: 1.7s; }

/* ═══════════ FOOTER ═══════════ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(50px, 8vh, 80px) 0 30px;
}
.footer-grid {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: clamp(28px, 5vw, 70px);
}
.footer-brand .nav-mark { width: 34px; height: 34px; margin-bottom: 14px; }
.footer-brand p {
  font-size: 0.82rem;
  color: var(--ink-faint);
  max-width: 46ch;
  line-height: 1.7;
}
.footer-brand a, .footer-col a { color: var(--ink-dim); text-decoration: none; transition: color 0.3s; }
.footer-brand a:hover, .footer-col a:hover { color: var(--coral-soft); }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 0.86rem; }
.footer-col b {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.footer-base {
  width: var(--shell);
  margin: 44px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-faint);
}
.footer-uptime b { color: var(--ok); font-weight: 500; }

/* ═══════════ TOAST ═══════════ */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 250;
  background: rgba(11, 11, 20, 0.92);
  border: 1px solid rgba(255, 106, 61, 0.5);
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 0.84rem;
  color: var(--ember);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-viz { order: -1; }
  .orbit-wrap { width: min(320px, 74vw); }
  .deploy-cards { grid-template-columns: repeat(2, 1fr); }
  .fcard-personality, .fcard-skills { grid-column: span 12; }
  .fcard-schedule { grid-column: span 12; grid-row: auto; }
  .fcard-storage, .fcard-search { grid-column: span 12; }
  .persona-lab { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .nav-burger { display: block; }
  .nav-menu:not(.is-open) { display: grid; } /* keep off-canvas but animated */
  .hero { padding-top: 110px; }
  .compare { grid-template-columns: 1fr; }
  .compare-divider {
    width: 100%;
    height: 44px;
  }
  .divider-line {
    top: auto; bottom: auto;
    left: 0; right: 0;
    width: auto; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 61, 0.5) 30%, rgba(255, 106, 61, 0.5) 70%, transparent);
  }
  .compare:hover .compare-local { opacity: 0.75; transform: none; }
  .compare:hover .compare-cloud { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .deploy-cards { grid-template-columns: 1fr; }
  .deploy-panel { grid-template-columns: 1fr; }
  .dp-stage { height: 90px; }
  .step { grid-template-columns: 52px 1fr; }
  .step-index b { font-size: 1.4rem; }
  .step-line { min-height: 40px; }
  .storage-lab { grid-template-columns: 1fr; justify-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .uc-card { width: 84vw; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  #stars { display: none; }
  .step { opacity: 1; transform: none; }
  .compare:hover .compare-local { opacity: 0.75; transform: none; }
  .compare:hover .compare-cloud { transform: none; }
}
