  :root {
    --bg: #0a0d12;
    --bg-2: #0f141b;
    --bg-3: #151c26;
    --border: #1f2937;
    --border-2: #2b3645;
    --text: #e6edf3;
    --text-2: #9aa7b4;
    --text-3: #6b7684;
    --accent: #7c5cff;
    --accent-2: #a78bfa;
    --accent-glow: rgba(124, 92, 255, 0.4);
    --green: #4ade80;
    --yellow: #fbbf24;
    --red: #f87171;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { color: var(--accent-2); text-decoration: none; }
  a:hover { color: var(--text); }
  code, pre { font-family: var(--mono); }
  ::selection { background: var(--accent); color: white; }

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

  /* Nav */
  nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 13, 18, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px; max-width: 1100px; margin: 0 auto;
  }
  .logo {
    font-family: var(--mono); font-weight: 700; font-size: 18px;
    color: var(--text);
    display: flex; align-items: center; gap: 8px;
  }
  .logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
  .nav-links { display: flex; gap: 24px; align-items: center; font-size: 14px; flex-wrap: nowrap; }
  .nav-links a { color: var(--text-2); font-weight: 500; white-space: nowrap; }
  .nav-links a:hover { color: var(--text); }
  .nav-cta {
    padding: 8px 16px; border-radius: 6px;
    background: var(--text); color: var(--bg) !important;
    font-weight: 600;
  }
  .nav-cta:hover { background: var(--accent-2); color: var(--bg) !important; }
  @media (max-width: 640px) {
    .nav-links a:not(.nav-cta) { display: none; }
  }

  /* Hero */
  .hero {
    padding: 72px 0 48px;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: ''; position: absolute;
    top: -300px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    filter: blur(80px); opacity: 0.5;
    pointer-events: none;
  }
  .hero-content { position: relative; z-index: 1; }
  .badge-row {
    display: flex; gap: 8px; flex-wrap: wrap;
    justify-content: center; margin-bottom: 28px;
  }
  .pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 999px;
    background: var(--bg-3); border: 1px solid var(--border-2);
    font-family: var(--mono); font-size: 12px;
    color: var(--text-2);
  }
  .pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
  h1 {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05; font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 24px;
  }
  h1 .grad {
    background: linear-gradient(135deg, #a78bfa 0%, #7c5cff 50%, #c084fc 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-sub {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--text-2);
    text-align: center;
    max-width: 680px; margin: 0 auto 40px;
    line-height: 1.5;
  }
  .install-row {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 24px;
  }
  .install-box {
    display: inline-flex; align-items: center; gap: 16px;
    background: var(--bg-2); border: 1px solid var(--border-2);
    padding: 14px 20px; border-radius: 10px;
    font-family: var(--mono); font-size: 15px;
    color: var(--text);
    transition: border-color .15s;
  }
  .install-box:hover { border-color: var(--accent); }
  .install-box .prompt { color: var(--accent-2); user-select: none; }
  .copy-btn {
    background: none; border: none; color: var(--text-3);
    cursor: pointer; font-family: var(--mono); font-size: 12px;
    padding: 4px 10px; border-radius: 4px;
    transition: all .15s;
  }
  .copy-btn:hover { background: var(--border); color: var(--text); }
  .copy-btn.copied { color: var(--green); }
  .hero-ctas {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    margin-top: 8px;
  }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px; border-radius: 8px;
    font-weight: 600; font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer; transition: all .15s;
  }
  .btn-primary {
    background: var(--accent); color: white;
    border-color: var(--accent);
  }
  .btn-primary:hover {
    background: var(--accent-2); border-color: var(--accent-2);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--accent-glow);
    color: white;
  }
  .btn-ghost {
    background: transparent; color: var(--text);
    border-color: var(--border-2);
  }
  .btn-ghost:hover { border-color: var(--text); }

  /* Section headers */
  section { padding: 48px 0; border-top: 1px solid var(--border); }
  .section-label {
    display: inline-block;
    font-family: var(--mono); font-size: 12px;
    color: var(--accent-2); letter-spacing: 0.08em;
    text-transform: uppercase; font-weight: 500;
    margin-bottom: 12px;
  }
  h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700; letter-spacing: -0.015em;
    line-height: 1.15; margin-bottom: 16px;
  }
  .section-sub { color: var(--text-2); max-width: 640px; font-size: 17px; margin-bottom: 48px; }

  /* Problem / demo */
  .demo-block {
    background: var(--bg-2); border: 1px solid var(--border-2);
    border-radius: 14px; overflow: hidden;
    font-family: var(--mono); font-size: 14px;
    line-height: 1.7;
  }
  .demo-chrome {
    display: flex; align-items: center; gap: 6px;
    padding: 12px 16px; border-bottom: 1px solid var(--border);
    background: var(--bg-3);
  }
  .chrome-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-2); }
  .chrome-dot.r { background: #ff5f57; }
  .chrome-dot.y { background: #febc2e; }
  .chrome-dot.g { background: #28c840; }
  .chrome-title { margin-left: 12px; font-size: 12px; color: var(--text-3); }
  .demo-body { padding: 22px 24px; white-space: pre-wrap; word-break: break-word; }
  .demo-body .you { color: var(--accent-2); font-weight: 600; }
  .demo-body .arrow { color: var(--green); }
  .demo-body .comment { color: var(--text-3); }
  .demo-body .ok { color: var(--green); }
  .demo-body .warn { color: var(--yellow); }

  /* 3-command grid */
  .cmd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
  }
  @media (max-width: 768px) { .cmd-grid { grid-template-columns: 1fr; } }
  .cmd-card {
    background: var(--bg-2); border: 1px solid var(--border);
    padding: 24px; border-radius: 12px;
    transition: all .2s;
  }
  .cmd-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
  .cmd-title {
    font-family: var(--mono); font-weight: 600; font-size: 18px;
    color: var(--accent-2); margin-bottom: 10px;
  }
  .cmd-desc { font-size: 14px; color: var(--text-2); line-height: 1.55; }

  /* Review — 12 angles */
  .angles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    margin-top: 40px;
  }
  .angle {
    padding: 14px 16px;
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    display: flex; align-items: center; gap: 10px;
  }
  .angle .num {
    font-family: var(--mono); font-weight: 600;
    color: var(--accent-2); font-size: 11px;
    min-width: 22px;
  }
  .angle .name { color: var(--text); font-weight: 500; }
  .angle .desc { color: var(--text-3); font-size: 11px; }

  /* Pipeline table */
  .scale-row {
    display: grid;
    grid-template-columns: 110px 90px 110px 1fr;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
  }
  .scale-row:last-child { border-bottom: none; }
  .scale-row .tag {
    font-family: var(--mono); font-size: 13px;
    padding: 4px 10px; border-radius: 4px;
    background: var(--bg-3); color: var(--accent-2);
    display: inline-block; font-weight: 500;
  }
  .scale-row .tag.default { background: var(--accent); color: white; }
  .scale-row .count { font-family: var(--mono); color: var(--text-2); font-size: 14px; }
  .scale-row .time { font-family: var(--mono); color: var(--text); font-size: 14px; }
  .scale-row .when { color: var(--text-2); font-size: 14px; }
  @media (max-width: 680px) {
    .scale-row { grid-template-columns: 1fr; gap: 4px; }
  }

  /* Stats */
  .stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
  }
  @media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
  .stat {
    background: var(--bg-2); border: 1px solid var(--border);
    padding: 24px; border-radius: 12px; text-align: center;
  }
  .stat-num {
    font-family: var(--mono); font-weight: 700; font-size: 32px;
    color: var(--text); line-height: 1;
    background: linear-gradient(135deg, #a78bfa, #7c5cff);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .stat-label { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 8px; font-weight: 500; }

  /* Archetypes */
  .arch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 40px;
  }
  .arch {
    padding: 16px 18px;
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: 8px;
  }
  .arch-name {
    font-family: var(--mono); font-size: 14px; font-weight: 600;
    color: var(--text); margin-bottom: 6px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .arch .lock { font-size: 10px; color: var(--yellow); }
  .arch-covers { font-size: 13px; color: var(--text-2); line-height: 1.45; }

  /* Tier badges */
  .tier {
    display: inline-block;
    font-family: var(--mono); font-size: 10px;
    padding: 2px 7px; border-radius: 999px;
    font-weight: 600; letter-spacing: 0.04em;
    text-transform: lowercase; line-height: 1.6;
  }
  .tier-baseline { background: rgba(96, 165, 250, 0.12); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.3); }
  .tier-standard { background: rgba(251, 191, 36, 0.12); color: var(--yellow); border: 1px solid rgba(251, 191, 36, 0.3); }
  .tier-deep     { background: rgba(248, 113, 113, 0.14); color: var(--red); border: 1px solid rgba(248, 113, 113, 0.3); }

  /* Tier stack */
  .tier-stack { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
  .tier-row {
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: 12px; padding: 22px 24px;
    transition: all .2s;
  }
  .tier-row:hover { border-color: var(--border-2); transform: translateY(-1px); }
  .tier-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
  .tier-head .tier { font-size: 12px; padding: 4px 12px; }
  .tier-meta { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
  .tier-body { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }

  /* Signal grid */
  .signal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
  }
  .signal {
    background: var(--bg-2); border: 1px solid var(--border);
    border-left: 3px solid var(--yellow);
    border-radius: 8px; padding: 12px 16px;
    display: flex; flex-direction: column; gap: 2px;
  }
  .sig-name { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--text); }
  .sig-desc { font-size: 12px; color: var(--text-3); }

  /* Screenshot section */
  .shot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 40px;
  }
  @media (max-width: 768px) { .shot-grid { grid-template-columns: 1fr; } }
  .shot {
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: 10px; overflow: hidden;
    transition: all .2s;
  }
  .shot:hover { border-color: var(--border-2); transform: translateY(-2px); }
  .shot img { width: 100%; height: auto; display: block; }
  .shot-caption {
    padding: 12px 16px; font-family: var(--mono); font-size: 12px;
    color: var(--text-2); border-top: 1px solid var(--border);
  }
  .shot-caption .cmd { color: var(--accent-2); }

  /* FAQ */
  details.faq {
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: 10px; padding: 0;
    margin-bottom: 10px;
    overflow: hidden;
  }
  details.faq summary {
    padding: 18px 22px; cursor: pointer; font-weight: 600;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
  }
  details.faq summary::-webkit-details-marker { display: none; }
  details.faq summary::after {
    content: '+'; font-family: var(--mono); font-size: 20px;
    color: var(--text-3); transition: transform .15s;
  }
  details.faq[open] summary::after { content: '−'; color: var(--accent-2); }
  details.faq .faq-body {
    padding: 0 22px 18px; color: var(--text-2); line-height: 1.65;
  }

  /* Footer */
  footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 40px; margin-top: 40px;
    background: var(--bg-2);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
  @media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  .footer-col h4 {
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-3);
    margin-bottom: 16px; font-weight: 600;
  }
  .footer-col a {
    display: block; color: var(--text-2);
    font-size: 14px; margin-bottom: 10px;
  }
  .footer-col a:hover { color: var(--text); }
  .footer-brand p {
    color: var(--text-2); font-size: 13px; max-width: 280px;
    line-height: 1.6; margin-top: 10px;
  }
  .footer-bottom {
    margin-top: 40px; padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
    font-size: 13px; color: var(--text-3);
  }

  /* Utility */
  .text-center { text-align: center; }
