/* ============================================================
   ListYourStay — design tokens (light theme)
   Every colour, radius, shadow and font in the UI comes from here.
   Loaded first by all four page shells: public, auth, host, admin.
   ============================================================ */
:root{
  color-scheme:light;

  /* ---- surfaces ---- */
  --bg:#FFFFFF;             /* page */
  --bg-subtle:#F7F5F0;      /* bands, dashboard canvas, footer */
  --surface:#FFFFFF;        /* cards, inputs */
  --surface-2:#F3F0E9;      /* tinted tiles, chips, hover */

  /* ---- text ---- */
  --text:#1C2420;
  --text-2:#3F4A44;
  --muted:#5A655E;          /* 6.1:1 on white, 5.3:1 on surface-2 */
  --placeholder:#9AA39D;

  /* ---- lines ---- */
  --line:#E3DED3;
  --line-soft:#EEEAE2;
  --line-strong:#CFC8B8;

  /* ---- brand ---- */
  --brand:#2F6B4F;          /* forest — primary actions & links (6.3:1) */
  --brand-deep:#235440;
  --brand-tint:#EAF2EC;
  --brand-ring:rgba(47,107,79,.18);
  --on-brand:#FFFFFF;
  --accent:#945A0A;         /* amber — highlights, small accents (5.6:1, 5:1 on accent-soft) */
  --accent-soft:#FBF1E0;
  --star:#E0A02E;           /* rating stars */

  /* ---- status ---- */
  --verified:#1F7A4D;  --verified-tint:#E6F4EC;
  --success:#1F7A4D;   --success-tint:#ECF7F0;  --success-line:#B7E1C6;
  --danger:#B42318;    --danger-tint:#FEF3F2;   --danger-line:#FECDCA;
  --warning:#B54708;   --warning-tint:#FFF6E5;
  --info:#2C6386;      --info-tint:#EBF2F8;
  --whatsapp:#15803D;  --whatsapp-deep:#116B33;   /* WhatsApp green, darkened for 5:1 with white text */

  /* ---- on photos (hero, cards, gallery) ---- */
  --on-photo:#FFFFFF;
  --photo-chip:rgba(14,20,17,.72);
  --scrim:rgba(14,20,17,.55);
  --backdrop:rgba(14,20,17,.6);

  /* ---- shape & depth ---- */
  --r-sm:8px; --r-md:12px; --r-lg:16px; --r-pill:999px;
  --radius:14px;
  --shadow-sm:0 1px 2px rgba(16,24,20,.05),0 1px 3px rgba(16,24,20,.07);
  --shadow-md:0 6px 20px rgba(16,24,20,.08),0 2px 6px rgba(16,24,20,.05);
  --shadow-lg:0 18px 48px rgba(16,24,20,.14);
  --shadow:var(--shadow-lg);

  /* ---- type ---- */
  --display:'Fraunces',Georgia,serif;
  --body:'Hanken Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;

  /* ---- layout ---- */
  --maxw:1180px;
  --nav-h:68px;
  --tap:44px;               /* minimum touch target */

  /* ---- legacy aliases ----
     Older page CSS still uses the dark-theme names. They map onto the light
     tokens so those pages render correctly; remove as pages are rebuilt. */
  --ink:var(--surface);
  --ivory:var(--text);
  --amber:var(--brand);
  --amber-deep:var(--brand-deep);
  --card:var(--surface);
  --footer:var(--bg-subtle);
}
