  :root {
    --bg: #020a10;
    --bg2: #030c14;
    --bg3: #041018;
    --surface: #071520;
    --surface2: #0a1c2c;
    --border: rgba(255,255,255,0.06);
    --border2: rgba(100,180,220,0.15);
    --text: #e8f2f8;
    --muted: #6a8099;
    --accent: #4fa8d8;
    --accent2: #2b8ab8;
    --accent3: #00d4b8;
    --accent-glow: rgba(79,168,216,0.18);
    --font-sans: 'Syne', sans-serif;
    --font-serif: 'Instrument Serif', serif;
    --font-mono: 'DM Mono', monospace;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: #020a10;
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ── STARFIELD CANVAS ── */
  #starfield {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    display: block;
  }

  .hero {
    position: relative;
  }

  /* everything above the canvas */
  nav, #main-content, #docs { position: relative; z-index: 1; }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    height: 64px;
    background: rgba(8,10,15,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .nav-logo span { color: var(--accent); }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
  }
  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--text); }

  .nav-cta { display: flex; align-items: center; gap: 1rem; }

  /* Hamburger */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--muted);
    border-radius: 2px;
    transition: all 0.3s;
  }

  /* Mobile nav drawer */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: transparent;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 99;
    padding: 1.5rem 2rem;
    flex-direction: column;
    gap: 1rem;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
    cursor: pointer;
  }
  .mobile-nav a:hover { color: var(--text); }
  .mobile-nav a:last-child { border-bottom: none; }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
  }
  .btn-ghost {
    background: transparent;
    color: black;
    border: 1px solid var(--border2);
  }

  .btn-white {
    background: white;
    color: var(--muted);
    border: 1px solid var(--border2);
  }

  .btn-ghost:hover {
    color: var(--text);
    border-color: rgba(255,255,255,0.25);
    background: var(--surface);
  }
  .btn-primary { background: var(--accent); color: #fff; }
  .btn-primary:hover { background: #6ba2ff; transform: translateY(-1px); }
  .btn-accent2 { background: linear-gradient(135deg, var(--accent2), var(--accent)); color: #fff; }
  .btn-accent2:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(124,92,252,0.35); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 80px;
    position: relative;
    text-align: center;
    overflow: hidden;
  }
  .hero-bg { display: none; }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(79,142,247,0.1);
    border: 1px solid rgba(79,142,247,0.25);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    position: relative;
  }
  .hero-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
  }

  .hero h1 {
    font-size: clamp(2.2rem, 6vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    max-width: 900px;
    margin-bottom: 1.5rem;
    position: relative;
  }
  .hero h1 em { font-style: italic; font-family: var(--font-serif); color: var(--accent); }

  .hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--muted);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 400;
    position: relative;
  }

  .hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-actions .btn { padding: 0.75rem 1.75rem; font-size: 1rem; }

  /* ── DEMO WINDOW ── */
  .demo-container { width: 100%; max-width: 960px; position: relative; margin: 0 auto; }
  .demo-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 500; }

  .browser-frame {
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 40px 120px rgba(0,0,0,0.6), 0 0 80px rgba(79,142,247,0.08);
  }
  .browser-chrome {
    background: var(--bg3);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
  }
  .browser-dots { display: flex; gap: 6px; }
  .browser-dot { width: 12px; height: 12px; border-radius: 50%; }
  .browser-dot:nth-child(1) { background: #ff5f57; }
  .browser-dot:nth-child(2) { background: #febc2e; }
  .browser-dot:nth-child(3) { background: #28c840; }
  .browser-url {
    flex: 1; min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .browser-body {
    position: relative;
    background: #0f1219;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .gif-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: radial-gradient(ellipse at center, var(--bg3) 0%, var(--bg) 100%);
  }
  .gif-placeholder-icon {
    width: 72px; height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 40px rgba(124,92,252,0.4);
    animation: float 3s ease-in-out infinite;
  }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  .gif-placeholder p { color: var(--muted); font-size: 0.875rem; font-family: var(--font-mono); }
  .demo-gif { width: 100%; height: 300px; object-fit: cover; display: block; }

  .fab-demo { position: absolute; bottom: 24px; right: 24px; }
  .fab-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(124,92,252,0.5);
    font-size: 1.25rem;
    animation: fab-pulse 3s ease-in-out infinite;
    border: none;
  }
  @keyframes fab-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(124,92,252,0.5); }
    50% { box-shadow: 0 4px 40px rgba(124,92,252,0.8), 0 0 0 8px rgba(124,92,252,0.1); }
  }
  .fab-tooltip {
    position: absolute;
    bottom: 60px; right: 0;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.75rem;
    color: var(--text);
    white-space: nowrap;
    font-family: var(--font-mono);
  }

  /* ── SECTIONS ── */
  section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
  .section-full { max-width: 100%; padding: 6rem 0; }
  .section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
  .section-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 1rem; }
  .section-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 1rem; }
  .section-title em { font-style: italic; font-family: var(--font-serif); color: var(--accent); }
  .section-sub { font-size: 1.1rem; color: var(--muted); max-width: 560px; line-height: 1.7; }

  /* ── SOCIAL PROOF ── */
  .social-proof { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #030c14; padding: 2rem; }
  .social-proof-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; }
  .social-proof-label { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
  .framework-logos { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .framework-tag {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 6px;
    background: var(--surface); border: 1px solid var(--border);
    font-size: 0.8rem; font-weight: 600; color: var(--muted); font-family: var(--font-mono);
  }
  .framework-tag .dot { width: 8px; height: 8px; border-radius: 50%; }

  /* ── HOW IT WORKS ── */
  .how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 4rem; }
  .how-steps { display: flex; flex-direction: column; gap: 0; }
  .how-step { display: flex; gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: all 0.2s; }
  .how-step:last-child { border-bottom: none; }
  .how-step-num {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--border2);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700; color: var(--muted); flex-shrink: 0; margin-top: 2px;
    font-family: var(--font-mono); transition: all 0.2s;
  }
  .how-step.active .how-step-num { background: var(--accent2); border-color: var(--accent2); color: white; }
  .how-step-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; letter-spacing: -0.02em; }
  .how-step-content p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
  .how-visual { background: var(--surface); border: 1px solid var(--border2); border-radius: 12px; overflow: hidden; position: relative; min-height: 380px; display: flex; align-items: flex-start; justify-content: center; }

  /* ── CODE BLOCK ── */
  .code-block { background: var(--bg3); border: 1px solid var(--border2); border-radius: 10px; overflow: hidden; font-family: var(--font-mono); }
  .code-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
  .code-dots { display: flex; gap: 6px; }
  .code-dot { width: 10px; height: 10px; border-radius: 50%; }
  .code-dot:nth-child(1) { background: #ff5f57; }
  .code-dot:nth-child(2) { background: #febc2e; }
  .code-dot:nth-child(3) { background: #28c840; }
  .code-lang { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
  .code-copy { font-size: 0.7rem; color: var(--muted); cursor: pointer; padding: 4px 8px; border-radius: 4px; border: 1px solid var(--border); background: transparent; font-family: var(--font-mono); transition: all 0.2s; }
  .code-copy:hover { color: var(--text); border-color: var(--border2); }
  pre { padding: 1.25rem 1.5rem; overflow-x: auto; font-size: 0.82rem; line-height: 1.7; color: #c9d1d9; }

  .token-keyword { color: #ff79c6; }
  .token-string { color: #f1fa8c; }
  .token-comment { color: #6272a4; font-style: italic; }
  .token-fn { color: #50fa7b; }
  .token-var { color: #8be9fd; }
  .token-attr { color: #ffb86c; }
  .token-tag { color: #ff79c6; }
  .token-value { color: #bd93f9; }

  /* ── FEATURES GRID ── */
  .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: 4rem; }
  .feature-card { background: var(--bg2); padding: 2rem; transition: background 0.2s; }
  .feature-card:hover { background: var(--surface); }
  .feature-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--surface2);
    border: 1px solid var(--border2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent);
  }
  .feature-icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.75; }
  .feature-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
  .feature-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

  .badge-soon { display: inline-block; padding: 2px 8px; border-radius: 4px; background: rgba(255,184,86,0.1); border: 1px solid rgba(255,184,86,0.25); color: #ffb856; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-left: 8px; vertical-align: middle; }

  /* ── ARCHITECTURE DIAGRAM ── */
  .arch-diagram { background: var(--bg3); border: 1px solid var(--border2); border-radius: 12px; padding: 2rem; margin-top: 3rem; overflow-x: hidden; }
  .arch-layers { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }
  .arch-layer { display: flex; align-items: center; gap: 0.75rem; width: 100%; }
  .arch-label { font-size: 0.65rem; color: var(--muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; width: 80px; min-width: 80px; text-align: right; flex-shrink: 0; }
  .arch-boxes { flex: 1; display: flex; gap: 0.4rem; min-width: 0; overflow: hidden; }
  .arch-box {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-mono);
    text-align: center;
    border: 1px solid;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .arch-box-blue { background: rgba(79,142,247,0.08); border-color: rgba(79,142,247,0.25); color: var(--accent); }
  .arch-box-purple { background: rgba(124,92,252,0.08); border-color: rgba(124,92,252,0.25); color: var(--accent2); }
  .arch-box-teal { background: rgba(0,229,176,0.08); border-color: rgba(0,229,176,0.25); color: var(--accent3); }
  .arch-box-gray { background: var(--surface); border-color: var(--border2); color: var(--muted); }
  .arch-connector { display: flex; justify-content: center; padding-left: 80px; color: var(--muted); font-size: 1rem; margin: -0.1rem 0; }

  /* ── ROADMAP ── */
  .roadmap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; }
  .roadmap-timeline { position: relative; padding-left: 2rem; }
  .roadmap-timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--accent2), var(--border), transparent); }
  .roadmap-item { position: relative; padding: 0 0 2.5rem 2.5rem; }
  .roadmap-item::before { content: ''; position: absolute; left: -4px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 0 3px rgba(124,92,252,0.2); }
  .roadmap-item.done::before { background: var(--accent3); box-shadow: 0 0 0 3px rgba(0,229,176,0.2); }
  .roadmap-phase { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.4rem; }
  .roadmap-phase.done { color: var(--accent3); }
  .roadmap-phase.current { color: var(--accent); }
  .roadmap-phase.future { color: var(--muted); }
  .roadmap-item h3 { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
  .roadmap-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
  .roadmap-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
  .roadmap-tag { padding: 3px 10px; border-radius: 4px; font-size: 0.7rem; font-family: var(--font-mono); font-weight: 500; background: var(--surface); border: 1px solid var(--border2); color: var(--muted); }

  /* ── CTA ── */
  .cta-section { text-align: center; padding: 8rem 2rem; position: relative; overflow: hidden; }
  .cta-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(124,92,252,0.1) 0%, transparent 70%); pointer-events: none; }
  .cta-section h2 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 1.5rem; }
  .cta-section h2 em { font-style: italic; font-family: var(--font-serif); color: var(--accent); }
  .cta-section p { font-size: 1.1rem; color: var(--muted); max-width: 500px; margin: 0 auto 2.5rem; line-height: 1.7; }

  /* ── DOCS ── */
  #docs { display: none; }
  #docs.active { display: block; }
  #main-content { display: block; }
  #main-content.hidden { display: none; }

  .docs-layout { display: grid; grid-template-columns: 260px 1fr; gap: 0; min-height: calc(100vh - 64px); margin-top: 64px; }
  .docs-sidebar { background: var(--bg2); border-right: 1px solid var(--border); padding: 2rem 0; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; }
  .docs-sidebar-group { margin-bottom: 1.5rem; padding: 0 1.5rem; }
  .docs-sidebar-group-label { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
  .docs-sidebar-link { display: block; padding: 0.4rem 0.75rem; border-radius: 6px; font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: all 0.15s; margin-bottom: 2px; cursor: pointer; }
  .docs-sidebar-link:hover, .docs-sidebar-link.active { color: var(--text); background: var(--surface); }
  .docs-sidebar-link.active { color: var(--accent); }
  .docs-content { padding: 3rem 4rem; max-width: 800px; }
  .docs-section { display: none; }
  .docs-section.active { display: block; }
  .docs-content h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 0.75rem; }
  .docs-content h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.03em; margin: 2.5rem 0 1rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
  .docs-content h2:first-of-type { border-top: none; padding-top: 0; }
  .docs-content h3 { font-size: 1rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: var(--accent); }
  .docs-content p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
  .docs-intro { font-size: 1rem !important; color: #9aaab8 !important; border-left: 3px solid var(--accent2); padding-left: 1.25rem; margin: 1.5rem 0 2rem !important; }
  .docs-note { background: rgba(79,142,247,0.06); border: 1px solid rgba(79,142,247,0.2); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
  .docs-note-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.4rem; }
  .docs-note p { margin: 0 !important; font-size: 0.85rem !important; }
  .docs-warning { background: rgba(255,184,86,0.06); border: 1px solid rgba(255,184,86,0.25); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
  .docs-warning-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #ffb856; margin-bottom: 0.4rem; }
  .docs-warning p { margin: 0 !important; font-size: 0.85rem !important; }
  .coming-soon-banner { background: var(--surface); border: 1px solid var(--border2); border-radius: 10px; padding: 2rem; text-align: center; margin: 2rem 0; }
  .coming-soon-banner h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
  .coming-soon-banner p { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.25rem; }

  /* ── QUOTE ── */
  .quote-section { background: #030c14; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 5rem 2rem; }
  .quote-inner { max-width: 800px; margin: 0 auto; text-align: center; }
  .quote-text { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 2.5vw, 1.75rem); line-height: 1.5; color: var(--text); margin-bottom: 1.5rem; }

  /* ── FOOTER ── */
  footer { border-top: 1px solid var(--border); padding: 3rem 2rem; background: #030c14; }
  .footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
  .footer-brand h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; }
  .footer-brand p { font-size: 0.85rem; color: var(--muted); max-width: 260px; line-height: 1.6; }
  .footer-links { display: flex; gap: 4rem; flex-wrap: wrap; }
  .footer-link-group h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
  .footer-link-group a { display: block; font-size: 0.85rem; color: var(--muted); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s; cursor: pointer; }
  .footer-link-group a:hover { color: var(--text); }
  .footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
  .footer-bottom p { font-size: 0.8rem; color: var(--muted); }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { padding: 0 1.25rem; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    .hero { padding: 100px 1.5rem 60px; }

    .how-grid { grid-template-columns: 1fr; gap: 2rem; }
    .how-visual { min-height: auto; }

    .features-grid { grid-template-columns: 1fr 1fr; }

    .arch-label { width: 60px; min-width: 60px; font-size: 0.6rem; }
    .arch-box { font-size: 0.65rem; padding: 7px 6px; }
    .arch-diagram { padding: 1.25rem; }

    .roadmap-grid { grid-template-columns: 1fr; gap: 0; }

    .docs-layout { grid-template-columns: 1fr; }
    .docs-sidebar { display: none; }
    .docs-content { padding: 2rem 1.5rem; }

    .footer-inner { flex-direction: column; gap: 2rem; }
    .footer-links { gap: 2rem; }
  }

  @media (max-width: 600px) {
    nav { padding: 0 1rem; }
    section { padding: 4rem 1.25rem; }

    .hero h1 { font-size: 2rem; }
    .hero-sub { font-size: 0.95rem; }

    .features-grid { grid-template-columns: 1fr; }

    /* Architecture: stack label above on very small */
    .arch-layer { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .arch-label { width: auto; text-align: left; }
    .arch-connector { padding-left: 0; }

    .roadmap-grid { grid-template-columns: 1fr; }

    .cta-section { padding: 5rem 1.25rem; }

    .footer-links { flex-direction: column; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .browser-chrome { padding: 10px 12px; }
    .browser-url { font-size: 0.65rem; }
    .fab-tooltip { display: none; }

    .docs-content { padding: 1.5rem 1rem; }
  }
