/* ==========================================================================
   Brand tokens. Change the look of the whole site here and nowhere else.
   To rebrand: edit the six --brand* values (and --brand-on-dark for the dark
   sections), then set "themeColor" in site.config.json to the same --brand.
   Keep white text on --brand at 4.5:1 contrast or better.
   ========================================================================== */
:root {
  /* Brand color (placeholder indigo, matches the app design direction) */
  --brand: #3F4CD9;         /* primary buttons, links, focus ring */
  --brand-hover: #3541C2;
  --brand-press: #2D37A8;
  --brand-ink: #3541C2;     /* brand colored text on a light wash */
  --brand-wash: #EDEFFD;    /* soft brand background */
  --brand-edge: #CBD0F7;    /* border on a brand wash, focus halo */
  --brand-on-dark: #A9B1FF; /* brand tint that reads on the dark sections */

  /* Neutrals */
  --ground: #F6F6F3;        /* page background */
  --surface: #FFFFFF;       /* cards, header */
  --stub: #F1F1ED;          /* quiet fill */
  --ink: #16181D;           /* headings */
  --body: #3A3D45;          /* running text */
  --muted: #646771;         /* secondary text */
  --line: #E5E5E0;          /* hairlines, card edges */
  --line-strong: #8B8E97;   /* input and secondary button edges */
  --night: #12141B;         /* dark sections */
  --night-2: #1B1E28;
  --night-line: #2C303D;
  --night-text: #C5C8D3;

  /* Status (same meanings as in the app) */
  --ok: #17703F;   --ok-wash: #E7F5EC;   --ok-edge: #BEE3CC;   --ok-dot: #1F9D57;
  --warn: #8A5200; --warn-wash: #FFF4DC; --warn-edge: #F3DBA8; --warn-dot: #E0900B;
  --late: #B4231A; --late-wash: #FDECEA; --late-edge: #F4BEB8; --late-dot: #D93A2F;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  /* Shape */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(16, 18, 24, .05);
  --shadow-2: 0 4px 12px -2px rgba(16, 18, 24, .10), 0 2px 4px -2px rgba(16, 18, 24, .06);
  --shadow-3: 0 30px 60px -20px rgba(16, 18, 24, .22), 0 12px 24px -12px rgba(16, 18, 24, .12);

  /* Motion */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-std: cubic-bezier(.4, 0, .2, 1);

  /* Layout */
  --wrap: 1180px;
  --gutter: 20px;
}
@media (min-width: 760px) { :root { --gutter: 32px; } }
