/* kronwatt.com — the one stylesheet.
   Spec: docs/superpowers/specs/2026-09-21-site-v2-design.md §5. Values from
   .work/design-inspiration.md. Tokens named --color-*, --font-*, --radius-*,
   --shadow-* or --text-* are the app's own (frontend/src/styles/globals.css) and the
   site check (S5) holds them equal; everything else here is the site's. */

/* ─── Tokens ───────────────────────────────────────────────────────────── */
:root {
  --color-background: oklch(97.5% 0.022 90);
  --color-surface: oklch(99% 0.012 88);
  --color-surface-2: oklch(95% 0.026 88);
  --color-surface-tint: oklch(97% 0.014 168);
  --color-ink: oklch(22% 0.018 215);
  --color-ink-2: oklch(42% 0.012 215);
  --color-ink-3: oklch(58% 0.01 215);
  --color-border: oklch(89% 0.018 88);
  --color-border-strong: oklch(80% 0.022 88);
  --color-accent: oklch(48% 0.072 168);
  --color-accent-deep: oklch(30% 0.055 168);
  --color-accent-soft: oklch(93% 0.028 168);
  --color-accent-ink: oklch(99% 0.005 168);
  --color-delta-good: oklch(52% 0.14 150);
  --color-delta-bad: oklch(50% 0.17 25);
  --color-family-envelope: oklch(58% 0.085 250);
  --color-family-envelope-soft: oklch(94% 0.028 250);
  --color-family-heat: oklch(58% 0.115 52);
  --color-family-heat-soft: oklch(95% 0.038 62);
  --color-family-generate: oklch(66% 0.13 85);
  --color-family-generate-soft: oklch(95% 0.05 85);
  --color-family-tariff: oklch(52% 0.09 300);
  --color-family-tariff-soft: oklch(95% 0.03 300);

  --shadow-sm: 0 1px 2px oklch(20% 0.02 215 / 0.04), 0 1px 3px oklch(20% 0.02 215 / 0.04);
  --shadow-md: 0 2px 6px oklch(20% 0.02 215 / 0.06), 0 8px 24px oklch(20% 0.02 215 / 0.06);

  --font-display: 'Newsreader', Georgia, serif;
  --font-ui: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  /* Type, fluid from 375 to 1280 px. */
  --fs-h1: clamp(2.25rem, 1.421rem + 3.536vw, 4.25rem);
  --fs-h2: clamp(1.75rem, 1.336rem + 1.768vw, 2.75rem);
  --fs-h3: clamp(1.3125rem, 1.183rem + 0.552vw, 1.625rem);
  --fs-lede: clamp(1.25rem, 1.198rem + 0.221vw, 1.375rem);
  --fs-body: 1.125rem;
  --fs-small: 0.9375rem;
  --fs-number: clamp(2.75rem, 1.818rem + 3.978vw, 5rem);

  /* Space. */
  --gutter: clamp(1.25rem, 0.525rem + 3.094vw, 3rem);
  --section-pad: clamp(4rem, 2.343rem + 7.072vw, 8rem);
  --content-max: 1200px;
  --measure: 65ch;
  --header-h: 56px;

  /* Motion (every use sits under prefers-reduced-motion: no-preference — S13). Fade
     and collapse are the app's own tokens; the rest are the site's (S5). */
  --dur-press: 100ms;
  --dur-hover: 160ms;
  --dur-exit: 200ms;
  --duration-fade: 260ms;
  --duration-collapse: 320ms;
  --dur-reveal: 400ms;
  --dur-data: 900ms;
  --stagger: 40ms;
  --ease-ui: cubic-bezier(.2, .8, .2, 1);
  --ease-standard: cubic-bezier(.2, 0, 0, 1);
  --ease-enter: cubic-bezier(.05, .7, .1, 1);
  --ease-exit: cubic-bezier(.3, 0, .8, .15);
  --ease-data: cubic-bezier(.4, 0, .2, 1);

  /* The deep block's reversed palette: the accent family, lightened for dark ground.
     Every raw colour is named here, once (S5); blocks switch through --block-*. */
  --deep-ink-2: oklch(86% 0.02 168);
  --deep-ink-bright: oklch(92% 0.02 168);
  --deep-accent: oklch(80% 0.07 168);
  --deep-soft: oklch(36% 0.05 168);
  --deep-line: oklch(42% 0.045 168);
  --deep-hover: oklch(92% 0.03 168);

  /* The EU energy-label colours, for the renovation-plan figure only. */
  --class-a: oklch(52% 0.13 155);
  --class-b: oklch(60% 0.14 140);
  --class-c: oklch(70% 0.14 120);
  --class-d: oklch(78% 0.13 95);
  --class-e: oklch(72% 0.14 70);
  --class-f: oklch(64% 0.15 45);
  --class-g: oklch(55% 0.17 28);

  /* A section's colours. Components read only these; a section sets them. */
  --block-bg: var(--color-background);
  --block-ink: var(--color-ink);
  --block-ink-2: var(--color-ink-2);
  --block-accent: var(--color-accent);
  --block-soft: var(--color-accent-soft);
  --block-line: var(--color-border);

  color-scheme: light;
}
@media (min-width: 768px) { :root { --header-h: 64px; } }

/* ─── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--color-background); color: var(--color-ink-2);
  font: 400 var(--fs-body)/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 500; font-optical-sizing: auto;
  color: var(--block-ink); margin: 0; text-wrap: balance; hyphens: manual;
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.018em; }
h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.014em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.006em; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 0.9em; }
strong { color: var(--block-ink); font-weight: 650; }
a { color: var(--color-accent-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
/* Figures are Manrope with tabular digits, as in the app's offer document. JetBrains Mono gave the
   no-break space and the decimal comma a whole digit's width each; it is kept for formulas only. */
.num { font-variant-numeric: tabular-nums lining-nums; }
::selection { background: var(--color-accent-soft); color: var(--color-ink); }

:focus-visible { outline: 3px solid var(--color-accent-deep); outline-offset: 2px; border-radius: 4px; }
[data-tone="deep"] :focus-visible { outline-color: var(--color-accent-ink); }
/* A term and the punctuation after it stay on one line; the term itself may still wrap. */
.nw { white-space: nowrap; }
.nw > .term { white-space: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--color-ink); color: var(--color-accent-ink);
             padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ─── Layout ───────────────────────────────────────────────────────────── */
.wrap { max-width: calc(var(--content-max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: var(--measure); }
/* :where() keeps this at one class, so .hero and .doc-head can set their own padding. */
:where(section).block { background: var(--block-bg); color: var(--block-ink-2); padding-block: var(--section-pad); }
section.block + section.block[data-family], section.block[data-family] + section.block { /* coloured blocks never touch: cream sits between */ }

[data-family="store"]    { --block-bg: var(--color-accent-soft);           --block-accent: var(--color-accent);           --block-soft: var(--color-surface); }
[data-family="envelope"] { --block-bg: var(--color-family-envelope-soft);  --block-accent: var(--color-family-envelope);  --block-soft: var(--color-surface); }
[data-family="heat"]     { --block-bg: var(--color-family-heat-soft);      --block-accent: var(--color-family-heat);      --block-soft: var(--color-surface); }
[data-family="generate"] { --block-bg: var(--color-family-generate-soft);  --block-accent: var(--color-family-generate);  --block-soft: var(--color-surface); }
[data-family="tariff"]   { --block-bg: var(--color-family-tariff-soft);    --block-accent: var(--color-family-tariff);    --block-soft: var(--color-surface); }
[data-tone="deep"] {
  --block-bg: var(--color-accent-deep); --block-ink: var(--color-accent-ink);
  --block-ink-2: var(--deep-ink-2); --block-accent: var(--deep-accent);
  --block-soft: var(--deep-soft); --block-line: var(--deep-line);
}
[data-tone="deep"] a { color: var(--color-accent-ink); }

.block-head { max-width: 46rem; }
/* What Kronwatt does not do: a tinted card on cream, so no two coloured blocks touch. */
.limits { max-width: none; background: var(--color-family-heat-soft); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.limits > * { max-width: 46rem; }
.block-head h2 + p, .block-head h1 + p, h2 + .lede, h1 + .lede { margin-top: 18px; }
.honest { margin-top: 28px; max-width: 46rem; font-size: 17px; line-height: 1.55; color: var(--block-ink-2);
          padding: 16px 18px; border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-border); }
.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--block-ink-2); }
.eyebrow-free { margin-top: 0; }
.stack-lg > * + * { margin-top: clamp(32px, 4vw, 56px); }
.stack-md > * + * { margin-top: 24px; }

.grid-2, .grid-3 { display: grid; gap: clamp(20px, 3vw, 40px); }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 600px) and (max-width: 959px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } .split.reverse > :first-child { order: 2; } }

/* ─── Header and menu ──────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in oklch, var(--color-background) 86%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color var(--duration-fade) linear;
}
html[data-scrolled] .site-header { border-bottom-color: var(--color-border); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 12px; }
.logo {
  font-family: var(--font-display); font-weight: 500; font-optical-sizing: auto; font-size: 23px;
  color: var(--color-ink); letter-spacing: -0.006em; white-space: nowrap; text-decoration: none; line-height: 1;
}
.logo .u { color: var(--color-accent); text-transform: uppercase; font-size: 0.74em; font-weight: 600;
           letter-spacing: 0.075em; margin-left: 0.055em; margin-right: -0.075em; }
.site-header .spacer { flex: 1; }
.nav-links { display: none; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--color-ink-2); text-decoration: none; font-weight: 550; font-size: 16px; padding-block: 10px; }
.nav-links a:hover { color: var(--color-ink); }
.nav-links a[aria-current="page"] { color: var(--color-ink); box-shadow: inset 0 -3px 0 var(--color-accent); }
.nav-lang { color: var(--color-ink-2); font-size: 15px; font-weight: 550; text-decoration: none; }
@media (min-width: 768px) { .nav-lang { margin-left: 6px; padding-left: 18px; border-left: 1px solid var(--color-border-strong); } }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--color-accent); color: var(--color-accent-ink); text-decoration: none;
  font-weight: 650; font-size: 15px; white-space: nowrap; transition: background-color var(--dur-hover) var(--ease-ui);
}
.pill:hover { background: var(--color-accent-deep); }
.menu-button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px;
  border: 1px solid var(--color-border-strong); border-radius: 999px; background: var(--color-surface);
  font: 600 15px/1 var(--font-ui); color: var(--color-ink); cursor: pointer;
}
.menu-button svg { width: 16px; height: 16px; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-button { display: none; }
}
@media (max-width: 767px) {
  .nav-lang.desktop-only, .site-header [data-nav] { display: none; }
  .site-header .wrap { gap: 8px; }
  .pill, .menu-button, .menu-button svg { flex: none; }
  .site-header .pill { padding: 0 14px; }
}
@media (max-width: 359px) { .site-header .pill { display: none; } }

.menu-sheet {
  position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--color-background); color: var(--color-ink);
}
.menu-sheet::backdrop { background: transparent; }
.menu-sheet .sheet-head { height: var(--header-h); display: flex; align-items: center; gap: 12px; padding-inline: var(--gutter); }
.menu-sheet .sheet-body { padding: 12px var(--gutter) 40px; display: flex; flex-direction: column; min-height: calc(100dvh - var(--header-h)); }
.menu-sheet nav ul { list-style: none; }
.menu-sheet nav a {
  display: flex; align-items: center; min-height: 60px; border-bottom: 1px solid var(--color-border);
  font: 500 26px/1.2 var(--font-display); color: var(--color-ink); text-decoration: none;
}
.menu-sheet nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--color-accent); padding-left: 14px; }
.menu-sheet .sheet-cta { margin-top: 28px; width: 100%; min-height: 52px; font-size: 17px; }
.menu-sheet .sheet-foot { margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 16px; }
.menu-sheet .sheet-foot a { color: var(--color-ink-2); }
body:has(.menu-sheet[open]) { overflow: hidden; }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 32px; }
@media (max-width: 479px) { .hero .actions .btn { flex: 1 1 100%; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font: 650 17px/1 var(--font-ui); text-decoration: none; border: 1.5px solid transparent;
  transition: background-color var(--dur-hover) var(--ease-ui), color var(--dur-hover) var(--ease-ui), border-color var(--dur-hover) var(--ease-ui);
}
.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn-primary:hover { background: var(--color-accent-deep); }
.btn-secondary { background: transparent; color: var(--block-ink); border-color: var(--color-border-strong); }
.btn-secondary:hover { border-color: var(--block-ink); }
[data-tone="deep"] .btn-primary { background: var(--color-accent-ink); color: var(--color-accent-deep); }
[data-tone="deep"] .btn-primary:hover { background: var(--deep-hover); }
.reassure { font-size: var(--fs-small); color: var(--block-ink-2); margin-top: 14px; }

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(40px, 6vw, 96px) clamp(56px, 7vw, 112px); }
.hero h1 { max-width: 14ch; }
.hero .lede { margin-top: 22px; max-width: 36rem; }
.hero .who { margin-top: 16px; font-size: var(--fs-small); color: var(--color-ink-2); }
.hero-visual { position: relative; }

/* The house, drawn as the app draws it. Facts arrive one by one (motion below). */
.house-card {
  position: relative; background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(14px, 2vw, 22px); border: 1px solid var(--color-border);
}
.house-card figcaption { font-size: var(--fs-small); color: var(--color-ink-2); margin-top: 10px; }
.house-art { position: relative; }
.house-art svg { width: 100%; height: auto; }
.fact-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; }
.fact {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  background: var(--color-surface-2); color: var(--color-ink); font-size: 14.5px; font-weight: 600; line-height: 1.2;
}
.fact i { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--dot, var(--color-accent)); }

/* The result card: the product's answer, from a real engine run. */
.result-card {
  background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--color-border);
  padding: clamp(18px, 2.4vw, 28px);
}
.result-card .rc-label { font-size: 14px; font-weight: 650; color: var(--color-ink-2); }
.result-card .rc-house { font-family: var(--font-display); font-size: 21px; color: var(--color-ink); margin-top: 4px; }
.rc-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.rc-row:last-of-type { border-bottom: 0; }
.rc-row .k { font-size: 16px; color: var(--color-ink-2); }
.rc-row .v { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--color-ink); white-space: nowrap; }
.rc-big { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.rc-big .v { font-size: var(--fs-number); font-weight: 700; line-height: 1; color: var(--color-accent-deep); letter-spacing: -0.03em; font-variant-numeric: tabular-nums lining-nums; }
.rc-big .u { font-size: 17px; color: var(--color-ink-2); }
.rc-note { font-size: 14px; color: var(--color-ink-2); margin-top: 12px; }
/* Yearly figures and the one-off cost, in two labelled groups: 41 200 kr is not per year. */
.rc-group { margin-top: 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink-2); }
.rc-group + .rc-row { padding-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.chip-good { background: var(--color-accent-soft); color: var(--color-accent-deep); }
.chip-bad { background: var(--color-surface-2); color: var(--color-ink-2); }
.chip svg { width: 13px; height: 13px; }

/* ─── Steps (a real sequence, so numbered) ─────────────────────────────── */
.steps { display: grid; gap: 20px; list-style: none; margin-top: clamp(32px, 4vw, 52px); counter-reset: step; }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.step { background: var(--block-soft); border-radius: var(--radius-lg); padding: 24px; position: relative; }
.step .n {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--block-accent); color: var(--color-accent-ink); font: 700 16px/1 var(--font-ui);
}
.step h3 { margin-top: 16px; }
.step p { margin-top: 10px; font-size: 17px; }
.step .frag { margin-top: 18px; }
@media (min-width: 960px) { .split > .frag { font-size: 16px; padding: 20px 22px; } }

/* Product fragments: small pieces of the real app, rebuilt in HTML. */
.frag { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 14px 16px; box-shadow: var(--shadow-sm); font-size: 15px; color: var(--color-ink); }
.frag-title { font-size: 13px; font-weight: 700; color: var(--color-ink-2); margin-bottom: 8px; }
.frag-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--color-border); }
.frag-row:first-of-type { border-top: 0; }
.frag-row b { font-weight: 700; font-variant-numeric: tabular-nums; }
.frag-field b { white-space: nowrap; }
.frag-field { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 10px; margin-top: 6px;
              border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm); background: var(--color-background); }
.frag-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.frag-bars span { flex: 1; background: var(--color-accent); border-radius: 4px 4px 0 0; min-height: 6px; transform-origin: bottom; }
.frag-bars span.muted { background: var(--color-border-strong); }
/* Prices: the dear hours are the warm family colour; green would read as "good". */
.frag-bars.prices span:not(.muted) { background: var(--color-family-heat); }

/* ─── Family cards: what you can calculate today ───────────────────────── */
.fam-cards { display: grid; gap: 16px; margin-top: clamp(28px, 4vw, 48px); list-style: none; }
@media (min-width: 600px) { .fam-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .fam-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fam-card { --fam: var(--color-accent); --fam-soft: var(--color-accent-soft);
            background: var(--fam-soft); border-radius: var(--radius-lg); padding: 22px 22px 24px; }
.fam-card[data-fam="tariff"]   { --fam: var(--color-family-tariff);   --fam-soft: var(--color-family-tariff-soft); }
.fam-card[data-fam="generate"] { --fam: var(--color-family-generate); --fam-soft: var(--color-family-generate-soft); }
.fam-card[data-fam="envelope"] { --fam: var(--color-family-envelope); --fam-soft: var(--color-family-envelope-soft); }
.fam-card[data-fam="heat"]     { --fam: var(--color-family-heat);     --fam-soft: var(--color-family-heat-soft); }
.fam-card[data-fam="plain"]    { --fam: var(--color-accent-deep);     --fam-soft: var(--color-surface-2); }
.fam-card .mark { width: 40px; height: 40px; border-radius: 12px; background: var(--fam); display: grid; place-items: center; color: var(--color-accent-ink); }
.fam-card .mark svg { width: 22px; height: 22px; }
.fam-card h3 { margin-top: 16px; font-size: 22px; }
@media (max-width: 599px) {
  .fam-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .fam-card h3 { margin-top: 0; }
  .fam-card p { grid-column: 1 / -1; }
}
.fam-card p { margin-top: 8px; font-size: 17px; color: var(--color-ink-2); }

/* ─── Audience columns ─────────────────────────────────────────────────── */
.who-cols { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 48px); list-style: none; }
@media (min-width: 960px) { .who-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.who-cols li { border-top: 3px solid var(--block-accent); padding-top: 18px; }
.who-cols h3 { font-size: 22px; }
.who-cols p { margin-top: 8px; font-size: 17px; }
.who-cols a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 600; }

/* ─── Links onward (guides, tools) ─────────────────────────────────────── */
.go-cards { display: grid; gap: 16px; margin-top: clamp(28px, 4vw, 48px); list-style: none; }
@media (min-width: 720px) { .go-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.go-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; border-radius: var(--radius-lg);
           background: var(--color-surface); border: 1px solid var(--color-border); text-decoration: none; color: var(--color-ink-2); position: relative; }
.go-card h3 { font-size: 21px; color: var(--color-ink); }
.go-card h3::after { content: "\2009→"; color: var(--color-accent); }
.go-card p { font-size: 16.5px; }
.go-card .kind { font-size: 13.5px; font-weight: 700; color: var(--color-accent-deep); }
.go-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--shadow-md); opacity: 0;
                  transition: opacity var(--dur-hover) var(--ease-ui); pointer-events: none; }
@media (hover: hover) { .go-card:hover::after { opacity: 1; } .go-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; } }

/* ─── Depth: expanders and term explainers ─────────────────────────────── */
details.more { margin-top: 20px; border-radius: var(--radius-md); background: var(--block-soft); border: 1px solid var(--block-line); }
details.more > summary {
  list-style: none; cursor: pointer; min-height: 52px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font: 650 17px/1.35 var(--font-ui); color: var(--block-ink);
}
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after {
  content: ""; width: 10px; height: 10px; flex: none; margin-right: 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px);
}
details.more[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
details.more .more-body { padding: 2px 18px 18px; border-left: 3px solid var(--block-accent); margin: 0 18px 16px; font-size: 16.5px; }
details.more .more-body > * + * { margin-top: 10px; }
details.more .more-body ul, details.more .more-body ol { padding-left: 1.2em; }
details.more .more-body li + li { margin-top: 6px; }

.term { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer;
        text-decoration: underline dotted 1.5px; text-underline-offset: 4px; text-decoration-color: var(--block-accent); }
.term[aria-expanded="true"] { text-decoration-style: solid; }
.term-def { display: block; margin: 10px 0 4px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--color-surface);
            border: 1px solid var(--color-border); border-left: 3px solid var(--block-accent); font-size: 16px; color: var(--color-ink-2); }
.term-def[hidden] { display: none; }
.term-def a { display: inline-block; margin-top: 4px; font-weight: 600; }
[data-tone="deep"] .term-def { background: var(--block-soft); color: var(--block-ink-2); border-color: var(--block-line); }

/* ─── Figures ──────────────────────────────────────────────────────────── */
figure { margin: 0; }
.fig { margin-top: clamp(24px, 3vw, 40px); }
.fig-title { font-size: 15px; font-weight: 700; color: var(--block-ink); }
.fig-title { font: 600 18px/1.35 var(--font-ui); color: var(--block-ink); }
.fig-note { font-size: 14px; color: var(--block-ink-2); margin-top: 10px; }
.hbars { list-style: none; margin-top: 16px; display: grid; gap: 14px; }
.hbar .lab { display: flex; justify-content: space-between; gap: 10px; font-size: 15.5px; color: var(--block-ink); }
.hbar .lab .v { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hbar .track { height: 22px; margin-top: 6px; border-radius: 0 6px 6px 0; background: var(--block-line); overflow: hidden; }
.hbar .fill { display: block; height: 100%; width: var(--w); border-radius: 0 6px 6px 0; background: var(--block-accent); transform-origin: left; }
.hbar.muted .fill { background: var(--color-ink-3); }

/* ─── Founder and contact ──────────────────────────────────────────────── */
.founder { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .founder { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; } }
.founder .name { font: 500 var(--fs-h3)/1.2 var(--font-display); color: var(--block-ink); }
.founder .role { font-size: 16px; color: var(--block-ink-2); margin-top: 4px; }
.reasons { list-style: none; display: grid; gap: 10px; }
.reasons a { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px; padding: 12px 16px;
             border-radius: var(--radius-md); background: var(--block-soft); text-decoration: none; font-weight: 600; color: var(--block-ink); }
.reasons a svg { width: 18px; height: 18px; flex: none; opacity: .8; }
.mail-line { margin-top: 16px; font-size: 16px; }
.mail-line .num { font-size: 16px; }

/* ─── Docs ─────────────────────────────────────────────────────────────── */
.crumbs { font-size: 14.5px; color: var(--color-ink-2); display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.crumbs a { color: var(--color-ink-2); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--color-ink-3); }
.doc-head { padding-block: clamp(32px, 5vw, 72px) clamp(24px, 3vw, 40px); }
.doc-head h1 { font-size: clamp(2rem, 1.47rem + 2.26vw, 3.25rem); line-height: 1.08; max-width: 22ch; margin-top: 18px; }
.doc-head .lede { margin-top: 18px; max-width: 40rem; }
.byline { margin-top: 18px; font-size: 15px; color: var(--color-ink-2); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.kort {
  --kort-bg: var(--color-accent-soft); --kort-mark: var(--color-accent);
  background: var(--kort-bg); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); margin-top: 8px;
}
.kort[data-fam="envelope"] { --kort-bg: var(--color-family-envelope-soft); --kort-mark: var(--color-family-envelope); }
.kort[data-fam="heat"]     { --kort-bg: var(--color-family-heat-soft);     --kort-mark: var(--color-family-heat); }
.kort[data-fam="generate"] { --kort-bg: var(--color-family-generate-soft); --kort-mark: var(--color-family-generate); }
.kort[data-fam="tariff"]   { --kort-bg: var(--color-family-tariff-soft);   --kort-mark: var(--color-family-tariff); }
.kort h2, .prose .kort h2 { margin-top: 0; font-size: 22px; }
.kort + * { margin-top: 32px; }
.kort ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.kort li { position: relative; padding-left: 30px; color: var(--color-ink); font-size: 17px; }
.kort li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 14px; height: 8px;
                   border-left: 2.5px solid var(--kort-mark); border-bottom: 2.5px solid var(--kort-mark); transform: rotate(-45deg); }
.toc { margin-top: 24px; }
.toc summary { cursor: pointer; font-weight: 650; color: var(--color-ink); min-height: 44px; display: flex; align-items: center; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 8px; height: 8px; margin-left: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.toc[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.toc ol { list-style: none; display: grid; gap: 8px; margin-top: 8px; padding-left: 2px; }
.toc a { color: var(--color-ink-2); }
.doc-body { padding-bottom: var(--section-pad); }
.doc-body .prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + 0.85vw, 2rem); margin-top: 56px; }
.prose h3 { font-size: 21px; margin-top: 36px; }
.prose p { margin-top: 16px; }
.prose ul, .prose ol { margin-top: 14px; padding-left: 1.25em; }
.prose li + li { margin-top: 8px; }
.prose blockquote { margin: 24px 0; padding: 16px 20px; border-left: 3px solid var(--color-accent); background: var(--color-surface-tint);
                    border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--color-ink); }
.prose blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; color: var(--color-accent-deep); }
.prose .formula { font-family: var(--font-mono); font-size: 15px; white-space: nowrap; overflow-x: auto; padding: 16px 18px; margin-top: 18px;
                  background: var(--color-surface); border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm); color: var(--color-ink); line-height: 1.8; }
.callout { margin-top: 28px; padding: 20px 22px; border-radius: var(--radius-md); background: var(--color-surface);
           border: 1px solid var(--color-border-strong); box-shadow: var(--shadow-sm); }
.callout-label { font-size: 13.5px; font-weight: 700; color: var(--color-accent-deep); margin: 0 0 8px !important; }
.callout p + p { margin-top: 10px; }
.table-wrap { overflow-x: auto; margin-top: 20px; overscroll-behavior-x: contain; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.table-wrap th { text-align: left; font-size: 13.5px; font-weight: 700; color: var(--color-ink-2); padding: 0 12px 8px 0; border-bottom: 1.5px solid var(--color-ink); }
.table-wrap td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--color-border); color: var(--color-ink); vertical-align: top; }
.table-wrap td.n, .table-wrap th.n, .table-wrap td.num, .table-wrap th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-wrap tr.hit td { background: var(--color-accent-soft); }
.table-wrap caption { caption-side: bottom; text-align: left; font-size: 14px; color: var(--color-ink-2); padding-top: 10px; }
.sources { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--color-border-strong); font-size: 15px; }
.sources h2 { font-size: 20px; }
.sources ol { margin-top: 10px; padding-left: 1.3em; display: grid; gap: 6px; }
.next-doc { margin-top: 40px; display: grid; gap: 12px; }
@media (min-width: 720px) { .next-doc { grid-template-columns: 1fr 1fr; } }
.next-doc a { display: block; padding: 18px 20px; border-radius: var(--radius-md); border: 1px solid var(--color-border-strong);
              background: var(--color-surface); text-decoration: none; color: var(--color-ink); }
.next-doc a span { display: block; font-size: 14px; color: var(--color-ink-2); margin-bottom: 4px; }
.next-doc a.fwd { text-align: right; }

/* Glossary page. */
.glossary { margin: 0; display: grid; gap: 0; }
.glossary-entry { padding: 18px 0; border-bottom: 1px solid var(--color-border); scroll-margin-top: calc(var(--header-h) + 20px); }
.glossary-entry dt { font: 500 22px/1.25 var(--font-display); color: var(--color-ink); }
.glossary-entry dd { margin: 6px 0 0; max-width: 62ch; }
.glossary-entry dd p + p { font-size: 16px; color: var(--color-ink-2); }
.glossary-entry:target { background: var(--color-accent-soft); border-radius: var(--radius-sm); padding-inline: 12px; }

/* ─── Åtgärdskalkylen ──────────────────────────────────────────────────── */
.tag { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--color-surface-2);
       color: var(--color-ink-2); font: 700 13px/1.2 var(--font-ui); letter-spacing: 0; }
.kalk-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 1040px) { .kalk-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); } .kalk-form-wrap { position: sticky; top: calc(var(--header-h) + 20px);
  max-height: calc(100dvh - var(--header-h) - 40px); overflow-y: auto; overscroll-behavior: contain; } }
.kalk-form { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
             padding: clamp(18px, 3vw, 28px); display: grid; gap: 22px; }
.kalk-form h2 { font-size: 24px; }
.q label, .q .qlabel { display: block; font: 650 17px/1.35 var(--font-ui); color: var(--color-ink); }
.q .hint { margin-top: 6px; font-size: 15px; color: var(--color-ink-2); }
.q .hint .term-def { font-size: 15px; }
.input-unit { position: relative; margin-top: 8px; }
.input-unit input, .q select {
  width: 100%; min-height: 52px; font: 500 18px/1.2 var(--font-ui); color: var(--color-ink); background: var(--color-background);
  border: 1.5px solid var(--color-ink-3); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 8px;
}
.input-unit input { margin-top: 0; padding-right: 64px; font-size: 18px; font-variant-numeric: tabular-nums; }
.input-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--color-ink-2); font-size: 15px; pointer-events: none; }
.q select { appearance: none; padding-right: 44px; }
/* The chevron is a bordered square on the wrapper: a <select> takes no ::after, and P6 allows no gradients. */
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 19px; top: calc(50% + 4px); width: 7px; height: 7px; pointer-events: none;
                 border-right: 2px solid var(--color-ink-2); border-bottom: 2px solid var(--color-ink-2); transform: translateY(-70%) rotate(45deg); }
.input-unit input:focus, .q select:focus { outline: 3px solid var(--color-accent-deep); outline-offset: 1px; border-color: var(--color-accent-deep); }
.kalk-form details.more { margin-top: 0; background: var(--color-background); }
.q details.why > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none;
                           font-size: 15px; font-weight: 650; color: var(--color-accent-deep); }
.q details.why > summary::-webkit-details-marker { display: none; }
.q details.why > summary::before { content: "+"; width: 1.1em; font-family: var(--font-mono); }
.q details.why[open] > summary::before { content: "−"; }
.q details.why p { margin: 0 0 4px 1.1em; font-size: 15px; color: var(--color-ink-2); max-width: 46ch; }
/* The whole table is for wide screens; on a phone the cards hold the same figures. */
@media (max-width: 959.98px) { .all-details { display: none; } }
.all-details .table-wrap { margin-top: 4px; }
.all-details tr.off td { color: var(--color-ink-3); }
.kalk-form details.more .more-body { display: grid; gap: 18px; border-left: 0; margin: 0 14px 14px; padding: 4px 4px 8px; }

.kalk-summary { background: var(--color-accent-deep); color: var(--color-accent-ink); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 26px); }
.kalk-summary p { color: var(--deep-ink-2); font-size: 16px; }
.kalk-summary .headline { font: 500 clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem)/1.2 var(--font-display); color: var(--color-accent-ink); }
.kalk-summary .threshold, .kalk-summary .together { margin-top: 8px; }
/* Without JavaScript the summary and the bar have nothing to say: the <noscript> line does. */
.kalk-summary:has(.headline:empty), .kalk-bar:empty { display: none; }
.kalk-summary .kalk-warn { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--deep-soft); color: var(--deep-ink-bright); font-size: 15.5px; border-left: 3px solid var(--deep-accent); }

.measure-cards { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
.mcard { --fam: var(--color-accent); background: var(--color-surface); border: 1px solid var(--color-border); border-left: 5px solid var(--fam);
         border-radius: var(--radius-md); padding: 16px 18px 14px; }
.mcard[data-fam="envelope"] { --fam: var(--color-family-envelope); }
.mcard[data-fam="heat"]     { --fam: var(--color-family-heat); }
.mcard[data-fam="generate"] { --fam: var(--color-family-generate); }
.mcard.off { background: var(--color-background); }
/* A card left out is quieter, not faded: faded text fell to 2.4:1. */
.mcard.off { border-left-color: var(--color-border-strong); }
.mcard.off :is(h3, .big .v, dd) { color: var(--color-ink-2); }
.mcard-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.mcard-head .pick { display: grid; place-items: center; width: 44px; height: 44px; margin: -8px -8px 0 -11px; cursor: pointer; }
.mcard-head input[type="checkbox"] { width: 22px; height: 22px; margin: 0; accent-color: var(--color-accent); }
.mcard h3 { font-size: 20px; line-height: 1.25; }
@media (max-width: 519px) { .mcard-head { grid-template-columns: auto minmax(0, 1fr); } .mcard-head .chip { grid-column: 2; justify-self: start; margin-top: -4px; } }
.form-name { font-size: 14px; color: var(--color-ink-2); margin-top: 2px; }
.mcard-figs { display: grid; gap: 10px 20px; margin-top: 12px; align-items: end; }
@media (min-width: 520px) { .mcard-figs { grid-template-columns: auto minmax(0, 1fr); } }
.mcard .big .v { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--color-ink); letter-spacing: -0.01em; }
.mcard .big .u { display: block; font-size: 14px; color: var(--color-ink-2); }
.mcard dl { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.mcard dt { font-size: 13.5px; color: var(--color-ink-2); }
.mcard dd { margin: 0; font-size: 15.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--color-ink); white-space: nowrap; }
.mcard .note { margin-top: 8px; font-size: 14.5px; color: var(--color-ink-2); }
.mcard details.edit { margin-top: 12px; }
.mcard details.edit > summary { cursor: pointer; font-weight: 650; font-size: 15.5px; color: var(--color-accent-deep); min-height: 44px; display: inline-flex; align-items: center; }
.edit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-top: 8px; }
.edit-grid label { font-size: 14px; font-weight: 600; color: var(--color-ink-2); }
.edit-grid .input-unit input { min-height: 46px; font-size: 16px; padding-right: 54px; margin-top: 4px; }
.edit-grid .input-unit span { font-size: 13.5px; }

.split-bar { display: flex; gap: 2px; height: 26px; margin-top: 14px; border-radius: 8px; overflow: hidden; }
.split-bar span { display: block; height: 100%; min-width: 2px; width: var(--w); background: var(--seg); }
.split-legend { list-style: none; display: grid; gap: 6px; margin-top: 10px; font-size: 15px; }
.split-legend li { display: flex; justify-content: space-between; gap: 12px; }
.split-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--seg); margin-right: 8px; }
.split-legend b { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--color-ink); white-space: nowrap; }
.kalk-formula { font-family: var(--font-mono); font-size: 14px; white-space: pre; overflow-x: auto; padding: 14px 16px; background: var(--color-background);
                border: 1px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-ink); line-height: 1.7; }

.kalk-bar { position: sticky; bottom: 0; z-index: 30; margin-top: 18px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
            background: color-mix(in oklch, var(--color-surface) 95%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
            border: 1px solid var(--color-border); border-radius: var(--radius-md) var(--radius-md) 0 0; box-shadow: var(--shadow-md);
            display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; color: var(--color-ink-2); }
/* On a wide screen the summary is in view beside the form; the bar would only cover cards. */
@media (min-width: 1040px) { .kalk-bar { position: static; border-radius: var(--radius-md); } }
.kalk-bar b { color: var(--color-ink); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ─── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--color-surface-2); padding-block: 48px 64px; font-size: 16px; }
body { min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
.lost-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 28px; }
.lost-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.site-footer .cols { display: grid; gap: 28px; }
@media (min-width: 720px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font: 700 14px/1.3 var(--font-ui); color: var(--color-ink); letter-spacing: 0.02em; }
.site-footer ul { list-style: none; display: grid; gap: 0; margin-top: 4px; }
.site-footer li a { display: inline-block; padding-block: 11px; }
.site-footer a { color: var(--color-ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--color-ink); text-decoration: underline; }
.site-footer .fine { margin-top: 36px; font-size: 14px; color: var(--color-ink-2); }

/* ─── Motion — only for those who have not asked for less (S13) ────────── */
@media (prefers-reduced-motion: no-preference) {
  .rv [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(16px); }
  .rv [data-reveal] { transition: opacity var(--dur-reveal) var(--ease-enter), transform var(--dur-reveal) var(--ease-enter);
                      transition-delay: calc(var(--i, 0) * var(--stagger)); }

  /* The house: its facts arrive one after another. */
  .rv .house-card:not(.is-in) .slot { opacity: 0; transform: translateY(-6px); }
  .rv .house-card .slot { transition: opacity var(--dur-reveal) var(--ease-enter), transform var(--dur-reveal) var(--ease-enter);
                          transition-delay: calc(300ms + var(--i, 0) * 220ms); transform-box: fill-box; }
  .rv .house-card:not(.is-in) .fact { opacity: 0; transform: translateY(6px); }
  .rv .house-card .fact { transition: opacity var(--dur-reveal) var(--ease-enter), transform var(--dur-reveal) var(--ease-enter);
                          transition-delay: calc(300ms + var(--i, 0) * 220ms); }

  /* Bars grow from their baseline, once. */
  .rv .fig:not(.is-in) .hbar .fill { transform: scaleX(0); }
  .rv .fig .hbar .fill { transition: transform 700ms var(--ease-standard); transition-delay: calc(var(--i, 0) * 60ms); }
  .rv .frag:not(.is-in) .frag-bars span { transform: scaleY(0.05); }
  .rv .frag .frag-bars span { transition: transform 700ms var(--ease-standard); transition-delay: calc(var(--i, 0) * 60ms); }

  .menu-sheet[open] nav li { animation: sheet-in var(--duration-fade) var(--ease-enter) both; animation-delay: calc(var(--i, 0) * 30ms); }
  @keyframes sheet-in { from { opacity: 0; transform: translateY(8px); } }
  .term-def:not([hidden]) { animation: def-in var(--duration-fade) var(--ease-enter); }
  @keyframes def-in { from { opacity: 0; transform: translateY(4px); } }

  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    details.more::details-content { height: 0; overflow: clip;
      transition: height var(--duration-collapse) var(--ease-ui), content-visibility var(--duration-collapse) allow-discrete; }
    details.more[open]::details-content { height: auto; }
  }
  details.more > summary::after { transition: transform var(--dur-exit) var(--ease-ui); }

  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
}

@media print {
  .site-header, .menu-sheet, .site-footer, .actions { display: none !important; }
  [data-reveal], .slot, .fact { opacity: 1 !important; transform: none !important; }
  :where(section).block { padding-block: 24px; }
}
