/* ==========================================================================
   7 Deadly Sins Test — design tokens
   Single source of truth for color, type, spacing, radius, shadow and motion.
   Palette keeps the established deep-violet + antique-gold identity (v1.0).
   Core legacy names are preserved so every component keeps rendering as-is.
   ========================================================================== */
:root {
  /* Layout ---------------------------------------------------------------- */
  --wrap: 1120px;
  --content-width: 980px;
  --gutter: 48px;
  --header-height: 72px;

  /* Surfaces -------------------------------------------------------------- */
  --bg: #17151D;            /* page background */
  --bg-deep: #111016;       /* footer, darkest layer */
  --surface: #211E29;       /* cards and panels */
  --surface-raised: #282330;/* quiz card top stop */
  --surface-soft: #1D1A24;  /* alternating sections / nav */
  --nav-bg: #1D1A24;         /* mobile drop-down menu background */
  --panel: #25212D;

  /* Text ------------------------------------------------------------------ */
  --ink: #F3E8CE;           /* primary text, bone */
  --ink-strong: #F2E4C5;    /* hero headline */
  --ink-soft: #E2D4BC;      /* hero subtitle */
  --muted: #C8BDAE;         /* body copy */
  --muted-2: #A99F91;       /* hints, captions */
  --muted-3: #9E958B;       /* fine print */
  --nav-dark: #E9D5A1;

  /* Brand ----------------------------------------------------------------- */
  --accent: #C6A15B;        /* antique gold — primary */
  --accent-hover: #D9B873;
  --accent-deep: #A88A58;   /* eyebrow / mark */
  --accent-line: rgba(198, 161, 91, .42);
  --border: rgba(233, 213, 161, .2);

  /* Seven deadly sins — mineral wax-seal palette -------------------------- */
  --sin-pride: #d9b66f;
  --sin-greed: #c9a34b;
  --sin-lust: #d78a9d;
  --sin-envy: #82b78d;
  --sin-gluttony: #d69a62;
  --sin-wrath: #d36f62;
  --sin-sloth: #91a9c4;

  /* Typography ------------------------------------------------------------ */
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: Georgia, "Times New Roman", serif;

  /* Spacing scale (4px base) ---------------------------------------------- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;

  /* Radius ---------------------------------------------------------------- */
  --radius-sm: 9px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 99px;

  /* Shadow ---------------------------------------------------------------- */
  --shadow-card: 0 22px 70px rgba(0, 0, 0, .2);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, .12);
  --shadow-hover: 0 18px 36px rgba(0, 0, 0, .24);

  /* Motion ---------------------------------------------------------------- */
  --ease: ease;
  --t-fast: .18s;
  --t-base: .22s;
}

@media (max-width: 760px) {
  :root {
    --gutter: 32px;
    --header-height: 64px;
  }
}
