/* ============================================================
   Niphoria — shared design system : BASE
   Design tokens, reset, theme, typography. Used by every subsite.
   Edit here to restyle the whole project at once.
   ============================================================ */
:root {
  /* Brand palette */
  --navy: #12305c;
  --navy-2: #1c4a86;
  --blue: #2b6cb0;
  --blue-soft: #eaf0f8;
  --gold: #b8862f;
  --gold-soft: #f5ecd8;

  /* Neutrals (light) */
  --bg: #f6f5f1;
  --bg-panel: #ffffff;
  --bg-sunken: #efeee9;
  --ink: #1c2230;
  --ink-soft: #55607a;
  --ink-faint: #8a93a8;
  --line: #e4e2dc;
  --line-strong: #cdccc4;

  /* Semantic */
  --accent: var(--navy);
  --accent-2: var(--blue);
  --accent-soft: var(--blue-soft);

  --shadow-sm: 0 1px 2px rgba(20,26,40,.05);
  --shadow: 0 1px 2px rgba(20,26,40,.05), 0 10px 30px rgba(20,26,40,.07);
  --shadow-lg: 0 2px 6px rgba(20,26,40,.06), 0 24px 60px rgba(20,26,40,.12);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --maxw: 1080px;
  --maxw-narrow: 780px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161c;
    --bg-panel: #1c1f28;
    --bg-sunken: #23262f;
    --ink: #eef0f5;
    --ink-soft: #b3bacb;
    --ink-faint: #7c8499;
    --line: #2a2e3a;
    --line-strong: #3a4050;
    --blue-soft: #232a38;
    --gold-soft: #2c2717;
    --accent: #8fb4e6;
    --accent-2: #6fa3dd;
    --accent-soft: #232a38;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 34px rgba(0,0,0,.35);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.35), 0 26px 64px rgba(0,0,0,.5);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; }
::selection { background: var(--gold-soft); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 20px; }
.section { padding: 40px 0; }

.kicker {
  display: inline-block; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); font-weight: 700;
}
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
[hidden] { display: none !important; }
