/* ==========================================================================================
   MailForge website · styles.css
   Studio theme: the website's own token block, values copied from the Forge design kit v0.1.0
   (D:\Signal\design-kit\tokens.css) and laid out exactly like the MacroForge / FanForge sites
   (D:\MacroForge\website\styles.css). The kit is never imported: this file is self-contained.
   House rules kept from the kit: no borders (a surface is one step up the background ladder,
   depth comes from shadows, rings are inset box-shadows), every tint written
   rgb(var(--x-rgb) / a), no grass-coloured hue (OK = cool teal dot), system fonts only, one solid
   accent button per surface, a state = dot shape + colour + text.
   No colour literal outside :root. Dark only, like every Forge site (the kit has no light theme).
   ========================================================================================== */
:root {
  color-scheme: dark;

  /* Accent: MailForge "braise" (ember), the kit's one knob, set for <html data-app="mailforge">.
     Chosen off the three sibling accents (LumaForge sky #38BDF8, FanForge cyan #22D3EE,
     MacroForge purple #C084FC: OKLab distance >= 0.25 from each) and in the hue family of the
     app's provisional accent (#C2410C in design/mockup), lifted for a dark page.
     Measured (WCAG 2.x, relative luminance):
       #FB7D4F on --bg2 #111624 ............ 7.00:1
       --accent-text (#FCA98B) on --bg2 ..... 9.61:1
       --on-accent #1F0A02 on #FB7D4F ....... 7.39:1, on --accent-h (#FC9C79) 9.22:1
       white on #FB7D4F ..................... 2.58:1 (fails: hence the dark ink, as in the kit)
     Ember sits between --danger (OKLab 0.12) and --warn (0.11). As FanForge does with cyan vs OK,
     the page keeps them apart by ROLE and SHAPE: the accent is only a tint, a ring, the one
     filled button or the logo; states are 7px dots next to text; warn / danger are not used. */
  --accent-rgb: 251 125 79;
  --accent: #FB7D4F;
  --on-accent: #1F0A02;
  --ink: 255 255 255;
  --accent-h: color-mix(in srgb, var(--accent) 76%, rgb(var(--ink)));
  --accent-text: color-mix(in srgb, var(--accent) 66%, rgb(var(--ink)));

  /* Background ladder, darkest -> lightest */
  --stage: #05070D;  --stage-rgb: 5 7 13;
  --bg: #090C15;     --bg-rgb: 9 12 21;
  --chrome: #0D111D; --chrome-rgb: 13 17 29;
  --bg2: #111624;    --bg2-rgb: 17 22 36;
  --bg3: #161C2D;    --bg3-rgb: 22 28 45;
  --bg4: #1D2438;
  --scroll: #283049; --scroll-h: #3A4466;

  /* Text */
  --text: #EDF2FA;
  --text2: #AAB4CC;
  --muted: #7A85A3;
  --muted2: #5B6584;

  /* States (no green) */
  --ok: #3FD0C9;     --ok-rgb: 63 208 201;
  --warn: #F5A524;   --warn-rgb: 245 165 36;
  --danger: #F43F5E; --danger-rgb: 244 63 94;
  --info: #818CF8;   --info-rgb: 129 140 248;
  --offline: #6E7A9C;
  --info-text: color-mix(in srgb, var(--info) 70%, rgb(var(--ink)));

  /* Entity identity marks (icons only). --dev-2 and --dev-5 are left out: too close to ember. */
  --dev-1: #A78BFA; --dev-3: #E879F9; --dev-4: #A5B4FC; --dev-7: #93C5FD;

  /* Elevation, glass, washes */
  --shadow: rgba(0, 0, 0, .55);
  --surface-shadow: 0 1px 3px rgba(0, 0, 0, .45);
  --elev-dock: 0 12px 40px var(--shadow);
  --elev-modal: 0 20px 60px var(--shadow);
  --glow-primary: 0 4px 12px rgb(var(--accent-rgb) / .30);
  --ring: inset 0 0 0 1px rgb(var(--ink) / .06);
  --glass: color-mix(in srgb, var(--chrome) 82%, transparent);
  --glass-blur: blur(14px) saturate(1.2);
  --edge-topbar: linear-gradient(90deg, rgb(var(--accent-rgb) / .55), rgb(var(--accent-rgb) / .12) 35%, transparent 70%);
  --wash-hero: radial-gradient(70% 60% at 70% 0%, rgb(var(--accent-rgb) / .10), transparent 70%);
  --focus-ring: 0 0 0 2px var(--accent);

  /* Type (system fonts only, nothing to load) */
  --font-ui: 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Segoe UI Variable Display', 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Cascadia Mono', 'Cascadia Code', Consolas, ui-monospace, monospace;

  /* Radii (kit) */
  --r-xs: 4px; --r-chip: 7px; --r-row: 8px; --r-ctl: 10px; --r-card: 12px; --r-dialog: 18px; --r-pill: 20px;

  /* Layout */
  --wrap: 1240px;
  --gutter: 24px;
  --h-title: 56px;
  --t-ctl: .12s; --t-btn: .15s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--h-title) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text2);
  font: 400 16px/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
strong { color: var(--text); font-weight: 600; }
em { font-style: normal; color: var(--text); }
code { font-family: var(--font-mono); font-size: .88em; }
code { background: rgb(var(--ink) / .06); color: var(--text); padding: 1px 6px; border-radius: var(--r-xs); overflow-wrap: anywhere; }
h1, h2, h3, h4 { color: var(--text); margin: 0; font-family: var(--font-display); letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-chip); }
::selection { background: rgb(var(--accent-rgb) / .30); color: var(--text); }
html { scrollbar-color: var(--scroll) var(--bg); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: var(--r-ctl); font-weight: 600; }
.skip:focus { top: 10px; }

/* ---------- Micro labels, chips, dots (inspector grammar) ---------- */
.micro {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 11.5px/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.micro .ico { width: 26px; height: 26px; border-radius: var(--r-chip); display: inline-grid; place-items: center; background: rgb(var(--accent-rgb) / .12); color: var(--accent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; display: inline-block; }
.dot.info { background: var(--info); }
/* Kit §5: idle / paused / not there yet = hollow grey ring (shape, not colour alone). */
.dot.idle { background: transparent; box-shadow: inset 0 0 0 1.5px var(--offline); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 11px; border-radius: var(--r-chip);
  background: rgb(var(--ink) / .05); color: var(--text2);
  font-size: 13px; font-weight: 500; white-space: nowrap;
}
.chip.accent { background: rgb(var(--accent-rgb) / .12); color: var(--accent-text); }
.chip.next { background: rgb(var(--info-rgb) / .16); color: var(--info-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: var(--r-ctl);
  font: 600 14px/1 var(--font-ui); cursor: pointer; border: 0;
  transition: background var(--t-btn), box-shadow var(--t-btn), color var(--t-btn);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--glow-primary); }
.btn-primary:hover { background: var(--accent-h); }
.btn-primary:focus-visible { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent-text); }
.btn-soft { background: rgb(var(--ink) / .06); color: var(--text); }
.btn-soft:hover { background: rgb(var(--ink) / .11); }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 12px; }

/* ---------- Title bar (the app's chrome) ---------- */
.titlebar {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.titlebar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--edge-topbar); }
.titlebar .wrap { display: flex; align-items: center; gap: 18px; height: var(--h-title); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.brand:hover { text-decoration: none; }
.logo { color: var(--accent); display: inline-flex; }
.logo .dotc { stroke: var(--accent-text); }
.brand-name { font: 600 17px/1 var(--font-display); letter-spacing: -.005em; }
.version.pill {
  font: 600 10.5px/1 var(--font-mono); letter-spacing: .06em; color: var(--muted);
  background: rgb(var(--ink) / .06); padding: 5px 7px; border-radius: var(--r-xs);
}
.tabs { display: flex; align-items: stretch; height: 100%; margin-left: 8px; flex: 1; min-width: 0; }
.tabs a {
  display: inline-flex; align-items: center; padding: 0 12px; color: var(--text2);
  font-size: 14px; font-weight: 500; white-space: nowrap; transition: color var(--t-ctl), box-shadow var(--t-ctl);
}
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a[aria-current="true"] { color: var(--accent-text); box-shadow: inset 0 -2px 0 var(--accent); }
.tabs a:focus-visible { border-radius: 0; box-shadow: inset 0 0 0 2px var(--accent); }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: rgb(var(--ink) / .05); border-radius: var(--r-ctl); flex: none; }
.seg button {
  font: 600 12px/1 var(--font-ui); letter-spacing: .04em; color: var(--muted);
  background: transparent; border: 0; height: 28px; padding: 0 10px; border-radius: var(--r-chip); cursor: pointer;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: rgb(var(--accent-rgb) / .16); color: var(--accent-text); }
.titlebar .btn { height: 34px; padding: 0 14px; font-size: 13.5px; }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: 104px 0; }
.sec:not(.band) + .sec:not(.band) { padding-top: 24px; }
.sec.band { background: var(--chrome); }
.sec-head { max-width: 780px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 700; margin: 16px 0 16px; letter-spacing: -.02em; }
.sec-head .lead { font-size: 17.5px; color: var(--text2); }
.sec-head .lead + .lead { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; background: var(--wash-hero); }
.hero-top { display: grid; grid-template-columns: 1.12fr 1fr; gap: 56px; align-items: end; }
.hero h1 {
  font-size: clamp(36px, 5.2vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -.03em;
  margin-top: 18px; text-wrap: balance;
}
.hero h1 .emphasis { color: var(--accent); }
.hero-sub { font-size: 20px; color: var(--text); margin-top: 20px; line-height: 1.45; }
.hero-sub .soft { color: var(--accent-text); }
.hero-lead { font-size: 16.5px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 22px; }
.release-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.app-version { font: 600 12px/1 var(--font-mono); color: var(--text); background: rgb(var(--ink) / .06); padding: 5px 8px; border-radius: var(--r-xs); }

/* ---------- Status strip (the app's status bar) ---------- */
.statusbar {
  margin-top: 52px; background: var(--chrome); border-radius: var(--r-card); box-shadow: var(--ring);
  display: flex; flex-wrap: wrap; gap: 6px 26px; padding: 12px 18px; list-style: none;
  font-size: 13.5px;
}
.statusbar li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.statusbar .k { color: var(--muted); }
.statusbar .v { color: var(--text); font-weight: 500; }

/* ---------- Cards (inspector cards on --bg3) ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--bg2); border-radius: var(--r-card); padding: 20px 20px 22px; box-shadow: var(--surface-shadow), var(--ring);
}
.band .card { background: var(--bg3); }
.card h3 { font-size: 16px; font-weight: 600; margin: 14px 0 8px; line-height: 1.3; }
.card p { font-size: 14.5px; line-height: 1.55; }
.card .ico { width: 34px; height: 34px; border-radius: var(--r-ctl); display: grid; place-items: center; background: rgb(var(--ink) / .06); color: var(--text); }
.card .ico.c1 { color: var(--dev-1); } .card .ico.c3 { color: var(--dev-3); }
.card .ico.c4 { color: var(--dev-4); } .card .ico.c7 { color: var(--dev-7); }
.card .ico.ac { color: var(--accent); background: rgb(var(--accent-rgb) / .12); }

/* ---------- Notes (info tint, as FanForge's .next-banner) ---------- */
.note {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgb(var(--info-rgb) / .10); color: var(--text2); border-radius: var(--r-card);
  padding: 14px 16px; font-size: 14.5px; margin-top: 28px; box-shadow: inset 3px 0 0 var(--info);
}
.note svg { color: var(--info); flex: none; margin-top: 2px; }
.note strong { color: var(--text); }
.note p + p { margin-top: 6px; }

/* ---------- Roadmap columns (kit .road) ---------- */
.road { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.road .col { background: var(--bg2); border-radius: var(--r-card); padding: 24px; box-shadow: var(--surface-shadow), var(--ring); }
.band .road .col { background: var(--bg3); }
.road .col-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.road .col-head h3 { font-size: 19px; }
.road ul { list-style: none; display: grid; gap: 2px; }
.road li { padding: 11px 12px; border-radius: var(--r-row); font-size: 14.5px; line-height: 1.5; }
.road li:hover { background: rgb(var(--ink) / .03); }
.road li strong { display: block; margin-bottom: 2px; }

/* ---------- Steps (numbered cards) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps .num, .phase .num { font: 600 12px/1 var(--font-mono); color: var(--accent-text); background: rgb(var(--accent-rgb) / .12); border-radius: var(--r-xs); padding: 5px 7px; display: inline-block; }

/* ---------- Download ---------- */
.download-card {
  background: var(--bg2); border-radius: var(--r-dialog); padding: 40px; box-shadow: var(--elev-modal), var(--ring);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  background-image: radial-gradient(80% 90% at 100% 0%, rgb(var(--accent-rgb) / .08), transparent 70%);
}
.download-card h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; margin: 14px 0 12px; letter-spacing: -.02em; text-wrap: balance; }
.dl-tile {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  background: var(--bg3); border-radius: var(--r-card); padding: 18px 18px; color: var(--text2);
  box-shadow: var(--surface-shadow), inset 0 0 0 1px rgb(var(--accent-rgb) / .30);
  transition: box-shadow var(--t-btn), background var(--t-btn);
}
.dl-tile:hover { text-decoration: none; background: color-mix(in srgb, var(--bg3) 92%, var(--accent)); }
.dl-tile .dl-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgb(var(--accent-rgb) / .12); color: var(--accent); }
.dl-tile .dl-title { color: var(--text); font-weight: 600; font-size: 16px; }
.dl-tile .dl-sub { display: block; font-size: 13.5px; line-height: 1.45; margin-top: 3px; }
.dl-tile .btn { pointer-events: none; }
.dl-notes { list-style: none; display: grid; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.dl-notes li { display: flex; gap: 10px; align-items: baseline; }
.dl-notes .dot { transform: translateY(-2px); }

/* ---------- Footer ---------- */
.footer { background: var(--chrome); padding: 56px 0 28px; margin-top: 48px; position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--edge-topbar); }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.5fr; gap: 40px; }
.footer h3 { font: 600 11.5px/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer p, .footer li { font-size: 14px; line-height: 1.6; }
.footer ul { list-style: none; display: grid; gap: 2px; }
.footer ul a { display: inline-block; padding-block: 3px; }
.footer a { color: var(--text2); }
.footer a:hover { color: var(--text); }
.footer .tag { margin-top: 12px; }
.foot-bottom { margin-top: 40px; padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); box-shadow: inset 0 1px 0 rgb(var(--ink) / .06); }

/* ==========================================================================================
   MailForge additions (same tokens, same rules).
   ========================================================================================== */
/* Release-dependent bits ([data-when="dev" | "release" | "signed" | "unsigned"]): the page ships in the
   "no release yet" state; the version.json reader swaps the `hidden` attributes and sets
   <html data-release> when a valid manifest is published. */

.sec-head + .steps, .sec-head + .road { margin-top: 0; }
.steps + .note, .road + .note, .grid + .note { margin-top: 28px; }
.small { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* Roadmap: an ordered path of phases, no dates. */
.phases { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: ph; }
.phase {
  background: var(--bg2); border-radius: var(--r-card); padding: 18px 18px 20px; position: relative;
  box-shadow: var(--surface-shadow), var(--ring);
}
.band .phase { background: var(--bg3); }
.phase.now { box-shadow: var(--surface-shadow), inset 0 0 0 1px rgb(var(--accent-rgb) / .35); }
[data-release] .phase.now { box-shadow: var(--surface-shadow), var(--ring); }   /* P0 is no longer "now" once a version ships */
.phase:not(:last-child)::after {
  content: ""; position: absolute; right: -14px; top: 34px; width: 14px; height: 2px; background: rgb(var(--accent-rgb) / .45);
}
.phase .ph-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.phase .chip { height: 24px; font-size: 12px; padding: 0 9px; }
.phase h3 { font-size: 16px; margin: 14px 0 8px; line-height: 1.3; }
.phase p { font-size: 14px; line-height: 1.55; }

/* Download: the "nothing published yet" panel (not a link, no download button). */
.dl-state {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px;
  background: var(--bg3); border-radius: var(--r-card); padding: 18px; box-shadow: var(--surface-shadow), var(--ring);
}
.dl-state .dl-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgb(var(--ink) / .06); color: var(--text2); }
.dl-state .st { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 16px; }
.dl-state .dl-sub { display: block; font-size: 13.5px; line-height: 1.45; margin-top: 3px; }
.dl-state .btn { grid-column: 1 / -1; justify-self: start; }
.dl-side { display: grid; gap: 14px; }
.rel-notes { background: var(--bg3); border-radius: var(--r-card); padding: 14px 16px; box-shadow: var(--ring); font-size: 14px; }
.rel-notes .k { display: block; font: 600 11px/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.rel-notes p { color: var(--text2); white-space: pre-line; overflow-wrap: anywhere; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .titlebar .wrap { gap: 10px; }
  .titlebar .version.pill { display: none; }
  .tabs { margin-left: 0; }
  .tabs a { padding: 0 7px; font-size: 13.5px; }
  .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phase:nth-child(3)::after { display: none; }
}
@media (max-width: 1020px) {
  :root { --gutter: 20px; }
  .titlebar .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; gap: 10px 14px; }
  .titlebar .spacer { flex: 1; }
  .tabs { order: 5; flex-basis: 100%; margin: 0 calc(var(--gutter) * -1); padding: 0 calc(var(--gutter) - 12px); height: 42px; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { padding: 0 12px; font-size: 14px; }
  .titlebar .version.pill { display: inline-block; }
  html { scroll-padding-top: 124px; }
  .hero-top, .road, .download-card { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phase::after { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .titlebar .version.pill { display: none; }
  .sec { padding: 72px 0; }
  .sec:not(.band) + .sec:not(.band) { padding-top: 16px; }
  .hero { padding-top: 44px; }
  .hero-sub { font-size: 18px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .grid, .grid.g4, .steps, .phases, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .download-card { padding: 24px 18px; }
  .dl-tile { grid-template-columns: auto minmax(0, 1fr); }
  .dl-tile .btn { grid-column: 1 / -1; width: 100%; }
  .dl-state .btn { width: 100%; }
  .statusbar { gap: 8px 18px; padding: 12px 14px; margin-top: 36px; }
  .statusbar li { white-space: normal; }
  .chip { white-space: normal; height: auto; min-height: 28px; padding: 5px 11px; line-height: 1.35; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
