/*!
 * FMCE Concept UG - Design System CSS  v1.1.2 (2026-12-03)
 * v1.1.2: mobile header tools aligned to the right edge (margin-left: auto was overridden).
 * v1.1.1: mobile menu starts closed, no-JS fallback in fmce-nojs.css (no layout shift on load).
 * v1.1: skip link, visually-hidden, theme and language switch, mobile navigation,
 *       FAQ disclosure list (fm-faq), step sequence with trace (fm-steps), theme-only images,
 *       cookie notice (fm-cookie-notice), back-to-top button (fm-to-top).
 * Shared by fmce.de, cryptcoin.de / cryptcoin.io and coinware.de.
 *
 * Usage:
 *   <html lang="de" data-brand="fmce|cryptcoin|coinware" [data-theme="light"]>
 *   <link rel="stylesheet" href="/assets/fmce/css/fmce-design.css">
 * Dark is the default theme; data-theme="light" switches to the light theme.
 * Fonts are self-hosted (../fonts) - do NOT load Google Fonts from Google's CDN (GDPR).
 */

/* ---------- Fonts (Poppins, SIL Open Font License) ---------- */
@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Light.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Medium.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Bold.woff") format("woff"); }

/* ---------- Tokens: dark theme (default) ---------- */
:root {
  color-scheme: dark;
  /* surfaces */
  --bg: #0b1a24;
  --surface: #10232f;
  --surface-raised: #163041;
  --surface-sunken: #08131b;
  --border: #213a4b;
  --border-strong: #35546b;
  /* text */
  --text: #e6eef4;
  --text-muted: #9cb2c2;
  --text-subtle: #7590a5;
  /* brand */
  --primary: #4da6e8;
  --primary-hover: #78bcee;
  --on-primary: #06121a;
  --chip: #1479c4;
  --accent: #f7963a;
  --accent-text: #f7963a;
  --on-accent: #1a0f05;
  --focus: #f7963a;
  --brand-fmce: #4da6e8;
  --brand-cryptcoin: #2bb5b5;
  --brand-coinware: #3cbc72;
  /* status */
  --success: #3cbc72;
  --warning: #e3b341;
  --danger: #f2867d;
  --info: #4da6e8;
  /* elevation */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-2: 0 10px 30px rgba(0, 0, 0, .40);

  /* type */
  --font-sans: "Poppins", Arial, "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  /* spacing (4px base) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  /* radius */
  --radius-sm: 3px; --radius-md: 5px; --radius-lg: 8px; --radius-pill: 999px;
  /* layout */
  --container: 1200px;
  --gutter: 24px;

  --brand: var(--brand-fmce);
}

/* ---------- Tokens: light theme ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7f9;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-sunken: #e9eff3;
  --border: #d3dde4;
  --border-strong: #a7b8c5;
  --text: #0f2230;
  --text-muted: #4b6273;
  --text-subtle: #5a6f80;
  --primary: #0066a6;
  --primary-hover: #00548a;
  --on-primary: #ffffff;
  --chip: #0066a6;
  --accent: #f28c28;
  --accent-text: #b35400;
  --on-accent: #1a0f05;
  --focus: #b35400;
  --brand-fmce: #0066a6;
  --brand-cryptcoin: #00838a;
  --brand-coinware: #1f8a4c;
  --success: #1a7a43;
  --warning: #8a6100;
  --danger: #b3261e;
  --info: #0066a6;
  --shadow-1: 0 1px 2px rgba(15, 34, 48, .08);
  --shadow-2: 0 10px 30px rgba(15, 34, 48, .10);
}

/* ---------- Brand switch (connector-line colour of each site) ---------- */
[data-brand="fmce"]      { --brand: var(--brand-fmce); }
[data-brand="cryptcoin"] { --brand: var(--brand-cryptcoin); }
[data-brand="coinware"]  { --brand: var(--brand-coinware); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--primary); color: var(--on-primary); }

/* ---------- Type scale ---------- */
.fm-display, .fm-h1, .fm-h2, .fm-h3, .fm-h4, h1, h2, h3, h4 { margin: 0; color: var(--text); text-wrap: balance; }
.fm-display { font-size: 56px; line-height: 64px; font-weight: 700; letter-spacing: -0.02em; }
h1, .fm-h1 { font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: -0.015em; }
h2, .fm-h2 { font-size: 30px; line-height: 38px; font-weight: 700; letter-spacing: -0.01em; }
h3, .fm-h3 { font-size: 22px; line-height: 30px; font-weight: 500; }
h4, .fm-h4 { font-size: 18px; line-height: 26px; font-weight: 500; }
.fm-lead    { font-size: 18px; line-height: 30px; color: var(--text-muted); }
.fm-body    { font-size: 16px; line-height: 26px; }
.fm-small   { font-size: 14px; line-height: 22px; }
.fm-caption { font-size: 12px; line-height: 18px; color: var(--text-subtle); }
.fm-label   { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.fm-mono, code, kbd { font-family: var(--font-mono); font-size: 14px; line-height: 22px; font-variant-numeric: tabular-nums; }
.fm-num { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .fm-display { font-size: 40px; line-height: 48px; }
  h1, .fm-h1 { font-size: 32px; line-height: 40px; }
  h2, .fm-h2 { font-size: 26px; line-height: 34px; }
}

/* ---------- Layout ---------- */
.fm-container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (max-width: 640px) { .fm-container { --gutter: 16px; } }
.fm-section { padding-block: var(--space-8); }
.fm-stack > * + * { margin-top: var(--space-4); }
.fm-grid { display: grid; gap: var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.fm-grid > * { grid-column: span 12; min-width: 0; }
@media (min-width: 960px) {
  .fm-span-3 { grid-column: span 3; } .fm-span-4 { grid-column: span 4; }
  .fm-span-6 { grid-column: span 6; } .fm-span-8 { grid-column: span 8; }
}

/* ---------- Brand motif: connector trace with node ---------- */
.fm-trace { display: flex; align-items: center; gap: 0; color: var(--brand); }
.fm-trace::before { content: ""; width: 10px; height: 10px; border: 2px solid currentColor; border-radius: 2px; flex: none; }
.fm-trace::after { content: ""; height: 2px; flex: 1; background: currentColor; opacity: .7; }
.fm-eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.fm-eyebrow::before { content: ""; width: 8px; height: 8px; border: 2px solid var(--accent); border-radius: 2px; }

/* ---------- Button ---------- */
.fm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 0 var(--space-5);
  font: 500 15px/1 var(--font-sans); letter-spacing: .01em;
  border: 1px solid transparent; border-radius: var(--radius-md);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.fm-btn--primary { background: var(--primary); color: var(--on-primary); }
.fm-btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.fm-btn--secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.fm-btn--secondary:hover { border-color: var(--primary); color: var(--text); }
.fm-btn--ghost { background: transparent; color: var(--primary); padding-inline: var(--space-3); }
.fm-btn--ghost:hover { background: var(--surface-raised); }
.fm-btn--accent { background: var(--accent); color: var(--on-accent); }
.fm-btn--sm { min-height: 34px; padding: 0 var(--space-4); font-size: 14px; }
.fm-btn[disabled], .fm-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- Form fields ---------- */
.fm-field { display: grid; gap: var(--space-2); }
.fm-field > label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
.fm-input, .fm-select, .fm-textarea {
  width: 100%; min-height: 44px; padding: 10px var(--space-4);
  font: 400 16px/22px var(--font-sans); color: var(--text);
  background: var(--surface-sunken); border: 1px solid var(--border-strong); border-radius: var(--radius-md);
}
.fm-input::placeholder { color: var(--text-subtle); }
.fm-input:focus, .fm-select:focus, .fm-textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--primary); }
.fm-hint { font-size: 13px; line-height: 18px; color: var(--text-subtle); }
.fm-field--error .fm-input { border-color: var(--danger); }
.fm-field--error .fm-hint { color: var(--danger); }

/* ---------- Card ---------- */
.fm-card {
  position: relative; display: grid; gap: var(--space-3); align-content: start;
  padding: var(--space-5); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.fm-card--link { text-decoration: none; color: inherit; transition: border-color .15s; }
.fm-card--link:hover { border-color: var(--brand); color: inherit; }
.fm-card__title { font-size: 18px; line-height: 26px; font-weight: 500; margin: 0; }
.fm-card__text { color: var(--text-muted); margin: 0; font-size: 15px; line-height: 24px; }

/* ---------- Badge / status ---------- */
.fm-badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; justify-self: start;
  font-size: 12px; line-height: 1; font-weight: 500; letter-spacing: .02em;
  border-radius: var(--radius-pill); border: 1px solid var(--border-strong); color: var(--text-muted);
}
.fm-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fm-badge--success { color: var(--success); border-color: currentColor; }
.fm-badge--warning { color: var(--warning); border-color: currentColor; }
.fm-badge--danger  { color: var(--danger);  border-color: currentColor; }
.fm-badge--info    { color: var(--info);    border-color: currentColor; }

/* ---------- Alert ---------- */
.fm-alert {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); padding: var(--space-4);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  font-size: 15px; line-height: 24px;
}
.fm-alert__icon { width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font: 700 12px/1 var(--font-sans); }
.fm-alert--info    .fm-alert__icon { color: var(--info); }
.fm-alert--success .fm-alert__icon { color: var(--success); }
.fm-alert--warning .fm-alert__icon { color: var(--warning); }
.fm-alert--danger  .fm-alert__icon { color: var(--danger); }
.fm-alert strong { font-weight: 500; }

/* ---------- Data table (prices, nodes, peers) ---------- */
.fm-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.fm-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 22px; }
.fm-table th { text-align: left; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-subtle); padding: 10px var(--space-4); border-bottom: 1px solid var(--border); white-space: nowrap; }
.fm-table td { padding: 12px var(--space-4); border-bottom: 1px solid var(--border); white-space: nowrap; }
.fm-table tr:last-child td { border-bottom: 0; }
.fm-table .fm-r { text-align: right; }
.fm-table td.fm-r { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.fm-up   { color: var(--success); }
.fm-down { color: var(--danger); }

/* ---------- Stat ---------- */
.fm-stat { display: grid; gap: var(--space-1); }
.fm-stat__value { font-size: 30px; line-height: 38px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fm-stat__label { font-size: 13px; line-height: 18px; color: var(--text-subtle); }

/* ---------- Site header ---------- */
.fm-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.fm-header__inner { display: flex; align-items: center; gap: var(--space-5); min-height: 68px; }
.fm-header__logo { display: inline-flex; flex: none; }
.fm-header__logo img { height: 48px; width: auto; }
.fm-nav { display: flex; gap: var(--space-1); margin-left: auto; flex-wrap: wrap; }
.fm-nav a { padding: 8px var(--space-3); border-radius: var(--radius-md); color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.fm-nav a:hover, .fm-nav a[aria-current="page"] { color: var(--text); background: var(--surface-raised); }
/* v1.1: below 760px the navigation moves into a toggle menu (see "Mobile navigation" at the end). */
@media (max-width: 520px) { .fm-header__logo img { height: 40px; } .fm-header__cta { display: none; } }

/* ---------- Site footer ---------- */
.fm-footer { border-top: 1px solid var(--border); background: var(--surface-sunken); padding-block: var(--space-7); color: var(--text-muted); font-size: 14px; line-height: 22px; }
.fm-footer a { color: var(--text-muted); }
.fm-footer a:hover { color: var(--text); }
.fm-footer__legal { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--border); color: var(--text-subtle); font-size: 13px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* =====================================================================
 * v1.1 additions (2026-12-02, built for fmce.de, valid for all FMCE sites)
 * ===================================================================== */

/* ---------- Accessibility helpers ---------- */
/* The hidden attribute always wins over component display values (fm-alert, fm-hint, buttons). */
[hidden] { display: none !important; }
/* Hidden visually, still read by screen readers (also used for form honeypots). */
.fm-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* Skip link: first focusable element, visible only on keyboard focus. */
.fm-skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-md);
  background: var(--primary); color: var(--on-primary); font-weight: 500; text-decoration: none;
}
.fm-skip-link:focus { top: var(--space-2); color: var(--on-primary); }

/* ---------- Theme-only content (logos, icons per theme) ---------- */
:root:not([data-theme="light"]) .fm-theme-light-only,
:root[data-theme="light"] .fm-theme-dark-only { display: none !important; }

/* ---------- Header tools: language switch, icon buttons ---------- */
.fm-header__tools { display: flex; align-items: center; gap: var(--space-2); flex: none; }
.fm-nav + .fm-header__tools { margin-left: var(--space-2); }
.fm-lang-switch {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-3);
  border-radius: var(--radius-md); color: var(--text-muted); text-decoration: none;
  font-size: 14px; font-weight: 500;
}
.fm-lang-switch:hover { color: var(--text); background: var(--surface-raised); }
.fm-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--border); border-radius: var(--radius-md); background: transparent;
  color: var(--text-muted); cursor: pointer; transition: color .15s, border-color .15s;
}
.fm-icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.fm-icon-btn[hidden] { display: none; }
.fm-icon { width: 20px; height: 20px; flex: none; }

/* ---------- Mobile navigation ----------
 * Markup: <header class="fm-header" data-nav> ... <nav class="fm-nav" id="x"> ... <button class="fm-icon-btn fm-nav-toggle" aria-controls="x">
 * The menu starts closed (the state with JavaScript), so nothing jumps when the script arrives
 * (v1.1 opened it until then: layout shift 0.32 in Lighthouse, fmce.de 2026-12-03).
 * Without JavaScript, css/fmce-nojs.css opens it and hides the toggle; include it in the head:
 *   <noscript><link rel="stylesheet" href="/assets/fmce/css/fmce-nojs.css"></noscript>
 * The script sets data-nav="ready"; data-nav-open opens the menu.
 */
@media (max-width: 760px) {
  .fm-header__inner { flex-wrap: wrap; column-gap: var(--space-3); row-gap: 0; }
  .fm-header__tools { gap: var(--space-1); }
  .fm-lang-switch { padding: 0 var(--space-2); }
  /* Same specificity as ".fm-nav + .fm-header__tools" (v1.1.1 lost to it): tools sit at the right edge */
  .fm-header__tools, .fm-nav + .fm-header__tools { margin-left: auto; }
  .fm-nav { order: 3; width: 100%; flex-direction: column; gap: 0; margin-left: 0; padding-bottom: var(--space-3); }
  .fm-nav a { padding: 12px var(--space-3); }
  .fm-header[data-nav]:not([data-nav-open]) .fm-nav { display: none; }
}
@media (min-width: 761px) { .fm-nav-toggle { display: none !important; } }
@media (max-width: 420px) { .fm-header__logo img { height: 32px; } }

/* ---------- FAQ: disclosure list on native <details> ---------- */
.fm-faq { display: grid; gap: var(--space-2); }
.fm-faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.fm-faq__item > summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4);
  padding: var(--space-4) var(--space-5); cursor: pointer; list-style: none;
  font-size: 17px; line-height: 26px; font-weight: 500; color: var(--text);
}
.fm-faq__item > summary::-webkit-details-marker { display: none; }
.fm-faq__item > summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-top: 7px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .15s;
}
.fm-faq__item[open] > summary::after { transform: rotate(-135deg); margin-top: 11px; }
.fm-faq__item > summary:hover { color: var(--primary); }
.fm-faq__answer { padding: 0 var(--space-5) var(--space-5); color: var(--text-muted); }
.fm-faq__answer > * { margin: 0; max-width: 75ch; } /* readable line length on full-width lists */

/* ---------- Steps: numbered sequence joined by the trace motif ----------
 * Markup: <ol class="fm-steps"><li class="fm-steps__item"><span class="fm-steps__num">1</span><h3>…</h3><p>…</p></li>…</ol>
 * Set --fm-steps-bg to the section background if it is not --bg (the node covers the line).
 */
.fm-steps { --fm-steps-bg: var(--bg); display: grid; gap: var(--space-6); margin: 0; padding: 0; list-style: none; }
.fm-steps__item { position: relative; display: grid; gap: var(--space-2); align-content: start; padding-left: var(--space-7); }
.fm-steps__item > * { margin: 0; }
.fm-steps__item p { color: var(--text-muted); }
.fm-steps__item::before {
  content: ""; position: absolute; left: 0; top: 4px; z-index: 1; width: 14px; height: 14px;
  border: 2px solid var(--brand); border-radius: 2px; background: var(--fm-steps-bg);
}
.fm-steps__item::after {
  content: ""; position: absolute; left: 6px; top: 18px; bottom: calc(-1 * var(--space-6) - 4px);
  width: 2px; background: var(--brand); opacity: .7;
}
.fm-steps__item:last-child::after { display: none; }
.fm-steps__num { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
@media (min-width: 761px) {
  .fm-steps { grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; }
  .fm-steps__item { padding-left: 0; padding-top: var(--space-6); padding-right: var(--space-5); }
  .fm-steps__item::before { top: 0; }
  .fm-steps__item::after { left: 14px; top: 6px; bottom: auto; right: calc(-1 * var(--space-6)); width: auto; height: 2px; }
  .fm-steps__item:last-child::after { display: block; right: 0; }
}

/* ---------- Cookie notice (v1.1) ----------
 * Small box bottom right, informational only (technically necessary cookies need no consent).
 * Rendered by the server until the cookie "cookie_notice" exists; hidden until the script shows it.
 */
.fm-cookie-notice {
  position: fixed; right: var(--space-5); bottom: var(--space-5); z-index: 50;
  display: flex; align-items: center; gap: var(--space-4);
  max-width: min(28rem, calc(100% - 2 * var(--space-5)));
  padding: var(--space-4) var(--space-5);
  background: var(--surface-raised); border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.fm-cookie-notice p { margin: 0; font-size: 14px; line-height: 20px; color: var(--text); }
.fm-cookie-notice .fm-btn { flex: none; }
/* Keep the footer reachable while the notice is visible. */
body:has(.fm-cookie-notice:not([hidden])) { padding-bottom: 140px; }
@media (max-width: 520px) {
  .fm-cookie-notice { left: var(--space-3); right: var(--space-3); bottom: var(--space-3); max-width: none; }
}

/* ---------- Back to top (v1.1) ----------
 * Fixed button bottom right, shown by the script after one screen height of scrolling.
 * --fm-to-top-offset lifts it above the cookie notice while that is visible (set by the script).
 */
.fm-to-top {
  position: fixed; right: var(--space-5); bottom: calc(var(--space-5) + var(--fm-to-top-offset, 0px)); z-index: 49;
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: var(--radius-md); background: var(--primary); color: var(--on-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25); cursor: pointer; transition: background .15s;
}
.fm-to-top:hover { background: var(--primary-hover); }
@media (max-width: 520px) { .fm-to-top { right: var(--space-3); bottom: calc(var(--space-3) + var(--fm-to-top-offset, 0px)); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
}
