/* FocusHour's one token sheet: Precision (owner, 20 Oct 2026; docs/research/design-directions-2026-10-20/DIRECTIONS.md
   §4). Geist alone, white surfaces, near-black primary buttons, emerald only for selection, progress and focus, 4-8 px
   corners (12 for sheets), 1 px lines and no shadows. Linked first by every page on both sites (focushour.app and
   getfocushour.com), then css/site.css on the website or app/app.css in the web app. The rules for using them:
   us/web/README.md, "Design system". Change a value here, never a copy of it in a page's stylesheet. */

/* Geist (Vercel, SIL OFL 1.1; the `geist` npm package 1.7.2, Geist-Variable.ttf), variable, cut by
   web/scripts/font-subset.py (29 Oct 2026) to the weights the styles use (400-700) and the characters the site shows in
   it (Latin and Latin-1, quotes, dashes, arrows, π and the app's maths signs): fonts/Geist.woff2, 21 KB, its licence in
   fonts/Geist-LICENSE.txt. Preload it on every page. The fallback is a local sans sized to Geist's metrics, so a slow
   phone's swap barely moves the text, and any other character draws in it. */
@font-face{font-family:"Geist";src:url(/fonts/Geist.woff2) format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:"Geist Fallback";src:local("Arial"),local("ArialMT"),local("Roboto"),local("Helvetica");size-adjust:100%;ascent-override:100.5%;descent-override:29.5%;line-gap-override:0%}

:root{
  color-scheme:light;
  /* surfaces and ink */
  --page:#F6F8FA; --paper:var(--page); --surface:#FFFFFF; --sunk:#EEF2F6;
  --line:#E2E8F0;        /* hairlines: cards, dividers, the header's edge (decoration, not a control) */
  --line-strong:#CBD5E1; /* a quieter rule where a hairline needs more weight (tables, the device frame) */
  --edge:#94A3B8;        /* every control's edge: fields, choices, secondary buttons, checks */
  --ink:#0F172A; --ink-soft:#526075;
  /* the primary action is ink; emerald for solid/done/progress, sky for focus/bridge, amber for gentle attention */
  --btn:#0F172A; --btn-hover:#1E293B; --on-btn:#FFFFFF;
  --accent:#0A7553; --accent-hover:#085E42; --on-accent:#FFFFFF; --accent-tint:#EAF7F1;
  --coral:#C83E3E; --coral-tint:#FDF0F0; --indigo:#4353C4; --amber:#9A5506; --amber-tint:#FEF7E8; --sky:#0369A1; --sky-tint:#EDF7FD;
  /* older names the stylesheets still read, kept to the new palette */
  --emerald:var(--accent); --emerald-hover:var(--accent-hover); --on-emerald:var(--on-accent); --saffron:var(--amber);
  /* type */
  --sans:"Geist","Geist Fallback",system-ui,"Segoe UI",sans-serif;
  --serif:var(--sans);   /* Precision has one face; passages are Geist too */
  /* space, radius (controls 6, small marks 4, cards 8, sheets 12), no shadows */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px; --s8:72px;
  --r-sm:4px; --r-md:6px; --r-lg:8px; --r-xl:12px; --r-pill:999px;
  --shadow:none;
  --shadow-device:0 1px 0 rgba(0,0,0,.02),0 30px 60px -40px rgba(14,19,17,.35);   /* only under the website's product frame */
  --scrim:rgba(14,19,17,.36);
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  color-scheme:dark;
  --page:#0B0F18; --surface:#121826; --sunk:#1A2234; --line:#243047; --line-strong:#33415C; --edge:#475569;
  --ink:#F8FAFC; --ink-soft:#94A3B8;
  --btn:#F8FAFC; --btn-hover:#E2E8F0; --on-btn:#0B0F18;
  --accent:#34D399; --accent-hover:#5EE0B0; --on-accent:#062117; --accent-tint:#0C2920;
  --coral:#F87171; --coral-tint:rgba(248,113,113,.13); --indigo:#8D98F0; --amber:#F5B041; --amber-tint:rgba(245,176,65,.13); --sky:#38BDF8; --sky-tint:rgba(56,189,248,.13);
  --shadow-device:0 30px 60px -40px rgba(0,0,0,.7); --scrim:rgba(0,0,0,.65);
}}
:root[data-theme="dark"]{
  color-scheme:dark;
  --page:#0B0F18; --surface:#121826; --sunk:#1A2234; --line:#243047; --line-strong:#33415C; --edge:#475569;
  --ink:#F8FAFC; --ink-soft:#94A3B8;
  --btn:#F8FAFC; --btn-hover:#E2E8F0; --on-btn:#0B0F18;
  --accent:#34D399; --accent-hover:#5EE0B0; --on-accent:#062117; --accent-tint:#0C2920;
  --coral:#F87171; --coral-tint:rgba(248,113,113,.13); --indigo:#8D98F0; --amber:#F5B041; --amber-tint:rgba(245,176,65,.13); --sky:#38BDF8; --sky-tint:rgba(56,189,248,.13);
  --shadow-device:0 30px 60px -40px rgba(0,0,0,.7); --scrim:rgba(0,0,0,.65);
}
