
  :root {
    --bg: #0a0907;
    --bg-2: #14110d;
    --bg-3: #1d1812;
    --line: rgba(212,175,107,.18);
    --gold: #d4af6b;
    --gold-2: #b89456;
    --gold-soft: #e8cf99;
    --red: #c8321f;
    --ink: #f3ead7;
    --ink-2: #c2b69a;
    --dust: #847a68;
  }
  html { scroll-behavior: smooth; }
  html, body { margin: 0; padding: 0; }
  body {
    background:
      radial-gradient(1200px 600px at 75% -200px, rgba(212,175,107,.08), transparent 70%),
      radial-gradient(800px 500px at 0% 30%, rgba(200,50,31,.05), transparent 70%),
      var(--bg);
    color: var(--ink);
    font-family: "Inter", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    overflow-x: hidden;
  }
  section { scroll-margin-top: 90px; }
  body::before {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
      radial-gradient(rgba(212,175,107,.04) 1px, transparent 1px);
    background-size: 3px 3px;
    mix-blend-mode: overlay;
    opacity: .6;
  }
  .display { font-family: "Archivo Black", sans-serif; letter-spacing: -0.01em; }
  .mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
  ::selection { background: var(--gold); color: #000; }
  * { box-sizing: border-box; }
  a { color: inherit; }
  img { display: block; max-width: 100%; }
  #root { position: relative; z-index: 2; }

  /* Reusable */
  .container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px;
    font-family: "Inter", sans-serif;
    font-size: 13px; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all .15s ease;
    cursor: pointer;
  }
  .btn-gold {
    background: var(--gold); color: #14110d;
  }
  .btn-gold:hover { background: var(--gold-soft); }
  .btn-ghost {
    background: transparent; color: var(--ink);
    border-color: var(--line);
  }
  .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

  .eyebrow {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold);
  }

  /* Section heading underline */
  .section-head { display: flex; align-items: center; gap: 18px; margin-bottom: 36px; }
  .section-head .line { flex: 1; height: 1px; background: var(--line); }
  .section-head .num { font-family: "Archivo Black"; color: var(--gold); font-size: 16px; }

  /* Decorative gold corner box (used on cards) */
  .gold-frame {
    position: relative;
    background: var(--bg-2);
    border: 1px solid var(--line);
    transition: border-color .2s ease;
  }
  .gold-frame:hover { border-color: rgba(212,175,107,.45); }
  .gold-frame::before, .gold-frame::after,
  .gold-frame > .corner-tl, .gold-frame > .corner-tr,
  .gold-frame > .corner-bl, .gold-frame > .corner-br {
    content: ""; position: absolute; width: 10px; height: 10px;
    border: 1.5px solid var(--gold);
    pointer-events: none;
  }
  /* Hide bundler loader error banner — secondary script warnings, not user-facing issues */
  #__bundler_err, #__bundler_loading { display: none !important; }

  .gold-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
  .gold-frame::after  { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
  .gold-frame > .corner-bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
  .gold-frame > .corner-br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

  /* Reveal on scroll */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
  .reveal.in { opacity: 1; transform: translateY(0); }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
  }

  /* === Mobile responsiveness === */
  @media (max-width: 900px) {
    .container { padding: 0 20px !important; }
    section { padding: 60px 0 !important; }
    /* Collapse all multi-column grids to single column on mobile */
    section [style*="grid-template-columns"] {
      grid-template-columns: 1fr !important;
      gap: 32px !important;
    }
    /* Hero stays balanced */
    h1.display { font-size: clamp(48px, 12vw, 72px) !important; }
    h2.display { font-size: clamp(32px, 7vw, 44px) !important; }
    h3.display { font-size: clamp(24px, 6vw, 32px) !important; }
    /* TopNav hide horizontal nav on mobile, show hamburger instead */
    nav[role="navigation"] { display: none !important; }
    .mobile-burger { display: flex !important; }
    header > .container {
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      gap: 12px !important;
      padding: 14px 20px !important;
    }
    header .btn { padding: 10px 14px; font-size: 11px; }
    /* Force 2-col stat strips to 2 columns max */
    .stat-grid { grid-template-columns: 1fr 1fr !important; }
  }

  @media (max-width: 560px) {
    section { padding: 48px 0 !important; }
    h1.display { font-size: clamp(40px, 13vw, 60px) !important; }
    .btn { padding: 12px 18px; font-size: 12px; }
  }


html, body { max-width: 100%; overflow-x: clip; }
@media (max-width: 1280px) {
  .mobile-burger { display: flex !important; }
  header > .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 20px !important;
  }
}
