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

  :root {
    --black: #f7f4ec;
    --off-black: #fffdf8;
    --surface: #ffffff;
    --border: rgba(30,28,20,0.10);
    --border-bright: rgba(30,28,20,0.22);
    --gold: #9a7420;
    --gold-light: #b3862a;
    --gold-dim: rgba(179,134,42,0.10);
    --green: #2f7d52;
    --green-dim: rgba(47,125,82,0.08);
    --red: #b0443a;
    --text: #1d1b16;
    --text-muted: #77736a;
    --text-mid: #4a473f;
    --ink: #ffffff;
    --mono: 'DM Mono', monospace;
    --serif: 'DM Serif Display', serif;
    --sans: 'Instrument Sans', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--black);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(30,28,20,0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(30,28,20,0.035) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
  }

  a { color: var(--gold-light); }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    background: rgba(247,244,236,0.9);
    backdrop-filter: blur(12px);
  }
  .nav-logo { font-family: var(--serif); font-size: 1.25rem; color: var(--text); text-decoration: none; }
  .nav-logo span { color: var(--gold); }
  .nav-links { display: flex; gap: 1.5rem; align-items: center; }
  .nav-links a {
    font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--text-muted); text-decoration: none;
  }
  .nav-links a:hover { color: var(--gold); }
  .nav-menu { display: none; position: relative; }
  .nav-menu summary { list-style: none; cursor: pointer; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text); border: 1px solid var(--border-bright); border-radius: 3px; padding: 0.45rem 0.8rem; }
  .nav-menu summary::-webkit-details-marker { display: none; }
  .nav-menu[open] summary { border-color: var(--gold); color: var(--gold); }
  .nav-drop { position: absolute; right: 0; top: calc(100% + 0.5rem); min-width: 200px; background: var(--surface); border: 1px solid var(--border-bright); border-radius: 4px; box-shadow: 0 12px 32px rgba(30,28,20,0.12); display: flex; flex-direction: column; padding: 0.4rem 0; z-index: 200; }
  .nav-links .nav-drop a { display: block; padding: 0.8rem 1.1rem; font-size: 0.72rem; color: var(--text); }
  .nav-links .nav-drop a:hover { background: var(--gold-dim); color: var(--gold); }

  /* LAYOUT */
  .wrap { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; padding: 0 2rem; }
  section { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; padding: 5rem 2rem; }
  .divider { position: relative; z-index: 1; border-top: 1px solid var(--border); max-width: 920px; margin: 0 auto; }

  .kicker {
    font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: 0.75rem;
  }
  .kicker::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
  .kicker.muted { color: var(--text-muted); }
  .kicker.muted::before { background: var(--text-muted); }

  h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
  h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.15; margin-bottom: 1.25rem; max-width: 640px; }
  h1 em, h2 em { font-style: italic; color: var(--gold-light); }
  section p { color: var(--text-mid); max-width: 560px; line-height: 1.8; margin-bottom: 1rem; }

  /* HERO */
  .hero { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; padding: 9rem 2rem 5rem; min-height: 92vh; display: flex; flex-direction: column; justify-content: center; }
  .hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); line-height: 1.05; margin-bottom: 1.75rem; max-width: 820px; }
  .hero-sub { font-size: 1.08rem; color: var(--text-mid); max-width: 560px; line-height: 1.75; margin-bottom: 2.75rem; }

  .stat-strip {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
    max-width: 720px; margin-bottom: 3rem; background: var(--surface);
  }
  .stat { padding: 1.1rem 1.4rem; border-right: 1px solid var(--border); }
  .stat:last-child { border-right: none; }
  .stat-val { font-family: var(--mono); font-size: 1.2rem; font-weight: 500; color: var(--gold); display: block; line-height: 1; margin-bottom: 0.4rem; }
  .stat-label { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

  /* FORMS */
  .capture { max-width: 480px; }
  .capture-label { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
  .capture-form { display: flex; border: 1px solid var(--border-bright); border-radius: 4px; overflow: hidden; transition: border-color 0.2s; }
  .capture-form:focus-within { border-color: var(--gold); }
  .capture-form input {
    flex: 1; min-width: 0; background: var(--surface); border: none; outline: none;
    padding: 0.85rem 1.1rem; font-family: var(--sans); font-size: 0.9rem; color: var(--text);
  }
  .capture-form input + input { border-left: 1px solid var(--border); flex: 0 0 110px; text-transform: uppercase; }
  .capture-form input::placeholder { color: var(--text-muted); text-transform: none; }
  .capture-form button {
    background: var(--gold); border: none; padding: 0.85rem 1.4rem;
    font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--ink); cursor: pointer; white-space: nowrap;
  }
  .capture-form button:hover { background: var(--text); }
  .capture-form button:disabled { opacity: 0.6; cursor: default; }
  .capture-form.ghost button { background: transparent; color: var(--gold); border-left: 1px solid var(--border-bright); }
  .capture-form.ghost button:hover { background: var(--gold-dim); }
  .capture-note { font-size: 0.74rem; color: var(--text-muted); margin-top: 0.6rem; }
  .capture-success, .capture-error {
    display: none; padding: 0.85rem 1.1rem; border-radius: 4px;
    font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em;
  }
  .capture-success { border: 1px solid var(--green); background: var(--green-dim); color: var(--green); }
  .capture-error { border: 1px solid var(--red); color: var(--red); margin-top: 0.6rem; }

  /* STEPS */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; margin-top: 2.5rem; }
  .step { background: var(--surface); padding: 1.75rem; }
  .step-num { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
  .step h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
  .step p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

  /* INDEX TABLE */
  .table-wrap { box-shadow: 0 1px 2px rgba(30,28,20,0.04); margin-top: 2.5rem; border: 1px solid var(--border); border-radius: 4px; overflow-x: auto; background: var(--surface); }
  table { width: 100%; border-collapse: collapse; min-width: 640px; }
  th, td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.82rem; }
  th { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); font-weight: 400; }
  td { color: var(--text-mid); font-family: var(--mono); }
  tr:last-child td { border-bottom: none; }
  .empty-row td { text-align: center; color: var(--text-muted); font-family: var(--sans); padding: 2rem 1rem; }

  /* PROOF / CREED */
  .proof { border-left: 2px solid var(--gold); padding: 1.5rem 2rem; background: var(--gold-dim); border-radius: 0 4px 4px 0; margin-top: 2rem; max-width: 640px; }
  .proof-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
  .proof p { font-size: 1rem; color: var(--text); margin: 0; max-width: 100%; }

  .creed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
  .creed h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
  .creed p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

  /* ISSUER BLOCK */
  .issuer { border: 1px solid var(--border-bright); border-radius: 4px; padding: 2.5rem; background: var(--off-black); box-shadow: 0 1px 2px rgba(30,28,20,0.04), 0 12px 32px rgba(30,28,20,0.05); }
  .issuer h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
  .issuer ul { list-style: none; margin: 1.5rem 0 2rem; max-width: 560px; }
  .issuer li { color: var(--text-mid); font-size: 0.9rem; padding: 0.5rem 0 0.5rem 1.4rem; position: relative; border-bottom: 1px solid var(--border); }
  .issuer li::before { content: ''; position: absolute; left: 0; top: 1.05rem; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

  /* FOOTER */
  footer { position: relative; z-index: 1; border-top: 1px solid var(--border); max-width: 920px; margin: 0 auto; padding: 2rem; }
  .foot-row { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
  .foot-row span { font-family: var(--mono); font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
  .disclosure { font-size: 0.72rem; color: var(--text-muted); line-height: 1.7; max-width: 760px; }

  @keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .hero > * { animation: fadeUp 0.6s ease both; }
  .hero > *:nth-child(2) { animation-delay: 0.1s; }
  .hero > *:nth-child(3) { animation-delay: 0.2s; }
  .hero > *:nth-child(4) { animation-delay: 0.3s; }
  .hero > *:nth-child(5) { animation-delay: 0.4s; }

  @media (max-width: 720px) {
    nav { padding: 1rem; }
    .nav-links a.hide-sm { display: none; }
    .nav-menu { display: block; }
    .nav-links > a:not(.hide-sm) { display: none; }
    .hero { padding: 7.5rem 1rem 4rem; min-height: auto; }
    section, .wrap { padding-left: 1rem; padding-right: 1rem; }
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
    .steps, .creed { grid-template-columns: 1fr; }
    .issuer { padding: 1.5rem; }
    .capture-form { flex-wrap: wrap; }
    .capture-form input + input { flex: 1 1 100%; border-left: none; border-top: 1px solid var(--border); }
    .capture-form button { flex: 1 1 100%; }
    .capture-form.ghost button { border-left: none; border-top: 1px solid var(--border-bright); }
    .foot-row { flex-direction: column; }
  }
