﻿
    *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }

    :root {
      --bg:      #0a0c0a;
      --bg2:     #111411;
      --bg3:     #161a16;
      --brd:     #1e2a1e;
      --fg:      #c8dcc8;
      --fgm:     #7aaa7a;
      --fgd:     #3a5a3a;
      --grn:     #22dd44;
      --grn2:    #14aa2a;
      --amber:   #f0a800;
      --red:     #ff3322;
      --blue:    #44aaff;
      --r:       4px;
      --ffm:     'Share Tech Mono', monospace;
      --ffs:     'Inter', sans-serif;
      --ffo:     'Orbitron', monospace;
    }

    html { scroll-behavior:smooth; }

    body {
      background:var(--bg);
      color:var(--fg);
      font-family:var(--ffs);
      font-size:15px;
      line-height:1.6;
      min-height:100vh;
    }

    /* ── TOP NAV ── */
    .nav {
      position:sticky; top:0; z-index:100;
      background:rgba(10,12,10,.96);
      backdrop-filter:blur(12px);
      border-bottom:1px solid var(--brd);
      display:flex; align-items:center; justify-content:space-between;
      padding:.7rem 1.5rem;
      gap:1rem;
    }
    .nav-brand {
      font-family:var(--ffo); font-size:.75rem; letter-spacing:.25em;
      color:var(--grn); white-space:nowrap;
    }
    .nav-links {
      display:flex; gap:.3rem; flex-wrap:wrap;
    }
    .nav-links a {
      font-family:var(--ffm); font-size:.52rem; letter-spacing:.12em;
      color:var(--fgd); text-decoration:none;
      padding:.25rem .5rem; border:1px solid transparent; border-radius:2px;
      transition:color .2s, border-color .2s;
    }
    .nav-links a:hover { color:var(--grn); border-color:var(--brd); }
    .nav-back {
      font-family:var(--ffm); font-size:.52rem; letter-spacing:.12em;
      color:var(--fgd); text-decoration:none;
      border:1px solid var(--brd); padding:.25rem .6rem; border-radius:2px;
      transition:color .2s;
    }
    .nav-back:hover { color:var(--grn); }

    /* ── HERO ── */
    .hero {
      padding:4rem 1.5rem 2.5rem;
      text-align:center;
      border-bottom:1px solid var(--brd);
      background:radial-gradient(ellipse 70% 40% at 50% 0%, rgba(34,220,68,.04) 0%, transparent 70%);
    }
    .hero-badge {
      font-family:var(--ffm); font-size:.55rem; letter-spacing:.3em;
      color:var(--grn2); border:1px solid rgba(34,180,68,.2);
      padding:.25rem .8rem; border-radius:2px; display:inline-block; margin-bottom:1.2rem;
    }
    .hero h1 {
      font-family:var(--ffo); font-size:clamp(1.4rem,4vw,2.4rem);
      font-weight:900; letter-spacing:.08em;
      color:#fff; margin-bottom:.6rem; line-height:1.2;
    }
    .hero h1 span { color:var(--grn); }
    .hero-sub {
      font-size:.95rem; color:var(--fgm); max-width:560px; margin:0 auto 1.8rem;
    }
    .hero-tags {
      display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center;
    }
    .tag {
      font-family:var(--ffm); font-size:.5rem; letter-spacing:.15em;
      background:var(--bg3); border:1px solid var(--brd);
      padding:.2rem .6rem; border-radius:2px; color:var(--fgm);
    }
    .tag.green  { border-color:rgba(34,200,68,.25); color:var(--grn); }
    .tag.amber  { border-color:rgba(240,168,0,.25);  color:var(--amber); }
    .tag.blue   { border-color:rgba(68,170,255,.25); color:var(--blue); }

    /* ── LAYOUT ── */
    .container {
      max-width:900px; margin:0 auto; padding:0 1.5rem;
    }

    /* ── SECTION ── */
    section {
      padding:3rem 0 2rem;
      border-bottom:1px solid var(--brd);
    }
    section:last-child { border-bottom:none; }

    .section-label {
      font-family:var(--ffm); font-size:.5rem; letter-spacing:.3em;
      color:var(--grn2); margin-bottom:.6rem;
    }
    h2 {
      font-family:var(--ffo); font-size:1.1rem; font-weight:700;
      letter-spacing:.1em; color:#fff; margin-bottom:1.2rem;
    }
    h3 {
      font-family:var(--ffo); font-size:.75rem; font-weight:700;
      letter-spacing:.14em; color:var(--fg); margin-bottom:.7rem; margin-top:1.5rem;
    }
    h3:first-child { margin-top:0; }
    p { color:var(--fgm); margin-bottom:.9rem; line-height:1.7; font-size:.92rem; }
    p:last-child { margin-bottom:0; }

    /* ── FEATURE GRID ── */
    .feat-grid {
      display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
      gap:.75rem; margin-top:1.2rem;
    }
    .feat-card {
      background:var(--bg2); border:1px solid var(--brd); border-radius:var(--r);
      padding:1rem 1.1rem;
      transition:border-color .2s;
    }
    .feat-card:hover { border-color:#2a3a2a; }
    .feat-icon {
      width:32px; height:32px; margin-bottom:.7rem;
      display:flex; align-items:center; justify-content:center;
      border:1px solid var(--brd); border-radius:var(--r);
      background:var(--bg3);
    }
    .feat-icon svg { width:16px; height:16px; stroke:var(--grn); fill:none; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
    .feat-title {
      font-family:var(--ffm); font-size:.58rem; letter-spacing:.16em;
      color:var(--fg); margin-bottom:.35rem;
    }
    .feat-desc { font-size:.8rem; color:var(--fgm); line-height:1.5; }

    /* ── DIAGRAM ── */
    .diagram {
      background:var(--bg2); border:1px solid var(--brd); border-radius:var(--r);
      padding:1.5rem; margin:1.2rem 0; position:relative; overflow:hidden;
    }
    .diagram::before {
      content:''; position:absolute; inset:0; pointer-events:none;
      background:repeating-linear-gradient(0deg,rgba(0,0,0,.06) 0px,rgba(0,0,0,.06) 1px,transparent 1px,transparent 3px);
    }
    .diag-row {
      display:flex; align-items:stretch; gap:.5rem;
      font-family:var(--ffm); font-size:.55rem; letter-spacing:.1em;
      flex-wrap:wrap;
    }
    .diag-box {
      background:var(--bg3); border:1px solid var(--brd); border-radius:3px;
      padding:.5rem .8rem; flex:1; min-width:110px;
      display:flex; flex-direction:column; align-items:center; justify-content:center;
      text-align:center; gap:.3rem;
    }
    .diag-box.hi  { border-color:rgba(34,200,68,.3); background:rgba(34,200,68,.04); }
    .diag-box.am  { border-color:rgba(240,168,0,.3);  background:rgba(240,168,0,.04); }
    .diag-box.bl  { border-color:rgba(68,170,255,.3); background:rgba(68,170,255,.04); }
    .diag-ttl  { color:var(--fg); font-size:.52rem; letter-spacing:.14em; }
    .diag-val  { font-size:.7rem; color:var(--grn); }
    .diag-val.am { color:var(--amber); }
    .diag-val.bl { color:var(--blue); }
    .diag-arrow {
      display:flex; align-items:center; color:var(--fgd); font-size:.8rem;
      flex-shrink:0;
    }

    /* ── STEPS ── */
    .steps { display:flex; flex-direction:column; gap:.6rem; margin-top:1rem; }
    .step {
      display:flex; gap:1rem; align-items:flex-start;
      background:var(--bg2); border:1px solid var(--brd); border-radius:var(--r);
      padding:.9rem 1rem;
    }
    .step-num {
      font-family:var(--ffo); font-size:.75rem; font-weight:700;
      color:var(--grn); min-width:24px; text-align:center; padding-top:.05rem;
    }
    .step-body { flex:1; }
    .step-title {
      font-family:var(--ffm); font-size:.6rem; letter-spacing:.14em;
      color:var(--fg); margin-bottom:.3rem;
    }
    .step-desc { font-size:.82rem; color:var(--fgm); line-height:1.6; }
    .step-desc code { font-family:var(--ffm); color:var(--grn); font-size:.78rem; }

    /* ── CONTROLS TABLE ── */
    .ctrl-table {
      width:100%; border-collapse:collapse; margin-top:1rem;
    }
    .ctrl-table th {
      font-family:var(--ffm); font-size:.5rem; letter-spacing:.2em;
      color:var(--fgd); text-align:left;
      padding:.5rem .8rem; border-bottom:1px solid var(--brd);
    }
    .ctrl-table td {
      font-size:.82rem; color:var(--fgm); padding:.55rem .8rem;
      border-bottom:1px solid rgba(30,42,30,.6);
      vertical-align:top;
    }
    .ctrl-table tr:last-child td { border-bottom:none; }
    .ctrl-table td:first-child {
      font-family:var(--ffm); font-size:.58rem; color:var(--fg);
      white-space:nowrap; letter-spacing:.08em; width:140px;
    }
    .kbd {
      display:inline-block; font-family:var(--ffm); font-size:.52rem;
      background:var(--bg3); border:1px solid var(--brd); border-radius:2px;
      padding:.1rem .35rem; color:var(--fg); letter-spacing:.06em;
    }

    /* ── STATUS BADGES ── */
    .status-grid {
      display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
      gap:.6rem; margin-top:1rem;
    }
    .status-card {
      background:var(--bg2); border:1px solid var(--brd); border-radius:var(--r);
      padding:.8rem 1rem; display:flex; align-items:center; gap:.8rem;
    }
    .status-dot {
      width:10px; height:10px; border-radius:50%; flex-shrink:0;
    }
    .status-dot.off    { background:#333; }
    .status-dot.stby   { background:var(--amber); box-shadow:0 0 6px rgba(240,168,0,.4); }
    .status-dot.rx     { background:var(--grn); box-shadow:0 0 8px rgba(34,220,68,.5); animation:pulse 1.2s infinite; }
    @keyframes pulse { 0%,100%{ opacity:1; } 50%{ opacity:.5; } }
    .status-body {}
    .status-name { font-family:var(--ffm); font-size:.6rem; letter-spacing:.14em; color:var(--fg); }
    .status-desc { font-size:.75rem; color:var(--fgm); margin-top:.15rem; }

    /* ── THEMES GRID ── */
    .themes-grid {
      display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
      gap:.75rem; margin-top:1rem;
    }
    .theme-card {
      border-radius:var(--r); overflow:hidden; border:1px solid var(--brd);
    }
    .theme-preview {
      padding:.8rem; font-family:var(--ffm); font-size:.48rem; letter-spacing:.08em;
    }
    .theme-preview-tg { font-size:.9rem; font-weight:700; margin:.15rem 0; }
    .theme-preview-bar { height:4px; border-radius:1px; margin-top:.4rem; }
    .theme-label {
      padding:.5rem .8rem; background:var(--bg2); border-top:1px solid var(--brd);
    }
    .theme-label-name { font-family:var(--ffm); font-size:.55rem; letter-spacing:.14em; color:var(--fg); }
    .theme-label-desc { font-size:.72rem; color:var(--fgd); margin-top:.1rem; }

    /* theme preview colors */
    .tp-green  { background:#1c2a1e; color:#a8e6a0; }
    .tp-green .theme-preview-bar  { background:linear-gradient(90deg,#22cc44 60%,#ddcc00 78%,#ff2222 100%); }
    .tp-blue   { background:#0e1a2e; color:#8ad4f8; }
    .tp-blue .theme-preview-bar   { background:linear-gradient(90deg,#22aaff 60%,#aa88ff 78%,#ff4488 100%); }
    .tp-amber  { background:#1e1600; color:#e8c460; }
    .tp-amber .theme-preview-bar  { background:linear-gradient(90deg,#ffaa00 60%,#ff6600 78%,#ff2200 100%); }
    .tp-night  { background:#1e0808; color:#e85050; }
    .tp-night .theme-preview-bar  { background:linear-gradient(90deg,#ff2222 60%,#ff8800 78%,#ffff00 100%); }

    /* ── TG TABLE ── */
    .tg-table {
      width:100%; border-collapse:collapse; margin-top:1rem;
    }
    .tg-table th {
      font-family:var(--ffm); font-size:.5rem; letter-spacing:.2em;
      color:var(--fgd); text-align:left;
      padding:.45rem .7rem; border-bottom:1px solid var(--brd);
    }
    .tg-table td {
      font-size:.82rem; padding:.45rem .7rem;
      border-bottom:1px solid rgba(30,42,30,.5); color:var(--fgm);
    }
    .tg-table tr:last-child td { border-bottom:none; }
    .tg-table td:first-child { font-family:var(--ffm); font-size:.62rem; color:var(--grn); width:80px; }
    .tg-table td:nth-child(2) { color:var(--fg); }
    .tg-table .tg-local { color:var(--amber); }

    /* ── INFO BOX ── */
    .info-box {
      background:var(--bg2); border:1px solid var(--brd); border-left:3px solid var(--grn);
      border-radius:var(--r); padding:.9rem 1.1rem; margin:1rem 0;
    }
    .info-box.warn  { border-left-color:var(--amber); }
    .info-box.info  { border-left-color:var(--blue); }
    .info-box p { font-size:.82rem; color:var(--fgm); }
    .info-box p strong { color:var(--fg); }

    /* ── FAQ ── */
    .faq { display:flex; flex-direction:column; gap:.5rem; margin-top:1rem; }
    .faq-item { background:var(--bg2); border:1px solid var(--brd); border-radius:var(--r); overflow:hidden; }
    .faq-q {
      display:flex; justify-content:space-between; align-items:center;
      padding:.8rem 1rem; cursor:pointer; user-select:none;
      font-family:var(--ffm); font-size:.6rem; letter-spacing:.1em; color:var(--fg);
    }
    .faq-q:hover { background:rgba(255,255,255,.02); }
    .faq-q .faq-arr { color:var(--fgd); transition:transform .2s; font-size:.9rem; }
    .faq-item.open .faq-q .faq-arr { transform:rotate(180deg); }
    .faq-a {
      display:none; padding:.2rem 1rem .9rem; font-size:.82rem; color:var(--fgm); line-height:1.6;
    }
    .faq-item.open .faq-a { display:block; }
    .faq-a code { font-family:var(--ffm); color:var(--grn); font-size:.78rem; }

    /* ── SPEC TABLE ── */
    .spec-table { width:100%; border-collapse:collapse; margin-top:1rem; }
    .spec-table td {
      padding:.45rem .8rem; border-bottom:1px solid rgba(30,42,30,.5);
      font-size:.82rem;
    }
    .spec-table tr:last-child td { border-bottom:none; }
    .spec-table td:first-child {
      font-family:var(--ffm); font-size:.56rem; letter-spacing:.1em;
      color:var(--fgd); width:180px;
    }
    .spec-table td:last-child { color:var(--fg); }

    /* ── FOOTER ── */
    footer {
      text-align:center; padding:2rem;
      font-family:var(--ffm); font-size:.5rem; letter-spacing:.2em;
      color:var(--fgd); border-top:1px solid var(--brd);
    }
    footer a { color:var(--grn2); text-decoration:none; }

    /* ── SCROLL ANCHOR OFFSET ── */
    [id] { scroll-margin-top:60px; }

    @media(max-width:600px){
      .nav-links { display:none; }
      .diag-arrow { display:none; }
      .diag-row { flex-direction:column; }
    }
  