: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 */
    /* --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 */
    /* --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; 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: -21px; 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-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; 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-icon { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--ink-muted); background: var(--bg); font-size: var(--text-xs); font-weight: 700; }
.workflow-icon.accent { color: var(--accent-ink); border-color: var(--accent); background: var(--accent); }
.workflow-panel li:has(.workflow-line) { height: 18px; margin-left: 17px; }
.workflow-line { width: 1px; height: 18px; background: var(--border-strong); }
/* ---------- 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: #f5c451; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .doc-status.is-warning { background: color-mix(in srgb, #e3a008 20%, var(--surface)); color: #f5c451; } }
.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; }
.workflow-panel .workflow-icon { flex-basis: 30px; height: 30px; }
/* Step 4 carries the warning «bank account changed»: red, as in the report (14.11.2026: it was amber). The tokens follow the theme. */
.workflow-icon.accent { color: var(--danger); border-color: var(--danger); background: var(--danger-bg); }
@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); }
  .workflow-panel .workflow-icon { flex-basis: 34px; height: 34px; }
}

/* 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; }
.workflow-panel ol > li:not([aria-hidden]):not(:nth-child(7)) .workflow-icon {
  --glow: clamp(0, min((var(--rt-p) - var(--at)) / .02, (var(--at) + .14 - var(--rt-p)) / .08), 1);
  background-color: color-mix(in srgb, var(--accent) calc(100% * var(--glow)), var(--bg));
  border-color: color-mix(in srgb, var(--accent-strong) calc(100% * var(--glow)), var(--border));
}
.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 4600ms linear 700ms 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); }
.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 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; }
/* 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); }
.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: #f5c451; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .issue-warning .pill { color: #f5c451; } }
/* 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); }
/* Four ways money gets lost: a ruled 2x2, the same grid language as the rest of the site. */
.problem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.problem-grid li { min-width: 0; padding: var(--space-8); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problem-number { display: block; margin-bottom: var(--space-6); color: var(--ink-subtle); font-size: var(--text-xs); font-weight: 650; letter-spacing: var(--tracking-wide); }
.problem-grid h3 { max-width: 420px; font-size: var(--text-xl); }
.problem-grid p { max-width: 520px; margin: var(--space-3) 0 0; color: var(--ink-muted); }
/* Product teasers: one link per card, stretched over the whole card (no JS). */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; 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) { .product-card:hover { transform: translateY(-4px); } }
.product-card .eyebrow { margin-bottom: var(--space-3); }
.product-card h3 { font-size: var(--text-xl); }
.product-card > p { margin: var(--space-3) 0 0; color: var(--ink-muted); }
.product-card .product-free, .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); }
.product-card .product-link { margin-top: auto; padding-top: var(--space-6); }
.product-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.product-grid + .pricing-vat { margin-top: var(--space-6); }
/* 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-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; }
:root[data-theme="dark"] .report-row.is-warning .pill { color: #f5c451; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .report-row.is-warning .pill { color: #f5c451; } }
.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-grid, .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-card, .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); }
@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; }
    }
  }
}
@keyframes oo-hero-away { from { opacity: 1; translate: 0 0; scale: 1; } to { opacity: .35; 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: brand and language on one row, links below, the request button full width.
     .nav-group dissolves into the header grid so its two parts can sit on different rows. */
  .nav-shell { display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: var(--space-2); }
  .nav-group { display: contents; }
  .brand { margin-bottom: 0; }
  .nav-shell > .lang-switch, .nav-group > .lang-switch { grid-column: 2; grid-row: 1; }
  .nav-group > .nav-tools { grid-column: 2; grid-row: 1; gap: var(--space-2); }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; }
  .site-header nav ul { justify-content: flex-start; gap: var(--space-1) var(--space-4); }
  .site-header nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: var(--text-sm); }
  .site-header nav li:last-child { 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; }
  .problem-grid, .product-grid, .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; }
  .problem-grid li, .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: #f5c451; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill.is-stopped { color: #f5c451; } }
.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,
  .problem-grid > *, .product-grid > *, .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); }
@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: #f5c451; }
@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: #f5c451; } }

.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, .product-card .try-button { align-self: flex-start; margin-top: var(--space-4); }
.product-card .try-button { position: relative; z-index: 1; min-height: 40px; padding: 0 var(--space-5); font-size: var(--text-sm); }
/* 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. Below 360 px they break like the text around them. */
@media (max-width: 360px) { .review-item .review-head .pill, .account-layout .review-summary .sum-part { 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, .problem-grid, .product-grid, .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; } }
/* 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 4600ms linear 900ms 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); }
@media (max-width: 480px) { .batch-list a { flex-wrap: wrap; } }
/* 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: 480px) { .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: #f5c451; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .review-item.is-warning .pill.verdict { color: #f5c451; } }
/* 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; }
}
/* 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; }
/* Three problems on the home page since «typing by hand» went: three columns on a computer, and on a tablet the third one takes the row
   (two columns left an empty cell). */
@media (min-width: 921px) { .problem-grid:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 681px) and (max-width: 920px) { .problem-grid > li:nth-child(3):last-child { grid-column: 1 / -1; } }

/* ---- 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: 480px) { .batch-list a:not(:has(.pill)) > span:first-child { flex-basis: 0; } }
.product-card .try-button { min-height: 46px; }
.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-summary { font-weight: 400; }
.review-summary .sum-part { white-space: nowrap; }
.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: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #ff8a80; vertical-align: 1px; }
.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, .product-plan > .try-row { 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); } }

/* 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); }
}
/* 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; }
}

/* 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, .product-card .product-free, .price-card > p.plan-free, .pricing-disclaimer { font-size: .875rem; }

/* The home page's products: the invoice check (with bexio) across the row, the receipt inbox and the VAT pre-check under it. */
.home-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card .card-copy, .product-card .card-side { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.product-card .card-side { flex: 1 1 auto; }
.product-card .card-copy > p { margin: var(--space-3) 0 0; color: var(--ink-muted); }
.product-card .card-copy > p.card-note { color: var(--ink); font-weight: 600; }
.product-card .card-link { position: relative; z-index: 1; margin-top: var(--space-4); font-size: .875rem; }
.product-card .product-free { margin-top: var(--space-5); }
.product-card.is-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: var(--space-6) var(--space-12); align-items: start; box-shadow: inset 4px 0 0 var(--accent-strong); }
.product-card.is-lead h3 { font-size: var(--text-2xl); }
.product-card.is-lead .card-side { padding-left: var(--space-8); border-left: 1px solid var(--border); }
.product-card.is-lead .try-button { margin-top: 0; }
.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; }
.home-products + .product-pages { margin-top: var(--space-5); text-align: center; font-size: .875rem; }
.products-cost { margin: var(--space-2) 0 0; color: var(--ink); font-size: .875rem; font-weight: 600; text-align: center; }
@media (max-width: 920px) {
  .home-products { grid-template-columns: minmax(0, 1fr); }
  .product-card.is-lead { grid-template-columns: minmax(0, 1fr); }
  .product-card.is-lead .card-side { padding-left: 0; padding-top: var(--space-5); border-left: 0; border-top: 1px solid var(--border); }
}

/* 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); }
#checks .tool-fields { margin-bottom: 0; }
#checks .tool-fields h2 { font-size: var(--text-3xl); }
/* Who it is for and who not (s1 C5). */
.match-block { margin-top: var(--space-16); padding-top: var(--space-12); border-top: 1px solid var(--border); }
.match-block > h2 { font-size: var(--text-3xl); }
.match-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-6); }
.match-columns > div { min-width: 0; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface); }
.match-columns h3 { font-size: var(--text-lg); }
.match-columns ul { display: grid; gap: var(--space-2); margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.match-columns li { position: relative; padding-left: var(--space-6); color: var(--ink-muted); }
.match-columns li::before { position: absolute; left: 0; font-weight: 700; }
.match-yes li::before { content: "✓"; color: var(--success); }
.match-no li::before { content: "–"; color: var(--ink-subtle); }

/* «Who is behind Klyrenta?» as a block of its own (d1 3.1, d2 B6): a heading, the name, three short sentences, 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-name { margin: var(--space-3) 0 0; color: var(--ink); font-size: var(--text-lg); font-weight: 650; }
.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; }
.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; }
.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; }

/* /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); }
/* 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) {
  .match-columns, .trust-profile dl, .related-guides ul { grid-template-columns: minmax(0, 1fr); }
  .trust-profile { padding: var(--space-6); }
  .section-cta { justify-content: flex-start; }
  .match-block { margin-top: var(--space-12); padding-top: var(--space-10); }
  /* A shorter home page on a phone (d1 3.5, d2 M5): the same content with less padding around it. */
  .match-columns { gap: var(--space-3); }
  .match-columns > div, .trust-grid li { padding: var(--space-5); }
  .problem-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; }
}
