/* Kerasmeno — design tokens, shared by the marketing site AND the app (the app loads this file from /site/css/tokens.css).
   Colours from the brand kit and the product UI; every other file references these. */

@font-face { font-family: "Commissioner"; src: url("../fonts/commissioner-greek.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Commissioner"; src: url("../fonts/commissioner-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Commissioner"; src: url("../fonts/commissioner-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Brand (Kerasmeno-Brand-Kit README) */
  --green: #0E6B57;        /* primary: buttons, the motif, links */
  --green-press: #0A5646;
  --ink: #15201B;          /* text, dark grounds */
  --mint: #9FE0CD;         /* the motif and accents on dark */
  --gold: #E8A44A;         /* ONLY the treated stamp and gifts */
  --ground: #F3F4F1;       /* page ground */

  /* Product UI (measured in _input/ui) */
  --surface: #FFFFFF;
  --muted: #5A645F;        /* secondary text: 5.6:1 on ground */
  --on-dark-muted: #A9B4AE;/* secondary text on ink: 7.6:1 */
  --mint-soft: #DCEFE9;    /* selected chip, success badge */
  --dark-2: #24302B;       /* panel on ink */
  --line: #C9CEC6;         /* form fields and data-ui fragments only */

  /* Sample shop card ("Φούρνος Παράδειγμα") — the shop's colours, not Kerasmeno's */
  --shop: #2B1D16;
  --shop-2: #3A2A20;
  --shop-cream: #F3E7D6;
  --shop-dash: #8C7461;
  --shop-olive: #2F3B22;
  --shop-navy: #1B2A41;
  --shop-wine: #4A1622;

  --todo-bg: #FFF1C2;
  --todo-ink: #5A4300;

  /* Status (the app; harmonised with the palette: green for success, never gold) */
  --line-soft: #DDE2DC;    /* card and table borders in the app */
  --ok-bg: #DCEFE9;  --ok-ink: #0A5646;      /* 7.0:1 */
  --info-bg: #E8F1EE; --info-ink: #15201B;   /* 15:1 */
  --warn-bg: #FFF1D6; --warn-ink: #6B4500;   /* 7.4:1 */
  --error-bg: #FBE9E7; --error-ink: #A1261B; /* 6.2:1 */

  /* Type: Commissioner only (the Cinzel wordmark is an outlined SVG) */
  --font: "Commissioner", "Segoe UI", system-ui, sans-serif;
  --step-small: 0.875rem;                               /* 14 */
  --step-body: 1.0625rem;                               /* 17 */
  --step-lead: clamp(1.1875rem, 1.05rem + 0.55vw, 1.5rem);     /* 19–24 */
  --step-heading: clamp(2.125rem, 1.3rem + 3vw, 3.75rem);      /* 34–60 */
  --step-display: clamp(2.2rem, 1rem + 5vw, 5.75rem);        /* 35–92 */
  --leading-tight: 1.0;
  --leading-text: 1.55;

  /* Space */
  --gutter: clamp(1rem, 0.5rem + 2.2vw, 2.75rem);
  --gap-1: 0.5rem; --gap-2: 1rem; --gap-3: 1.5rem; --gap-4: 2.5rem; --gap-5: 4rem;
  --section: clamp(5.5rem, 3rem + 9vw, 11rem);
  --max: 84rem;

  /* Shape: the stamp is the only shape. Cards 18px like the UI; every button and chip is fully round. */
  --r-card: 18px;
  --r-field: 12px;
  --r-pill: 999px;
  --tap: 48px;

  /* Depth: nothing at rest has a shadow; only the sticky header once it floats */
  --shadow-float: 0 10px 30px -14px rgb(21 32 27 / 0.35);

  /* Motion (Emil Kowalski) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 140ms;
  --dur-ui: 200ms;
  --dur-swap: 240ms;
  --dur-enter: 560ms;
  --stagger: 70ms;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-enter: 1ms; --dur-swap: 1ms; --stagger: 0ms; }
}
