:root {
  --bg: #0a0618;
  --bg-deep: #06030f;
  --bg-soft: #120a26;
  --panel: #1a1230;
  --panel-2: #221a3a;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ecedf2;
  --muted: #9a93b3;
  --muted-2: #6b6480;
  --accent: #ff8a66;
  --accent-2: #6cf2c0;
  --accent-glow: rgba(255, 138, 102, 0.28);
  --accent-2-glow: rgba(108, 242, 192, 0.22);
  --claude: #ff8a66;
  --codex: #d7d7d7;
  --good: #5fd877;
  --warn: #ffb73b;
  --bad: #ff6b6b;
  --blue: #6fa8ff;
  --purple: #9d6cff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Layered cosmic background — matches the logo's deep purple + stars vibe */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(157, 108, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 30%, rgba(108, 242, 192, 0.08), transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 60%, rgba(255, 138, 102, 0.10), transparent 65%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(95, 122, 220, 0.12), transparent 55%),
    linear-gradient(180deg, #0d0820 0%, #07041a 50%, #050310 100%);
  z-index: -2;
  animation: bgShift 28s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0%   { transform: translate3d(0, 0, 0); filter: hue-rotate(0deg); }
  100% { transform: translate3d(0, -2%, 0); filter: hue-rotate(8deg); }
}

/* Starfield overlay — twinkling pixel stars */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #c2a8ff 50%, transparent),
    radial-gradient(1px 1px at 27% 65%, #ffb39a 50%, transparent),
    radial-gradient(1px 1px at 38% 12%, #fff 50%, transparent),
    radial-gradient(2px 2px at 52% 78%, #7fffd4 50%, transparent),
    radial-gradient(1px 1px at 64% 22%, #fff 50%, transparent),
    radial-gradient(1.5px 1.5px at 78% 55%, #d9b8ff 50%, transparent),
    radial-gradient(1px 1px at 86% 14%, #ffd0b8 50%, transparent),
    radial-gradient(1.5px 1.5px at 18% 88%, #fff 50%, transparent),
    radial-gradient(1px 1px at 71% 92%, #c2a8ff 50%, transparent),
    radial-gradient(1px 1px at 93% 78%, #fff 50%, transparent),
    radial-gradient(1px 1px at 5% 42%, #fff 50%, transparent),
    radial-gradient(2px 2px at 44% 38%, #ffb39a 50%, transparent),
    radial-gradient(1px 1px at 60% 50%, #fff 50%, transparent);
  background-size: 100% 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
  animation: twinkle 6s ease-in-out infinite alternate;
}

@keyframes twinkle {
  0%   { opacity: 0.55; }
  50%  { opacity: 0.95; }
  100% { opacity: 0.7; }
}

a { color: inherit; text-decoration: none; }
code, pre { font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace; }
/* Long commands/URLs wrap instead of overflowing the viewport on mobile. */
pre { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
code { overflow-wrap: anywhere; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: rgba(5, 6, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); transition: color 0.15s; }
.nav-links a.ghost {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-weight: 500;
}
.nav-links a.ghost:hover { background: var(--panel); border-color: var(--border-strong); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 88px 24px 0;
  text-align: center;
}
.hero-inner {
  max-width: 880px;
  margin: 0 auto 64px;
  animation: heroFadeIn 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.eyebrow { animation: heroFadeIn 1s 0.05s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero h1 { animation: heroFadeIn 1s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.subtitle { animation: heroFadeIn 1s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.cta { animation: heroFadeIn 1s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.providers-row { animation: heroFadeIn 1s 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--bg-soft);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 72px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.028em;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #b1b3c2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.subtitle strong { color: var(--text); font-weight: 600; }
.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ffa080 100%);
  color: #1a0a04;
  box-shadow: 0 8px 28px var(--accent-glow);
  animation: pulseGlow 3s ease-in-out infinite;
}
.btn.primary:hover {
  background: linear-gradient(135deg, #ffa080 0%, var(--accent) 100%);
  box-shadow: 0 14px 36px var(--accent-glow);
  animation: none;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 24px var(--accent-glow); }
  50%      { box-shadow: 0 8px 36px var(--accent-glow), 0 0 0 4px rgba(255, 138, 102, 0.10); }
}
.btn.ghost {
  background: var(--panel);
  border-color: var(--border);
  color: var(--text);
}
.btn.ghost:hover { background: var(--panel-2); border-color: var(--border-strong); }
.btn.big { padding: 16px 32px; font-size: 16px; }

.providers-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.provider {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  background: var(--bg-soft);
}
.provider img { border-radius: 4px; }
.soon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.05em;
}

/* ===== NOTCH DEMO ===== */
.demo-wrap {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-bottom: 80px;
  animation: heroFadeIn 1.2s 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* MacBook screen frame with subtle wallpaper */
.macbook {
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 0 24px 80px;
  min-height: 620px;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 32px 80px rgba(0, 0, 0, 0.45);
  background:
    url('assets/macos-tahoe.jpg') center / cover,
    linear-gradient(160deg, #1a0e34 0%, #0d0822 50%, #06041a 100%);
}
.macbook::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 22px;
  pointer-events: none;
}
/* The notch is ONE shape that morphs through 5 states (idle + 4 expanded).
   Width + height transition smoothly via CSS — JS swaps the data-state. */
.notch-tab { display: none; }
.state-stack {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.notch-shape {
  position: relative;
  margin: 0 auto;
  background: #000;
  border-radius: 0 0 18px 18px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition:
    width 0.6s cubic-bezier(0.34, 1.2, 0.4, 1),
    height 0.6s cubic-bezier(0.34, 1.2, 0.4, 1),
    border-radius 0.6s ease;
  text-align: left;
}

.notch-shape[data-state="idle"]     { width: 280px; border-radius: 0 0 18px 18px; }
.notch-shape[data-state="list"]     { width: 500px; border-radius: 0 0 22px 22px; }
.notch-shape[data-state="perm"]     { width: 500px; border-radius: 0 0 22px 22px; }
.notch-shape[data-state="question"] { width: 500px; border-radius: 0 0 22px 22px; }
.notch-shape[data-state="finished"] { width: 500px; border-radius: 0 0 22px 22px; }
.notch-shape[data-state="themes"]   { width: 500px; border-radius: 0 0 22px 22px; }
.notch-shape[data-state="mascots"]  { width: 540px; border-radius: 0 0 22px 22px; }
.notch-shape[data-state="jumpto"]   { width: 500px; border-radius: 0 0 22px 22px; }
.notch-shape[data-state="sound"]    { width: 500px; border-radius: 0 0 22px 22px; }

/* IDLE content */
.idle-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  height: 36px;
  opacity: 0;
  transition: opacity 0.3s 0.2s ease;
  pointer-events: none;
}
.notch-shape[data-state="idle"] .idle-content { opacity: 1; }
.mini-mascot {
  width: 26px;
  height: 22px;
  shape-rendering: crispEdges;
  flex-shrink: 0;
}
.idle-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}
.idle-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 6px rgba(95, 216, 119, 0.6);
  animation: dotPulse 1.6s ease-in-out infinite;
}
.idle-count { font-weight: 700; }

/* State panels — absolutely positioned inside the morphing shape.
   Top-anchored only (no bottom), so they take their natural content height.
   The shape's height is set dynamically in JS to match. */
.notch-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 18px 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.notch-shape[data-state="list"]     .state-list     { opacity: 1; transition-delay: 0.3s; }
.notch-shape[data-state="perm"]     .state-perm     { opacity: 1; transition-delay: 0.3s; }
.notch-shape[data-state="question"] .state-question { opacity: 1; transition-delay: 0.3s; }
.notch-shape[data-state="finished"] .state-finished { opacity: 1; transition-delay: 0.3s; }
.notch-shape[data-state="themes"]   .state-themes   { opacity: 1; transition-delay: 0.3s; }
.notch-shape[data-state="mascots"]  .state-mascots  { opacity: 1; transition-delay: 0.3s; }
.notch-shape[data-state="jumpto"]   .state-jumpto   { opacity: 1; transition-delay: 0.3s; }
.notch-shape[data-state="sound"]    .state-sound    { opacity: 1; transition-delay: 0.3s; }

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}
.rl { display: flex; align-items: center; gap: 4px; color: rgba(255, 255, 255, 0.5); }
.rl img { border-radius: 3px; vertical-align: middle; }
.rl-label { color: rgba(255, 255, 255, 0.5); font-weight: 600; }
.rl-val { font-weight: 700; }
.rl-val.good { color: var(--good); }
.rl-sub { color: rgba(255, 255, 255, 0.35); }
.rl-sep { color: rgba(255, 255, 255, 0.18); padding: 0 4px; }
.panel-icons { display: flex; gap: 8px; align-items: center; }
.sf-icon {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}
.sf-icon:hover { color: rgba(255, 255, 255, 0.85); cursor: pointer; }

.filter-chips {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chip.active { background: rgba(255, 255, 255, 0.12); color: var(--text); border: 1px solid rgba(255, 255, 255, 0.15); }
.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--claude);
}
.chip .dot.codex { background: var(--codex); }

.group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  margin: 8px 0 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.group-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--claude);
}
.group-dot.codex { background: var(--codex); }
.group-header .chevron { margin-left: auto; color: rgba(255, 255, 255, 0.4); }

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.claude-card { border-color: rgba(108, 242, 192, 0.25); background: rgba(108, 242, 192, 0.03); }
.card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}
.pixel-mascot {
  width: 22px;
  height: 18px;
  display: inline-block;
  shape-rendering: crispEdges;
  image-rendering: pixelated;
  animation: mascotBounce 1.4s ease-in-out infinite;
  transform-origin: center bottom;
  flex-shrink: 0;
}
.codex-svg { animation-delay: 0.5s; }
@keyframes mascotBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-2px) scale(1.04); }
}
.tool-pill { animation: pillShimmer 2.5s ease-in-out infinite; }
@keyframes pillShimmer {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-2-glow); }
  50%      { box-shadow: 0 0 16px var(--accent-2-glow); }
}
.dot {
  animation: dotPulse 2s ease-in-out infinite;
}
.chip .dot { animation: none; }
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.2); }
}
.card-title { color: var(--text); font-weight: 700; }
.badge {
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.badge.effort { background: rgba(255, 107, 107, 0.18); color: var(--bad); }
.time { margin-left: auto; color: rgba(255, 255, 255, 0.35); font-size: 10px; }
.card-body {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 8px;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
}
.tool-pill {
  background: rgba(108, 242, 192, 0.12);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.tool-pill.thinking { background: rgba(95, 200, 232, 0.14); color: #5fc8e8; }
.term-pill {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  padding: 3px 8px;
  border-radius: 4px;
}
.panel-footer {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== PERM / QUESTION / FINISHED — shared parts ===== */
.perm-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.pill-needs {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255, 183, 59, 0.18);
  color: var(--warn);
  letter-spacing: 0.04em;
}
.pill-needs.question { background: rgba(157, 108, 255, 0.2); color: var(--purple); }
.pill-needs.done { background: rgba(95, 216, 119, 0.2); color: var(--good); }

.tool-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}
.tool-tag {
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 700;
  background: rgba(255, 138, 102, 0.18);
  color: var(--accent);
}
.tool-tag.bash { background: rgba(255, 138, 102, 0.18); color: #ffa080; }
.tool-tag.done { background: rgba(95, 216, 119, 0.18); color: var(--good); }
.tool-sub { color: rgba(255, 255, 255, 0.55); }

.code-preview {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: hidden;
}
.code-header {
  display: flex;
  justify-content: space-between;
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
}
.code-preview pre {
  padding: 12px;
  font-size: 11.5px;
  color: var(--accent-2);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.55;
  overflow-x: auto;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 6px;
  margin-top: 4px;
}
.action-row.single {
  grid-template-columns: 1fr;
}
.action-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 4px;
  border-radius: 7px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s, background 0.15s;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}
.action-btn.deny       { background: rgba(235, 140, 140, 0.18); color: #ff8080; border-color: rgba(235, 140, 140, 0.25); }
.action-btn.allow-once { background: rgba(115, 200, 220, 0.18); color: #7fd8e8; border-color: rgba(115, 200, 220, 0.25); }
.action-btn.allow-all  { background: rgba(140, 200, 140, 0.18); color: #88dd88; border-color: rgba(140, 200, 140, 0.25); }
.action-btn.bypass     { background: rgba(180, 160, 235, 0.18); color: #b89cf3; border-color: rgba(180, 160, 235, 0.25); }
.action-btn.submit     { background: linear-gradient(135deg, #9d6cff, #6cf2c0); color: #0a0418; border-color: transparent; padding: 10px; }
.action-btn.done       { background: linear-gradient(135deg, #5fd877, #6cf2c0); color: #062a10; border-color: transparent; padding: 10px; }
.action-btn:hover { transform: translateY(-1px); }

/* Auto-highlight for the loop demo */
.state-perm .action-btn.allow-all { animation: btnPing 24s infinite; animation-delay: 9.5s; }
.state-question .action-btn.submit { animation: btnPing 24s infinite; animation-delay: 15.5s; }
.state-finished .action-btn.done { animation: btnPing 24s infinite; animation-delay: 21.5s; }
@keyframes btnPing {
  0%, 5%   { transform: scale(1);    filter: brightness(1); }
  8%       { transform: scale(1.06); filter: brightness(1.25); box-shadow: 0 0 0 4px rgba(108, 242, 192, 0.2); }
  12%, 100% { transform: scale(1);   filter: brightness(1); }
}

/* QUESTION-specific — matches actual app */
.pill-waiting {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 100, 100, 0.18);
  color: #ff8a8a;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pill-waiting svg { width: 11px; height: 11px; }

.q-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 8px;
}
.q-text + .q-text { margin-top: 14px; }
.q-counter {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  padding: 3px 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  margin-bottom: 8px;
}
.q-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.q-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.q-pill.selected {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}
.q-pill:hover { background: rgba(255, 255, 255, 0.08); }

.q-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}
.q-divider::before, .q-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.q-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  margin-bottom: 14px;
}
.prompt-chevron {
  color: var(--accent-2);
  font-weight: 700;
}
.q-input .placeholder { color: rgba(255, 255, 255, 0.3); }

.q-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  margin-top: 6px;
}
.ghost-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ghost-btn:hover { background: rgba(255, 255, 255, 0.08); }

/* FINISHED-specific */
.user-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.user-label {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
}
.user-msg {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}
.reply {
  background: rgba(95, 216, 119, 0.06);
  border: 1px solid rgba(95, 216, 119, 0.15);
  border-radius: 8px;
  padding: 0;
  margin-bottom: 14px;
  overflow: hidden;
}
.reply-header {
  display: flex;
  justify-content: space-between;
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--good);
  background: rgba(95, 216, 119, 0.08);
  font-weight: 700;
}
.reply p {
  padding: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
  font-family: 'JetBrains Mono', monospace;
}
.reply code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--accent-2);
}

/* Demo caption */
.demo-caption {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin-top: 28px;
  letter-spacing: 0.02em;
}
.demo-caption .state-label {
  display: inline-block;
  padding: 2px 12px;
  margin-left: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--accent-2);
  font-weight: 600;
  min-width: 110px;
  transition: color 0.3s;
}

/* ===== RECORD MODE (clean canvas for capturing a social video) ===== */
body.record { overflow: hidden; background: #05030f; }
body.record > *:not(#record-stage) { display: none !important; }
#record-stage {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(108,242,192,0.10), transparent 60%),
    url('assets/macos-tahoe.jpg') center / cover,
    linear-gradient(165deg, #1a0e34 0%, #0d0822 55%, #06041a 100%);
  overflow: hidden;
}
#record-stage::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,3,15,0.0) 40%, rgba(5,3,15,0.55) 100%);
  pointer-events: none;
}
/* the notch hangs from the very top, like a real Mac */
#record-stage .notch-shape { margin-top: 0; }
#record-stage .rec-wordmark {
  position: absolute; left: 0; right: 0; bottom: 12%;
  text-align: center; z-index: 2;
}
#record-stage .rec-wordmark img { width: 64px; height: 64px; margin-bottom: 14px; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5)); }
#record-stage .rec-name {
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: 40px; color: #fff;
  letter-spacing: -0.02em; text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
#record-stage .rec-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 17px; color: rgba(255,255,255,0.7);
  margin-top: 8px;
}
#record-stage .rec-cap {
  position: absolute; left: 0; right: 0; bottom: 5.5%; text-align: center; z-index: 2;
  font-family: 'JetBrains Mono', monospace; font-size: 14px; color: rgba(255,255,255,0.55);
}
#record-stage .rec-cap b { color: var(--accent-2); font-weight: 700; }

/* ===== CINEMATIC MODE (?cine) — Apple-style headlines + title cards ===== */
body.cine #record-stage .rec-wordmark,
body.cine #record-stage .rec-cap,
body.nomark #record-stage .rec-wordmark,
body.nomark #record-stage .rec-cap { display: none; }
/* nomark centres the notch vertically since there's no wordmark below it */
body.nomark #record-stage { justify-content: flex-start; padding-top: 4%; }
body.cine #record-stage .notch-shape { transition: width 0.6s cubic-bezier(0.34,1.2,0.4,1), height 0.6s cubic-bezier(0.34,1.2,0.4,1), border-radius 0.6s ease, opacity 0.7s ease; }
#record-stage .cine-headline {
  position: absolute; left: 7%; right: 7%; bottom: 17%; z-index: 3; text-align: center;
  font-family: 'Inter', sans-serif; font-weight: 600; color: #fff;
  font-size: 50px; line-height: 1.12; letter-spacing: -0.025em;
  text-shadow: 0 4px 34px rgba(0,0,0,0.6); opacity: 0; pointer-events: none;
}
#record-stage .cine-headline.in { animation: cineRise 0.95s cubic-bezier(0.16,0.8,0.3,1) forwards; }
@keyframes cineRise { from { opacity: 0; transform: translateY(26px); filter: blur(3px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
#record-stage .cine-headline .cine-sub {
  display: block; margin-top: 14px; font-family: 'JetBrains Mono', monospace;
  font-weight: 400; font-size: 19px; letter-spacing: 0; color: rgba(255,255,255,0.6);
}
#record-stage .cine-card {
  position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 0 8%;
  background: radial-gradient(75% 55% at 50% 45%, rgba(22,14,46,0.55), #05030f 82%);
  opacity: 0; transition: opacity 0.7s ease; pointer-events: none;
}
#record-stage .cine-card.show { opacity: 1; }
#record-stage .cine-card img { width: 88px; height: 88px; margin-bottom: 10px; filter: drop-shadow(0 8px 26px rgba(0,0,0,0.55)); animation: cinePop 1.1s cubic-bezier(0.16,0.8,0.3,1) both; }
#record-stage .cine-card .ct { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 64px; color: #fff; letter-spacing: -0.035em; animation: cineRise 1s 0.15s cubic-bezier(0.16,0.8,0.3,1) both; }
#record-stage .cine-card .cs { font-family: 'JetBrains Mono', monospace; font-size: 21px; color: rgba(255,255,255,0.68); animation: cineRise 1s 0.32s cubic-bezier(0.16,0.8,0.3,1) both; }
#record-stage .cine-card .cu { font-family: 'JetBrains Mono', monospace; font-size: 15px; color: var(--accent-2); margin-top: 14px; animation: cineRise 1s 0.5s cubic-bezier(0.16,0.8,0.3,1) both; }
@keyframes cinePop { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: scale(1); } }

/* ===== SHOWCASE PANELS (themes / mascots / jump-to / sound) ===== */
.state-themes, .state-mascots, .state-jumpto, .state-sound {
  font-family: 'JetBrains Mono', monospace;
}

/* --- THEMES --- */
.themes-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.themes-label { font-size:11px; color:rgba(255,255,255,0.5); font-weight:600; }
.theme-name {
  font-size:10px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase;
  padding:3px 10px; border-radius:999px; background:rgba(108,242,192,0.14); color:var(--accent-2);
}
.t-card {
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.08);
  border-radius:12px; padding:11px 13px; margin-bottom:10px; transition:all 0.45s ease;
}
.t-card .card-head { display:flex; align-items:center; gap:8px; margin-bottom:7px; }
.t-card .card-title { font-size:13px; font-weight:800; color:#fff; }
.t-time { margin-left:auto; font-size:10px; color:rgba(255,255,255,0.4); }
.t-body { font-size:11px; color:rgba(255,255,255,0.7); margin-bottom:9px; }
.t-pills { display:flex; gap:7px; font-size:10px; font-weight:700; }
.t-pill { padding:3px 8px; border-radius:5px; }
.t-thinking { background:rgba(95,200,232,0.15); color:#5fc8e8; }
.t-term { background:rgba(255,255,255,0.06); color:rgba(255,255,255,0.6); }
.t-actions { display:flex; gap:6px; margin-bottom:12px; }
.t-btn {
  flex:1; padding:8px; border-radius:8px; font-size:11px; font-weight:700; border:1px solid transparent;
  transition:all 0.45s ease; cursor:default;
}
.t-deny  { background:rgba(235,140,140,0.18); color:#ff8080; }
.t-allow { background:rgba(115,200,220,0.18); color:#7fd8e8; }
.theme-dots { display:flex; justify-content:center; gap:7px; }
.tdot { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,0.18); transition:all 0.3s; }
.mascot.pixel-mascot { width:24px; height:19px; shape-rendering:crispEdges; flex-shrink:0; }

/* THEME OVERRIDES on the notch shape (chrome only — matches NotchTheme tokens) */
/* default: as authored above. */
/* glass */
.notch-shape[data-theme="glass"] { background:rgba(18,14,40,0.62); backdrop-filter:blur(22px); border:1px solid rgba(255,255,255,0.18); border-top:none; }
.notch-shape[data-theme="glass"] .t-card { border-radius:16px; background:rgba(255,255,255,0.10); box-shadow:0 4px 14px rgba(0,0,0,0.28); }
.notch-shape[data-theme="glass"] .t-btn, .notch-shape[data-theme="glass"] .t-pill { border-radius:999px; }
/* pixel */
.notch-shape[data-theme="pixel"] { background:#0f0f1a; border:2px solid rgba(255,255,255,0.85); border-top:none; border-radius:0 0 4px 4px; }
.notch-shape[data-theme="pixel"] .state-themes { font-family:'JetBrains Mono',monospace; }
.notch-shape[data-theme="pixel"] .t-card { border-radius:0; border:2px solid rgba(255,255,255,0.8); background:#16161f; box-shadow:3px 3px 0 rgba(216,120,86,0.6); }
.notch-shape[data-theme="pixel"] .t-btn { border-radius:0; border-width:2px; }
.notch-shape[data-theme="pixel"] .t-deny { border-color:#ff8080; }
.notch-shape[data-theme="pixel"] .t-allow { border-color:#7fd8e8; }
.notch-shape[data-theme="pixel"] .t-pill { border-radius:0; }
.notch-shape[data-theme="pixel"] .theme-name { border-radius:0; }
/* terminal */
.notch-shape[data-theme="terminal"] { background:#000; border:1px solid rgba(255,255,255,0.10); border-top:none; border-radius:0 0 8px 8px; }
.notch-shape[data-theme="terminal"] .t-card { border-radius:6px; background:rgba(255,255,255,0.02); border-color:rgba(255,255,255,0.06); box-shadow:none; }
.notch-shape[data-theme="terminal"] .t-btn { border-radius:4px; }
.notch-shape[data-theme="terminal"] .t-pill { border-radius:4px; }
/* brutalist */
.notch-shape[data-theme="brutalist"] { background:#121217; border:3px solid rgba(255,255,255,0.9); border-top:none; font-family:'Inter',sans-serif; }
.notch-shape[data-theme="brutalist"] .state-themes { font-family:'Inter',sans-serif; }
.notch-shape[data-theme="brutalist"] .t-card { border-radius:6px; background:#f4d9c8; border:3px solid #000; box-shadow:4px 4px 0 rgba(255,255,255,0.9); }
.notch-shape[data-theme="brutalist"] .t-card .card-title { color:#1a1a1b; }
.notch-shape[data-theme="brutalist"] .t-body { color:rgba(20,15,10,0.75); }
.notch-shape[data-theme="brutalist"] .t-term { background:rgba(0,0,0,0.12); color:#1a1a1b; }
.notch-shape[data-theme="brutalist"] .t-btn { border-radius:6px; border:3px solid #000; }
.notch-shape[data-theme="brutalist"] .t-deny { background:#ff8080; color:#1a1010; }
.notch-shape[data-theme="brutalist"] .t-allow { background:#7fd8e8; color:#101a1d; }

/* --- MASCOTS --- */
.mascots-head { text-align:center; margin-bottom:12px; }
.mascots-title { display:block; font-size:14px; font-weight:800; color:#fff; }
.mascots-sub { display:block; font-size:10px; color:rgba(255,255,255,0.45); margin-top:2px; }
.mascot-grid {
  display:grid; grid-template-columns:repeat(6,1fr); gap:10px 6px;
}
.mascot-grid figure { margin:0; display:flex; flex-direction:column; align-items:center; gap:4px; }
.mascot-grid img {
  width:34px; height:34px; image-rendering:pixelated; object-fit:contain;
  animation:mascotBob 1.6s ease-in-out infinite;
}
.mascot-grid figure:nth-child(2n) img   { animation-delay:0.2s; }
.mascot-grid figure:nth-child(3n) img   { animation-delay:0.4s; }
.mascot-grid figure:nth-child(5n) img   { animation-delay:0.6s; }
.mascot-grid figcaption { font-size:8.5px; color:rgba(255,255,255,0.55); letter-spacing:0.01em; }
@keyframes mascotBob { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-4px); } }

/* --- JUMP-TO --- */
.jump-head { margin-bottom:12px; }
.jump-title { display:block; font-size:13px; font-weight:800; color:#fff; }
.jump-sub { display:block; font-size:10px; color:rgba(255,255,255,0.45); margin-top:2px; }
.jump-card {
  position:relative; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.07);
  border-radius:10px; padding:10px 12px; margin-bottom:14px;
  animation:jumpClick 4s ease-in-out infinite;
}
.jump-card .card-head { display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.jump-card .card-title { font-size:13px; font-weight:800; color:#fff; }
.jump-card .t-time { color:rgba(255,255,255,0.5); }
.jump-card .t-body { font-size:11px; color:rgba(255,255,255,0.7); margin:0; }
.jump-cursor {
  position:absolute; right:16px; bottom:-7px; color:var(--accent-2); font-size:14px;
  animation:jumpArrow 4s ease-in-out infinite;
}
@keyframes jumpClick {
  0%,40% { background:rgba(255,255,255,0.04); transform:scale(1); }
  46%,54% { background:rgba(95,200,232,0.12); transform:scale(0.98); }
  60%,100% { background:rgba(255,255,255,0.04); transform:scale(1); }
}
@keyframes jumpArrow {
  0%,40% { opacity:0; transform:translateY(-4px); }
  50% { opacity:1; transform:translateY(0); }
  70%,100% { opacity:0; transform:translateY(2px); }
}
.term-window {
  background:#0a0e14; border:1px solid rgba(255,255,255,0.10); border-radius:9px; overflow:hidden;
  animation:termSurface 4s ease-in-out infinite;
}
@keyframes termSurface {
  0%,45% { opacity:0.35; transform:translateY(8px) scale(0.99); }
  60%,95% { opacity:1; transform:translateY(0) scale(1); box-shadow:0 10px 30px rgba(95,200,232,0.18); }
  100% { opacity:0.35; transform:translateY(8px) scale(0.99); }
}
.term-bar { display:flex; align-items:center; gap:6px; padding:7px 11px; background:rgba(255,255,255,0.05); }
.term-bar .td { width:9px; height:9px; border-radius:50%; }
.term-bar .td.r { background:#ff5f56; } .term-bar .td.y { background:#ffbd2e; } .term-bar .td.g { background:#27c93f; }
.term-tab { margin-left:8px; font-size:10px; color:rgba(255,255,255,0.6); }
.term-body { padding:11px 13px; display:flex; flex-direction:column; gap:5px; font-size:11px; }
.term-body .tl { color:#9fe8c0; } .term-body .tl.dim { color:rgba(255,255,255,0.45); } .term-body .tl.cur { color:#5fc8e8; }

/* --- SOUND --- */
.sound-head { display:flex; align-items:center; gap:9px; margin-bottom:14px; }
.sound-head .spk { width:18px; height:18px; color:var(--accent-2); flex-shrink:0; }
.sound-title { font-size:14px; font-weight:800; color:#fff; }
.sound-sub { font-size:10px; color:rgba(255,255,255,0.45); margin-left:auto; }
.sound-list { list-style:none; margin:0 0 14px; padding:0; display:flex; flex-direction:column; gap:8px; }
.sound-list li { display:flex; align-items:center; gap:12px; padding:8px 12px; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.06); border-radius:9px; }
.snd-name { font-size:12px; color:rgba(255,255,255,0.85); font-weight:600; }
.wave { margin-left:auto; display:flex; align-items:center; gap:3px; height:18px; }
.wave i { width:3px; height:40%; background:var(--accent-2); border-radius:2px; animation:wav 0.9s ease-in-out infinite; }
.wave i:nth-child(2){ animation-delay:0.12s; } .wave i:nth-child(3){ animation-delay:0.24s; }
.wave i:nth-child(4){ animation-delay:0.36s; } .wave i:nth-child(5){ animation-delay:0.48s; }
@keyframes wav { 0%,100%{ height:25%; } 50%{ height:100%; } }
.sound-list li.muted .wave i { animation:none; height:25%; background:rgba(255,255,255,0.2); }
.snd-toggle { width:30px; height:17px; border-radius:999px; background:rgba(255,255,255,0.12); position:relative; flex-shrink:0; }
.snd-toggle::after { content:''; position:absolute; top:2px; left:2px; width:13px; height:13px; border-radius:50%; background:#fff; transition:left 0.3s; }
.snd-toggle.on { background:var(--accent-2); }
.snd-toggle.on::after { left:15px; }
.sound-foot { font-size:10px; color:rgba(255,255,255,0.4); text-align:center; }
.sound-foot code { color:rgba(255,255,255,0.6); background:rgba(255,255,255,0.06); padding:1px 5px; border-radius:4px; }

/* ===== SECTIONS ===== */
section { padding: 96px 24px; }

/* Scroll-reveal — uses JS .reveal class for cross-browser support */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}
.reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.in > *:nth-child(1)  { transition-delay: 0.00s; }
.reveal-stagger.in > *:nth-child(2)  { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(3)  { transition-delay: 0.10s; }
.reveal-stagger.in > *:nth-child(4)  { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(5)  { transition-delay: 0.20s; }
.reveal-stagger.in > *:nth-child(6)  { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(7)  { transition-delay: 0.30s; }
.reveal-stagger.in > *:nth-child(8)  { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(9)  { transition-delay: 0.40s; }
.reveal-stagger.in > *:nth-child(10) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(11) { transition-delay: 0.50s; }
.reveal-stagger.in > *:nth-child(12) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  body::before, body::after { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
.section-eyebrow {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-align: center;
  margin-bottom: 12px;
  font-weight: 600;
}
section h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  letter-spacing: -0.022em;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.1;
}
.lead {
  font-size: 17px;
  color: var(--muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

/* ===== FEATURES ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.feature {
  padding: 28px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.feature:hover {
  border-color: var(--border-strong);
  background: var(--panel-2);
  transform: translateY(-2px);
}
.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(108, 242, 192, 0.12);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}
.feature h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.feature code {
  font-size: 12px;
  padding: 1.5px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--accent);
  font-weight: 500;
}

/* ===== HOW ===== */
.how {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps {
  list-style: none;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.steps li {
  display: flex;
  gap: 24px;
  padding: 26px 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
.steps li:hover { border-color: var(--border-strong); transform: translateX(4px); }
.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: #04120c;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.steps h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.steps p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.steps code {
  font-size: 12.5px;
  padding: 1.5px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--accent);
  font-weight: 500;
}

/* ===== PROVIDERS ===== */
.provider-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.prov-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.prov-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.prov-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.prov-head img { border-radius: 8px; }
.prov-head h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.prov-head p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.prov-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prov-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.prov-features code {
  font-size: 12px;
  padding: 1.5px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--accent);
}

/* ===== INSTALL ===== */
.install { text-align: center; }
.install-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}
.install-meta { color: var(--muted); font-size: 14px; line-height: 1.7; }
.install-meta strong { color: var(--text); }
.install-meta a { color: var(--accent); }
.install-meta a:hover { text-decoration: underline; }
.code-block {
  max-width: 640px;
  margin: 0 auto 16px;
  padding: 16px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
  text-align: left;
}
.code-block summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}
.code-block summary::before {
  content: '+ ';
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  margin-right: 4px;
}
.code-block[open] summary::before { content: '− '; }
.code-block pre {
  background: var(--bg-soft);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 13px;
  overflow-x: auto;
  margin-top: 14px;
  color: var(--accent);
  border: 1px solid var(--border);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 18px 24px;
  transition: border-color 0.15s;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 20px;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}
.faq details p a { color: var(--accent); }
.faq details p a:hover { text-decoration: underline; }
.faq details code {
  font-size: 12.5px;
  padding: 1.5px 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: var(--accent);
}

/* ===== FOOTER ===== */
.footer {
  padding: 64px 24px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img { border-radius: 8px; }
.footer-name { font-weight: 700; font-size: 16px; }
.footer-tag { font-size: 13px; color: var(--muted); margin-top: 2px; }
.footer h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer a {
  display: block;
  font-size: 14px;
  color: var(--text);
  padding: 4px 0;
  opacity: 0.75;
  transition: opacity 0.15s, color 0.15s;
}
.footer a:hover { opacity: 1; color: var(--accent); }
.copy {
  text-align: center;
  font-size: 12px;
  color: var(--muted-2);
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 880px) {
  .nav-links { gap: 18px; }
  .nav-links a:not(.ghost) { font-size: 13px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .provider-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .notch-panel { max-width: 100%; }
}
@media (max-width: 560px) {
  .nav { padding: 12px 18px; }
  .nav-links a:not(.ghost) { display: none; }
  section { padding: 64px 20px; }
  .hero { padding: 56px 20px 0; }
  .hero h1 { font-size: clamp(28px, 8.5vw, 40px); }
  .subtitle { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .steps li { padding: 20px; gap: 16px; flex-direction: column; }
  .steps li:hover { transform: none; }
  .notch { width: 160px; }
  .demo-wrap { padding-bottom: 64px; }
  .macbook { padding: 0 12px 56px; min-height: 460px; border-radius: 22px; }
}
