/* shell.css: the frostyh.com v4 system for the static pages (2026-11-13).
   One file for what every page shares with the React home and /websites/:
   - .sn   the floating white nav pill (sliding marker, Germany clock, Discord button, phone sheet)
   - .sf   the compact footer (light on light pages, dark tokens via data-theme="dark"; the React
           home and /websites/ render the same classes, so this file styles every footer on the site)
   - .sv-* the light page system: ribbon hero, headings, buttons, cards, doc layout, reveals, write-on
   Markup for .sn and .sf is generated by tools/shell/build.cjs from D:\websites-v2\src\shared\footer.json.
   Product pages set their own tokens (--sf-*, --sn-*) so the shell takes their colours and fonts. */

@font-face { font-family: 'Melodrama'; src: url('/assets/fonts/Melodrama-Variable.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Satoshi V'; src: url('/assets/fonts/Satoshi-Variable.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Tabular'; src: url('/assets/fonts/Tabular-Variable.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }

:root {
  --sv-ground: #EFEFEF;
  --sv-paper: #FFFFFF;
  --sv-soft: #F5F5F5;
  --sv-ink: #111827;
  --sv-ink2: #374151;
  --sv-mute: #6b7280;
  --sv-hair: rgba(17, 24, 39, .09);
  --sv-acc: #2d5b75;
  --sv-acc-h: #244a60;
  --sv-acc-soft: #9cc3dc;
  --sv-body: 'Satoshi V', 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sv-display: 'Melodrama', Georgia, serif;
  --sv-num: 'Tabular', 'Satoshi V', 'Satoshi', system-ui, sans-serif;
  --sv-glide: cubic-bezier(.16, 1, .3, 1);
  --sv-ease: cubic-bezier(.25, .1, .25, 1);
  --sv-pad: 20px;
}
@media (min-width: 640px) { :root { --sv-pad: 32px; } }
@media (min-width: 1024px) { :root { --sv-pad: 48px; } }
@media (min-width: 1536px) { :root { --sv-pad: 64px; } }

/* ---------- light page base (only on body.sv) ---------- */
body.sv {
  margin: 0; background: var(--sv-ground); color: var(--sv-ink);
  font-family: var(--sv-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.sv *, body.sv *::before, body.sv *::after { box-sizing: border-box; }
.sv h1, .sv h2, .sv h3 { text-wrap: balance; }
:where(.sv) a { color: inherit; }
:where(.sv) img { max-width: 100%; }
.sv-wrap { width: 100%; max-width: 1760px; margin-inline: auto; padding-inline: var(--sv-pad); }
.sv-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #111827; color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.sv-skip:focus { top: 12px; }
.sv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* page to page: the same soft fade as the React pages */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: sv-vt-out .35s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: sv-vt-in .6s var(--sv-glide) both; }
@keyframes sv-vt-out { to { opacity: 0; transform: translateY(-12px); filter: blur(4px); } }
@keyframes sv-vt-in { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }
/* the bar stays put while the page under it cross-fades; its marker glides (shell.js / apps-shell.js) */
.sn-bar { view-transition-name: sn-bar; }
::view-transition-group(sn-bar), ::view-transition-old(sn-bar), ::view-transition-new(sn-bar) { animation-duration: .2s; }
@keyframes sv-vt-fade-out { to { opacity: 0; } }
@keyframes sv-vt-fade-in { from { opacity: 0; } }

/* ---------- the nav pill ---------- */
.sn { position: fixed; inset: 0 0 auto; z-index: 50; pointer-events: none; font-family: var(--sv-body); font-size: 14px; line-height: 1.5; }
.sn-in { max-width: 1760px; margin: 0 auto; padding: 8px; }
@media (min-width: 640px) { .sn-in { padding: 12px; } }
.sn-bar {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between;
  background: var(--sn-bg, #fff); color: var(--sn-ink, #111827); border-radius: 999px; padding: 5px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0); transition: box-shadow .7s var(--sv-glide), background-color .5s var(--sv-ease);
}
.sn-bar.is-scrolled { box-shadow: var(--sn-shadow, 0 8px 30px rgba(0, 0, 0, .10)); }
.sn-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
@media (min-width: 1024px) { .sn-l { gap: 20px; } }
.sn-mark { display: block; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; }
.sn-mark img { display: block; width: 100%; height: 100%; }
/* nothing bounces on a press (owner rule 2026-11-13): a tiny dim, no scale */
.sn-mark:active { opacity: .86; }
@media (min-width: 1024px) { .sn-mark { width: 44px; height: 44px; } }
/* app pages wear the app's own squircle icon (build.cjs "app"): no round crop, the hover ring follows its corners */
.sn-mark.is-app { border-radius: 24%; }
.sn-name { display: none; }
.sn-links { position: relative; display: none; align-items: center; }
@media (min-width: 768px) { .sn-links { display: flex; } }
/* the one marker: glides to the hovered or current link in 200 ms outQuint, never re-drawn in place */
.sn-ind { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 999px; background: var(--sn-ind, #f3f4f6); opacity: 0; transition: transform .2s cubic-bezier(.22, 1, .36, 1), width .2s cubic-bezier(.22, 1, .36, 1), opacity .2s cubic-bezier(.22, 1, .36, 1); pointer-events: none; }
.sn-links a { position: relative; z-index: 1; padding: 10px 16px; border-radius: 999px; font-size: 15px; line-height: 1.3; color: var(--sn-mute, #4b5563); text-decoration: none; white-space: nowrap; transition: color .5s var(--sv-ease); }
.sn-links a.is-on, .sn-links a:hover, .sn-links a:focus-visible { color: var(--sn-ink, #111827); }
@media (min-width: 1024px) { .sn-links a { padding: 10px 20px; font-size: 16px; } }
.sn-r { display: none; align-items: center; gap: 20px; }
@media (min-width: 768px) { .sn-r { display: flex; } }
.sn-status, .sn-clock { font-size: 14px; color: var(--sn-mute, #4b5563); white-space: nowrap; }
.sn-status { display: none; }
@media (min-width: 1280px) { .sn-status { display: inline; } }
.sn-clock { display: none; align-items: center; gap: 6px; }
@media (min-width: 1024px) { .sn-clock { display: inline-flex; } }
.sn-clock svg, .sf-clock svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sn-cta, .sn-sheet-cta {
  display: inline-flex; align-items: center; gap: 12px; background: var(--sn-cta, #111827); color: var(--sn-cta-ink, #fff);
  border-radius: 999px; padding: 8px 8px 8px 20px; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .5s var(--sv-ease), transform .5s var(--sv-glide);
}
.sn-cta:hover { background: var(--sn-cta-h, #000); }
.sn-cta:active, .sv-btn:active, .sf-pill:active { opacity: .86; }
@media (min-width: 1024px) { .sn-cta { font-size: 15px; } }
.sn-arr { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sn-cta-ink, #fff); color: var(--sn-cta, #111827); flex: none; }
.sn-arr svg, .sv-btn-arr svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--sv-ease); }
.sn-cta:hover .sn-arr svg, .sv-btn:hover .sv-btn-arr svg { transform: rotate(-45deg); }
.sn-menu {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: 500 14px/1 var(--sv-body);
  background: var(--sn-cta, #111827); color: var(--sn-cta-ink, #fff); border-radius: 999px; padding: 11px 16px;
}
.sn-menu svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (min-width: 768px) { .sn-menu { display: none; } }
.sn-sheet { position: fixed; inset: 0; z-index: 60; }
.sn-sheet[hidden] { display: block; visibility: hidden; pointer-events: none; transition: visibility 0s .5s; }
.sn-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .5s; }
.sn-panel {
  position: absolute; inset: auto 0 0; margin: 12px; background: var(--sn-bg, #fff); color: var(--sn-ink, #111827); border-radius: 16px; padding: 24px;
  transform: translateY(110%); transition: transform .5s cubic-bezier(.32, .72, 0, 1); font-family: var(--sv-body);
}
.sn-sheet.is-open .sn-scrim { opacity: 1; }
.sn-sheet.is-open .sn-panel { transform: none; }
.sn-panel .sn-clock { display: inline-flex; font-size: 13px; background: var(--sn-ind, #f3f4f6); border-radius: 999px; padding: 6px 12px; }
.sn-panel nav { display: flex; flex-direction: column; gap: 4px; margin: 24px 0 32px; }
.sn-panel nav a { font: 500 32px/1.15 var(--sn-display, var(--sv-display)); color: var(--sn-mute, #6b7280); text-decoration: none; opacity: 0; transform: translateY(16px); transition: opacity .7s var(--sv-glide), transform .7s var(--sv-glide), color .5s; }
.sn-panel nav a.is-on { color: var(--sn-ink, #111827); }
.sn-sheet.is-open .sn-panel nav a { opacity: 1; transform: none; }
.sn-sheet-cta { display: flex; justify-content: space-between; width: 100%; font-size: 15px; padding: 8px 8px 8px 24px; }
.sn-sheet-cta .sn-arr { width: 36px; height: 36px; }

/* ---------- per-page nav themes (2026-11-13) ----------
   build.cjs writes data-nav-theme on .sn and .sn-sheet from the marker's "theme". The structure, the gliding marker
   and the hover feedback stay the same on every page (brand recognition); only the colours follow the page.
   No attribute = the white pill above. "dark" = the black app pages, marker in the page's own --app-acc.
   "sandstone" = black, Sandstone orange, the page's pixel face on the links. "lapis" = Lapis' blue-black glass. */
:is(.sn, .sn-sheet)[data-nav-theme] {
  --sn-acc: var(--app-acc, #9cc3dc);
  --sn-bg: rgba(16, 17, 19, .9); --sn-solid: rgba(22, 23, 26, .96); --sn-panel: var(--app-panel, #141518);
  --sn-ink: #f4f5f7; --sn-mute: rgba(235, 235, 245, .64); --sn-hair: rgba(255, 255, 255, .08);
  --sn-ind: color-mix(in srgb, var(--sn-acc) 20%, transparent); --sn-ind-ring: color-mix(in srgb, var(--sn-acc) 55%, transparent);
  --sn-cta: var(--app-btn, #fff); --sn-cta-ink: var(--app-btn-ink, #000); --sn-cta-h: var(--app-btn-h, #e6e6e6);
  --sn-shadow: 0 10px 34px rgba(0, 0, 0, .5);
}
:is(.sn, .sn-sheet)[data-nav-theme="sandstone"] {
  --sn-acc: #ff9969; --sn-bg: rgba(0, 0, 0, .9); --sn-solid: #050505; --sn-panel: #0a0a0a;
  --sn-ink: #fff; --sn-mute: #a6a6a6; --sn-hair: rgba(255, 255, 255, .14);
  --sn-cta: #fff; --sn-cta-ink: #000; --sn-cta-h: #f1f1f1;
  --sn-links-font: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;
}
:is(.sn, .sn-sheet)[data-nav-theme="lapis"] {
  --sn-acc: #6cc2f4; --sn-bg: rgba(20, 32, 39, .74); --sn-solid: #142027; --sn-panel: #142027;
  --sn-ink: #e6f2f9; --sn-mute: #93a9b7; --sn-hair: rgba(147, 190, 215, .12);
}
.sn[data-nav-theme] .sn-bar { background: var(--sn-bg); box-shadow: inset 0 0 0 1px var(--sn-hair), 0 0 0 rgba(0, 0, 0, 0); }
.sn[data-nav-theme] .sn-bar.is-scrolled { box-shadow: inset 0 0 0 1px var(--sn-hair), var(--sn-shadow); }
html.perf .sn[data-nav-theme] .sn-bar, html[data-lite] .sn[data-nav-theme] .sn-bar { background: var(--sn-solid); }
/* the one marker: a tint of the page colour with a thin ring of it, still the same element gliding */
.sn[data-nav-theme] .sn-ind { box-shadow: inset 0 0 0 1px var(--sn-ind-ring); }
.sn[data-nav-theme] .sn-links a { font-family: var(--sn-links-font, inherit); }
.sn[data-nav-theme="sandstone"] .sn-links a { font-size: 17px; letter-spacing: .02em; }
.sn-sheet[data-nav-theme] .sn-panel { background: var(--sn-panel); box-shadow: inset 0 0 0 1px var(--sn-hair); }
.sn-sheet[data-nav-theme] .sn-panel .sn-clock { background: rgba(255, 255, 255, .07); }
.sn-sheet[data-nav-theme] .sn-panel nav a.is-on { color: var(--sn-acc); }

/* ---------- the compact footer ---------- */
.sf {
  --sf-bg: #fff; --sf-ink: #111827; --sf-link: #374151; --sf-mute: #6b7280; --sf-hair: rgba(17, 24, 39, .08);
  --sf-acc: #2d5b75; --sf-pill: #111827; --sf-pill-h: #000; --sf-pill-ink: #fff; --sf-display: 'Melodrama', Georgia, serif;
  --sf-outer: transparent;
  background: var(--sf-outer); padding: 0 8px 8px; font-size: 14px; line-height: 1.5; font-family: var(--sf-body, 'Satoshi V', 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif);
  -webkit-font-smoothing: antialiased;
}
.sf[data-theme="dark"] {
  --sf-bg: rgba(255, 255, 255, .045); --sf-ink: #f5f6f7; --sf-link: rgba(255, 255, 255, .74); --sf-mute: rgba(255, 255, 255, .5);
  --sf-hair: rgba(255, 255, 255, .07); --sf-acc: #9cc3dc; --sf-pill: #fff; --sf-pill-h: #e9eef2; --sf-pill-ink: #0b0c0d;
}
@media (min-width: 640px) { .sf { padding: 0 12px 12px; } }
.sf *, .sf *::before, .sf *::after { box-sizing: border-box; }
.sf-card { max-width: 1736px; margin: 0 auto; background: var(--sf-bg); color: var(--sf-ink); border-radius: 24px; padding: 26px var(--sv-pad) 0; }
.sf-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .8fr)) auto; gap: 24px 32px; padding-bottom: 20px; }
.sf-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--sf-ink); text-decoration: none; }
.sf-logo img { width: 32px; height: 32px; border-radius: 50%; display: block; }
.sf-logo span { font: 600 23px/1 var(--sf-display); letter-spacing: 0; }
.sf-logo.is-app img { border-radius: 24%; }
.sf-logo.is-app { vertical-align: middle; }
.sf-by { vertical-align: middle; margin-left: 12px; font-size: 13.5px; color: var(--sf-mute); text-decoration: none; transition: color .4s var(--sv-ease, ease); }
.sf-by:hover, .sf-by:focus-visible { color: var(--sf-acc); }
.sf-line { margin: 12px 0 0; max-width: 34ch; font-size: 14px; line-height: 1.55; color: var(--sf-mute); }
.sf-g { min-width: 0; }
.sf-h { margin: 0 0 8px; font-size: 12.5px; line-height: 1.4; font-weight: 500; color: var(--sf-mute); }
.sf-g ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sf-g a, .sf-bot a { color: var(--sf-link); text-decoration: none; transition: color .4s var(--sv-ease, ease); }
.sf-g a { font-size: 14px; line-height: 1.4; }
.sf-g a:hover, .sf-bot a:hover, .sf-g a:focus-visible, .sf-bot a:focus-visible { color: var(--sf-acc); }
.sf-g a[aria-current="page"] { color: var(--sf-ink); font-weight: 500; }
.sf-end { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.sf-clock { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; color: var(--sf-mute); white-space: nowrap; }
.sf-clock b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--sf-ink); }
.sf-pill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--sf-pill); color: var(--sf-pill-ink); text-decoration: none; white-space: nowrap;
  border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; transition: background-color .4s, transform .5s cubic-bezier(.16, 1, .3, 1);
}
.sf-pill:hover { background: var(--sf-pill-h); }
.sf-pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sf-bot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; border-top: 1px solid var(--sf-hair); padding: 12px 0 14px; font-size: 13px; line-height: 1.5; color: var(--sf-mute); }
.sf-bot p { margin: 0; }
.sf-bot a { color: var(--sf-mute); }
.sf-fine { margin-left: auto !important; text-align: right; }
.sf-extra { display: contents; }
@media (max-width: 1023px) {
  .sf-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sf-id { grid-column: 1 / -1; }
  .sf-end { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .sf-fine { margin-left: 0 !important; text-align: left; flex-basis: 100%; }
}
@media (max-width: 639px) {
  .sf-card { border-radius: 20px; padding-top: 26px; }
  .sf-top { gap: 22px 14px; }
  .sf-g a { font-size: 14px; }
  .sf-bot { gap: 4px 14px; }
}

/* ---------- light page system ---------- */
.sv-btn {
  display: inline-flex; align-items: center; gap: 14px; align-self: flex-start; border-radius: 999px; text-decoration: none;
  background: var(--sv-acc); color: #fff; font-size: 15px; font-weight: 500; padding: 8px 8px 8px 24px;
  transition: background-color .5s var(--sv-ease), transform .5s var(--sv-glide);
}
.sv-btn:hover { background: var(--sv-acc-h); }
.sv-btn--dark { background: #111827; }
.sv-btn--dark:hover { background: #000; }
.sv-btn--ghost { background: #fff; color: var(--sv-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.sv-btn--ghost:hover { background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.sv-btn-arr { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--sv-acc); flex: none; }
.sv-btn--dark .sv-btn-arr { color: #111827; }
.sv-btn--ghost .sv-btn-arr { background: #111827; color: #fff; }
@media (min-width: 1024px) { .sv-btn { font-size: 16px; padding-left: 28px; } .sv-btn-arr { width: 40px; height: 40px; } }

.sv-badge { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; }
.sv-badge b { width: 32px; height: 32px; border-radius: 50%; background: #111827; color: #fff; font: 600 13px/1 var(--sv-num); display: flex; align-items: center; justify-content: center; }
.sv-badge span { font-size: 14px; font-weight: 500; border: 1px solid #d1d5db; border-radius: 999px; padding: 6px 16px; }

.sv-h1 { margin: 0; font: 500 clamp(3.4rem, 10vw, 11rem)/.95 var(--sv-display); color: var(--sv-ink); letter-spacing: 0; }
.sv-h2 { margin: 0; font: 500 clamp(2.4rem, 5.2vw, 6rem)/1 var(--sv-display); color: var(--sv-ink); letter-spacing: 0; }
.sv-lead { font-size: clamp(17px, 1.25vw, 21px); line-height: 1.6; color: var(--sv-ink2); max-width: 46ch; }
.sv-acc { color: var(--sv-acc); }

/* ribbon hero for sub pages: the home's still poster, shorter */
.sv-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(360px, 50svh, 600px); background: var(--sv-ground); }
.sv-hero > img.sv-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.sv-hero-in { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(40px, 6vw, 88px); }
.sv-hero-in > p:first-child { margin: 0 0 18px; font-size: clamp(15px, 1.1vw, 17px); }
.sv-hero .sv-lead { margin: 24px 0 0; }
.sv-hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.sv-hero-row .sv-lead { margin: 0; }

/* doc layout: a sticky side column with the page map, the text on a white card. Fills the width at 1440 and 1920 */
.sv-doc { display: grid; gap: 24px; padding-block: 24px clamp(48px, 6vw, 96px); }
@media (min-width: 1024px) { .sv-doc { grid-template-columns: minmax(260px, .55fr) minmax(0, 1.45fr); gap: 24px; align-items: start; } }
.sv-side { background: var(--sv-paper); border-radius: 24px; padding: 28px; }
@media (min-width: 1024px) { .sv-side { position: sticky; top: 96px; } }
.sv-side h2 { margin: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--sv-mute); }
.sv-side ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: sv; }
.sv-side ol a { display: flex; gap: 12px; padding: 7px 0; font-size: 15px; color: var(--sv-ink2); text-decoration: none; transition: color .4s var(--sv-ease); }
.sv-side ol a::before { counter-increment: sv; content: counter(sv, decimal-leading-zero); font: 500 12px/1.9 var(--sv-body); font-variant-numeric: tabular-nums; color: var(--sv-mute); }
.sv-side ol a:hover, .sv-side ol a.is-on { color: var(--sv-acc); }
.sv-side p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--sv-mute); }
.sv-side .sv-meta { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--sv-hair); }
.sv-card { background: var(--sv-paper); border-radius: 24px; padding: clamp(24px, 3.4vw, 56px); }
.sv-prose { font-size: 17px; line-height: 1.7; color: var(--sv-ink2); }
.sv-prose > :first-child { margin-top: 0; }
.sv-prose > :last-child { margin-bottom: 0; }
.sv-prose p, .sv-prose ul { margin: 0 0 1em; max-width: 72ch; }
.sv-prose h2 { margin: 1.9em 0 .5em; font: 500 clamp(26px, 2.3vw, 36px)/1.1 var(--sv-display); color: var(--sv-ink); scroll-margin-top: 110px; }
.sv-prose a { color: var(--sv-ink); text-decoration: underline; text-decoration-color: #cbd5e1; text-underline-offset: 4px; transition: text-decoration-color .4s; }
.sv-prose a:hover { text-decoration-color: var(--sv-ink); }
.sv-prose ul { padding-left: 1.2em; }
.sv-prose li { margin: 0 0 .5em; }
.sv-prose code { font: 500 .88em var(--sv-num); background: var(--sv-soft); border-radius: 6px; padding: .1em .4em; }
.sv-prose .sv-lede { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.55; color: var(--sv-ink); }

/* facts grid (Impressum / legal notice): fills the card in columns instead of one thin line */
.sv-facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0; }
.sv-facts div { background: var(--sv-soft); border-radius: 16px; padding: 20px 22px; }
.sv-facts dt { font-size: 13px; color: var(--sv-mute); margin: 0 0 8px; }
.sv-facts dd { margin: 0; font-size: 17px; line-height: 1.55; color: var(--sv-ink); }
.sv-facts a { color: var(--sv-ink); text-decoration: underline; text-decoration-color: #cbd5e1; text-underline-offset: 4px; }

/* ---------- reveals and the Telma write-on (same as the React pages) ---------- */
.rv { opacity: 0; transform: translate3d(0, 40px, 0); filter: blur(8px); transition: opacity 1s var(--sv-glide), transform 1.2s var(--sv-glide), filter 1s var(--sv-glide); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; filter: none; }
html:not(.sv-js) .rv { opacity: 1; transform: none; filter: none; }
.wo { display: inline-block; line-height: 1; white-space: nowrap; }
.wo svg { display: inline-block; height: 1.28em; width: auto; vertical-align: -.31em; overflow: visible; }
.wo path { fill: currentColor; fill-opacity: 0; stroke: currentColor; stroke-width: 14; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
html:not(.sv-js) .wo path { fill-opacity: 1; stroke: none; }
.wo.go path { animation: sv-wo-draw var(--wo-draw, 1.3s) cubic-bezier(.65, 0, .35, 1) forwards, sv-wo-fill .7s var(--sv-ease) forwards; animation-delay: calc(var(--i) * var(--wo-step, 60ms)), calc(var(--i) * var(--wo-step, 60ms) + var(--wo-draw, 1.3s) * .7); }
@keyframes sv-wo-draw { to { stroke-dashoffset: 0; } }
@keyframes sv-wo-fill { to { fill-opacity: 1; stroke-opacity: 0; } }
.sv-in > * { animation: sv-in 1.3s var(--sv-glide) both; }
.sv-in > :nth-child(2) { animation-delay: .12s; }
.sv-in > :nth-child(3) { animation-delay: .24s; }
.sv-in > :nth-child(4) { animation-delay: .36s; }
@keyframes sv-in { from { opacity: 0; transform: translate3d(0, 36px, 0); filter: blur(8px); } }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; filter: none; transition: none; }
  .sv-in > * { animation: none; }
  .wo path { fill-opacity: 1; stroke: none; animation: none !important; }
  .sn-panel, .sn-panel nav a { transition: none; }
  /* reduced motion: a short glide or a short fade, never a jump */
  .sn-ind { transition-duration: .12s; }
  .zg-ghost { transition: none; }
  ::view-transition-old(root) { animation: sv-vt-fade-out .12s linear both; }
  ::view-transition-new(root) { animation: sv-vt-fade-in .12s linear both; }
  ::view-transition-group(*) { animation-duration: .12s; }
}

/* ---------- nothing teleports: chips, thumbnails and the contents list (shell.js moves one ghost between them) ---------- */
.zg-lift > * { position: relative; z-index: 2; }
.zg-old, .zg-old * { animation: none !important; transition: none !important; }

/* ---------- hover language (owner 2026-11-13: "visual feedback when hovering over important things") ----------
   One calm set for every page: hover only where a mouse can hover, keyboard focus gets the same plus a ring.
   --hv is the accent for the drawn underline and the ring: the site blue here, each app's own colour on the app
   pages (apps-shell.css), the light blue on dark footers.
   - text links:   an underline draws in left to right (2 px) in 180 ms and the text takes the accent
   - nav pill:     the text darkens and the one marker previews under the hovered item at low opacity (shell.js)
   - buttons:      the fill shifts one step and the arrow slides 3 px right
   - link cards:   the hairline goes to the accent, the title gets the underline, the image zooms 2% in its clip.
                   No scale, no lift on the card itself (nothing bounces, owner rule 2026-11-13)
   Utility classes for the React pages: .hv-u (link), .hv-ul (link with a resting underline), .hv-card, .hv-frame,
   .hv-img, .hv-t (title), .hv-arr (arrow that slides). */
:root { --hv: var(--sv-acc); --hv-rest: #cbd5e1; --hv-w: 2px; --hv-t: .18s; --hv-ease: cubic-bezier(.22, 1, .36, 1); --hv-hair: rgba(17, 24, 39, .07); }
.sf { --hv: var(--sf-acc); --hv-w: 1.5px; }
.hv-dark { --hv: #9cc3dc; --hv-rest: rgba(255, 255, 255, .3); --hv-hair: rgba(255, 255, 255, .1); }

:where(a[href], button:not(:disabled), summary, [role="button"], [role="tab"], label[for], select) { cursor: pointer; }
:where(a[href], button, summary, [role="button"], [role="tab"], [tabindex]:not([tabindex="-1"])):focus-visible { outline: 2px solid var(--hv); outline-offset: 3px; }

/* text links: the drawn underline */
:is(.hv-u, .hv-ul, .hv-t, .sf-g a, .sf-bot a, .sf-by, .sf-logo span, .sv-side ol a, .sv-side p a, .sv-prose a:not([class]), .sv-facts a) {
  background-image: linear-gradient(var(--hv), var(--hv)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 var(--hv-w);
  transition: background-size var(--hv-t) var(--hv-ease), color var(--hv-t) var(--hv-ease);
}
/* links that already show a quiet underline at rest: the accent line draws over it */
:is(.hv-ul, .sv-prose a:not([class]), .sv-facts a) {
  text-decoration: none; padding-bottom: 1px;
  background-image: linear-gradient(var(--hv), var(--hv)), linear-gradient(var(--hv-rest), var(--hv-rest));
  background-size: 0 var(--hv-w), 100% 1px;
}
.sv-side ol a, .hv-t { width: fit-content; }
@media (hover: hover) {
  :is(.hv-u, .sf-g a, .sf-bot a, .sf-by, .sv-side ol a, .sv-side p a):hover, .sf-logo:hover span { background-size: 100% var(--hv-w); color: var(--hv); }
  .hv-card:hover .hv-t, .group:hover .hv-t { background-size: 100% var(--hv-w); }
  :is(.hv-ul, .sv-prose a:not([class]), .sv-facts a):hover { background-size: 100% var(--hv-w), 100% 1px; color: var(--hv); }
}
:is(.hv-u, .sf-g a, .sf-bot a, .sf-by, .sv-side ol a, .sv-side p a):focus-visible, .sf-logo:focus-visible span { background-size: 100% var(--hv-w); color: var(--hv); }
.hv-card:focus-visible .hv-t, .hv-card:focus-within .hv-t, .group:focus-visible .hv-t { background-size: 100% var(--hv-w); }
:is(.hv-ul, .sv-prose a:not([class]), .sv-facts a):focus-visible { background-size: 100% var(--hv-w), 100% 1px; color: var(--hv); }
.sf-logo img { transition: opacity var(--hv-t) var(--hv-ease); }

/* the nav pill: hovered text darkens, the marker previews (shell.js sets .5 on a hovered item that isn't the page) */
.sn-links a:focus-visible { outline-offset: 0; }
.sn-mark { transition: box-shadow var(--hv-t) var(--hv-ease); }
@media (hover: hover) { .sn-mark:hover { box-shadow: 0 0 0 3px var(--sn-ind, #f3f4f6); } }
.sn-mark:focus-visible { box-shadow: 0 0 0 3px var(--sn-ind, #f3f4f6); }

/* buttons: one fill step, the arrow slides 3 px right */
.sn-arr, .sv-btn-arr, .sf-pill svg, .hv-arr { transition: transform var(--hv-t) var(--hv-ease); }
.sn-cta:hover .sn-arr svg, .sv-btn:hover .sv-btn-arr svg { transform: none; }
@media (hover: hover) {
  :is(.sn-cta, .sn-sheet-cta):hover .sn-arr, .sv-btn:hover .sv-btn-arr, .sf-pill:hover svg, .group:hover .hv-arr, .hv-btn:hover .hv-arr { transform: translateX(3px); }
  .sv-btn--ghost:hover { background: #f3f4f6; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
}
:is(.sn-cta, .sn-sheet-cta):focus-visible .sn-arr, .sv-btn:focus-visible .sv-btn-arr, .sf-pill:focus-visible svg, .group:focus-visible .hv-arr { transform: translateX(3px); }
.sn-cta:focus-visible { background: var(--sn-cta-h, #000); }
.sv-btn:focus-visible { background: var(--sv-acc-h); }
.sf-pill:focus-visible { background: var(--sf-pill-h); }

/* link cards: hairline to the accent, 2% image zoom inside the clip, title underline. No scale or lift */
.hv-card { transition: box-shadow var(--hv-t) var(--hv-ease); }
.hv-frame { position: relative; isolation: isolate; }
.hv-frame::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--hv-hair); pointer-events: none; transition: box-shadow var(--hv-t) var(--hv-ease); }
/* the zoom uses the separate scale property, so it never fights a reveal or drift that moves the same picture */
.hv-img { transition: scale .6s var(--hv-ease); }
.rv-img > img.hv-img { transition: transform 1.6s cubic-bezier(.16, 1, .3, 1), scale .6s var(--hv-ease); transition-delay: var(--d, 0s), 0s; }
@media (hover: hover) {
  .hv-card:hover .hv-frame::after { box-shadow: inset 0 0 0 1.5px var(--hv); }
  .hv-card:hover .hv-img { scale: 1.02; }
}
.hv-card:focus-visible { outline: none; }
.hv-card:focus-visible .hv-frame::after { box-shadow: inset 0 0 0 1.5px var(--hv), inset 0 0 0 4px rgba(255, 255, 255, .9); }
.hv-card.hv-frame:focus-visible::after { box-shadow: inset 0 0 0 1.5px var(--hv), inset 0 0 0 4px rgba(255, 255, 255, .9); }
@media (hover: hover) { .hv-card.hv-frame:hover::after { box-shadow: inset 0 0 0 1.5px var(--hv); } }

@media (prefers-reduced-motion: reduce) {
  .hv-card:hover .hv-img { scale: none; }
}
