/* SayLessAI website v2: the Graphite tokens (2026-11-07).
   A copy of the owner-approved Cut Room board's kit/graphite.css (frozen 11-7), itself taken from the iPhone app's
   v2.2 Graphite spec, so the website and the app are one palette and one type. Two things differ from the board and
   nothing else: this comment, and the font URL, which points at the copy this app serves (the board's relative
   ../assets path does not exist here). Every value and rule below is byte-identical to the board.
   site.css, auth.css and content.css load AFTER this file and never redefine a token: every colour they use is one
   of these tokens, or a token at an alpha. No new hues (tests/test_site_v2_assets.py). */

@font-face {
  font-family: "Archivo";
  src: url("/static/fonts/archivo-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  color-scheme: dark;
  /* Colour (Graphite) */
  --bg: #0B0C0E;          /* page */
  --surface: #17191D;     /* groups, rows, cards without a photo */
  --surface2: #1F2227;    /* fields, choice buttons, quiet chips */
  --surface3: #2B2F36;    /* selected segment, pressed quiet chip */
  --sheet: #16181C;       /* sheets, menus, the cookie sheet */
  --shade: #0B0C0F;       /* shades over video */
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --text: #F4F5F6;        /* primary */
  --text2: #B4B9C0;       /* secondary */
  --text3: #989EA7;       /* tertiary: the floor for small text on surfaces */
  --accent: #03CB8A;      /* emerald: the one key, live states, a chosen choice's ring */
  --accent-hi: #2FE3A8;   /* emerald text and icons on dark or glass */
  --accent-ink: #03140D;  /* ink on an emerald key */
  --mint: #53DDB0;        /* finished takes, kept segments on a timeline */
  --danger: #FF6B6B;      /* red dots and red words only, never a fill, ring or glow */
  --glass: rgba(19, 20, 24, .56);        /* controls and chips OVER MEDIA only */
  --glass-rim: rgba(255, 255, 255, .16);

  /* Type */
  --disp: "Archivo", -apple-system, system-ui, sans-serif;
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  --disp-stretch: 110%;   /* Graphite titles: Archivo 800 at 106 to 112% width */

  /* Shape and depth */
  --r-control: 999px;     /* keys, chips, pills: fully round */
  --r-row: 22px;
  --r-card: 24px;
  --r-hero: 30px;
  --r-sheet: 36px;
  --sh-card: 0 10px 28px rgba(0, 0, 0, .30);
  --sh-hero: 0 22px 50px rgba(0, 0, 0, .45);
  --sh-key: 0 10px 26px rgba(3, 203, 138, .24);
  --dot: 8px;

  /* Motion (one spring, one ease) */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.32, .64, 1);
  --dur: 350ms;
  --dur-fast: 180ms;
  --press: .96;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--sys);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, li, h1, h2, h3, h4 { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(3, 203, 138, .35); color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* Shared roles. Directions may restyle placement and scale, never the colour or the face. */
.g-disp { font-family: var(--disp); font-weight: 800; font-stretch: var(--disp-stretch); letter-spacing: -.012em; line-height: 1.02; }
.g-num { font-family: var(--disp); font-weight: 700; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.g-eyebrow { font: 700 12px/16px var(--sys); text-transform: uppercase; letter-spacing: .12em; color: var(--text3); } /* app 11.5; the web floor is 12 */

/* Status dots: exactly 8 x 8, flat. emerald = live or working, white = done or ready, red = needs you, grey = waiting. */
.g-dot { width: var(--dot); height: var(--dot); border-radius: 50%; display: inline-block; flex: none; background: var(--text3); }
.g-dot.is-live { background: var(--accent); }
.g-dot.is-ready { background: var(--text); }
.g-dot.is-needs { background: var(--danger); }

/* The one emerald key per screen. Ink on emerald. */
.g-key {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--r-control);
  background: var(--accent); color: var(--accent-ink);
  font: 650 16px/1 var(--sys); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  box-shadow: var(--sh-key);
  transition: transform var(--dur-fast) var(--spring), background var(--dur-fast) var(--ease-out);
}
.g-key:hover { background: var(--accent-hi); }
.g-key:active { transform: scale(var(--press)); }

/* Secondary actions: a quiet tinted chip. Never a grey outline button, never a white slab. */
.g-quiet {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--r-control);
  background: var(--surface2); color: var(--text);
  font: 600 15px/1 var(--sys); text-decoration: none; cursor: pointer;
  transition: transform var(--dur-fast) var(--spring), background var(--dur-fast) var(--ease-out);
}
.g-quiet:hover { background: var(--surface3); }
.g-quiet:active { transform: scale(var(--press)); }

/* Glass: ONLY for controls and chips that sit over video or a photo. */
.g-glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 0 0 .5px var(--glass-rim), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.g-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
