﻿*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --gold: #c9a84c;
    --dark: #05091a;
    --dark-mid: #0d1530;
    --text: #e8e4d9;
    --text-muted: #9ca3af;
    --border: rgba(201,168,76,0.2);
  }
  body {
    background: var(--dark);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    padding: 0 1rem;
  }
  .page-wrap { max-width: 820px; margin: 0 auto; padding: 3rem 0 6rem; }
  header { margin-bottom: 3rem; border-bottom: 1px solid var(--border); padding-bottom: 2rem; }
  header a { color: var(--gold); text-decoration: none; font-size: 0.9rem; display: inline-block; margin-bottom: 1rem; }
  header a:hover { text-decoration: underline; }
  h1 { font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1.2; margin-bottom: 0.75rem; }
  .subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; }
  nav.toc { background: var(--dark-mid); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; margin-bottom: 3rem; }
  nav.toc h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 1rem; }
  nav.toc ol { padding-left: 1.25rem; }
  nav.toc li { margin-bottom: 0.4rem; }
  nav.toc a { color: var(--gold); text-decoration: none; font-size: 0.95rem; }
  nav.toc a:hover { text-decoration: underline; }
  section { margin-bottom: 4rem; }
  section h2 { font-size: 1.4rem; font-weight: 700; color: var(--gold); border-bottom: 1px solid var(--border); padding-bottom: 0.6rem; margin-bottom: 1.75rem; }
  .term { margin-bottom: 2rem; scroll-margin-top: 2rem; }
  .term h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
  .term .field-alias { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.6rem; font-style: italic; }
  .term p { color: var(--text-muted); font-size: 0.97rem; }
  .faq { margin-bottom: 2rem; }
  .faq h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
  .faq p { color: var(--text-muted); font-size: 0.97rem; }
  .type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1rem; }
  .type-card { background: var(--dark-mid); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; }
  .type-card h4 { color: var(--gold); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
  .type-card .pct { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
  .type-card p { font-size: 0.88rem; color: var(--text-muted); }
  .cta-bar { background: var(--dark-mid); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; text-align: center; margin-top: 4rem; }
  .cta-bar p { color: var(--text-muted); margin-bottom: 1rem; }
  .cta-bar a { display: inline-block; background: var(--gold); color: var(--dark); font-weight: 700; padding: 0.75rem 2rem; border-radius: 6px; text-decoration: none; font-size: 0.95rem; }
  .cta-bar a:hover { opacity: 0.9; }
  @media (max-width: 600px) { h1 { font-size: 1.5rem; } section h2 { font-size: 1.2rem; } }
