  :root {
    --bg: #0a0c10;
    --surface: #111318;
    --surface2: #181c24;
    --border: rgba(255,255,255,0.07);
    --gold: #c9a84c;
    --gold-light: #e8c96a;
    --gold-dim: rgba(201,168,76,0.15);
    --text: #e8e6e0;
    --text-muted: #7a7870;
    --text-dim: #4a4845;
    --green: #4caf7d;
    --green-dim: rgba(76,175,125,0.12);
    --blue: #5b9cf6;
    --blue-dim: rgba(91,156,246,0.12);
    --red: #e07070;
    --red-dim: rgba(224,112,112,0.12);
    --radius: 14px;
    --radius-sm: 8px;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* Background texture */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 50% at 20% 0%, rgba(201,168,76,0.04) 0%, transparent 60%),
      radial-gradient(ellipse 60% 40% at 80% 100%, rgba(91,156,246,0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
  }

  .grain {
    position: fixed;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
  }

  .wrap { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 0 24px; }

  /* ── HEADER ── */
  header {
    padding: 48px 0 0;
    text-align: center;
    animation: fadeDown 0.7s ease both;
  }

  .badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--gold-dim);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
  }

  .badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }

  h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }

  h1 span { color: var(--gold); }

  .subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 48px;
    line-height: 1.6;
    font-weight: 300;
  }

  /* ── TABS ── */
  .tabs {
    display: flex;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 28px;
    animation: fadeUp 0.6s 0.2s ease both;
  }

  .tab {
    flex: 1;
    padding: 11px 20px;
    border-radius: 8px;
    border: none;
    background: none;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .tab.active {
    background: var(--surface2);
    color: var(--text);
    box-shadow: 0 1px 8px rgba(0,0,0,0.4);
  }

  .tab svg { opacity: 0.7; }
  .tab.active svg { opacity: 1; }

  /* ── SEARCH PANEL ── */
  .panel { animation: fadeUp 0.6s 0.3s ease both; }
  .panel-section { display: none; }
  .panel-section.active { display: block; }

  .search-box {
    position: relative;
    margin-bottom: 20px;
  }

  .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    pointer-events: none;
  }

  #searchInput {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 18px 18px 52px;
    font-family: 'DM Mono', monospace;
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    letter-spacing: 0.05em;
  }

  #searchInput::placeholder { color: var(--text-dim); font-family: 'DM Sans', sans-serif; font-size: 15px; letter-spacing: 0; }
  #searchInput:focus { border-color: rgba(201,168,76,0.4); box-shadow: 0 0 0 3px rgba(201,168,76,0.08); }

  /* ── RESULT CARD ── */
  .result-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .result-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 14px;
    padding: 40px;
    text-align: center;
  }

  .result-empty svg { opacity: 0.3; }

  .result-content { width: 100%; padding: 24px 28px; display: none; }
  .result-content.show { display: block; animation: fadeUp 0.3s ease both; }

  .result-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
  }

  .result-code {
    font-family: 'DM Mono', monospace;
    font-size: 22px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.08em;
    line-height: 1;
  }

  .result-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .result-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 100px;
  }

  .cat-federal { background: var(--blue-dim); color: var(--blue); }
  .cat-state { background: rgba(180,130,220,0.12); color: #b482dc; }
  .cat-benefits { background: var(--green-dim); color: var(--green); }
  .cat-pay { background: var(--gold-dim); color: var(--gold); }
  .cat-other { background: rgba(150,150,150,0.1); color: #999; }

  .result-divider { height: 1px; background: var(--border); margin: 16px 0; }

  .result-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .result-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
  }

  .fact-chip {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 12px;
  }

  .fact-chip .fact-label { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; font-size: 10px; margin-bottom: 3px; }
  .fact-chip .fact-val { color: var(--text); font-weight: 500; }

  /* Suggestions */
  .suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }

  .suggest-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 14px;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s;
  }

  .suggest-btn:hover { border-color: rgba(201,168,76,0.3); color: var(--gold); background: var(--gold-dim); }

  /* ── PASTE PANEL ── */
  #pasteArea {
    width: 100%;
    min-height: 160px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    color: var(--text);
    outline: none;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
    line-height: 1.7;
  }

  #pasteArea::placeholder { color: var(--text-dim); font-family: 'DM Sans', sans-serif; font-size: 14px; }
  #pasteArea:focus { border-color: rgba(201,168,76,0.4); box-shadow: 0 0 0 3px rgba(201,168,76,0.08); }

  .decode-btn {
    margin-top: 14px;
    width: 100%;
    padding: 16px;
    background: var(--gold);
    color: #0a0c10;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.02em;
  }

  .decode-btn:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(201,168,76,0.25); }
  .decode-btn:active { transform: translateY(0); }

  /* Paste results */
  .paste-results { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

  .paste-result-row {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    animation: fadeUp 0.3s ease both;
  }

  .paste-result-row .code-pill {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    color: var(--gold);
    background: var(--gold-dim);
    border-radius: 6px;
    padding: 3px 8px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .paste-result-row .row-name { font-weight: 500; font-size: 14px; color: var(--text); }
  .paste-result-row .row-desc { font-size: 13px; color: var(--text-muted); margin-top: 2px; line-height: 1.5; }

  .paste-unknown {
    background: var(--red-dim);
    border-color: rgba(224,112,112,0.15);
  }

  .paste-unknown .code-pill { color: var(--red); background: var(--red-dim); }
  .paste-unknown .row-name { color: var(--text-muted); }

  /* ── BROWSE ── */
  .browse-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .browse-title { font-family: 'Playfair Display', serif; font-size: 20px; }

  .filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .filter-pill {
    padding: 5px 14px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s;
  }

  .filter-pill.active, .filter-pill:hover { background: var(--gold-dim); border-color: rgba(201,168,76,0.3); color: var(--gold); }

  .browse-grid { display: flex; flex-direction: column; gap: 6px; }

  .browse-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s;
  }

  .browse-row:hover { border-color: rgba(201,168,76,0.25); background: var(--surface2); }

  .browse-code {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    color: var(--gold);
    min-width: 80px;
  }

  .browse-name { font-size: 14px; font-weight: 500; flex: 1; }
  .browse-short { font-size: 13px; color: var(--text-muted); flex: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* ── STATS BAR ── */
  .stats-bar {
    display: flex;
    gap: 1px;
    margin-bottom: 40px;
    background: var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    animation: fadeUp 0.6s 0.4s ease both;
  }

  .stat {
    flex: 1;
    background: var(--surface);
    padding: 14px;
    text-align: center;
  }

  .stat-num { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--gold); }
  .stat-label { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

  /* ── FOOTER ── */
  footer {
    text-align: center;
    padding: 60px 0 40px;
    color: var(--text-dim);
    font-size: 13px;
    animation: fadeUp 0.6s 0.5s ease both;
  }

  footer a { color: var(--text-muted); text-decoration: none; }
  footer a:hover { color: var(--gold); }

  /* ── ANIMATIONS ── */
  @keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

  /* No results */
  .no-result {
    padding: 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    display: none;
  }

  .no-result strong { color: var(--red); font-family: 'DM Mono', monospace; }

  @media (max-width: 600px) {
    .stats-bar { display: none; }
    .browse-short { display: none; }
    .result-facts { grid-template-columns: 1fr 1fr; }
  }
  
 

    /* ── SEO CONTENT STYLES ── */
    .seo-wrap { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 0 24px; }

    .trust-bar {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 24px;
      padding: 18px 24px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      margin: 48px 0;
      font-size: 13px;
      color: var(--text-muted);
    }
    .trust-item { display: flex; align-items: center; gap: 8px; }
    .trust-icon { color: var(--green); font-weight: 700; }

    .seo-section {
      padding: 64px 0;
      border-top: 1px solid var(--border);
    }

    .seo-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 12px;
    }

    .seo-h2 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(26px, 4vw, 40px);
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -0.02em;
      color: var(--text);
      margin-bottom: 16px;
    }

    .seo-lead {
      font-size: 17px;
      color: var(--text-muted);
      line-height: 1.7;
      max-width: 700px;
      margin-bottom: 36px;
      font-weight: 300;
    }

    .seo-body {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 16px;
    }

    .seo-callout {
      background: var(--gold-dim);
      border: 1px solid rgba(201,168,76,0.2);
      border-left: 3px solid var(--gold);
      border-radius: var(--radius-sm);
      padding: 18px 20px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
      margin-top: 28px;
    }
    .seo-callout strong { color: var(--gold); }

    /* Steps */
    .steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
    .step-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
    }
    .step-num {
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      font-weight: 500;
      color: var(--gold);
      letter-spacing: 0.1em;
      margin-bottom: 10px;
    }
    .step-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 12px; }
    .step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

    /* Features */
    .features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
    .feature-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
      transition: border-color 0.2s;
    }
    .feature-card:hover { border-color: rgba(201,168,76,0.25); }
    .feature-icon { font-size: 22px; margin-bottom: 12px; }
    .feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
    .feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

    /* Benefits */
    .benefits-list { display: flex; flex-direction: column; gap: 20px; }
    .benefit-row {
      display: flex;
      gap: 20px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
    }
    .benefit-num {
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      color: var(--gold);
      min-width: 28px;
      padding-top: 4px;
    }
    .benefit-row h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
    .benefit-row p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

    /* Use Cases */
    .usecases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
    .usecase-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 22px;
    }
    .usecase-tag {
      display: inline-block;
      background: var(--blue-dim);
      color: var(--blue);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 3px 9px;
      border-radius: 100px;
      margin-bottom: 10px;
    }
    .usecase-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
    .usecase-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

    /* Who */
    .who-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
    .who-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
    }
    .who-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
    .who-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

    /* Comparison table */
    .comparison-table-wrap { overflow-x: auto; margin-bottom: 24px; }
    .comparison-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
    }
    .comparison-table th {
      text-align: left;
      padding: 12px 14px;
      border-bottom: 1px solid var(--border);
      color: var(--text-dim);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 600;
      background: var(--surface);
    }
    .comparison-table td {
      padding: 12px 14px;
      border-bottom: 1px solid var(--border);
      color: var(--text-muted);
      vertical-align: middle;
    }
    .highlight-row td { background: var(--gold-dim); color: var(--text); }
    .highlight-row td:first-child { border-left: 2px solid var(--gold); }

    /* Quick codes */
    .codes-quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
    .quick-code-item {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 12px 14px;
    }
    .qcode {
      font-family: 'DM Mono', monospace;
      font-size: 12px;
      font-weight: 500;
      color: var(--gold);
      background: var(--gold-dim);
      padding: 3px 8px;
      border-radius: 5px;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .qdesc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

    /* FAQ */
    .faq-list { display: flex; flex-direction: column; gap: 2px; }
    .faq-item {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      overflow: hidden;
    }
    .faq-q {
      width: 100%;
      text-align: left;
      background: none;
      border: none;
      padding: 18px 20px;
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      font-weight: 500;
      color: var(--text);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      transition: color 0.15s;
    }
    .faq-q:hover { color: var(--gold); }
    .faq-arrow { color: var(--gold); transition: transform 0.2s; flex-shrink: 0; }
    .faq-q.open .faq-arrow { transform: rotate(180deg); }
    .faq-a {
      display: none;
      padding: 0 20px 18px;
      border-top: 1px solid var(--border);
    }
    .faq-a.open { display: block; animation: fadeUp 0.2s ease; }
    .faq-a p { font-size: 14px; color: var(--text-muted); line-height: 1.8; padding-top: 14px; }

    /* Conclusion */
    .conclusion-section { border-bottom: 1px solid var(--border); padding-bottom: 80px; }
    .cta-btn {
      display: inline-block;
      background: var(--gold);
      color: #0a0c10;
      font-family: 'DM Sans', sans-serif;
      font-size: 16px;
      font-weight: 700;
      padding: 16px 36px;
      border-radius: var(--radius-sm);
      text-decoration: none;
      transition: all 0.2s;
      letter-spacing: 0.02em;
    }
    .cta-btn:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(201,168,76,0.3); }

    /* Footer */
    .site-footer {
      position: relative;
      z-index: 1;
      border-top: 1px solid var(--border);
      padding: 60px 24px 0;
      max-width: 900px;
      margin: 0 auto;
    }
    .footer-inner {
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 48px;
      padding-bottom: 48px;
    }
    .footer-logo {
      font-family: 'Playfair Display', serif;
      font-size: 22px;
      color: var(--gold);
      margin-bottom: 14px;
    }
    .footer-brand p { font-size: 13px; color: var(--text-dim); line-height: 1.7; max-width: 340px;}
    .footer-links { display: flex; gap: 40px; }
    .footer-col { display: flex; flex-direction: column; gap: 10px; }
    .footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
    .footer-col a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
    .footer-col a:hover { color: var(--gold); }
    .footer-bottom {
      border-top: 1px solid var(--border);
      padding: 20px 0 32px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 12px;
      color: var(--text-dim);
    }

    @media (max-width: 640px) {
      .footer-inner { grid-template-columns: 1fr; gap: 32px; }
      .footer-links { flex-wrap: wrap; gap: 24px; }
      .trust-bar { flex-direction: column; align-items: flex-start; }
      .benefit-row { flex-direction: column; gap: 10px; }
      .footer-bottom { flex-direction: column; }
    }
  
