:root {
    --bg: #0b0b0b; --panel: #151514; --panel-2: #1c1c1a; --line: #2b2b28;
    --ink: #f5f5f0; --muted: #a3a39b; --yellow: #ffd21f; --yellow-ink: #111;
    --red: #ff8a7a; --green: #6fd08c;
    --radius: 16px; --max: 1120px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--ink);
    font: 17px/1.6 "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
  a { color: inherit; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
  .skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--yellow); color: var(--yellow-ink); padding: 8px 12px; border-radius: 8px; z-index: 10; }

  /* nav */
  header.nav { position: sticky; top: 0; z-index: 5; background: rgba(11,11,11,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .nav .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
  .logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -.01em; }
  .logo img { width: 32px; height: 32px; border-radius: 8px; }
  .nav nav { margin-left: auto; display: flex; gap: 22px; align-items: center; font-size: 15px; color: var(--muted); }
  .nav nav a { text-decoration: none; } .nav nav a:hover { color: var(--ink); }
  .btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; text-decoration: none;
    padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
  .btn:hover { border-color: var(--muted); }
  .btn.primary { background: var(--yellow); color: var(--yellow-ink); border-color: var(--yellow); }
  .btn.primary:hover { filter: brightness(1.06); }
  .btn.sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
  :focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

  /* hero */
  .hero { padding: 72px 0 40px; }
  .hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
  .pill { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--yellow);
    border: 1px solid rgba(255,210,31,.35); background: rgba(255,210,31,.08); padding: 6px 12px; border-radius: 999px; }
  h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.03em; margin: 18px 0 18px; font-weight: 800; }
  h1 em { font-style: normal; color: var(--yellow); }
  .lead { font-size: 20px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
  .cta { display: flex; gap: 12px; flex-wrap: wrap; }
  .facts { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; font-size: 14px; color: var(--muted); }
  .facts span::before { content: "✓ "; color: var(--green); font-weight: 800; }
  .frame { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
  .frame img { display: block; width: 100%; height: auto; border-radius: 12px; }
  .frame figcaption, .shot figcaption { font-size: 13px; color: var(--muted); padding: 10px 6px 2px; }

  /* sections */
  section { padding: 72px 0; }
  .eyebrow { color: var(--yellow); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
  h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.02em; margin: 8px 0 14px; font-weight: 800; }
  .sub { color: var(--muted); max-width: 40em; margin: 0 0 36px; font-size: 18px; }
  .grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
  .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
  .card h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.01em; }
  .card p { margin: 0; color: var(--muted); font-size: 16px; }
  .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,210,31,.12); color: var(--yellow);
    display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }

  .band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .shots { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); align-items: start; }
  .shot { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 10px; }
  .shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
  .shot b { display: block; padding: 12px 6px 0; font-size: 17px; }

  .steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); padding: 0; list-style: none; margin: 0; }
  .steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
  .steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
    background: var(--yellow); color: var(--yellow-ink); font-weight: 800; margin-bottom: 14px; }
  .steps b { display: block; font-size: 19px; margin-bottom: 4px; }
  .steps span { color: var(--muted); }

  .checks { columns: 2; column-gap: 40px; padding: 0; margin: 0; list-style: none; }
  .checks li { break-inside: avoid; padding: 0 0 14px 28px; position: relative; color: var(--muted); }
  .checks li b { color: var(--ink); }
  .checks li::before { content: "▲"; position: absolute; left: 0; top: 2px; font-size: 12px; color: var(--yellow); }

  .road { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
  .road .card { position: relative; }
  .badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
  .badge.live { background: var(--yellow); color: var(--yellow-ink); }
  .badge.soon { border: 1px dashed var(--muted); color: var(--muted); }
  .card.dim { border-style: dashed; }

  pre, code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
  code { background: var(--panel-2); border: 1px solid var(--line); padding: 1px 7px; border-radius: 6px; font-size: .9em; }
  .install { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
  .install ol { margin: 0 0 24px; padding-left: 22px; } .install li { margin-bottom: 10px; color: var(--muted); } .install li b { color: var(--ink); }
  .note { border-left: 4px solid var(--yellow); background: var(--panel); border-radius: 0 12px 12px 0; padding: 16px 20px; color: var(--muted); font-size: 16px; }
  .note b { color: var(--ink); }

  /* credits + footer */
  .built { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
  .built .card a { color: var(--yellow); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,210,31,.4); }
  footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
  footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
  footer a { color: var(--ink); }

  @media (max-width: 900px) {
    .hero .wrap, .install { grid-template-columns: 1fr; }
    .grid, .shots, .steps, .road, .built { grid-template-columns: 1fr; }
    .checks { columns: 1; }
    .nav nav a:not(.btn) { display: none; }
    .hero { padding-top: 40px; } section { padding: 52px 0; }
    .frame { max-width: 460px; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  /* ---- v2 polish ---- */
  :root { --ease: cubic-bezier(.2,.7,.2,1); --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 60px -20px rgba(0,0,0,.7); }
  body { background: radial-gradient(1100px 520px at 78% -80px, rgba(255,210,31,.10), transparent 60%), var(--bg); background-repeat: no-repeat; }
  .nav .wrap { height: 68px; }
  .nav nav { gap: 26px; }
  .btn { transition: transform .15s var(--ease), border-color .15s, filter .15s, background .15s; }
  .btn:active { transform: translateY(1px); }
  .btn.primary { box-shadow: 0 8px 24px -10px rgba(255,210,31,.55); }
  .card { box-shadow: var(--shadow); transition: border-color .2s, transform .2s var(--ease); }
  .grid .card:hover, .road .card:hover { border-color: #3a3a36; transform: translateY(-2px); }
  .hero { padding: 84px 0 56px; }
  .hero .wrap { align-items: center; gap: 56px; }
  .lead { font-size: 20px; line-height: 1.55; }
  .facts { gap: 10px; margin-top: 30px; }
  .facts span { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink); background: var(--panel);
    border: 1px solid var(--line); padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
  .facts span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
  .frame { position: relative; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.02); }
  .frame::before { content: ""; position: absolute; inset: -40px -30px; z-index: -1; background: radial-gradient(closest-side, rgba(255,210,31,.16), transparent); filter: blur(10px); }
  .frame .crop { max-height: 640px; overflow: hidden; border-radius: 12px; position: relative;
    -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
  .frame .crop img { border-radius: 0; }
  .shot .crop { max-height: 520px; overflow: hidden; border-radius: 10px;
    -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
  .shot .crop.full { max-height: none; -webkit-mask-image: none; mask-image: none; }
  .shot .crop img { border-radius: 0; }
  .shot b { font-size: 18px; }
  h2 { text-wrap: balance; } h1 { text-wrap: balance; }
  .sub { line-height: 1.6; }
  .eyebrow { display: inline-flex; gap: 10px; align-items: center; }
  .eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--yellow); border-radius: 2px; }
  .ico { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(145deg, rgba(255,210,31,.22), rgba(255,210,31,.06)); border: 1px solid rgba(255,210,31,.25); }
  .steps li, .road .card, .built .card { box-shadow: var(--shadow); }
  .note { box-shadow: var(--shadow); }
  .guide a.btn { margin-top: 6px; }
  .prose { max-width: 760px; }
  .prose h2 { margin-top: 56px; }
  .prose p, .prose li { color: var(--muted); }
  .prose li b, .prose p b { color: var(--ink); }
  .prose ol { padding-left: 0; list-style: none; counter-reset: g; margin: 20px 0; }
  .prose ol > li { counter-increment: g; position: relative; padding: 0 0 22px 52px; margin: 0; }
  .prose ol > li::before { content: counter(g); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
    background: var(--yellow); color: var(--yellow-ink); font-weight: 800; display: grid; place-items: center; }
  .prose ol > li > b:first-child { display: block; color: var(--ink); font-size: 19px; margin-bottom: 2px; }
  .kbd { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--panel-2); border: 1px solid var(--line); border-bottom-width: 2px; padding: 1px 7px; border-radius: 6px; font-size: .88em; color: var(--ink); }
  table.t { width: 100%; border-collapse: collapse; font-size: 15px; margin: 18px 0; }
  table.t th, table.t td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
  table.t th { color: var(--ink); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
  table.t td:first-child { color: var(--ink); white-space: nowrap; font-weight: 600; }
  table.t td { color: var(--muted); }
  .crumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; } .crumb a { text-decoration: none; border-bottom: 1px solid var(--line); }
  footer .wrap { align-items: center; }
  @media (max-width: 900px) {
    .nav nav a:not(.btn) { display: none; }
    .hero { padding-top: 36px; }
    .frame .crop { max-height: 460px; }
    .shot .crop { max-height: 420px; }
    table.t td:first-child { white-space: normal; }
  }
