/* Flaro website stylesheet. Built by tools/build.py from design/tokens.css, design/components.css and src/css/site.css. Edit those, not this file. */
/* =====================================================================
   FLARO design tokens  ·  v1.0  ·  dark only
   "Clarity before and after every game."

   One file, no build step. Import it first, then components.css.
   Every value the app uses should come from here: if you need a colour
   or a size that is not a token, add a token, do not hard-code it.

   Naming:  --faro-<group>-<step>    (tokens; the prefix kept its old name when Faro
                                      became Flaro: the app and the website use it)
            .f-<component>           (classes, see components.css)
   ===================================================================== */

/* ---------------------------------------------------------------------
   Fonts (all SIL Open Font License 1.1, files in ./fonts, licences next
   to them). Shipped unmodified - do not subset or rename them.
   Hubot Sans  : display words - headings, champion names, big buttons (wdth 75-125)
   Mona Sans   : all running UI text AND all numbers (wdth 75-125)
   JetBrains Mono : codes (INF, OPT A), keybinds, patch/version strings, IDs
   --------------------------------------------------------------------- */
@font-face {
  font-family: "Hubot Sans";
  src: url("/assets/fonts/HubotSans.woff2") format("woff2"), url("/assets/fonts/HubotSans.woff") format("woff"), url("/assets/fonts/HubotSans%5Bwdth,wght%5D.ttf") format("truetype");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
/* Digits inside Hubot text come from Mona Sans. Hubot's zero carries a bar that reads
   like a theta at small sizes; this face overrides only 0-9 (and the numeric
   punctuation next to them) for the "Hubot Sans" family, so headings such as
   "Your last 20 games" need no extra markup. Declared after the Hubot face on
   purpose: for overlapping ranges the last rule wins. The font file is unmodified. */
@font-face {
  font-family: "Hubot Sans";
  src: url("/assets/fonts/MonaSans.woff2") format("woff2"), url("/assets/fonts/MonaSans.woff") format("woff"), url("/assets/fonts/MonaSans%5Bwdth,wght%5D.ttf") format("truetype");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: "Mona Sans";
  src: url("/assets/fonts/MonaSans.woff2") format("woff2"), url("/assets/fonts/MonaSans.woff") format("woff"), url("/assets/fonts/MonaSans%5Bwdth,wght%5D.ttf") format("truetype");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/JetBrainsMono.woff2") format("woff2"), url("/assets/fonts/JetBrainsMono.woff") format("woff"), url("/assets/fonts/JetBrainsMono%5Bwght%5D.ttf") format("truetype");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* -------------------------------------------------------------------
     NIGHT - surfaces. Cool graphite with a hint of sea blue.
     Layer rule: each step up = one level closer to the player.
     ------------------------------------------------------------------- */
  --faro-night-000: #06080b;   /* deepest: window backdrop, overlay scrim, image letterbox */
  --faro-night-050: #090c10;   /* app background */
  --faro-night-100: #0d1116;   /* rail, titlebar, sunken wells */
  --faro-night-200: #11161d;   /* cards (the default chart surface) */
  --faro-night-300: #161c25;   /* raised card, row hover */
  --faro-night-400: #1c232e;   /* inputs, selected row, pressed */
  --faro-night-500: #232c39;   /* tooltips, popovers, strongest raise */

  /* LINES - hairlines do the separating; shadows are rare */
  --faro-line-soft:   #19202a; /* dividers inside a card, chart gridlines */
  --faro-line:        #232b37; /* card borders, table rules */
  --faro-line-strong: #323c4b; /* input borders, chart baseline, focus base */

  /* FOG - text and icons. Never pure white on this background. */
  /* contrast measured on night-200 (cards) */
  --faro-fog-000: #f3f5f8;     /* headings, key numbers              16.6:1 */
  --faro-fog-100: #c9d0da;     /* body text                          11.7:1 */
  --faro-fog-200: #97a1af;     /* secondary text                      7.0:1 */
  --faro-fog-300: #7b8594;     /* labels, axis text, placeholders     4.9:1 (4.6:1 on night-300) */
  --faro-fog-400: #4a5361;     /* disabled, decorative                2.3:1 (never for text you must read) */

  /* -------------------------------------------------------------------
     LAMP - the brand. The beam. Used for exactly three things:
       1. the one primary action on a screen (Import runes, Log in)
       2. "you": the player's own row, slot, portrait ring and chart line
       3. "now": the active phase in the phase track, the active tab
     Never for alerts or countdowns. If a screen has more than ~4 lamp
     elements, remove some.
     ------------------------------------------------------------------- */
  --faro-lamp-050: #fff8eb;
  --faro-lamp-100: #ffebc7;
  --faro-lamp-200: #ffd993;
  --faro-lamp-300: #ffc766;    /* hover of primary, focus ring */
  --faro-lamp-400: #ffb547;    /* BRAND. primary fill, "you" series */
  --faro-lamp-500: #f59e2d;    /* pressed primary */
  --faro-lamp-600: #d98417;
  --faro-lamp-700: #a5620f;
  --faro-lamp-800: #5e3808;
  --faro-lamp-900: #2a1905;
  --faro-lamp-ink: #1d1305;    /* text on a lamp fill (10.4:1) */
  --faro-lamp-wash: rgba(255, 181, 71, 0.08);   /* selected row / active nav background */
  --faro-lamp-glow: rgba(255, 181, 71, 0.22);   /* static glow under the primary button only */
  --faro-lamp-line: rgba(255, 181, 71, 0.45);   /* beam edges, active borders */

  /* -------------------------------------------------------------------
     TEAMS - identity, not judgement. Ally is always cool, enemy always
     warm-red, whatever side of the map they are on (say "Blue side" /
     "Red side" in words). Always pair with position (ally left, enemy
     right) or a label - never colour alone.
     Validated pair (dataviz validator, dark, on night-200):
     CVD dE 23.1, normal dE 31.0, both >= 3:1.
     ------------------------------------------------------------------- */
  --faro-ally:        #3d8fe6;
  --faro-ally-text:   #8cc0ff; /* when a team word must itself be coloured (rare) */
  --faro-ally-wash:   rgba(61, 143, 230, 0.12);
  --faro-ally-line:   rgba(61, 143, 230, 0.55);
  --faro-enemy:       #e5534b;
  --faro-enemy-text:  #ff9a93;
  --faro-enemy-wash:  rgba(229, 83, 75, 0.12);
  --faro-enemy-line:  rgba(229, 83, 75, 0.55);

  /* -------------------------------------------------------------------
     STATUS - reserved meaning, always with an icon or a sign (+/-, check,
     cross) and a word. Used after the game and in the account screens.
     Never inside the in-game window (it shows facts, not verdicts).
     ------------------------------------------------------------------- */
  --faro-good:       #3fcb8e;   /* win, improved, success */
  --faro-good-wash:  rgba(63, 203, 142, 0.12);
  --faro-bad:        #ff6b5e;   /* loss, worse, error */
  --faro-bad-wash:   rgba(255, 107, 94, 0.12);
  --faro-warn:       #ffc766;   /* = lamp-300: needs attention */
  --faro-info:       #8cc0ff;

  /* -------------------------------------------------------------------
     OBJECTIVES - tints for the small code chips (INF, OCN, MTN ...) that
     mirror what the scoreboard shows was taken. Chips/dots only, never
     large fills, and never attached to a countdown (safety spec: RED).
     ------------------------------------------------------------------- */
  --faro-obj-infernal: #ff7a45;
  --faro-obj-ocean:    #43b8f0;
  --faro-obj-mountain: #c9a270;
  --faro-obj-cloud:    #b8cce0;
  --faro-obj-hextech:  #4fd8d0;
  --faro-obj-chemtech: #9bd84a;
  --faro-obj-elder:    #e9e2cc;
  --faro-obj-baron:    #a98bff;
  --faro-obj-herald:   #9e88f5;
  --faro-obj-grubs:    #8c79f0;
  --faro-obj-atakhan:  #e0564a;
  --faro-obj-tower:    #97a1af;

  /* RANK TIERS - for the player's own rank badge only */
  --faro-tier-iron:        #8c7b75;
  --faro-tier-bronze:      #b07a55;
  --faro-tier-silver:      #9aa8b5;
  --faro-tier-gold:        #d7b35f;
  --faro-tier-platinum:    #4fc1b5;
  --faro-tier-emerald:     #3dbe7a;
  --faro-tier-diamond:     #7b95f7;
  --faro-tier-master:      #b56fe3;
  --faro-tier-grandmaster: #e0514f;
  --faro-tier-challenger:  #f2c94c;

  /* -------------------------------------------------------------------
     DATA VIZ (post-game charts). Method: dataviz skill.
     - Default form is EMPHASIS: the player in lamp, everyone else in
       --faro-viz-context, targets as a dashed --faro-viz-target line.
     - Multi-series identity uses the categorical order below, never
       cycled. Validated (dark, surface night-200): worst adjacent CVD
       dE 8.4, normal-vision dE 19.8, all >= 3:1. Max 5 series.
     - Text never wears series colour: labels use fog tokens with a
       coloured key beside them.
     ------------------------------------------------------------------- */
  --faro-viz-surface: var(--faro-night-200);
  --faro-viz-you:     var(--faro-lamp-400);
  --faro-viz-you-area: rgba(255, 181, 71, 0.10);
  --faro-viz-context: #5e6b7e;
  --faro-viz-target:  #8c97a8;
  --faro-viz-grid:    var(--faro-line-soft);
  --faro-viz-axis:    var(--faro-line-strong);
  --faro-viz-1: #3d8fe6;   /* ally   */
  --faro-viz-2: #e5534b;   /* enemy  */
  --faro-viz-3: #9085e9;   /* violet */
  --faro-viz-4: #c98500;   /* amber (dark step, NOT the lamp) */
  --faro-viz-5: #199e70;   /* aqua   */

  /* -------------------------------------------------------------------
     TYPE
     ------------------------------------------------------------------- */
  --faro-font-display: "Hubot Sans", "Mona Sans", "Segoe UI", system-ui, sans-serif;
  --faro-font-text:    "Mona Sans", "Segoe UI", system-ui, sans-serif;
  --faro-font-mono:    "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  /* numbers use Mona Sans at 112.5% width: its slashed zero reads as zero at every
     size (Hubot's barred zero reads like a theta in small tables) */
  --faro-font-num:     "Mona Sans", "Segoe UI", system-ui, sans-serif;

  /* width axis (font-stretch). Hubot at 125% is the brand voice. */
  --faro-wide:   125%;
  --faro-semi:   112.5%;
  --faro-normal: 100%;

  /* scale: size / line-height. px on purpose - this is a desktop app with
     its own zoom setting; do not mix rem and px. */
  --faro-fs-hero: 64px;  --faro-lh-hero: 64px;   /* Hubot 800 wide - one per screen, max */
  --faro-fs-d1:   44px;  --faro-lh-d1:   48px;   /* Hubot 800 wide */
  --faro-fs-h1:   30px;  --faro-lh-h1:   36px;   /* Hubot 750 semi */
  --faro-fs-h2:   22px;  --faro-lh-h2:   28px;   /* Hubot 700 semi */
  --faro-fs-h3:   17px;  --faro-lh-h3:   24px;   /* Hubot 700 normal */
  --faro-fs-body-l: 16px; --faro-lh-body-l: 24px; /* Mona 450 */
  --faro-fs-body: 14px;  --faro-lh-body: 20px;   /* Mona 450 - the default */
  --faro-fs-small: 13px; --faro-lh-small: 18px;  /* Mona 450 */
  --faro-fs-caption: 12px; --faro-lh-caption: 16px; /* Mona 500 */
  --faro-fs-label: 11px; --faro-lh-label: 14px;  /* Mona 650 UPPERCASE, tracking .12em */
  --faro-track-label: 0.12em;
  --faro-track-wide:  0.04em;                    /* Hubot wide headings */

  /* numbers */
  --faro-fs-num-xl: 48px;  /* Hubot 750 semi - timers in the in-game window */
  --faro-fs-num-l:  30px;  /* Hubot 750 semi - stat tile values */
  --faro-fs-num-m:  20px;  /* Hubot 700 */
  --faro-fs-num-s:  14px;  /* Hubot 650, table cells */

  --faro-w-regular: 450;
  --faro-w-medium:  550;
  --faro-w-semi:    650;
  --faro-w-bold:    750;
  --faro-w-black:   820;

  /* -------------------------------------------------------------------
     SPACE - 4px base. Use the steps, not in-between values.
     ------------------------------------------------------------------- */
  --faro-sp-0: 0;
  --faro-sp-1: 2px;
  --faro-sp-2: 4px;
  --faro-sp-3: 8px;
  --faro-sp-4: 12px;
  --faro-sp-5: 16px;
  --faro-sp-6: 20px;
  --faro-sp-7: 24px;
  --faro-sp-8: 32px;
  --faro-sp-9: 40px;
  --faro-sp-10: 48px;
  --faro-sp-11: 64px;
  --faro-sp-12: 80px;

  /* layout */
  --faro-titlebar-h: 44px;
  --faro-rail-w:     76px;
  --faro-gutter:     24px;   /* page padding + grid gap on 1920x1080 */
  --faro-gutter-s:   16px;   /* page padding below 1440 wide, and the compact window */
  --faro-row-h:      44px;   /* list/table row */
  --faro-row-h-s:    36px;   /* dense row (in-game compact) */
  --faro-control-h:  40px;   /* buttons, inputs */
  --faro-control-h-l: 52px;  /* the one big action (Import runes, Log in) */
  --faro-control-h-s: 30px;  /* small buttons, chips */

  /* -------------------------------------------------------------------
     RADIUS - instrument-panel: small and consistent
     ------------------------------------------------------------------- */
  --faro-r-xs:   3px;   /* chips, badges, item icons */
  --faro-r-s:    6px;   /* inputs, small buttons, rune slots */
  --faro-r-m:    8px;   /* buttons, rows */
  --faro-r-l:    12px;  /* cards, panels */
  --faro-r-xl:   16px;  /* hero cards, modals, window */
  --faro-r-pill: 999px;

  /* -------------------------------------------------------------------
     ELEVATION - borders first; shadows only for things that float
     ------------------------------------------------------------------- */
  --faro-shadow-pop:   0 16px 40px -16px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--faro-line);
  --faro-shadow-modal: 0 32px 80px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--faro-line-strong);
  --faro-shadow-lamp:  0 10px 28px -10px var(--faro-lamp-glow);   /* primary button only */
  --faro-focus: 0 0 0 2px var(--faro-night-050), 0 0 0 4px var(--faro-lamp-300);

  /* -------------------------------------------------------------------
     MOTION - light by law. See DESIGN.md "Motion".
     - transitions only; no @keyframes with infinite iteration anywhere
     - animate opacity and transform only
     - nothing animates in the in-game window except the 1 Hz text tick
     ------------------------------------------------------------------- */
  --faro-dur-instant: 80ms;   /* colour on hover */
  --faro-dur-fast:    140ms;  /* press, toggle, checkbox */
  --faro-dur-base:    200ms;  /* tab switch, popover, toast in */
  --faro-dur-slow:    280ms;  /* phase change crossfade (the longest thing we do) */
  --faro-ease-out:    cubic-bezier(0.2, 0.8, 0.2, 1);
  --faro-ease-inout:  cubic-bezier(0.4, 0, 0.2, 1);
  --faro-rise:        8px;    /* distance for enter transitions */

  /* Z */
  --faro-z-base: 0;
  --faro-z-sticky: 10;
  --faro-z-titlebar: 20;
  --faro-z-popover: 40;
  --faro-z-toast: 60;
  --faro-z-modal: 80;
}

/* Respect the OS setting: every duration collapses. */
@media (prefers-reduced-motion: reduce) {
  :root {
    --faro-dur-instant: 0ms;
    --faro-dur-fast: 0ms;
    --faro-dur-base: 0ms;
    --faro-dur-slow: 0ms;
    --faro-rise: 0px;
  }
}

/* =====================================================================
   FLARO components  ·  v1.0
   Requires tokens.css. Plain CSS, no build step, no framework.
   Class names: .f-<block>, .f-<block>__<part>, .f-<block>--<variant>,
   state classes .is-<state>. Markup examples: design/kit.html and the
   mockups in design/mockups/*.html (copy them, they are the spec).

   PERFORMANCE RULES (read DESIGN.md "Motion" before adding anything):
   - no @keyframes with infinite iteration, anywhere
   - no backdrop-filter, no filter:blur on anything that repaints
   - transitions: opacity/transform for movement; colour only on
     hover/press and only for <= --faro-dur-instant
   ===================================================================== */

/* ---------- base ---------------------------------------------------- */
.f-app, .f-app * { box-sizing: border-box; }
/* :where() keeps these resets at zero specificity so component classes always win */
.f-app {
  margin: 0;
  background: var(--faro-night-050);
  color: var(--faro-fog-100);
  font-family: var(--faro-font-text);
  font-size: var(--faro-fs-body);
  line-height: var(--faro-lh-body);
  font-weight: var(--faro-w-regular);
  font-stretch: var(--faro-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}
:where(.f-app) img { display: block; }
:where(.f-app) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.f-app) a { color: inherit; text-decoration: none; }
.f-app ::selection { background: var(--faro-lamp-800); color: var(--faro-lamp-050); }

/* ---------- type ---------------------------------------------------- */
.f-hero  { font: var(--faro-w-black) var(--faro-fs-hero)/var(--faro-lh-hero) var(--faro-font-display); font-stretch: var(--faro-wide); letter-spacing: 0.01em; color: var(--faro-fog-000); }
.f-d1    { font: var(--faro-w-black) var(--faro-fs-d1)/var(--faro-lh-d1) var(--faro-font-display); font-stretch: var(--faro-wide); letter-spacing: var(--faro-track-wide); color: var(--faro-fog-000); }
.f-h1    { font: var(--faro-w-bold) var(--faro-fs-h1)/var(--faro-lh-h1) var(--faro-font-display); font-stretch: var(--faro-semi); color: var(--faro-fog-000); }
.f-h2    { font: var(--faro-w-bold) var(--faro-fs-h2)/var(--faro-lh-h2) var(--faro-font-display); font-stretch: var(--faro-semi); color: var(--faro-fog-000); }
.f-h3    { font: var(--faro-w-bold) var(--faro-fs-h3)/var(--faro-lh-h3) var(--faro-font-display); font-stretch: var(--faro-normal); color: var(--faro-fog-000); }
.f-body-l { font-size: var(--faro-fs-body-l); line-height: var(--faro-lh-body-l); }
.f-small { font-size: var(--faro-fs-small); line-height: var(--faro-lh-small); }
.f-caption { font-size: var(--faro-fs-caption); line-height: var(--faro-lh-caption); font-weight: var(--faro-w-medium); color: var(--faro-fog-200); }
.f-label {
  font: var(--faro-w-semi) var(--faro-fs-label)/var(--faro-lh-label) var(--faro-font-text);
  letter-spacing: var(--faro-track-label); text-transform: uppercase; color: var(--faro-fog-300);
}
.f-mono { font-family: var(--faro-font-mono); font-size: 12px; letter-spacing: 0; }
.f-muted { color: var(--faro-fog-300); }
.f-dim { color: var(--faro-fog-200); }
.f-strong { color: var(--faro-fog-000); font-weight: var(--faro-w-semi); }
.f-lamp-text { color: var(--faro-lamp-300); }

/* numbers: Mona Sans 112.5% (slashed zero). tabular in columns and live counters, proportional for big static values */
.f-num { font-family: var(--faro-font-num); font-stretch: var(--faro-semi); font-weight: var(--faro-w-bold); font-variant-numeric: tabular-nums; color: var(--faro-fog-000); letter-spacing: 0; }
.f-num--prop { font-variant-numeric: proportional-nums; }
.f-num--xl { font-size: var(--faro-fs-num-xl); line-height: 1; }
.f-num--l  { font-size: var(--faro-fs-num-l); line-height: 1.05; }
.f-num--m  { font-size: var(--faro-fs-num-m); line-height: 1.1; }
.f-num--s  { font-size: var(--faro-fs-num-s); line-height: 1.2; font-weight: var(--faro-w-semi); }
.f-unit { font-family: var(--faro-font-text); font-size: 12px; font-weight: var(--faro-w-medium); color: var(--faro-fog-300); font-stretch: var(--faro-normal); margin-left: 3px; }

/* ---------- icons --------------------------------------------------- */
.f-icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.f-icon--16 { width: 16px; height: 16px; }
.f-icon--24 { width: 24px; height: 24px; }
.f-icon--fill { fill: currentColor; stroke: none; }

/* ---------- window chrome ------------------------------------------ */
.f-window { width: 100%; height: 100%; display: grid; grid-template-rows: var(--faro-titlebar-h) 1fr; background: var(--faro-night-050); overflow: hidden; }
.f-titlebar {
  position: relative; z-index: var(--faro-z-titlebar);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--faro-titlebar-h); background: var(--faro-night-100);
  border-bottom: 1px solid var(--faro-line); -webkit-app-region: drag; user-select: none;
}
.f-titlebar__brand { display: flex; align-items: center; gap: 10px; padding-left: 20px; color: var(--faro-fog-000); }
.f-titlebar__brand svg.f-logotype { height: 15px; width: auto; }
.f-titlebar__right { display: flex; justify-content: flex-end; align-items: center; height: 100%; }
.f-titlebar__user { display: flex; align-items: center; gap: 10px; padding: 0 16px; color: var(--faro-fog-100); font-size: 13px; -webkit-app-region: no-drag; }
.f-winctl { display: flex; height: 100%; -webkit-app-region: no-drag; }
.f-winctl button { width: 46px; height: 100%; border: 0; background: transparent; color: var(--faro-fog-200); display: grid; place-items: center; }
.f-winctl button:hover { background: var(--faro-night-300); color: var(--faro-fog-000); }
.f-winctl button.is-close:hover { background: #c42b1c; color: #fff; }
.f-winctl svg { width: 10px; height: 10px; stroke: currentColor; stroke-width: 1; fill: none; }

/* phase track: the app switches phases by itself; this shows where the match is */
.f-phase { display: flex; align-items: center; gap: 0; -webkit-app-region: no-drag; }
.f-phase__step { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: var(--faro-r-pill); color: var(--faro-fog-400); font-size: 12px; font-weight: var(--faro-w-semi); letter-spacing: 0.02em; white-space: nowrap; }
.f-phase__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.f-phase__step.is-done { color: var(--faro-fog-200); }
.f-phase__step.is-now { color: var(--faro-lamp-300); background: var(--faro-lamp-wash); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.28); }
.f-phase__step.is-now .f-phase__dot { opacity: 1; box-shadow: 0 0 0 3px rgba(255, 181, 71, 0.18); }
.f-phase__link { width: 22px; height: 1px; background: var(--faro-line-strong); }

/* ---------- app layout --------------------------------------------- */
.f-shell { display: grid; grid-template-columns: var(--faro-rail-w) 1fr; min-height: 0; }
.f-rail { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 0; background: var(--faro-night-100); border-right: 1px solid var(--faro-line); }
.f-rail__item { position: relative; width: 60px; height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: var(--faro-r-m); color: var(--faro-fog-300); font-size: 10.5px; font-weight: var(--faro-w-semi); letter-spacing: 0.02em; }
.f-rail__item:hover { background: var(--faro-night-300); color: var(--faro-fog-100); }
.f-rail__item.is-active { color: var(--faro-fog-000); background: var(--faro-lamp-wash); }
.f-rail__item.is-active::before { content: ""; position: absolute; left: -8px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--faro-lamp-400); }
.f-rail__item.is-active .f-icon { color: var(--faro-lamp-300); }
.f-rail__spacer { flex: 1; }
.f-main { min-width: 0; min-height: 0; overflow: hidden; padding: var(--faro-gutter); }

/* connection status (static dot, never pulses) */
.f-conn { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; color: var(--faro-fog-300); text-align: center; line-height: 12px; }
.f-conn__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faro-good); box-shadow: 0 0 0 3px rgba(63, 203, 142, 0.14); }
.f-conn.is-off .f-conn__dot { background: var(--faro-fog-400); box-shadow: none; }

/* ---------- surfaces ----------------------------------------------- */
.f-card { background: var(--faro-night-200); border: 1px solid var(--faro-line); border-radius: var(--faro-r-l); padding: 20px; min-width: 0; }
.f-card--flush { padding: 0; }
.f-card--raised { background: var(--faro-night-300); }
.f-card--lit { border-color: var(--faro-lamp-line); box-shadow: inset 0 1px 0 rgba(255, 181, 71, 0.18); }
.f-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; min-height: 24px; }
.f-card__title { display: flex; align-items: center; gap: 10px; }
.f-card__meta { font-size: 12px; color: var(--faro-fog-300); }
.f-well { background: var(--faro-night-100); border: 1px solid var(--faro-line-soft); border-radius: var(--faro-r-m); }
.f-divider { height: 1px; background: var(--faro-line-soft); border: 0; margin: 0; }
.f-vdivider { width: 1px; align-self: stretch; background: var(--faro-line-soft); }

/* the beam: a 2px lamp line that fades at both ends. Brand accent for "this one". */
.f-beam { height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,181,71,0) 0%, var(--faro-lamp-400) 18%, var(--faro-lamp-400) 82%, rgba(255,181,71,0) 100%); }

/* ---------- buttons ------------------------------------------------ */
.f-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--faro-control-h); padding: 0 16px; border-radius: var(--faro-r-m);
  border: 1px solid transparent; background: transparent; color: var(--faro-fog-000);
  font-family: var(--faro-font-text); font-size: 14px; font-weight: var(--faro-w-semi); white-space: nowrap; cursor: pointer;
  transition: background-color var(--faro-dur-instant) linear, border-color var(--faro-dur-instant) linear, color var(--faro-dur-instant) linear;
}
.f-btn:focus-visible { outline: none; box-shadow: var(--faro-focus); }
.f-btn--primary { background: var(--faro-lamp-400); color: var(--faro-lamp-ink); box-shadow: var(--faro-shadow-lamp), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.f-btn--primary:hover { background: var(--faro-lamp-300); }
.f-btn--primary:active { background: var(--faro-lamp-500); }
.f-btn--secondary { background: var(--faro-night-300); border-color: var(--faro-line-strong); }
.f-btn--secondary:hover { background: var(--faro-night-400); }
.f-btn--ghost { color: var(--faro-fog-100); }
.f-btn--ghost:hover { background: var(--faro-night-300); color: var(--faro-fog-000); }
.f-btn--danger { color: var(--faro-bad); border-color: rgba(255, 107, 94, 0.4); }
.f-btn--l { height: var(--faro-control-h-l); padding: 0 24px; border-radius: 10px; font-family: var(--faro-font-display); font-stretch: var(--faro-semi); font-weight: var(--faro-w-bold); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.f-btn--s { height: var(--faro-control-h-s); padding: 0 10px; font-size: 12.5px; border-radius: var(--faro-r-s); gap: 6px; }
.f-btn--block { width: 100%; }
.f-btn[disabled], .f-btn.is-disabled { background: var(--faro-night-300); color: var(--faro-fog-400); border-color: var(--faro-line); box-shadow: none; cursor: not-allowed; }
.f-btn__stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.f-btn__sub { font-family: var(--faro-font-text); font-stretch: var(--faro-normal); font-size: 11.5px; font-weight: var(--faro-w-medium); letter-spacing: 0; text-transform: none; opacity: 0.72; margin-top: 3px; }
.f-iconbtn { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: var(--faro-r-s); border: 0; background: transparent; color: var(--faro-fog-200); }
.f-iconbtn:hover { background: var(--faro-night-300); color: var(--faro-fog-000); }
.f-link { color: var(--faro-lamp-300); text-decoration: none; font-weight: var(--faro-w-semi); }
.f-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- form controls ------------------------------------------ */
.f-field { display: flex; flex-direction: column; gap: 8px; }
.f-field__label { display: flex; justify-content: space-between; font-size: 13px; font-weight: var(--faro-w-semi); color: var(--faro-fog-100); }
.f-field__help { font-size: 12px; color: var(--faro-fog-300); }
.f-input {
  height: 46px; width: 100%; padding: 0 14px; border-radius: var(--faro-r-m);
  background: var(--faro-night-100); border: 1px solid var(--faro-line-strong); color: var(--faro-fog-000);
  font-size: 14.5px; display: flex; align-items: center; gap: 10px;
}
.f-input::placeholder, .f-input .is-placeholder { color: var(--faro-fog-300); }
.f-input.is-focus, .f-input:focus { outline: none; border-color: var(--faro-lamp-300); box-shadow: 0 0 0 3px rgba(255, 199, 102, 0.16); }
.f-input.is-error { border-color: var(--faro-bad); }
.f-field__help.is-error { color: var(--faro-bad); }
.f-check { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--faro-fog-200); }
.f-check__box { width: 18px; height: 18px; flex: none; border-radius: 5px; border: 1px solid var(--faro-line-strong); background: var(--faro-night-100); display: grid; place-items: center; margin-top: 1px; }
.f-check.is-on .f-check__box { background: var(--faro-fog-100); border-color: var(--faro-fog-100); color: var(--faro-night-050); }
.f-toggle { width: 36px; height: 20px; border-radius: 999px; background: var(--faro-night-500); border: 1px solid var(--faro-line-strong); position: relative; flex: none; }
.f-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--faro-fog-200); transition: transform var(--faro-dur-fast) var(--faro-ease-out); }
/* "on" is neutral on purpose: the lamp is kept for the one action, "you" and "now" */
.f-toggle.is-on { background: var(--faro-fog-100); border-color: var(--faro-fog-100); }
.f-toggle.is-on::after { transform: translateX(16px); background: var(--faro-night-050); }
.f-meter { height: 6px; border-radius: 6px; background: var(--faro-night-500); overflow: hidden; }
.f-meter > i { display: block; height: 100%; border-radius: 6px; background: var(--faro-fog-200); }

/* ---------- tabs & segmented --------------------------------------- */
.f-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--faro-line); }
.f-tab { position: relative; height: 40px; display: inline-flex; align-items: center; gap: 8px; color: var(--faro-fog-300); font-weight: var(--faro-w-semi); font-size: 13.5px; }
.f-tab:hover { color: var(--faro-fog-100); }
.f-tab.is-active { color: var(--faro-fog-000); }
.f-tab.is-active::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,181,71,0), var(--faro-lamp-400) 22%, var(--faro-lamp-400) 78%, rgba(255,181,71,0)); }
.f-tab__count { font-size: 11px; color: var(--faro-fog-300); background: var(--faro-night-400); border-radius: 999px; padding: 0 6px; line-height: 16px; }

.f-seg { display: inline-flex; padding: 3px; gap: 3px; background: var(--faro-night-100); border: 1px solid var(--faro-line); border-radius: 10px; }
.f-seg__item { height: 32px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border-radius: 7px; color: var(--faro-fog-200); font-size: 13px; font-weight: var(--faro-w-semi); white-space: nowrap; }
.f-seg__item:hover { color: var(--faro-fog-000); }
.f-seg__item.is-active { background: var(--faro-night-400); color: var(--faro-fog-000); box-shadow: inset 0 0 0 1px var(--faro-line-strong); }

/* ---------- badges, chips, codes ----------------------------------- */
.f-badge { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: var(--faro-r-xs); font-size: 10.5px; font-weight: var(--faro-w-semi); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  background: var(--faro-night-400); color: var(--faro-fog-200); }
.f-badge--lamp  { background: var(--faro-lamp-wash); color: var(--faro-lamp-300); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.25); }
.f-badge--ally  { background: var(--faro-ally-wash); color: var(--faro-ally-text); }
.f-badge--enemy { background: var(--faro-enemy-wash); color: var(--faro-enemy-text); }
.f-badge--good  { background: var(--faro-good-wash); color: var(--faro-good); }
.f-badge--bad   { background: var(--faro-bad-wash); color: var(--faro-bad); }
.f-badge--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--faro-line-strong); color: var(--faro-fog-200); }

.f-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--faro-night-300); border: 1px solid var(--faro-line); color: var(--faro-fog-100); font-size: 12px; font-weight: var(--faro-w-medium); white-space: nowrap; }
.f-chip:hover { border-color: var(--faro-line-strong); color: var(--faro-fog-000); }
.f-chip .f-mono { color: var(--faro-fog-200); }

/* objective code: aviation-style 3-letter code with a tint dot. set --c inline. */
.f-code { --c: var(--faro-fog-200); display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px 0 7px; border-radius: var(--faro-r-xs);
  font: 700 11px/1 var(--faro-font-mono); letter-spacing: 0.06em; color: var(--faro-fog-000); background: var(--faro-night-400); box-shadow: inset 0 0 0 1px var(--faro-line-strong); }
.f-code::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--c); transform: rotate(45deg); }

.f-kbd { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px; background: var(--faro-night-400); box-shadow: inset 0 -1px 0 var(--faro-line-strong), inset 0 0 0 1px var(--faro-line); font: 600 11px/1 var(--faro-font-mono); color: var(--faro-fog-100); }

/* ---------- game art ---------------------------------------------- */
.f-champ { width: 40px; height: 40px; border-radius: var(--faro-r-s); object-fit: cover; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); background: var(--faro-night-400); }
.f-champ--24 { width: 24px; height: 24px; border-radius: 4px; }
.f-champ--32 { width: 32px; height: 32px; border-radius: 5px; }
.f-champ--48 { width: 48px; height: 48px; }
.f-champ--56 { width: 56px; height: 56px; border-radius: var(--faro-r-m); }
.f-champ--72 { width: 72px; height: 72px; border-radius: var(--faro-r-m); }
.f-champ-wrap { position: relative; flex: none; line-height: 0; }
.f-champ-wrap .f-lvl { position: absolute; right: -4px; bottom: -4px; min-width: 20px; height: 18px; padding: 0 4px; border-radius: 5px; background: var(--faro-night-050); box-shadow: 0 0 0 1px var(--faro-line-strong); font: 700 11px/18px var(--faro-font-num); font-stretch: var(--faro-semi); color: var(--faro-fog-000); text-align: center; font-variant-numeric: tabular-nums; }
.f-champ-wrap.is-dead .f-champ { filter: grayscale(1) brightness(0.42); }
.f-champ-wrap .f-respawn { position: absolute; inset: 0; display: grid; place-items: center; font: 750 17px/1 var(--faro-font-num); font-stretch: var(--faro-semi); color: var(--faro-fog-000); font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.f-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px var(--faro-line-strong); }
.f-item { width: 28px; height: 28px; border-radius: var(--faro-r-xs); flex: none; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); }
.f-item--empty { background: var(--faro-night-100); box-shadow: inset 0 0 0 1px var(--faro-line-soft); }
.f-item--32 { width: 32px; height: 32px; }
.f-item--40 { width: 40px; height: 40px; border-radius: var(--faro-r-s); }
.f-items { display: flex; gap: 3px; }
.f-spell { width: 22px; height: 22px; border-radius: 4px; flex: none; }
.f-spells { display: flex; gap: 3px; }

/* runes */
.f-rune { width: 34px; height: 34px; border-radius: 50%; flex: none; background: var(--faro-night-100); box-shadow: inset 0 0 0 1px var(--faro-line-strong); padding: 3px; }
.f-rune img { width: 100%; height: 100%; }
.f-rune--key { width: 60px; height: 60px; padding: 2px; background: radial-gradient(circle at 50% 40%, #1d2531, #0d1116 70%); box-shadow: inset 0 0 0 1px var(--faro-line-strong); }
.f-rune--shard { width: 22px; height: 22px; padding: 3px; }
.f-rune.is-off { opacity: 0.28; filter: grayscale(1); }
.f-rune-tree { display: flex; align-items: center; gap: 8px; }
.f-rune-style { width: 20px; height: 20px; opacity: 0.9; }

/* role glyph */
.f-role { width: 18px; height: 18px; flex: none; color: var(--faro-fog-200); stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }

/* ---------- tables ------------------------------------------------- */
.f-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.f-table th { height: 32px; padding: 0 10px; text-align: left; font-size: 10.5px; font-weight: var(--faro-w-semi); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faro-fog-300); border-bottom: 1px solid var(--faro-line); white-space: nowrap; }
.f-table td { height: var(--faro-row-h); padding: 0 10px; border-bottom: 1px solid var(--faro-line-soft); color: var(--faro-fog-100); white-space: nowrap; }
.f-table tr:hover td { background: var(--faro-night-300); }
.f-table .is-num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--faro-font-num); font-stretch: var(--faro-semi); font-weight: var(--faro-w-semi); color: var(--faro-fog-000); }
.f-table tr.is-you td { background: var(--faro-lamp-wash); }
.f-table tr.is-you td:first-child { box-shadow: inset 3px 0 0 var(--faro-lamp-400); }

/* ---------- stat tile & meters ------------------------------------ */
.f-stat { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f-stat__label { font-size: 12px; font-weight: var(--faro-w-medium); color: var(--faro-fog-300); }
.f-stat__value { display: flex; align-items: baseline; gap: 2px; font: var(--faro-w-bold) var(--faro-fs-num-l)/1.05 var(--faro-font-num); font-stretch: var(--faro-semi); color: var(--faro-fog-000); }
.f-stat__delta { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: var(--faro-w-semi); color: var(--faro-fog-200); }
.f-stat__delta.is-good { color: var(--faro-good); }
.f-stat__delta.is-bad { color: var(--faro-bad); }
.f-stat__delta svg { width: 9px; height: 9px; fill: currentColor; }
.f-target { position: relative; height: 6px; border-radius: 6px; background: var(--faro-night-500); }
.f-target > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--faro-fog-200); }
.f-target > b { position: absolute; top: -4px; bottom: -4px; width: 2px; border-radius: 1px; background: var(--faro-fog-000); }
.f-target.is-you > i { background: var(--faro-lamp-400); }

/* ---------- objective timer -------------------------------------- */
.f-timer { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--faro-r-l); background: var(--faro-night-200); border: 1px solid var(--faro-line); min-width: 0; }
.f-timer__ring { width: 56px; height: 56px; position: relative; }
.f-timer__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.f-timer__ring .track { stroke: var(--faro-night-500); }
.f-timer__ring .fill { stroke: var(--faro-fog-200); stroke-linecap: butt; }
.f-timer__ring .f-code { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 20px; padding: 0 5px; font-size: 10px; box-shadow: none; background: transparent; }
.f-timer__ring .f-code::before { display: none; }
.f-timer__name { font-size: 13px; font-weight: var(--faro-w-semi); color: var(--faro-fog-100); display: flex; align-items: center; gap: 8px; }
.f-timer__time { font: var(--faro-w-bold) 32px/1 var(--faro-font-num); font-stretch: var(--faro-semi); color: var(--faro-fog-000); font-variant-numeric: tabular-nums; margin: 4px 0 3px; }
.f-timer__sub { font-size: 12px; color: var(--faro-fog-300); }
.f-timer.is-next { border-color: var(--faro-lamp-line); background: linear-gradient(180deg, rgba(255,181,71,0.07), rgba(255,181,71,0) 60%), var(--faro-night-200); }
.f-timer.is-next .fill { stroke: var(--faro-lamp-400); }
.f-timer.is-next .f-timer__time { color: var(--faro-lamp-200); }
.f-timer.is-up .f-timer__time { color: var(--faro-lamp-300); }
.f-timer.is-up .fill { stroke: var(--faro-lamp-400); }
.f-timer.is-off { opacity: 0.55; }

/* ---------- notes, trust line, insight --------------------------- */
.f-note { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: var(--faro-r-m); background: var(--faro-night-100); border: 1px solid var(--faro-line-soft); color: var(--faro-fog-200); font-size: 12.5px; line-height: 18px; }
.f-note .f-icon { color: var(--faro-fog-300); margin-top: 0; width: 18px; height: 18px; }
.f-trust { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--faro-fog-300); }
.f-trust .f-icon { width: 16px; height: 16px; color: var(--faro-fog-300); }

.f-insight { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 18px 16px; border-radius: var(--faro-r-l); background: var(--faro-night-200); border: 1px solid var(--faro-line); }
.f-insight__n { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--faro-lamp-wash); box-shadow: inset 0 0 0 1px rgba(255,181,71,0.3); font: 800 17px/1 var(--faro-font-display); font-stretch: var(--faro-wide); color: var(--faro-lamp-300); }
.f-insight__title { font: var(--faro-w-bold) 16px/22px var(--faro-font-display); font-stretch: var(--faro-normal); color: var(--faro-fog-000); margin-bottom: 6px; }
.f-insight__body { font-size: 13.5px; line-height: 20px; color: var(--faro-fog-100); }
.f-insight__evidence { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.f-insight__do { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--faro-line-soft); font-size: 13px; color: var(--faro-fog-000); }
.f-insight__do .f-icon { width: 16px; height: 16px; color: var(--faro-lamp-300); margin-top: 2px; }
.f-insight.is-good .f-insight__n { background: var(--faro-good-wash); color: var(--faro-good); box-shadow: inset 0 0 0 1px rgba(63, 203, 142, 0.3); }

/* ---------- tooltip, toast, popover ------------------------------ */
.f-tooltip { position: absolute; z-index: var(--faro-z-popover); padding: 8px 10px; border-radius: var(--faro-r-m); background: var(--faro-night-500); box-shadow: var(--faro-shadow-pop); font-size: 12px; color: var(--faro-fog-100); white-space: nowrap; }
.f-tooltip b { color: var(--faro-fog-000); font-weight: var(--faro-w-semi); }
.f-toast { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; border-radius: var(--faro-r-l); background: var(--faro-night-500); box-shadow: var(--faro-shadow-pop); font-size: 13px; color: var(--faro-fog-100); }
.f-toast__icon { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--faro-good-wash); color: var(--faro-good); flex: none; }
.f-toast b { color: var(--faro-fog-000); font-weight: var(--faro-w-semi); }

/* ---------- charts (see DESIGN.md "Charts") ----------------------- */
.f-chart { position: relative; }
.f-chart svg { display: block; overflow: visible; }
.f-chart .grid line { stroke: var(--faro-viz-grid); stroke-width: 1; shape-rendering: crispEdges; }
.f-chart .axis line, .f-chart .baseline { stroke: var(--faro-viz-axis); stroke-width: 1; shape-rendering: crispEdges; }
.f-chart .tick { font: 500 11px var(--faro-font-text); fill: var(--faro-fog-300); font-variant-numeric: tabular-nums; }
.f-chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.f-chart .line.you { stroke: var(--faro-viz-you); }
.f-chart .line.ctx { stroke: var(--faro-viz-context); }
.f-chart .line.target { stroke: var(--faro-viz-target); stroke-width: 1.5; stroke-dasharray: 4 4; }
.f-chart .area.you { fill: var(--faro-viz-you-area); }
.f-chart .dot { stroke: var(--faro-viz-surface); stroke-width: 2; }
.f-chart .end-label { font: 600 12px var(--faro-font-text); fill: var(--faro-fog-100); }
.f-chart .end-value { font: 700 12px var(--faro-font-num); font-stretch: 112.5%; fill: var(--faro-fog-000); font-variant-numeric: tabular-nums; }
.f-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--faro-fog-200); }
.f-legend__item { display: inline-flex; align-items: center; gap: 7px; }
.f-legend__key { width: 14px; height: 2px; border-radius: 2px; background: var(--k, var(--faro-fog-200)); }
.f-legend__key--dash { background: repeating-linear-gradient(90deg, var(--faro-viz-target) 0 4px, transparent 4px 7px); }
.f-legend__key--box { width: 10px; height: 10px; border-radius: 3px; }

/* bars: <= 24px thick, 4px rounded data end, square at the baseline */
.f-hbar { display: grid; grid-template-columns: 120px 1fr 56px; align-items: center; gap: 12px; height: 30px; font-size: 12.5px; }
.f-hbar__track { height: 14px; position: relative; }
.f-hbar__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 4px 4px 0; background: var(--faro-viz-context); }
.f-hbar.is-you .f-hbar__fill { background: var(--faro-viz-you); }
.f-hbar__value { text-align: right; font: 650 12.5px var(--faro-font-num); font-stretch: 112.5%; color: var(--faro-fog-000); font-variant-numeric: tabular-nums; }

/* ---------- team slots (champion select) ------------------------- */
.f-slot { position: relative; display: grid; grid-template-columns: 22px 52px 1fr auto; align-items: center; gap: 12px; height: 72px; padding: 0 14px 0 12px; border-radius: var(--faro-r-l); background: var(--faro-night-200); border: 1px solid var(--faro-line); }
.f-slot::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--faro-ally); }
.f-slot--enemy { grid-template-columns: auto 1fr 52px; padding: 0 12px 0 14px; }
.f-slot--enemy::before { left: auto; right: -1px; border-radius: 3px 0 0 3px; background: var(--faro-enemy); }
.f-slot.is-you { background: linear-gradient(90deg, rgba(255,181,71,0.09), rgba(255,181,71,0) 70%), var(--faro-night-200); border-color: var(--faro-lamp-line); }
.f-slot.is-you::before { background: var(--faro-lamp-400); }
.f-slot.is-picking .f-champ { opacity: 0.55; }
.f-slot__name { font-weight: var(--faro-w-semi); color: var(--faro-fog-000); font-size: 14px; }
.f-slot__sub { font-size: 12px; color: var(--faro-fog-300); margin-top: 2px; }
.f-slot--empty .f-champ { background: var(--faro-night-100); box-shadow: inset 0 0 0 1px var(--faro-line); }

/* ---------- scrollbars (Chromium) -------------------------------- */
.f-app ::-webkit-scrollbar { width: 10px; height: 10px; }
.f-app ::-webkit-scrollbar-thumb { background: var(--faro-night-500); border-radius: 10px; border: 3px solid var(--faro-night-050); }
.f-app ::-webkit-scrollbar-track { background: transparent; }

/* ---------- phase change (the only entrance animation) ----------- */
.f-enter { opacity: 0; transform: translateY(var(--faro-rise)); }
.f-enter.is-in { opacity: 1; transform: none; transition: opacity var(--faro-dur-slow) var(--faro-ease-out), transform var(--faro-dur-slow) var(--faro-ease-out); }

/* =====================================================================
   FLARO website  ·  site.css  ·  v2 (28 Sep 2026)
   Loaded after the kit's tokens.css and components.css (tools/build.py
   bundles all three into www/assets/css/faro.css).

   Same rules as the app (design/DESIGN.md):
   - dark only, fog for text, ONE lamp accent: the one action, "you", "now"
   - hairlines instead of frames, small radii, tabular numbers
   - light by law: transitions only, opacity/transform only, nothing loops,
     no backdrop-filter, no blur; prefers-reduced-motion zeroes it all.
     The one moving picture (the demo loop) plays only while it is on
     screen, never with reduced motion, and has a pause button.
   Sizes are in rem so the whole page scales up on very wide screens.
   ===================================================================== */

:root {
  --wrap: 76rem;                                   /* 1216 px */
  --wrap-wide: 88rem;                              /* 1408 px, for the big product shots */
  --wrap-text: 46rem;
  --gutter: clamp(1.125rem, 0.4rem + 2.8vw, 2.75rem);
  --section: clamp(5rem, 3.2rem + 6vw, 10rem);
  --top-h: 4.25rem;
  --r-frame: 0.875rem;
  --r-tile: 1.25rem;
  --edge: rgba(255, 255, 255, 0.075);
  --shadow-frame: 0 0 0 1px var(--edge), 0 2.25rem 5rem -1.75rem rgba(0, 0, 0, 0.95), 0 0.9rem 2rem -1rem rgba(0, 0, 0, 0.7);
  --shadow-float: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 2.5rem 4.5rem -1.25rem rgba(0, 0, 0, 0.95), 0 1rem 2rem -0.75rem rgba(0, 0, 0, 0.8);
  --beam: linear-gradient(90deg, rgba(255, 181, 71, 0), var(--faro-lamp-400) 22%, var(--faro-lamp-400) 78%, rgba(255, 181, 71, 0));
}

/* ---------- base ---------------------------------------------------- */
html {
  background: var(--faro-night-050);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* very wide screens (4K at 100 %): scale the whole page, not just the gaps */
@media (min-width: 2200px) { html { font-size: 112.5%; } }
@media (min-width: 2800px) { html { font-size: 131.25%; } }
@media (min-width: 3400px) { html { font-size: 150%; } }

body.f-app {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--faro-fog-100);
  background: var(--faro-night-050);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { flex: 1; outline: none; }
:where(.f-app) :where(h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote) { margin: 0; }
:where(.f-app) :where(ul, ol) { padding: 0; }
:where(.f-app) :where(img, picture, video) { max-width: 100%; }
:where(.f-app) :where(img) { height: auto; }
.f-app :focus-visible { outline: none; box-shadow: var(--faro-focus); border-radius: 6px; }
.f-app ::selection { background: var(--faro-lamp-800); color: var(--faro-lamp-050); }
[hidden] { display: none !important; }

/* single-column grids: never let one long word or code line widen the column past the page */
.section-head, .prose, .faq__a, .release__body, .dl__main, .hash, .file-card, .plan, .feature, .step, .tile,
.trust__col, .insights__text, .insights__cards, .moment__text, .moment__visual, .hero__side, .teaser__text,
.rr-step__text, .contact-card, .flow, .node { min-width: 0; }
/* one-column grids: the column is minmax(0, 1fr), so a long word, a nowrap label or a code line can never widen it
   past the page (an auto column grows to fit its widest child). Multi-column layouts below override this. */
.hero__head, .hero__row, .hero__copy, .hero__side, .page-head__in, .section-head, .prose, .faq__a, .release__body, .release__meta,
.dl__main, .hash, .file-card, .plan, .feature, .step, .tile__text, .insights__text, .insights__cards, .moment,
.moment__text, .shot-fig, .teaser__text, .rr, .rr-section, .rr-step, .rr-step__text, .contact-card, .panel, .flow,
.summary-box, .beta-card, .focus-card, .cta-end__in, .trust-stack, .trust-grid, .bento, .split, .duo, .insights,
.with-toc, .contact-grid, .feature-grid, .plans, .steps, .dl, .faq-home, .foot__grid, .release { grid-template-columns: minmax(0, 1fr); }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2 * var(--gutter), var(--wrap-wide)); margin-inline: auto; }
.wrap-text { width: min(100% - 2 * var(--gutter), var(--wrap-text)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; border-radius: var(--faro-r-m); background: var(--faro-lamp-400); color: var(--faro-lamp-ink); font-weight: var(--faro-w-semi); }
.skip:focus { top: 0.75rem; }

/* ---------- type ---------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font: var(--faro-w-semi) 0.75rem/1.3 var(--faro-font-text);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--faro-fog-300);
}
.eyebrow::before { content: ""; width: 1.25rem; height: 1px; background: linear-gradient(90deg, var(--faro-fog-400), var(--faro-fog-300)); }
.eyebrow--plain::before { display: none; }
.eyebrow .num-tag { font: 700 0.75rem/1 var(--faro-font-mono); color: var(--faro-fog-200); letter-spacing: 0.04em; }
.display {
  font-family: var(--faro-font-display); font-weight: var(--faro-w-black); font-stretch: var(--faro-semi);
  font-size: clamp(2.75rem, 1.05rem + 5.6vw, 6.25rem); line-height: 0.98; letter-spacing: -0.022em;
  color: var(--faro-fog-000); text-wrap: balance;
}
.h-display {
  font-family: var(--faro-font-display); font-weight: var(--faro-w-black); font-stretch: var(--faro-semi);
  font-size: clamp(2.375rem, 1.35rem + 3.4vw, 4.5rem); line-height: 1.02; letter-spacing: -0.018em;
  color: var(--faro-fog-000); text-wrap: balance;
}
.h-section {
  font-family: var(--faro-font-display); font-weight: var(--faro-w-black); font-stretch: var(--faro-semi);
  font-size: clamp(2.125rem, 1.3rem + 2.7vw, 3.75rem); line-height: 1.03; letter-spacing: -0.016em;
  color: var(--faro-fog-000); text-wrap: balance;
}
.h-sub {
  font-family: var(--faro-font-display); font-weight: var(--faro-w-bold); font-stretch: var(--faro-semi);
  font-size: clamp(1.5rem, 1.12rem + 1.25vw, 2.25rem); line-height: 1.1; letter-spacing: -0.01em;
  color: var(--faro-fog-000); text-wrap: balance;
}
.h-card {
  font-family: var(--faro-font-display); font-weight: var(--faro-w-bold); font-stretch: var(--faro-normal);
  font-size: 1.125rem; line-height: 1.35; color: var(--faro-fog-000);
}
.lead { font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3125rem); line-height: 1.6; color: var(--faro-fog-200); max-width: 40rem; text-wrap: pretty; }
.lead strong { color: var(--faro-fog-000); font-weight: var(--faro-w-semi); }
.muted { color: var(--faro-fog-300); }
.small { font-size: 0.875rem; line-height: 1.55; }
.tiny { font-size: 0.8125rem; line-height: 1.5; }
.num { font-family: var(--faro-font-num); font-stretch: var(--faro-semi); font-weight: var(--faro-w-bold); font-variant-numeric: tabular-nums; color: var(--faro-fog-000); }
.mono { font-family: var(--faro-font-mono); font-size: 0.875em; }
.section-head { display: grid; gap: 1.1rem; max-width: 50rem; align-content: start; }
.section-head .lead { margin-top: 0.15rem; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--center .lead { margin-inline: auto; }
.text-link { color: var(--faro-fog-000); text-decoration: underline; text-decoration-color: var(--faro-line-strong); text-underline-offset: 0.22em; text-decoration-thickness: 1px; transition: text-decoration-color var(--faro-dur-instant) linear; }
.text-link:hover { text-decoration-color: var(--faro-fog-200); }
.f-link { display: inline-flex; align-items: center; gap: 0.35rem; }
.f-link .f-icon { width: 1rem; height: 1rem; }
.kbd-row { display: inline-flex; gap: 0.25rem; vertical-align: 0.05em; }

/* ---------- header -------------------------------------------------- */
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.top {
  position: sticky; top: 0; z-index: 50; height: var(--top-h);
  background: rgba(9, 12, 16, 0.9);
  border-bottom: 1px solid transparent;
  transition: border-color var(--faro-dur-base) linear, background-color var(--faro-dur-base) linear;
}
.top.is-scrolled { background: rgba(9, 12, 16, 0.96); border-bottom-color: var(--faro-line-soft); }
.top__in { height: 100%; display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.75rem); }
.top__brand { display: inline-flex; align-items: center; height: 2.5rem; padding-inline: 0.25rem; margin-left: -0.25rem; color: var(--faro-fog-000); border-radius: var(--faro-r-s); }
.top__logo { width: 6.7rem; height: auto; display: block; overflow: visible; }
.top__nav { display: flex; align-items: center; gap: 0.15rem; }
.top__nav a {
  position: relative; display: inline-flex; align-items: center; height: 2.5rem; padding: 0 0.8rem;
  border-radius: var(--faro-r-m); color: var(--faro-fog-200); font-size: 0.9375rem; font-weight: var(--faro-w-medium);
  transition: color var(--faro-dur-instant) linear, background-color var(--faro-dur-instant) linear;
}
.top__nav a:hover { color: var(--faro-fog-000); background: var(--faro-night-300); }
.top__nav a[aria-current="page"] { color: var(--faro-fog-000); }
.top__nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.6rem; right: 0.6rem; bottom: -0.875rem; height: 2px; border-radius: 2px; background: var(--beam);
}
.top__actions { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.top__cta { height: 2.4rem; padding: 0 1rem; font-size: 0.875rem; gap: 0.5rem; border-radius: var(--faro-r-m); }
.top__cta .f-icon { width: 1.05rem; height: 1.05rem; }
.top__menu {
  display: none; width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid var(--faro-line); border-radius: var(--faro-r-m);
  background: var(--faro-night-200); color: var(--faro-fog-000); cursor: pointer;
}
.top__menu svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; fill: none; display: block; margin: auto; }
.top__menu path { transition: transform var(--faro-dur-base) var(--faro-ease-out); transform-origin: 12px 12px; }
.menu-open .top__menu .l1 { transform: translateY(4px) rotate(45deg); }
.menu-open .top__menu .l2 { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 51.99rem) {
  .top__menu { display: inline-grid; place-items: center; }
  .top__nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem; background: var(--faro-night-100); border-bottom: 1px solid var(--faro-line);
    box-shadow: 0 1.5rem 3rem -1.5rem rgba(0, 0, 0, 0.85);
  }
  .top__nav a { height: 3.1rem; padding: 0 0.75rem; font-size: 1.0625rem; }
  .top__nav a[aria-current="page"]::after { left: 0; right: auto; top: 0.9rem; bottom: 0.9rem; width: 2px; height: auto; background: var(--faro-lamp-400); }
  .menu-open .top__nav { display: flex; }
  .menu-open .top { background: var(--faro-night-100); }
  html:not(.js) .top__menu { display: none; }
  html:not(.js) .top__nav { position: static; display: flex; flex-direction: row; padding: 0; background: none; border: 0; box-shadow: none; overflow-x: auto; }
  html:not(.js) .top__nav a { height: 2.5rem; font-size: 0.875rem; padding: 0 0.5rem; }
}
@media (max-width: 23rem) { .top__cta .f-icon { display: none; } .top__cta { padding: 0 0.75rem; } }

/* ---------- buttons (the kit's .f-btn, at web sizes) ----------------- */
.btn-xl {
  height: auto; min-height: 3.6rem; padding: 0.7rem 1.6rem 0.7rem 1.3rem; gap: 0.8rem;
  border-radius: 0.75rem; text-align: left;
}
.btn-xl.f-btn--primary .f-icon { width: 1.35rem; height: 1.35rem; }
.btn-xl .f-btn__stack { gap: 0.12rem; }
.btn-xl .f-btn__label {
  font-family: var(--faro-font-display); font-stretch: var(--faro-semi); font-weight: var(--faro-w-bold);
  font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2;
}
.btn-xl .f-btn__sub { font-size: 0.78rem; margin-top: 0; opacity: 0.78; }
.btn-l { height: 3.6rem; padding: 0 1.4rem; font-size: 1rem; border-radius: 0.75rem; gap: 0.6rem; }
.btn-l .f-icon { width: 1.2rem; height: 1.2rem; }
.f-btn--secondary.btn-l { background: rgba(22, 28, 37, 0.9); }
.f-btn--secondary.btn-l:hover { background: var(--faro-night-400); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.f-btn--primary { transition: background-color var(--faro-dur-instant) linear, transform var(--faro-dur-fast) var(--faro-ease-out); }
.f-btn--primary:hover { transform: translateY(-1px); }
.f-btn--primary:active { transform: translateY(0); }
.play-dot { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: inline-grid; place-items: center; background: var(--faro-fog-000); color: var(--faro-night-050); flex: none; }
.play-dot svg { width: 0.7rem; height: 0.7rem; fill: currentColor; margin-left: 2px; }

/* the version pill */
.pill {
  display: inline-flex; align-items: center; gap: 0.65rem; max-width: 100%;
  padding: 0.3rem 0.85rem 0.3rem 0.32rem; border-radius: 999px; border: 1px solid var(--faro-line);
  background: rgba(13, 17, 22, 0.85); color: var(--faro-fog-200); font-size: 0.8125rem; line-height: 1.35;
  transition: border-color var(--faro-dur-instant) linear, color var(--faro-dur-instant) linear;
}
.pill:hover { border-color: var(--faro-line-strong); color: var(--faro-fog-000); }
.pill__tag { flex: none; padding: 0.18rem 0.55rem; border-radius: 999px; background: var(--faro-lamp-wash); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.3); color: var(--faro-lamp-300); font: 650 0.6875rem/1.3 var(--faro-font-text); letter-spacing: 0.08em; text-transform: uppercase; }
.pill__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 30rem) { .pill { border-radius: 1.1rem; } .pill__text { white-space: normal; } }  /* a longer line wraps on phones */
.pill .f-icon { width: 0.95rem; height: 0.95rem; color: var(--faro-fog-300); flex: none; }

/* ---------- frames: how app screenshots sit on the page ---------------- */
.frame {
  position: relative; display: block; border-radius: var(--r-frame); overflow: hidden;
  background: var(--faro-night-000); box-shadow: var(--shadow-frame);
}
.frame::after { /* a hairline of light along the top edge, drawn over the picture */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.frame img { display: block; width: 100%; height: auto; }
.frame--float { box-shadow: var(--shadow-float); border-radius: 0.75rem; }
.frame--lit { box-shadow: 0 0 0 1px rgba(255, 181, 71, 0.22), 0 -1px 0 0 rgba(255, 181, 71, 0.35), 0 2.5rem 5rem -2rem rgba(0, 0, 0, 0.95), 0 0 4rem -1.5rem rgba(255, 181, 71, 0.25); }
.shot__zoom { display: block; cursor: zoom-in; border-radius: inherit; }
.shot-cap { font-size: 0.8125rem; line-height: 1.5; color: var(--faro-fog-300); display: flex; gap: 0.5rem; align-items: flex-start; }
.shot-cap .f-icon { width: 1rem; height: 1rem; flex: none; margin-top: 0.1rem; }
.shot-cap strong { color: var(--faro-fog-100); font-weight: var(--faro-w-semi); }
.shot-fig { display: grid; gap: 0.9rem; min-width: 0; }

/* the zoom dialog (a native <dialog>, opened by site.js) */
.zoom {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(4, 6, 8, 0.95); color: var(--faro-fog-000);
}
.zoom[open] { display: grid; place-items: center; }
.zoom::backdrop { background: rgba(4, 6, 8, 0.6); }
.zoom img { max-width: min(96vw, 1920px); max-height: 88vh; width: auto; height: auto; border-radius: 0.75rem; box-shadow: var(--shadow-frame); cursor: zoom-out; }
.zoom__close {
  position: fixed; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--faro-line-strong); background: var(--faro-night-300); color: var(--faro-fog-000);
  display: grid; place-items: center; cursor: pointer;
}
.zoom__close .f-icon { width: 1.25rem; height: 1.25rem; }
.zoom__cap { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); width: min(90vw, 48rem); text-align: center; font-size: 0.875rem; color: var(--faro-fog-200); }

/* ---------- hero ------------------------------------------------------ */
.hero { position: relative; isolation: isolate; padding: clamp(2.5rem, 1.25rem + 4.5vw, 6rem) 0 0; }
.hero__sky { position: absolute; inset: 0 0 auto; height: 70rem; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(60rem 34rem at 78% -8%, rgba(61, 143, 230, 0.07), rgba(61, 143, 230, 0) 70%),
              radial-gradient(40rem 26rem at 8% 4%, rgba(255, 181, 71, 0.07), rgba(255, 181, 71, 0) 70%); }
.hero__head { position: relative; display: grid; justify-items: start; }
.hero__logo { display: block; width: clamp(13rem, 7.45rem + 16.15vw, 23.6rem); height: auto; overflow: visible; color: var(--faro-fog-000); margin-top: clamp(1.75rem, 1rem + 2.2vw, 3rem); }
.hero__logo .cone, .hero__logo .glow { pointer-events: none; }
.hero__title { margin-top: clamp(1.25rem, 0.8rem + 1.4vw, 2.25rem); max-width: 13.5em; font-size: clamp(2.75rem, 0.95rem + 5.15vw, 6.25rem); }
.hero__row { width: 100%; display: grid; gap: 1.75rem; margin-top: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); align-items: end; }
.hero__copy { display: grid; gap: 1.1rem; max-width: 38rem; }
.hero__side { display: grid; align-content: end; }
.hero__ctas { gap: 0.75rem; }
.hero__trust { display: flex; align-items: flex-start; gap: 0.55rem; color: var(--faro-fog-300); font-size: 0.875rem; line-height: 1.5; max-width: 34rem; }
.hero__trust .f-icon { width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.05rem; }
@media (min-width: 64rem) {
  .hero__row { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2.5rem, 5vw, 6rem); }
  .hero__ctas { flex-wrap: nowrap; justify-content: flex-end; }
}
@media (max-width: 34rem) {
  .hero__ctas { display: grid; width: 100%; }
  .hero__ctas .f-btn { width: 100%; justify-content: center; }
  .hero__ctas .btn-xl { justify-content: flex-start; }
}

/* the stage: three real windows, before, during and after the game */
.hero__stage { position: relative; margin-top: clamp(3rem, 2rem + 4vw, 6rem); padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 5rem); }
.hero__stage::before { /* where the beam lands; the gradient fades out well inside the box, so no edge shows */
  content: ""; position: absolute; left: 0; right: 0; top: -22%; height: 100%; z-index: -1; pointer-events: none;
  background: radial-gradient(42% 38% at 50% 50%, rgba(255, 181, 71, 0.1), rgba(255, 181, 71, 0));
}
.stage { position: relative; }
.stage__plane { position: relative; }
.stage__main { position: relative; z-index: 1; }
.stage__small { position: absolute; z-index: 3; right: 2%; bottom: -8%; width: 27%; max-width: 15rem; }
.stage__card { display: none; }
@media (min-width: 48rem) {
  .stage { perspective: 3200px; perspective-origin: 50% 100%; }
  .stage__plane { transform-style: preserve-3d; transform: rotateX(8deg); transform-origin: 50% 100%; }
  .stage__small { left: 1.5%; right: auto; bottom: -7%; width: 17.5%; max-width: none; transform: translateZ(60px); }
  .stage__card { display: block; position: absolute; z-index: 3; right: 1.5%; bottom: -5%; width: 24%; transform: translateZ(90px); }
}
.js .stage[data-stage] .stage__plane { opacity: 0; }
.js .stage[data-stage].is-in .stage__plane { opacity: 1; transition: opacity 0.7s var(--faro-ease-out), transform 1.1s var(--faro-ease-out); }
@media (min-width: 48rem) {
  .js .stage[data-stage] .stage__plane { transform: rotateX(22deg) translateY(2rem); }
  .js .stage[data-stage].is-in .stage__plane { transform: rotateX(8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .js .stage[data-stage] .stage__plane { opacity: 1; transition: none; }
  @media (min-width: 48rem) { .js .stage[data-stage] .stage__plane { transform: rotateX(8deg); } }
}
.stage__cap { margin-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); justify-content: center; text-align: center; }
@media (max-width: 47.99rem) { .stage__cap { margin-top: 3.25rem; justify-content: flex-start; text-align: left; } }
/* the sea under the stage: hairlines, static */
.sea { position: absolute; left: 0; right: 0; bottom: 0; height: 9rem; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.045) 1px, rgba(255, 255, 255, 0) 1px) 0 18% / 100% 100% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.035) 1px, rgba(255, 255, 255, 0) 1px) 0 42% / 100% 100% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.028) 1px, rgba(255, 255, 255, 0) 1px) 0 70% / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }

/* the numbers band under the hero */
.facts { border-block: 1px solid var(--faro-line-soft); background: linear-gradient(180deg, rgba(13, 17, 22, 0.6), rgba(13, 17, 22, 0.2)); }
.facts__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact { display: grid; gap: 0.35rem; align-content: start; padding: clamp(1.25rem, 1rem + 1vw, 2rem) clamp(0.75rem, 0.4rem + 1vw, 1.5rem); border-left: 1px solid var(--faro-line-soft); }
.fact:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
.fact__v { font: var(--faro-w-bold) clamp(1.625rem, 1.25rem + 1.2vw, 2.375rem)/1 var(--faro-font-num); font-stretch: var(--faro-semi); color: var(--faro-fog-000); letter-spacing: -0.01em; font-variant-numeric: proportional-nums; }
.fact__v small { font-size: 0.5em; font-weight: var(--faro-w-semi); color: var(--faro-fog-300); margin-left: 0.2em; letter-spacing: 0; }
.fact__l { font-size: 0.8125rem; line-height: 1.4; color: var(--faro-fog-300); }
@media (max-width: 39.99rem) { .fact:nth-child(n + 3) { border-top: 1px solid var(--faro-line-soft); } .fact:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 40rem) { .facts__row { grid-template-columns: repeat(5, minmax(0, 1fr)); } .fact:nth-child(2n + 1) { border-left: 1px solid var(--faro-line-soft); padding-left: clamp(0.75rem, 0.4rem + 1vw, 1.5rem); } .fact:first-child { border-left: 0; padding-left: 0; } }

/* ---------- sections -------------------------------------------------- */
.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: clamp(3.5rem, 2.5rem + 3.5vw, 6rem); }
.section--line { border-top: 1px solid var(--faro-line-soft); }
.section--band { background: linear-gradient(180deg, var(--faro-night-050), var(--faro-night-100) 14%, var(--faro-night-100) 86%, var(--faro-night-050)); }
.section--beam::before { content: ""; position: absolute; top: 0; left: 50%; width: min(40rem, 70%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(255, 181, 71, 0), rgba(255, 181, 71, 0.55), rgba(255, 181, 71, 0)); }
.section--beam::after { content: ""; position: absolute; top: 0; left: 50%; width: min(46rem, 80%); height: 8rem; transform: translateX(-50%); pointer-events: none; background: radial-gradient(ellipse at 50% 0, rgba(255, 181, 71, 0.08), rgba(255, 181, 71, 0) 70%); }

/* the phase track: Flaro's signature, here as the page's own guide */
.phase-nav {
  position: sticky; top: calc(var(--top-h) + 0.75rem); z-index: 20;
  display: flex; justify-content: center; margin: clamp(2.25rem, 1.5rem + 2vw, 3.5rem) 0 0; pointer-events: none;
}
.phase-nav .f-phase {
  pointer-events: auto; padding: 0.3rem; border-radius: 999px;
  background: rgba(13, 17, 22, 0.97); border: 1px solid var(--faro-line);
  box-shadow: 0 0.75rem 2rem -0.75rem rgba(0, 0, 0, 0.9);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.phase-nav .f-phase::-webkit-scrollbar { display: none; }
.phase-nav .f-phase__step {
  height: 2.3rem; padding: 0 0.95rem; font-size: 0.8125rem; color: var(--faro-fog-300);
  transition: color var(--faro-dur-instant) linear, background-color var(--faro-dur-instant) linear;
}
.phase-nav .f-phase__step:hover { color: var(--faro-fog-000); }
.phase-nav .f-phase__step.is-done { color: var(--faro-fog-200); }
.phase-nav .f-phase__step.is-now { color: var(--faro-lamp-300); }
.phase-nav .f-phase__dot { width: 0.45rem; height: 0.45rem; }
.phase-nav .f-phase__link { width: 1.25rem; flex: none; }
@media (max-width: 40rem) {
  .phase-nav .f-phase__step { padding: 0 0.7rem; }
  .phase-nav .f-phase__step:not(.is-now) .f-phase__label { display: none; }
  .phase-nav .f-phase__link { width: 0.75rem; }
}

/* the four moments: text on one side, the real window on the other */
.moments { display: grid; gap: clamp(4.5rem, 3rem + 6vw, 9rem); margin-top: clamp(3rem, 2rem + 4vw, 6rem); }
.moment { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); align-items: center; scroll-margin-top: 9rem; }
.moment__text { display: grid; gap: 1.1rem; align-content: start; }
.moment__text .lead { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); }
.moment__visual { position: relative; }
.moment__detail { position: absolute; z-index: 2; }
.moment__detail--br { right: -2%; bottom: -12%; width: 38%; }
.moment__detail--r { right: -3%; top: 12%; width: 30%; }
.moment__detail--bl { left: -3%; bottom: -12%; width: 36%; }
.moment__note { margin-top: 1.25rem; }
@media (min-width: 64rem) {
  .moment { grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); }
  .moment--flip .moment__text { order: 2; }
  .moment--flip { grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr); }
}
@media (max-width: 47.99rem) {
  .moment__detail--br, .moment__detail--bl { width: 44%; bottom: -10%; }
  .moment__detail--r { width: 34%; }
  .moment__visual { margin-bottom: 1.5rem; }
}
.checks { list-style: none; display: grid; gap: 0.7rem; margin-top: 0.4rem; }
.checks li { display: grid; grid-template-columns: 1.35rem minmax(0, 1fr); gap: 0.7rem; color: var(--faro-fog-100); line-height: 1.55; }
.checks li > .f-icon { width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; color: var(--faro-fog-300); }
.checks strong { color: var(--faro-fog-000); font-weight: var(--faro-w-semi); }
.note-line { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.875rem; line-height: 1.5; color: var(--faro-fog-300); }
.note-line .f-icon { width: 1.05rem; height: 1.05rem; flex: none; margin-top: 0.12rem; }

/* ---------- new in 0.2: the bento ----------------------------------- */
.bento { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
@media (min-width: 48rem) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile--wide { grid-column: 1 / -1; } }
@media (min-width: 72rem) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tile--wide { grid-column: span 2; } }
.tile {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-rows: auto 1fr;
  border-radius: var(--r-tile); background: linear-gradient(180deg, rgba(22, 28, 37, 0.75), rgba(17, 22, 29, 0.95) 40%), var(--faro-night-200);
  border: 1px solid var(--faro-line); min-height: 25rem;
}
.tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)); }
.tile__text { display: grid; gap: 0.6rem; padding: clamp(1.4rem, 1.1rem + 1vw, 2rem) clamp(1.4rem, 1.1rem + 1vw, 2rem) 1.25rem; align-content: start; }
.tile__text p { color: var(--faro-fog-200); font-size: 0.9688rem; line-height: 1.6; max-width: 34rem; }
.tile__tag { width: fit-content; font: 700 0.6875rem/1 var(--faro-font-mono); letter-spacing: 0.06em; color: var(--faro-fog-200); padding: 0.3rem 0.45rem; border-radius: 4px; background: var(--faro-night-400); box-shadow: inset 0 0 0 1px var(--faro-line-strong); }
.tile__shot { position: relative; align-self: end; margin-left: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.tile__shot .frame { border-radius: 0.7rem 0 0 0; box-shadow: 0 0 0 1px var(--edge), 0 -1.5rem 3rem -1.5rem rgba(0, 0, 0, 0.9); }
.tile__title { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem); line-height: 1.15; font-stretch: var(--faro-semi); letter-spacing: -0.01em; text-wrap: balance; }
.tile__shot--bleed .frame { width: 155%; max-width: none; }
.tile__shot--center { margin-inline: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.tile__shot--center .frame { border-radius: 0.7rem 0.7rem 0 0; }
.tile--wide .tile__shot { margin-left: clamp(1.4rem, 1.1rem + 2vw, 3rem); }
@media (min-width: 72rem) {
  .tile--wide { grid-template-columns: minmax(0, 4.6fr) minmax(0, 7fr); grid-template-rows: 1fr; }
  .tile--wide .tile__text { align-content: center; padding-right: 0.5rem; }
  .tile--wide .tile__shot { margin-left: 0; margin-top: 2.25rem; align-self: stretch; }
  .tile--wide .tile__shot .frame { width: 128%; max-width: none; }
}

/* ---------- review / insights ----------------------------------------- */
.insights { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: start; }
@media (min-width: 64rem) { .insights { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.insights__text { display: grid; gap: 1.5rem; align-content: start; }
.insights__cards { display: grid; gap: 0.875rem; }
.insights .f-insight { background: var(--faro-night-200); padding: 1.2rem 1.2rem 1.05rem; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.9rem; border-radius: 0.9rem; }
.insights .f-insight__n { width: 2.25rem; height: 2.25rem; font-size: 1.05rem; border-radius: 0.6rem; }
.insights .f-insight__title { font-size: 1.05rem; line-height: 1.4; }
.insights .f-insight__body { font-size: 0.9375rem; line-height: 1.55; }
.insights .f-insight__do { font-size: 0.9rem; }
.insights .f-insight__evidence .f-chip { height: 1.75rem; font-size: 0.8125rem; }
.focus-card { display: grid; gap: 0.6rem; padding: 1.2rem 1.3rem 1.25rem; border-radius: 0.9rem; background: linear-gradient(180deg, rgba(255, 181, 71, 0.07), rgba(255, 181, 71, 0) 70%), var(--faro-night-200); }
.focus-card__label { display: flex; align-items: center; gap: 0.5rem; font: var(--faro-w-semi) 0.7rem/1.3 var(--faro-font-text); letter-spacing: var(--faro-track-label); text-transform: uppercase; color: var(--faro-lamp-300); }
.focus-card__label .f-icon { width: 1rem; height: 1rem; }
.focus-card__title { font: var(--faro-w-bold) 1.3rem/1.3 var(--faro-font-display); font-stretch: var(--faro-semi); color: var(--faro-fog-000); }
.focus-card__note { font-size: 0.875rem; color: var(--faro-fog-300); }
/* a tiny static column chart: CS per minute by five-minute stretch (HTML + CSS, no script) */
.mini-chart { padding: 1.3rem 1.3rem 1rem; border-radius: 0.9rem; background: var(--faro-night-200); border: 1px solid var(--faro-line); }
.mini-chart__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.mini-chart__plot { position: relative; height: 10rem; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.6rem; align-items: end; border-bottom: 1px solid var(--faro-line-strong); padding-inline: 0.25rem; }
.mini-chart__bar { position: relative; height: calc(var(--v) / 12 * 100%); max-width: 1.75rem; width: 100%; margin-inline: auto; border-radius: 4px 4px 0 0; background: var(--faro-viz-you); }
.mini-chart__bar span { position: absolute; z-index: 1; left: 50%; bottom: 100%; transform: translate(-50%, -0.2rem); padding: 0.1rem 0.2rem; border-radius: 3px; background: var(--faro-night-200); font: 700 0.75rem/1 var(--faro-font-num); font-stretch: var(--faro-semi); color: var(--faro-fog-000); font-variant-numeric: tabular-nums; }
.mini-chart__target { position: absolute; left: 0; right: 0; bottom: calc(7 / 12 * 100%); border-top: 1.5px dashed var(--faro-viz-target); }
.mini-chart__target span { position: absolute; right: 0; top: -1.35rem; font-size: 0.75rem; color: var(--faro-fog-200); background: var(--faro-night-200); padding-left: 0.35rem; }
.mini-chart__axis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.6rem; padding: 0.5rem 0.25rem 0; font: 500 0.6875rem/1.2 var(--faro-font-text); color: var(--faro-fog-300); text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- trust: what Flaro reads, writes, and never does ---------------- */
.trust-grid { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
@media (min-width: 64rem) { .trust-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.trust-stack { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.panel { position: relative; padding: clamp(1.4rem, 1.1rem + 1.2vw, 2.25rem); border-radius: var(--r-tile); background: var(--faro-night-200); border: 1px solid var(--faro-line); display: grid; gap: 1.25rem; align-content: start; }
.panel__title { display: flex; align-items: center; gap: 0.6rem; }
.panel__title .f-icon { width: 1.25rem; height: 1.25rem; color: var(--faro-fog-300); }
.panel__sub { font: var(--faro-w-semi) 0.72rem/1.3 var(--faro-font-text); letter-spacing: var(--faro-track-label); text-transform: uppercase; color: var(--faro-fog-300); }

/* the data-flow picture: everything happens on your PC */
.flow { display: grid; gap: 1rem; }
.flow__pc { position: relative; padding: 2.25rem 1rem 1rem; border-radius: 1rem; border: 1px dashed var(--faro-line-strong); background: radial-gradient(ellipse at 50% 0, rgba(255, 181, 71, 0.05), rgba(255, 181, 71, 0) 60%), var(--faro-night-100); }
.flow__label { position: absolute; top: 0.75rem; left: 1rem; display: flex; align-items: center; gap: 0.45rem; font: 650 0.6875rem/1 var(--faro-font-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faro-fog-300); }
.flow__label .f-icon { width: 0.95rem; height: 0.95rem; }
.flow__label .mono { font-size: 0.6875rem; letter-spacing: 0.02em; color: var(--faro-fog-200); text-transform: none; }
.flow__row { display: grid; gap: 0.5rem; align-items: center; }
.node { display: grid; gap: 0.2rem; justify-items: center; text-align: center; padding: 0.9rem 0.75rem; border-radius: 0.8rem; background: var(--faro-night-200); border: 1px solid var(--faro-line); }
.node__ic { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 0.6rem; background: var(--faro-night-400); color: var(--faro-fog-100); margin-bottom: 0.35rem; }
.node__ic .f-icon, .node__ic svg { width: 1.2rem; height: 1.2rem; }
.node b { font: var(--faro-w-bold) 0.9375rem/1.3 var(--faro-font-display); color: var(--faro-fog-000); }
.node span { font-size: 0.78rem; line-height: 1.4; color: var(--faro-fog-300); }
.node--faro { border-color: var(--faro-lamp-line); box-shadow: 0 0 2.5rem -1rem rgba(255, 181, 71, 0.35); }
.node--faro .node__ic { background: var(--faro-night-000); color: var(--faro-fog-000); }
.wire { position: relative; display: grid; gap: 0.3rem; justify-items: center; padding: 0.5rem 0; font-size: 0.75rem; line-height: 1.35; color: var(--faro-fog-200); text-align: center; }
.wire__line { position: relative; width: 1px; height: 1.6rem; background: var(--faro-fog-400); }
.wire__line::before, .wire__line::after { content: ""; position: absolute; left: 50%; width: 0; height: 0; border: 4px solid transparent; transform: translateX(-50%); }
.wire--in .wire__line::after, .wire--both .wire__line::after { top: -4px; border-bottom-color: var(--faro-fog-300); border-top-width: 0; }
.wire--both .wire__line::before { bottom: -4px; border-top-color: var(--faro-lamp-400); border-bottom-width: 0; }
.wire__w { color: var(--faro-lamp-300); }
.flow__out { display: grid; gap: 0.6rem; }
.node--out { justify-items: start; text-align: left; grid-template-columns: 2.2rem minmax(0, 1fr); column-gap: 0.75rem; align-items: center; padding: 0.75rem 0.9rem; background: transparent; }
.node--out .node__ic { grid-row: span 2; margin: 0; background: var(--faro-night-300); }
.node--none { border-style: dashed; }
.node--none b { color: var(--faro-fog-200); text-decoration: line-through; text-decoration-color: var(--faro-fog-400); }
@media (min-width: 44rem) {
  .flow__row { grid-template-columns: minmax(0, 1fr) minmax(6rem, 0.9fr) minmax(0, 1fr) minmax(6rem, 0.9fr) minmax(0, 1fr); }
  .wire { padding: 0 0.25rem; }
  .wire__line { width: 100%; height: 1px; }
  .wire__line::before, .wire__line::after { top: 50%; left: auto; transform: translateY(-50%); border-width: 4px; }
  .wire--in .wire__line::after { left: -4px; right: auto; border-color: transparent; border-right-color: var(--faro-fog-300); border-left-width: 0; }
  .wire--both .wire__line::after { right: -4px; left: auto; border-color: transparent; border-left-color: var(--faro-fog-300); border-right-width: 0; top: 50%; }
  .wire--both .wire__line::before { left: -4px; bottom: auto; border-color: transparent; border-right-color: var(--faro-lamp-400); border-left-width: 0; }
  .flow__out { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 43.99rem) {
  .wire { grid-template-columns: 1fr; }
  .wire--both .wire__line { height: 2.2rem; }
}

.nevers { list-style: none; display: grid; gap: 0.6rem; }
@media (min-width: 40rem) { .nevers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .nevers--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nevers li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: 0.7rem; align-items: start; padding: 0.85rem 0.95rem; border-radius: 0.75rem; background: var(--faro-night-100); border: 1px solid var(--faro-line-soft); color: var(--faro-fog-100); font-size: 0.9375rem; line-height: 1.5; }
.nevers li > .x { width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 107, 94, 0.08); color: var(--faro-bad); box-shadow: inset 0 0 0 1px rgba(255, 107, 94, 0.22); }
.nevers li > .x .f-icon { width: 0.9rem; height: 0.9rem; stroke-width: 2.25; }
.nevers strong { color: var(--faro-fog-000); font-weight: var(--faro-w-semi); }
.ticks { list-style: none; display: grid; gap: 0.85rem; }
.ticks li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.75rem; line-height: 1.55; color: var(--faro-fog-100); }
.ticks li > .f-icon { width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; color: var(--faro-fog-300); }
.ticks strong { color: var(--faro-fog-000); font-weight: var(--faro-w-semi); }
.ticks--two { gap: 0.85rem 2rem; }
@media (min-width: 44rem) { .ticks--two { grid-template-columns: 1fr 1fr; } }
.status-note {
  display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.8rem; align-items: start;
  padding: 1rem 1.15rem; border-radius: 0.9rem; background: var(--faro-night-100); border: 1px solid var(--faro-line);
  color: var(--faro-fog-200); font-size: 0.9375rem; line-height: 1.55;
}
.status-note .f-icon { width: 1.25rem; height: 1.25rem; color: var(--faro-warn); margin-top: 0.1rem; }
.status-note--info .f-icon { color: var(--faro-info); }
.status-note strong { color: var(--faro-fog-000); font-weight: var(--faro-w-semi); }
.trust-foot { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 64rem) { .trust-foot { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; } }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-radius: 0.9rem; overflow: hidden; background: var(--faro-line); border: 1px solid var(--faro-line); }
.stat { background: var(--faro-night-200); padding: 1rem 1.1rem; display: grid; gap: 0.3rem; align-content: start; }
.stat__v { font: var(--faro-w-bold) clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.05 var(--faro-font-num); font-stretch: var(--faro-semi); color: var(--faro-fog-000); font-variant-numeric: proportional-nums; }
.stat__v small { font-size: 0.55em; font-weight: var(--faro-w-semi); color: var(--faro-fog-300); margin-left: 0.15em; }
.stat__l { font-size: 0.8125rem; line-height: 1.4; color: var(--faro-fog-300); }

/* ---------- pricing teaser ------------------------------------------- */
.teaser { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 1.5rem 3rem; align-items: center; padding: clamp(1.75rem, 1.2rem + 2.8vw, 3.5rem); border-radius: 1.5rem; background: var(--faro-night-200); border: 1px solid var(--faro-line); }
.teaser::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -60%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(255, 181, 71, 0.09), rgba(255, 181, 71, 0)); }
@media (min-width: 56rem) { .teaser { grid-template-columns: minmax(0, 1fr) auto; } }
.teaser__text { display: grid; gap: 0.9rem; }

/* ---------- FAQ ------------------------------------------------------ */
.faq__list { display: grid; border-top: 1px solid var(--faro-line); }
.faq__item { border-bottom: 1px solid var(--faro-line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 1.75rem; gap: 1rem; align-items: center;
  padding: 1.25rem 0.25rem; font: var(--faro-w-bold) 1.0938rem/1.4 var(--faro-font-display); font-stretch: var(--faro-normal); color: var(--faro-fog-000);
  border-radius: var(--faro-r-s); transition: color var(--faro-dur-instant) linear;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .f-icon { width: 1.75rem; height: 1.75rem; padding: 0.3rem; border-radius: 50%; background: var(--faro-night-300); color: var(--faro-fog-200); transition: transform var(--faro-dur-fast) var(--faro-ease-out), background-color var(--faro-dur-instant) linear; }
.faq__item[open] summary .f-icon { transform: rotate(180deg); background: var(--faro-night-400); color: var(--faro-fog-000); }
.faq__item summary:hover .f-icon { background: var(--faro-night-400); color: var(--faro-fog-000); }
.faq__a { padding: 0 3rem 1.5rem 0.25rem; color: var(--faro-fog-200); display: grid; gap: 0.75rem; max-width: 52rem; }
.faq__a strong { color: var(--faro-fog-000); font-weight: var(--faro-w-semi); }
.faq__a code, .prose code, .rr code { font-family: var(--faro-font-mono); font-size: 0.85em; padding: 0.1em 0.35em; border-radius: 4px; background: var(--faro-night-400); color: var(--faro-fog-100); overflow-wrap: anywhere; }
.faq-home { display: grid; gap: 2rem 4rem; }
@media (min-width: 64rem) { .faq-home { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } .faq-home > .section-head { position: sticky; top: calc(var(--top-h) + 2rem); } }
@media (max-width: 39.99rem) { .faq__a { padding-right: 0.25rem; } }

/* ---------- final call to action --------------------------------------- */
.cta-end { position: relative; overflow: clip; isolation: isolate; padding-block: clamp(5.5rem, 4rem + 6vw, 11rem); text-align: center; }
.cta-end__art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.cta-end__in { display: grid; justify-items: center; gap: 1.35rem; }
.cta-end__mark { width: 3.75rem; height: 3.75rem; color: var(--faro-fog-000); overflow: visible; }
.cta-end .lead { margin-inline: auto; }
.cta-end .btn-row { justify-content: center; margin-top: 0.85rem; }

/* ---------- footer -------------------------------------------------- */
.foot { margin-top: auto; background: var(--faro-night-000); border-top: 1px solid var(--faro-line-soft); padding: clamp(3.5rem, 2.5rem + 3vw, 5rem) 0 2.75rem; font-size: 0.9375rem; }
.foot__grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 56rem) { .foot__grid { grid-template-columns: minmax(0, 2.3fr) repeat(3, minmax(0, 1fr)); } }
.foot__brand { grid-column: 1 / -1; display: grid; gap: 0.9rem; align-content: start; max-width: 27rem; }
@media (min-width: 56rem) { .foot__brand { grid-column: auto; } }
.foot__brand a { width: fit-content; color: var(--faro-fog-000); border-radius: var(--faro-r-s); }
.foot__logo { width: 8.07rem; height: auto; display: block; overflow: visible; }
.foot__tag { font: var(--faro-w-bold) 1rem/1.4 var(--faro-font-display); font-stretch: var(--faro-semi); color: var(--faro-fog-100); }
.foot__status { font-size: 0.8125rem; color: var(--faro-fog-300); line-height: 1.6; }
.foot__status .f-badge { margin-right: 0.35rem; vertical-align: 0.1em; }
.foot__col { display: grid; gap: 0.6rem; align-content: start; }
.foot__h { font: var(--faro-w-semi) 0.72rem/1.3 var(--faro-font-text); letter-spacing: var(--faro-track-label); text-transform: uppercase; color: var(--faro-fog-300); margin-bottom: 0.35rem; }
.foot__col a { width: fit-content; color: var(--faro-fog-200); border-radius: 4px; transition: color var(--faro-dur-instant) linear; }
.foot__col a:hover { color: var(--faro-fog-000); }
.foot__legal { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--faro-line-soft); display: grid; gap: 0.75rem; }
.foot__riot { font-size: 0.8125rem; line-height: 1.6; color: var(--faro-fog-200); max-width: 64rem; }
.foot__small { font-size: 0.75rem; line-height: 1.6; color: var(--faro-fog-300); max-width: 64rem; }

/* ---------- inner pages ------------------------------------------------ */
.page-head { position: relative; isolation: isolate; padding: clamp(3.25rem, 2rem + 4.5vw, 7rem) 0 clamp(2.25rem, 1.5rem + 2.5vw, 4rem); }
.page-head::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 30rem; pointer-events: none; background: radial-gradient(44rem 22rem at 12% -10%, rgba(255, 181, 71, 0.07), rgba(255, 181, 71, 0) 70%), radial-gradient(50rem 26rem at 90% -20%, rgba(61, 143, 230, 0.05), rgba(61, 143, 230, 0) 70%); }
.page-head__in { display: grid; gap: 1.15rem; justify-items: start; }
.page-head .h-display { max-width: 16em; }
.page-head--line { border-bottom: 1px solid var(--faro-line-soft); }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.875rem; color: var(--faro-fog-300); }
.meta-row b { color: var(--faro-fog-100); font-weight: var(--faro-w-semi); }

.feature-block { display: grid; gap: clamp(1.75rem, 1.25rem + 2vw, 3rem); padding-block: clamp(4rem, 3rem + 4vw, 7.5rem); border-top: 1px solid var(--faro-line-soft); scroll-margin-top: 7rem; }
.feature-block:first-of-type { border-top: 0; }
.feature-grid { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { padding: 1.3rem 1.3rem 1.35rem; border-radius: 1rem; background: var(--faro-night-200); border: 1px solid var(--faro-line); display: grid; gap: 0.6rem; align-content: start; }
.feature__ic { width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 0.65rem; background: var(--faro-night-100); border: 1px solid var(--faro-line); color: var(--faro-fog-100); margin-bottom: 0.25rem; }
.feature__ic .f-icon { width: 1.2rem; height: 1.2rem; }
.feature p { color: var(--faro-fog-200); font-size: 0.9375rem; line-height: 1.58; }
.feature strong { color: var(--faro-fog-000); font-weight: var(--faro-w-semi); }
.feature--new { border-color: rgba(255, 181, 71, 0.28); }
.feature--new .h-card::after { content: "New"; margin-left: 0.5rem; padding: 0.1rem 0.4rem; border-radius: 4px; vertical-align: 0.15em; font: 650 0.625rem/1.4 var(--faro-font-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faro-lamp-300); background: var(--faro-lamp-wash); }
.feature--not { background: transparent; border-style: dashed; }
.feature--not .feature__ic { color: var(--faro-fog-300); }
.split { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
@media (min-width: 64rem) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .split--center { align-items: center; } }
.duo { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.smalls { display: flex; gap: clamp(1rem, 3vw, 2rem); justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.smalls .shot-fig { width: clamp(9.5rem, 40vw, 13.5rem); }
@media (min-width: 64rem) { .smalls { flex-wrap: nowrap; justify-content: flex-start; } .smalls .shot-fig { width: calc(50% - 1rem); max-width: 14rem; } }

.table-wrap { overflow-x: auto; border-radius: 0.9rem; border: 1px solid var(--faro-line); background: var(--faro-night-200); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.data-table th, .data-table td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--faro-line-soft); vertical-align: top; }
.data-table tr:last-child td, .data-table tr:last-child th { border-bottom: 0; }
.data-table thead th { font: var(--faro-w-semi) 0.7rem/1.3 var(--faro-font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faro-fog-300); border-bottom-color: var(--faro-line); white-space: nowrap; }
.data-table td { color: var(--faro-fog-100); }
.data-table td.is-num { text-align: right; font-family: var(--faro-font-num); font-stretch: var(--faro-semi); font-weight: var(--faro-w-semi); color: var(--faro-fog-000); font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table th.is-num { text-align: right; }
.data-table tbody th { font: var(--faro-w-semi) 0.9375rem/1.5 var(--faro-font-text); color: var(--faro-fog-000); }
.data-table code { font-family: var(--faro-font-mono); font-size: 0.8125rem; color: var(--faro-fog-100); overflow-wrap: anywhere; }
.data-table--code td:first-child { white-space: normal; }
@media (max-width: 30rem) {
  .data-table { font-size: 0.875rem; }
  .data-table th, .data-table td { padding: 0.65rem 0.6rem; }
  .data-table thead th { white-space: normal; }
  .data-table td.is-num { font-size: 0.8125rem; }
}

/* download */
.dl { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: center; }
@media (min-width: 60rem) { .dl { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.dl__main { display: grid; gap: 1.35rem; justify-items: start; }
.dl__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dl__meta .f-chip { height: 1.95rem; font-size: 0.8125rem; }
.dl__meta .f-chip .f-icon { width: 0.95rem; height: 0.95rem; color: var(--faro-fog-300); }
.file-card { position: relative; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: 1.4rem; background: var(--faro-night-200); border: 1px solid var(--faro-line); display: grid; gap: 1.25rem; overflow: hidden; isolation: isolate; }
.file-card::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 80%; height: 90%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 181, 71, 0.13), rgba(255, 181, 71, 0)); }
.file-card__top { display: flex; align-items: center; gap: 1rem; }
.file-card__icon { width: 4.5rem; height: 4.5rem; flex: none; }
.file-card__name { font: var(--faro-w-semi) 1rem/1.3 var(--faro-font-mono); color: var(--faro-fog-000); word-break: break-all; }
.file-card dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.55rem 1.25rem; font-size: 0.9rem; }
.file-card dt { color: var(--faro-fog-300); }
.file-card dd { color: var(--faro-fog-000); font-variant-numeric: tabular-nums; }
.hash { display: grid; gap: 0.6rem; }
.hash__row { display: flex; align-items: stretch; gap: 0.5rem; flex-wrap: wrap; }
.hash code { flex: 1 1 22rem; min-width: 0; display: block; padding: 0.7rem 0.85rem; border-radius: var(--faro-r-m); background: var(--faro-night-100); border: 1px solid var(--faro-line-strong); font: 600 0.8125rem/1.5 var(--faro-font-mono); color: var(--faro-fog-100); word-break: break-all; letter-spacing: 0.02em; }
.platform-note { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.75rem; padding: 0.9rem 1rem; border-radius: 0.9rem; border: 1px solid var(--faro-line-strong); background: var(--faro-night-300); color: var(--faro-fog-100); font-size: 0.9375rem; max-width: 38rem; }
.platform-note .f-icon { width: 1.25rem; height: 1.25rem; color: var(--faro-info); margin-top: 0.1rem; }
.beta-card { display: grid; gap: 1rem; max-width: 38rem; padding: 1.25rem 1.35rem; border-radius: 1rem; border: 1px solid var(--faro-lamp-line); background: linear-gradient(180deg, rgba(255, 181, 71, 0.06), rgba(255, 181, 71, 0) 70%), var(--faro-night-200); }
.beta-card p { color: var(--faro-fog-100); }
.beta-card strong { color: var(--faro-fog-000); }
.steps { list-style: none; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 76rem) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { counter-increment: step; padding: 1.3rem; border-radius: 1rem; background: var(--faro-night-200); border: 1px solid var(--faro-line); display: grid; gap: 0.6rem; align-content: start; }
.step::before { content: counter(step, decimal-leading-zero); font: 700 0.75rem/1 var(--faro-font-mono); color: var(--faro-fog-300); letter-spacing: 0.08em; }
.step p { font-size: 0.9375rem; color: var(--faro-fog-200); line-height: 1.55; }

/* pricing */
.plans { display: grid; gap: 1.25rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
@media (min-width: 56rem) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { position: relative; padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); border-radius: 1.4rem; background: var(--faro-night-200); border: 1px solid var(--faro-line); display: grid; gap: 1.25rem; align-content: start; }
.plan--lit { border-color: var(--faro-lamp-line); box-shadow: inset 0 1px 0 rgba(255, 181, 71, 0.18), 0 0 5rem -2.5rem rgba(255, 181, 71, 0.3); }
.plan--later { background: transparent; border-style: dashed; }
.plan__name { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.plan__price { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.plan__price .num { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); line-height: 1; font-variant-numeric: proportional-nums; }
.plan__price .muted { font-size: 0.9375rem; }
.plan--later .plan__price .num { color: var(--faro-fog-300); }
.plan .ticks li { font-size: 0.9375rem; }
.plan .f-btn { width: 100%; }

/* changelog */
.release { display: grid; gap: 1.5rem 3rem; padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem); border-top: 1px solid var(--faro-line-soft); scroll-margin-top: 6rem; }
@media (min-width: 60rem) { .release { grid-template-columns: 14rem minmax(0, 1fr); } .release__meta { position: sticky; top: calc(var(--top-h) + 1.5rem); align-self: start; } }
.release__meta { display: grid; gap: 0.5rem; align-content: start; }
.release__v { font: var(--faro-w-bold) 1.875rem/1.1 var(--faro-font-num); font-stretch: var(--faro-semi); color: var(--faro-fog-000); }
.release__body { display: grid; gap: 1.5rem; max-width: 46rem; }
.release__body h2, .release__body h3 { font: var(--faro-w-semi) 0.72rem/1.3 var(--faro-font-text); letter-spacing: var(--faro-track-label); text-transform: uppercase; color: var(--faro-fog-300); margin-bottom: 0.35rem; }
.release__body ul { list-style: none; display: grid; gap: 0.6rem; }
.release__body li { position: relative; padding-left: 1.5rem; color: var(--faro-fog-100); line-height: 1.6; }
.release__body li::before { content: ""; position: absolute; left: 0.25rem; top: 0.62em; width: 0.4rem; height: 0.4rem; border-radius: 1px; transform: rotate(45deg); background: var(--faro-fog-300); }

/* long text: legal pages, the reviewer's page */
.prose { max-width: 46rem; display: grid; gap: 1.05rem; color: var(--faro-fog-100); line-height: 1.7; }
.prose h2 { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--faro-line-soft); font: var(--faro-w-bold) 1.4375rem/1.25 var(--faro-font-display); font-stretch: var(--faro-semi); color: var(--faro-fog-000); scroll-margin-top: 6rem; }
.prose h2:first-of-type { margin-top: 0.5rem; }
.prose h3 { margin-top: 0.85rem; font: var(--faro-w-bold) 1.0938rem/1.35 var(--faro-font-display); color: var(--faro-fog-000); scroll-margin-top: 6rem; }
.prose ul, .prose ol { display: grid; gap: 0.55rem; padding-left: 1.25rem; }
.prose li::marker { color: var(--faro-fog-300); }
.prose a { color: var(--faro-fog-000); text-decoration: underline; text-decoration-color: var(--faro-line-strong); text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.prose a:hover { text-decoration-color: var(--faro-fog-200); }
.prose strong { color: var(--faro-fog-000); font-weight: var(--faro-w-semi); }
.prose .table-wrap { margin-block: 0.35rem; }
.prose .data-table { font-size: 0.875rem; line-height: 1.5; }
.prose .data-table td, .prose .data-table th { padding: 0.7rem 0.85rem; }
.prose blockquote { padding: 0.9rem 1.1rem; border-left: 2px solid var(--faro-line-strong); background: var(--faro-night-100); border-radius: 0 0.6rem 0.6rem 0; color: var(--faro-fog-200); }
.summary-box { display: grid; gap: 0.75rem; padding: 1.25rem 1.35rem; border-radius: 1rem; background: var(--faro-night-200); border: 1px solid var(--faro-line); }
.summary-box ul { display: grid; gap: 0.5rem; }
.ph { font-family: var(--faro-font-mono); font-size: 0.85em; color: var(--faro-lamp-200); background: rgba(255, 181, 71, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.35); border-radius: 3px; padding: 0.05em 0.3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.toc { display: grid; gap: 0.3rem; font-size: 0.9063rem; }
.toc a { color: var(--faro-fog-200); width: fit-content; border-radius: 4px; line-height: 1.45; padding-block: 0.1rem; }
.toc a:hover { color: var(--faro-fog-000); }
.toc__h { margin-bottom: 0.4rem; }
.with-toc { display: grid; gap: 2.5rem 4.5rem; align-items: start; padding-bottom: var(--section); }
@media (min-width: 64rem) { .with-toc { grid-template-columns: 15.5rem minmax(0, 1fr); } .with-toc > .toc-wrap { position: sticky; top: calc(var(--top-h) + 2rem); max-height: calc(100vh - var(--top-h) - 3rem); overflow-y: auto; scrollbar-width: thin; } }
@media (max-width: 63.99rem) { .toc-wrap { padding: 1.1rem 1.2rem; border-radius: 1rem; background: var(--faro-night-200); border: 1px solid var(--faro-line); } .toc { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); column-gap: 1.25rem; } .toc__h { grid-column: 1 / -1; } }

/* FAQ page groups */
.faq-group { display: grid; gap: 1rem; scroll-margin-top: 6rem; }
.faq-group + .faq-group { margin-top: clamp(2.75rem, 2rem + 2vw, 4rem); }
.faq-group__h { font: var(--faro-w-semi) 0.75rem/1.3 var(--faro-font-text); letter-spacing: var(--faro-track-label); text-transform: uppercase; color: var(--faro-fog-300); }

/* contact */
.contact-grid { display: grid; gap: 1rem; padding-bottom: var(--section); }
@media (min-width: 48rem) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-card { display: grid; gap: 0.7rem; align-content: start; padding: 1.4rem; border-radius: 1rem; background: var(--faro-night-200); border: 1px solid var(--faro-line); }
.contact-card p { color: var(--faro-fog-200); font-size: 0.9375rem; line-height: 1.6; }
.contact-card--main { border-color: var(--faro-lamp-line); background: linear-gradient(180deg, rgba(255, 181, 71, 0.06), rgba(255, 181, 71, 0) 70%), var(--faro-night-200); }
@media (min-width: 72rem) { .contact-card--main { grid-row: span 2; } }
.mail-big { font: var(--faro-w-bold) clamp(1.25rem, 1rem + 1vw, 1.75rem)/1.2 var(--faro-font-display); font-stretch: var(--faro-semi); color: var(--faro-fog-000); overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--faro-lamp-line); text-underline-offset: 0.2em; }
.mail-big:hover { text-decoration-color: var(--faro-lamp-300); }

/* ---------- the reviewer's page (/riot-review/) -------------------------------- */
.rr-wrap { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) var(--section); }
.rr-toc { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.rr-toc a { display: inline-flex; align-items: center; gap: 0.5rem; height: 2.25rem; padding: 0 0.85rem 0 0.6rem; border-radius: 999px; border: 1px solid var(--faro-line); background: var(--faro-night-200); color: var(--faro-fog-200); font-size: 0.875rem; font-weight: var(--faro-w-medium); transition: color var(--faro-dur-instant) linear, border-color var(--faro-dur-instant) linear; }
.rr-toc a:hover { color: var(--faro-fog-000); border-color: var(--faro-line-strong); }
.rr-toc a span { font: 700 0.6875rem/1 var(--faro-font-mono); color: var(--faro-fog-300); }
.page-rr .h-section { font-size: clamp(1.875rem, 1.25rem + 1.9vw, 3rem); }
.rr-step .h-sub { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); }
.rr-facts { display: grid; gap: 1px; border-radius: 1rem; overflow: hidden; background: var(--faro-line); border: 1px solid var(--faro-line); margin-top: 0.5rem; }
@media (min-width: 40rem) { .rr-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .rr-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rr-facts div { background: var(--faro-night-200); padding: 0.95rem 1.1rem; display: grid; gap: 0.25rem; align-content: start; }
.rr-facts dt { font: var(--faro-w-semi) 0.6875rem/1.3 var(--faro-font-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faro-fog-300); }
.rr-facts dd { color: var(--faro-fog-000); font-size: 0.9375rem; line-height: 1.5; }
.rr-facts dd span { color: var(--faro-fog-200); }
.rr { display: grid; gap: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.rr-section { display: grid; gap: 1.5rem; scroll-margin-top: 6rem; }
.rr-section > .section-head { max-width: 46rem; }
.rr-steps { list-style: none; display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.25rem); counter-reset: rr; }
.rr-step { counter-increment: rr; display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 64rem) { .rr-step { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem; } }
.rr-step__text { display: grid; gap: 0.6rem; align-content: start; }
.rr-step__text::before { content: "Step " counter(rr); font: 700 0.7rem/1 var(--faro-font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faro-lamp-300); }
.rr-step__text p, .rr-step__text li { color: var(--faro-fog-200); font-size: 0.9375rem; line-height: 1.6; }
.rr-step__text ul { list-style: none; display: grid; gap: 0.4rem; }
.rr-step__text li { position: relative; padding-left: 1.1rem; }
.rr-step__text li::before { content: ""; position: absolute; left: 0.1rem; top: 0.62em; width: 0.35rem; height: 0.35rem; border-radius: 1px; transform: rotate(45deg); background: var(--faro-fog-300); }
.rr-step__text strong { color: var(--faro-fog-000); font-weight: var(--faro-w-semi); }
.rr-step__shots { display: grid; gap: 0.75rem; }
.rr-step__shots--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 39.99rem) { .rr-step__shots--two { grid-template-columns: 1fr; } }
.rr-video { display: grid; gap: 0.9rem; }
.rr-video video { display: block; width: 100%; height: auto; background: var(--faro-night-000); }
.chapters { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chapter { display: inline-flex; align-items: center; gap: 0.5rem; height: 2.15rem; padding: 0 0.8rem 0 0.35rem; border-radius: 999px; border: 1px solid var(--faro-line); background: var(--faro-night-200); color: var(--faro-fog-100); font: var(--faro-w-medium) 0.8438rem/1 var(--faro-font-text); cursor: pointer; transition: border-color var(--faro-dur-instant) linear, color var(--faro-dur-instant) linear; }
.chapter:hover { border-color: var(--faro-line-strong); color: var(--faro-fog-000); }
.chapter__t { padding: 0.28rem 0.45rem; border-radius: 999px; background: var(--faro-night-400); font: 700 0.6875rem/1 var(--faro-font-mono); color: var(--faro-fog-200); }
.rr-ask { list-style: none; display: grid; gap: 0.75rem; counter-reset: ask; }
.rr-ask li { counter-increment: ask; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.85rem; padding: 1rem 1.1rem; border-radius: 0.9rem; background: var(--faro-night-200); border: 1px solid var(--faro-line); color: var(--faro-fog-100); line-height: 1.6; font-size: 0.9375rem; }
.rr-ask li::before { content: counter(ask); width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 0.55rem; background: var(--faro-night-400); font: 800 0.9rem/1 var(--faro-font-display); color: var(--faro-fog-000); }
.rr-ask strong { color: var(--faro-fog-000); font-weight: var(--faro-w-semi); }
.rr-ask p + p { margin-top: 0.4rem; color: var(--faro-fog-200); }
.rr-two { display: grid; gap: 1rem; }
@media (min-width: 56rem) { .rr-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chip-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip-list code { font-family: var(--faro-font-mono); font-size: 0.78rem; padding: 0.25rem 0.5rem; border-radius: 5px; background: var(--faro-night-400); color: var(--faro-fog-100); box-shadow: inset 0 0 0 1px var(--faro-line); overflow-wrap: anywhere; }
details.more { border-radius: 0.9rem; border: 1px solid var(--faro-line); background: var(--faro-night-200); }
details.more > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.95rem 1.1rem; font-weight: var(--faro-w-semi); color: var(--faro-fog-000); border-radius: 0.9rem; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary .f-icon { width: 1.1rem; height: 1.1rem; color: var(--faro-fog-300); transition: transform var(--faro-dur-fast) var(--faro-ease-out); }
details.more[open] > summary .f-icon { transform: rotate(180deg); }
details.more > .more__body { padding: 0 1.1rem 1.1rem; display: grid; gap: 0.9rem; }

/* the demo loop and the tour video */
.loop { position: relative; }
.loop video { display: block; width: 100%; height: auto; }
.loop__btn { position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 2; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--faro-line-strong); background: rgba(13, 17, 22, 0.88); color: var(--faro-fog-000); display: grid; place-items: center; cursor: pointer; }
.loop__btn svg { width: 0.9rem; height: 0.9rem; fill: currentColor; }
.loop__btn .i-play { display: none; }
.loop.is-paused .loop__btn .i-play { display: block; }
.loop.is-paused .loop__btn .i-pause { display: none; }

/* 404 */
.lost { position: relative; overflow: clip; min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 5rem 0; isolation: isolate; }
.lost__art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.lost__code { font: var(--faro-w-black) clamp(4.5rem, 3rem + 8vw, 9rem)/0.9 var(--faro-font-display); font-stretch: var(--faro-wide); color: var(--faro-fog-000); letter-spacing: 0.02em; }
.lost .lead { margin-inline: auto; }
.lost .btn-row { justify-content: center; }

/* ---------- accounts, support and admin (backend lane, 28 Sep 2026) -------------------------------------
   /account, /account/desktop, /support and /admin. Built by assets/js/accounts/*.js from the design kit's parts
   (f-card, f-btn, f-field, f-input, f-badge, f-note, f-toast). Same rules as the rest: dark, one lamp accent for
   the one action, hairlines, no motion beyond a fade. */
.acct { padding: 0 0 var(--section); }
.acct + .faq-home { padding-bottom: var(--section); }  /* /support/: room before the footer */
.acct-shell { width: min(100% - 2 * var(--gutter), 64rem); margin-inline: auto; display: grid; gap: 1.25rem; }
.acct-shell--narrow { width: min(100% - 2 * var(--gutter), 30rem); }
.acct-loading { color: var(--faro-fog-300); font-size: 0.9375rem; padding: 2rem 0; }
/* The kit sizes its controls in px, while this site's root size grows from 2200 px wide (112.5 %, then 131.25 %).
   The account pages, their toasts and dialogs restate the kit controls they use in rem (the same sizes at 16 px),
   so on big screens they grow with the text around them. */
:where(.acct, .acct-toasts, .acct-dialog) .f-btn { height: 2.5rem; padding: 0 1rem; gap: 0.5rem; font-size: 0.875rem; }
:where(.acct, .acct-toasts, .acct-dialog) .f-btn--s { height: 1.875rem; padding: 0 0.625rem; gap: 0.375rem; font-size: 0.78125rem; }
:where(.acct, .acct-toasts, .acct-dialog) .f-icon { width: 1.25rem; height: 1.25rem; }
:where(.acct, .acct-toasts, .acct-dialog) .f-icon--16 { width: 1rem; height: 1rem; }
:where(.acct, .acct-toasts, .acct-dialog) .f-field { gap: 0.5rem; }
:where(.acct, .acct-toasts, .acct-dialog) .f-field__label { font-size: 0.8125rem; }
:where(.acct, .acct-toasts, .acct-dialog) .f-field__help { font-size: 0.75rem; }
:where(.acct, .acct-toasts, .acct-dialog) .f-input { height: 2.875rem; padding: 0 0.875rem; font-size: 0.90625rem; }
:where(.acct, .acct-toasts, .acct-dialog) .f-badge { height: 1.25rem; padding: 0 0.4375rem; font-size: 0.65625rem; }
:where(.acct, .acct-toasts, .acct-dialog) .f-note { padding: 0.625rem 0.75rem; font-size: 0.78125rem; }
:where(.acct, .acct-toasts, .acct-dialog) .f-toast { font-size: 0.8125rem; }
.acct-card { display: grid; gap: 1rem; padding: clamp(1.1rem, 0.8rem + 1vw, 1.6rem); border-radius: var(--r-tile); min-width: 0; align-content: start; }
.acct-card > * { min-width: 0; }
.acct-card h2, .acct-card h3 { margin: 0; font-family: var(--faro-font-display); font-stretch: var(--faro-semi); font-weight: var(--faro-w-bold); color: var(--faro-fog-000); letter-spacing: 0.01em; }
.acct-card h2 { font-size: 1.25rem; line-height: 1.3; }
.acct-card h3 { font-size: 1rem; line-height: 1.35; }
.acct-card p { margin: 0; color: var(--faro-fog-200); font-size: 0.9375rem; line-height: 1.55; }
.acct-small { font-size: 0.8125rem !important; line-height: 1.5; color: var(--faro-fog-300) !important; }
.acct-card--lit { border-color: var(--faro-lamp-line); box-shadow: inset 0 1px 0 rgba(255, 181, 71, 0.18); }
.acct-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 56rem) { .acct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .acct-grid > .acct-wide { grid-column: 1 / -1; } }

/* sign-in */
.acct-providers { display: grid; gap: 0.625rem; }
.acct-provider { width: 100%; justify-content: flex-start; height: 3rem; padding: 0 1rem; gap: 0.75rem; font-size: 0.9375rem; }
.acct-provider svg { width: 1.25rem; height: 1.25rem; flex: none; }
.acct-provider .acct-provider__sub { margin-left: auto; font-size: 0.75rem; font-weight: var(--faro-w-medium); color: var(--faro-fog-300); }
@media (max-width: 26rem) { .acct-provider .acct-provider__sub { display: none; } }
.acct-provider { min-width: 0; overflow: hidden; }
.acct-or { display: flex; align-items: center; gap: 0.75rem; color: var(--faro-fog-300); font-size: 0.8125rem; }
.acct-or::before, .acct-or::after { content: ""; flex: 1; height: 1px; background: var(--faro-line-soft); }
.acct-form { display: grid; gap: 0.875rem; }
.acct-form > .f-btn { width: 100%; }
.acct-form .f-input { font-size: 1rem; }
.acct-code { font-family: var(--faro-font-mono); font-size: 1.5rem !important; letter-spacing: 0.35em; text-align: center; height: 3.25rem; }
.acct-row-actions { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }
.acct-linkbtn { appearance: none; background: none; border: 0; padding: 0; font: inherit; font-size: 0.875rem; color: var(--faro-fog-100); text-decoration: underline; text-decoration-color: var(--faro-line-strong); text-underline-offset: 0.22em; cursor: pointer; }
.acct-linkbtn:hover { text-decoration-color: var(--faro-fog-200); color: var(--faro-fog-000); }
.acct-linkbtn:disabled { color: var(--faro-fog-400); cursor: default; text-decoration: none; }
.acct-check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; line-height: 1.5; color: var(--faro-fog-100); cursor: pointer; }
.acct-check input { width: 1.1rem; height: 1.1rem; margin: 0.15rem 0 0; flex: none; accent-color: var(--faro-lamp-400); }
.acct-check a { color: var(--faro-fog-000); }
.acct-error { color: var(--faro-bad); font-size: 0.875rem; line-height: 1.5; margin: 0; }
.acct-error:empty { display: none; }
.acct-fine { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.8125rem; line-height: 1.5; color: var(--faro-fog-300); margin: 0; }
.acct-fine .f-icon { width: 1rem; height: 1rem; flex: none; margin-top: 0.1rem; color: var(--faro-fog-300); }

/* the person */
.acct-who { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.acct-who__text { display: grid; gap: 0.2rem; min-width: 0; flex: 1 1 12rem; }
.acct-who__name { font-family: var(--faro-font-display); font-stretch: var(--faro-semi); font-weight: var(--faro-w-bold); font-size: 1.375rem; line-height: 1.25; color: var(--faro-fog-000); overflow-wrap: anywhere; }
.acct-who__mail { color: var(--faro-fog-200); font-size: 0.9375rem; overflow-wrap: anywhere; }
.acct-avatar { width: 3.25rem; height: 3.25rem; border-radius: 50%; object-fit: cover; flex: none; background: var(--faro-night-400); box-shadow: 0 0 0 1px var(--faro-line-strong); display: grid; place-items: center; color: var(--faro-fog-100); font-weight: var(--faro-w-bold); overflow: hidden; }
.acct-avatar--l { width: 4.5rem; height: 4.5rem; font-size: 1.5rem; }
.acct-avatar--s { width: 2rem; height: 2rem; font-size: 0.875rem; }
.acct-avatar--fill { width: 100%; height: auto; aspect-ratio: 1; }
.acct-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(3.25rem, 1fr)); gap: 0.625rem; }
.acct-preset { appearance: none; border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer; line-height: 0; box-shadow: 0 0 0 1px var(--faro-line-strong); }
.acct-preset img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; display: block; }
.acct-preset[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--faro-night-050), 0 0 0 4px var(--faro-lamp-400); }
.acct-preset:focus-visible { outline: none; box-shadow: var(--faro-focus); }
.acct-list { list-style: none; margin: 0; padding: 0; display: grid; }
.acct-item { display: flex; align-items: center; gap: 0.875rem; padding: 0.8rem 0; border-top: 1px solid var(--faro-line-soft); flex-wrap: wrap; }
.acct-item:first-child { border-top: 0; padding-top: 0.2rem; }
.acct-item__icon { width: 2.25rem; height: 2.25rem; border-radius: 0.6rem; background: var(--faro-night-300); display: grid; place-items: center; flex: none; color: var(--faro-fog-100); }
.acct-item__icon svg { width: 1.15rem; height: 1.15rem; }
.acct-item__text { display: grid; gap: 0.1rem; min-width: 0; flex: 1 1 10rem; }
.acct-item__title { color: var(--faro-fog-000); font-weight: var(--faro-w-semi); font-size: 0.9375rem; overflow-wrap: anywhere; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.acct-item__sub { color: var(--faro-fog-300); font-size: 0.8125rem; overflow-wrap: anywhere; }
.acct-item__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-left: auto; }
.acct-plan { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.acct-danger { border-color: rgba(255, 107, 94, 0.28); }
.acct-inline { display: flex; gap: 0.625rem; align-items: stretch; flex-wrap: wrap; }
.acct-inline .f-input { flex: 1 1 12rem; width: auto; }

/* dialogs and toasts */
.acct-dialog { width: min(100% - 2rem, 28rem); padding: 0; border: 1px solid var(--faro-line-strong); border-radius: var(--r-tile); background: var(--faro-night-200); color: var(--faro-fog-100); box-shadow: var(--faro-shadow-modal); }
.acct-dialog::backdrop { background: rgba(6, 8, 11, 0.72); }
.acct-dialog > div { display: grid; gap: 1rem; padding: 1.5rem; }
.acct-dialog h2 { margin: 0; font-family: var(--faro-font-display); font-stretch: var(--faro-semi); font-weight: var(--faro-w-bold); font-size: 1.2rem; color: var(--faro-fog-000); }
.acct-dialog p { margin: 0; color: var(--faro-fog-200); font-size: 0.9375rem; line-height: 1.55; }
.acct-dialog .acct-row-actions { justify-content: flex-end; }
.acct-toasts { position: fixed; z-index: 60; left: 50%; bottom: 1.25rem; transform: translateX(-50%); display: grid; gap: 0.5rem; width: min(100% - 2rem, 26rem); pointer-events: none; }
.acct-toasts .f-toast { pointer-events: auto; }
.acct-toast--bad .f-toast__icon { background: var(--faro-bad-wash); color: var(--faro-bad); }

/* the desktop app's consent */
.acct-consent { text-align: center; justify-items: center; }
.acct-consent__logo { width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: var(--faro-night-300); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--faro-line-strong); color: var(--faro-fog-000); }
.acct-consent__logo svg { width: 2rem; height: 2rem; }
.acct-consent .acct-who { justify-content: center; text-align: left; background: var(--faro-night-100); border: 1px solid var(--faro-line-soft); border-radius: var(--faro-r-l); padding: 0.75rem 1rem; width: 100%; }
.acct-consent .acct-row-actions { justify-content: center; width: 100%; }
.acct-consent .acct-row-actions .f-btn { min-width: 8rem; }
.acct-radio { display: flex; gap: 0.75rem; align-items: center; padding: 0.6rem 0.75rem; border: 1px solid var(--faro-line-soft); border-radius: var(--faro-r-m); cursor: pointer; text-align: left; width: 100%; }
.acct-radio input { accent-color: var(--faro-lamp-400); }

/* support and admin */
.acct-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.acct-thread { display: grid; gap: 0.75rem; }
.acct-msg { display: grid; gap: 0.35rem; padding: 0.875rem 1rem; border-radius: var(--faro-r-l); background: var(--faro-night-100); border: 1px solid var(--faro-line-soft); }
.acct-msg--support { background: var(--faro-night-300); border-color: var(--faro-line); }
.acct-msg--internal { background: repeating-linear-gradient(135deg, rgba(255, 181, 71, 0.05) 0 10px, transparent 10px 20px), var(--faro-night-200); border-color: var(--faro-lamp-line); }
.acct-msg__meta { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; font-size: 0.75rem; color: var(--faro-fog-300); }
.acct-msg__body { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--faro-fog-100); font-size: 0.9375rem; line-height: 1.55; }
.acct-textarea { height: auto; min-height: 8rem; padding: 0.75rem 0.875rem; line-height: 1.5; resize: vertical; font-family: var(--faro-font-text); }
.acct-ticket { width: 100%; text-align: left; appearance: none; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; display: flex; gap: 0.875rem; align-items: center; flex-wrap: wrap; }
.acct-ticket:hover .acct-item__title { text-decoration: underline; text-decoration-color: var(--faro-line-strong); text-underline-offset: 0.2em; }
.acct-ticket:focus-visible { outline: none; box-shadow: var(--faro-focus); border-radius: var(--faro-r-s); }
.acct-status--open { background: var(--faro-lamp-wash); color: var(--faro-lamp-300); }
.acct-status--waiting { background: var(--faro-ally-wash); color: var(--faro-ally-text); }
.acct-status--closed { background: var(--faro-night-400); color: var(--faro-fog-300); }
@media (max-width: 34rem) {
  .acct-item__actions { margin-left: 0; width: 100%; }
  .acct-item__actions .f-btn { flex: 1 1 auto; }
  .acct-inline .f-btn { width: 100%; }
}
.top__acct { height: 2.4rem; padding: 0 0.7rem; gap: 0.5rem; font-size: 0.875rem; }  /* in rem, like .top__cta */
.top__acct .f-icon { width: 1.1rem; height: 1.1rem; }
@media (max-width: 30rem) { .top__acct-label { display: none; } }

/* ---------- motion: one quiet entrance, once ----------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(0.75rem); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.5s var(--faro-ease-out), transform 0.6s var(--faro-ease-out); }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } }

@media print {
  .top, .phase-nav, .skip, .top__menu, .hero__sky, .sea, .loop__btn, .toc-wrap { display: none !important; }
  [data-reveal], .stage__plane { opacity: 1 !important; transform: none !important; }
  body.f-app { background: #fff; color: #000; }
  .prose, .prose strong, .prose h2, .prose h3, .h-display, .lead { color: #000 !important; }
  .with-toc { display: block; }
}
