/*
 * Marla brand tokens — shared across every page (landing, auth, dashboard).
 * Loaded first (Propshaft's :app tag includes every top-level file in this
 * directory, alphabetically) so these variables and the base reset are
 * available to dashboard.css / devise.css / landing.css without repeating them.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Urbanist:wght@300;400;500;600;700&display=swap');

:root{
  /* surfaces: warm off-white, to sit with the logo's coral */
  --bg:#FBF8F4;
  --surface:#FFFFFF;
  --surface-dim:#F2EDE7;
  --line:#EAE3DB;

  /* text: dark teal, the complement of coral, so the warm accents stand out */
  --ink:#19363C;
  --ink-soft:#3E5960;
  --muted:#5E7378;   /* dashboard light-mode grey: passes WCAG AA for small text */

  /* accent: the logo's coral. Text on it is the logo navy — the teal ink
     only reaches 4.3:1 on this coral, navy 6:1 (WCAG AA needs 4.5) */
  --accent:#F26B48;
  --accent-ink:#0A1623;
  --accent-soft:#FFE2D3;   /* peach: highlights, selected rows */
  --focus:#E0532F;         /* deeper coral: 3.6:1 on --bg, enough for a focus ring */
  /* filled buttons and switches: coral at 40% ("soft"), not solid */
  --accent-fill:rgba(242,107,72,.40);
  --accent-line:rgba(242,107,72,.55);
  --accent-fill-ink:#0A1623;
  --accent-track:rgba(242,107,72,.60);

  /* lime: tiny accents only (status dots, "live" pills) — the logo's lime */
  --lime:#B8C94A;
  --lime-soft:#EFF3D6;
  --amber:#F8CB51;
  --gradient:linear-gradient(135deg,#A8D049,#F68C4A 64%,#F15B47);   /* the logo tile */
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
/* same type as the dashboard: Inter for text, Urbanist for headings */
body{
  font-family:'Inter',system-ui,sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{font-family:'Urbanist',system-ui,sans-serif}
::selection{background:var(--accent-soft);color:var(--ink)}
/* pages outside the dashboard (landing, auth, legal) are always light:
   use the dashboard's light-mode status shades, which pass WCAG AA */
body:not(:has(.dash)){--urgent-text:#C0392F;--routine-text:#2B7651}
