/* ============================================================
   BASE — Decan Symbology
   Minimal reset + the brand's default skin: warm ivory text on
   the deep void, vellum selection, gilt scrollbars.
   ============================================================ */

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: var(--type-body);
  font-feature-settings: "liga" 1, "kern" 1, "onum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* headings default to the inscriptional face */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.4em;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--text);
}

p { margin: 0 0 1em; max-width: var(--measure); }

a { color: var(--text-gold); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold-bright); }

::selection { background: var(--gem); color: var(--ivory); }

small { font-size: var(--text-sm); }
code, kbd, samp { font-family: var(--font-mono); font-size: 0.92em; }

hr {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: var(--space-6) 0;
}

/* gilt scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold-deep), var(--gold-shadow));
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-track { background: transparent; }

/* ---- A FEW UTILITY HELPERS (brand-scoped, optional) ---- */
.u-eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-gold);
}
.u-glyph { font-family: var(--font-glyph); line-height: 1; }
.u-measure { max-width: var(--measure); }
.u-void { background: var(--grad-void); }
