/* Theopneia design tokens — single source for colour, type and spacing on the
   public pages. Page stylesheets reference these instead of literals.

   Two golds exist on purpose:
     --gold         accents: borders, links, small labels
     --gold-display headings and titles, which need more light on dark surfaces */

:root {
  /* Surfaces */
  --bg: #0b1d23;
  --surface: #173337;

  /* Text */
  --ink: #edf0e7;
  --muted: #b5c8c7;
  --muted-dim: #93a1ad;

  /* Accents */
  --gold: #C5A367;
  --gold-display: #e7cc8c;
  --crimson: #823E40;

  /* Lines */
  --line: #39575a;
  --line-soft: rgba(197, 163, 103, 0.24);
  --focus: #C5A367;

  /* Ink family used by the newer marketing sections */
  --ink-900: #0b1118;
  --ink-800: #0d151d;
  --ink-700: #111923;

  /* Type */
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;

  /* Shape */
  --radius: 10px;
  --radius-sm: 6px;
}

/* One focus treatment for links, buttons, fields and summaries. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
