/*
  DESIGN PLAN: Foundation in CAR & EAR Quiz
  
  Subject List (10 things distinct to this world):
  1. Engineering insurance policy schedules & broker placement slips
  2. Munich Re Contractors' All Risks (CAR) standard wording (1985/2005)
  3. Erection All Risks (EAR) machinery testing and commissioning schedules
  4. Section I Material Damage items (contract works, temporary works, plant, clearance)
  5. Section II Third Party / Public Liability indemnities (bodily injury, property damage)
  6. Munich Re Endorsements (001 testing of machinery, 003 visits maintenance, 004 extended maintenance)
  7. Defect exclusion clauses: DE1-DE5 and London Engineering Group (LEG1, LEG2, LEG3)
  8. Cross-liability endorsements treating each co-insured as if separate policies were issued
  9. Civil engineering value ratio (>50% CAR) vs mechanical/electrical installation ratio (>50% EAR)
  10. Archival technical policy parchment and subtle spruce drafting ink

  Idea Sentence:
  "On this site, an underwriter's construction policy schedule becomes an interactive test dossier with soft warm parchment plates and refined muted spruce green typography."
  
  Why it fits this brief:
  The owner requested softer colors. Replacing harsh neon construction yellow and pitch-black tones
  with a soft, gentle warm parchment ground (#f7f4ea), clean white cards, and calm muted spruce pine (#28563d)
  creates a focused, serene, and fatigue-free technical study environment suitable for prolonged reading
  of detailed policy wording and claims case studies.

  One bold element:
  A refined policy clause dossier card with soft warm paper tones, calm muted green active states,
  and instant explanation drawer unfolding right inside the question view.
*/

:root {
  /* Colour palette: 1 ground, 1 ink, 1 accent, plus supporting roles in soft tones */
  --color-ground: #f7f4ea;
  --color-surface: #ffffff;
  --color-surface-tint: #ece7d7;
  --color-ink: #1c3125;
  --color-accent: #28563d;
  --color-correct: #236c44;
  --color-incorrect: #a03c3c;

  /* Derived variations via color-mix */
  --color-ink-muted: color-mix(in oklch, var(--color-ink) 76%, var(--color-ground));
  --color-ink-subtle: color-mix(in oklch, var(--color-ink) 54%, var(--color-ground));
  --color-accent-hover: color-mix(in oklch, var(--color-accent) 82%, var(--color-ink));
  --color-accent-soft: color-mix(in oklch, var(--color-accent) 12%, var(--color-surface));
  --color-correct-soft: color-mix(in oklch, var(--color-correct) 12%, var(--color-surface));
  --color-incorrect-soft: color-mix(in oklch, var(--color-incorrect) 12%, var(--color-surface));
  --color-border: color-mix(in oklch, var(--color-ink) 14%, var(--color-ground));
  --color-border-focus: var(--color-accent);

  /* Typography */
  --font-display: 'DIN Alternate', 'Franklin Gothic Medium', 'Arial Nova', sans-serif-condensed, sans-serif;
  --font-body: Inter, Roboto, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  /* Type scale */
  --text-xs: 0.8125rem;  /* 13px */
  --text-sm: 0.9375rem;  /* 15px */
  --text-base: 1.0625rem;/* 17px */
  --text-lg: 1.375rem;   /* 22px */
  --text-xl: 2.125rem;   /* 34px */

  /* Spacing on 4px base */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* Shape decision: crisp structural 4px corners */
  --radius-tight: 4px;
  --radius-full: 9999px;
}
