/* GENERATED — edit tokens/*.json, then run `python manage.py build_tokens`.
   Do not edit this file by hand: TokensDriftTests fails when it differs from the JSON.
   source-sha256: 8f8b7cba0413e45ee66c4b445e7ea2a08e9d3049901ac0b94417bab2f9f8e469 */
:root {

  /* ===== tokens/color.json ===== */
  /* The palette: one warm-cream light theme (from design_import/ReziDay v1.0). Values are
     CSS colour strings; every token's CSS name is --<key>. */
  /* Canvas + warm surfaces — "cremă calmă": the design's cream with the yellow
     saturation pulled down, because long reading on the original #FDF4E3 was
     tiring. Same warm character, ~half the chroma; cards stay pure white.

     Lightened ~10% from the #FBF6EC that reziday.ro still runs. This is the
     app-WIDE reading surface, not just the lesson's — 21 uses across nine
     stylesheets — so the lesson keeps sharing a background with the shell, the
     dashboard, grile and the public pages instead of opening a seam at the edge
     of the reading column. */
  --canvas: #FBF7EE;
  --surface: #F4EFE4;
  --surface-2: #FCF9F3;
  --surface-3: #F9F5EC;
  --sand: #EFEADF;
  --peach: #FADFB8;
  --peach-2: #FBE3C0;
  --cream-line: #EDE7DA;
  /* Cards + lines */
  --card: #FFFFFF;
  --border: #E7E0D2;
  --border-2: #D4CDBE;
  --divider: #F0EBE0;
  /* Teal (primary) */
  --teal: #0E7C7B;
  --teal-hover: #0A6362;
  --teal-ink: #0B5F5E;
  --teal-2: #2FA8A6;
  --teal-3: #3D9694;
  --teal-tint: #E3F2F0;
  --teal-tint-2: #EDF6F5;
  --teal-tint-3: #E8F4F3;
  --teal-border: #BFE4E2;
  --teal-border-2: #CFE7E5;
  --teal-bright: #8FD4D2;
  /* Ink + text */
  --ink: #0F2230;
  /* The frame of the Acasă cards (Planul de azi, Restanțe, the stats strip) — the ink
     softened to a very light grey, so the outline reads as an edge, not a rule (Ștefan,
     2026-09-28). Worn with the warm offset shadow `-3px 3px 0 var(--peach)`. */
  --frame: #C9C3B6;
  --ink-warm: #1C1B19;
  --body-c: #2C4254;
  /* Body prose now sits at the same value as --ink-warm, which is what
     `.lb-prose strong` already wears: emphasis in the lesson text is carried by
     WEIGHT alone, no longer by weight plus a tonal step. Deliberate — the two
     tokens stay separate so either can move on its own. */
  --body-warm: #1C1B19;
  --slate: #4A5D6D;
  --muted: #5B6B78;
  --muted-2: #7A8893;
  --muted-3: #A7B3BD;
  --muted-4: #BCC7CF;
  --faint: #98948C;
  /* Accents */
  --coral: #E76F51;
  --gold: #F4A340;
  --amber: #E4C465;
  /* Planner activity kinds. The fills are accents the app already owns — --teal,
     --coral, --gold, --success-ink — and what is added here is only what a filled card
     needs on top: the darker LIP for its 3px bottom edge, and, for gold, an ink dark
     enough to read on it (white on #F4A340 fails contrast, which is why that one
     carries its own ink).
     ⚠️ The plan colours by PASS ("trecere"), not by kind — the five fills below are
     Trecerea 1 → 5+, and each is a DIFFERENT HUE. The first cut ran them as one teal ramp
     (dark → light, "a first pass is darker than a fourth") and it failed in the only way
     that matters: three teals and a green are not tellable apart. Measured, the worst
     pair was OKLab ΔE 8.0 where 15 is the floor for two colours a full-colour reader can
     separate — so the ordering was encoded in a difference nobody could see.
     These five are hue-separated instead, and the numbers are the reason they are these
     exact values rather than nicer ones (validated with the dataviz skill's palette
     validator, all pairs, against the white card surface, WITH coral and navy in the set):

     worst pair, normal vision  ΔE 15.8  (floor 15)   — was 8.0
     worst pair, protan/deutan  ΔE  8.9  (target 8)   — was 5.7

     ⚠️ Three things constrain any replacement, and all three bind:
     · Grile keeps --coral and Simulare --navy. Coral occupies the whole warm quadrant,
     which is why there is no red or orange step, and why the gold sits at hue 85 not 60.
     · The fills carry TEXT, so each needs an ink at >= 4.5:1 — that rules out the
     mid-lightness greens and blues an even ramp would want.
     · --teal is the brand and is deliberately desaturated (C 0.088), which puts it near
     the neutral axis where everything at mid lightness crowds it. It is pinned at
     Trecerea 3 and the other four are placed around it.
     Re-run the validator before changing any of them; "it looks fine" is what shipped the
     first version. Grile and Simulare are not passes over a lesson and never join the ramp. */
  --coral-deep: #C24E31;
  --gold-deep: #D3821B;
  --gold-ink: #3A2604;
  --success-deep: #3A6135;
  /* The plan colours an activity by its KIND — lesson / grile / recapitulare / simulare
     — and by nothing else (Ștefan, 2026-09-11, "reziday-v3" handoff). Four fills taken
     from accents the app already owns (teal, the exam tab's coral, the --miss gold, navy),
     each with its darker lip and an ink >= 4.5:1 on it. A restanță stays a STATE, not a
     kind: it keeps its kind's fill and wears the --late ring on top. */
  --k-lect: #0E7C7B;
  --k-lect-lip: #0A6362;
  --k-grile: #C05336;
  --k-grile-lip: #A8442A;
  --k-recap: #C99A22;
  --k-recap-lip: #A67C12;
  --k-recap-ink: #3A2604;
  --k-sim: #0F2230;
  --k-sim-lip: #08131C;
  /* The Trecerea 1→5+ ramp lived here until 2026-08-18, when the plan switched to
     colouring by KIND (trecere teal · grile coral · recalibrare gold · simulare navy —
     see planner.css). The pass number is text on the card now; five hues for a fact
     already written next to them asked too much of the reader.

     Restanțe — work a study day went by without. Deeper and browner than --error
     (#A34B3E, which reads as a wrong answer) and distinct from --exam-day, because the
     two appear in the same month grid. */
  --late: #B7462F;
  --late-deep: #8E3D2C;
  --late-hover: #A83E28;
  /* The exam day, as a single disc in the plan's month and year grids. Deeper than
     --exam-tab (#C05336): that is a panel's tab carrying 12px type, this is a 20px
     circle that has to hold a 10px figure. */
  --exam-day: #B23E20;
  /* Population marks (`[la adult]` / `[la copil]`) deliberately declare NO
     token. Per the "Marcaj adult-copil (1c)" handoff the stroke is a hand-drawn
     SVG path carried as a data-URI, and its `fill` sits inside that URI where
     var() cannot reach — a token here would look authoritative and change
     nothing. The four fills (#A8DAD7 / #BFE4E2 adult, #F5CE81 / #F6D89B copil,
     one pair per surface) live in `.age-mark--*` in lesson.css; the ink is
     --teal-ink and --miss-ink, which is how the two scopes borrow colour the
     app already owns instead of adding a hue.
     Same story for the pencil underline under a section heading: its graphite
     (#3F3D39, lighter than --ink-warm on purpose — a line that matched the type
     would read as a rule, not a mark) lives in static/img/h2-pencil.svg, because
     an SVG used as an image cannot inherit currentColor either.

     Semantic */
  --success: #5C9A54;
  --success-ink: #4C7A46;
  --success-tint: #F1F7EF;
  --error: #A34B3E;
  --error-2: #C26654;
  --error-tint: #FBF1EF;
  --warn-ink: #8A6A1F;
  /* Graded-answer colour code, shared by the grile session and the lesson
     quizzes: teal = correct and you picked it, MISS = correct but you did not,
     error = wrong and you picked it, neutral = wrong and you left it alone.
     --miss is a deeper gold than --amber, which is too pale to read as a state
     of its own next to teal and red on the cream canvas. */
  --miss: #C99A22;
  --miss-ink: #8A6A1F;
  --miss-tint: #FDF3DC;
  --miss-border: #EBD79B;
  /* Exam-subject sections (meta.exam_subject) — the whole section sits on a warm
     panel with a coral tab stitched onto its top edge. Palette from the
     "Subiect din anii anteriori" design handoff. */
  --exam-panel: #FBE7DE;
  --exam-panel-edge: #F0C5B2;
  --exam-tab: #C05336;
  /* tab fill + the section's kicker inside the panel */
  --exam-tab-edge: #A8442A;
  /* the tab's bottom lip */
  --exam-tab-meta: #FFDFCF;
  /* the years, on the tab

     Lesson callout cards */
  --why: #1B3A52;
  --why-deep: #12293B;
  --pearl: #3D9694;
  --pearl-deep: #2E7A78;
  --memo: #B98F3D;
  --memo-deep: #97722C;
  --trap: #C05336;
  --trap-2: #C26654;
  --trap-deep: #9E4227;
  /* Retention / score scale (weak → strong; 0 = unread) */
  --ret-0: #EEE6D2;
  --ret-1: #E76F51;
  --ret-2: #F4A340;
  --ret-3: #E4C465;
  --ret-4: #A3C48B;
  --ret-5: #5C9A54;
  /* Dark "community" surfaces */
  --navy: #0F2230;
  --navy-2: #1B3A52;
  --navy-text: #A9BCC9;
  --navy-line: rgba(253, 244, 227, .14);

  /* ===== tokens/layout.json ===== */
  /* Card header bar — the teal strip worn by tables, comparison cards, lists, the inline
     quiz and the grile session card. Sizes live here once, so the family cannot drift apart
     again (it had, at 52px icons and 19px titles: three of those stacked in one lesson read
     as a wall of headers and stole the emphasis from the content). Adopted from /lista-
     preview variant B2. */
  --cardhead-pad-y: 9px;
  --cardhead-gap: 11px;
  --cardhead-ico: 30px;
  --cardhead-svg: 21px;
  --cardhead-title: 14.5px;
  /* Layout — the widest an app screen's content column gets before it starts leaving
     margins. One value for every screen, so the app keeps a single horizontal rhythm (see
     .screen in shell.css). 1520 = the lesson page's own widest footprint (--lesson-read-cap
     1200 + the 320px knowledge panel), so on a big screen every part of the app runs out to
     the same line. */
  --screen-max: 1520px;
  --header-h: 64px;
  --sidebar-w: 216px;
  /* Breakpoints (SINTEZA §4, F0-5). Three only: a phone is <= 767px (the menu is a drawer
     behind the hamburger), 'wide' is >= 1100px (side panels dock), 'desktop' is >= 1280px
     (the menu opens to 216px). Media queries cannot read custom properties, so CSS writes
     these numbers in its @media lines and JS reads them from RZ.bp (static/js/app.js) —
     CssBreakpointTokenTests pins RZ.bp to these values. */
  --bp-phone: 767px;
  --bp-wide: 1100px;
  --bp-desktop: 1280px;

  /* ===== tokens/space.json ===== */
  /* Spacing scale on a 4px grid (SINTEZA §4.2): --sp-N = 4·N px. 2px and 6px exist only as
     optical tweaks (write calc(var(--sp-1) / 2)); odd values (3, 5, 7…) are border
     compensations — calc(var(--sp-3) - 1px). */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;

  /* ===== tokens/radius.json ===== */
  /* Corner radii (SINTEZA §4.1). Pick by the element's SHORT side: <= 22 mark · 23–30 chip ·
     31–40 tile · 41–46 row · 47–56 control · containers card · hero containers feature. For
     elements <= 56px, r ≈ 0.28 × short side. A child that touches its parent's corner is
     concentric: r_child = max(r_min, R − border − inset). */
  /* checkbox, swatch, month pill (short side <= 22) */
  --r-mark: 6px;
  /* letter chip, review cell (23–30) */
  --r-chip: 8px;
  /* icon tile, navigator cell (31–40) */
  --r-tile: 10px;
  /* answer option, input, KSB dish (41–46) */
  --r-row: 12px;
  /* CTA with a lip, rating button, textarea (47–56) */
  --r-control: 14px;
  /* containers */
  --r-card: 18px;
  /* hero containers: quiz card, table, sheet top */
  --r-feature: 22px;
  /* pills, chips, toggles, toast (a capsule). Never on anything with a lip: on a capsule the
     lip turns into a crescent. */
  --r-pill: 999px;
  /* avatars, discs, radio */
  --r-round: 50%;
  /* Legacy aliases — kept so the existing sheets keep working; new CSS uses the scale above. */
  --r-xs: var(--r-tile);
  --r-sm: var(--r-row);
  /* Was 16px until the Apple-feel pass (decision: Ștefan, 2026-10-22): 16 and 18 differed by
     12.5% for no reason, so the default card now shares --r-card. */
  --r-md: var(--r-card);
  --r-lg: var(--r-card);

  /* ===== tokens/elevation.json ===== */
  /* Elevation (SINTEZA §4.5). The lip means contact/thickness (saturated, interactive
     things); a shadow means altitude (only what floats). Never e3+ together with a lip.
     Selection and focus rings (0 0 0 Npx) are not elevation. */
  /* content, rows, cards in a list — a 1px var(--border) instead */
  --e0: none;
  /* a card at rest */
  --e1: 0 1px 2px rgba(28, 27, 25, .03), 0 8px 24px rgba(28, 27, 25, .05);
  /* hover/lift, drag, chrome once content scrolls under it */
  --e2: 0 1px 2px rgba(28, 27, 25, .05), 0 4px 12px rgba(28, 27, 25, .06), 0 12px 32px rgba(28, 27, 25, .06);
  /* popover, menu, dropdown, toast */
  --e3: 0 2px 6px rgba(15, 34, 48, .06), 0 12px 32px rgba(15, 34, 48, .12);
  /* modal / dialog */
  --e4: 0 4px 12px rgba(15, 34, 48, .08), 0 24px 64px rgba(15, 34, 48, .20);
  /* bottom sheet */
  --e5: 0 -2px 8px rgba(15, 34, 48, .06), 0 -18px 48px rgba(15, 34, 48, .18);
  /* Legacy aliases. */
  --shadow-card: var(--e1);
  --shadow-pop: var(--e3);
  --shadow-sheet: var(--e5);

  /* ===== tokens/z.json ===== */
  /* Stacking layers (SINTEZA §4.8). Inside one component use 1–5 locally. <dialog> and
     popover sit in the top layer and need no z-index at all. */
  --z-base: 0;
  /* sticky heads, the lesson's progress bar */
  --z-sticky: 20;
  /* rail, header, the session's CTA bar, FAB */
  --z-chrome: 40;
  /* Cuprins, menus, tooltips not in the top layer */
  --z-dropdown: 60;
  /* the KSB drawer (768–1099px) */
  --z-drawer: 80;
  /* scrims and the old hand-made modals, until they move to <dialog> */
  --z-overlay: 100;

  /* ===== tokens/typography.json ===== */
  /* Faces (static/css/fonts.css). Inter for all UI and prose, with font-feature-settings
     "cv05" on body (the tailed l, so l / I / 1 differ in a dose). Source Serif 4 for h1–h3,
     big titles and BIG figures (>= ~20px: scores, timer, big stats). Small figures
     (counters, badges, navigator cells, '2 / 20') are Inter. Every figure is tabular-nums,
     whatever the face. Sora is the logo only. Each family names a metric-matched local
     fallback ('Inter Fallback' = Arial, 'Source Serif Fallback' = Georgia) so the swap does
     not shift the layout. */
  --font-body: 'Inter', 'Inter Fallback', system-ui, sans-serif;
  --font-serif: 'Source Serif 4', 'Source Serif Fallback', 'Georgia', serif;
  --font-logo: 'Sora', sans-serif;
  /* uppercase kickers: Inter 600 12px +0.06em (see --t-eyebrow-*) */
  --font-eyebrow: var(--font-body);
  /* Historical name: Inter, worn WITH font-variant-numeric: tabular-nums. Only the
     calculator's numeric input. */
  --font-mono: var(--font-body);
  /* big figures (>= ~20px): scores, timer, big stats, the score ring — always with tabular-nums */
  --font-figure: var(--font-serif);
  /* small figures: counters, badges, navigator cells, '2 / 20', percentages in text — always
     with tabular-nums */
  --font-figure-ui: var(--font-body);
  /* Type scale (SINTEZA §4.3, with Inter as the UI face). Each style is three tokens:
     --t-<style>-size, -lh (line height) and -track (letter-spacing). display / title-* /
     headline are Source Serif 4 600; the rest are Inter. Inter's tracking follows its own
     dynamic-metrics formula (−0.0223 + 0.185·e^(−0.1745·px) em: ≈0 at 12px, −0.009em at 15,
     −0.013em at 17, −0.018em at 22); Source Serif follows Apple's New York table (−0.005 at
     16–19, −0.01 at 20–26, −0.015 from 27). Minimum size 11px. */
  /* Source Serif 4 600, 56/60 */
  --t-display-size: 56px;
  --t-display-lh: 60px;
  --t-display-track: -0.015em;
  /* Source Serif 4 600, 34/40 */
  --t-title-1-size: 34px;
  --t-title-1-lh: 40px;
  --t-title-1-track: -0.015em;
  /* Source Serif 4 600, 28/34 */
  --t-title-2-size: 28px;
  --t-title-2-lh: 34px;
  --t-title-2-track: -0.015em;
  /* Source Serif 4 600, 22/28 */
  --t-title-3-size: 22px;
  --t-title-3-lh: 28px;
  --t-title-3-track: -0.01em;
  /* Source Serif 4 600, 18/24 */
  --t-headline-size: 18px;
  --t-headline-lh: 24px;
  --t-headline-track: -0.005em;
  /* Inter, 17/28 */
  --t-reading-size: 17px;
  --t-reading-lh: 28px;
  --t-reading-track: -0.013em;
  /* Inter, 15/23 */
  --t-body-size: 15px;
  --t-body-lh: 23px;
  --t-body-track: -0.009em;
  /* Inter, 14/20 */
  --t-label-size: 14px;
  --t-label-lh: 20px;
  --t-label-track: -0.006em;
  /* Inter, 13/18 */
  --t-footnote-size: 13px;
  --t-footnote-lh: 18px;
  --t-footnote-track: -0.003em;
  /* Inter, 12/16 */
  --t-caption-size: 12px;
  --t-caption-lh: 16px;
  --t-caption-track: 0em;
  /* Inter, 11/14 */
  --t-micro-size: 11px;
  --t-micro-lh: 14px;
  --t-micro-track: 0.005em;
  /* the headline set in Inter 600 instead of the serif (card titles) */
  --t-headline-ui-track: -0.014em;
  /* Eyebrows — uppercase kickers: Inter 600, 12px, +0.06em (they were Bricolage Grotesque). */
  --t-eyebrow-size: 12px;
  --t-eyebrow-track: 0.06em;
  --t-eyebrow-weight: 600;

  /* ===== tokens/state.json ===== */
  /* Interaction states (SINTEZA §5.1, F0-5). */
  /* the smallest control: 40px under a fine pointer, 44px on touch */
  --hit-min: 40px;
  /* outline shorthand: `outline: var(--focus-ring); outline-offset: var(--focus-offset)`.
     Never animated. */
  --focus-ring: 2px solid var(--teal);
  /* on saturated fills (teal, navy) */
  --focus-ring-on-dark: 2px solid #FFFFFF;
  --focus-offset: 2px;
  /* a CTA's clay lip: box-shadow 0 var(--lip-depth) 0 <lip colour> + the same margin-bottom,
     so pressing never moves anything below */
  --lip-depth: 4px;
  /* how far a lipped button sinks when pressed (Ștefan: 1px); the lip shrinks by the same
     amount — together with scale(var(--press-scale)) */
  --lip-press: 1px;
  /* a pressed button, pill, icon button or chip (round 2: the press must be SEEN):
     scale(calc(1 - (1 - var(--press-scale)) * var(--motion-distance))) */
  --press-scale: 0.97;
  /* a pressed card, list row, answer option or grid cell (.rz-press) — bigger surfaces
     travel further at the same scale */
  --press-scale-card: 0.98;
  /* pressed state of a control WITHOUT a lip, and of a .rz-press surface: +6% ink over its
     fill, with the press scale */
  --press-tint: rgba(15, 34, 48, .06);
  /* teal + 8% ink — the hover of a teal CTA (the lip keeps its own colour) */
  --btn-teal-hover: #0E7575;
  /* teal + 12% ink — pressed */
  --btn-teal-press: #0E7172;
  /* disabled: its own colours, never opacity */
  --disabled-fill: #E7E0D2;
  --disabled-ink: #A7B3BD;
  --disabled-lip: #D4CDBE;
  /* text ladder (SINTEZA §4.7): primary */
  --text-1: var(--ink);
  /* secondary */
  --text-2: #5B6B78;
  /* tertiary — 4.5:1 on cream (the #7A8893 in --muted-2 is 3.5:1) */
  --text-3: #66737E;
  /* placeholder / disabled, 3:1 */
  --text-4: #8B96A0;
  /* the one modal scrim: a plain tint, NO backdrop-filter (round 2: a blur under the fading
     scrim dropped frames at 120 Hz on a phone); --scrim-opaque under prefers-reduced-
     transparency */
  --scrim: rgba(15, 34, 48, .48);
  --scrim-opaque: rgba(15, 34, 48, .64);

  /* ===== tokens/motion.json ===== */
  /* Motion (SINTEZA §4.4, round 2 — 2026-10-23). Presets are chosen by how OFTEN the motion
     happens, never by taste. Everything that is not a gesture starts AT FULL SPEED (an ease-
     out whose velocity is highest at t=0) and lands long and soft, iOS-style: the presets
     without bounce are plain cubic-béziers (smooth and compositor-run, no linear() knots).
     Only the two that overshoot (release, expressive) are springs, in
     $extensions['ro.reziday.spring'] {duration, bounce, velocity}: build_tokens samples them
     into a linear() of >= 40 stops (scripts/springs.py), started WITH velocity so they never
     creep out of rest; their $value is the fallback for engines without linear(), and their
     -dur is the moment the spring enters 0.5% of its target (checked). Usage: `transition:
     transform var(--rz-snappy-dur) var(--rz-snappy)`. Presses: --rz-press-in going down,
     --rz-press-out coming back (never 0ms: the scale must be seen going in). Animate
     transform and opacity only. rz-motion.js mirrors these values in RZMotion.presets
     (TokenContractTests pins the two). */
  /* every tap's small change: hover, focus, an option's colour, a toggle, a tint */
  --rz-instant: cubic-bezier(0.25, 1, 0.5, 1);
  --rz-instant-dur: 200ms;
  /* a press going DOWN (scale / the 1px sink): fast, but seen — 30% of the way after one 120
     Hz frame */
  --rz-press-in: cubic-bezier(0.25, 1, 0.5, 1);
  --rz-press-in-dur: 100ms;
  /* a press coming back up: longer and soft */
  --rz-press-out: cubic-bezier(0.2, 0.9, 0.3, 1);
  --rz-press-out-dur: 280ms;
  /* hundreds a day: the verdict, the next question, the flip, a new card, chips, tabs,
     toast, state colours */
  --rz-snappy: cubic-bezier(0.2, 1, 0.3, 1);
  --rz-snappy-dur: 260ms;
  /* a dialog or popover appearing (scale .95 → 1 + --rz-dialog-y) */
  --rz-present: cubic-bezier(0.16, 1, 0.3, 1);
  --rz-present-dur: 320ms;
  /* a dialog, popover or toast leaving: short, and it starts at once */
  --rz-dismiss: cubic-bezier(0.25, 1, 0.5, 1);
  --rz-dismiss-dur: 200ms;
  /* dozens a day: sheet, drawer, navigator, the menu collapsing, progress — from the
     screen's edge (the iOS sheet's landing, with its speed at t=0) */
  --rz-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --rz-smooth-dur: 440ms;
  /* the end of a gesture with momentum (a thrown sheet, a carousel card): rz-motion.js runs
     the spring with the finger's velocity; this curve is the no-velocity case (0.8%
     overshoot) */
  --rz-release: linear(0, 0.0553 1.67%, 0.184 5.5%, 0.2392 7.17%, 0.3038 9.17%, 0.366 11.17%, 0.4011 12.33%, 0.4303 13.33%, 0.4863 15.33%, 0.513 16.33%, 0.5389 17.33%, 0.564 18.33%, 0.5881 19.33%, 0.6113 20.33%, 0.6337 21.33%, 0.6552 22.33%, 0.6792 23.5%, 0.6988 24.5%, 0.7206 25.67%, 0.7383 26.67%, 0.7581 27.83%, 0.7741 28.83%, 0.7918 30%, 0.8085 31.17%, 0.8242 32.33%, 0.839 33.5%, 0.8529 34.67%, 0.8779 37%, 0.8998 39.33%, 0.92 41.83%, 0.9371 44.33%, 0.9525 47%, 0.9659 49.83%, 0.9766 52.67%, 0.9857 55.67%, 0.9933 59%, 0.9993 62.67%, 1.0035 66.5%, 1.0063 70.83%, 1.0078 75.67%, 1.0077 84.5%, 1.0048 99.83%, 1);
  --rz-release-dur: 410ms;
  /* a few times a day: the first Home of the day, charts on rare pages */
  --rz-gentle: cubic-bezier(0.19, 1, 0.22, 1);
  --rz-gentle-dur: 600ms;
  /* rare: the end of a lesson, a simulation's result (5% overshoot) */
  --rz-expressive: linear(0, 0.1102 2.33%, 0.1636 3.5%, 0.2084 4.5%, 0.2593 5.67%, 0.3017 6.67%, 0.3429 7.67%, 0.3829 8.67%, 0.4216 9.67%, 0.459 10.67%, 0.4951 11.67%, 0.5298 12.67%, 0.5632 13.67%, 0.59 14.5%, 0.6209 15.5%, 0.6505 16.5%, 0.6787 17.5%, 0.7056 18.5%, 0.7311 19.5%, 0.7554 20.5%, 0.7784 21.5%, 0.8002 22.5%, 0.8208 23.5%, 0.8433 24.67%, 0.8614 25.67%, 0.8811 26.83%, 0.8968 27.83%, 0.9139 29%, 0.9274 30%, 0.942 31.17%, 0.9554 32.33%, 0.9676 33.5%, 0.9861 35.5%, 1.0027 37.67%, 1.0162 39.83%, 1.0276 42.17%, 1.0363 44.5%, 1.0429 47%, 1.0474 49.67%, 1.0498 52.5%, 1.0498 57%, 1.0457 62.33%, 1.0169 84.83%, 1.0099 92.17%, 1.0047 99.83%, 1);
  --rz-expressive-dur: 600ms;
  /* opacity-only crossfade: what replaces spatial motion under Reduce Motion */
  --rz-fade-dur: 150ms;
  --rz-fade: cubic-bezier(0.42, 0, 0.58, 1);
  /* exits are shorter than entrances: calc(var(--rz-smooth-dur) * var(--rz-exit)); a
     dialog/popover/toast uses --rz-dismiss-dur instead */
  --rz-exit: 0.65;
  /* the house ease-out — ONLY for the choreography of the two rare moments (lesson end,
     simulation result) */
  --ease-house: cubic-bezier(0.22, 1, 0.36, 1);
  /* between siblings, at most 4 of them; never on the frequent paths */
  --stagger: 40ms;
  /* how long the pointer rests on a folded menu before it peeks open (components.css
     .rail:hover), so a pass across it on the way elsewhere opens nothing */
  --rz-peek-delay: 120ms;
  /* how far new content travels in (10–16px band): translateY(calc(var(--rz-enter-y) *
     var(--motion-distance))) */
  --rz-enter-y: 12px;
  /* a dialog's rise while it scales in */
  --rz-dialog-y: 14px;
  /* a dialog's (and a popover's) starting scale: scale(calc(1 - (1 - var(--rz-dialog-scale))
     * var(--motion-distance))) */
  --rz-dialog-scale: 0.95;
  /* Reduce Motion in ONE switch: every translation and scale is multiplied by it —
     translateY(calc(8px * var(--motion-distance))) — so under prefers-reduced-motion
     movement becomes 0 while fades and colour feedback stay. Never zero the durations
     instead: transitionend would stop firing. */
  --motion-distance: 1;
  /* WAITING LOOPS — the only infinite animations allowed, and only while something is
     actually pending. One turn of a busy button's spinner (RZ.busy). */
  --rz-spin-dur: 800ms;
  /* the AI's 'se gândește' indicator (components.css .ksb-typing / .ksb-syn): one cycle of
     the three dots */
  --rz-wait-dot-dur: 1050ms;
  /* the delay between one dot and the next */
  --rz-wait-dot-step: 150ms;
  /* the label's shimmer sweep */
  --rz-wait-shimmer-dur: 1700ms;
  /* a Sinapsa link's dash flow at rest (each link may set its own --dur, desynchronised
     1.1–1.7s) */
  --rz-wait-flow-dur: 1400ms;
  /* a Sinapsa node's pulse at rest */
  --rz-wait-pulse-dur: 2200ms;
  /* …and while the model is working */
  --rz-wait-pulse-fast-dur: 1000ms;
  /* the loops' in-out curve */
  --rz-wait-ease: cubic-bezier(0.42, 0, 0.58, 1);
  /* the Home announcement badge's amber ring: one ring leaves every half period (two rings,
     half a cycle apart); Ștefan kept this pulse from main on purpose */
  --rz-beacon-dur: 3600ms;
  /* one light sheen gliding across a hero banner (the Home announcement), slow on purpose,
     on rz-fade's symmetric curve: on the first Home of the day and again on hover, never
     looped (Ștefan, 2026-10-24: 1.1s was far too fast) */
  --rz-sheen-dur: 2600ms;
  /* the Home announcement's sheen comes back every this long (one 2.6s glide, then rest) —
     Ștefan, 2026-10-24: he wants to see it come round */
  --rz-sheen-every: 9000ms;

  /* ===== tokens/navigation.json ===== */
  /* Page-to-page motion: the cross-document View Transition (components.css "Navigation",
     static/CLAUDE.md "View Transitions & prefetch"). The old page fades out fast; the new
     one fades in and rises a few pixels on a curve at full speed from t=0 (iOS push, without
     the slide). The shell (rail, header) never moves. */
  /* the old page's fade-out: gone before the new page is halfway in */
  --rz-nav-out-dur: 140ms;
  /* the old page's fade: ease-out, most of it gone in the first 50ms, so the two pages
     barely overlap (a slow fade reads as a double exposure) */
  --rz-nav-out: cubic-bezier(0.32, 0.72, 0, 1);
  /* the new page's entrance; long enough to read as a transition, not a flash (the old 150ms
     crossfade) */
  --rz-nav-in-dur: 270ms;
  /* fastest at t=0, long soft stop: the page answers the tap at once */
  --rz-nav-in: var(--ease-house);
  /* how far the new page rises into place going forward; Back comes from above, at 3/4 of it */
  --rz-nav-rise: 12px;
}

/* Engines without linear() (Safari < 17.2, Chrome < 113): the spring's
   least-squares cubic-bézier. */
@supports not (transition-timing-function: linear(0, 1)) {
:root {
  --rz-release: cubic-bezier(0.2, 1.15, 0.4, 1);
  --rz-expressive: cubic-bezier(0.2, 1.3, 0.4, 1);
}
}

@media (max-width: 767px) {
:root {
  --t-title-1-size: 28px;
  --t-title-1-lh: 34px;
}
}

@media (pointer: coarse) {
:root {
  --hit-min: 44px;
}
}

@media (prefers-reduced-motion: reduce) {
:root {
  --motion-distance: 0;
}
}
