:root {
  /* Native controls (scrollbars, date pickers, autofill) follow the visitor's theme. */
  color-scheme: light dark;
  /* Two families, system fonts only — no @font-face, no CDN, nothing for
     font-src 'none' to block. --font-display is a serif for the one
     headline per page that carries the emotional weight (h1 only); every
     other heading and all body/UI text stays in --font-body. This is the
     one deliberate personality choice in the type system — everywhere else
     still reads as one consistent voice. */
  --font-display: Georgia, 'Iowan Old Style', 'Palatino Linotype', Palatino, serif;
  --font-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Type scale — deliberately sized. */
  --text-xs: .75rem;       /* 12px */
  --text-sm: .8125rem;     /* 13px */
  --text-base: 1rem;       /* 16px */
  --text-md: 1.0625rem;    /* 17px */
  --text-lg: 1.1875rem;    /* 19px */
  --text-xl: 1.375rem;     /* 22px */
  --text-2xl: 1.75rem;     /* 28px */
  --text-3xl: clamp(1.75rem, 2.4vw + 1.2rem, 2.5rem);
  --text-4xl: clamp(2.125rem, 3vw + 1.4rem, 3.375rem);
  --text-5xl: clamp(2.75rem, 4.2vw + 1.4rem, 4.75rem);
  --leading-tight: 1.1;
  --leading-snug: 1.35;
  --leading-normal: 1.62;
  --tracking-tight: -.03em;
  --tracking-normal: 0em;
  --tracking-wide: .05em;
  --tracking-wider: .11em;

  /* Spacing — a single 4px-based scale used everywhere instead of ad-hoc values. */
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-7: 1.75rem; --space-8: 2rem; --space-9: 2.25rem;
  --space-10: 2.5rem; --space-12: 3rem; --space-14: 3.5rem; --space-16: 4rem;
  --space-20: 5rem; --space-24: 6rem; --space-28: 7rem;

  /* Color — a cool paper-grey scale with a hint of green (the colour of a
     ledger sheet, so white cards and the invoice read as paper laid on it),
     plus exactly one deliberate accent (Klyrenta lime), used like a
     highlighter: small, meaningful marks rather than fills — primary actions
     read through weight and near-black contrast instead. Text tokens keep at
     least 4.6:1 on every background in the scale. */
  --bg: #eff1ec;
  --bg-subtle: #e7eae3;
  --bg-muted: #e0e4dc;
  --surface: #ffffff;
  --border: #d6dbd2;
  --border-strong: #bec5ba;
  --ink: #121417;
  --ink-muted: #4b5258;
  --ink-subtle: #5e646b;
  --accent: #d9ef54;
  --accent-strong: #c3d93f;
  --accent-ink: #1c2410;
  --danger: #b3261e;
  --danger-bg: #fdf1f0;
  --danger-border: #dfc3bd;
  --success: #3d8a59;
  /* Form field outlines: at least 3:1 against the field background (#ffffff: 3.8:1),
     so a visitor can see where to type (WCAG 1.4.11). */
  --input-border: #7e857d;
  --focus-ring: #2168ca;
  /* A handful of sections (footer, dark callouts, the closing band)
     are deliberately dark for visual contrast regardless of site theme —
     unlike --ink/--bg, these never flip with the theme, so
     their text never ends up light-on-light once dark mode inverts --ink. */
  --ink-fixed: #121518;
  --bg-fixed: #ffffff;
  --ink-fixed-muted: #b7bab4;
  --ink-fixed-subtle: #8c8f89;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 20px; --radius-pill: 999px;

  /* Motion — purposeful only: buttons/links/forms, never decorative.
     ease-out for things entering/exiting, ease-in-out for movement that
     stays on screen (an accordion growing in place), plain "ease" for
     hover/color. Never ease-in in UI — it feels slow exactly when the
     visitor is watching most closely. */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-standard: ease;
  /* Arrivals (load and scroll-in): an ease-out a little softer than --ease-out,
     so the last stretch of the movement is still visible as it settles. */
  --ease-arrive: cubic-bezier(.215, .61, .355, 1);
  --duration-fast: 150ms;
  --duration-base: 180ms;
  --shell: 1180px;
}

/* Theme. 24 October 2026 (Héctor): dark for every visitor. 13 November 2026 (Héctor, after the review: «parece herramienta de
   desarrolladores»): the site follows the visitor's system, light or dark; the sun / moon button in the header (/theme/light, /theme/dark:
   a cookie, no script) fixes one, which the server marks with <html data-theme="light"> or data-theme="dark". Every dark rule is written
   twice: for :root[data-theme="dark"], and inside @media (prefers-color-scheme: dark) for :root:not([data-theme="light"]). */
:root[data-theme="dark"] {
    /* The same cool green-grey, at night. */
    --bg: #0e1211;
    --bg-subtle: #121716;
    --bg-muted: #1b201e;
    --surface: #1b2220;
    --border: #303936;
    --border-strong: #36403d;
    --ink: #eef1ec;
    --ink-muted: #b0b6b3;
    --ink-subtle: #9ba29f;
    --accent: #dff568;
    --accent-strong: #eaff8a;
    --accent-ink: #14200c;
    color-scheme: dark;
    --danger: #ff8a80;
    --danger-bg: #3a1c1a;
    /* The light-theme value (#dfc3bd) glared on dark surfaces; this one keeps 3.4:1
       against --danger-bg and 3.9:1 against --surface. */
    --danger-border: #b0605a;
    --success: #5cb87a; /* 7.2:1 on --surface (the light green was 4.2:1) */
    --input-border: #6c7370; /* 3.6:1 against the dark --surface */
    --focus-ring: #6aa6f5; /* lighter blue at night: about 5.9:1 on --surface and 6.5:1 on --bg (the day blue was 3.0:1 on the dark cards) */
    /* --ink-fixed stays constant across themes by design (see its definition
       above), but "constant" collided with dark mode's own --surface: once
       --surface darkens too, the two converge (#17191b vs #19191c) and the
       dark callouts and bands silently lose their contrast against the plain
       cards next to them. Pin it to true black here so it stays visually
       distinct from --surface in dark mode specifically. */
    --ink-fixed: #000000;
  }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
    /* The same cool green-grey, at night. */
    --bg: #0e1211;
    --bg-subtle: #121716;
    --bg-muted: #1b201e;
    --surface: #1b2220;
    --border: #303936;
    --border-strong: #36403d;
    --ink: #eef1ec;
    --ink-muted: #b0b6b3;
    --ink-subtle: #9ba29f;
    --accent: #dff568;
    --accent-strong: #eaff8a;
    --accent-ink: #14200c;
    color-scheme: dark;
    --danger: #ff8a80;
    --danger-bg: #3a1c1a;
    /* The light-theme value (#dfc3bd) glared on dark surfaces; this one keeps 3.4:1
       against --danger-bg and 3.9:1 against --surface. */
    --danger-border: #b0605a;
    --success: #5cb87a; /* 7.2:1 on --surface (the light green was 4.2:1) */
    --input-border: #6c7370; /* 3.6:1 against the dark --surface */
    --focus-ring: #6aa6f5; /* lighter blue at night: about 5.9:1 on --surface and 6.5:1 on --bg (the day blue was 3.0:1 on the dark cards) */
    /* --ink-fixed stays constant across themes by design (see its definition
       above), but "constant" collided with dark mode's own --surface: once
       --surface darkens too, the two converge (#17191b vs #19191c) and the
       dark callouts and bands silently lose their contrast against the plain
       cards next to them. Pin it to true black here so it stays visually
       distinct from --surface in dark mode specifically. */
    --ink-fixed: #000000;
  } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: var(--font-body);
  font-size: var(--text-base); line-height: var(--leading-normal); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 2px; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow { max-width: 800px; }
.skip-link {
  position: fixed; z-index: 100; left: var(--space-4); top: var(--space-2);
  transform: translateY(-160%); padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm); background: var(--accent); color: var(--accent-ink);
  font-weight: 700; transition: transform var(--duration-base) var(--ease-out);
}
.skip-link:focus { transform: none; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); }
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-7); }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--ink); font-size: var(--text-sm); line-height: 1; letter-spacing: var(--tracking-normal); }
.brand strong { font-size: var(--text-base); letter-spacing: var(--tracking-tight); }
.brand-mark { width: 30px; height: 30px; display: flex; align-items: flex-end; gap: 3px; padding: 7px; border-radius: 8px; background: var(--ink-fixed); }
:root[data-theme="dark"] .brand-mark { box-shadow: inset 0 0 0 1px var(--border-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-mark { box-shadow: inset 0 0 0 1px var(--border-strong); } }
.brand-mark span { width: 4px; background: var(--accent); border-radius: 1px; }
.brand-mark span:nth-child(1) { height: 8px; } .brand-mark span:nth-child(2) { height: 12px; } .brand-mark span:nth-child(3) { height: 16px; }
.site-header nav ul { display: flex; align-items: center; gap: var(--space-7); margin: 0; padding: 0; list-style: none; }
.site-header nav a { position: relative; display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-muted); text-decoration: none; font-size: var(--text-sm); font-weight: 550; transition: color var(--duration-base) var(--ease-standard); }
@media (hover: hover) and (pointer: fine) { .site-header nav a:hover { color: var(--ink); } }
.site-header nav a[aria-current="page"] { color: var(--ink); }
.site-header nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px; background: var(--accent); }
.site-header nav .nav-cta {
  display: inline-flex; min-height: 38px; align-items: center; padding: 0 var(--space-4);
  color: var(--bg); background: var(--ink); border-radius: var(--radius-pill);
  transition: background-color var(--duration-base) var(--ease-standard), transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .site-header nav .nav-cta:hover { background: color-mix(in srgb, var(--ink) 85%, var(--bg)); } }
.site-header nav .nav-cta:active { transform: scale(.97); }
.site-header nav .nav-cta[aria-current="page"] { color: var(--bg); }
.site-header nav .nav-cta[aria-current="page"]::after { display: none; }
.nav-group { display: flex; align-items: center; gap: var(--space-6); }
.nav-toggle, .nav-burger { display: none; }
.nav-tools { display: flex; align-items: center; gap: var(--space-3); }
/* A single light-gray pill track holding all five options — the current
   language reads as a plain white segment inside it, no accent needed for
   something that's just showing current state, not asking for a click. */
.lang-switch { display: flex; align-items: center; gap: 2px; margin: 0; padding: 3px; list-style: none; border-radius: var(--radius-pill); background: var(--bg-muted); }
.lang-switch a, .lang-switch span {
  display: inline-flex; min-width: 28px; min-height: 28px; align-items: center; justify-content: center; padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 650; letter-spacing: var(--tracking-normal);
  text-decoration: none; color: var(--ink-subtle); transition: color var(--duration-base) var(--ease-standard), background-color var(--duration-base) var(--ease-standard);
}
@media (hover: hover) and (pointer: fine) { .lang-switch a:hover { color: var(--ink); } }
.lang-switch span[aria-current="true"] { color: var(--ink); background: var(--surface); }

/* ---------- Hero ---------- */
.hero { padding: var(--space-24) 0 var(--space-20); background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(48px, 7vw, 96px); align-items: center; }
.eyebrow { display: inline-block; margin-bottom: var(--space-4); color: var(--ink-subtle); font-size: var(--text-xs); line-height: 1.2; font-weight: 650; letter-spacing: var(--tracking-wider); text-transform: uppercase; }
.eyebrow.light { color: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
h1 { font-size: var(--text-5xl); font-family: var(--font-display); letter-spacing: var(--tracking-normal); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-xl); }
/* The promise is a full sentence in every language (up to ~110 characters in French and Italian),
   so the home headline sits a step below the page-title size to stay within five or six lines. */
.hero h1 { max-width: 740px; font-size: clamp(2.5rem, 3.2vw + 1.2rem, 4rem); }
.hero h1 em { color: var(--ink); font-style: normal; font-weight: 700; background: linear-gradient(to bottom, transparent 62%, var(--accent) 62%); }
/* Dark mode: light text on the lime mark was 1.08:1. The words carry the accent
   themselves instead (15.6:1 on the dark background); the mark stays for light mode. */
:root[data-theme="dark"] .hero h1 em { color: var(--accent); background-image: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero h1 em { color: var(--accent); background-image: none; } }
.hero-lead { max-width: 620px; margin: var(--space-6) 0 var(--space-8); color: var(--ink-muted); font-size: var(--text-lg); line-height: var(--leading-normal); }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-6); }
.button {
  min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-5); border: 1px solid transparent; border-radius: var(--radius-pill);
  cursor: pointer; font-weight: 650; font-size: var(--text-sm); line-height: 1.2; text-decoration: none;
  transition: background-color var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard),
    color var(--duration-base) var(--ease-standard), transform 160ms var(--ease-out);
}
.button:active { transform: scale(.97); }
.button-primary { color: var(--bg); background: var(--ink); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .button-primary:hover { background: color-mix(in srgb, var(--ink) 85%, var(--bg)); border-color: color-mix(in srgb, var(--ink) 85%, var(--bg)); } }
.button-secondary { color: var(--ink); border-color: var(--border-strong); background: var(--surface); }
@media (hover: hover) and (pointer: fine) { .button-secondary:hover { border-color: var(--ink); background: var(--bg-muted); } }
.text-link { display: inline-flex; gap: var(--space-2); align-items: center; color: var(--ink); font-weight: 650; text-decoration: none; transition: gap var(--duration-base) var(--ease-standard); }
@media (hover: hover) and (pointer: fine) { .text-link:hover { gap: var(--space-3); } }
.text-link.light { color: var(--accent); }
.hero-points { display: flex; gap: var(--space-6); margin: var(--space-10) 0 0; padding: 0; color: var(--ink-subtle); font-size: var(--text-xs); font-weight: 600; list-style: none; }
.hero-points { flex-wrap: wrap; row-gap: var(--space-2); }
.hero-points li { display: flex; align-items: center; gap: var(--space-2); white-space: nowrap; }
.hero-points li::before { content: ""; width: 5px; height: 5px; border-radius: var(--radius-pill); background: var(--ink-subtle); }
.workflow-panel { margin: 0; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface); }
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border); color: var(--ink-subtle); font-size: var(--text-xs); font-weight: 650; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.status-dot { color: var(--ink-muted); }
.status-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: var(--space-2); border-radius: var(--radius-pill); background: var(--success); }
.workflow-panel ol { margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.workflow-panel li { display: flex; align-items: center; gap: var(--space-4); }
.workflow-panel li div { display: flex; flex-direction: column; }
.workflow-panel small { margin-top: 2px; color: var(--ink-subtle); }
.workflow-panel li:has(.workflow-line) { height: 18px; margin-left: 17px; }
/* ---------- Sample documents carousel ----------
   Swipe/scroll with zero JS: native horizontal scroll + scroll-snap. The
   browser owns the whole gesture — touch swipe, trackpad, mouse-wheel
   shift-scroll, and keyboard once the track is focused (explicit tabindex
   below; native overflow containers are not reliably part of the default
   Tab order without one) — exactly what CSP script-src 'none' requires and,
   done this way, costs nothing. Mouse click-drag is deliberately NOT
   promised anywhere in the copy: no browser scrolls a plain overflow
   container that way without JS, so claiming it would be a broken promise. */
.sample-docs { padding: 0 0 var(--space-16); background: var(--bg); }
.doc-carousel {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; perspective: 1200px;
  -webkit-mask-image: linear-gradient(to right, black, black calc(100% - 64px), transparent);
  mask-image: linear-gradient(to right, black, black calc(100% - 64px), transparent);
}
.doc-carousel::-webkit-scrollbar { display: none; }
.doc-carousel:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }
/* Fixed (not viewport-scaling) gutters: at 1440px+ a shell-matching gutter
   grows just as fast as the viewport, permanently eating the exact width
   that was supposed to become real overflow. Cards are sized generously
   enough that a small fixed gutter still leaves genuine scroll range on an
   ordinary laptop screen, not just below the width three cards fit flat. */
.doc-track {
  display: flex; align-items: flex-start; gap: var(--space-7); margin: 0; list-style: none;
  padding: var(--space-4) 0 var(--space-10) max(20px, calc((100vw - var(--shell)) / 2 * .24));
}
.doc-card {
  flex: 0 0 auto; width: min(500px, 84vw); scroll-snap-align: start; padding: var(--space-7);
  border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 24px 50px -24px rgba(23, 25, 27, .28);
  user-select: none; -webkit-user-select: none;
  /* One transform composed from separate custom properties, each owned by a
     single rule (rest tilt here, hover state below) — never two rules
     re-declaring the whole `transform` shorthand for the same element, which
     is what silently broke the dashboard's tilt earlier this project. */
  --rest-rot: 0deg; --hover-lift: 0px; --hover-rot: 0deg; --hover-scale: 1;
  transform: perspective(1100px) translate(var(--fan-x), var(--fan-y)) rotate(calc(var(--rest-rot) + var(--fan-rot))) rotateY(var(--fan-turn)) translateY(var(--hover-lift)) rotate3d(1, -.4, 0, var(--hover-rot)) scale(var(--hover-scale));
  transition: transform .5s var(--ease-out), box-shadow .4s var(--ease-out);
}
.doc-track > .doc-card:nth-child(1) { --rest-rot: -1.4deg; }
.doc-track > .doc-card:nth-child(2) { --rest-rot: .8deg; }
.doc-track > .doc-card:nth-child(3) { --rest-rot: -.6deg; }
/* Trailing space so the last real card can rest with a little breathing
   room instead of jamming flush into the viewport edge. */
.doc-card-spacer { flex: 0 0 auto; width: max(20px, calc((100vw - var(--shell)) / 2 * .24)); scroll-snap-align: none; }
@media (hover: hover) and (pointer: fine) {
  .doc-card:hover { --hover-lift: -8px; --hover-rot: 7deg; --hover-scale: 1.03; box-shadow: 0 34px 70px -22px rgba(23, 25, 27, .34); }
}
.doc-card-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-5); }
.doc-kind { font-size: var(--text-xs); font-weight: 650; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--ink-subtle); }
/* One status pill per example: the check result is the section's whole payoff,
   so it gets real, restrained colour — keyed to the result (warning, error, ok)
   from the language-neutral data, never to the translated text. */
.doc-card-top { align-items: flex-start; }
.doc-status { max-width: 66%; padding: var(--space-1) var(--space-3); border-radius: var(--radius-md); background: var(--bg-muted); color: var(--ink-muted); font-size: var(--text-xs); font-weight: 650; line-height: 1.4; text-align: right; }
.doc-status.is-ok { background: var(--accent); color: var(--accent-ink); }
.doc-status.is-warning { background: #fbead0; color: #7a4f0e; }
.doc-status.is-error { background: var(--danger-bg); color: var(--danger); }
:root[data-theme="dark"] .doc-status.is-warning { background: color-mix(in srgb, #e3a008 20%, var(--surface)); color: var(--warning-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .doc-status.is-warning { background: color-mix(in srgb, #e3a008 20%, var(--surface)); color: var(--warning-ink); } }
.doc-vendor {
  margin: 0 0 var(--space-4); font-weight: 650; font-size: var(--text-md);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.doc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin: 0 0 var(--space-5); padding: var(--space-4) 0; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); }
.doc-meta dt { margin: 0 0 2px; color: var(--ink-subtle); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); }
.doc-meta dd { margin: 0; font-size: var(--text-sm); font-weight: 550; }
.doc-concept { margin: 0 0 var(--space-5); color: var(--ink-muted); font-size: var(--text-sm); }
/* d1, 3.4: amounts in the text face with tabular figures (Georgia draws old-style figures that drop below the line on Windows and Mac). */
.doc-amount { margin: 0; font-family: var(--font-body); font-weight: 650; font-size: var(--text-2xl); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.doc-finding { margin: var(--space-5) 0 0; padding-top: var(--space-4); border-top: 1px dashed var(--border); color: var(--ink-muted); font-size: var(--text-sm); line-height: 1.5; }
.doc-disclaimer { margin: var(--space-2) 0 0; text-align: center; color: var(--ink-subtle); font-size: var(--text-xs); }

.principle-strip { color: var(--ink); background: var(--bg-subtle); border-block: 1px solid var(--border); }
.principle-strip p { margin: 0; padding: var(--space-5) 0; text-align: center; font-size: var(--text-sm); }
.principle-strip strong { font-weight: 650; }

/* ---------- Depth & motion (still CSP script-src 'none' — no JS anywhere) ---------- */

/* Cross-document view transitions: the browser crossfades the whole PRG-style
   navigation between pages (and after form submits) instead of a hard cut —
   real morphing between states, at zero JS cost. Ignored where unsupported. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }

/* A slow, autonomous glow drift — never cursor-driven, since that needs JS.
   Reads as ambient depth on the hero and the two dark sections. The glow is cut
   off with overflow: clip, not hidden: a hidden box counts as a scroll container,
   and every "once it is in view" animation inside it (view timelines) would then
   measure against that box instead of the screen and fire straight away.
   Browsers without clip keep hidden. */
.hero, .fit-section { position: relative; overflow: hidden; overflow: clip; }
.hero::before, .fit-section::before {
  content: ""; position: absolute; inset: -30%; z-index: 0; pointer-events: none;
  background: radial-gradient(600px circle at 18% 22%, rgba(217, 239, 84, .16), transparent 60%),
    radial-gradient(520px circle at 84% 78%, rgba(217, 239, 84, .09), transparent 58%);
}
.hero > *, .fit-section > * { position: relative; z-index: 1; }

/* The hero panel rests at a slight 3D angle instead of lying flat — real
   perspective, not a flourish — and faces the visitor once they engage with
   the hero. Fixed-angle only: mouse-tracking tilt needs JS. */
.workflow-panel {
  transform: perspective(1400px) rotateY(-3deg) rotateX(1.5deg);
  transition: transform .6s var(--ease-out);
  box-shadow: 0 40px 80px -30px rgba(23, 25, 27, .22);
}
@media (hover: hover) and (pointer: fine) {
  .hero:hover .workflow-panel { transform: perspective(1400px) rotateY(0deg) rotateX(0deg); }
}

/* ---------- Hero background ----------
   The «data flows» around the panel (lines, pulses and chips) went on 17.11.2026, from the HTML and from here (d1 3.6, c3 R3). */
.workflow-panel { position: relative; margin-block: var(--space-6); }
/* Behind the hero, a fine squared grid like a ledger sheet, strongest around the panel and fading out
   towards the edges and under the headline. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to bottom, color-mix(in srgb, var(--ink) 7%, transparent) 1px, transparent 1px),
    linear-gradient(to right, color-mix(in srgb, var(--ink) 7%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 58% 78% at 72% 50%, #000 22%, transparent 80%);
  mask-image: radial-gradient(ellipse 58% 78% at 72% 50%, #000 22%, transparent 80%);
}
@media (max-width: 920px) {
  .hero::after {
    -webkit-mask-image: radial-gradient(ellipse 90% 40% at 50% 74%, #000 20%, transparent 78%);
    mask-image: radial-gradient(ellipse 90% 40% at 50% 74%, #000 20%, transparent 78%);
  }
}

/* ---------- Hero: the invoice that checks itself ----------
   Inside the panel, a fictional supplier invoice with its QR payment slip feeds
   up under a reading line, like paper through a scanner. Each detail the line
   crosses is marked with the lime highlighter (supplier, UID, number and dates,
   totals); the IBAN on the slip is marked amber, with a warning flag. The four
   steps below the invoice light up in step with it, the last one amber
   ("1 warning: bank details changed"), and the status dot turns green.
   - Tied to the scroll, like the rest of the page: the invoice is read as the
     visitor scrolls down and "unread" as they scroll back up, at their own
     speed, and it stops when they stop. Nothing is pinned: the page always
     scrolls normally. On a computer the reading takes the first ~400px of
     scroll (the panel is on the first screen); where the hero is one column
     (tablets, phones) it takes ~480px while the panel crosses the screen.
   - One number drives everything: --rt-p, the reading progress (0 to 1) on
     the panel, which every element inside it inherits and turns into its own
     position, mark length or opacity with calc(). Its resting value is 1, so
     without animation support, or for visitors who asked for less motion,
     everything simply shows the end state: the slip in view, all marks set,
     every step lit. Browsers without scroll-linked animation play the same
     reading once, in under five seconds, on load.
   - Only translate / scale / opacity / colours move; the panel's own tilt
     (transform) stays untouched.
   Sizes inside the invoice are in cqw of the sheet (container query units):
   the sheet is drawn on a 500 x 707 grid, so 1 grid unit = 0.2cqw at any width. */
.scan-tray { margin-top: var(--space-5); }
.scan-window {
  position: relative; overflow: hidden; container-type: inline-size;
  /* The window shows 330 of the sheet's 707 grid units (the sheet is 88% of the window wide). */
  aspect-ratio: 1 / .5808;
  border-radius: var(--radius-md); background: var(--bg-muted);
  box-shadow: inset 0 1px 3px rgba(18, 20, 23, .1), inset 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent);
}
/* The sheet stays paper white in dark mode too. Its resting place shows the payment slip:
   the reading line (the window's middle) at grid line 590. */
.iv {
  position: absolute; top: 0; left: 6%; width: 88%; aspect-ratio: 500 / 707;
  container-type: inline-size; translate: 0 -60.11%;
  background: #fff; color: #1b1b1b; border-radius: 2px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 14px 30px -14px rgba(18, 24, 20, .32);
}
.iv > * { position: absolute; margin: 0; white-space: nowrap; line-height: 1.2; }
.iv-name { font-size: 2.6cqw; font-weight: 700; letter-spacing: .01em; }
.iv-s { font-size: 1.6cqw; color: #5a5a5a; }
.iv-s.iv-strong { color: #222; }
.iv-s.iv-lines { line-height: 1.5; }
.iv-addr { font-size: 1.8cqw; line-height: 1.45; }
.iv-title { font-size: 4cqw; font-weight: 700; letter-spacing: -.01em; }
.iv-lab { font-size: 1.36cqw; text-transform: uppercase; letter-spacing: .08em; color: #5a5a5a; }
.iv-val { font-size: 2cqw; font-weight: 600; }
.iv-row { display: grid; grid-template-columns: 4.8cqw 1fr 12cqw 12.8cqw 14cqw; padding: 1cqw 0; border-bottom: 1px solid #e0e0e0; font-size: 1.8cqw; }
.iv-row span:nth-child(n+3) { text-align: right; }
.iv-row.iv-head { font-size: 1.36cqw; text-transform: uppercase; letter-spacing: .08em; color: #5a5a5a; border-bottom-color: #1b1b1b; }
.iv-tot { display: flex; justify-content: space-between; font-size: 1.8cqw; }
.iv-tot.iv-big { padding-top: .8cqw; border-top: 1px solid #1b1b1b; font-size: 2.1cqw; font-weight: 700; }
.iv-perf { border-top: 1px dashed #9a9a9a; }
.iv-perf-v { border-left: 1px dashed #9a9a9a; }
.iv-qt { font-size: 1.9cqw; font-weight: 700; }
.iv-ql { font-size: 1.28cqw; font-weight: 700; }
.iv-qv { font-size: 1.48cqw; line-height: 1.4; }
.iv-qv.iv-qmid { font-size: 1.6cqw; }
.iv-qv.iv-qbig { font-size: 1.8cqw; }
.iv-iban { font-size: 1.72cqw; letter-spacing: .01em; }
.iv-qr { display: block; fill: #000; }
.iv-logo { display: block; }
/* Positions on the sheet (generated from the 500 x 707 grid). */
.iv .at1 { left: 7.2cqw; top: 6cqw; width: 4cqw; height: 4cqw; }
.iv .at2 { left: 11.8cqw; top: 5.8cqw; width: 27.2cqw; height: 3.6cqw; }
.iv .at3 { left: 12.4cqw; top: 6.2cqw; }
.iv .at4 { left: 12.4cqw; top: 9.8cqw; }
.iv .at5 { left: 6.6cqw; top: 13.4cqw; width: 26.4cqw; height: 2.8cqw; }
.iv .at6 { left: 7.2cqw; top: 14cqw; }
.iv .at7 { left: 60cqw; top: 20.8cqw; }
.iv .at8 { left: 60cqw; top: 34.4cqw; }
.iv .at9 { left: 7.2cqw; top: 37.6cqw; }
.iv .at10 { left: 7.2cqw; top: 44.8cqw; }
.iv .at11 { left: 35.2cqw; top: 44.8cqw; }
.iv .at12 { left: 63.2cqw; top: 44.8cqw; }
.iv .at13 { left: 6.6cqw; top: 46.6cqw; width: 16cqw; height: 3.2cqw; }
.iv .at14 { left: 34.6cqw; top: 46.6cqw; width: 13.2cqw; height: 3.2cqw; }
.iv .at15 { left: 62.6cqw; top: 46.6cqw; width: 13.2cqw; height: 3.2cqw; }
.iv .at16 { left: 7.2cqw; top: 47.2cqw; }
.iv .at17 { left: 35.2cqw; top: 47.2cqw; }
.iv .at18 { left: 63.2cqw; top: 47.2cqw; }
.iv .at19 { left: 7.2cqw; top: 53.6cqw; width: 85.6cqw; }
.iv .at20 { left: 7.2cqw; top: 57cqw; width: 85.6cqw; }
.iv .at21 { left: 7.2cqw; top: 60.8cqw; width: 85.6cqw; }
.iv .at22 { left: 7.2cqw; top: 64.6cqw; width: 85.6cqw; }
.iv .at23 { left: 58.4cqw; top: 71.8cqw; width: 35.2cqw; height: 3cqw; }
.iv .at24 { left: 58.4cqw; top: 75.4cqw; width: 35.2cqw; height: 3cqw; }
.iv .at25 { left: 58.4cqw; top: 79.2cqw; width: 35.2cqw; height: 3.8cqw; }
.iv .at26 { left: 59.2cqw; top: 72.4cqw; width: 33.6cqw; }
.iv .at27 { left: 59.2cqw; top: 76cqw; width: 33.6cqw; }
.iv .at28 { left: 59.2cqw; top: 79.2cqw; width: 33.6cqw; }
.iv .at29 { left: 7.2cqw; top: 85.2cqw; }
.iv .at30 { left: 0cqw; top: 91.6cqw; width: 100cqw; }
.iv .at31 { left: 29.6cqw; top: 91.6cqw; height: 49.8cqw; }
.iv .at32 { left: 2.4cqw; top: 93.6cqw; }
.iv .at33 { left: 2.4cqw; top: 97.6cqw; }
.iv .at34 { left: 2.4cqw; top: 99.4cqw; }
.iv .at35 { left: 2.4cqw; top: 109.6cqw; }
.iv .at36 { left: 2.4cqw; top: 111.4cqw; }
.iv .at37 { left: 2.4cqw; top: 128cqw; }
.iv .at38 { left: 10.4cqw; top: 128cqw; }
.iv .at39 { left: 2.4cqw; top: 130cqw; }
.iv .at40 { left: 10.4cqw; top: 130cqw; }
.iv .at41 { left: 16.4cqw; top: 136.8cqw; }
.iv .at42 { left: 32.4cqw; top: 93.6cqw; }
.iv .at43 { left: 32.4cqw; top: 97.6cqw; width: 21.6cqw; height: 21.6cqw; }
.iv .at44 { left: 32.4cqw; top: 122.4cqw; }
.iv .at45 { left: 40.4cqw; top: 122.4cqw; }
.iv .at46 { left: 32.4cqw; top: 124.4cqw; }
.iv .at47 { left: 40.4cqw; top: 124.4cqw; }
.iv .at48 { left: 56.4cqw; top: 93.6cqw; }
.iv .at49 { left: 55.8cqw; top: 95.2cqw; width: 30cqw; height: 3.2cqw; }
.iv .at50 { left: 56.4cqw; top: 95.6cqw; }
.iv .at51 { left: 86.8cqw; top: 95.2cqw; width: 3.2cqw; height: 3.2cqw; }
.iv .at52 { left: 56.4cqw; top: 98.4cqw; }
.iv .at53 { left: 56.4cqw; top: 106cqw; }
.iv .at54 { left: 56.4cqw; top: 107.8cqw; }
.iv .at55 { left: 56.4cqw; top: 111.6cqw; }
.iv .at56 { left: 56.4cqw; top: 113.4cqw; }
/* Highlighter marks, under the text (multiply keeps the ink black). */
.iv-hl { border-radius: 1px; background: #dcf25e; mix-blend-mode: multiply; transform-origin: 0 50%; }
.iv-hl.iv-warn { background: #f6c04c; }
.iv-flag {
  display: grid; place-items: center; border-radius: 50%; background: #c98510; color: #fff;
  font-size: 2.2cqw; font-weight: 700; line-height: 1;
}
/* The reading line, at the middle of the window, with the lime glow of what it has just read above it.
   Shown only while reading (hidden at rest, the end state). */
.scan-bar { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #121417; pointer-events: none; }
.scan-bar::before { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 14cqw; background: linear-gradient(to top, rgba(220, 242, 94, .42), rgba(220, 242, 94, 0)); }
.scan-bar::after { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 8px; background: linear-gradient(to right, #c3d93f 0 12px, transparent 12px calc(100% - 12px), #c3d93f calc(100% - 12px)); border-radius: 2px; }

/* The four steps under the invoice: two by two (the connecting lines only belong to the single column on phones). */
.workflow-panel ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-5); margin-top: var(--space-5); }
.workflow-panel ol > li { align-items: flex-start; gap: var(--space-3); }
.workflow-panel ol > li[aria-hidden] { display: none; }
.workflow-panel ol strong { font-size: var(--text-sm); line-height: 1.3; }
.workflow-panel ol small { font-size: var(--text-xs); line-height: 1.4; }
/* Step 4 carries the warning «bank account changed»: red, as in the report (14.11.2026: it was amber). The tokens follow the theme. */
@media (max-width: 680px) {
  .scan-tray { margin-top: var(--space-4); }
  .workflow-panel ol { grid-template-columns: 1fr; gap: 0; }
  .workflow-panel ol > li { align-items: center; }
  .workflow-panel ol > li[aria-hidden] { display: flex; }
  .workflow-panel ol strong { font-size: var(--text-base); }
  .workflow-panel ol small { font-size: var(--text-sm); }
}

/* The reading. --rt-p runs from 0 (the invoice's top under the line, nothing marked, steps dim) to 1
   (the slip in view, everything marked). Reading proper (--rt-r) is the stretch .06-.92 of it: the line
   goes from grid line 20 to grid line 590, and each mark is set as the line reaches its middle (--at). */
@property --rt-p { syntax: '<number>'; inherits: true; initial-value: 1; }
@keyframes rt-read { from { --rt-p: 0; } to { --rt-p: 1; } }
.workflow-panel { --rt-p: 1; --rt-r: clamp(0, (var(--rt-p) - .06) / .86, 1); }
.iv { translate: 0 calc(20.51% - 80.62% * var(--rt-r)); }
.scan-bar { opacity: clamp(0, min((var(--rt-p) - .04) / .03, (.95 - var(--rt-p)) / .03), 1); }
.iv-hl { scale: clamp(0, (var(--rt-p) - var(--at)) / .035, 1) 1; }
.iv-hl.m1 { --at: .087; } .iv-hl.m2 { --at: .141; }
.iv-hl.m3 { --at: .394; } .iv-hl.m4 { --at: .404; } .iv-hl.m5 { --at: .414; }
.iv-hl.m6 { --at: .583; } .iv-hl.m7 { --at: .61; } .iv-hl.m8 { --at: .641; }
.iv-hl.m9 { --at: .76; }
.iv-flag { --on: clamp(0, (var(--rt-p) - .783) / .03, 1); scale: var(--on); opacity: var(--on); }
/* Steps: dim until the reading reaches them; steps 1-3 then flash lime for a moment, step 4 lights amber. */
.workflow-panel ol > li:not([aria-hidden]) {
  --on: clamp(0, (var(--rt-p) - var(--at)) / .03, 1);
  opacity: calc(.42 + .58 * var(--on)); translate: 0 calc(4px - 4px * var(--on));
}
.workflow-panel ol > li:nth-child(1) { --at: .02; }
.workflow-panel ol > li:nth-child(3) { --at: .42; }
.workflow-panel ol > li:nth-child(5) { --at: .66; }
.workflow-panel ol > li:nth-child(7) { --at: .8; }
.panel-top .status-dot { --on: clamp(0, (var(--rt-p) - .93) / .04, 1); opacity: calc(.45 + .55 * var(--on)); }
.panel-top .status-dot::before { background-color: color-mix(in srgb, var(--success) calc(100% * var(--on)), var(--border-strong)); }
@media (prefers-reduced-motion: no-preference) {
  /* Without scroll-linked animation: the reading plays once on load. */
  .hero .workflow-panel { animation: oo-arrive 900ms var(--ease-arrive) 240ms backwards, rt-read 3800ms linear 600ms both; }
  @supports (animation-timeline: view()) {
    /* Phones and tablets: from when 280px of the panel is on screen, over the next 480px of scroll. */
    .hero .workflow-panel {
      animation: oo-arrive 900ms var(--ease-arrive) 240ms backwards, rt-read linear both;
      animation-timeline: auto, view();
      animation-range: normal, entry 280px entry 760px;
    }
    /* Computers: the panel is on the first screen, so over the first 400px of scroll (it starts a little
       way in, with the supplier already marked, so the first screen never looks unfinished). */
    @media (min-width: 921px) {
      .hero .workflow-panel { animation-timeline: auto, scroll(root block); animation-range: normal, -40px 360px; }
    }
  }
}

/* ---------- Sections ---------- */
.section { padding: var(--space-24) 0; }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: var(--space-14); align-items: end; margin-bottom: var(--space-12); }
.section-heading p { margin: 0; color: var(--ink-muted); font-size: var(--text-md); }
.section-action { margin-top: var(--space-8); text-align: right; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.process-grid li { min-height: 250px; padding: var(--space-6); border-left: 1px solid rgba(255, 255, 255, .14); }
.section:not(.section-dark) .process-grid li { border-color: var(--border); }
.process-grid li:last-child { border-right: 1px solid rgba(255, 255, 255, .14); }
.section:not(.section-dark) .process-grid li:last-child { border-color: var(--border); }
.process-grid > li > span { display: block; margin-bottom: var(--space-12); color: var(--accent); font-size: var(--text-xs); font-weight: 650; }
.section:not(.section-dark) .process-grid > li > span { color: var(--ink-subtle); }
.process-grid h2, .process-grid h3 { font-size: var(--text-lg); }
.process-grid p { margin: var(--space-3) 0 0; color: var(--ink-fixed-subtle); font-size: var(--text-sm); }
.section:not(.section-dark) .process-grid p { color: var(--ink-muted); }

.price-card { position: relative; display: flex; flex-direction: column; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--surface); transition: transform var(--duration-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .price-card:hover { transform: perspective(900px) rotateX(2deg) translateY(-4px); } }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--space-2); margin: var(--space-6) 0 var(--space-4); }
/* The amount never breaks ("CHF" over "1’490"); a long suffix such as "one-off setup" moves to the next line instead. */
.price strong { white-space: nowrap; }
.price strong { font-size: var(--text-3xl); line-height: 1; letter-spacing: var(--tracking-tight); }
.price span { color: var(--ink-subtle); font-size: var(--text-sm); }
.price-card > p { min-height: 55px; color: var(--ink-muted); }
.price-card ul { flex: 1; margin: var(--space-5) 0 var(--space-8); padding: var(--space-5) 0 0; border-top: 1px solid var(--border); list-style: none; }
.price-card li { position: relative; margin: var(--space-3) 0; padding-left: var(--space-6); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--ink-muted); font-weight: 700; }
.price-card .button { align-self: flex-start; }
/* On the black bands (closing call to action, dark callouts) the default black
   primary button disappeared into its background; use the accent so the main
   call to action reads as a button. */
.fit-section .button-primary, .callout .button-primary { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .fit-section .button-primary:hover, .callout .button-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #ffffff); border-color: color-mix(in srgb, var(--accent) 88%, #ffffff); } }
.price-card > h2, .price-card > h3 { font-size: var(--text-xl); }
/* Plan choice on the request form: native radios styled as pills, no JavaScript. */
.plan-field { margin: 0 0 var(--space-7); padding: 0; border: 0; min-width: 0; }
.plan-field legend { display: flex; justify-content: space-between; gap: var(--space-4); width: 100%; margin-bottom: var(--space-3); padding: 0; font-weight: 650; font-size: var(--text-sm); }
.plan-field legend span { color: var(--ink-subtle); font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; }
.plan-options { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.plan-option { position: relative; display: inline-flex; margin: 0; font-weight: 600; font-size: var(--text-sm); cursor: pointer; }
.field .plan-option input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; }
.field .plan-option span { font-size: var(--text-sm); font-weight: 600; letter-spacing: normal; text-transform: none; }
.field .plan-option span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-5); border: 1px solid var(--input-border); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink-muted); transition: background-color var(--duration-base) var(--ease-standard), color var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard), transform 120ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .field .plan-option:hover span { border-color: var(--ink-subtle); color: var(--ink); } }
.field .plan-option:active span { transform: scale(.97); }
.field .plan-option input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.field .plan-option input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.plan-field:target legend { color: var(--ink); }
.pricing-disclaimer { max-width: 720px; margin: var(--space-6) auto 0; color: var(--ink-subtle); text-align: center; font-size: var(--text-xs); }
.pricing-disclaimer.pricing-vat { margin-top: var(--space-1); }
/* Review 5 (M5): the refund link reads as a link, not as a heading of its own. */
.pricing-disclaimer .text-link { display: inline; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pricing-disclaimer .text-link span[aria-hidden] { text-decoration: none; display: inline-block; margin-left: 0.2em; }
.price-actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.price-actions .text-link { font-size: var(--text-sm); }
.fit-section { padding: var(--space-20) 0; color: var(--bg-fixed); background: var(--ink-fixed); }
.fit-grid { display: grid; grid-template-columns: 1fr .8fr; gap: var(--space-20); align-items: center; }
.fit-grid h2 { max-width: 600px; } .fit-grid > div > p { max-width: 600px; color: var(--ink-fixed-muted); } .fit-grid .button { margin-top: var(--space-4); }

.page-hero { padding: var(--space-20) 0 var(--space-16); background: var(--bg-subtle); text-align: center; }
.page-hero.compact { padding: var(--space-16) 0 var(--space-14); }
.page-hero p { max-width: 680px; margin: var(--space-6) auto 0; color: var(--ink-muted); font-size: var(--text-lg); }
.page-hero .eyebrow { margin-bottom: var(--space-4); }
/* Review of 17.11.2026 (d1, 3.1): the title of an inner page at poster size (up to 76 px) took the first screen, and a guide's long title
   ran to five lines. Inner pages a size smaller and balanced; a guide's title in the text face, as the heading of an article. */
.page-hero h1 { font-size: clamp(2.25rem, 1.6vw + 1.6rem, 3.25rem); max-width: 22ch; margin-inline: auto; }
h1, h2, h3 { text-wrap: balance; }
.page-hero.guide-hero h1 { max-width: 30ch; font-family: var(--font-body); font-size: clamp(1.875rem, 1.2vw + 1.4rem, 2.5rem); letter-spacing: var(--tracking-tight); }
.center-cta { max-width: 720px; margin: var(--space-24) auto 0; text-align: center; } .center-cta p { color: var(--ink-muted); } .center-cta .button { margin-top: var(--space-3); }
.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); margin: var(--space-16) 0; }
.deliverables > div { padding: var(--space-8); border-radius: var(--radius-lg); background: var(--bg-subtle); }
.deliverables h2 { font-size: var(--text-2xl); } .deliverables ul { margin: var(--space-5) 0 0; padding-left: var(--space-5); } .deliverables li { margin: var(--space-3) 0; color: var(--ink-muted); }
.callout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-14); align-items: center; margin-top: var(--space-16); padding: var(--space-10); border-radius: var(--radius-lg); color: var(--bg-fixed); background: var(--ink-fixed); }
.callout p { margin-top: 0; color: var(--ink-fixed-muted); font-size: var(--text-md); } .callout h2 { font-size: var(--text-3xl); }
.faq-grid { display: grid; grid-template-columns: .6fr 1.4fr; gap: var(--space-16); margin-top: var(--space-20); padding-top: var(--space-16); border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary { padding: var(--space-4) var(--space-1); cursor: pointer; font-weight: 650; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink-subtle); font-weight: 400; font-size: var(--text-lg); transition: transform var(--duration-base) var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
/* Height can't be transitioned directly, and a fixed max-height guesses
   wrong for five languages of different lengths — a 0fr/1fr grid track
   grows to the content's real height at any length, in any language. */
.faq-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 260ms var(--ease-in-out), opacity 200ms var(--ease-standard); }
details[open] .faq-body { grid-template-rows: 1fr; opacity: 1; }
.faq-body > p { min-height: 0; overflow: hidden; margin: 0 var(--space-1) var(--space-6); color: var(--ink-muted); }

/* ---------- Forms ---------- */
.form-section { padding: var(--space-16) 0 var(--space-24); background: var(--bg-subtle); }
.form-layout { display: grid; grid-template-columns: .55fr 1.45fr; gap: var(--space-10); align-items: start; }
.form-layout aside { position: sticky; top: var(--space-6); }
.sensitive-warning { padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-muted); }
.sensitive-warning strong { color: var(--ink); } .sensitive-warning p { margin: var(--space-1) 0 0; font-size: var(--text-sm); }
.form-layout aside h2 { margin-top: 0; font-size: var(--text-xl); }
.form-layout aside .aside-body { margin: var(--space-3) 0; color: var(--ink-muted); }
.form-layout aside .sensitive-warning { margin-top: var(--space-6); }
.check-list { padding: 0; list-style: none; } .check-list li { position: relative; padding: var(--space-2) 0 var(--space-2) var(--space-6); color: var(--ink-muted); } .check-list li::before { content: "→"; position: absolute; left: 0; color: var(--ink-subtle); font-weight: 700; }
.sensitive-warning { border-color: var(--danger-border); background: var(--danger-bg); }
.form-card { padding: clamp(24px, 5vw, 48px); border-radius: var(--radius-lg); background: var(--surface); }
.error-summary { margin-bottom: var(--space-7); padding: var(--space-5); border-left: 3px solid var(--danger); background: var(--danger-bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.error-summary h2 { font-size: var(--text-lg); } .error-summary p { margin: var(--space-2) 0; } .error-summary ul { margin-bottom: 0; } .error-summary a { color: var(--danger); font-weight: 650; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.field { margin-bottom: var(--space-6); }
.field label { display: flex; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-2); font-weight: 650; font-size: var(--text-sm); }
.field label span { color: var(--ink-subtle); font-size: var(--text-xs); font-weight: 600; letter-spacing: var(--tracking-normal); text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 44px; padding: var(--space-3) var(--space-4); color: var(--ink);
  border: 1px solid var(--input-border); border-radius: var(--radius-sm); background: var(--surface); font-size: var(--text-base);
  transition: border-color var(--duration-base) var(--ease-standard), background-color var(--duration-base) var(--ease-standard);
}
.field textarea { resize: vertical; }
@media (hover: hover) and (pointer: fine) { .field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-subtle); } }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { border-color: var(--focus-ring); }
.field [aria-invalid="true"] { border: 1px solid var(--danger); background: var(--danger-bg); }
/* Review of 18.11.2026 (c5 3.3, d2 A2, v1 c5-a): a tick box inside a form field (the consent of the bexio terms) took the text fields' full
   width and 44 px height: an empty box of 334×57 px on a computer, ~90×80 on a phone, far from its text. A tick box as the others of the
   site (.delete-confirm): 18 px, before its text. Only a box that is the field's own label's child: the choice chips (.plan-option) and the
   boxes outside .field keep their rules. */
.field > label:has(> input:is([type="checkbox"], [type="radio"])) { justify-content: flex-start; align-items: flex-start; gap: var(--space-3); color: var(--ink); font-weight: 550; cursor: pointer; }
.field > label > input:is([type="checkbox"], [type="radio"]) { flex: none; width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--accent); cursor: pointer; }
.field-hint { margin: var(--space-2) 0 0; color: var(--ink-subtle); font-size: var(--text-xs); }
.field-error { margin: var(--space-2) 0 0; color: var(--danger); font-size: var(--text-sm); font-weight: 650; }
.submit-button { margin-top: var(--space-2); border: 0; } .form-footnote { margin: var(--space-4) 0 0; color: var(--ink-subtle); font-size: var(--text-xs); }
.form-footnote a { color: var(--ink-muted); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: .2em; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* ---------- Legal / status / results ---------- */
.legal-section { padding: var(--space-16) 0 var(--space-24); }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: var(--space-16); justify-content: center; align-items: start; }
.legal-layout nav { position: sticky; top: var(--space-6); display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.legal-layout nav a { padding: var(--space-3) var(--space-1); border-bottom: 1px solid var(--border); text-decoration: none; font-size: var(--text-sm); font-weight: 600; color: var(--ink-muted); transition: color var(--duration-base) var(--ease-standard); }
@media (hover: hover) and (pointer: fine) { .legal-layout nav a:hover { color: var(--ink); } }
.legal-layout article h2 { margin: var(--space-10) 0 var(--space-4); font-size: var(--text-2xl); }
.legal-layout article p, .legal-layout article li { color: var(--ink-muted); }
.legal-layout article ul { padding-left: var(--space-5); }
.legal-layout article li { margin: var(--space-2) 0; }
/* Terms (/agb) and data processing agreement (/avv): the version line under the lead, and the notes that link to them. */
.page-hero .legal-version { margin-top: var(--space-3); color: var(--ink-subtle); font-size: var(--text-xs); }
.terms-note a, .legal-terms a { color: inherit; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: .2em; }
.plan-terms { margin: calc(-1 * var(--space-4)) 0 var(--space-6); }
.result-card .plan-terms { margin: calc(-1 * var(--space-4)) 0 var(--space-6); text-align: left; }
.legal-address { margin: 0 0 var(--space-4); padding: var(--space-4) var(--space-5); border-left: 3px solid var(--border-strong); color: var(--ink); font-style: normal; }
.legal-todo { color: var(--danger); font-weight: 650; }
.legal-todo-note { margin-bottom: var(--space-4); }
.legal-alert { padding: var(--space-5); border: 1px solid var(--danger-border); border-radius: var(--radius-md); background: var(--danger-bg); }
.legal-alert p { margin: var(--space-1) 0 0; }
/* Review of 18.11.2026 (c5 3.6): a long address has no space to break at: «Meinten Sie anna-katharina.mustermann@bluewin.ch?», its two
   buttons and «Gesendet an: …» made the page up to 349 px wide at 320. They break inside the address when it does not fit. */
.email-typo strong, .sent-to strong, .account-login .button-row .button { overflow-wrap: anywhere; }
/* Review of 13.11.2026: the note about files left out of an upload (already uploaded, copies) is a note, not an error. */
.upload-copies .legal-alert { border-color: var(--border); background: var(--surface); }
.legal-definition { display: grid; grid-template-columns: 170px 1fr; border-top: 1px solid var(--border); }
.legal-definition dt, .legal-definition dd { margin: 0; padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
.legal-definition dt { font-weight: 650; } .legal-definition dd { color: var(--ink-muted); }
.receipt .legal-definition { margin-bottom: var(--space-5); } .receipt .legal-definition dd { color: var(--ink); }

/* ---- Guides (/guide): an index of articles and the article itself, same rhythm as the legal pages ---- */
.guide-list { display: grid; gap: var(--space-5); }
.guide-card { padding: var(--space-6) 0; border-top: 1px solid var(--border); }
.guide-card:last-child { border-bottom: 1px solid var(--border); }
.guide-card h2 { margin: 0 0 var(--space-3); font-size: var(--text-2xl); }
.guide-card h2 a { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .guide-card h2 a:hover { text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: .2em; } }
.guide-card p { margin: 0 0 var(--space-4); color: var(--ink-muted); }
/* The guides on the home page (26 October 2026): two columns of plain links, one column on a phone. */
.home-guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-6); }
.home-guides a { display: grid; gap: var(--space-2); padding-top: var(--space-5); border-top: 1px solid var(--border); color: inherit; text-decoration: none; }
.home-guides strong { font-size: var(--text-lg); line-height: 1.3; }
.home-guides span { color: var(--ink-muted); }
@media (hover: hover) and (pointer: fine) { .home-guides a:hover strong { text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: .2em; } }
@media (max-width: 720px) { .home-guides { grid-template-columns: 1fr; } }
.guide-section { padding: var(--space-16) 0 var(--space-24); }
.guide-layout { display: grid; grid-template-columns: minmax(0, 720px) 260px; gap: var(--space-16); justify-content: center; align-items: start; }
.guide-article { min-width: 0; }
/* d2, A5: the box under a guide that leads to the product it is about. */
.guide-cta { display: grid; gap: var(--space-3); margin-top: var(--space-10); padding: var(--space-6); border: 1px solid var(--border); border-left: 3px solid var(--accent-strong); border-radius: var(--radius-md); background: var(--surface); }
.guide-cta p { margin: 0; }
.guide-cta .guide-cta-title { color: var(--ink); font-weight: 700; font-size: var(--text-lg); }
.guide-cta a.button { text-decoration: none; }
.guide-cta .button-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; margin-top: var(--space-2); }
.guide-article h2 { margin: var(--space-10) 0 var(--space-4); font-size: var(--text-2xl); }
.guide-article h3 { margin: var(--space-6) 0 var(--space-3); font-size: var(--text-lg); }
.guide-article p, .guide-article li { color: var(--ink-muted); }
.guide-article p { margin: 0 0 var(--space-4); }
.guide-article ul, .guide-article ol { padding-left: var(--space-5); margin: 0 0 var(--space-4); }
.guide-article li { margin: var(--space-2) 0; }
.guide-article a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: .2em; }
.guide-article strong { color: var(--ink); }
.guide-table { margin: 0 0 var(--space-6); overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.guide-table table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.guide-table th { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); color: var(--ink-subtle); font-size: var(--text-xs); font-weight: 650; letter-spacing: var(--tracking-wide); text-align: left; text-transform: uppercase; }
.guide-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); color: var(--ink-muted); vertical-align: top; }
.guide-table tr:last-child td { border-bottom: 0; }
.guide-note { margin-top: var(--space-10); padding-top: var(--space-4); border-top: 1px solid var(--border); color: var(--ink-subtle); font-size: var(--text-sm); }
.guide-aside { position: sticky; top: var(--space-6); padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-subtle); }
.guide-aside h2 { margin: 0 0 var(--space-3); font-size: var(--text-md); }
.guide-aside ul { margin: 0 0 var(--space-6); padding: 0; list-style: none; }
.guide-aside li { padding: var(--space-2) 0; border-top: 1px solid var(--border); font-size: var(--text-sm); }
.guide-aside li a { color: var(--ink-muted); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .guide-aside li a:hover { color: var(--ink); } }

.result-page { min-height: 60vh; display: grid; place-items: center; padding: var(--space-20) 0; background: var(--bg-subtle); }
.result-card { max-width: 680px; margin: auto; padding: clamp(32px, 6vw, 64px); text-align: center; border-radius: var(--radius-lg); background: var(--surface); }
.result-card h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); }
.result-card p { margin: var(--space-6) auto var(--space-7); color: var(--ink-muted); font-size: var(--text-md); }
.result-card .button-row { justify-content: center; }
/* "Remember me on this device" on the button page of a sign-in link. */
.result-card .remember-device { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 44px; color: var(--ink); font-size: var(--text-sm); font-weight: 550; cursor: pointer; }
.result-card .remember-device input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); cursor: pointer; }
/* Ronda 5 (d01 3.5): the link opened in another browser: a code for the browser it was asked for in (folded under the button), and the field
   for it on «check your email». The code large, in two groups of three, in figures of equal width. */
.result-card .handoff { margin-top: var(--space-6); text-align: left; }
.result-card .handoff summary { min-height: 44px; display: flex; align-items: center; color: var(--ink); font-size: var(--text-sm); font-weight: 550; cursor: pointer; }
.result-card .handoff p { margin: var(--space-3) 0; font-size: var(--text-sm); }
.result-card .handoff form { display: grid; gap: var(--space-3); justify-items: start; }
.result-card .handoff .field { width: 100%; max-width: 16rem; }
.result-card .handoff-code { display: inline-block; color: var(--ink); font-size: var(--text-3xl); font-variant-numeric: tabular-nums; letter-spacing: 0.12em; }
/* Deleting the own account (/account/delete): the confirmation tick. */
.delete-confirm { display: flex; align-items: flex-start; gap: var(--space-3); margin: var(--space-5) 0; color: var(--ink); font-size: var(--text-sm); font-weight: 550; cursor: pointer; }
.delete-confirm input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.account-delete { margin-top: var(--space-6); font-size: var(--text-sm); }
/* Ronda 4 (C1): deleting one document. The button that deletes for good is in the colour of danger (its text in the light red of
   --danger-bg: 6.1:1 on the light theme's red, 7.2:1 on the dark theme's); the list of documents to delete stays folded under the month
   or the upload, with the lines of what was deleted; «ZIP downloaded on …» under the downloads; «keep your originals» on the upload pages. */
.button-danger { color: var(--danger-bg); background: var(--danger); border-color: var(--danger); }
@media (hover: hover) and (pointer: fine) { .button-danger:hover { background: color-mix(in srgb, var(--danger) 85%, var(--ink)); border-color: color-mix(in srgb, var(--danger) 85%, var(--ink)); } }
.doc-delete-block { margin-top: var(--space-6); font-size: var(--text-sm); }
.doc-deleted { margin: 0 0 var(--space-4); padding: 0; color: var(--ink-muted); list-style: none; }
.doc-delete summary { min-height: 44px; cursor: pointer; }
.doc-delete-list { margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.doc-delete-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-3); min-height: 44px; overflow-wrap: anywhere; }
.doc-delete-list small { color: var(--ink-muted); }
.client-keep { margin: 0 0 var(--space-5); color: var(--ink); font-size: var(--text-sm); font-weight: 600; }
.doc-delete-confirm p { overflow-wrap: anywhere; }
.result-card .remember-hint { margin: 0 auto var(--space-6); color: var(--ink-muted); font-size: var(--text-sm); }
.result-mark { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto var(--space-5); border-radius: var(--radius-pill); color: var(--accent-ink); background: var(--accent); font-size: var(--text-xl); font-weight: 700; }
.error-code { display: block; color: var(--ink-subtle); font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-wide); }

.status-card { padding: var(--space-8); margin-bottom: var(--space-5); border-radius: var(--radius-lg); background: var(--surface); }
.status-card h2 { font-size: var(--text-xl); margin-bottom: var(--space-3); overflow-wrap: anywhere; }
.status-card .pill { display: inline-flex; padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); background: var(--bg-muted); color: var(--ink-muted); font-size: var(--text-xs); font-weight: 650; }
.status-card > p { margin: var(--space-4) 0 0; color: var(--ink-muted); }
.extracted-fields { display: grid; gap: var(--space-3); margin: var(--space-6) 0; padding: var(--space-5); border-radius: var(--radius-md); background: var(--bg-muted); }
.extracted-fields div { display: grid; grid-template-columns: 160px 1fr; gap: var(--space-4); }
.extracted-fields dt { color: var(--ink-subtle); } .extracted-fields dt::first-letter { text-transform: uppercase; } .extracted-fields dd { margin: 0; font-weight: 550; }
.status-card form { margin-top: var(--space-5); }
.empty { color: var(--ink-subtle); text-align: center; padding: var(--space-10) 0; }
.account-link { margin: var(--space-6) 0 0; text-align: center; }

/* ---------- Product pages and the client area's tool cards ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.tool-card { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-8); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); text-decoration: none; transition: transform var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-standard); }
.tool-card h3 { margin: 0; font-size: var(--text-xl); }
.tool-card p { margin: 0; color: var(--ink-muted); }
.tool-card .price { margin: var(--space-2) 0; }
.tool-card .text-link { margin-top: auto; }
@media (hover: hover) and (pointer: fine) { .tool-card:hover { transform: translateY(-3px); border-color: var(--border-strong); } }
.tool-grid.compact .tool-card { padding: var(--space-6); }
.account-tools h2 { font-size: var(--text-xl); margin-bottom: var(--space-4); }
.hero-actions { display: flex; justify-content: center; margin-top: var(--space-8); }
/* d2, M9 / f1, f2, f4 (17.11.2026): a fiduciary reaches its own product from the first screen. */
.hero-trust { margin: var(--space-3) 0 0; font-size: var(--text-sm); }
.page-hero p.hero-note { margin-top: var(--space-4); color: var(--ink-subtle); font-size: var(--text-sm); }
.tool-fields { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--space-12); align-items: start; margin-bottom: var(--space-16); }
.tool-fields h2 { font-size: var(--text-2xl); margin: 0; }
.field-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.field-chips li { padding: var(--space-2) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); font-size: var(--text-sm); font-weight: 550; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.check-grid li { position: relative; padding: var(--space-4) var(--space-4) var(--space-4) var(--space-10); border-radius: var(--radius-md); background: var(--surface); }
.check-grid li::before { content: "✓"; position: absolute; left: var(--space-4); top: var(--space-4); color: var(--success); font-weight: 700; }
/* The checks tick one after the other once their row is in view: the mark springs in and the row
   flashes the lime highlighter for a moment (behind the text: ::after at z-index -1 inside the
   isolated row). Same once-in-view flag as the arrivals below; without it, every mark is simply there. */
.check-grid li { isolation: isolate; }
.check-grid li::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--accent); opacity: 0; pointer-events: none; }
@keyframes rt-tick { from { opacity: 0; scale: .2; rotate: -45deg; } 60% { opacity: 1; scale: 1.4; rotate: 0deg; } }
@keyframes rt-row { from { opacity: 0; } 25% { opacity: .5; } to { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .check-grid li { animation: oo-seen linear both; animation-timeline: view(); animation-range: entry 40px entry 120px; }
    @container style(--oo-seen: 0) { .check-grid li::before { opacity: 0; } }
    @container style(--oo-seen: 1) {
      .check-grid li::before { display: inline-block; animation: rt-tick 560ms var(--ease-out) backwards; }
      .check-grid li::after { animation: rt-row 1100ms var(--ease-out) backwards; }
    }
    .check-grid li:nth-child(1)::before, .check-grid li:nth-child(1)::after { animation-delay: 260ms; }
    .check-grid li:nth-child(2)::before, .check-grid li:nth-child(2)::after { animation-delay: 360ms; }
    .check-grid li:nth-child(3)::before, .check-grid li:nth-child(3)::after { animation-delay: 460ms; }
    .check-grid li:nth-child(4)::before, .check-grid li:nth-child(4)::after { animation-delay: 560ms; }
    .check-grid li:nth-child(5)::before, .check-grid li:nth-child(5)::after { animation-delay: 660ms; }
    .check-grid li:nth-child(6)::before, .check-grid li:nth-child(6)::after { animation-delay: 760ms; }
    .check-grid li:nth-child(7)::before, .check-grid li:nth-child(7)::after { animation-delay: 860ms; }
    .check-grid li:nth-child(8)::before, .check-grid li:nth-child(8)::after { animation-delay: 960ms; }
    .check-grid li:nth-child(9)::before, .check-grid li:nth-child(9)::after { animation-delay: 1060ms; }
  }
}
.offer-block { margin-bottom: var(--space-12); }
.tool-privacy { padding: var(--space-6) var(--space-8); border-radius: var(--radius-lg); background: var(--bg-subtle); }
.tool-privacy p { margin: var(--space-2) 0 0; color: var(--ink-muted); }
.tool-upload h2, .buy-block h2 { font-size: var(--text-xl); margin: 0 0 var(--space-5); }
.tool-upload input[type="file"] { padding: var(--space-4); border: 1px dashed var(--input-border); border-radius: var(--radius-md); background: var(--bg-subtle); }
.tool-limit { padding: var(--space-4) var(--space-5); border: 1px solid var(--danger-border); border-radius: var(--radius-md); background: var(--danger-bg); }
.buy-block { padding: var(--space-6) var(--space-8); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.buy-block > p { margin: 0 0 var(--space-3); color: var(--ink-muted); }
.buy-block .field-hint { margin-top: var(--space-4); }
.buy-more-note { margin: var(--space-2) 0 var(--space-4); color: var(--ink-muted); font-size: var(--text-sm); }
.batch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.batch-list a { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.batch-list a > span:first-child { flex: 1; }
.batch-list .pill, .batch-table .pill, .review-item .pill { display: inline-flex; padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); background: var(--bg-muted); color: var(--ink-muted); font-size: var(--text-xs); font-weight: 650; white-space: nowrap; }
.table-scroll { overflow-x: auto; border-radius: var(--radius-lg); background: var(--surface); }
.batch-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.batch-table th { padding: var(--space-4); border-bottom: 1px solid var(--border); color: var(--ink-subtle); font-size: var(--text-xs); font-weight: 650; letter-spacing: var(--tracking-wide); text-align: left; text-transform: uppercase; white-space: nowrap; }
.batch-table td { padding: var(--space-4); border-bottom: 1px solid var(--border); vertical-align: top; }
.batch-table tr:last-child td { border-bottom: 0; }
.batch-table td small { display: block; margin-top: var(--space-1); color: var(--ink-subtle); }
.review-summary { margin: 0; padding: var(--space-5) var(--space-6); border-radius: var(--radius-lg); background: var(--ink-fixed); color: var(--bg-fixed); font-weight: 650; }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
.review-item { padding: var(--space-5) var(--space-6); border-left: 4px solid var(--danger); border-radius: var(--radius-md); background: var(--surface); }
.review-item.is-clean { border-left-color: var(--success); }
.review-item.is-waiting { border-left-color: var(--border); }
.review-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); overflow-wrap: anywhere; }
.review-item > p { margin: var(--space-2) 0 0; color: var(--ink-muted); font-size: var(--text-sm); }
.issue-list { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
/* Second round of 13.11.2026: a notice that cites a long file name (a phone photo) made the report wider than a phone. */
.issue { display: flex; align-items: baseline; gap: var(--space-3); min-width: 0; font-size: var(--text-sm); overflow-wrap: anywhere; }
.issue .pill { flex: none; overflow-wrap: normal; }
@media (max-width: 480px) { .issue { flex-wrap: wrap; row-gap: var(--space-1); } }
.issue-error .pill { background: var(--danger-bg); color: var(--danger); }
.issue-warning .pill { background: color-mix(in srgb, #e3a008 18%, var(--surface)); color: #8a5a00; }
:root[data-theme="dark"] .issue-warning .pill { color: var(--warning-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .issue-warning .pill { color: var(--warning-ink); } }
/* Review of 13.11.2026: a changed bank account stands out from the other warnings (its own label, the colour of an error). */
.issue.issue-bank .pill { background: var(--danger-bg); color: var(--danger); }
.issue.issue-bank { font-weight: 550; }
/* Every value the model read, folded under each invoice (the report shows only what a check found). */
.values-read { margin-top: var(--space-3); border-bottom: 0; }
.values-read summary { padding: var(--space-2) 0; justify-content: flex-start; color: var(--ink-muted); font-size: var(--text-sm); font-weight: 600; }
.values-read summary::after { font-size: var(--text-base); }
.values-read dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: var(--space-2) var(--space-5); margin: var(--space-2) 0 0; font-size: var(--text-sm); }
.values-read dl > div { min-width: 0; }
.values-read dt { color: var(--ink-subtle); font-size: var(--text-xs); font-weight: 650; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.values-read dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
/* The client's monthly plans: renewal or end date, and where to change or cancel them. */
.account-subscriptions h2 { font-size: var(--text-xl); margin-bottom: var(--space-4); }
.plain-list { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-2); }
.plain-list li { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--surface); }
.account-subscriptions .field-hint { margin-top: var(--space-2); }
@media (max-width: 720px) {
  .tool-grid, .check-grid, .tool-fields { grid-template-columns: 1fr; }
  .tool-fields { gap: var(--space-5); }
  .tool-card, .buy-block, .tool-privacy { padding: var(--space-6); }
}

/* ---------- Marketing: problems, products, trust, rules ---------- */
.section-subtle { background: var(--bg-subtle); }
.section > .shell > .tool-fields:last-child { margin-bottom: 0; }
.section > .shell > .tool-fields:last-child h2 { font-size: var(--text-3xl); }
.faq-grid > h2 { font-size: var(--text-3xl); }
.tool-fields > div > p { max-width: 440px; margin: var(--space-4) 0 0; color: var(--ink-muted); }
.product-row-side .product-free { margin: var(--space-1) 0 0; color: var(--ink-muted); font-size: var(--text-sm); }
/* Every plan of a product, one line each (price, billing, what it gives), then the page rule. */
.product-offers { display: grid; gap: var(--space-3); margin: var(--space-6) 0 0; padding: 0; color: var(--ink-subtle); font-size: var(--text-sm); list-style: none; }
.product-offers li { display: grid; gap: 2px; min-width: 0; }
.product-offers .offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--space-2); }
.product-offers strong { color: var(--ink); font-size: var(--text-lg); line-height: 1.2; letter-spacing: var(--tracking-tight); white-space: nowrap; }
.product-offers .offer-what { color: var(--ink-muted); font-size: var(--text-xs); }
.product-row-side .product-offers { margin-top: 0; }
/* "Buy" / "Subscribe" next to each plan (home cards, /services, the pricing columns): a small pill that sits
   above a card's whole-card link. */
.product-offers li { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3); align-items: center; }
.product-offers .offer-price, .product-offers .offer-what { grid-column: 1; }
.product-offers .offer-buy { grid-column: 2; grid-row: 1 / span 2; }
.offer-buy {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: var(--space-1); min-height: 36px;
  padding: 0 var(--space-4); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface);
  color: var(--ink); font-size: var(--text-xs); font-weight: 650; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard), transform 160ms var(--ease-out);
}
.offer-buy:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .offer-buy:hover { border-color: var(--ink); background: var(--bg-muted); } }
.price-card .offer-list .offer-buy { margin-top: var(--space-3); }
/* The product pages' price cards each end with their button, all at one height. */
.offer-grid .price-card > p.offer-terms { padding-bottom: var(--space-5); }
.offer-grid .price-card .button { margin-top: auto; }
/* Before files are chosen: what makes a document readable (a neutral note, not a warning). */
.upload-tips { margin: var(--space-4) 0 var(--space-6); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--bg-subtle); color: var(--ink-muted); font-size: var(--text-sm); }
.upload-tips-title { margin: 0 0 var(--space-2); color: var(--ink); font-weight: 650; }
.upload-tips ul { display: grid; gap: var(--space-1); margin: 0; padding-left: var(--space-5); }
.verify-as { margin-top: 0; font-weight: 650; color: var(--ink); }
/* The plan chosen on a price card, above the sign-up and sign-in forms. */
.plan-chosen { margin: 0 0 var(--space-6); padding: var(--space-3) var(--space-4); border-left: 3px solid var(--accent-strong); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--bg-subtle); color: var(--ink); font-size: var(--text-sm); font-weight: 600; }
.result-card .plan-chosen { margin: var(--space-6) 0; color: var(--ink); font-size: var(--text-sm); text-align: left; }
.product-pages, .offer-pages { margin: var(--space-2) 0 var(--space-3); color: var(--ink-subtle); font-size: var(--text-xs); }
/* What happens to the documents: four plain facts. */
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.trust-grid li { min-width: 0; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface); }
.trust-grid h3 { font-size: var(--text-lg); line-height: var(--leading-snug); }
.trust-grid p { margin: var(--space-2) 0 0; color: var(--ink-muted); font-size: var(--text-sm); }
.faq-grid.standalone { margin-top: 0; padding-top: 0; border-top: 0; }
/* /services: one row per product. */
.product-rows { display: grid; gap: var(--space-5); }
.product-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-12); align-items: start; padding: var(--space-10); border-radius: var(--radius-lg); background: var(--bg-subtle); }
.product-row .eyebrow { margin-bottom: var(--space-3); }
.product-row h2 { font-size: var(--text-3xl); }
.product-row-copy > p { max-width: 620px; margin: var(--space-4) 0 0; color: var(--ink-muted); font-size: var(--text-md); }
.product-row .check-list { margin: var(--space-5) 0 0; }
.product-row .check-list li::before, .product-audience .check-list li::before { content: "✓"; color: var(--success); }
.product-row-side { padding: var(--space-6); border-radius: var(--radius-md); background: var(--surface); }
.product-row-side .price-actions { margin-top: var(--space-6); }
.included-block { margin-top: var(--space-20); }
.product-rows + .pricing-vat { margin-top: var(--space-6); }
/* /how-it-works: each rule, explained. */
.process-grid + .rules-block { margin-top: var(--space-20); }
.rules-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.rule-card { min-width: 0; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--bg-subtle); }
.rule-card.rule-wide { grid-column: 1 / -1; }
.rule-card h3 { font-size: var(--text-xl); }
.rule-card p { max-width: 720px; margin: var(--space-3) 0 0; color: var(--ink-muted); }
.rule-card p + h3 { margin-top: var(--space-8); }
.rule-card .table-scroll { margin-top: var(--space-5); border-radius: var(--radius-md); }
.rate-table, .vat-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.rate-table th, .rate-table td, .vat-table th, .vat-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); text-align: left; }
.rate-table tbody tr:last-child > *, .vat-table tbody tr:last-child > * { border-bottom: 0; }
.rate-table thead th, .vat-table thead th { color: var(--ink-subtle); font-size: var(--text-xs); font-weight: 650; letter-spacing: var(--tracking-wide); text-transform: uppercase; white-space: nowrap; }
.rate-table tbody th, .vat-table tbody th { font-weight: 600; white-space: nowrap; }
.rate-table td { font-weight: 650; white-space: nowrap; }
/* k4, 4.16 (17.11.2026): on a phone only the first rate column was visible; the headings wrap and the cells take less room, so the four columns fit. */
@media (max-width: 680px) { .rate-table { table-layout: fixed; font-size: var(--text-xs); } .rate-table thead th, .rate-table tbody th, .rate-table td { padding: var(--space-2) var(--space-2); white-space: normal; overflow-wrap: anywhere; } .rate-table thead th { letter-spacing: 0; text-transform: none; overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; } .rate-table thead th:first-child { width: 36%; } }
.vat-table td { text-align: right; white-space: nowrap; }
.vat-table thead th:not(:first-child) { text-align: right; }
.register-states { display: grid; gap: var(--space-2); margin: var(--space-5) 0 0; }
.register-states div { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface); }
.register-states dt { font-size: var(--text-sm); font-weight: 650; }
.register-states dd { margin: var(--space-1) 0 0; color: var(--ink-muted); font-size: var(--text-sm); }
.deliverables li a { color: var(--ink); }
.callout > div > p:last-child { margin-bottom: 0; }
.callout .button, .callout .text-link { margin-top: var(--space-2); }
/* /pricing: one column per product, every offer listed. */
.product-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.product-plan { min-width: 0; padding: var(--space-7); }
@media (hover: hover) and (pointer: fine) { .product-plan:hover { transform: none; } }
.product-plan .eyebrow { margin-bottom: var(--space-3); }
.product-plan > h2 { font-size: var(--text-2xl); }
.price-card > p.plan-lead { min-height: 0; margin: var(--space-3) 0 0; font-size: var(--text-sm); }
.price-card > p.plan-free { min-height: 0; margin: var(--space-5) 0 0; padding: var(--space-3) var(--space-4); border-left: 3px solid var(--accent-strong); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--bg-subtle); color: var(--ink); font-size: var(--text-sm); font-weight: 600; }
.price-card .offer-list { flex: 0 0 auto; margin: var(--space-5) 0 0; padding: 0; border-top: 1px solid var(--border); }
.price-card .offer-list li { margin: 0; padding: var(--space-4) 0; border-bottom: 1px solid var(--border); }
.price-card .offer-list li::before { content: none; }
.offer-list .price { margin: 0 0 var(--space-1); }
.offer-list .price strong { font-size: var(--text-2xl); }
.offer-name { margin: 0; font-weight: 650; }
.offer-detail { margin: var(--space-1) 0 0; color: var(--ink-muted); font-size: var(--text-sm); }
.offer-terms { margin: var(--space-1) 0 0; color: var(--ink-subtle); font-size: var(--text-xs); }
.price-card .plan-includes { margin: var(--space-5) 0 var(--space-7); padding-top: 0; border-top: 0; font-size: var(--text-sm); }
.price-card .plan-includes li { margin: var(--space-2) 0; color: var(--ink-muted); }
.product-plans + .pricing-disclaimer { margin-top: var(--space-8); }
.why-prices { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-12); margin-top: var(--space-20); padding-top: var(--space-16); border-top: 1px solid var(--border); }
.why-prices h2 { font-size: var(--text-3xl); }
.why-list { display: grid; gap: var(--space-6); }
.why-list strong { font-size: var(--text-lg); }
.why-list p { max-width: 620px; margin: var(--space-2) 0 0; color: var(--ink-muted); }
/* Product pages: hero actions, the note, the report illustration and the offers. */
.hero-actions { flex-wrap: wrap; gap: var(--space-3); }
.process-grid.product-steps { margin-bottom: var(--space-16); }
.product-steps li { min-height: 0; }
.product-note { margin: 0 0 var(--space-16); padding: var(--space-6) var(--space-8); border-left: 3px solid var(--accent-strong); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: var(--bg-subtle); }
.product-note p { max-width: 760px; margin: var(--space-2) 0 0; color: var(--ink-muted); }
.product-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: var(--space-12); align-items: start; margin-bottom: var(--space-16); }
.product-split > * { min-width: 0; }
.product-audience h2 { font-size: var(--text-2xl); }
.product-audience .check-list { margin: var(--space-5) 0 0; }
.report-sample { margin: 0; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--bg-subtle); }
.report-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border); color: var(--ink-subtle); font-size: var(--text-xs); font-weight: 650; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.report-top span:first-child { color: var(--ink); }
.report-summary { margin: 0 0 var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--ink-fixed); color: var(--bg-fixed); font-size: var(--text-sm); font-weight: 650; }
.report-rows { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.report-row { min-width: 0; padding: var(--space-4) var(--space-5); border-left: 4px solid var(--danger); border-radius: var(--radius-md); background: var(--surface); }
.report-row.is-ok { border-left-color: var(--success); }
.report-row.is-warning { border-left-color: #e3a008; }
.report-row.is-first { border-left-color: var(--border-strong); }
.report-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-1) var(--space-3); }
.report-head strong { font-size: var(--text-sm); overflow-wrap: anywhere; }
.report-row .pill { display: inline-flex; padding: 2px var(--space-3); border-radius: var(--radius-pill); background: var(--danger-bg); color: var(--danger); font-size: var(--text-xs); font-weight: 650; white-space: nowrap; }
.report-row.is-ok .pill { background: color-mix(in srgb, var(--success) 14%, var(--surface)); color: var(--success); }
.report-row.is-warning .pill { background: color-mix(in srgb, #e3a008 18%, var(--surface)); color: #7a4f0e; }
/* Final review of 30.11.2026: the supplier's first invoice is neutral grey (contrast 6.2:1 light, 8.0:1 dark), never the red of the base rule. */
.report-row.is-first .pill { background: var(--bg-muted); color: var(--ink-muted); }
:root[data-theme="dark"] .report-row.is-warning .pill { color: var(--warning-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .report-row.is-warning .pill { color: var(--warning-ink); } }
/* Review of 18.11.2026 (d2 B3): with forced colours (Windows high contrast) the pills lost their background and read as loose bold words
   («Vor dem Zahlen klären»). A line in the text colour keeps their shape; an outline, so nothing moves. */
@media (forced-colors: active) { .pill, .status-pill { outline: 1px solid CanvasText; outline-offset: -1px; } }
.report-row > p { margin: var(--space-1) 0 0; color: var(--ink-muted); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.report-row > p.report-issue { color: var(--ink); }
.report-sample .table-scroll { border-radius: var(--radius-md); }
.vat-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); margin: var(--space-2) 0 var(--space-4); }
.vat-totals div { min-width: 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface); }
.vat-totals dt { color: var(--ink-subtle); font-size: var(--text-xs); }
.vat-totals dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.report-export { margin-top: var(--space-5); }
.report-export strong { display: block; margin-bottom: var(--space-3); font-size: var(--text-sm); }
.report-export .field-chips li { padding: var(--space-1) var(--space-3); font-size: var(--text-xs); }
.offer-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2) var(--space-8); margin-bottom: var(--space-6); }
.offer-head h2 { font-size: var(--text-2xl); }
.offer-head p { max-width: 560px; margin: 0; color: var(--ink-muted); font-size: var(--text-sm); }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.offer-grid.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offer-grid.count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.offer-grid .price-card { min-width: 0; padding: var(--space-6); }
.offer-grid .price-card > p { min-height: 0; margin: 0; font-size: var(--text-sm); }
.offer-grid .price-card > p.offer-terms { margin-top: var(--space-2); font-size: var(--text-xs); }
.offer-grid .price { margin: var(--space-4) 0 var(--space-3); }
.offer-grid .price strong { font-size: var(--text-2xl); }
.offer-grid .offer-free { border: 1px dashed var(--border-strong); background: transparent; }
.offer-free .button { margin-top: var(--space-5); }
@media (min-width: 681px) { .offer-grid .price-card > h3 { min-height: 2.2em; } }
.faq-grid + .tool-privacy { margin-top: var(--space-16); }
.offer-includes { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2) var(--space-8); align-items: baseline; margin-top: var(--space-4); padding: var(--space-5) var(--space-6); border-radius: var(--radius-lg); background: var(--bg-subtle); font-size: var(--text-sm); }
.offer-includes ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin: 0; padding: 0; list-style: none; }
.offer-includes li { position: relative; padding-left: var(--space-5); color: var(--ink-muted); }
.offer-includes li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
@media (max-width: 1080px) {
  .trust-grid, .offer-grid.count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-plans { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
}
@media (max-width: 920px) {
  .product-row, .product-split, .why-prices { grid-template-columns: minmax(0, 1fr); }
  .product-row, .product-split, .why-prices { gap: var(--space-6); }
  .offer-grid, .offer-grid.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-includes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .vat-totals { grid-template-columns: minmax(0, 1fr); }
  .offer-grid.count-4, .offer-grid.count-2, .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .product-plan { padding: var(--space-6); }
  .report-sample { padding: var(--space-4); }
  .vat-table th, .vat-table td { padding: var(--space-2) var(--space-3); }
  .vat-table { font-size: var(--text-xs); }
  .vat-table thead th { letter-spacing: 0; white-space: normal; }
  .product-row h2 { font-size: var(--text-2xl); }
  .product-note { padding: var(--space-5); }
}

/* ---------- Client area ---------- */
.account-login { max-width: 560px; margin: 0 auto; }
.account-soon { max-width: 640px; margin: 0 auto; border-color: var(--border-strong); background: var(--surface); }
.account-layout { display: grid; gap: var(--space-8); }
.account-layout > * { min-width: 0; }
.plan-status { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-8); align-items: center; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.plan-status h2 { font-size: var(--text-xl); margin: var(--space-2) 0 var(--space-3); }
.plan-status p { margin: 0; color: var(--ink-muted); }
.plan-status.plan-ended, .plan-status.plan-paused, .plan-status.is-full { border-color: var(--danger-border); }
.usage { display: grid; gap: var(--space-3); }
.usage label, .usage .usage-count { margin: 0; color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.usage meter { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 10px; border: 0; border-radius: var(--radius-pill); background: var(--bg-muted); overflow: hidden; }
.usage meter::-webkit-meter-bar { height: 10px; border: 0; border-radius: var(--radius-pill); background: var(--bg-muted); }
.usage meter::-webkit-meter-optimum-value { border-radius: var(--radius-pill); background: var(--accent-strong); }
.usage meter::-webkit-meter-suboptimum-value { border-radius: var(--radius-pill); background: #e3a008; }
.usage meter::-webkit-meter-even-less-good-value { border-radius: var(--radius-pill); background: var(--danger); }
.usage meter::-moz-meter-bar { border-radius: var(--radius-pill); background: var(--accent-strong); }
.usage meter:-moz-meter-sub-optimum::-moz-meter-bar { background: #e3a008; }
.usage meter:-moz-meter-sub-sub-optimum::-moz-meter-bar { background: var(--danger); }
.usage-note { font-size: var(--text-sm); }
.usage .button { justify-self: start; margin-top: var(--space-2); }
.account-requests h2 { font-size: var(--text-xl); margin-bottom: var(--space-4); }
.account-requests > ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.account-request { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface); }
.account-request-head { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.account-request > p { margin: var(--space-3) 0; color: var(--ink-muted); overflow-wrap: anywhere; }
.account-request .pill, .account-docs .pill { display: inline-flex; padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); background: var(--bg-muted); color: var(--ink-muted); font-size: var(--text-xs); font-weight: 650; }
.account-docs { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-2); }
.account-docs li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--bg-muted); overflow-wrap: anywhere; }
.account-actions { align-items: center; }
.account-actions form { margin: 0; }
.account-signout-all { margin-top: var(--space-4); }
.account-signout-all form { margin: 0; }
.account-signout-all .field-hint { margin: var(--space-2) 0 0; }
@media (max-width: 720px) { .plan-status { grid-template-columns: 1fr; padding: var(--space-6); } }

/* ---------- Footer ---------- */
.site-footer { padding: var(--space-16) 0 var(--space-6); color: var(--ink-fixed-muted); background: var(--ink-fixed); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: var(--space-14); padding-bottom: var(--space-12); }
.footer-brand { color: var(--bg-fixed); font-size: var(--text-lg); font-weight: 650; text-decoration: none; }
.footer-operated { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--ink-fixed-muted); max-width: 34ch; }
.footer-grid p { max-width: 340px; color: var(--ink-fixed-subtle); }
.footer-grid h2 { margin-bottom: var(--space-4); color: var(--bg-fixed); font-size: var(--text-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; font-weight: 650; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a:not(.footer-brand) { margin: var(--space-1) 0; text-decoration: none; color: var(--ink-fixed-muted); transition: color var(--duration-base) var(--ease-standard); }
/* Review of 18.11.2026 (d2 B5, WCAG 1.4.12): with a reader's wider letter and word spacing, «Auftragsbearbeitung (AVV)» was 13 px wider than
   its column at 390 px. A link breaks inside a word only when the word does not fit. */
.footer-grid a:not(.footer-brand) { overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .footer-grid a:hover { color: var(--accent); } }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--space-6); padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, .1); color: var(--ink-fixed-subtle); font-size: var(--text-xs); }

/* ---------- Scroll choreography (CSS only, CSP script-src 'none') ----------
   The page answers the mouse wheel and the finger: everything below is tied
   to scroll position with animation-timeline, so it moves exactly as fast as
   the visitor scrolls and stops when they stop. Rules of the house:
   - only transform/opacity-type properties (translate, scale, opacity);
   - `translate`/`scale` individual properties or registered custom
     properties, never a second `transform` shorthand on an element that
     already owns one (hover tilts stay intact);
   - @supports + prefers-reduced-motion gate: without support, or for anyone
     who asked for less motion, the page is simply static and fully visible. */
@property --fan-x { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --fan-y { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --fan-rot { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --fan-turn { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    /* 2. The hero eases away as you scroll past it: a touch slower than the
          page (parallax), slightly smaller and dimmer, so the next section
          feels like it slides over it rather than the page just moving. */
    .page-hero .shell {
      animation: oo-hero-away linear both; animation-timeline: scroll(root block);
      animation-range: 0 75vh;
    }
    /* Only where the whole home hero fits the first screen: on a phone the
       workflow panel and its data flows sit a screen further down, and
       fading the hero on the way there left them washed out on arrival.
       It starts after the first 360px, once the invoice in the panel has
       been read, so the reading is never dimmed. */
    @media (min-width: 921px) {
      .hero .hero-grid { animation: oo-hero-away linear both; animation-timeline: scroll(root block); animation-range: 360px calc(360px + 60vh); }
    }

    /* 3. The sample documents arrive as a fanned deck that closes up as the
          section scrolls into view, each card turning to face the visitor like
          a page laid on the desk; once they lie flat, each result is stamped
          on. One named timeline on the section, so the cards follow the page
          scroll, not the carousel's own sideways one. */
    .sample-docs { view-timeline: --docs block; }
    .doc-track > .doc-card { animation: oo-deal linear both; animation-timeline: --docs; animation-range: entry 0% cover 45%; }
    .doc-track > .doc-card:nth-child(1) { --deal-x: 40px;  --deal-y: 40px; --deal-rot: -4deg; --deal-turn: -34deg; }
    .doc-track > .doc-card:nth-child(2) { --deal-x: 120px; --deal-y: 70px; --deal-rot: 3deg; --deal-turn: -44deg; }
    .doc-track > .doc-card:nth-child(3) { --deal-x: 200px; --deal-y: 100px; --deal-rot: 6deg; --deal-turn: -54deg; }
    .doc-track > .doc-card .doc-status { animation: rt-stamp linear both; animation-timeline: --docs; animation-range: cover 36% cover 46%; }
    .doc-track > .doc-card:nth-child(2) .doc-status { animation-range: cover 39% cover 49%; }
    .doc-track > .doc-card:nth-child(3) .doc-status { animation-range: cover 42% cover 52%; }
  }
  @media (min-width: 921px) {
    /* 4. Desktop: the header stays with you and gains a soft edge once the
          page has moved, so it reads as floating above the content. */
    .site-header { position: sticky; top: 0; }
    @supports (animation-timeline: scroll()) {
      .site-header { animation: oo-header-lift linear both; animation-timeline: scroll(root block); animation-range: 0 140px; }
    }
  }
}
/* Round 4 (d03 3.3, WCAG 1.4.3; fix I): the headings of the first screen no longer fade while the page scrolls. At 35 % they stayed as dim as
   that wherever the visitor stopped (2.67 to 3.96 : 1). They still rise and settle a little, at full contrast. */
@keyframes oo-hero-away { from { translate: 0 0; scale: 1; } to { translate: 0 -56px; scale: .97; } }
@keyframes oo-deal {
  from { opacity: 0; --fan-x: var(--deal-x); --fan-y: var(--deal-y); --fan-rot: var(--deal-rot); --fan-turn: var(--deal-turn); }
  40% { opacity: 1; }
  to { opacity: 1; --fan-x: 0px; --fan-y: 0px; --fan-rot: 0deg; --fan-turn: 0deg; }
}
@keyframes rt-stamp { from { opacity: 0; scale: 1.7; rotate: -9deg; } 70% { opacity: 1; scale: .94; rotate: 1deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes oo-header-lift { from { box-shadow: 0 0 0 0 rgba(23, 25, 27, 0); } to { box-shadow: 0 10px 30px -18px rgba(23, 25, 27, .35); } }

/* ---------- Arrival ----------
   Review of 17.11.2026 (c3 R2, d2): the words of the first screen are there from the first paint. The home hero's text and the heading of
   every inner page only rise a little (a translate, no fade), so the largest text a search engine measures is painted at once (it waited
   about a second for a fade: 1372 ms instead of 280 ms on /de). The invoice of the home hero keeps its own arrival and its reading, and the
   lime mark still sweeps in under the headline. No entrances on scroll any more (blocks appeared one after the other while being read).
   The ticks of the check lists keep their small once-in-view flag (--oo-seen: 0 below the fold, 1 once in view; its resting value 2
   shows everything where the flag never resolves). Visitors who asked for less motion get none of it. */
@property --oo-seen { syntax: '<integer>'; inherits: false; initial-value: 2; }
@keyframes oo-seen { from { --oo-seen: 0; } to { --oo-seen: 1; } }
@keyframes oo-arrive { from { opacity: 0; translate: 0 12px; } }
@keyframes oo-rise { from { translate: 0 10px; } }
@keyframes oo-mark { from { background-size: 0% 100%; } }

@media (prefers-reduced-motion: no-preference) {
  /* On load: first screen. */
  .hero-copy > :not(h1), .page-hero .shell > *, .result-card { animation: oo-rise 560ms var(--ease-arrive) backwards; }
  .hero-copy > .hero-lead, .page-hero .shell > :nth-child(2) { animation-delay: 40ms; }
  .hero-copy > .hero-complement, .hero-copy > .button-row, .page-hero .shell > :nth-child(3) { animation-delay: 80ms; }
  .hero-copy > .hero-trust, .hero-copy > .hero-points, .page-hero .shell > :nth-child(n+4) { animation-delay: 120ms; }
  .workflow-panel { animation: oo-arrive 900ms var(--ease-arrive) 240ms backwards; }
  /* A page that reloads itself every few seconds while invoices are read
     (batch, VAT period, client folder) would replay the entrance each time. */
  .is-live .page-hero .shell > *, .is-live .result-card { animation: none; }
  .hero h1 em { background-repeat: no-repeat; background-size: 100% 100%; animation: oo-mark 760ms var(--ease-out) 360ms backwards; }

  /* Buttons: the arrow leans the way it points while the pointer is on it. */
  .button > span[aria-hidden] { display: inline-block; transition: translate 160ms var(--ease-out); }
  @media (hover: hover) and (pointer: fine) { .button:hover > span[aria-hidden] { translate: 2px -2px; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Five header items since "Sign in" joined them: in German and French they no longer fit on one row below about
   1000 px, so up to 1100 px the header wraps as it does below 920 px, instead of breaking labels over two lines. */
@media (max-width: 1100px) {
  .nav-shell { align-items: flex-start; padding-block: var(--space-4); }
  .site-header nav ul { justify-content: flex-end; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
  .site-header nav .nav-cta { min-height: 34px; }
  .site-header nav a[aria-current="page"]::after { bottom: -4px; }
}

@media (max-width: 920px) {
  .nav-shell { align-items: flex-start; padding-block: var(--space-4); }
  .site-header nav ul { justify-content: flex-end; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
  .site-header nav .nav-cta { min-height: 34px; }
  /* The current-page line sat 21px below the link — on the wrapped header that is
     under (and hidden by) the request button on the next row. */
  .site-header nav a[aria-current="page"]::after { bottom: -4px; }
  .lang-switch a, .lang-switch span { min-height: 32px; align-items: center; }
  .hero-grid, .section-heading, .fit-grid, .form-layout, .legal-layout, .guide-layout, .faq-grid { grid-template-columns: 1fr; }
  .guide-aside { position: static; }
  .hero { padding-top: var(--space-16); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid li:nth-child(3), .process-grid li:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .section:not(.section-dark) .process-grid li:nth-child(3), .section:not(.section-dark) .process-grid li:nth-child(4) { border-color: var(--border); }
  .form-layout aside, .legal-layout nav { position: static; }
  .legal-layout nav { display: none; }
  .form-layout { gap: var(--space-6); }
  .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; gap: var(--space-8); }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  /* Phone header (review of 28.11.2026, design): ONE row, the brand and a «Menu» button (a checkbox and its label, no script). The links, the
     start button, the language and the light/dark switch open under it. It had three rows (about 127 px) before. */
  .nav-shell { display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 0; min-height: 60px; padding-block: var(--space-2); }
  .brand { margin-bottom: 0; }
  .nav-burger { display: inline-flex; grid-column: 2; grid-row: 1; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); color: var(--ink); font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
  .nav-burger svg { width: 18px; height: 18px; }
  /* Final review of 28.11.2026 (Fable H2): on the phone the checkbox is shown again (visually hidden by .visually-hidden, but focusable and in the accessibility
     tree with its name from a11y.menu): Tab reaches it, Space opens the menu and a screen reader announces it. With display: none (the wide-screen rule) it had neither. */
  .nav-toggle { display: block; }
  .nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
  .nav-toggle:checked + .nav-burger { background: var(--bg-muted); }
  .nav-group { display: none; }
  .nav-toggle:checked ~ .nav-group { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-3); grid-column: 1 / -1; grid-row: 2; padding: var(--space-2) 0 var(--space-4); }
  .nav-group .nav-tools { justify-content: space-between; gap: var(--space-2); }
  .site-header nav ul { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; }
  .site-header nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: var(--text-sm); }
  /* Review of 18.11.2026 (c5 3.8, v2 c5-d): the full width is for the lime button only. */
  .site-header nav li:last-child:has(> .nav-cta) { width: 100%; }
  .site-header nav a[aria-current="page"]::after { bottom: 6px; }
  .site-header nav .nav-cta { justify-content: center; width: 100%; min-height: 44px; margin-top: var(--space-1); }
  .lang-switch { margin-top: 0; }
  .hero { padding: var(--space-14) 0; }
  .hero h1 { font-size: var(--text-3xl); }
  .hero-points { align-items: flex-start; flex-direction: column; gap: var(--space-2); }
  .workflow-panel { margin-inline: 0; padding: var(--space-5); }
  .section { padding: var(--space-16) 0; }
  .section-heading { gap: var(--space-5); margin-bottom: var(--space-8); }
  .section-heading h2 { font-size: var(--text-2xl); }
  .section-action { text-align: left; }
  .trust-grid, .product-plans, .rules-grid, .why-prices, .product-split, .offer-grid, .deliverables, .callout, .faq-grid, .field-row, .extracted-fields div { grid-template-columns: 1fr; }
  .rule-card, .product-row { padding: var(--space-6); }
  .price-card { padding: var(--space-7); }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: auto; border-right: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .section:not(.section-dark) .process-grid li { border-color: var(--border); }
  .process-grid > li > span { margin-bottom: var(--space-5); }
  .callout { padding: var(--space-8) var(--space-6); gap: var(--space-5); }
  .faq-grid { gap: var(--space-5); margin-top: var(--space-16); }
  .page-hero { padding: var(--space-14) 0; }
  .page-hero h1 { font-size: var(--text-3xl); }
  .form-section { padding: var(--space-8) 0 var(--space-16); }
  .form-card { border-radius: var(--radius-md); }
  .submit-button { width: 100%; }
  .legal-definition { grid-template-columns: 1fr; }
  .legal-definition dt { padding-bottom: 0; border-bottom: 0; }
  .legal-definition dd { padding-top: var(--space-1); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: var(--space-1); }
}
/* Very narrow phones (320 px): two link columns no longer fit a long word such as
   "Auftragsbearbeitung (AVV)", and the page scrolled sideways. One column below 360 px. */
.footer-grid > div { min-width: 0; }
@media (max-width: 359px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reading in progress (batch, VAT period, client folder): a turning wheel, the status, and a bar of how many are
   read. The wheel only turns for those who allow motion; the bar and the text say the same without it. */
.read-progress { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: var(--space-3); row-gap: var(--space-3); }
.read-progress p { margin: 0; }
.read-progress progress { grid-column: 1 / -1; width: 100%; max-width: 32rem; height: 6px; appearance: none; -webkit-appearance: none; border: 0; border-radius: var(--radius-pill); background: var(--bg-muted); color: var(--ink); overflow: hidden; }
.read-progress progress::-webkit-progress-bar { background: var(--bg-muted); border-radius: var(--radius-pill); }
.read-progress progress::-webkit-progress-value { background: var(--ink); border-radius: var(--radius-pill); }
.read-progress progress::-moz-progress-bar { background: var(--ink); border-radius: var(--radius-pill); }
.spinner { display: inline-block; flex: none; width: 1.1em; height: 1.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; opacity: .75; }
.pill.is-busy { align-items: center; gap: var(--space-2); }
/* Stopped (the day's cap, the reading service, a stall): no wheel; the reason, in the warning colours. */
.read-progress.is-stopped { grid-template-columns: 1fr; }
.read-progress .read-reason { color: var(--ink); font-weight: 600; }
.pill.is-stopped { background: color-mix(in srgb, #e3a008 18%, var(--surface)); color: #8a5a00; }
:root[data-theme="dark"] .pill.is-stopped { color: var(--warning-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill.is-stopped { color: var(--warning-ink); } }
.pill.is-busy .spinner { width: .95em; height: .95em; border-width: 1.5px; }
@keyframes oo-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) { .spinner { animation: oo-spin 900ms linear infinite; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy, .workflow-panel, .process-grid li, .trust-grid > *, .deliverables > *, .faq-grid details, .hero-points > li {
    opacity: 1; transform: none; animation: none;
  }
  *, *::before, *::after {
    transition-property: color, background-color, border-color, opacity !important;
    transition-duration: var(--duration-fast) !important;
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
  }
  .button:active, .site-header nav .nav-cta:active { transform: none; }
  .doc-card, .doc-card:hover { transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Feedback strip (every page) and feedback form */
.feedback-strip { border-bottom: 1px solid var(--border); background: var(--bg-subtle); font-size: var(--text-sm); }
.feedback-strip p { margin: 0; padding: var(--space-2) 0; color: var(--ink-muted); text-align: center; }
.feedback-strip a { color: var(--ink); font-weight: 650; text-decoration: none; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .feedback-strip a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.feedback-card textarea { min-height: 9rem; resize: vertical; }

/* Operator area (only the operator sees it) */
.operator { padding: var(--space-12) 0 var(--space-20); }
.operator h2 { margin: var(--space-12) 0 var(--space-4); font-size: var(--text-xl); }
.operator h2:first-child { margin-top: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: var(--space-3); }
@media (max-width: 480px) { .stat-grid { grid-template-columns: 1fr 1fr; } .stat { padding: var(--space-4); } }
.stat { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.stat-label { color: var(--ink-subtle); font-size: var(--text-xs); font-weight: 650; }
.stat strong { font-size: var(--text-2xl); line-height: var(--leading-tight); font-variant-numeric: tabular-nums; }
.stat small { color: var(--ink-subtle); font-size: var(--text-xs); }
.operator-note { max-width: 70ch; color: var(--ink-muted); font-size: var(--text-sm); }
.table-wrap { overflow-x: auto; }
.operator-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.operator-table th, .operator-table td { padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
.operator-table meter { width: min(12rem, 24vw); height: .6rem; margin-right: var(--space-2); vertical-align: middle; }
.feedback-list { display: grid; gap: var(--space-3); }
.feedback-item { padding: var(--space-5); border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); }
.feedback-item.is-read { border-color: var(--border); background: var(--bg-subtle); }
.feedback-item header { color: var(--ink-subtle); font-size: var(--text-xs); }
.feedback-item .pill { display: inline-flex; padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); background: var(--bg-muted); color: var(--ink-muted); font-size: var(--text-xs); font-weight: 650; }
.feedback-message { margin: var(--space-3) 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-meta { margin: 0 0 var(--space-3); color: var(--ink-muted); font-size: var(--text-sm); overflow-wrap: anywhere; }
.feedback-item button.text-link { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: var(--text-sm); font-weight: 650; }
.empty-note { color: var(--ink-muted); }
/* The good/bad choice only matters for an opinion; hide it for the other types where :has() exists. */
@supports selector(:has(*)) {
  .feedback-card form:not(:has(.feedback-kind input[value="experience"]:checked)) .feedback-rating { display: none; }
}
.feedback-prompt { margin: var(--space-8) 0 0; color: var(--ink-muted); }
.feedback-item .pill.rating-good { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.feedback-item .pill.rating-bad { background: var(--danger-bg); color: var(--danger); }

/* ==== New offer (October 2026): UID register notes on the Invoice check, VAT pre-check workspace and report ==== */
.issue-info .pill { background: var(--bg-muted); color: var(--ink-muted); }
.review-item.vat-check { border-left-color: #e3a008; }
.vat-period { margin: 0 0 var(--space-6); padding: 0; border: 0; }
.vat-period legend { margin-bottom: var(--space-3); padding: 0; font-weight: 650; font-size: var(--text-sm); }
.vat-period-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.vat-period-fields .field { margin-bottom: 0; }
@media (max-width: 480px) { .vat-period-fields { grid-template-columns: 1fr; } }
/* Review 6, agent D: the VAT settings (method, periodicity, basis), three drop-downs side by side, one under the other on a phone. */
/* Review of agent D's work (finding 11): one drop-down under the other at every width, so no option is cut (the page is at most 800 px wide). */
.vat-settings-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 34rem; }
.vat-settings-fields select { width: 100%; }
/* Finding 10: what the settings mean for the figures, set apart from the rest. */
.vat-settings-notice { border-color: color-mix(in srgb, #e3a008 55%, var(--border)); border-left-width: 4px; }
.vat-settings-notice p { margin: 0 0 var(--space-2); color: var(--ink); }
.vat-caption { caption-side: top; padding: var(--space-4); font-weight: 650; text-align: left; }
.vat-total-row th, .vat-total-row td { border-top: 1px solid var(--border); font-weight: 650; }
.vat-total-row th { padding: var(--space-4); border-bottom: 0; color: inherit; font-size: inherit; letter-spacing: normal; text-align: left; text-transform: none; }
.vat-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vat-totals .stat strong { font-size: var(--text-xl); white-space: nowrap; }
.review-item .pill.vat-verdict { gap: var(--space-1); }
.vat-invoices-title { margin: var(--space-6) 0 var(--space-3); font-size: var(--text-xl); }
.vat-note { color: var(--ink-subtle); font-size: var(--text-sm); }
.upload-start-tip { margin: 0 0 var(--space-4); padding: var(--space-4) var(--space-5); border-left: 3px solid var(--accent, #d9ef54); border-radius: var(--radius-md); background: var(--surface); font-size: var(--text-sm); }
/* ==== end of the new-offer block ==== */

/* ==== Receipt inbox for fiduciaries: workspace, client folder, the client's upload page ==== */
.trust-allowance { font-size: var(--text-md) !important; font-weight: 650; color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.trust-create-fields { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0 var(--space-5); }
.trust-upgrade { margin: 0; color: var(--ink-muted); }
.folder-list a { flex-wrap: wrap; row-gap: var(--space-2); min-height: 64px; }
.folder-list .folder-name { display: flex; flex-direction: column; gap: 2px; min-width: min(100%, 14rem); overflow-wrap: anywhere; }
.folder-list a > span[aria-hidden] { margin-left: auto; }
.folder-list .folder-name small { color: var(--ink-subtle); font-size: var(--text-xs); font-weight: 550; }
.folder-list.is-archived a { background: var(--bg-muted); color: var(--ink-muted); }
.choose-list { display: grid; gap: var(--space-2); }
.choose-list li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface); }
.choose-list .folder-name { flex: 1; min-width: min(100%, 14rem); overflow-wrap: anywhere; }
.choose-list form { margin: 0; }
@media (hover: hover) and (pointer: fine) { .folder-list a { transition: background-color var(--duration-base) var(--ease-standard); } .folder-list a:hover { background: var(--bg-muted); } }
.batch-list .pill.is-warning, .doc-row.tone-warning .status-pill, .doc-row.tone-quota .status-pill { background: color-mix(in srgb, #e3a008 18%, var(--surface)); color: #7a4f0e; }
:root[data-theme="dark"] .batch-list .pill.is-warning, :root[data-theme="dark"] .doc-row.tone-warning .status-pill, :root[data-theme="dark"] .doc-row.tone-quota .status-pill { color: var(--warning-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .batch-list .pill.is-warning, :root:not([data-theme="light"]) .doc-row.tone-warning .status-pill, :root:not([data-theme="light"]) .doc-row.tone-quota .status-pill { color: var(--warning-ink); } }

.trust-shell { max-width: 1040px; }
.trust-card { padding: var(--space-6) var(--space-8); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.trust-card h2, .trust-month > h2 { margin: 0 0 var(--space-4); font-size: var(--text-xl); }
.trust-card > p { margin: 0 0 var(--space-5); color: var(--ink-muted); }
.trust-card .field { margin-bottom: var(--space-5); }
.trust-link.is-fresh { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 70%, transparent); }
.trust-link .trust-link-note { color: var(--ink); font-weight: 600; }
.trust-link-field input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: var(--text-sm); background: var(--bg-subtle); }
.trust-link-actions { margin: 0 0 var(--space-5); }
.trust-link-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.trust-mail-cc { margin-top: var(--space-5); }
.trust-links-download { margin: var(--space-3) 0 0; }
.trust-link-form { gap: var(--space-3); }
.trust-archived { border-color: var(--border-strong); background: var(--bg-muted); }
.trust-archived p { margin: 0; }
.month-nav { margin: 0 0 var(--space-5); overflow-x: auto; }
.month-nav ul { display: flex; gap: var(--space-2); margin: 0; padding: 2px; list-style: none; }
.month-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-4); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink-muted); font-size: var(--text-sm); font-weight: 600; text-decoration: none; white-space: nowrap; }
.month-nav a[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
@media (hover: hover) and (pointer: fine) { .month-nav a:not([aria-current]):hover { border-color: var(--ink-subtle); color: var(--ink); } }
.trust-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: var(--space-5); }
.trust-stats .stat.is-warning { border-color: color-mix(in srgb, #e3a008 55%, var(--border)); }
.doc-table th.num, .doc-table td.num { text-align: right; white-space: nowrap; }
.doc-table td:first-child, .doc-table td:nth-child(2) { white-space: nowrap; }
.doc-table .doc-supplier { overflow-wrap: anywhere; min-width: 12rem; }
.doc-table .doc-supplier strong { display: block; font-weight: 650; }
.doc-table .doc-supplier span { display: block; min-width: 0; }
.doc-table .doc-check { min-width: 15rem; }
.doc-table .doc-check small { display: block; margin-top: var(--space-2); color: var(--ink-subtle); }
.doc-table .doc-check .issue-list { margin-top: var(--space-3); }
.doc-table .issue { font-size: var(--text-xs); }
.doc-row td:first-child { box-shadow: inset 4px 0 0 var(--border-strong); }
.doc-row.tone-ok td:first-child { box-shadow: inset 4px 0 0 var(--success); }
.doc-row.tone-warning td:first-child, .doc-row.tone-quota td:first-child { box-shadow: inset 4px 0 0 #e3a008; }
.doc-row.tone-error td:first-child { box-shadow: inset 4px 0 0 var(--danger); }
.doc-row.tone-ok .status-pill { background: color-mix(in srgb, var(--success) 14%, var(--surface)); color: var(--success); }
.doc-row.tone-error .status-pill, .doc-row.tone-error td.doc-check > .pill { background: var(--danger-bg); color: var(--danger); }
.trust-downloads { margin-top: var(--space-5); }
.trust-downloads .button-row { gap: var(--space-3); }
.trust-manage { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-5); align-items: start; }
@media (max-width: 860px) { .trust-manage { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .trust-create-fields { grid-template-columns: 1fr; }
  .trust-card { padding: var(--space-6); }
  .trust-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
  .trust-stats .stat { padding: var(--space-3) var(--space-4); }
  .trust-stats .stat strong { font-size: var(--text-xl); }
  /* The documents table becomes one card per document, each value under its column name. */
  .doc-table-wrap { overflow: visible; background: none; }
  .doc-table, .doc-table tbody, .doc-table tr, .doc-table td { display: block; width: 100%; }
  .doc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .doc-table tbody { display: grid; gap: var(--space-3); }
  .doc-table tr { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--surface); box-shadow: inset 4px 0 0 var(--border-strong); }
  .doc-table tr.tone-ok { box-shadow: inset 4px 0 0 var(--success); }
  .doc-table tr.tone-warning, .doc-table tr.tone-quota { box-shadow: inset 4px 0 0 #e3a008; }
  .doc-table tr.tone-error { box-shadow: inset 4px 0 0 var(--danger); }
  .doc-table td, .doc-table tr:last-child td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--space-3); padding: var(--space-1) 0; border: 0; box-shadow: none !important; text-align: left !important; white-space: normal !important; min-width: 0; }
  .doc-table td::before { content: attr(data-label); color: var(--ink-subtle); font-size: var(--text-xs); font-weight: 650; padding-top: 2px; }
  .doc-table td.doc-check, .doc-table tr:last-child td.doc-check { grid-template-columns: 1fr; padding-top: var(--space-3); }
  .doc-table td.doc-check::before { display: none; }
  .doc-table td.doc-check > .pill { justify-self: start; }
}

/* The client's upload page: one task, large targets, works with a thumb. */
body.minimal { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.minimal > main { flex: 1; display: flex; flex-direction: column; }
body.minimal > main > .result-page, body.minimal > main > .client-section { flex: 1; }
.minimal-header .nav-shell { min-height: 64px; }
.minimal-footer { padding: var(--space-6) 0; }
.minimal-footer .footer-bottom { padding-top: 0; border-top: 0; align-items: center; }
.minimal-footer a { color: var(--ink-fixed-muted); }
.minimal-links { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.client-hero h1 { font-size: clamp(2rem, 6vw, 3rem); }
.client-hero p { font-size: var(--text-md); }
.client-hero .client-folder { display: inline-flex; margin-top: var(--space-5); padding: var(--space-2) var(--space-4); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font-size: var(--text-sm); font-weight: 650; overflow-wrap: anywhere; }
.client-section { padding-top: var(--space-10); }
.client-upload { max-width: 640px; margin: 0 auto; border: 1px solid var(--border); }
.client-upload .field label { font-size: var(--text-md); }
.client-upload input[type="file"] { min-height: 132px; padding: var(--space-8) var(--space-5); border: 2px dashed var(--input-border); border-radius: var(--radius-md); background: var(--bg-subtle); font-size: var(--text-base); cursor: pointer; }
.client-upload input[type="file"]::file-selector-button { margin-right: var(--space-4); min-height: 46px; padding: 0 var(--space-5); border: 0; border-radius: var(--radius-pill); background: var(--ink); color: var(--bg); font: inherit; font-weight: 650; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .client-upload input[type="file"]:hover { border-color: var(--ink-subtle); } }
.client-upload .client-submit { width: 100%; min-height: 54px; font-size: var(--text-base); }
.client-received { margin: var(--space-5) 0 0; color: var(--ink-muted); font-size: var(--text-sm); font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.client-privacy { max-width: 640px; margin: var(--space-6) auto 0; color: var(--ink-subtle); font-size: var(--text-sm); text-align: center; }
.client-privacy a { color: var(--ink-muted); }
.client-languages { margin: var(--space-4) auto 0; color: var(--ink-subtle); font-size: var(--text-sm); text-align: center; }
.client-languages a { color: var(--ink-muted); padding: 6px 4px; display: inline-block; }
.result-mark.is-muted { background: var(--bg-muted); color: var(--ink-muted); }
@media (max-width: 680px) {
  .client-section { padding-top: var(--space-6); }
  .client-upload input[type="file"] { min-height: 112px; padding: var(--space-6) var(--space-4); }
  .client-upload input[type="file"]::file-selector-button { display: block; width: 100%; margin: 0 0 var(--space-3); }
  /* Adversarial review of 15.11.2026, afternoon (movil-d): the Mandant's «send» button was below the first screen of a phone (y 847–894).
     A compact header, the upload first, then the privacy note right under it, the other languages last. */
  .page-hero.compact.client-hero { padding: var(--space-6) 0 var(--space-4); }
  .client-hero h1 { font-size: var(--text-2xl); }
  .client-hero p { margin-top: var(--space-2); font-size: var(--text-base); }
  .client-hero .eyebrow { margin-bottom: var(--space-2); }
  .client-hero .client-folder { margin-top: var(--space-3); }
  .client-section { padding-top: var(--space-4); }
  .client-section > .shell { display: flex; flex-direction: column; }
  .client-section .client-upload { order: 1; }
  .client-section .client-privacy { order: 2; }
  .client-section .client-languages { order: 3; margin-top: var(--space-5); }
  .client-upload input[type="file"] { min-height: 0; padding: var(--space-4); }
}
/* Touch targets of at least 44 px on touch screens (movil-d). */
@media (pointer: coarse) {
  .text-link, .guide-aside li a, .client-languages a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 400px) { .site-header .lang-switch a, .site-header .lang-switch span { min-height: 44px; } }
.trust-link-field input { font-size: var(--text-base); }
/* ==== end of the receipt inbox block ==== */

/* ---- Theme button (sun / moon) in the header: only the one that switches away from the current design shows ---- */
.theme-toggle { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); color: var(--ink); text-decoration: none; transition: background-color var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard); }
.theme-toggle svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .theme-toggle:hover { border-color: var(--ink); background: var(--bg-muted); } }
.theme-toggle:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.theme-toggle.to-light { display: none; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] .theme-toggle.to-light { display: inline-grid; }
:root[data-theme="dark"] .theme-toggle.to-dark { display: none; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .theme-toggle.to-light { display: inline-grid; }
  html:not([data-theme="light"]) .theme-toggle.to-dark { display: none; }
}

/* ---- The free-start button on the price cards: Klyrenta lime, and it lights up under the mouse. 24.10.2026 (Héctor): the buy and
   subscribe buttons were the lime ones. 13.11.2026 (Héctor, after the review: «todo lo que se puede pulsar pide dinero»): the lime button
   is the free start, first on each card; buying is the quiet button (.buy-button keeps its name and has no colour of its own). ---- */
.try-button { color: var(--accent-ink); background: var(--accent); border-color: var(--accent-strong); font-weight: 650;
  transition: background-color var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .try-button:hover { color: var(--accent-ink); background: var(--accent-strong); border-color: var(--accent-strong); transform: translateY(-1px);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent), 0 8px 22px color-mix(in srgb, var(--accent) 24%, transparent); }
}
.try-button:active { transform: scale(.97); }
.try-button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .try-button, .try-button:hover, .try-button:active { transform: none; } }
.price-card .try-button { align-self: flex-start; margin-top: var(--space-4); }
/* Phones under 360 px: the logo alone (its link keeps the name for screen readers), so the languages and the sun fit beside it. */
@media (max-width: 359px) { .site-header .brand > span:not(.brand-mark) { display: none; } }

/* Review 5 (M11): on a phone the header, the feedback line and the hero's top space took about a third of the screen before the
   headline. The feedback line is a single short line, the nav row and the start button closer together, and the hero starts sooner. */
@media (max-width: 560px) {
  .feedback-strip { font-size: var(--text-xs); }
  .feedback-strip p { padding: var(--space-1) 0; }
  .nav-shell { padding-block: var(--space-3); row-gap: var(--space-2); }
  .site-header nav ul { gap: var(--space-2) var(--space-4); }
  .hero { padding-top: var(--space-8); }
}

/* Review 5 (M6): a table wider than the screen shows a soft shadow on the side that has more columns, so hidden columns are noticed
   (no script: the covering gradients scroll with the content, the shadows stay at the edges). */
.table-scroll {
  background:
    linear-gradient(to right, var(--surface) 40%, transparent) left center / 28px 100% no-repeat local,
    linear-gradient(to left, var(--surface) 40%, transparent) right center / 28px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, color-mix(in srgb, var(--ink) 22%, transparent), transparent) left center / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, color-mix(in srgb, var(--ink) 22%, transparent), transparent) right center / 12px 100% no-repeat scroll,
    var(--surface);
}
@media (max-width: 560px) {
  /* The VAT summary: four columns fit a phone with less padding. */
  .table-scroll .batch-table th, .table-scroll .batch-table td { padding: var(--space-3) var(--space-2); }
  .table-scroll .batch-table th { letter-spacing: 0; }
}

/* Review 5 (M3): the photo of the document on the correction page, to compare without downloading it. */
.doc-preview { margin: var(--space-4) 0; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-subtle); }
.doc-preview summary { padding: var(--space-3) var(--space-4); cursor: pointer; font-size: var(--text-sm); font-weight: 650; }
.doc-preview img { display: block; max-width: 100%; max-height: 75vh; margin: 0 auto; padding: 0 var(--space-3) var(--space-3); object-fit: contain; }

/* Review of 13.11.2026 (marketing): the hero's button stays on the first screen of a laptop (1280×720 to 1536×864) and gets closer to it
   on a phone: less air above, a smaller headline on short screens, the text column at the top of the grid. */
@media (min-width: 1000px) and (max-height: 900px) {
  .hero { padding-top: var(--space-12); }
  .hero-grid { align-items: start; }
  .hero h1 { font-size: clamp(2.2rem, 2.4vw + 1rem, 3.1rem); }
  .hero-lead { margin: var(--space-4) 0 var(--space-6); font-size: var(--text-base); }
}
@media (max-width: 600px) {
  .hero-lead { margin: var(--space-4) 0 var(--space-5); font-size: var(--text-base); }
}
/* Review of 13.11.2026: the VAT pre-check's summary tables fit a phone (they were 508 px wide in 362 and scrolled without a sign of it). */
@media (max-width: 480px) {
  .table-scroll .batch-table:has(.vat-caption) th, .table-scroll .batch-table:has(.vat-caption) td { padding: 8px 6px; font-size: var(--text-xs); white-space: normal; overflow-wrap: anywhere; }
}

/* ---- /review/example (13.11.2026): the result page with invented invoices, marked as an example above the summary ---- */
.example-flag { display: block; width: fit-content; justify-self: start; margin: 0 0 var(--space-4); padding: var(--space-1) var(--space-3); border: 1px dashed var(--border-strong); border-radius: var(--radius-pill); color: var(--ink-muted); font-size: var(--text-xs); font-weight: 650; }
.hero-actions .text-link { align-self: center; }

/* ---------- Second round of the review of 13 November 2026: small things on phones and on paper ----------
   (The same afternoon a white-and-grey look with a one-column home page was tried and withdrawn: Héctor preferred this one,
   «el diseño anterior me cuadra más». It is kept in the repository's history under the tag aspecto-nuevo-2026-11-13.) */
/* Phones: the footer links, the light/dark switch and the language buttons as touch targets (they measured 26 to 32 px). */
@media (max-width: 680px) {
  .footer-grid a:not(.footer-brand) { margin: 0; padding: 9px 0; }
  .theme-toggle { width: 44px; height: 44px; }
  .lang-switch a, .lang-switch span { min-width: 36px; min-height: 40px; align-items: center; }
}
/* On the narrowest phones taller, not wider: beside the logo and the light/dark switch there is no room for more. */
@media (max-width: 400px) { .site-header .lang-switch a, .site-header .lang-switch span { min-width: 28px; } }
/* The page a fiduciary's client uploads on, on a phone: the file field first and the tips under the form (with the five tips in
   front, the first screen of a phone showed no button at all). */
@media (max-width: 680px) {
  .client-upload { display: flex; flex-direction: column; }
  .client-upload .upload-tips { order: 2; margin: var(--space-6) 0 0; }
}
/* On paper, always the light look, on white: with a dark system the contract printed as black pages. */
@media print {
  :root:root:root { color-scheme: light; --bg: #ffffff; --bg-subtle: #f4f5f1; --bg-muted: #e0e4dc; --surface: #ffffff; --border: #d6dbd2; --border-strong: #bec5ba;
    --ink: #121417; --ink-muted: #4b5258; --ink-subtle: #5e646b; --accent: #d9ef54; --accent-strong: #c3d93f; --accent-ink: #1c2410;
    --danger: #b3261e; --danger-bg: #fdf1f0; --danger-border: #dfc3bd; --success: #3d8a59; --input-border: #7e857d; --ink-fixed: #121518; }
  .feedback-strip, .site-header nav, .nav-tools, .skip-link { display: none; }
  /* Adversarial review of 15.11.2026, afternoon (salidas-d): a printed client folder lost its status and findings (the table kept its own
     scroll and was cut at the page edge). On paper the whole table, wrapped; buttons and forms are of no use there. */
  .table-scroll { overflow: visible; }
  .table-scroll table { width: 100%; table-layout: auto; }
  .table-scroll th, .table-scroll td { white-space: normal; overflow-wrap: anywhere; }
  .button-row, form .button, .site-footer form { display: none; }
  /* A payment's receipt (15.11.2026): on paper without the hint how to print it. */
  .receipt-hint { display: none; }
}

/* ---------- Adversarial review of 14 November 2026 (eleven reviewers): what three designers and the product critic agreed on ----------
   All of it inside this design (dark and light, lime accent, serif headline, the animated invoice): sizes, gaps and one colour fix. */
/* «Payment received» sat in the red box of an error (.legal-alert). Its own box: neutral while Stripe has not confirmed yet, with a
   green edge once the plan is credited. */
.payment-received { padding: var(--space-5) var(--space-6); border: 1px solid var(--border); border-left: 4px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); }
.payment-received.is-done { border-left-color: var(--success); }
.payment-received p { margin: 0; }
.payment-received p + p { margin-top: var(--space-4); }
/* «Bank account changed» in the dark look: amber text on the dark red ground (the dark rule of .issue-warning won over .issue-bank).
   Red on red, as in the light look. */
:root[data-theme="dark"] .issue.issue-bank .pill { color: var(--danger); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .issue.issue-bank .pill { color: var(--danger); } }
/* The client area and the sign-up, sign-in pages are tools, not marketing pages: a title of one line on the left instead of a centred
   76px headline, so the upload field and the first invoice of a result are on the first screen (they started at 909px and 797px of 800). The public example of a result keeps its headline. */
main:has(> .form-section :is(.account-layout, .account-login)):not(:has(.example-flag)) > .page-hero { padding: var(--space-10) 0 var(--space-6); text-align: left; }
main:has(> .form-section :is(.account-layout, .account-login)):not(:has(.example-flag)) > .page-hero h1 { font-size: var(--text-3xl); }
/* 17.11.2026, afternoon (d2 M1, c5 3.3, f3, f5 M5): the narrower, centred title of the inner pages (.page-hero h1, 22ch) sat in the middle of the
   client area's left-aligned header, the label and the text under it at the left edge. Here the title starts where they do. */
main:has(> .form-section :is(.account-layout, .account-login)):not(:has(.example-flag)) > .page-hero h1 { max-width: none; margin-inline: 0; }
main:has(> .form-section :is(.account-layout, .account-login)):not(:has(.example-flag)) > .page-hero p { max-width: none; margin: var(--space-3) 0 0; font-size: var(--text-base); }
main:has(> .form-section :is(.account-layout, .account-login)):not(:has(.example-flag)) > .page-hero .eyebrow { margin-bottom: var(--space-2); }
main:has(> .form-section :is(.account-layout, .account-login)):not(:has(.example-flag)) > .page-hero .shell > * { animation: none; }
main:has(> .form-section :is(.account-layout, .account-login)):not(:has(.example-flag)) > .form-section { padding-top: var(--space-8); }
main:has(> .form-section :is(.account-layout, .account-login)):not(:has(.example-flag)) { background: var(--bg-subtle); }
/* Sign-up and sign-in: the card is narrower than the column and centred, so the short title stays centred over it. */
main:has(> .form-section .account-login):not(:has(.example-flag)) > .page-hero { text-align: center; }
main:has(> .form-section .account-login):not(:has(.example-flag)) > .page-hero p { max-width: 680px; margin: var(--space-3) auto 0; }
/* 17.11.2026, afternoon (d1 3.2): the public examples of a result (/review/example, /review/bexio-example) with the header of the client area
   they show: title and text on the left at the size of the account's, so on a laptop (1366×768) the first invoice is on the first screen
   (it started at 811 px, under a three-line title and 140 px of air). */
main:has(> .form-section .example-flag) > .page-hero { padding: var(--space-10) 0 var(--space-6); text-align: left; }
main:has(> .form-section .example-flag) > .page-hero h1 { max-width: none; margin-inline: 0; font-size: var(--text-3xl); }
main:has(> .form-section .example-flag) > .page-hero p { max-width: none; margin: var(--space-3) 0 0; font-size: var(--text-base); }
main:has(> .form-section .example-flag) > .page-hero .eyebrow { margin-bottom: var(--space-2); }
main:has(> .form-section .example-flag) > .form-section { padding-top: var(--space-6); }
.account-layout > .example-flag { margin-bottom: calc(var(--space-4) - var(--space-8)); }
main:has(> .form-section .example-flag) .account-layout { gap: var(--space-6); }
/* The note on the first invoice of a supplier close under the summary, as the note it is. */
.account-layout > .review-summary + .first-invoice-note { margin-top: calc(-1 * var(--space-3)); }
/* d2 B3: at 320 px a result (the example and the account's) was wider than the screen (326 to 342 px): a long verdict pill or a part of the
   summary that may not break. They break like the text around them (the summary's parts: below).
   Review of 18.11.2026 (c5 3.7, d2 B1, B5): the same for the green pill of the example on the product page («Keine Auffälligkeiten nach diesen
   Prüfungen», 338 px wide at 320), and at every width, not only below 360 px: with a reader's wider letter spacing (WCAG 1.4.12) the pills
   made the examples 396 px wide at 390. Their rows wrap (.review-head, .report-head: flex-wrap), so a pill breaks only when it is wider than
   its row on its own; anywhere else nothing moves. */
.review-item .review-head .pill, .report-row .pill { white-space: normal; }
/* d2 B10: each invoice of a result is a heading (the file's name, found by a screen reader's list of headings), looking as the bold name did. */
.account-layout .review-list .review-item .review-head .review-file { margin: 0; font-size: var(--text-base); font-weight: 700; line-height: 1.5; letter-spacing: normal; }
/* d2 B4: with «reduce motion», every page faded things on load (the transitions forced on every element included opacity: the lime reading
   band of the home page's invoice lit up and went out). Colours still change gently on hover; opacity at once; the band never moves. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-property: color, background-color, border-color !important; }
  .scan-bar, .scan-bar::before, .scan-bar::after { transition: none !important; }
}
/* d2 B5 (and d1 3.5 of the morning): movement nobody asked for. The sample cards no longer arrive as a fanned 3D deck (they lie flat; their
   stamp still lands), and blocks below the first screen are there when they scroll in, not hidden until 100 px of them are in view. The
   invoice that reads itself and the entrance of the first screen stay. */
.doc-track > .doc-card { animation: none; }
:is(.section-heading, .trust-grid, .process-grid, .product-rows, .product-plans, .rules-grid, .why-list, .product-split, .fit-grid, .faq-grid, .deliverables, .callout, .center-cta, .tool-fields, .offer-grid, .tool-privacy, .principle-strip .shell) { animation: none; }
/* c5 3.6: «renew» and «switch off» a folder's link in two steps, without a script: the button opens what happens, a second button does it. */
.trust-link-form .link-confirm { border-bottom: 0; }
.trust-link-form .link-confirm > summary { list-style: none; cursor: pointer; display: inline-flex; justify-content: center; }
.trust-link-form .link-confirm > summary::-webkit-details-marker { display: none; }
.trust-link-form .link-confirm > summary::after { content: ""; width: 7px; height: 7px; margin: -4px 2px 0 var(--space-3); border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.trust-link-form .link-confirm[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.trust-link-form .link-confirm[open] { flex-basis: 100%; }
.link-confirm-body { margin-top: var(--space-3); padding: var(--space-4) var(--space-5); border: 1px solid var(--border); border-left: 4px solid var(--danger); border-radius: var(--radius-md); background: var(--surface); }
.link-confirm-body p { margin: 0 0 var(--space-3); }
.trust-link-form + .client-text-link { margin-top: var(--space-4); }
@media (prefers-reduced-motion: no-preference) { .trust-link-form .link-confirm > summary::after { transition: transform 160ms ease-out; } }
/* R2 (18.11.2026, c5): «bexio trennen» in the same two steps; the confirmation opens under the button.
   P1 (18.11.2026, after round 3): it stood beside «Jetzt prüfen» while closed and took its own row only once open, so the button moved away
   under the finger (390–430 px) or 12–144 px on a laptop. It has its own row always, open or closed, and stays where it was tapped. */
.bexio-disconnect.link-confirm { border-bottom: 0; }
.bexio-disconnect.link-confirm > summary { list-style: none; cursor: pointer; display: inline-flex; justify-content: center; }
.bexio-disconnect.link-confirm > summary::after { content: ""; width: 7px; height: 7px; margin: -4px 2px 0 var(--space-3); border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.bexio-disconnect.link-confirm[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.bexio-disconnect.link-confirm { flex-basis: 100%; }
/* On a laptop the status card is two columns centred on each other: the open confirmation made the right one taller and pulled the buttons
   up by 12–24 px. From the top, nothing above the opened box moves. */
.plan-status.bexio-status { align-items: start; }
@media (prefers-reduced-motion: no-preference) { .bexio-disconnect.link-confirm > summary::after { transition: transform 160ms ease-out; } }
/* R2 (m3 C1): the bexio example's button on the first screen, aligned with its left-aligned headline. */
main:has(> .form-section .example-flag) > .page-hero .bexio-example-cta { justify-content: flex-start; margin-top: var(--space-6); }
/* R2: the line to bexio under the upload of the invoice check. */
.account-layout .tool-bexio { margin: 0; color: var(--ink-muted); }
/* The ways on from a page that does not exist. */
.result-card .error-more { margin-top: var(--space-5); font-size: var(--text-sm); }
/* The line under a page that reads documents: how to stop or start its updating (links that read as links), how long reading usually takes. */
.page-hero .live-control .text-link { display: inline; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
/* Blocks that touched each other (0px measured): «who is behind Klyrenta?» under the questions and the prices, the month line over the
   figures of a folder, the hint under the link form. */
.tool-privacy + .faq-grid.standalone { margin-top: var(--space-16); }
.why-prices + .tool-privacy { margin-top: var(--space-12); }
.month-basis + .stat-grid { margin-top: var(--space-4); }
.trust-link-form + .field-hint { margin-top: var(--space-3); }
.upload-copies { padding-top: var(--space-6); }
/* The file field of the tools dressed like the one of the fiduciary's client page (it showed the grey system button). */
.tool-upload input[type="file"]::file-selector-button { margin-right: var(--space-4); min-height: 40px; padding: 0 var(--space-5); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font: inherit; font-size: var(--text-sm); font-weight: 650; cursor: pointer; }
/* A result: the notice is what matters. Its text at 16px (it was 13px under a 76px title) and the labels in one column, so every
   notice starts at the same place. */
.review-item .issue { display: grid; grid-template-columns: minmax(10rem, max-content) minmax(0, 1fr); gap: var(--space-3); font-size: var(--text-base); line-height: 1.5; }
.review-item .issue .pill { justify-self: start; }
@media (max-width: 480px) { .review-item .issue { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-1); } }
/* Text that measured 10.8px and 13.3px (a <small> inside 13px text). */
.batch-table td small, .doc-table .doc-check small, .trust-links-download small { font-size: var(--text-xs); }
/* Fields of one height, aligned at the bottom when a label takes two lines; the buy button as a touch target on phones. */
.field input:not([type="file"]):not([type="checkbox"]):not([type="radio"]), .field select { min-height: 52px; }
.field-row { align-items: end; }
@media (max-width: 680px) { .offer-buy { min-height: 44px; } }
/* The «OK» label in the light look (3.57:1 → 5.9:1). The dark look keeps its lighter green. */
.report-row.is-ok .pill { color: #2c6e45; }
:root[data-theme="dark"] .report-row.is-ok .pill { color: var(--success); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .report-row.is-ok .pill { color: var(--success); } }
/* The home page carousel: the first card starts at the column of the page (it sat against the edge of the screen). */
.doc-carousel { scroll-padding-left: max(20px, calc((100vw - var(--shell)) / 2)); }
.doc-track { padding-left: max(20px, calc((100vw - var(--shell)) / 2)); }
.panel-top .status-dot { flex: none; white-space: nowrap; }
/* Laptops: the headline of the home page (46.7px there since 13.11) is again larger than the titles of its sections (they were 54px). */
@media (min-width: 1000px) and (max-height: 900px) { .section-heading h2, .fit-section h2, .center-cta h2 { font-size: var(--text-3xl); } }
/* Computers: the invoice of the home page reads itself once on load (it only advanced while scrolling, so the first screen showed a
   half-lit panel and the last notice lit up under the fixed header). Phones keep the reading tied to the scroll. */
@media (prefers-reduced-motion: no-preference) and (min-width: 921px) {
  .hero .workflow-panel { animation: oo-arrive 900ms var(--ease-arrive) 240ms backwards, rt-read 3800ms linear 600ms both; animation-timeline: auto, auto; animation-range: normal, normal; }
}
.account-layout .field-hint { max-width: 75ch; }
.trial-end { padding: var(--space-5) var(--space-6); border: 1px solid var(--border); border-left: 4px solid var(--accent-strong); border-radius: var(--radius-md); background: var(--surface); font-size: var(--text-base); }
.trial-end p { margin: 0; } .trial-end p + p { margin-top: var(--space-3); }
/* The list of earlier uploads: the label of an upload that found a changed bank account (14.11.2026), in the colour it has in the result. */
.batch-list .pill.is-bank { background: var(--danger-bg); color: var(--danger); }
/* Review of 18.11.2026 (R1, found by scripts/overflow-check-2026-11-18.mjs): between 481 and 500 px the upload page was 489–518 px wide: a
   past upload with two labels («Bankkonto geändert», «1 mögliches Duplikat») did not fit on one line. The phone layout of the list (text
   above, labels below) now holds up to 680 px, as the phone header does; a file name without spaces breaks rather than leave the screen. */
@media (max-width: 680px) { .batch-list a { flex-wrap: wrap; } }
.batch-list a > span:first-child { overflow-wrap: anywhere; }
/* The offer to move a free VAT pre-check to the quarter its invoices are dated in (14.11.2026). */
.vat-move { padding: var(--space-5) var(--space-6); border: 1px solid var(--border); border-left: 4px solid var(--accent-strong); border-radius: var(--radius-md); background: var(--surface); font-size: var(--text-base); }
.vat-move p { margin: 0 0 var(--space-4); }

/* ---------- Second round of the adversarial review (14.11.2026, afternoon): what the fixes of the morning left uneven ---------- */
/* A refused upload: the message under the file field is on screen again on a laptop (with the small title the field already fitted, so the
   page no longer moved down to it and the message stayed below the fold). */
.field input[type="file"][aria-invalid="true"] { scroll-margin-bottom: 240px; }
/* Titles of sections inside the client area never larger than the page's own title («Ihre Zahlungen», «Manuelle Prüfung» stayed at 54px). */
main:has(> .form-section :is(.account-layout, .account-login)):not(:has(.example-flag)) > .form-section h2 { font-size: var(--text-xl); }
/* A fiduciary's folder: the title starts at the edge of its wide column; the notice above a result as wide as the result. */
main:has(> .form-section .trust-shell):not(:has(.example-flag)) > .page-hero .shell { max-width: 1040px; }
.upload-copies { max-width: 800px; margin-left: auto; margin-right: auto; }
/* Earlier uploads on a phone: the labels under the text, the arrow still on the right. */
@media (max-width: 680px) { .batch-list a > span:first-child { flex-basis: 100%; } .batch-list a > span[aria-hidden="true"] { margin-left: auto; } }
/* The home page carousel on phones: the column's own margin there (14px). */
@media (max-width: 680px) { .doc-carousel { scroll-padding-left: 14px; } .doc-track { padding-left: 14px; } }

/* ---------- After the second round (Héctor, 14.11.2026, 15:42: «todo lo otro sí puedes hacerlo como lo dijeron») ---------- */
/* The dark look above: page, band and card a step further apart (they stood 1.02 to 1.08 : 1 from each other). */
/* A result: the colour says how serious it is. Red only for an error, a possible duplicate or a changed bank account; amber when the
   card has warnings only (every card with anything to check had the red edge). */
:root { --warning: #e3a008; }
.review-item.is-warning { border-left-color: var(--warning); }
/* d1, 3.10: the verdict pill (top right, where the eye looks first) in the card's own colour, not grey. */
.review-item:not(.is-clean):not(.is-warning) .pill.verdict { background: var(--danger-bg); color: var(--danger); }
.review-item.is-warning .pill.verdict { background: color-mix(in srgb, #e3a008 18%, var(--surface)); color: #7a4f0e; }
:root[data-theme="dark"] .review-item.is-warning .pill.verdict { color: var(--warning-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .review-item.is-warning .pill.verdict { color: var(--warning-ink); } }
/* d1, 3.12: the account's last step in the colour of every button that leads to it. */
.account-login .submit-button { background: var(--accent); color: var(--accent-ink); border-color: var(--accent-strong); font-weight: 650; }
@media (hover: hover) and (pointer: fine) { .account-login .submit-button:hover { color: var(--accent-ink); background: var(--accent-strong); border-color: var(--accent-strong); } }
/* 17.11.2026, afternoon (d2 A1): «confirm your sign-in» is the last step before the product: its button in the lime of every way in (it was
   black, under the lime button of the header, which led back to the sign-up form). */
.result-card form[action*="/account/verify/"] .button-primary { color: var(--accent-ink); background: var(--accent); border-color: var(--accent-strong); font-weight: 650; }
@media (hover: hover) and (pointer: fine) { .result-card form[action*="/account/verify/"] .button-primary:hover { color: var(--accent-ink); background: var(--accent-strong); border-color: var(--accent-strong); } }
/* The client area: one padding and one edge for its cards (three paddings gave three left margins in one column). */
.account-layout > .form-card, .account-layout > .buy-block, .account-layout > .trust-card { padding: var(--space-8); border: 1px solid var(--border); }
@media (max-width: 680px) { .account-layout > .form-card, .account-layout > .buy-block, .account-layout > .trust-card { padding: var(--space-6) var(--space-5); } }
/* The upload card: the file field and its button first, the tips under them (two blocks of tips stood between the title and the
   field, which began at the bottom edge of a laptop screen). */
.tool-upload { display: flex; flex-direction: column; }
.tool-upload > form { order: 1; }
.tool-upload > .upload-tips { order: 2; margin: var(--space-6) 0 0; }
/* d2, A2 (17.11.2026): the start tip (an earlier invoice of each supplier, so a changed account can be seen) is read before the upload, not after. */
.tool-upload > .upload-start-tip { order: 0; margin: 0 0 var(--space-5); }
/* d2, A1: the offers folded under one line while the free start lasts. */
.buy-later > summary { cursor: pointer; width: fit-content; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: .2em; }
.buy-later[open] > summary { margin-bottom: var(--space-4); }
.buy-later > .buy-block { padding: var(--space-8); border: 1px solid var(--border); }

/* Third round of 14 November 2026: the VAT pre-check's list. An invoice the client ticked off as looked at steps back; its small form
   (one text button) sits under the card's link. */
.review-item.is-seen { border-left-color: var(--border-strong); }
.review-item.is-seen .review-head strong { color: var(--ink-muted); font-weight: 600; }
.review-item[id] { scroll-margin-top: 96px; }
.vat-seen-form { margin: 0; }
.vat-seen-form .text-link { min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font-family: inherit; font-size: var(--text-sm); font-weight: 650; color: var(--ink); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.vat-seen-count { font-weight: 600; }

/* Extra pages for the receipt inbox (Héctor, 14.11.2026): a button that opens the five packs, each a row with its price. */
.extra-pages { margin-top: var(--space-4); }
.extra-pages > summary { list-style: none; cursor: pointer; display: inline-flex; }
.extra-pages > summary::-webkit-details-marker { display: none; }
.extra-pages > summary::after { content: ""; width: 7px; height: 7px; margin: -4px 2px 0 var(--space-3); border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 160ms ease-out; }
.extra-pages[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
@media (prefers-reduced-motion: reduce) { .extra-pages > summary::after { transition: none; } }
.extra-pages > .field-hint { margin: var(--space-3) 0 var(--space-2); max-width: 62ch; }
.extra-pages-list { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: var(--space-2); max-width: 26rem; }
.extra-pages-list a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding: var(--space-3) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color 140ms ease; }
.extra-pages-list a:hover, .extra-pages-list a:focus-visible { border-color: var(--ink); }
.extra-pages-list a span { color: var(--ink-muted); white-space: nowrap; }

/* ---- Third round of 14 November 2026 (Héctor, 16:23: «hazlo todo punto por punto») ---- */
/* One drawing for «bank account changed»: red, as in the real report, also on the home page's card, in the illustration of the invoice
   check and on the last step of the home page's panel (they were amber). The tokens are the theme's own, so both themes follow. */
.doc-status.is-bank { background: var(--danger-bg); color: var(--danger); }
.report-row.is-bank { border-left-color: var(--danger); }
.report-row.is-bank .pill { background: var(--danger-bg); color: var(--danger); }
/* The free start is the lime button everywhere (Héctor, 14.11.2026): every button that leads to the sign-up, by its address, takes the
   look of .try-button, and the header's too (it was the black pill). */
a.button-primary[href*="/account/signup"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent-strong); font-weight: 650; }
@media (hover: hover) and (pointer: fine) { a.button-primary[href*="/account/signup"]:hover { color: var(--accent-ink); background: var(--accent-strong); border-color: var(--accent-strong); } }
.site-header nav .nav-cta[href*="/account/signup"], .site-header nav .nav-cta[href*="/account/signup"][aria-current="page"] { color: var(--accent-ink); background: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-strong); font-weight: 650; }
@media (hover: hover) and (pointer: fine) { .site-header nav .nav-cta[href*="/account/signup"]:hover { color: var(--accent-ink); background: var(--accent-strong); } }
/* Section titles never above the page's headline: on tablets they were 1 to 2 px larger (the rule of the morning held for laptops only). */
@media (min-width: 681px) and (max-width: 1100px) { .section-heading h2, .fit-section h2, .center-cta h2 { font-size: min(var(--text-3xl), 2.5rem); } }
/* The prices page: its first price in the first screen (it was a full screen down, under a tall title). */
main:has(> .section .product-plans) > .page-hero { padding-block: var(--space-6) var(--space-5); }
main:has(> .section .product-plans) > .page-hero h1 { max-width: none; font-size: var(--text-3xl); }
main:has(> .section .product-plans) > .page-hero p { margin-top: var(--space-3); font-size: var(--text-base); }
main:has(> .section .product-plans) > .page-hero + .section { padding-top: var(--space-6); }
/* Phones: a lower header (the suggestions line goes: it is in the footer; the start button of the header goes where the page's own is in
   its first block, and on the prices page, whose first offer is on the first screen), and a shorter home page (the cards of the three products keep the free start, their lowest price and the link
   to their page; the guides are listed by title). */
@media (max-width: 680px) {
  .feedback-strip { display: none; }
  body:has(main > :first-child a[href*="/account/signup"]) .site-header nav li:has(> .nav-cta[href*="/account/signup"]),
  body:has(.site-header nav a[href$="/pricing"][aria-current="page"]) .site-header nav li:has(> .nav-cta[href*="/account/signup"]),
  .site-header nav li:has(> .nav-cta[href*="/account/signup"][aria-current="page"]) { display: none; }
  .site-header nav li:last-child:has(> .nav-cta:not([href*="/account/signup"])) { width: auto; }
  .site-header nav .nav-cta:not([href*="/account/signup"]), .site-header nav .nav-cta:not([href*="/account/signup"])[aria-current="page"] { width: auto; min-height: 44px; margin-top: 0; padding: 0; color: var(--ink); background: none; border-radius: 0; font-weight: 650; }
  .home-guides li span { display: none; }
  /* Review round 3 of 29.11.2026 (design reviewer G1): the start button was missing from the opened phone menu on every page whose first block
     has its own button (the home page, the prices page). In the open menu it is always there (not on the sign-up page itself). */
  /* .site-header in front: the rule that hides it on the prices page (body:has(.site-header nav a[href$="/pricing"]…) has a higher specificity otherwise. */
  .site-header .nav-toggle:checked ~ .nav-group nav li:has(> .nav-cta[href*="/account/signup"]:not([aria-current="page"])) { display: list-item; }
}
/* The home page's panel: the IBAN marked on the invoice, its flag and the last step in the same red as the report (on the white paper of
   the invoice the colours are fixed: it is white in both themes). */
.iv-hl.iv-warn { background: #f7b3ad; }
.iv-flag { background: #c5352b; color: #ffffff; }
/* ---- After the third round of reviewers (14.11.2026, evening) ---- */
/* The checks by hand of a document: the explanation at 13 px and air between note, button and the first field (they measured 0 and 8 px). */
.manual-check .field-hint { font-size: var(--text-sm); margin-bottom: var(--space-4); }
.manual-check { margin-bottom: var(--space-8); padding-bottom: var(--space-6); border-bottom: 1px solid var(--border); }
.trust-card form > .field-hint:has(+ .button) { margin-bottom: var(--space-4); }
@media (max-width: 680px) { .batch-list a:not(:has(.pill)) > span:first-child { flex-basis: 0; } }
.trust-waiting { margin-top: var(--space-4); }
/* The prices page on a low laptop screen (1280×720): its first price whole in the first screen. */
@media (min-width: 921px) and (max-height: 760px) {
  main:has(> .section .product-plans) > .page-hero { padding-block: var(--space-5) var(--space-4); }
  main:has(> .section .product-plans) > .page-hero + .section { padding-top: var(--space-4); }
}
/* Phones, after the reviewers' third pass: the closing titles are no larger than the headline. (In the phone block above: each product
   card of the home page keeps its lowest price, and the start button of the header goes only where the page has its own in its first
   block; on the guides, the example report and the products page it was the only one near the top.) */
@media (max-width: 680px) {
  .fit-section h2, .center-cta h2, .callout h2 { font-size: var(--text-3xl); }
}

/* Fourth batch of 14.11.2026: what waits unread in a fiduciary's folder, with the way to discard it. */
.trust-waiting-card { border-left: 3px solid var(--warning, var(--line-strong)); }
.trust-waiting-card h2 { font-size: var(--text-lg); }
.discard-waiting { margin-top: var(--space-3); }
.discard-waiting summary { cursor: pointer; width: fit-content; }
.discard-waiting form { margin-top: var(--space-2); }

/* The summary of a report with a hierarchy (fourth batch of 14.11.2026): a part of zero steps back, a part that found something is bold
   with a dot of its colour. The box is dark in both themes, so its colours are fixed ones. */
/* Review of 18.11.2026 (c5 3.1, d1 3.1, d2 A3, v1 13): the parts break like the text around them at every width. With `nowrap` the longer
   «1 mit geänderter oder widersprüchlicher Bankverbindung» of 17.11 made the example and a real result 450–550 px wide on a 390 px phone.
   A number keeps its word and a «·» its part through no-break spaces (pages.mjs, reviewSummaryHtml). The dot is an inline box holding a word
   joiner (U+2060), not an inline-block: a line could break between an inline-block and the number, leaving the dot alone at a line's end. */
.review-summary { font-weight: 400; overflow-wrap: break-word; }
.review-summary .sum-part { white-space: normal; }
.review-summary .sum-part.is-total { font-weight: 650; }
.review-summary .sum-part.is-zero { color: var(--ink-fixed-muted); }
.review-summary .sum-part.is-bank, .review-summary .sum-part.is-error, .review-summary .sum-part.is-warning, .review-summary .sum-part.is-note { font-weight: 700; }
.review-summary .sum-part.is-bank::before, .review-summary .sum-part.is-error::before, .review-summary .sum-part.is-warning::before, .review-summary .sum-part.is-note::before {
  content: "\2060"; display: inline; padding: 4px; font-size: 0; margin-right: 7px; border-radius: 50%; background: #ff8a80; vertical-align: 5px; }
.review-summary .sum-part.is-warning::before, .review-summary .sum-part.is-note::before { background: #f6c04c; }

/* One «OK» (fourth batch of 14.11.2026, art director: lime filled on the home page's card, soft green on the product page, grey in the
   real report; and lime now means «start free»): the soft green of the product page's illustration everywhere. */
.doc-status.is-ok, .review-item.is-clean .review-head .pill:last-child { background: color-mix(in srgb, var(--success) 14%, var(--surface)); color: #2c6e45; }
:root[data-theme="dark"] .doc-status.is-ok, :root[data-theme="dark"] .review-item.is-clean .review-head .pill:last-child { color: var(--success); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .doc-status.is-ok, :root:not([data-theme="light"]) .review-item.is-clean .review-head .pill:last-child { color: var(--success); } }

/* The prices page, comparable across its three columns (brand designer): the name and the lead take the same room in each card while the
   cards stand side by side, so the free start, its button and the first price sit on one line; «once» and «a month» are read with the price. */
.product-plan > .plan-rest { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1081px) {
    .product-plans { grid-template-rows: repeat(5, auto) 1fr; row-gap: 0; }
    .product-plan { display: grid; grid-template-rows: subgrid; grid-row: span 6; align-content: start; }
    .product-plan > .eyebrow { grid-row: 1; }
    .product-plan > h2 { grid-row: 2; }
    .product-plan > .plan-lead { grid-row: 3; }
    .product-plan > .plan-free { grid-row: 4; align-self: start; }
    .product-plan > .try-button { grid-row: 5; justify-self: start; }
    .product-plan > .plan-rest { grid-row: 6; }
  }
}
.offer-list .price span { color: var(--ink); font-weight: 600; }
.product-plan .offer-extra { font-size: var(--text-sm); color: var(--ink-muted); }

/* With the rows aligned, the two-line name of one card sets the height of that row in all three: the room comes from the page's header
   and from above the free start, so the first price stays on the first screen of a laptop (1280 × 720). */
.price-card.product-plan > p.plan-free { margin-top: var(--space-4); }
main:has(> .section .product-plans) > .page-hero p { max-width: none; }
@media (min-width: 1081px) { .product-plan > h2 { font-size: var(--text-xl); } }
main:has(> .section .product-plans) > .page-hero .shell.narrow { max-width: 1040px; }

/* The first point of the hero carries the first price now (14.11.2026) and is longer than a phone is wide: the points wrap. */
.hero-points li { min-width: 0; white-space: normal; align-items: baseline; }
.hero-points li::before { flex: none; translate: 0 -2px; }

/* The public example of the bexio list: the cards of the account on a public page keep the account's title size. */
.bexio-example h2 { font-size: var(--text-xl); letter-spacing: var(--tracking-tight); }
.bexio-example .form-card .plain-list { margin-block: var(--space-3); }
.bexio-example .form-card .plain-list li + li { margin-top: var(--space-2); }

/* Last review of 14.11.2026: both accounts under «bank account changed» (the earlier one and the one read now), on their own line. */
.issue .bank-both { display: block; margin-top: var(--space-1); white-space: pre-line; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: var(--text-sm); color: var(--ink); overflow-wrap: normal; word-break: normal; }
/* 17.11.2026, afternoon (d1 3.10): the two accounts one under the other, each after its label in a column of its own («Bisher:» and «Neu:» are
   not as long); the label in the text face, the account in the fixed-width one, the account now in red. On a narrow phone the label goes above
   its account. */
.issue .bank-both { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: .75em; row-gap: 2px; margin-top: var(--space-2); white-space: normal; }
.issue .bank-both .bank-line { display: contents; }
.issue .bank-both .bank-label { font-family: var(--font-body); color: var(--ink-muted); }
.issue .bank-both .bank-line > .bank-label:only-child { grid-column: 1 / -1; }
.issue .bank-both .bank-iban { font-weight: 650; white-space: nowrap; }
.issue .bank-both .bank-line:last-child .bank-iban { color: var(--danger); }
@media (max-width: 400px) { .issue .bank-both { grid-template-columns: minmax(0, 1fr); } .issue .bank-both .bank-line:not(:first-child) > .bank-label { margin-top: var(--space-1); } }
/* Review of 18.11.2026 (R1, found by scripts/overflow-check-2026-11-18.mjs): with two accounts in one upload the labels are long («Andere
   Rechnung dieses Uploads:», pages.mjs bankBothLines: .is-long), and beside them the account ran out of the card and of the screen: a real
   result 469–658 px wide at 412–600 px. In a result's card the label goes above its account whenever the card's text column is narrower than
   the two side by side need: 24rem with the short labels («Bisher:», «Neu:», also an IBAN of 27 characters), 31rem with the long ones. On a
   computer the column is 576 px wide and they stay side by side, as before. The rule above stays for the other lists and for browsers without
   container queries. An account longer than its column (an IBAN of 27 characters at 320 px) breaks rather than leave the screen. */
.review-item .issue > span:not(.pill) { container-type: inline-size; }
@container (max-width: 24rem) {
  .issue .bank-both { grid-template-columns: minmax(0, 1fr); }
  .issue .bank-both .bank-line:not(:first-child) > .bank-label { margin-top: var(--space-1); }
  .issue .bank-both .bank-iban { white-space: normal; overflow-wrap: anywhere; }
}
@container (max-width: 31rem) {
  .issue .bank-both.is-long { grid-template-columns: minmax(0, 1fr); }
  .issue .bank-both.is-long .bank-line:not(:first-child) > .bank-label { margin-top: var(--space-1); }
  .issue .bank-both.is-long .bank-iban { white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 400px) { .issue .bank-both .bank-iban { white-space: normal; overflow-wrap: anywhere; } }

/* Last review of 14.11.2026 (three designers): small repairs inside the current design. */
/* Phone, a client folder: every document's card keeps its own small padding (the table's general padding won, but for the last row, so a
   card was 500 to 740 px high). */
@media (max-width: 720px) {
  .table-scroll .doc-table td, .table-scroll .doc-table tr:last-child td { padding: var(--space-1) 0; }
  .table-scroll .doc-table td.doc-check, .table-scroll .doc-table tr:last-child td.doc-check { padding-top: var(--space-3); }
}
/* Round 4 (d02 1, d04 A2/A3, f10 B4; v5): a client folder's table. A <small> of the status cell (.doc-table .doc-check small) won over the
   grid of the two accounts (.issue .bank-both), so «Bisher: CH93 … Neu: FR14 …» ran on one line, and that line, which may not break, made the
   table wider than its card at every computer width (1046–1287 px in 1040): the last characters of the new IBAN were hidden behind a scroll
   that Mac and touchpads do not show. Now each label stands above its account, the accounts one under the other, with the pill of the finding
   above its text; below 1080 px (where the page is narrower than its 1040 px) the table is the cards of the phone (each value under its column name); and the words of a status pill may
   wrap («Keine Auffälligkeiten nach diesen Prüfungen» was wider than a 320 px phone). Measured in Chromium from 320 to 1920 px
   (ronda4/fixes/C2.md). */
.doc-table .doc-check .bank-both { display: grid; grid-template-columns: minmax(0, max-content); column-gap: 0; row-gap: 2px; margin-top: var(--space-2); color: var(--ink); white-space: normal; }
.doc-table .doc-check .bank-both .bank-line:not(:first-child) > .bank-label { margin-top: var(--space-1); }
.doc-table .doc-check .bank-both .bank-iban { font-size: var(--text-sm); white-space: normal; overflow-wrap: anywhere; }
/* Room for an IBAN of 27 characters (France, Monaco, Italy: 33 with its spaces) on one line beside the other five columns in 1040 px: the
   status column a little wider, the supplier's a little narrower, and the amount to pay with its «not verified» on two lines. A longer IBAN
   (up to 34 characters) breaks rather than leave the card. */
@media (min-width: 1080px) {
  .doc-table .doc-check { min-width: 18.5rem; }
  .doc-table .doc-supplier { min-width: 10rem; }
  .doc-table td.num:nth-child(4) { min-width: 7.5rem; white-space: normal; }
}
.doc-table .issue:has(.bank-both) { flex-wrap: wrap; row-gap: var(--space-1); }
.doc-table .status-pill { white-space: normal; }
.doc-table .doc-check .first-invoice-note { color: var(--ink-muted); }
/* The red of «clear up before paying» on the box of the documents to check (pages.mjs trustFolderPage). */
.trust-stats .stat.is-error { border-color: color-mix(in srgb, var(--danger) 55%, var(--border)); }
.trust-stats .stat .stat-bank { color: var(--danger); font-weight: 650; }
/* Retoques ronda 5 (RB 3): the inbox's two red boxes («before paying», «before booking») and the list's two red pills: on a phone a long word of
   a label («comptabiliser», «contabilizzare») breaks inside its box, and a pill wraps, instead of pushing the page wider than the screen (320 px). */
.trust-stats .stat { min-width: 0; }
.trust-stats .stat-label, .trust-stats .stat small { overflow-wrap: anywhere; hyphens: auto; }
.folder-list .pill { white-space: normal; max-width: 100%; overflow-wrap: anywhere; }
/* Only the documents to check (f05 3.4), without a script: while #to-check is the page's target, the other rows are hidden. */
.doc-filter { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin: 0 0 var(--space-4); }
.doc-filter .doc-filter-all, #to-check:target .doc-filter .doc-filter-only { display: none; }
#to-check:target .doc-filter .doc-filter-all { display: inline-flex; }
#to-check:target .doc-row:not(.tone-error):not(.tone-warning) { display: none; }
/* The page where a second address confirms the copy of the morning email (pages.mjs trustCcConfirmPage): a long address breaks, not the page. */
.cc-confirm p { overflow-wrap: anywhere; }
.cc-confirm .button { white-space: normal; }
@media (max-width: 1079px) {
  .doc-table-wrap { overflow: visible; background: none; }
  .doc-table, .doc-table tbody, .doc-table tr, .doc-table td { display: block; width: 100%; }
  .doc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .doc-table tbody { display: grid; gap: var(--space-3); }
  .doc-table tr { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--surface); box-shadow: inset 4px 0 0 var(--border-strong); }
  .doc-table tr.tone-ok { box-shadow: inset 4px 0 0 var(--success); }
  .doc-table tr.tone-warning, .doc-table tr.tone-quota { box-shadow: inset 4px 0 0 #e3a008; }
  .doc-table tr.tone-error { box-shadow: inset 4px 0 0 var(--danger); }
  .doc-table td, .doc-table tr:last-child td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--space-3); padding: var(--space-1) 0; border: 0; box-shadow: none !important; text-align: left !important; white-space: normal !important; min-width: 0; }
  .doc-table td::before { content: attr(data-label); color: var(--ink-subtle); font-size: var(--text-xs); font-weight: 650; padding-top: 2px; }
  .doc-table td.doc-check, .doc-table tr:last-child td.doc-check { grid-template-columns: 1fr; padding-top: var(--space-3); }
  .doc-table td.doc-check::before { display: none; }
  .doc-table td.doc-check > .pill { justify-self: start; }
  .table-scroll .doc-table td, .table-scroll .doc-table tr:last-child td { padding: var(--space-1) 0; }
  .table-scroll .doc-table td.doc-check, .table-scroll .doc-table tr:last-child td.doc-check { padding-top: var(--space-3); }
}
/* The VAT summary on a phone: a column name breaks between words, not in the middle of one. */
@media (max-width: 480px) {
  .table-scroll .batch-table:has(.vat-caption) th { overflow-wrap: break-word; hyphens: auto; }
}
/* Blocks that stood at 0 px from the one before. */
.why-prices.proof-block { margin-bottom: var(--space-16); }
.account-payments h2 { margin-bottom: var(--space-4); }
.correction-form > .button-row { margin-top: var(--space-6); }
/* The same file uploaded twice: said with the amber edge of a notice to look at, not as a plain white box. */
.upload-copies .legal-alert { border-left: 4px solid #e3a008; }
/* Placeholders readable in both looks. */
::placeholder { color: var(--ink-subtle); opacity: 1; }
/* Fingers: the small links under a document are high enough to tap. */
@media (pointer: coarse) {
  .review-item p > .text-link, .doc-check .text-link, .price-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---------- Round 4 (18.11.2026, fix I: d03, d02, d04, d01): accessibility and the results, inside the same design ----------
   The design stays as Héctor likes it (dark and paper grey, the lime, the animated invoice): only focus, contrast, sizes and one language of
   colours for «fine / to look at / clarify before paying / not checked». */

/* d03 3.1 (WCAG 2.4.7): the carousel's focus ring was cut away by its fading edge (mask-image) and never showed (0 pixels changed on focus).
   While it has the keyboard focus the edge does not fade and the ring is drawn inside the carousel. */
.doc-carousel:focus-visible { -webkit-mask-image: none; mask-image: none; outline: 2px solid var(--focus-ring); outline-offset: -3px; }

/* d03 3.2 (WCAG 2.4.11): from 921 px the header stays at the top (77 px; 105 px in German, French and Italian up to about 1000 px, where it takes
   two rows), and the side panels of the legal pages, the guides and the contact page stuck 24 px from the top, under it («Verantwortliche Stelle»
   wholly hidden). They stick below it, and a long index scrolls inside itself instead of running off a low screen. The page keeps the header's
   room when it scrolls to a focused field or an anchor. Without the sticky header (less motion asked for, narrower screens) nothing changes. */
@media (prefers-reduced-motion: no-preference) and (min-width: 921px) {
  :root { --header-h: 78px; scroll-padding-top: calc(var(--header-h) + var(--space-4)); }
  .legal-layout nav, .guide-aside, .form-layout aside { top: calc(var(--header-h) + var(--space-6)); max-height: calc(100vh - var(--header-h) - var(--space-12)); overflow-y: auto; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 921px) and (max-width: 1100px) { :root { --header-h: 108px; } }

/* d03 3.4 (WCAG 2.5.8): «Falsch gelesenen Wert korrigieren» under an invoice was 21 px high, its lower edge on «Als geprüft markieren». 24 px
   at least with a mouse too (touch screens keep their 44 px), and a little air before the button. */
@media not (pointer: coarse) { .review-item p > .text-link { min-height: 24px; } }
.review-item > p + .vat-seen-form { margin-top: var(--space-2); }

/* d03 3.6: in Windows' high contrast the chosen pill of a choice («Worum geht es?») looked like the others: its only mark was its background.
   The system's own highlight colours. */
@media (forced-colors: active) {
  .field .plan-option input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
}

/* d02 2, d04 M2: one amber and one green for the labels of the client area (two ambers of text, #8a5a00 and #7a4f0e, stood side by side). */
:root { --warning-ink: #7a4f0e; --warning-bg: color-mix(in srgb, #e3a008 18%, var(--surface)); --success-ink: #2c6e45; --success-bg: color-mix(in srgb, var(--success) 14%, var(--surface)); }
:root[data-theme="dark"] { --warning-ink: #f5c451; --success-ink: var(--success); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --warning-ink: #f5c451; --success-ink: var(--success); } }
.issue-warning .pill, .review-item.is-warning .pill.verdict, .report-row.is-warning .pill, .pill.is-stopped, .batch-list .pill.is-warning { background: var(--warning-bg); color: var(--warning-ink); }
.review-item.is-clean .review-head .pill:last-child, .report-row.is-ok .pill { background: var(--success-bg); color: var(--success-ink); }
/* Ronda 5 (d02 M3, v5): the green label of the receipt inbox's table, with the same ink (#3d8a59 on its green was 3.58:1; 5.2:1 now). */
.doc-row.tone-ok .status-pill { background: var(--success-bg); color: var(--success-ink); }
/* A possible duplicate in the list of earlier uploads: red, as in the result. */
.batch-list .pill.is-error { background: var(--danger-bg); color: var(--danger); }
/* A document that was not checked (not read, no invoice, waiting for a plan): the grey of «not checked», as its pill says it (it had the red
   edge of «clarify before paying»). */
.review-item.is-unchecked { border-left-color: var(--border-strong); }

/* d04 M1, d02 2, d01 A7: the verdict of an upload above its summary, in one dark box; the summary in the words and colours of the cards:
   red «clarify before paying» (with the changed accounts and the duplicates in it), amber «to look at», green «nothing flagged», grey «not
   checked». The box is dark in both themes, so its colours are fixed ones. */
.review-summary-box { padding: var(--space-5) var(--space-6); border-radius: var(--radius-lg); background: var(--ink-fixed); color: var(--bg-fixed); }
.review-summary-box .review-summary { padding: 0; border-radius: 0; background: none; }
.review-summary-box .review-verdict { margin: 0 0 var(--space-2); color: var(--bg-fixed); font-size: var(--text-xl); line-height: 1.3; letter-spacing: normal; overflow-wrap: break-word; }
.review-verdict::before { content: "\2060"; display: inline; padding: 5px; font-size: 0; margin-right: 10px; border-radius: 50%; background: #ff8a80; vertical-align: 4px; }
.review-verdict.is-warning::before { background: #f6c04c; }
.review-verdict.is-ok::before { background: #7fd49a; }
.review-verdict.is-note::before { background: var(--ink-fixed-muted); }
/* Round 4 of 29.11.2026: a supplier's first invoice (nothing to compare with yet) is grey, like a document not checked, never the green of «no findings». */
.review-item.is-first { border-left-color: var(--border-strong); }
.review-summary .sum-part.is-ok { font-weight: 700; }
.review-summary .sum-part.is-ok::before { content: "\2060"; display: inline; padding: 4px; font-size: 0; margin-right: 7px; border-radius: 50%; background: #7fd49a; vertical-align: 5px; }
.review-summary .sum-part.is-note::before { background: var(--ink-fixed-muted); }
.review-summary .sum-sub.is-bank { font-weight: 700; }
.account-layout > .review-summary-box + .first-invoice-note { margin-top: calc(-1 * var(--space-3)); }
/* RT1 (P4 2): under a green title, when no account could be compared, the sentence that «nothing flagged» is no «account checked». */
.review-summary-box .review-verdict-note { display: block; margin-top: var(--space-2); font-size: var(--text-base); font-weight: 400; line-height: 1.5; color: var(--bg-fixed); }
/* RT1 (P4 5): in the client area the pills are 14 px (--text-xs above); one too long for a 320 px card («Données de paiement contradictoires» in
   French, on /account/bexio) breaks like the words around it instead of standing out of the card. */
.account-layout .review-item .pill { white-space: normal; max-width: 100%; }
/* d04 M7: a card's title is its supplier and amount; the line under it, with the file's name, in figures that line up. */
.review-item .review-file strong, .review-item > p.review-meta { font-variant-numeric: tabular-nums; }

/* d02 6: what cannot be undone looks different from «save»: red text and edge (the theme's own --danger), the red ground under the pointer.
   Deleting the account, a folder, and the confirmation that disconnects bexio. */
.button-danger, .trust-delete form .button, .bexio-disconnect .link-confirm-body .button { color: var(--danger); background: var(--surface); border-color: var(--danger); }
@media (hover: hover) and (pointer: fine) { .button-danger:hover, .trust-delete form .button:hover, .bexio-disconnect .link-confirm-body .button:hover { color: var(--danger); background: var(--danger-bg); border-color: var(--danger); } }

/* d02 3, d01 A13: the work screens of the client area (the account, uploads, results, the VAT pre-check, a fiduciary's folders, the client's
   upload page) were mostly 12–13 px; there were the rules of an upload, the 90 days and what happens to the data. Their text is 14 px at least;
   12 px stays for column headings and small labels in capitals, and for tables on a phone. The receipt inbox's table keeps its sizes (its layout
   is fix C2's). */
.account-layout, .client-section { --text-xs: .875rem; --text-sm: .875rem; }
.account-layout :is(th, .values-read dt, .field label span, .doc-table, .eyebrow) { --text-xs: .75rem; --text-sm: .8125rem; }
@media (max-width: 480px) { .account-layout .table-scroll { --text-xs: .75rem; --text-sm: .8125rem; } }

/* d02 11: on a phone the home page's headline (28.6 px) was the size of its section titles (28 px): 32 px and 24 px. In the client area the
   title (28.6 px, serif) and the bold titles of its blocks (22 px) looked alike too: the blocks' titles at 19 px there. */
@media (max-width: 680px) {
  .hero h1 { font-size: 2rem; }
  .section-heading h2 { font-size: 1.5rem; }
  main:has(> .form-section .account-layout) > .form-section .account-layout :is(h2, h3) { font-size: var(--text-lg); }
}

/* Adversarial review of 15.11.2026 (qa-c): a long German company or Mandant name widened the page on a phone (430 px at 390) and cut the
   headline: headlines and the names in the client area break inside a word when nothing else fits. */
h1, h2, h3 { overflow-wrap: anywhere; }

/* Adversarial review of 15.11.2026 (a11y-c, WCAG 2.4.11): with the sticky header on wide screens, a field reached with Shift+Tab could sit
   wholly under it (the IBAN field among them): the page keeps room for the header when it scrolls to a focused field or an anchor. */
html { scroll-padding-top: 6rem; }

/* ---- Review of 17.11.2026 (d1, 3.5 and 3.6): restraint. ----
   Kept: the invoice that reads itself, the stamp on the example cards, the lime mark under the title and the press of the buttons.
   Gone: the blur on every entrance (a filter, costly on old office PCs), the title word by word, the tilting price cards and example cards,
   the glow that drifts for ever, the reading-progress line, the half-second fade between pages, and the cables and nodes around the panel
   (the language of automation tools; steps 01–04 already say it, and on a phone they pushed the invoice out of the first screen). */
@media (hover: hover) and (pointer: fine) {
  .price-card:hover { transform: translateY(-2px); }
  .doc-card:hover { --hover-rot: 0deg; --hover-scale: 1; --hover-lift: -4px; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }

/* ---- Review of 17.11.2026, second round (Héctor, 15:08–15:12: bexio first, the pages that answer the reviewers) ---- */
/* The home page's hero: one line that Klyrenta works beside the accounting (also with bexio), the fiduciaries' link as a link, and the
   points that take away the fear («no card, no subscription») at 14 px (d1 3.8, d2 M6: they were 12 px grey). */
.hero-complement { max-width: 620px; margin: calc(-1 * var(--space-4)) 0 var(--space-7); color: var(--ink); font-size: var(--text-base); font-weight: 600; line-height: var(--leading-snug); }
.hero-complement a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-strong); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hero-trust { margin: var(--space-5) 0 0; font-size: .875rem; }
.hero-trust a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .hero-complement a:hover, .hero-trust a:hover { text-decoration-color: var(--ink); } }
.page-hero .hero-trust { margin-top: var(--space-3); }
.hero-points { margin-top: var(--space-8); color: var(--ink-muted); font-size: .875rem; }
.page-hero p.hero-note, .offer-terms, .offer-grid .price-card > p.offer-terms, .offer-detail, .price-card > p.plan-free, .pricing-disclaimer { font-size: .875rem; }

/* The product cards (the services page). */
.card-prices { display: grid; gap: var(--space-3); margin: var(--space-5) 0 0; padding: 0; list-style: none; }
.card-prices li { display: grid; gap: 2px; }
.card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--space-2); color: var(--ink-subtle); font-size: .875rem; }
.card-price strong { color: var(--ink); font-size: var(--text-lg); line-height: 1.2; letter-spacing: var(--tracking-tight); white-space: nowrap; }
.card-price-what { color: var(--ink-muted); font-size: .875rem; }

/* What is checked as lines, not as ten white cards of 1 to 6 lines (d1 3.4); what is not checked, said under them (k2 3.2). */
.check-grid { gap: 0 var(--space-8); }
.check-grid li { padding: var(--space-3) 0 var(--space-3) var(--space-7); border-top: 1px solid var(--border); border-radius: 0; background: transparent; }
.check-grid li::before { left: 0; top: var(--space-3); }
.check-grid li::after { border-radius: var(--radius-sm); }
.checks-not { margin: var(--space-5) 0 0; padding: var(--space-3) var(--space-4); border-left: 3px solid var(--border-strong); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--bg-subtle); color: var(--ink); font-size: .875rem; }
.section-subtle .checks-not { background: var(--surface); }
/* The QR-bill line (18.11.2026, k5 3.1): under the problems as «not checked» is under the checks, with the lime edge of what Klyrenta does. */
.problem-qr { max-width: 760px; margin: var(--space-6) 0 0; padding: var(--space-3) var(--space-4); border-left: 3px solid var(--accent-strong); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--bg-subtle); color: var(--ink); font-size: .875rem; }
.qr-note a { color: var(--ink); font-weight: 650; text-decoration: underline; text-decoration-color: var(--accent-strong); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.account-layout > .first-invoice-note + .qr-note { margin-top: calc(-1 * var(--space-3)); }
#checks .tool-fields { margin-bottom: 0; }
#checks .tool-fields h2 { font-size: var(--text-3xl); }
/* «Who is behind Klyrenta?» as a block of its own (d1 3.1, d2 B6): a heading, three short sentences (no name since 01.12.2026), the 90 days with the lime edge. */
.about-block { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-6) var(--space-12); margin-top: var(--space-16); padding: var(--space-8) var(--space-10); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.about-block h2 { font-size: var(--text-2xl); }
.about-points { display: grid; gap: var(--space-3); max-width: 68ch; margin: 0; padding: 0; list-style: none; }
.about-points li { position: relative; padding-left: var(--space-6); color: var(--ink-muted); }
.about-points li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.about-points a, .about-notice a { color: var(--ink); }
.about-notice { max-width: 68ch; margin: var(--space-5) 0 0; padding: var(--space-3) var(--space-4); border-left: 3px solid var(--accent-strong); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--bg-subtle); color: var(--ink); font-weight: 600; }
.about-more { margin: var(--space-4) 0 0; }
.about-block + .faq-grid { margin-top: var(--space-16); }

/* The home page's questions end with the free start (d2 M5: nine phone screens without one). */
.section-cta { display: flex; justify-content: flex-end; margin-top: var(--space-8); }
.fit-grid.is-solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
/* The glow of the closing band fades out before the footer instead of stopping at its edge (d1 3.16). */
.fit-section::before { -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 92%); mask-image: linear-gradient(to bottom, #000 50%, transparent 92%); }

/* Section titles of the product pages in one size (d1 3.7: 28, 28, 40, 28 and 40 px on one page; «Prices» among the smallest). */
main:has(.offer-block) :is(.tool-fields > div > h2, .product-audience h2, .why-prices h2, .offer-head h2, .faq-grid > h2, .bexio-steps h2, .trust-profile h2) { font-size: clamp(1.625rem, 1.1vw + 1.1rem, 2.125rem); }

/* The ways to pay: one line of text (d1 3.3, d2 B7; Héctor 15:08); under the prices of /pricing centred like the notes under it, on the
   product pages aligned with the notes, in the footer inside the bottom bar. */
.pay-methods { margin: var(--space-5) 0 0; color: var(--ink-subtle); font-size: .875rem; line-height: 1.6; }
.pay-methods .pay-name { color: var(--ink-muted); font-weight: 600; white-space: nowrap; }
/* Review of 18.11.2026 (R1, found by scripts/overflow-check-2026-11-18.mjs): the last name is a phrase, not a brand («cartes de débit Visa
   et Mastercard comprises»): kept whole it made four French pages 321 px wide at 320. It still moves whole to the next line, as before, and
   breaks between its words only when it is wider than a line on its own. */
.pay-methods .pay-name:last-child { display: inline-block; max-width: 100%; white-space: normal; }
.pay-methods.is-centered { max-width: 760px; margin: var(--space-8) auto 0; text-align: center; }
.pay-methods.is-centered + .pricing-disclaimer { margin-top: var(--space-2); }
.footer-bottom { flex-wrap: wrap; align-items: baseline; }
.footer-bottom .pay-methods { flex: 1 1 24rem; margin: 0; color: var(--ink-fixed-subtle); font-size: var(--text-xs); text-align: center; }
.footer-bottom .pay-methods .pay-name { color: var(--ink-fixed-muted); }
@media (max-width: 680px) { .footer-bottom .pay-methods { flex-basis: auto; text-align: left; } }

/* /pricing: bexio said in its column; pages said in invoices beside each plan (p1 P7); what each offer includes folded, so the columns no
   longer stand 430 to 580 px apart (d1 3.6). */
.plan-bexio { margin: var(--space-4) 0 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--bg-subtle); color: var(--ink); font-size: .875rem; }
.offer-block .plan-bexio { max-width: 760px; }
/* /review: which one suits whom, pack or monthly plan, above the cards (k4 C11, 18.11.2026); the same box as the bexio line. */
.plan-advice { max-width: 760px; margin: 0 0 var(--space-6); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--bg-subtle); color: var(--ink); font-size: .875rem; }
.offer-invoices { margin: var(--space-1) 0 0; color: var(--ink-muted); font-size: .875rem; }
.offer-grid .price-card > p.offer-invoices { margin-top: var(--space-1); }
.plan-includes-fold { margin: var(--space-4) 0 var(--space-5); border-bottom: 0; }
.plan-includes-fold > summary { padding: var(--space-2) 0; font-size: .875rem; }
.price-card .plan-includes-fold .plan-includes { margin: var(--space-1) 0 0; }
.product-plan .price-actions { margin-top: 0; }

/* /review: «So geht's mit bexio» (k1 3.5, f1 3.13). */
.bexio-steps { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-6) var(--space-12); margin: 0 0 var(--space-16); padding: var(--space-8) var(--space-10); border-radius: var(--radius-lg); background: var(--bg-subtle); }
.bexio-steps > div > p { margin: var(--space-3) 0 var(--space-4); color: var(--ink-muted); }
.bexio-steps ol { display: grid; gap: var(--space-4); margin: 0; padding: 0; list-style: none; counter-reset: bexio-step; }
.bexio-steps li { position: relative; display: grid; gap: 2px; min-height: 30px; padding-left: var(--space-12); counter-increment: bexio-step; }
.bexio-steps li::before { content: counter(bexio-step, decimal-leading-zero); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink-muted); font-size: var(--text-xs); font-weight: 700; }
.bexio-steps li span { color: var(--ink-muted); font-size: .875rem; }
/* «Am Zahltag mit bexio» under it (18.11.2026, k1 3.1): what to do on the day, and what a long invoice counts. */
.payday-block { margin: 0 0 var(--space-16); padding: var(--space-6) var(--space-8); border-left: 3px solid var(--accent-strong); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; background: var(--bg-subtle); }
.bexio-steps + .payday-block { margin-top: calc(-1 * var(--space-10)); }
.payday-block h2 { font-size: var(--text-xl); }
.payday-block ol { display: grid; gap: var(--space-3); max-width: 760px; margin: var(--space-4) 0 0; padding-left: var(--space-5); color: var(--ink-muted); }
.payday-block li strong, .payday-pages strong { color: var(--ink); }
.payday-pages { max-width: 760px; margin: var(--space-5) 0 0; padding-top: var(--space-4); border-top: 1px solid var(--border); color: var(--ink-muted); font-size: .875rem; }
@media (max-width: 680px) { .payday-block { padding: var(--space-5); } }

/* /trust: the profile for a supplier check (f1, f4), printable. */
.trust-profile { margin: 0 0 var(--space-16); padding: var(--space-8) var(--space-10); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.trust-profile-head p { max-width: 68ch; margin: var(--space-3) 0 0; color: var(--ink-muted); }
.trust-profile dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-8); margin: var(--space-6) 0 0; }
.trust-profile dl > div { min-width: 0; padding-top: var(--space-3); border-top: 1px solid var(--border); }
.trust-profile dt { color: var(--ink); font-size: .875rem; font-weight: 650; }
.trust-profile dd { margin: var(--space-1) 0 0; color: var(--ink-muted); font-size: .875rem; overflow-wrap: anywhere; }
.trust-profile dd a { color: var(--ink); }

/* How to tell an e-mail of Klyrenta (k5), and the guides of a product (m2 C4). */
.messages-block { margin-top: var(--space-12); padding: var(--space-6) var(--space-8); border-left: 3px solid var(--accent-strong); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; background: var(--bg-subtle); }
.messages-block h2, .related-guides h2 { font-size: var(--text-xl); }
.messages-block ul { display: grid; gap: var(--space-2); margin: var(--space-3) 0 0; padding-left: var(--space-5); color: var(--ink-muted); }
.related-guides { margin-top: var(--space-12); }
.related-guides ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2) var(--space-8); margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.related-guides a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
:is(.messages-block, .related-guides) + .tool-privacy { margin-top: var(--space-12); }
/* /how-it-works: partial and final invoices, and bexio instead of an upload. */
.rules-extra { margin: var(--space-6) 0 var(--space-16); }
.rules-extra .rule-card .text-link { margin-top: var(--space-4); }
/* /trust: the office that pays for its clients, and clients with bexio (18.11.2026, m3 C9), right under «who it is for». */
.product-split + .trust-cases { margin-top: calc(-1 * var(--space-8)); }
/* A guide's date under its title (m2 C10). */
.page-hero .guide-date { margin-top: var(--space-3); color: var(--ink-subtle); font-size: .875rem; }

@media (max-width: 920px) {
  .about-block, .bexio-steps { grid-template-columns: minmax(0, 1fr); padding: var(--space-6); }
}
@media (max-width: 680px) {
  .trust-profile dl, .related-guides ul { grid-template-columns: minmax(0, 1fr); }
  .trust-profile { padding: var(--space-6); }
  .section-cta { justify-content: flex-start; }
  /* A shorter home page on a phone (d1 3.5, d2 M5): the same content with less padding around it. */
  .trust-grid li { padding: var(--space-5); }
  .about-block { margin-top: var(--space-10); padding: var(--space-5); }
}
@media print {
  .trust-profile { border: 0; padding: 0; }
}

/* ---------- Ronda 5 (19.11.2026), F7: the result page with many invoices, print, one scale of states ---------- */
/* F7 1 (d02 A1 = d04 M3): the cards in one list per tone (red, not checked, amber, green; still being read last), and from six documents on a
   line of links that shows one tone alone, without a script: while one of the four nested boxes (#show-red …) is the page's target, the other
   lists are hidden; «show all» (#show-all) leaves it. The same pattern as a client folder's «only the documents to check». */
.review-groups, .review-filter-scope { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); min-width: 0; }
.review-filter { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-5); margin: 0 0 var(--space-1); color: var(--ink-muted); font-size: var(--text-sm); }
.review-filter .review-filter-all { display: none; }
#show-red, #show-unchecked, #show-amber, #show-first, #show-green, #show-all { scroll-margin-top: 96px; }
#show-red:target .review-list:not(.tone-red), #show-unchecked:target .review-list:not(.tone-unchecked), #show-amber:target .review-list:not(.tone-amber), #show-first:target .review-list:not(.tone-first), #show-green:target .review-list:not(.tone-green) { display: none; }
#show-red:target .review-filter .review-filter-all, #show-unchecked:target .review-filter .review-filter-all, #show-amber:target .review-filter .review-filter-all, #show-first:target .review-filter .review-filter-all, #show-green:target .review-filter .review-filter-all { display: inline-flex; }
#show-red:target .review-filter a[href="#show-red"], #show-unchecked:target .review-filter a[href="#show-unchecked"], #show-amber:target .review-filter a[href="#show-amber"], #show-first:target .review-filter a[href="#show-first"], #show-green:target .review-filter a[href="#show-green"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (pointer: coarse) { .review-filter .text-link { min-height: 44px; } }
/* F7 2 (d02 A2): on paper (and «Save as PDF», which prints no backgrounds by default) the verdict box was white text on a ground that is not
   printed (2.3:1), a «Warnung» pill printed from a dark system was pale amber on beige (1.41:1: its dark colour was a fixed value, now the
   --warning-ink token, set back to the light one here), the logo (a drawn background) vanished and cards were cut between two sheets. On paper
   the box is dark text on white with a dark edge, the coloured dots, pills and logo are printed as they are, and a card stays on one sheet. */
@media print {
  :root:root:root { --warning-ink: #7a4f0e; --success-ink: #2c6e45; }
  .review-summary-box, .review-summary { background: #ffffff; color: var(--ink); border: 2px solid var(--ink); }
  .review-summary-box .review-summary { border: 0; }
  .review-summary-box .review-verdict, .review-summary-box .review-verdict-note { color: var(--ink); }
  .review-summary .sum-part.is-zero { color: var(--ink-muted); }
  .review-verdict::before, .review-summary .sum-part::before, .pill, .status-pill, .brand-mark, .brand-mark span { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .review-item, .report-row, .doc-row, .stat, .review-summary-box, .review-summary, .issue { break-inside: avoid; }
  .review-filter, .live-control, .live-time { display: none; }
}
/* F7 3 (d02 A3 = d04 M4): one scale of states for the three products: red «clarify before paying», grey «not checked», amber «take a look»,
   green «nothing flagged». In the VAT pre-check the pill of an invoice not deductible was grey under a red edge: now red, and «to look at» amber
   (an invoice ticked off as looked at stays grey); a deductible one is green already (.is-clean). */
.review-item.vat-not_deductible .pill.vat-verdict { background: var(--danger-bg); color: var(--danger); }
.review-item.vat-check .pill.vat-verdict { background: var(--warning-bg); color: var(--warning-ink); }
.review-item.vat-check.is-seen .pill.vat-verdict { background: var(--bg-muted); color: var(--ink-muted); }
/* F7 11 (d02 M5): a limit of the plan is a notice, not an error: the neutral box with the lime edge; red stays for an error (role="alert"). */
.tool-limit:not([role="alert"]) { border-color: var(--border); border-left: 4px solid var(--accent-strong); background: var(--surface); }
/* F7 11 (d03 B2): on a phone a guide's table wraps instead of scrolling sideways (a scrolling box without a focusable element cannot be moved
   with the keyboard in every browser). */
@media (max-width: 520px) { .guide-table table { min-width: 0; } .guide-table th, .guide-table td { overflow-wrap: anywhere; } }
/* F7 11 (d03 B11): on a phone the steps of the animated invoice stayed dim (2.0:1 to 3.9:1) when one stopped scrolling half way: the number
   dims as before, the words never go under 90 % (4.8:1 and more). (d03 B1: the reading on load is 4.4 s in all, under the 5 s of WCAG 2.2.2.) */
.workflow-panel ol > li:not([aria-hidden]) { opacity: 1; }
.workflow-panel ol > li:not([aria-hidden]) > div { opacity: calc(.9 + .1 * var(--on)); }
/* F7 4 (d03 M1): «stop updating» big enough for a finger. */
@media (pointer: coarse) { .live-control .text-link { min-height: 44px; } }
/* G1 (ronda 5, fase 2): the people of an account (/account/team), its activity (/account/activity) and the section of the client area. */
.account-team { margin-top: var(--space-8); }
.account-team h2 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.member-list li > span, .activity-list li > span { min-width: 0; }
.member-list .member-state, .activity-list .activity-what { display: block; margin-top: var(--space-1); color: var(--ink-muted); font-size: var(--text-sm); }
.member-list form, .account-team form { margin: 0; }
.member-remove.link-confirm { border-bottom: 0; flex-basis: 100%; }
.member-remove.link-confirm > summary { list-style: none; cursor: pointer; display: inline-flex; justify-content: center; }
.member-remove.link-confirm > summary::after { content: ""; width: 7px; height: 7px; margin: -4px 2px 0 var(--space-3); border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.member-remove.link-confirm[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.member-remove .link-confirm-body .button { color: var(--danger); background: var(--surface); border-color: var(--danger); }
/* A person of the account reads whose account it is: information, not an error (no red). */
.legal-alert.member-note { border-color: var(--border); border-left: 4px solid var(--border-strong); background: var(--surface); }

/* Review of 28.11.2026: the «Recommended» badge of one plan per product (text, with a border: not colour alone). */
.plan-badge { display: inline-block; margin: 0 0 var(--space-2); padding: 2px var(--space-3); border: 1px solid var(--ink); border-radius: var(--radius-pill); color: var(--ink); font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-normal); line-height: 1.5; }
.price-card.is-recommended { border-color: var(--ink); }
.workflow-panel .step-icon { display: inline-block; width: 15px; height: 15px; margin: 0 var(--space-1) -2px 0; color: var(--danger); }

/* ---------- Review round 2 of 29.11.2026 (design reviewer) ---------- */
/* Item 10: the hero has one primary button and one secondary link; the bexio example and the receipt inbox are one line of small text under the points. */
.hero-more { margin: var(--space-5) 0 0; color: var(--ink-subtle); font-size: var(--text-sm); line-height: 1.6; }
.hero-more a { display: inline-block; padding: 6px 0; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .hero-more a:hover { text-decoration-color: var(--ink); } }
@media (max-width: 680px) { .hero-more a { padding: 10px 0; } }
/* Item 11: the hero's demonstration is the finished state, always: the reading no longer plays (neither on load nor tied to the scroll), so the first
   screen never shows the dim, half-read start; the invoice is drawn larger and cropped to its payment part, so its text is 11 px and more.
   Only the panel's short fade-in stays, and not for visitors who asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero .workflow-panel { animation: oo-arrive 900ms var(--ease-arrive) 240ms backwards; animation-timeline: auto; animation-range: normal; }
}
.iv { --iv-zoom: 1.75; --iv-left: .315; --iv-mid: 553; width: calc(88% * var(--iv-zoom)); left: calc(6% - 88% * var(--iv-zoom) * var(--iv-left)); translate: 0 calc((165 / var(--iv-zoom) - var(--iv-mid)) / 707 * 100%); }
/* Review round 3 of 29.11.2026 (design reviewer G2): on a phone the sheet was drawn 2.6 times as wide and cut at 53.5 % of its width, which sliced the QR code
   (it stands at 32 to 54 % of the sheet). 1.8 times, from 31.5 %: the whole QR code and the payment part's text beside it, at 375 and 390 px. The header of the panel
   (caption and status) stands in two lines on purpose instead of breaking a word of the caption. */
@media (max-width: 680px) { .iv { --iv-zoom: 1.8; --iv-left: .315; --iv-mid: 540; } .panel-top { flex-direction: column; align-items: flex-start; gap: var(--space-1); } }
/* Review of 29.11.2026 (Fable, design): at 375 and 390 px the IBAN (10 px) is wider than its marker (30 % of the sheet) and the red «!» covered its last digit
   (and past the IBAN there is no room: the window ends where the text does). The marker is wider and the flag stands on the line of the caption above it. */
@media (max-width: 680px) { .iv .at49 { width: 33.4cqw; } .iv .at51 { left: 83.4cqw; top: 91.6cqw; } }
.iv-ql { font-size: max(10.5px, 1.28cqw); }
.iv-qv, .iv-qv.iv-qmid, .iv-qv.iv-qbig { font-size: max(11px, 1.48cqw); }
.iv-iban { font-size: max(11.5px, 1.72cqw); }
.iv-qt { font-size: max(12px, 1.9cqw); }
.iv-s, .iv-lab { font-size: max(11px, 1.4cqw); }
/* (the illustration is decoration, aria-hidden: on a phone its small print is a little smaller so that the payment part's lines do not touch) */
@media (max-width: 680px) {
  .iv-ql { font-size: max(8.5px, 1.28cqw); }
  .iv-qv, .iv-qv.iv-qmid, .iv-qv.iv-qbig { font-size: max(9.5px, 1.48cqw); }
  .iv-iban { font-size: max(10px, 1.72cqw); }
  .iv-qt { font-size: max(10.5px, 1.9cqw); }
}
/* Item 12: the recommended plan stands out (frame and tint from the existing tokens, plus its text badge), and its button is filled. */
.price-card.is-recommended { border-width: 2px; background: color-mix(in srgb, var(--accent) 16%, var(--surface)); box-shadow: 0 10px 28px -16px color-mix(in srgb, var(--ink) 45%, transparent); }
.offer-list li.is-recommended { margin: 0 calc(-1 * var(--space-3)); padding-left: var(--space-3); padding-right: var(--space-3); border: 2px solid var(--ink); border-radius: var(--radius-md); background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
.plan-badge { background: var(--accent); border-color: var(--ink); color: var(--accent-ink); }
.price-card.is-recommended .button-secondary, .offer-list li.is-recommended .offer-buy { color: var(--accent-ink); background: var(--accent); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .price-card.is-recommended .button-secondary:hover, .offer-list li.is-recommended .offer-buy:hover { background: var(--accent-strong); border-color: var(--ink); } }
.offer-list .offer-buy { white-space: normal; text-align: left; }
/* Round 4 of 29.11.2026 (r4-15): in the dark theme the small grey text inside the recommended plan (the price suffix and the billing line) was 3.94:1 on the
   green tint; there it uses the lighter ink, 5.2:1 and more (both dark blocks, like every dark rule here). */
:root[data-theme="dark"] .price-card.is-recommended, :root[data-theme="dark"] .offer-list li.is-recommended { --ink-subtle: #c3c9c6; --ink-muted: #cfd4d1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .price-card.is-recommended, :root:not([data-theme="light"]) .offer-list li.is-recommended { --ink-subtle: #c3c9c6; --ink-muted: #cfd4d1; } }
/* Item 15: the folded lists on the home page. */
.home-fold { margin: 0; }
.home-fold > summary { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font-weight: 650; font-size: var(--text-sm); cursor: pointer; list-style: none; }
.home-fold > summary::-webkit-details-marker { display: none; }
.home-fold > summary::after { content: "+"; font-weight: 700; }
.home-fold[open] > summary::after { content: "−"; }
.home-fold > summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.home-fold[open] > summary { margin-bottom: var(--space-5); }
@media (min-width: 921px) {
  /* On a computer the lists are shown (nothing to scroll past); the fold is for the phone page. */
  /* Final review of 29.11.2026 (Fable In/Mn): only where ::details-content exists. A browser without it would drop the first rule but keep
     the second, hiding the content with no button to open it; there the summary stays visible and the fold works as on the phone. */
  @supports selector(::details-content) {
    .home-fold::details-content { content-visibility: visible; }
    .home-fold > summary { display: none; }
  }
}
/* Review round 3 of 29.11.2026: the table «how many pages a month, which plan» on the prices page. */
.plan-table-block { margin: var(--space-9) 0 var(--space-8); max-width: 920px; }
/* Review of 29.11.2026 (Fable, design): the table's heading is a section heading, never larger than the page's own h1 (--text-3xl on this page). */
.plan-table-block > h2 { margin: 0 0 var(--space-3); font-size: var(--text-2xl); }
.plan-table-block > p, .plan-table-note { max-width: 70ch; color: var(--ink-muted); }
.plan-table-wrap { margin: var(--space-5) 0 var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md, 12px); background: var(--surface); overflow-x: auto; }
.plan-table { width: 100%; border-collapse: collapse; font-size: var(--text-base); }
.plan-table th, .plan-table td { padding: var(--space-4) var(--space-5); text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.plan-table thead th { font-size: var(--text-sm); color: var(--ink-subtle); font-weight: 650; }
.plan-table tbody th { font-weight: 600; color: var(--ink); }
.plan-table tbody tr:last-child > * { border-bottom: 0; }
.plan-table td a { color: var(--ink); font-weight: 600; }
@media (max-width: 680px) { .plan-table th, .plan-table td { padding: var(--space-3) var(--space-3); font-size: var(--text-sm); } }
/* Review round 3 of 29.11.2026: the condition of the headline («from a supplier's second invoice on»), right under it. */
.hero-condition { max-width: 620px; margin: var(--space-3) 0 0; color: var(--ink-muted); font-size: var(--text-sm); font-weight: 600; line-height: 1.4; }
.hero-condition + .hero-lead { margin-top: var(--space-4); }
.page-hero .hero-condition { margin: var(--space-2) 0 0; }

/* Review round 4, stage B: the home page is for SMEs only; price in one line, steps, the example folded. */
.price-line { margin: 0 0 var(--space-4); font-size: var(--text-lg, 1.125rem); font-weight: 600; line-height: 1.5; color: var(--ink); max-width: 62ch; }
.price-line .text-link { display: inline-block; margin-left: var(--space-2); }
.home-example { margin-top: var(--space-6); }
.home-example .sample-docs { padding: var(--space-4) 0 0; background: none; }
.home-example .sample-docs-lead { margin: 0 0 var(--space-2); max-width: 62ch; color: var(--ink-muted); }
/* Stage B: on a phone the hero's invoice picture is skipped (the example is one tap away and sits in the steps section); about half the page height. */
@media (max-width: 720px) {
  .hero .workflow-panel { display: none; }
  #guides .section-heading p { display: none; }
}
@media (max-width: 720px) {
  .process-grid.home-steps li { min-height: 0; padding: var(--space-4); }
  .process-grid.home-steps li > span { display: inline-block; margin-right: var(--space-2); }
  .process-grid.home-steps h3 { display: inline; }
  #price { padding-block: var(--space-8); }
}
.no-prior-note { margin: 0 0 var(--space-4); padding: var(--space-3) var(--space-4); border-left: 3px solid var(--border-strong); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--bg-subtle); color: var(--ink); font-size: var(--text-sm); line-height: 1.5; max-width: 62ch; }
