/* formbar – gemeinsame Grundlage (Landingpage + Kundenkonto)
   Farben als Tokens, helles und dunkles Farbschema, keine externen Quellen. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/bricolage-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/bricolage-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #fbfaff;
  --bg-2: #f3f1fc;
  --surface: #ffffff;
  --surface-2: #f6f5fc;
  --surface-3: #efedf9;
  --text: #16142a;
  --muted: #55526c;
  --faint: #7a7792;
  --line: rgba(22, 20, 42, 0.08);
  --line-2: rgba(22, 20, 42, 0.14);

  --accent: #4b3cf0;
  --accent-2: #7a6bff;
  --accent-text: #4636e0;
  --accent-soft: rgba(75, 60, 240, 0.08);
  --accent-soft-2: rgba(75, 60, 240, 0.14);
  --btn: #4b3cf0;
  --btn-hover: #3d2fd8;
  --on-btn: #ffffff;

  --pink: #ff5f8a;
  --orange: #ff6a3d;
  --yellow: #ffc53d;
  --mint: #2fc7a0;
  --ok: #0c7f5f;
  --ok-soft: rgba(47, 199, 160, 0.14);
  --warn: #a34a00;
  --warn-soft: rgba(255, 150, 60, 0.16);
  --danger: #c42748;
  --danger-soft: rgba(255, 95, 138, 0.13);

  --grad: linear-gradient(120deg, #5b4cff 0%, #e44ad8 42%, #ff6a3d 72%, #ffc53d 100%);
  --grad-soft: linear-gradient(120deg, rgba(91, 76, 255, 0.12), rgba(228, 74, 216, 0.1) 45%, rgba(255, 106, 61, 0.1) 75%, rgba(255, 197, 61, 0.12));
  --grad-text: linear-gradient(100deg, #4b3cf0 0%, #c23fc6 45%, #f0552a 80%, #f0a21a 100%);

  --shadow-sm: 0 1px 2px rgba(30, 20, 80, 0.05), 0 2px 8px rgba(30, 20, 80, 0.04);
  --shadow-md: 0 2px 6px rgba(30, 20, 80, 0.05), 0 12px 32px -8px rgba(40, 25, 120, 0.12);
  --shadow-lg: 0 4px 12px rgba(30, 20, 80, 0.05), 0 30px 70px -20px rgba(50, 30, 140, 0.22);
  --glow: 0 10px 30px -8px rgba(75, 60, 240, 0.45);

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;                          /* Kopf wie formbar.kontor01.de: 64 px, ab 960 px 72 px */
  --header-rand: clamp(20px, 5.5vw, 80px);   /* Seitenrand des Kopfs wie auf der Produktseite */

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.8, 0.26, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0d0c17;
    --bg-2: #12111f;
    --surface: #181727;
    --surface-2: #1e1d30;
    --surface-3: #25243a;
    --text: #f2f1fa;
    --muted: #b4b1ca;
    --faint: #8e8ba8;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --accent: #7a6bff;
    --accent-2: #9d91ff;
    --accent-text: #aea4ff;
    --accent-soft: rgba(122, 107, 255, 0.12);
    --accent-soft-2: rgba(122, 107, 255, 0.2);
    --btn: #5d4eff;
    --btn-hover: #6d5fff;
    --ok: #4fdbb5;
    --ok-soft: rgba(47, 199, 160, 0.16);
    --warn: #ffb36b;
    --warn-soft: rgba(255, 150, 60, 0.16);
    --danger: #ff8aa6;
    --danger-soft: rgba(255, 95, 138, 0.16);
    --grad-text: linear-gradient(100deg, #9d91ff 0%, #f07ae6 45%, #ff8a5c 78%, #ffd166 100%);
    --grad-soft: linear-gradient(120deg, rgba(91, 76, 255, 0.2), rgba(228, 74, 216, 0.14) 45%, rgba(255, 106, 61, 0.12) 75%, rgba(255, 197, 61, 0.12));
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.25), 0 14px 36px -10px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 4px 14px rgba(0, 0, 0, 0.3), 0 34px 80px -24px rgba(0, 0, 0, 0.7);
    --glow: 0 10px 34px -8px rgba(110, 95, 255, 0.55);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0c17;
  --bg-2: #12111f;
  --surface: #181727;
  --surface-2: #1e1d30;
  --surface-3: #25243a;
  --text: #f2f1fa;
  --muted: #b4b1ca;
  --faint: #8e8ba8;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --accent: #7a6bff;
  --accent-2: #9d91ff;
  --accent-text: #aea4ff;
  --accent-soft: rgba(122, 107, 255, 0.12);
  --accent-soft-2: rgba(122, 107, 255, 0.2);
  --btn: #5d4eff;
  --btn-hover: #6d5fff;
  --ok: #4fdbb5;
  --ok-soft: rgba(47, 199, 160, 0.16);
  --warn: #ffb36b;
  --warn-soft: rgba(255, 150, 60, 0.16);
  --danger: #ff8aa6;
  --danger-soft: rgba(255, 95, 138, 0.16);
  --grad-text: linear-gradient(100deg, #9d91ff 0%, #f07ae6 45%, #ff8a5c 78%, #ffd166 100%);
  --grad-soft: linear-gradient(120deg, rgba(91, 76, 255, 0.2), rgba(228, 74, 216, 0.14) 45%, rgba(255, 106, 61, 0.12) 75%, rgba(255, 197, 61, 0.12));
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.25), 0 14px 36px -10px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 4px 14px rgba(0, 0, 0, 0.3), 0 34px 80px -24px rgba(0, 0, 0, 0.7);
  --glow: 0 10px 34px -8px rgba(110, 95, 255, 0.55);
}

/* ---------- Grundlagen ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
img { height: auto; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(122, 107, 255, 0.28); }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.show-xs { display: none; }
@media (max-width: 420px) {
  .hide-xs { display: none !important; }
  .show-xs { display: inline; }
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--btn); color: var(--on-btn); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--surface); --_fg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px;
  border: 0; border-radius: 999px;
  background: var(--_bg); color: var(--_fg);
  font-weight: 600; font-size: 15.5px; line-height: 1.2; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line-2);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line-2); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { --_bg: var(--btn); --_fg: var(--on-btn); box-shadow: var(--glow); }
.btn-primary:hover { --_bg: var(--btn-hover); box-shadow: 0 14px 34px -8px rgba(75, 60, 240, 0.55); }
.btn-ghost { --_bg: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { --_bg: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-soft { --_bg: var(--accent-soft); --_fg: var(--accent-text); box-shadow: none; }
.btn-soft:hover { --_bg: var(--accent-soft-2); box-shadow: none; }
.btn-text { --_bg: transparent; --_fg: var(--accent-text); box-shadow: none; padding-inline: 10px; }
.btn-text:hover { --_bg: var(--accent-soft); box-shadow: none; transform: none; }
.btn-danger-text { --_bg: transparent; --_fg: var(--danger); box-shadow: none; }
.btn-danger-text:hover { --_bg: var(--danger-soft); box-shadow: none; transform: none; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 16.5px; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn .spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: fb-spin 0.8s linear infinite; }
@keyframes fb-spin { to { transform: rotate(360deg); } }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; margin: -3px -2px -3px -4px; }
/* 10/2026: Wortmarke wie formbar.kontor01.de (Figtree kursiv 700, Farbverlauf); hell mit kräftigerem Verlauf für Kontrast */
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 300 900; font-display: swap; src: url("/static/portal/fonts/figtree-i-latin.woff2") format("woff2"); }
.brand-wm { font: italic 700 28px/1 "Figtree", var(--font-display), sans-serif; letter-spacing: -0.01em; padding: 0 .1em .08em 0;
  background: linear-gradient(90deg, #5b3df5 0%, #c23cba 40%, #e0603a 75%, #d08600 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-wm { background-image: linear-gradient(90deg, #a49bff 0%, #e57ee0 38%, #ff9a73 70%, #ffd166 100%); } }
:root[data-theme="dark"] .brand-wm { background-image: linear-gradient(90deg, #a49bff 0%, #e57ee0 38%, #ff9a73 70%, #ffd166 100%); }
@media (forced-colors: active) { .brand-wm { color: CanvasText; background: none; } }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 transparent;           /* Trennlinie ohne eigene Höhe: Kopf exakt so hoch wie auf der Produktseite */
  transition: box-shadow 0.2s, background-color 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: var(--header-h); max-width: calc(1280px + 2 * var(--header-rand)); padding-inline: var(--header-rand); }
@media (min-width: 960px) { :root { --header-h: 72px; } }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a.nav-link { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color 0.15s, background-color 0.15s; }
.site-nav a.nav-link:hover { color: var(--text); background: var(--accent-soft); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }

/* ---------- Farbschema-Knopf (theme-init.js + theme-toggle.js): Halbkreis = automatisch, Sonne = hell, Mond = dunkel ---------- */
.theme-toggle { display: none; }
.theme-js .theme-toggle {
  position: relative; display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 0.15s, color 0.15s;
}
.theme-js .theme-toggle:hover { background: var(--accent-soft); color: var(--text); }
.theme-js .theme-toggle:focus-visible { outline-offset: 2px; }
.theme-toggle svg { grid-area: 1 / 1; width: 20px; height: 20px; opacity: 0; transition: opacity 0.2s var(--ease); }
:root:not([data-theme]) .theme-toggle .tt-auto,
:root[data-theme="light"] .theme-toggle .tt-light,
:root[data-theme="dark"] .theme-toggle .tt-dark { opacity: 1; }
/* Umschalten: Farben in einem Schritt (keine nachziehenden Knöpfe/Kopfzeile), nur das Symbol blendet sanft über */
.theme-switching *, .theme-switching *::before, .theme-switching *::after { transition: none !important; }
@media (prefers-reduced-motion: no-preference) {
  .theme-switching .theme-toggle svg { transition: opacity 0.2s var(--ease) !important; }
}

/* ---------- „Nach oben“ (nach-oben.js): klebt unten rechts, endet mit <main> → nie über der Fußzeile ---------- */
.to-top {
  position: sticky; z-index: 40; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  margin: -60px max(var(--gutter), env(safe-area-inset-right, 0px)) 16px auto;   /* nimmt keinen Platz ein */
  border: 0; border-radius: 50%; cursor: pointer;
  background: color-mix(in srgb, var(--surface) 90%, transparent); color: var(--text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line-2);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s, background-color 0.15s, color 0.15s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--surface); color: var(--accent-text); }
.to-top:focus-visible { border-radius: 50%; outline-offset: 2px; }
.to-top svg { width: 22px; height: 22px; }
.site-header[tabindex="-1"]:focus { outline: none; }
@media print { .to-top, .theme-toggle { display: none !important; } }

/* ---------- Formulare ---------- */
.field { display: grid; gap: 7px; }
.field + .field { margin-top: 16px; }
.field label, .label { font-weight: 600; font-size: 14.5px; color: var(--text); }
.field .hint { font-size: 13.5px; color: var(--faint); }
.input {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 0; border-radius: var(--r-md);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text); font-size: 16px;
  transition: box-shadow 0.15s, background-color 0.15s;
}
.input::placeholder { color: var(--faint); }
.input:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, var(--line-2)); }
.input:focus { outline: none; background: var(--surface); box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 5px var(--accent-soft); }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--danger); }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 56px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--faint); cursor: pointer;
  display: grid; place-items: center;
}
.pw-toggle:hover { background: var(--accent-soft); color: var(--accent-text); }
.pw-toggle svg { width: 20px; height: 20px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--line-2); cursor: pointer; display: grid; place-items: center; transition: background-color 0.15s, box-shadow 0.15s; }
.check input::after { content: ""; width: 11px; height: 6px; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 0.15s var(--ease); }
.check input:checked { background: var(--btn); box-shadow: none; }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }

/* ---------- Hinweise ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); font-size: 15px; line-height: 1.5; background: var(--accent-soft); color: var(--text); }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--accent-text); }
.notice.is-error { background: var(--danger-soft); }
.notice.is-error svg { color: var(--danger); }
.notice.is-ok { background: var(--ok-soft); }
.notice.is-ok svg { color: var(--ok); }
.notice.is-warn { background: var(--warn-soft); }
.notice.is-warn svg { color: var(--warn); }
.notice .btn { margin-top: 10px; white-space: normal; text-align: left; }
.notice > div { min-width: 0; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; background: var(--surface-3); color: var(--muted); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.9; }
.pill.no-dot::before { display: none; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.bad { background: var(--danger-soft); color: var(--danger); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.accent { background: var(--accent-soft-2); color: var(--accent-text); }

/* ---------- Fußzeile ---------- */
.site-footer { padding: 56px 0 40px; color: var(--muted); font-size: 14.5px; border-top: 1px solid var(--line); background: var(--bg-2); }
.site-footer .wrap { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr; align-items: start; }
.site-footer address { font-style: normal; line-height: 1.7; margin-top: 12px; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-footer nav a:hover { color: var(--text); text-decoration: underline; }
.site-footer .copy { grid-column: 1 / -1; font-size: 13.5px; color: var(--faint); padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- Toast ---------- */
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 90; display: grid; gap: 10px; width: min(460px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; background: #1b1930; color: #f4f3fb; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.45); font-size: 15px; animation: fb-toast-in 0.35s var(--ease); }
.toast svg { width: 20px; height: 20px; flex: none; color: #5fe0bd; margin-top: 1px; }
.toast.is-error svg { color: #ff8aa6; }
@keyframes fb-toast-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .site-footer nav ul { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
