/* RPL me Australia design tokens (brand v1.0, docs/design/RPL-me-Australia-Brand-Guidelines.pdf).
   The only place colours, radii and spacing are defined (DESIGN_SYSTEM.md). */
:root {
  /* brand palette */
  --midnight: #17263D;
  --electric: #4F6FF0;  /* graphics, large type, focus on light. Not for small text (4.3:1 on white) */
  --mint: #C7F0DC;      /* primary actions; accents on Midnight */
  --offwhite: #F7F8FA;
  --slate: #273244;
  --white: #FFFFFF;

  /* light scope (default): Offwhite open space, Midnight text */
  --bg: var(--offwhite);
  --bg-2: var(--white);
  --panel: var(--white);
  --field: var(--white);
  --line: #D6DBE3;        /* decorative borders */
  --line-2: #8A96A8;      /* control borders, 3:1 on white */
  --text: var(--midnight);
  --text-2: var(--slate);
  --muted: #5B6779;       /* 5.4:1 on Offwhite */
  --accent: var(--electric);      /* bars, borders, ticks */
  --accent-text: var(--midnight); /* small accent text */
  --tint: #EEF1FE;        /* selected option, Electric tint */
  --hover-row: #EEF1F5;
  --error: #B42318;
  --cta: var(--mint);
  --cta-text: var(--midnight);
  --cta-hover: var(--midnight);
  --cta-hover-text: var(--offwhite);
  --focus: var(--electric);
  --overlay-photo: linear-gradient(90deg, rgba(23, 38, 61, .98) 0%, rgba(23, 38, 61, .92) 40%, rgba(23, 38, 61, .35) 75%, rgba(23, 38, 61, .2) 100%);
  --overlay-photo-mobile: linear-gradient(rgba(23, 38, 61, .9), rgba(23, 38, 61, .9));
  --shadow-card: 0 18px 48px rgba(23, 38, 61, .18);

  /* type */
  --display: 'Manrope', Arial, sans-serif;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* radius */
  --r-sm: 6px;
  --r-md: 8px;
  --r-btn: 8px;
  --r-card: 16px;
  --r-xl: 16px;
  --r-pill: 999px;

  /* spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-7: 28px;
  --s-8: 32px; --s-9: 40px; --s-10: 48px; --s-11: 56px; --s-12: 64px; --s-13: 72px; --s-14: 80px;

  --container: 1160px;
  --header-h: 76px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* dark scope: Midnight bands (home hero, page heroes). Mint for accents and focus. */
.dark, .hero, .page-hero {
  --bg: var(--midnight);
  --bg-2: #1D2E48;
  --panel: #22344F;
  --field: #1B2B44;
  --line: #2F4262;
  --line-2: #6E7D94;
  --text: var(--offwhite);
  --text-2: #CBD3DF;
  --muted: #A3AFC0;       /* 6.8:1 on Midnight */
  --accent: var(--mint);
  --accent-text: var(--mint);
  --tint: rgba(199, 240, 220, .12);
  --hover-row: #2A3D5A;
  --error: #FF8A80;
  --cta-hover: var(--offwhite);
  --cta-hover-text: var(--midnight);
  --focus: var(--mint);
}

/* the review card is a white card inside the Midnight hero: back to the light scope */
.hero .review {
  --bg: var(--white);
  --panel: var(--white);
  --field: var(--white);
  --line: #D6DBE3;
  --line-2: #8A96A8;
  --text: var(--midnight);
  --text-2: var(--slate);
  --muted: #5B6779;
  --accent: var(--electric);
  --accent-text: var(--midnight);
  --tint: #EEF1FE;
  --hover-row: #EEF1F5;
  --error: #B42318;
  --cta-hover: var(--midnight);
  --cta-hover-text: var(--offwhite);
  --focus: var(--electric);
}
