/* ── src/css/tokens.css ── */
/*
 * Design tokens: the only place with colours, type sizes, spacing and radii.
 * Values: direction C (docs/strategie/2026-10-31_web-redesign-vizualni-smer.md,
 * chapter 4, with the adjustments of chapter 3). Components never use a hex
 * value; they use the role tokens below, which a light band (.band--light)
 * points at the light palette.
 * Smallest text is --fs-min (12 px); tools/check-site.mjs fails on anything smaller.
 */
:root {
  /* palette */
  --navy-950: #0D1320;
  --navy-900: #131B2C;
  --navy-850: #18223A;
  --navy-800: #1E2A44;
  --paper: #F4F6FA;
  --card: #FFFFFF;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: #D6DCE6;
  --text-on-dark: #FFFFFF;
  --text-on-dark-2: #C8CEDA;
  --mist: #AEB8CB;
  --ink: #131B2C;
  --ink-2: #4A5570;
  --orange: #FF6B00;
  --orange-hover: #FF8533;
  --orange-line: #D95700;
  --orange-ink: #B84A00;
  --orange-tint-16: rgba(255, 107, 0, 0.16);
  --orange-tint-22: rgba(255, 107, 0, 0.22);
  --orange-tint-30: rgba(255, 107, 0, 0.30);
  --steel: #8A95AA;
  --grid: #E3E8EF;
  --ok: #34D399;
  --ok-ink: #047857;
  --error: #F87171;
  --error-ink: #B42318;

  /* roles on a dark band (default) */
  --c-bg: var(--navy-900);
  --c-panel: var(--navy-850);
  --c-panel-2: var(--navy-800);
  --c-field: var(--navy-950);
  --c-border: var(--line-dark);
  --c-border-strong: rgba(255, 255, 255, 0.28);
  --c-text: var(--text-on-dark);
  --c-text-2: var(--text-on-dark-2);
  --c-muted: var(--mist);
  --c-accent: var(--orange);
  --c-accent-text: var(--orange);
  --c-ok: var(--ok);
  --c-error: var(--error);
  --c-focus: var(--orange);

  /* buttons (DESIGN_PRAVIDLA §1, direction C 3.2): tinted, never a solid orange fill */
  --btn-p-bg: var(--orange-tint-22);
  --btn-p-bg-hover: var(--orange-tint-30);
  --btn-p-border: var(--orange);
  --btn-p-border-hover: var(--orange-hover);
  --btn-p-text: var(--text-on-dark);
  --btn-s-bg: transparent;
  --btn-s-border: rgba(255, 255, 255, 0.28);
  --btn-s-border-hover: rgba(255, 255, 255, 0.5);
  --btn-s-text: var(--text-on-dark-2);
  --btn-s-text-hover: var(--text-on-dark);

  /* charts */
  --chart-accent: var(--orange);
  --chart-muted: var(--steel);
  --chart-grid: rgba(255, 255, 255, 0.10);
  --chart-axis: rgba(255, 255, 255, 0.30);
  --chart-text: var(--text-on-dark-2);

  /* type: Manrope 800 headings, Inter text */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;


  --fs-min: 0.75rem;                                   /* 12 px, the floor */
  --fs-kicker: 0.8125rem;                              /* 13 px, 700, capitals */
  --fs-sm: 0.875rem;                                   /* 14/20 caption */
  --fs-nav: 0.9375rem;                                 /* 15 px */
  --fs-body: 1.0625rem;                                /* 17/27 */
  --fs-lead: clamp(1.125rem, 1.07rem + 0.27vw, 1.25rem);       /* 18 -> 20 */
  --fs-h3: clamp(1.25rem, 1.2rem + 0.18vw, 1.375rem);          /* 20 -> 22 */
  --fs-h2: clamp(1.75rem, 1.43rem + 1.43vw, 2.5rem);           /* 28 -> 40 */
  --fs-h1: clamp(2.25rem, 1.7rem + 2.5vw, 3.5rem);             /* 36 -> 56 */
  --fs-h1-lead: clamp(1.625rem, 1.35rem + 1.25vw, 2.5rem);     /* 26 -> 40, first sentence of the H1 */
  --fs-figure: clamp(2.75rem, 2.4rem + 1.6vw, 3.5rem);         /* 44 -> 56, proof numbers */
  --fs-price: clamp(2.25rem, 2rem + 1.1vw, 3rem);              /* 36 -> 48 */

  --lh-tight: 1.1;
  --lh-heading: 1.15;
  --lh-body: 1.6;
  --tracking-h1: -0.022em;
  --tracking-h2: -0.015em;
  --tracking-kicker: 0.1em;

  /* space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --band-y: clamp(3.5rem, 2.5rem + 3.6vw, 6rem);        /* 56 -> 92 at 1440 (lead, etapa 2 kola 1 a 2: page <= 8 500 px with clip dates) */
  --head-gap: clamp(1.5rem, 1rem + 1.2vw, 2rem);       /* heading -> content, 24 -> 32 */
  --gutter: clamp(1rem, 0.6rem + 1.8vw, 1.5rem);       /* 16 -> 24 */

  /* layout */
  --container: 77.5rem;      /* 1240 px */
  --measure: 42.5rem;        /* 680 px of running text */
  --header-h: 4.5rem;        /* 72 px; 64 on a phone */
  --video-hero: 68.75rem;    /* 1100 px */
  --video-chapters: 68.75rem;
  --video-side: 48.75rem;    /* 780 px: a board around V6's 718 px window, in two columns */
  --video-tour: 77.5rem;     /* 1240 px, the whole container: a board around the tour's window */

  /* shape */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --radius-btn: 10px;
  --radius-pill: 999px;

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.7s;
}

/* A light band: the same components, light palette (direction C 4, 5). */
.band--light {
  --c-bg: var(--paper);
  --c-panel: var(--card);
  --c-panel-2: var(--paper);
  --c-field: var(--card);
  --c-border: var(--line-light);
  --c-border-strong: var(--steel);
  --c-text: var(--ink);
  --c-text-2: var(--ink-2);
  --c-muted: var(--ink-2);
  --c-accent: var(--orange-line);
  --c-accent-text: var(--orange-ink);
  --c-ok: var(--ok-ink);
  --c-error: var(--error-ink);
  --c-focus: var(--orange-ink);
  --btn-p-bg: var(--orange-tint-16);
  --btn-p-bg-hover: var(--orange-tint-22);
  --btn-p-border: var(--orange-line);
  --btn-p-border-hover: var(--orange-ink);
  --btn-p-text: var(--ink);
  --btn-s-bg: var(--card);
  --btn-s-border: var(--steel);
  --btn-s-border-hover: var(--ink-2);
  --btn-s-text: var(--ink-2);
  --btn-s-text-hover: var(--ink);
  --chart-accent: var(--orange-line);
  --chart-muted: var(--steel);
  --chart-grid: var(--grid);
  --chart-axis: #9AA4B6;
  --chart-text: var(--ink-2);
}

/* A phone (≤ 767 px, lead etapa 4a): a 56 px bar and 40 px between bands. */
@media (max-width: 767px) {
  :root { --header-h: 3.5rem; --band-y: 2.5rem; --head-gap: 1.25rem; }
}
@media (max-height: 500px) and (orientation: landscape) {
  :root { --header-h: 3.5rem; }
}

/* On a phone two bands swap their palette so dark and light still alternate
   where the data and story bands are not shown (.band--m-light on a dark band,
   .band--m-dark on a light one). The same values as .band--light and :root. */
@media (max-width: 767px) {
  .band--m-light {
    --c-bg: var(--paper);
    --c-panel: var(--card);
    --c-panel-2: var(--paper);
    --c-field: var(--card);
    --c-border: var(--line-light);
    --c-border-strong: var(--steel);
    --c-text: var(--ink);
    --c-text-2: var(--ink-2);
    --c-muted: var(--ink-2);
    --c-accent: var(--orange-line);
    --c-accent-text: var(--orange-ink);
    --c-ok: var(--ok-ink);
    --c-error: var(--error-ink);
    --c-focus: var(--orange-ink);
    --btn-p-bg: var(--orange-tint-16);
    --btn-p-bg-hover: var(--orange-tint-22);
    --btn-p-border: var(--orange-line);
    --btn-p-border-hover: var(--orange-ink);
    --btn-p-text: var(--ink);
    --btn-s-bg: var(--card);
    --btn-s-border: var(--steel);
    --btn-s-border-hover: var(--ink-2);
    --btn-s-text: var(--ink-2);
    --btn-s-text-hover: var(--ink);
    --chart-accent: var(--orange-line);
    --chart-muted: var(--steel);
    --chart-grid: var(--grid);
    --chart-axis: #9AA4B6;
    --chart-text: var(--ink-2);
  }
  .band--m-dark {
    --c-bg: var(--navy-900);
    --c-panel: var(--navy-850);
    --c-panel-2: var(--navy-800);
    --c-field: var(--navy-950);
    --c-border: var(--line-dark);
    --c-border-strong: rgba(255, 255, 255, 0.28);
    --c-text: var(--text-on-dark);
    --c-text-2: var(--text-on-dark-2);
    --c-muted: var(--mist);
    --c-accent: var(--orange);
    --c-accent-text: var(--orange);
    --c-ok: var(--ok);
    --c-error: var(--error);
    --c-focus: var(--orange);
    --btn-p-bg: var(--orange-tint-22);
    --btn-p-bg-hover: var(--orange-tint-30);
    --btn-p-border: var(--orange);
    --btn-p-border-hover: var(--orange-hover);
    --btn-p-text: var(--text-on-dark);
    --btn-s-bg: transparent;
    --btn-s-border: rgba(255, 255, 255, 0.28);
    --btn-s-border-hover: rgba(255, 255, 255, 0.5);
    --btn-s-text: var(--text-on-dark-2);
    --btn-s-text-hover: var(--text-on-dark);
    --chart-accent: var(--orange);
    --chart-muted: var(--steel);
    --chart-grid: rgba(255, 255, 255, 0.10);
    --chart-axis: rgba(255, 255, 255, 0.30);
    --chart-text: var(--text-on-dark-2);
  }
}

/* ── src/css/base.css ── */
/* Fonts: self-hosted from Google Fonts (SIL OFL 1.1, public/fonts/OFL-*.txt). The -latin-ext files are cut down to Latin
   Extended-A with pyftsubset: Czech and Slovak pages preload them, and the whole 100 kB came before the hero's poster (etapa 4). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-017F;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-017F;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--lh-heading);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: var(--tracking-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: var(--tracking-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-body); font-weight: 700; }

p, ul, ol, dl, figure, blockquote, table { margin: 0 0 var(--space-4); }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: var(--space-2); }
img, svg, video { max-width: 100%; height: auto; }
img, video { display: block; }
strong { font-weight: 700; color: var(--c-text); }
small { font-size: var(--fs-sm); }
sup { font-size: var(--fs-min); line-height: 0; }
hr { border: 0; border-top: 1px solid var(--c-border); margin: var(--space-6) 0; }

a { color: var(--c-accent-text); text-underline-offset: 0.15em; }
a:hover { color: var(--c-text); }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; border-radius: 4px; }

table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); }
th, td { text-align: left; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--c-border); }
th { color: var(--c-text-2); font-weight: 600; }

button, input, textarea, select { font: inherit; color: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--c-panel); color: var(--c-text); padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-2); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.measure { max-width: var(--measure); }

.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; vertical-align: -0.25em; }

[hidden] { display: none !important; }

/* ── src/css/components.css ── */
/* Components of direction C. Colours only through the role tokens of tokens.css,
   so the same component works on a dark band and on a light one (.band--light). */

/* ── Bands ── */
.band { background: var(--c-bg); color: var(--c-text); padding-block: var(--band-y); }
.band--tight { padding-block: calc(var(--band-y) * 0.6); }
.band--deep { background: var(--navy-950); }
.section__head { max-width: var(--measure); margin-bottom: var(--head-gap); }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-3) var(--space-6); }
.section__head p { color: var(--c-text-2); font-size: var(--fs-lead); line-height: 1.5; margin: var(--space-4) 0 0; }
.section__head h2, .section__head h1 { margin: 0; }
.head-split { display: grid; gap: var(--space-4) var(--space-8); align-items: end; margin-bottom: var(--head-gap); }
@media (min-width: 900px) { .head-split { grid-template-columns: 1fr 1fr; } }
.head-split h2 { margin: 0; max-width: 38rem; }
.head-split p { margin: 0; color: var(--c-text-2); max-width: 28rem; justify-self: end; }
.kicker {
  display: inline-block; margin: 0 0 var(--space-4);
  font-size: var(--fs-kicker); font-weight: 700; letter-spacing: var(--tracking-kicker); text-transform: uppercase;
  color: var(--c-accent-text);
}
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--c-text-2); }
.note { font-size: var(--fs-sm); line-height: 1.45; color: var(--c-muted); }
.muted { color: var(--c-muted); }
.measure { max-width: var(--measure); }
.section-cta { margin-top: var(--space-6); }
.grid-2 { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }

/* ── Brand name (two-tone in headings, build: brandify) ── */
.brand { white-space: nowrap; }
.brand__a { color: inherit; }
.brand__b { color: var(--c-accent-text); }

/* ── Buttons (DESIGN_PRAVIDLA §1; no arrows or icons in the label) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-5);
  border-radius: var(--radius-btn);
  font-size: 1rem; font-weight: 700; line-height: 1.25; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--btn-p-bg); border: 2px solid var(--btn-p-border); color: var(--btn-p-text); }
.btn-primary:hover { background: var(--btn-p-bg-hover); border-color: var(--btn-p-border-hover); color: var(--btn-p-text); }
.btn-secondary { background: var(--btn-s-bg); border: 1px solid var(--btn-s-border); color: var(--btn-s-text); font-weight: 600; }
.btn-secondary:hover { border-color: var(--btn-s-border-hover); color: var(--btn-s-text-hover); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); align-items: center; }
.text-link, .link-arrow { font-weight: 600; color: var(--c-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover, .link-arrow:hover { text-decoration-color: var(--c-accent); }
.link-arrow .ic { display: none; }
@media (max-width: 767px) {
  .btn-row--stack { flex-direction: column; align-items: stretch; }
  .btn-row--stack .btn { width: 100%; }
}

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-900); border-bottom: 1px solid var(--line-dark); color: var(--text-on-dark); }
.site-header__inner { display: flex; align-items: center; gap: var(--space-5); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-on-dark); flex-shrink: 0; }
.logo img { width: 32px; height: 32px; }
.logo__word { font-family: var(--font-display); font-weight: 800; font-size: 1.3125rem; letter-spacing: -0.015em; }
.logo .brand__b { color: var(--orange); }
.site-nav { display: flex; align-items: center; gap: var(--space-5); flex: 1; }
.site-nav ul { display: flex; gap: 1.625rem; list-style: none; margin: 0 0 0 var(--space-3); padding: 0; }
.site-nav li + li { margin-top: 0; }
.site-nav a { color: var(--mist); text-decoration: none; font-weight: 500; font-size: var(--fs-nav); }
.site-nav a:hover { color: var(--text-on-dark); }
.site-nav__aside { display: flex; align-items: center; gap: var(--space-5); margin-left: auto; }
.site-nav__aside a { color: var(--text-on-dark); font-weight: 600; }
.lang-switch { font-size: var(--fs-kicker) !important; color: var(--mist) !important; border: 1px solid var(--line-dark); border-radius: 6px; padding: 7px 8px; line-height: 1; }
.btn--nav { min-height: 42px; padding: 0 var(--space-4); font-size: var(--fs-nav); white-space: nowrap; }
.btn--nav .short { display: none; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-btn);
  background: transparent; border: 1px solid var(--line-dark); color: var(--text-on-dark); cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { border-color: var(--orange); }
.nav-mobile-only { display: none; }
.nav-scrim { display: none; }
/* Up to 1 000 px the menu is a panel under the bar, full width, over a dim page
   (site.js: Esc and a tap outside close it, the page underneath does not scroll). The dim layer is
   z 49, under the bar (50): the panel lives in the bar's stacking context. */
@media (max-width: 1000px) {
  .site-header__inner { flex-wrap: nowrap; gap: var(--space-3); }
  .logo { margin-right: auto; }
  .nav-toggle { display: inline-flex; order: 3; width: 48px; height: 48px; }
  .btn--nav { order: 2; }
  /* a phone on its side: the bar's button steps back while another main button is on screen (site.js) */
  .btn--nav.is-quiet { visibility: hidden; }
  /* without the script the menu is a row of links under the logo that scrolls sideways, and the bar does not stick */
  .no-js .site-header { position: static; }
  .no-js .site-header__inner { flex-wrap: wrap; row-gap: 0; }
  .no-js .site-nav { order: 10; flex: 0 0 100%; flex-direction: row; align-items: center; gap: var(--space-4); padding: 0; overflow-x: auto; white-space: nowrap; border-top: 1px solid var(--line-dark); }
  .no-js .site-nav ul { flex-direction: row; gap: var(--space-4); }
  .no-js .site-nav__aside { margin: 0; padding: 0; border: 0; }
  .no-js .site-nav__cta { display: none; }
  .site-nav { flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-2) 0 var(--space-4); border-top: 1px solid var(--line-dark); }
  .js .site-nav {
    position: fixed; z-index: 60; left: 0; right: 0; top: var(--header-h);
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; overscroll-behavior: contain;
    padding: var(--space-3) var(--gutter) calc(var(--space-5) + env(safe-area-inset-bottom));
    background: var(--navy-900); box-shadow: 0 24px 48px rgba(5, 8, 15, 0.5);
  }
  .site-nav ul { flex-direction: column; gap: var(--space-2); margin: 0; }
  .site-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 var(--space-2); font-size: var(--fs-body); color: var(--text-on-dark); font-weight: 600; }
  .site-nav__aside { margin: var(--space-3) 0 0; padding-top: var(--space-3); border-top: 1px solid var(--line-dark); gap: var(--space-3); }
  .site-nav__aside a { min-width: 48px; justify-content: center; }
  .lang-switch { min-height: 48px; padding: 0 var(--space-3); }
  .nav-mobile-only { display: list-item; }
  .js .site-nav:not(.is-open) { display: none; }
  .nav-scrim { position: fixed; z-index: 49; inset: var(--header-h) 0 0; background: rgba(5, 8, 15, 0.62); touch-action: none; }
  .nav-scrim.is-open { display: block; }
  /* only the root: overflow on body too would make body its own scroller and the sticky bar would ride away with it */
  html.is-locked { overflow: hidden; }
}
.site-nav__cta { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.site-nav__cta .btn { width: 100%; }
/* A phone: logo and menu only (the main button is in the bar at the bottom); the bar hides while scrolling down */
@media (max-width: 767px) {
  .btn--nav { display: none; }
  .site-header__inner { min-height: var(--header-h); }
  .logo { min-height: 48px; }
  .logo__word { font-size: 1.1875rem; }
  .logo img { width: 28px; height: 28px; }
}
@media (max-width: 767px), (max-height: 500px) and (orientation: landscape) {
  .site-header { transition: transform 0.2s var(--ease); }
  .site-header.is-hidden { transform: translateY(-100%); }
}
@media (max-height: 500px) and (orientation: landscape) {
  .btn--nav { min-height: 48px; }
}
@media (max-width: 370px) {
  .logo__word { font-size: 1.0625rem; }
}

/* ── Hero (dark V3 two-column: copy + proof left, cropped live-demo video right) ── */
.hero { background: var(--c-bg); color: var(--c-text); padding-block: clamp(1.5rem, 0.75rem + 2vw, 3rem) clamp(2rem, 1rem + 2.5vw, 3.5rem); text-align: left; }
.hero__grid { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); align-items: center; }
.hero__copy { min-width: 0; }
.hero h1 { font-size: clamp(1.875rem, 1.45rem + 1.25vw, 2.5rem); line-height: 1.12; max-width: 36rem; margin: 0; }
.hero .h1-line { display: block; font-size: clamp(1.1875rem, 1rem + 0.5vw, 1.4375rem); line-height: 1.25; color: var(--mist); letter-spacing: -0.015em; margin-bottom: var(--space-2); }
.hero .accent { display: block; color: var(--text-on-dark); }
.hero__sub { max-width: 34rem; margin: var(--space-4) 0 0; font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem); line-height: 1.5; color: var(--text-on-dark-2); }
.hero__cta { justify-content: flex-start; margin-top: var(--space-5); gap: var(--space-3); }
.ticks { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: var(--space-2) var(--space-5); font-size: 0.9375rem; line-height: 1.45; color: var(--c-text-2); }
.ticks li + li { margin-top: 0; }
.ticks li { display: flex; gap: var(--space-2); align-items: flex-start; text-align: left; }
.ticks .ic { color: var(--c-accent); width: 1.1em; height: 1.1em; margin-top: 0.15em; flex: none; }
.hero__proof { margin-top: var(--space-5); padding: var(--space-3) var(--space-4); max-width: 34rem; background: var(--c-panel); border: 1px solid var(--c-border); border-left: 3px solid var(--c-accent); border-radius: var(--radius); }
.hero__proof p { margin: 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--c-text-2); }
.hero__media { margin-top: 0; min-width: 0; }
.hero__media .video { margin-inline: auto; max-width: var(--video-hero); }
.hero__caption { text-align: left; margin: var(--space-3) 0 0; }
.tour .video--hero { max-width: 42rem; margin-inline: auto; }
.tour .hero__caption { max-width: 42rem; margin-inline: auto; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: clamp(1.75rem, 2.5vw, 2.75rem); }
  .hero__media .frame { padding: 2.5% 3%; }
}
@media (max-width: 1023px) {
  .hero__media .video { max-width: 42rem; margin-inline: 0; }
}
@media (max-width: 767px) {
  .ticks { flex-direction: column; align-items: flex-start; width: fit-content; margin-inline: 0; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

/* ── Video: a window on a board, the line under it inside the board. The board is 36/44/20 px at
      1 100 px wide (a window of 1 012 × 632), in the same proportions wherever it is narrower. ── */
.video { margin: 0; }
.frame {
  --frame-text: var(--text-on-dark); --frame-line: var(--line-dark); --frame-accent: var(--c-accent-text);
  position: relative; border-radius: 18px; padding: 3.27% 4% 1.82%;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-850));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.frame__window { position: relative; overflow: hidden; border-radius: 11px; background: #0B111D; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.13), 0 22px 54px rgba(4, 7, 14, 0.55); }
/* no board on a light band: the window with its shadow, the line on the band */
.band--light .frame { --frame-text: var(--ink); --frame-line: var(--c-border-strong); padding: 0; border-radius: 0; background: none; box-shadow: none; }
.band--light .frame__window { box-shadow: 0 18px 44px rgba(19, 27, 44, 0.28); }
.frame__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 44px; margin-top: var(--space-3); }
.video__cue { display: grid; flex: 1 1 auto; min-width: 0; margin: 0; text-align: left; font-size: 1.0625rem; line-height: 27px; font-weight: 600; color: var(--frame-text); }
.video__cue-line { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 200ms; }
.video__cue-line.is-on { opacity: 1; visibility: visible; }
/* A playing loop's line is read along with it (site.js readCue, js/media.js wordSchedule): the word being read in the
   accent, the words read in full, the rest dimmer, and once read the line stands whole. Colour and opacity only, never
   the weight: no word gets wider, the line never moves. Not with reduced motion: the line shows whole, as without the script. */
.video__word { transition: color 150ms ease, opacity 150ms ease; }
.video__cue-line.is-reading .video__word { opacity: 0.6; }
.video__cue-line.is-reading .video__word.is-said { opacity: 1; }
.video__cue-line.is-reading .video__word.is-now { opacity: 1; color: var(--frame-accent); }
@media (prefers-reduced-motion: reduce) {
  .video__cue-line.is-reading .video__word, .video__cue-line.is-reading .video__word.is-now { opacity: 1; color: inherit; transition: none; }
}

/* The poster fills the screen exactly as the video does. With cover it was worked out from the box rounded to whole pixels, and on a
   window of 632.5 px it came out 0.2 px wider than the first frame (3. 11. 2026). */
.frame__screen { position: relative; background: #0B111D var(--poster, none) center / 100% 100% no-repeat; }
.frame__screen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.video--hero .frame__screen video { aspect-ratio: 6 / 5; }
/* A loop is on its own layer before it starts, not only once it plays: the window often sits on a fraction of a
   pixel, and otherwise the picture moves by that fraction when the poster gives way to the first frame
   (1 440 × 900, 3. 11. 2026: poster against first frame 24,4 dB without this, 32,9 dB with it). */
.video[data-autoplay] .frame__screen, .video[data-autoplay] .frame__screen video { will-change: transform; }
/* Until a loop has a frame its video is transparent and the poster, the background of its screen, is what shows. A real poster on the
   video counts as a later, larger paint (LCP in Czech 3 500 ms against 2 800 ms, 3. 11. 2026) and with a clear one Chromium keeps its
   control bar on a phone. Where the native controls stay (no script, reduced motion) the video stays visible. */
.js .video[data-autoplay] video:not([controls]):not(.has-frame) { opacity: 0; }
.video__toggle {
  display: inline-flex; align-items: center; gap: var(--space-2); flex: none;
  min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-sm);
  border: 1px solid var(--frame-line); background: transparent; color: var(--frame-text);
  font-size: var(--fs-kicker); font-weight: 600; cursor: pointer;
}
.video__toggle:hover { border-color: var(--orange); }
/* From 1 024 px the line and the pause button of the hero and the chapters lie in a strip over the bottom of the window (lead,
   3. 11. 2026): pulled up by its own height, so it covers the window's bottom edge exactly and the board closes under the window.
   Narrower, without the script and with reduced motion they stay under it: the native controls are in that very place then. */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .js .video--hero .frame, .js .chapters-video .frame { padding-bottom: 3.27%; }
  .js .video--hero .frame__foot, .js .chapters-video .frame__foot {
    --frame-text: #fff; --frame-line: rgba(255, 255, 255, 0.34); --frame-accent: var(--orange);
    position: relative; z-index: 1; height: 66px; min-height: 0; margin-top: -66px; padding: 12px 20px 10px;
    border-radius: 0 0 11px 11px;
    background: linear-gradient(180deg, rgba(7, 10, 17, 0), rgba(7, 10, 17, 0.88) 28%, rgba(7, 10, 17, 0.96));
  }
  .js .video--hero .video__cue { font-size: 0.9375rem; line-height: 22px; }
}
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  min-height: 56px; padding: 0 var(--space-6); border-radius: var(--radius-pill);
  background: rgba(19, 27, 44, 0.88); border: 2px solid var(--orange); color: var(--text-on-dark);
  font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); white-space: nowrap;
}
.video__play:hover { background: rgba(40, 30, 30, 0.92); }
.video figcaption { margin-top: var(--space-4); font-size: var(--fs-sm); line-height: 1.45; color: var(--c-muted); }
/* Clips of one figure recorded on different days: one grid cell, so the caption is as high as its longest sentence whichever shows. */
.video__captions { display: grid; }
.video__caption-line { grid-area: 1 / 1; visibility: hidden; }
.video__caption-line.is-on { visibility: visible; }
.video--mobile { display: none; }
@media (max-width: 767px) {
  .video--has-mobile .video--desktop { display: none; }
  .video--has-mobile .video--mobile { display: block; }
  .video--has-mobile:not(.video--phone-wide) .video--mobile video { aspect-ratio: 4 / 5; }
}

/* ── Proof strip (light) ── */
.proof-block { margin-top: 0; }
.proof-wrap { display: grid; gap: var(--space-7); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .proof-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.proof__story { margin: 0; }
.proof__story p { font-size: var(--fs-lead); line-height: 1.5; margin: 0 0 var(--space-3); }
.proof__story footer { font-size: var(--fs-sm); color: var(--c-muted); }
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: var(--space-6); list-style: none; padding: 0; margin: 0; }
.proof li + li { margin-top: 0; }
/* each figure fits its own column at every width ("58 ze 100" ran out of a 193 px column at 1 100 px).
   With container units: at most 21 % of the column. Without them (Chrome < 105, Safari < 16, Firefox < 110):
   --proof-fit, the column's width worked out from the viewport (gutters 2 x 24, columns 4:7 with a 40 px gap
   from 1 024 px, three figures with 32 px gaps) over 13.8 = 3 x 4.6, the width of "58 ze 100" per px of type.
   The cqi rule sits in @supports: a declaration with var() and an unknown unit would not fall back. */
.proof li { min-width: 0; }
@media (min-width: 768px) { .proof { --proof-fit: calc((100vw - 112px) / 13.8); } }
@media (min-width: 1024px) { .proof { --proof-fit: calc(((min(100vw, 1288px) - 88px) * 0.6364 - 64px) / 13.8); } }
.proof li::before { content: ""; display: block; width: 24px; height: 3px; background: var(--c-accent); margin-bottom: var(--space-4); }
.proof__n { display: block; font-family: var(--font-display); font-size: min(var(--fs-figure), var(--proof-fit, 100vw)); font-weight: 800; line-height: 1.07; letter-spacing: -0.02em; color: var(--c-text); white-space: nowrap; }
@supports (width: 1cqi) {
  .proof li { container-type: inline-size; }
  .proof__n { font-size: min(var(--fs-figure), 21cqi); }
}
.proof__n--text { white-space: normal; font-size: var(--fs-h2); line-height: 1.15; }
.proof__l { display: block; margin-top: var(--space-2); color: var(--c-text-2); }
.proof__source { margin: var(--space-5) 0 0; padding-top: var(--space-4); border-top: 1px solid var(--c-border); }

/* ── How it works: chapters over the video (dark) ── */
.chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0 0 var(--space-4); padding: 0; counter-reset: chap; }
.chapters li + li { margin-top: 0; }
.chapter-tab {
  width: 100%; height: 100%; min-height: 60px; text-align: left; cursor: pointer;
  display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-4);
  background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--radius);
  color: var(--mist); font-size: 0.9375rem; font-weight: 600; line-height: 1.4;
  counter-increment: chap;
}
.chapter-tab::before {
  content: counter(chap); flex: none; width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center; font-size: var(--fs-kicker); font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.22); color: var(--mist);
}
.chapter-tab:hover { color: var(--text-on-dark); border-color: rgba(255, 255, 255, 0.3); }
.chapter-tab[aria-selected="true"] { color: var(--text-on-dark); font-weight: 700; background: var(--orange-tint-16); border: 1.5px solid var(--orange); }
.chapter-tab[aria-selected="true"]::before { border-color: var(--orange); color: var(--text-on-dark); }
.chapters-video { max-width: var(--video-chapters); }
/* from 1 100 px the chapter text and the demo link sit beside the video, not under it */
@media (min-width: 1100px) {
  /* the video first: its window is 860 px at 1 440 px, the text beside it takes what is left (lead, etapa 5) */
  .chapters-layout { display: grid; grid-template-columns: minmax(0, 1fr) 16.5rem; gap: var(--space-6); align-items: start; }
  .chapters-layout .chapter-panel { margin-top: 0; }
  .chapters-layout .section-cta { margin-top: var(--space-5); }
  .chapters-layout .btn-row { flex-direction: column; align-items: flex-start; }
}
.chapter-panel { margin-top: var(--space-6); max-width: var(--measure); }
.chapter-panel h3 { margin-bottom: var(--space-2); }
.chapter-panel p { color: var(--c-text-2); }
.no-js .chapters { display: none; }
/* four chapters (V5 on, build.mjs chapters): four in a row, 2 × 2 from 860 px down */
.chapters--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .chapters { gap: var(--space-2); }
  .chapter-tab { min-height: 64px; padding: var(--space-3); font-size: var(--fs-sm); }
  .chapters--4 { grid-template-columns: 1fr 1fr; }
  /* 2 × 2 tiles of one line each: the line in the middle, not at the top of an empty tile */
  .chapters--4 .chapter-tab { align-items: center; }
}
/* three tiles in a row leave "kandidáta?" no room on a phone: two, and the longest under them */
@media (max-width: 560px) {
  .chapters { grid-template-columns: 1fr 1fr; }
  .chapters:not(.chapters--4) li:last-child { grid-column: 1 / -1; }
  .chapters:not(.chapters--4) li:last-child .chapter-tab { min-height: 48px; align-items: center; }
  /* four in 2 × 2: "Kdo hledá tohoto kandidáta?" in two lines from 360 px (three at 15 px with the usual padding, 9. 11. 2026) */
  .chapters--4 .chapter-tab { gap: 6px; padding-inline: 8px; font-size: var(--fs-sm); }
  .chapters--4 .chapter-tab::before { width: 20px; height: 20px; }
}

/* ── Charts (on a light band: white cards) ── */
.charts { display: grid; gap: var(--space-6); }
.chart { margin: 0; background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: clamp(1.25rem, 0.9rem + 1.5vw, 1.75rem); box-shadow: 0 1px 2px rgba(19, 27, 44, 0.04), 0 12px 32px rgba(19, 27, 44, 0.06); }
.chart__head { margin-bottom: var(--space-4); }
.chart__title { font-size: 1.0625rem; margin-bottom: var(--space-1); }
.chart__lead { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 800; line-height: 1.25; margin: 0; }
.chart__svg { display: block; width: 100%; max-width: 28rem; overflow: visible; }
.chart__panels { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22.5rem), 1fr)); }
.chart__panel-title { font-weight: 700; margin-bottom: var(--space-2); }
/* SVG text scales with the chart: 15.5 units stay >= 12 px down to a 390 px phone */
.chart text { fill: var(--chart-text); font-family: var(--font-body); font-size: 15.5px; }
.chart .chart__value { fill: var(--c-text); font-weight: 700; }
.chart .is-hi + .chart__value, .chart .chart__value--hi { fill: var(--c-accent-text); }
.chart .chart__label { fill: var(--c-text-2); }
.chart .chart__axis-title { fill: var(--c-muted); }
.chart__grid { stroke: var(--chart-grid); stroke-width: 1; }
.chart__axis { stroke: var(--chart-axis); stroke-width: 1; }
.chart__bar { fill: var(--chart-muted); transform-box: fill-box; transform-origin: 50% 100%; }
.chart__bar--h { transform-origin: 0 50%; }
/* one neutral hue; the accent only for what the sentence above the chart stresses */
.is-hi .chart__bar { fill: var(--chart-accent); }
.chart__hit { fill: transparent; }
.chart__mark { outline: none; }
.chart__mark:hover .chart__bar, .chart__mark:focus-visible .chart__bar { filter: brightness(0.92); }
.chart__mark:focus-visible .chart__hit { stroke: var(--c-focus); stroke-width: 2; }
.chart__key { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-sm); color: var(--c-text-2); margin: 0 0 var(--space-2); }
.chart__key .short { display: none; }
@media (max-width: 767px) {
  .chart__key .long { display: none; } .chart__key .short { display: inline; }
  .chart { padding: var(--space-4) 14px; }
}
.chart__swatch { width: 12px; height: 12px; border-radius: 3px; background: var(--chart-accent); }
.chart__caption { color: var(--c-text); margin: var(--space-4) 0 0; max-width: var(--measure); }
.chart__ref { font-size: var(--fs-sm); line-height: 1.45; margin: var(--space-2) 0 0; }
.chart__ref a { color: var(--c-text-2); }
.chart__note, .chart__source { font-size: var(--fs-sm); line-height: 1.45; color: var(--c-muted); margin: var(--space-3) 0 0; max-width: var(--measure); }
.chart__source { padding-top: var(--space-3); border-top: 1px solid var(--c-border); }
.chart__data { margin-top: var(--space-2); font-size: var(--fs-sm); }
.chart__data summary { cursor: pointer; color: var(--c-text); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.chart__data table { max-width: 28rem; }
/* chart 2 leads; charts 1 and 3 beside it (all three in a row from 1 208 px) or behind a click on a phone.
   The widths are the charts' 12 px: their SVG text scales with the card (narrower cards: 10.7 px at 1 104 px, 11.3 px at 768 px) */
.charts__more > summary { cursor: pointer; font-weight: 700; min-height: 48px; display: flex; align-items: center; padding: 0 var(--space-5); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-panel); }
.charts__more[open] > summary { margin-bottom: var(--space-4); }
.charts__more-grid { display: grid; gap: var(--space-6); }
@media (min-width: 768px) {
  /* hidden only after site.js has opened the charts (is-synced): without it the summary stays */
  .charts__more.is-synced > summary { display: none; }
}
@media (min-width: 816px) { .charts__more-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1208px) {
  .charts { grid-template-columns: 1fr 2fr; }
  .charts .chart { padding: var(--space-5); display: flex; flex-direction: column; }
  .charts .chart__lead { font-size: 1.125rem; }
  /* three cards, one bottom line: a shorter card's free space goes between its sentence and its source */
  .charts .chart__caption { margin-bottom: auto; }
  .charts__more.is-synced .charts__more-grid { height: 100%; }
  .charts__more.is-synced::details-content { height: 100%; }
}
/* the finished chart is the default; site.js primes (is-pre) only a chart about to scroll in */
@media (prefers-reduced-motion: no-preference) {
  .chart.is-pre .chart__bar { transform: scaleY(0); }
  .chart.is-pre .chart__bar--h { transform: scaleX(0); }
  .chart.is-run .chart__bar { transition: transform var(--dur) var(--ease) calc(var(--i, 0) * 60ms); }
}

/* ── Next to your ATS (dark) ── */
.ats-grid { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 1000px) { .ats-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
/* V6 is recorded for 720 px (its smallest text is 12.3 px there), so it gets them as soon as they fit */
@media (min-width: 1280px) { .ats-grid { grid-template-columns: minmax(0, 1fr) min(var(--video-side), 66%); } }
.ats-grid .video { max-width: var(--video-side); }
.split-cards { display: grid; gap: var(--space-4); }
.split-card { background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--radius); padding: var(--space-5); }
.split-card h3 { margin: 0 0 var(--space-3); }
.split-card p { color: var(--c-text-2); }
/* the app's name for the mode, always with the sentence that explains it (lead, etapa 4a) */
.split-card__mode { font-size: var(--fs-sm); line-height: 1.45; color: var(--c-muted); padding-top: var(--space-3); border-top: 1px solid var(--c-border); }
.split-card p:last-child { margin-bottom: 0; }
.systems { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--c-border); }
.ats-grid .systems { margin-top: var(--space-5); }
.systems p { margin-bottom: var(--space-2); color: var(--c-text-2); }
.systems strong { color: var(--c-text); }

/* ── Pricing ── */
.plans { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); align-items: stretch; list-style: none; padding: 0; margin: 0 0 var(--space-6); }
.plans > li + li { margin-top: 0; }
.plan { height: 100%; display: flex; flex-direction: column; gap: var(--space-2); background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); }
.plan--pick { border: 2px solid var(--c-accent); box-shadow: 0 12px 32px rgba(19, 27, 44, 0.08); }
.plan__badge { align-self: flex-start; font-size: var(--fs-min); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent-text); border: 1px solid var(--c-accent); background: var(--orange-tint-16); border-radius: 6px; padding: 4px 10px; }
/* beside other plans the label sits on the card's edge, so the prices are in one row */
@media (min-width: 768px) {
  .plan { position: relative; }
  .plan__badge { position: absolute; top: 0; left: var(--space-6); transform: translateY(-50%); }
  .plan--pick { padding-block-start: calc(var(--space-5) - 1px); }
  .plan--pick .plan__badge { background: var(--card); }
}
.plan__name { margin: 0; font-size: var(--fs-h3); }
.plan__price { font-family: var(--font-display); font-size: var(--fs-price); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: var(--space-2) 0 0; white-space: nowrap; }
.plan__period { font-family: var(--font-body); font-size: var(--fs-body); font-weight: 500; color: var(--c-text-2); letter-spacing: 0; }
.plan__companies { color: var(--c-text-2); margin: 0; }
.plan__for { color: var(--c-text-2); margin: 0; }
.plan__billing { font-size: var(--fs-sm); color: var(--c-muted); margin: 0; }
.plan ul { list-style: none; padding: 0; margin: var(--space-3) 0; display: grid; gap: var(--space-3); }
.plan li + li { margin-top: 0; }
.plan li { display: flex; gap: var(--space-3); align-items: flex-start; line-height: 1.45; }
.plan li .ic { color: var(--c-accent); margin-top: 0.15em; }
.plan .btn { margin-top: auto; width: 100%; }
.plan__more { margin-top: var(--space-2); text-align: center; }
/* a label in the accent on a light band sits on white: on the tinted fill it read 4.4:1 (AA needs 4.5) */
.band--light .plan__badge, .band--light .promo { background: var(--card); }
/* the recommended plan comes first in the page (phone, keyboard, reader) and sits in the middle from 760 px */
@media (min-width: 768px) {
  .plans--brief > li:nth-child(1) { order: 2; }
  .plans--brief > li:nth-child(2) { order: 1; }
  .plans--brief > li:nth-child(3) { order: 3; }
}
.pricing-common { max-width: var(--measure); color: var(--c-text-2); }
.billing-toggle { display: inline-flex; border: 1px solid var(--c-border-strong); border-radius: var(--radius-pill); padding: var(--space-1); margin-bottom: var(--space-6); background: var(--c-panel); }
.billing-toggle button { min-height: 40px; padding: 0 var(--space-4); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--c-text-2); font-weight: 600; cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--btn-p-bg); color: var(--c-text); box-shadow: inset 0 0 0 2px var(--btn-p-border); }
.no-js .billing-toggle { display: none; }
.js [data-billing="year"] .price--month, .js [data-billing="month"] .price--year { display: none; }
.no-js .price--year .plan__price { font-size: var(--fs-h3); }
.promo { border: 2px solid var(--c-accent); background: var(--orange-tint-16); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); }
.promo__label { font-size: var(--fs-kicker); font-weight: 700; letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--c-accent-text); margin-bottom: var(--space-2); }
.promo p:last-child { margin-bottom: 0; }
.panel-box { background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); }
.panel-box h2 { font-size: var(--fs-h3); }

/* ── Story (dark) ── */
.story { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 800px) { .story { grid-template-columns: 13rem minmax(0, 1fr); gap: var(--space-8); } }
.story__photo { width: 13rem; height: 13rem; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 2px solid var(--c-accent); }
.story p { color: var(--c-text-2); }
.story__sign { color: var(--c-text) !important; }

/* ── FAQ (light) ── */
.faq { display: grid; gap: var(--space-3) var(--space-6); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.faq details { border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-panel); }
.faq summary { cursor: pointer; padding: 0.875rem var(--space-5); font-weight: 700; min-height: 48px; list-style-position: inside; }
.faq details[open] summary { color: var(--c-accent-text); }
.faq details > div { padding: 0 var(--space-5) var(--space-4); color: var(--c-text-2); }
.faq details > div p { margin: 0; }

/* ── Trial form (dark) ── */
.trial { max-width: 48rem; margin-inline: auto; }
.trial__grid { display: grid; gap: var(--space-6); }
.trial__aside { display: grid; gap: var(--space-4); align-content: start; }
.trial__aside .steps { grid-template-columns: 1fr; gap: var(--space-3); }
.trial__aside .steps li { border: 0; background: none; padding: 0 0 0 2.25rem; position: relative; }
.trial__aside .steps li::before { position: absolute; left: 0; top: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1.5px solid var(--c-accent); display: grid; place-items: center; font-size: var(--fs-min); }
@media (min-width: 1000px) {
  .trial { max-width: 70rem; }
  .trial__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-8); }
  .trial__aside { padding-left: var(--space-6); border-left: 1px solid var(--c-border); }
}
.trial__head { text-align: center; margin-bottom: var(--space-5); }
/* every link to the form lands here, also without JavaScript: right under the bar (html has scroll-padding-top) */
.trial__head h2 { margin-bottom: var(--space-3); scroll-margin-top: calc(-1 * var(--space-2)); }
.trial__head p { color: var(--c-text-2); }
.trial__box { border: 1px solid var(--c-border); border-radius: var(--radius-lg); background: var(--c-panel); padding: clamp(1.25rem, 0.5rem + 3vw, 2.5rem); }
.badge { display: inline-block; font-size: var(--fs-sm); font-weight: 700; color: var(--c-text); background: var(--orange-tint-16); border: 1px solid var(--c-accent); border-radius: var(--radius-pill); padding: var(--space-1) var(--space-3); margin-bottom: var(--space-4); }
.form { display: grid; gap: var(--space-5); }
.form__row { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--c-text); margin-bottom: var(--space-2); }
.field__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-2); }
.field__hint { font-size: var(--fs-sm); color: var(--c-muted); margin: var(--space-2) 0 0; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm); border: 1px solid var(--c-border-strong); background: var(--c-field); color: var(--c-text);
  font-size: 1rem;
}
.field textarea { min-height: 6.5rem; resize: vertical; }
/* from 1 000 px the pasted list and the file upload sit side by side */
@media (min-width: 1000px) {
  .field__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: stretch; }
  .field__pair .dropzone { margin-top: 0; display: flex; align-items: center; justify-content: center; }
  .field__pair textarea { height: 100%; }
}
.field input::placeholder, .field textarea::placeholder { color: var(--c-muted); opacity: 1; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--c-focus); outline-offset: 1px; border-color: var(--c-accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.link-btn { background: none; border: 0; padding: var(--space-1) 0; color: var(--c-text); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: var(--space-1); min-height: 32px; text-decoration: underline; text-underline-offset: 4px; }
.link-btn .ic { color: var(--c-accent); }
.dropzone { position: relative; border: 1px dashed var(--c-border-strong); border-radius: var(--radius); padding: var(--space-4); text-align: center; background: var(--c-field); margin-top: var(--space-3); }
.dropzone:hover, .dropzone:focus-within { border-color: var(--c-accent); }
.dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone__prompt { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-2); font-size: var(--fs-sm); color: var(--c-text-2); }
.dropzone__prompt strong { color: var(--c-text); }
.dropzone__prompt .ic { color: var(--c-accent); }
.dropzone__file { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-3); font-size: var(--fs-sm); }
.dropzone__file .ic { color: var(--c-ok); }
.dropzone__remove { position: relative; z-index: 1; background: none; border: 0; color: var(--c-text); text-decoration: underline; cursor: pointer; font-size: var(--fs-sm); min-height: 32px; }
.form__error { padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); border: 1.5px solid var(--c-error); background: rgba(248, 113, 113, 0.1); color: var(--c-text); font-size: var(--fs-sm); }
.form .btn[type="submit"] { width: 100%; }
.form__fine { font-size: var(--fs-sm); color: var(--c-muted); margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); counter-reset: step; }
.steps li + li { margin-top: 0; }
.steps li { counter-increment: step; border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: var(--space-3); font-size: var(--fs-sm); color: var(--c-text-2); background: var(--c-bg); }
.steps li::before { content: counter(step); display: block; font-weight: 700; color: var(--c-accent-text); }
.success { border: 1.5px solid var(--c-ok); border-radius: var(--radius); background: rgba(52, 211, 153, 0.08); padding: var(--space-6); }
.success h3 { display: flex; align-items: center; gap: var(--space-2); }
.success h3 .ic { color: var(--c-ok); }
.success ol { color: var(--c-text-2); }
.trial__contact { margin: 0; padding-top: var(--space-4); border-top: 1px solid var(--c-border); font-size: var(--fs-sm); color: var(--c-muted); }
.trial__contact a { color: var(--c-text); }

.dialog { background: var(--c-panel); color: var(--c-text); max-width: min(42rem, calc(100vw - 2 * var(--gutter))); width: 100%; border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: var(--space-6); }
.dialog::backdrop { background: rgba(5, 8, 15, 0.7); }
.dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); }
.dialog__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-btn); border: 1px solid var(--c-border-strong); background: transparent; color: var(--c-text); cursor: pointer; flex: none; }
.dialog .table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius-sm); margin-bottom: var(--space-4); }
.dialog td, .dialog th { font-size: var(--fs-sm); }

/* ── Blog ── */
.post-list--compact .post-card__title { font-size: 1rem; }
@media (max-width: 767px) {
  .post-list--compact { gap: 0; }
  .post-list--compact .post-card { background: none; border: 0; border-bottom: 1px solid var(--c-border); border-radius: 0; padding: var(--space-3) 0; }
}
.post-list { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.post-list > li + li { margin-top: 0; }
.post-card { background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--radius); padding: var(--space-5); }
.post-card__title { font-size: 1.125rem; line-height: 1.35; margin-bottom: var(--space-2); }
.post-card__title a { color: var(--c-text); text-decoration: none; }
.post-card__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-card__meta { font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: var(--space-2); }
.post-card__desc { color: var(--c-text-2); margin: 0; }

/* ── Article (blog posts, GDPR) on a light band ── */
.article { max-width: calc(var(--measure) + 2 * var(--gutter)); margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: var(--space-5); }
.crumbs a { color: var(--c-text); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.tag { font-size: var(--fs-min); font-weight: 700; letter-spacing: 0.05em; border: 1px solid var(--c-accent); color: var(--c-accent-text); border-radius: var(--radius-pill); padding: 2px var(--space-3); }
/* a small label in an article; the accent for what it names, green and red only for a state */
.mono { font-size: var(--fs-sm); font-weight: 500; color: var(--c-muted); }
.mono[class*="tone-"] { font-weight: 600; }
.mono .ic { width: 1.1em; height: 1.1em; margin-right: var(--space-1); }
.tone-accent { color: var(--c-accent-text); }
.tone-green { color: var(--c-ok); }
.tone-red { color: var(--c-error); }
.article h1 { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); }
.article .lead { border-left: 3px solid var(--c-accent); padding-left: var(--space-4); }
.byline { display: flex; align-items: center; gap: var(--space-4); padding-bottom: var(--space-5); margin-bottom: var(--space-5); border-bottom: 1px solid var(--c-border); }
.byline__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 2px solid var(--c-accent); }
.byline__name { font-weight: 700; }
.byline__role { font-size: var(--fs-sm); color: var(--c-muted); }
.prose h2, .article h2 { font-size: var(--fs-h3); margin-top: var(--space-7); }
.prose > p, .prose li { color: var(--c-text-2); }
.prose .small, .article .small { font-size: var(--fs-sm); color: var(--c-muted); }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-panel); margin: var(--space-5) 0; }
.prose .table-wrap table { margin-bottom: 0; }
.prose .table-wrap th, .prose .table-wrap td { vertical-align: top; color: var(--c-text-2); }
.prose .table-wrap th { color: var(--c-text); background: var(--c-bg); }
.prose .table-wrap td:first-child { font-weight: 600; color: var(--c-text); }
.prose .table-wrap tr:last-child td { border-bottom: 0; }
.prose .faq { margin: var(--space-5) 0; grid-template-columns: minmax(0, 1fr); }
.panel { background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: var(--space-5); margin: var(--space-6) 0; }
.panel--accent { border: 2px solid var(--c-accent); }
.panel p { color: var(--c-text-2); }
.cards { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); margin: var(--space-5) 0; }
.card, .step { background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: var(--space-4); }
.card p, .step p { font-size: var(--fs-sm); margin: var(--space-2) 0 0; }
.card__title { font-weight: 700; margin-top: var(--space-2); }
.row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--steel); }
.dot--green { background: var(--ok-ink); }
.dot--amber { background: #D97706; }
.dot--red { background: var(--error-ink); }
.dot--blue { background: #0284C7; }
.sep { color: var(--c-muted); font-size: var(--fs-min); padding-inline: 2px; }
.sources { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--c-border); font-size: var(--fs-sm); }
.sources__title { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-muted); }
.sources li { color: var(--c-muted); }
.sources a { color: var(--c-text); }
.article-cta { margin-top: var(--space-8); border: 2px solid var(--c-accent); border-radius: var(--radius-lg); background: var(--c-panel); padding: var(--space-6); text-align: center; }
.article-cta p { color: var(--c-text-2); }
.article-cta > .mono { display: block; margin-bottom: var(--space-2); }
.article-cta .ticks { justify-content: center; margin: var(--space-4) 0 0; font-size: var(--fs-sm); color: var(--c-text-2); }

/* ── Comparison (home section & /srovnani page) ── */
.cmp-head { max-width: 48rem; }
.cmp-meta { font-size: var(--fs-sm); color: var(--c-muted); margin-top: var(--space-3); }
.cmp-block { margin-top: var(--space-6); }
.cmp-block > h2 { margin-bottom: var(--space-4); }

.cmp-table-wrap { border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-panel); overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; margin: 0; font-size: var(--fs-sm); }
.cmp-table th, .cmp-table td { padding: var(--space-3) var(--space-4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-border); color: var(--c-text-2); }
.cmp-table thead th { background: var(--c-panel-2); color: var(--c-text); font-weight: 700; line-height: 1.3; }
.cmp-table tbody th[scope="row"] { color: var(--c-text); font-weight: 600; width: 14%; }
.cmp-table--compact tbody th[scope="row"] { width: 25%; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table .cmp-col-tr { background: var(--orange-tint-16); color: var(--c-text); }
.cmp-table thead th.cmp-col-tr { border-bottom: 2px solid var(--c-accent); }
.cmp-table tbody tr.cmp-row--us th,
.cmp-table tbody tr.cmp-row--us td { background: var(--orange-tint-16); color: var(--c-text); }
.cmp-table tbody tr.cmp-row--us th { border-left: 3px solid var(--c-accent); }
@media (max-width: 719px) {
  .cmp-table--compact,
  .cmp-table--compact tbody { display: block; width: 100%; }
  .cmp-table--compact thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cmp-table--compact tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--c-border); }
  .cmp-table--compact tbody tr:last-child { border-bottom: 0; }
  .cmp-table--compact tbody th[scope="row"] { display: block; width: auto; padding: 0 0 2px; border: 0; font-size: var(--fs-sm); color: var(--c-text); }
  .cmp-table--compact tbody td { display: block; width: auto; padding: 0; border: 0; font-size: var(--fs-sm); line-height: 1.4; color: var(--c-text-2); }
  .cmp-table--compact tbody td::before { content: attr(data-label) ": "; color: var(--c-muted); font-weight: 500; }
  .cmp-table--compact tbody tr.cmp-row--us { background: var(--orange-tint-16); border-left: 3px solid var(--c-accent); }
  .cmp-table--compact tbody tr.cmp-row--us th { border-left: 0; }
  .cmp-table--compact tbody tr.cmp-row--us th,
  .cmp-table--compact tbody tr.cmp-row--us td { background: transparent; color: var(--c-text); }
  .cmp-table--compact tbody tr.cmp-row--us td::before { color: var(--c-text-2); }
}

.cmp-ways-desktop { display: none; }
.cmp-ways-cards { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
@media (min-width: 960px) {
  .cmp-ways-desktop { display: block; }
  .cmp-ways-cards { display: none; }
  .prose .cmp-ways-desktop,
  .prose .tool-grid {
    width: min(68rem, calc(100vw - 4rem));
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

.way-card { background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--radius); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.way-card--pick { border: 2px solid var(--c-accent); }
.way-card h3 { font-size: 1.125rem; line-height: 1.3; margin: 0; color: var(--c-text); }
.way-card__dl { margin: 0; display: grid; gap: var(--space-3); }
.way-card__dl > div { border-top: 1px solid var(--c-border); padding-top: var(--space-2); }
.way-card__dl dt { font-size: var(--fs-sm); font-weight: 600; color: var(--c-muted); margin-bottom: var(--space-1); }
.way-card__dl dd { margin: 0; font-size: var(--fs-sm); color: var(--c-text); }

.cmp-note { max-width: 48rem; margin: var(--space-5) auto 0; text-align: center; color: var(--c-text-2); font-size: var(--fs-sm); }
.cmp-note--left { margin-inline: 0; text-align: left; }
.cmp-more { margin: var(--space-4) 0 0; text-align: center; }

.cmp-prose { max-width: var(--measure); }
.cmp-prose p { color: var(--c-text-2); }
.cmp-quote { margin: var(--space-5) 0; padding: var(--space-4) var(--space-5); border-left: 3px solid var(--c-accent); background: var(--c-panel); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.cmp-quote p { margin: 0; color: var(--c-text); font-weight: 500; }

/* Container-query stacked table for the 2 vs 10 people AI comparison */
.ai-table-cq { container-type: inline-size; margin-top: var(--space-5); }
.ai-table { width: 100%; border-collapse: collapse; margin: 0; background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; font-size: var(--fs-sm); }
.ai-table th, .ai-table td { padding: var(--space-3) var(--space-4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-border); color: var(--c-text-2); }
.ai-table thead th { background: var(--c-panel-2); color: var(--c-text); font-weight: 700; }
.ai-table tbody th[scope="row"] { color: var(--c-text); font-weight: 600; width: 22%; }
.ai-table tbody tr:last-child th, .ai-table tbody tr:last-child td { border-bottom: 0; }
@container (width < 680px) {
  .ai-table { background: transparent; border: 0; border-radius: 0; overflow: visible; }
  .ai-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ai-table, .ai-table tbody, .ai-table tr, .ai-table th, .ai-table td { display: block; width: 100%; }
  .ai-table tbody tr { background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--radius); padding: var(--space-4); margin-bottom: var(--space-3); }
  .ai-table tbody tr:last-child { margin-bottom: 0; }
  .ai-table tbody th[scope="row"] { padding: 0 0 var(--space-2); margin-bottom: var(--space-2); border-bottom: 1px solid var(--c-border); font-size: 1rem; color: var(--c-text); width: 100%; }
  .ai-table tbody td { padding: var(--space-2) 0 0; border-bottom: 0; }
  .ai-table tbody td::before { content: attr(data-label); display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--c-muted); margin-bottom: 2px; }
}

.cmp-tr-banner { display: inline-block; margin-top: var(--space-3); padding: var(--space-2) var(--space-4); border: 1px solid var(--c-accent); background: var(--orange-tint-16); border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: 600; color: var(--c-text); }
.tool-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); margin: var(--space-5) 0; }
.tool-card { background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--radius); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.tool-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-2); border-bottom: 1px solid var(--c-border); padding-bottom: var(--space-3); }
.tool-card__head h3 { margin: 0; font-size: var(--fs-h3); }
.tool-card__head a { font-size: var(--fs-sm); color: var(--c-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.tool-card__dl { margin: 0; display: grid; gap: var(--space-3); }
.tool-card__dl dt { font-size: var(--fs-sm); font-weight: 700; color: var(--c-text); margin-bottom: var(--space-1); }
.tool-card__dl dd { margin: 0; font-size: var(--fs-sm); color: var(--c-text-2); }
.tool-card__better { background: var(--c-bg); border-left: 3px solid var(--c-accent); padding: var(--space-3) var(--space-4); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.not-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .not-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.not-grid > li + li { margin-top: 0; }
.not-card { background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--radius); padding: var(--space-5); height: 100%; }
.not-card h3 { font-size: 1.125rem; margin-bottom: var(--space-2); }
.not-card p { margin: 0; font-size: var(--fs-sm); color: var(--c-text-2); }

.cmp-faq { grid-template-columns: minmax(0, 1fr); }
.cmp-bottom { text-align: center; }
.cmp-bottom .btn-row { justify-content: center; }
.cmp-cta-note { margin: var(--space-3) 0 0; font-size: var(--fs-sm); color: var(--c-muted); }

/* ── Footer ── */
.site-footer { background: var(--navy-950); color: var(--mist); border-top: 1px solid var(--line-dark); padding-block: var(--space-7) var(--space-5); font-size: var(--fs-sm); }
.site-footer__grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
@media (max-width: 767px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-4); }
  .site-footer__grid > div:first-child { grid-column: 1 / -1; }
}
.site-footer h2 { font-family: var(--font-body); font-size: var(--fs-min); text-transform: uppercase; letter-spacing: var(--tracking-kicker); color: var(--mist); margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: var(--space-2); }
.site-footer a { color: var(--text-on-dark); text-decoration: none; font-weight: 500; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__slogan { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 800; color: var(--text-on-dark); text-align: center; padding-block: var(--space-4); margin-block: var(--space-5); border-block: 1px solid var(--line-dark); }
.site-footer__slogan span { color: var(--orange); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); color: #9AA5B9; }
.site-footer__bottom p { margin: 0; }

/* ── 404 ── */
.notfound { max-width: var(--measure); }
.notfound__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.notfound__links li + li { margin-top: 0; }

/* ── Demo page ── */
.tour { max-width: var(--video-tour); }
.tour-chapters { padding-left: 1.25em; }
.tour-chapters li { color: var(--c-text-2); }

/* ════════════════════════════════════════════════════════════════════════════
   The phone (≤ 767 px): its own layout of the same page (lead, etapa 4a; maketa
   M1 with parts of M2). .m-only shows only here, .d-only only from 768 px.
   Every control is at least 48 px high with 8 px to its neighbour; text is at
   least 14 px (13 px only for capital labels); inputs 16 px.
   ════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) { .m-only { display: none !important; } }
@media (max-width: 767px) { .d-only { display: none !important; } }

/* Folded rows (details) on a phone: a 56 px row with a +/− in a ring */
.charts__more--m > summary, .systems-m > summary, .field-acc > summary, .trial__next > summary, .plan__more-f > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  min-height: 56px; cursor: pointer; list-style: none; font-weight: 700; color: var(--c-text);
}
.charts__more--m > summary::-webkit-details-marker, .systems-m > summary::-webkit-details-marker, .field-acc > summary::-webkit-details-marker,
.trial__next > summary::-webkit-details-marker, .plan__more-f > summary::-webkit-details-marker { display: none; }
.charts__more--m > summary::after, .systems-m > summary::after, .field-acc > summary::after, .trial__next > summary::after, .plan__more-f > summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--c-border-strong); font-size: 1.25rem; font-weight: 500; line-height: 1;
}
.charts__more--m[open] > summary::after, .systems-m[open] > summary::after, .field-acc[open] > summary::after,
.trial__next[open] > summary::after, .plan__more-f[open] > summary::after { content: "−"; }

/* Charts on a phone: HTML bars (build: renderPhoneChart) */
.chart--m { padding: var(--space-4); }
.chart--m .chart__lead { font-size: 1.1875rem; }
.chart--m .chart__caption { font-size: 1rem; line-height: 1.5; margin-top: var(--space-3); }
.chart--m .chart__note { margin-top: var(--space-2); }
.chart--m .chart__source { margin-top: var(--space-1); padding-top: 0; border-top: 0; }
/* notes under a phone chart: 15 px in the darker grey of running text (they were hard to read at 14 px) */
.chart--m .chart__note, .chart--m .chart__source { font-size: 0.9375rem; line-height: 1.5; color: var(--c-text-2); }
.hbars { --label: 5.75rem; list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: 6px; }
#chm-nove-pozice-po-dnech .hbars { --label: 4.25rem; }
#chm-zdroje-pozic .hbars { --label: 9.25rem; }
.hbars li + li { margin-top: 0; }
.hbars__row { display: grid; grid-template-columns: var(--label) minmax(0, 1fr) 2.5rem; align-items: center; gap: var(--space-3); font-size: var(--fs-sm); line-height: 1.3; min-height: 26px; }
.hbars__label { color: var(--c-text-2); }
.hbars__track { display: block; height: 20px; }
.hbars__bar { display: block; height: 100%; width: var(--w); min-width: 3px; border-radius: 0 4px 4px 0; background: var(--chart-muted); transform-origin: 0 50%; }
.hbars__value { text-align: right; font-weight: 700; color: var(--c-text); font-variant-numeric: tabular-nums; }
.hbars__row.is-hi .hbars__bar { background: var(--chart-accent); }
.hbars__row.is-hi .hbars__label, .hbars__row.is-hi .hbars__value { color: var(--c-accent-text); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .chart.is-pre .hbars__bar { transform: scaleX(0); }
  .chart.is-run .hbars__bar { transition: transform var(--dur) var(--ease) calc(var(--i, 0) * 60ms); }
}

/* The founder next to the buttons (hero) and before the form (trial) */
.founder { display: flex; align-items: center; gap: var(--space-3); margin-top: 20px; padding: var(--space-3); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-panel); }
.founder__photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.founder p { margin: 0; font-size: 0.9375rem; line-height: 1.4; color: var(--c-text-2); }
.founder strong { display: block; }
.trial-story { padding-bottom: var(--space-5); margin-bottom: var(--space-5); border-bottom: 1px solid var(--c-border); }
.trial-story__who { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.trial-story__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 2px solid var(--c-accent); flex: none; }
.trial-story__who p { margin: 0; line-height: 1.4; }
.trial-story__who strong { display: block; }
.trial-story__who span { display: block; font-size: var(--fs-sm); color: var(--c-muted); }
/* story_role is written for the middle of the signature ("Kryštof Pejša, zakladatel…"); on its own line here it starts with a capital */
.trial-story__who span::first-letter { text-transform: uppercase; }
.trial-story > p { color: var(--c-text-2); }
.trial-story .btn-row { margin-bottom: 0; }

/* The bar at the bottom: both actions within the thumb's reach (site.js shows it) */
.action-bar {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
  display: flex; gap: var(--space-2);
  padding: 7px var(--gutter) calc(var(--space-2) + env(safe-area-inset-bottom));
  background: var(--navy-950); border-top: 1px solid var(--line-dark);
  transform: translateY(110%); visibility: hidden;
  transition: transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.action-bar.is-shown { transform: none; visibility: visible; transition: transform 0.2s var(--ease); }
.action-bar .btn { min-height: 48px; padding: 0 var(--space-4); white-space: nowrap; }
.action-bar .btn-primary { flex: 1 1 auto; }
.action-bar .btn-secondary { flex: 0 1 auto; }
.no-js .action-bar { display: none; }
@media (max-width: 359px) {
  .action-bar .btn { padding: 0 var(--space-3); font-size: 0.9375rem; }
}

/* FAQ: the other questions behind one tap (site.js); from 768 px all of them, in the same grid */
.faq__more { display: contents; }
.faq__more-btn { width: 100%; margin-top: var(--space-4); }

/* The company list in the form: optional, folded (all widths) */
/* The first way to a list: the brief for the visitor's own AI. Text without JavaScript, behind a button with it */
.ai-brief { padding-bottom: var(--space-4); margin-bottom: var(--space-3); border-bottom: 1px solid var(--c-border); }
.ai-brief__title { font-weight: 700; color: var(--c-text); margin: 0 0 var(--space-2); }
.ai-brief__lead { font-size: var(--fs-sm); line-height: 1.45; color: var(--c-text-2); margin: 0; }
.ai-brief__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); margin-top: var(--space-3); }
.ai-brief__copy .ic { display: none; color: var(--c-accent); }
.ai-brief__copy.is-copied .ic { display: inline-block; }
.field .ai-brief__prompt { display: block; margin-top: var(--space-3); min-height: 0; font-size: var(--fs-sm); line-height: 1.45; overflow-x: hidden; overflow-wrap: anywhere; }
.js .ai-brief__prompt:not(.is-open) { display: none; }
.no-js .ai-brief__actions { display: none; }
.ai-brief .note { margin: var(--space-3) 0 0; }
@media (max-width: 767px) {
  .ai-brief__copy { width: 100%; }
  .ai-brief__show { min-height: 48px; }
  .field .ai-brief__prompt { font-size: 1rem; }
}
.field-acc { border: 1px dashed var(--c-border-strong); border-radius: var(--radius); padding: 0 var(--space-4); background: var(--c-field); }
.field-acc > summary { font-weight: 600; font-size: 1rem; line-height: 1.4; }
.field-acc__label { display: block; }
.field-acc__sub { display: block; margin-top: 2px; font-size: var(--fs-sm); font-weight: 400; color: var(--c-muted); }
.field-acc > summary > span:first-child { flex: 1; }
.field-acc > summary { padding-block: var(--space-3); }
.field-acc__body { padding: var(--space-2) 0 var(--space-4); display: grid; gap: var(--space-3); }
.field-acc__body p { margin: 0; }
.field-acc__body .field__top { justify-content: flex-end; }
.field-acc > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.field-acc > summary::after { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.field__error { margin: var(--space-2) 0 0; font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; color: var(--c-error); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border: 2px solid var(--c-error); }
.field input[aria-invalid="true"]:focus { outline-color: var(--c-error); border-color: var(--c-error); }
.plan__more-f { margin: 0 0 var(--space-3); }
/* from 768 px these are simply open (site.js opens them; is-synced only once it has) */
@media (min-width: 768px) {
  [data-wide-open].is-synced > summary { display: none; }
  .plan__more-f.is-synced > ul { margin-top: 0; }
}

/* The tour's subtitles carry the story on a phone: the browser's own tight lines cut off the g and y of the line above */
video::cue { line-height: 1.5; }

/* Chapters of the tour on /demo, once the clip has chapter times */
.tour-chapters--seek { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.tour-chapters--seek li + li { margin-top: 0; }
.tour-chapter {
  display: flex; align-items: center; gap: var(--space-3); width: 100%; min-height: 48px;
  padding: var(--space-2) var(--space-4); text-align: left; cursor: pointer;
  background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  color: var(--c-text); font-weight: 600;
}
.tour-chapter:hover,
.tour-chapter[aria-current="true"] { border-color: var(--c-border-strong); }
.tour-chapter__time { min-width: 2.75rem; color: var(--c-muted); font-weight: 500; font-variant-numeric: tabular-nums; }
/* the buttons only work with JavaScript; without it the same chapters are text beside the video's native controls */
.no-js .tour-chapters--seek,
.js .tour-chapters--text { display: none; }

@media (max-width: 767px) {
  .container { padding-inline: 16px; }
  .btn-row--stack { flex-direction: column; align-items: stretch; }
  .btn-row--stack .btn { width: 100%; }

  /* hero */
  .hero { padding-top: var(--space-5); }
  .hero .h1-line { margin-bottom: var(--space-1); }
  .hero__sub { margin-top: var(--space-3); font-size: 1.125rem; }
  .hero__cta { margin-top: var(--space-5); gap: var(--space-3); }
  .hero__cta .btn-primary { min-height: 56px; font-size: 1.0625rem; }
  .hero__cta .btn-secondary { min-height: 52px; }
  .ticks { margin-top: var(--space-4); gap: var(--space-2); font-size: 0.9375rem; }
  .hero__media { margin-top: 20px; }

  /* video on a phone: no board, a 4:5 window (a clip without a 4:5 cut would sit inside it whole),
     the line and the pause button under it, never on the picture */
  .frame { padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .frame__window { border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.13); }
  .band--light .frame__window { box-shadow: 0 0 0 1px var(--c-border-strong); }
  /* on V3 the hero's video and its line stay on the dark hero band */
  .hero__media .frame { --frame-text: var(--text-on-dark); --frame-line: var(--line-dark); --frame-accent: var(--c-accent-text); }
  .frame__foot { min-height: 48px; margin-top: var(--space-2); gap: var(--space-3); }
  .video__cue { font-size: 1rem; line-height: 24px; }
  /* Without the script a phone shows its own first sentence, not the wide cut's (build.mjs videoFigure). */
  .video__cue-line.m-first { opacity: 1; visibility: visible; }
  .video__toggle { width: 48px; height: 48px; min-height: 48px; padding: 0; justify-content: center; border-radius: 50%; }
  .video__toggle .ic { width: 22px; height: 22px; }
  .video__toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* A clip without its own phone cut keeps its own 16:10 window on a phone (12. 11. 2026): in a 4:5 one the poster, the screen's
     background at 100% 100%, was stretched tall and the video sat letterboxed over it ("divně se strečuje", Kryštof). Only a real
     4:5 cut gets the 4:5 window. */
  .video--has-mobile:not(.video--phone-wide) .video--mobile video { object-fit: cover; }
  .video--phone-wide .video--mobile { background-size: contain; }
  .video__start { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(13, 19, 32, 0.9); }
  .video__start:hover { background: rgba(13, 19, 32, 0.96); }
  .video figcaption { margin-top: var(--space-3); }

  /* proof + the 45+ chart */
  .proof-block { margin-top: var(--space-5); }
  .proof-block .kicker { margin-bottom: var(--space-3); }
  .proof { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .proof li::before { margin-bottom: var(--space-3); }
  .proof__n { font-size: 1.75rem; }
  @supports (width: 1cqi) { .proof__n { font-size: min(1.75rem, 21cqi); } }
  .proof__l { font-size: 0.9375rem; line-height: 1.4; }
  .proof__source { margin-top: var(--space-4); }
  .proof__data { margin-top: var(--space-4); display: grid; gap: var(--space-3); }
  .charts__more--m { border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-panel); padding: 0 var(--space-4); }
  .charts__more--m > summary { padding: 0; border: 0; border-radius: 0; background: none; }
  .charts__more--m[open] > summary { margin-bottom: var(--space-2); }
  .charts__more--m[open] { padding-bottom: var(--space-4); }
  .charts__more--m .charts__more-grid { gap: var(--space-4); }
  .charts__more--m .chart { padding: 0; border: 0; box-shadow: none; }
  .charts__more--m .chart + .chart { padding-top: var(--space-4); border-top: 1px solid var(--c-border); }

  /* how it works: 2 × 2 chapter tiles of the same height, the text always shown, no jump on a switch */
  .head-split { margin-bottom: var(--space-5); }
  .chapters { grid-auto-rows: 1fr; gap: var(--space-2); margin-bottom: var(--space-4); }
  .chapter-tab { min-height: 64px; align-items: center; gap: 10px; padding: var(--space-3) 10px; font-size: 0.9375rem; line-height: 1.3; }
  .chapter-tab::before { width: 24px; height: 24px; }
  /* the chapter's text right under the tiles, then its video, then the demo link: a tap changes what is
     in view (lead, etapa 4a kolo 2). Focus order is the same: the panels hold nothing focusable. */
  .chapters-layout { display: flex; flex-direction: column; }
  .chapters-layout > div:last-child { display: contents; }
  .chapter-panels { order: 1; }
  .chapters-video { order: 2; margin-top: var(--space-4); }
  .chapters-layout .section-cta { order: 3; margin-top: var(--space-4); }
  .chapter-panel { margin-top: 0; }
  .chapter-panel h3 { margin-bottom: var(--space-2); }
  .chapter-panel p:last-child { margin-bottom: 0; }

  /* next to your ATS: one card at a time behind "I have / don't have an ATS" */
  .ats-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-bottom: var(--space-3); }
  .ats-toggle button {
    min-height: 52px; padding: 0 var(--space-3); border-radius: var(--radius); cursor: pointer;
    background: var(--c-panel); border: 1px solid var(--c-border-strong); color: var(--c-text-2); font-weight: 600;
  }
  .ats-toggle button[aria-pressed="true"] { background: var(--orange-tint-16); border: 2px solid var(--c-accent); color: var(--c-text); font-weight: 700; }
  .js [data-ats-cards][data-show="have"] > [data-ats-card="none"], .js [data-ats-cards][data-show="none"] > [data-ats-card="have"] { display: none; }
  .js [data-ats-cards][data-show] .split-card h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .split-card { padding: var(--space-4); }
  .ats-grid { gap: 0; }
  .ats-grid .video { display: none; }
  .systems-m { margin-top: var(--space-4); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
  .systems-m p { color: var(--c-text-2); font-size: 0.9375rem; }
  .systems-m p:last-child { padding-bottom: var(--space-2); }

  /* pricing in brief: the recommended card whole, the other two as rows with their price */
  .plans--brief { gap: var(--space-2); margin-bottom: var(--space-4); }
  .band--m-dark .plan__badge { background: var(--orange-tint-16); }
  .plan__badge { font-size: var(--fs-kicker); }
  .plan--pick { padding: var(--space-4) var(--space-5) var(--space-5); gap: var(--space-1); }
  .plan--pick .plan__price { margin-top: var(--space-1); }
  .plan--row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--space-3); padding: var(--space-3) var(--space-4); }
  .plan--row .plan__name { grid-column: 1; grid-row: 1; font-size: 1.125rem; }
  .plan--row .plan__companies { grid-column: 1; grid-row: 2; font-size: var(--fs-sm); }
  .plan--row .plan__price { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; font-size: 1.375rem; text-align: right; }
  .plan--row .plan__period { display: block; font-size: var(--fs-sm); }
  .plan--row .plan__for { display: none; }
  .pricing-common { font-size: 0.9375rem; }
  .pricing-promo { padding: var(--space-3) var(--space-4); border-left: 3px solid var(--c-accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: rgba(255, 107, 0, 0.08); }
  .pricing-more { margin: var(--space-4) 0 0; }
  .pricing-more .text-link {
    display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--radius-btn);
    border: 1px solid var(--btn-s-border); background: var(--btn-s-bg); color: var(--btn-s-text); text-decoration: none;
  }

  /* pricing page: the recommended plan first, the rest of each list behind a tap */
  .plans--page > li:nth-child(2) { order: -1; }
  .billing-toggle { gap: var(--space-2); }
  .billing-toggle button { min-height: 48px; }
  .plan .plan__more a { display: inline-flex; align-items: center; min-height: 48px; }

  /* FAQ */
  .faq { gap: var(--space-2); }
  .faq summary { min-height: 56px; padding: 1rem var(--space-4); font-size: 1rem; line-height: 1.4; }
  .faq details > div { padding: 0 var(--space-4) var(--space-4); }

  /* trial: the form full width, no card around it */
  .trial__box { border: 0; padding: 0; background: none; }
  .trial__head { text-align: left; margin-bottom: var(--space-5); }
  .trial__head p { margin-bottom: 0; }
  .badge { margin-bottom: var(--space-3); }
  .form { gap: var(--space-4); }
  .form__row { gap: var(--space-4); }
  .field input { min-height: 52px; }
  .trial__grid { gap: var(--space-4); }
  .trial__next { border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
  .trial__next .steps { margin-bottom: var(--space-3); }
  .trial__aside { gap: var(--space-4); }
  .trial__contact { border-top: 0; padding-top: 0; }
  .link-btn { min-height: 48px; }
  .dropzone { min-height: 64px; display: flex; align-items: center; justify-content: center; }
  .dropzone__remove { min-height: 48px; padding: 0 var(--space-3); }

  /* the help dialog: the whole screen, the close button always in reach, the sample as cards */
  .dialog { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border: 0; border-radius: 0; padding: 0 16px var(--space-5); overflow-y: auto; }
  .dialog__head { position: sticky; top: 0; z-index: 1; background: var(--c-panel); padding: var(--space-3) 0; margin-bottom: var(--space-3); border-bottom: 1px solid var(--c-border); align-items: center; }
  .dialog__head h3 { margin: 0; }
  .dialog__head .kicker { margin-bottom: var(--space-1); }
  .dialog__close { width: 48px; height: 48px; }
  .dialog .table-wrap { overflow: visible; border: 0; }
  .help-table, .help-table tbody, .help-table tr, .help-table td { display: block; }
  .help-table thead, .help-table th, .help-table__names { display: none; }
  .help-table tr { border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); }
  .help-table tr + tr { margin-top: var(--space-2); }
  .help-table td { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--space-2); border: 0; padding: 2px 0; }
  .help-table td::before { content: attr(data-label); color: var(--c-muted); }
  .help-table td:empty { display: none; }
  .dialog__actions { flex-direction: column; align-items: stretch; }
  .dialog__actions .btn { width: 100%; }

  /* footer: the three lists flow into one grid of 48 px tiles */
  .site-footer { padding-block: var(--space-6) var(--space-5); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-2); }
  .site-footer__grid > nav, .site-footer__grid ul { display: contents; }
  .site-footer__about { grid-column: 1 / -1; margin-bottom: var(--space-3); }
  .site-footer__about p { margin: var(--space-3) 0 0; }
  .site-footer h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
  .site-footer li + li { margin-top: 0; }
  .site-footer li a { display: flex; align-items: center; min-height: 48px; height: 100%; padding: var(--space-2) var(--space-3); border: 1px solid var(--line-dark); border-radius: var(--radius-btn); font-size: 0.9375rem; line-height: 1.3; }
  .site-footer__mail { grid-column: 1 / -1; order: 1; }
  .site-footer__slogan { margin-block: var(--space-3); padding-block: var(--space-3); }
  .site-footer__bottom { margin-top: var(--space-3); }

  /* blog and articles */
  .post-card { position: relative; }
  .post-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .crumbs { align-items: center; margin-bottom: var(--space-3); }
  .crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; }
  .notfound__links { flex-direction: column; align-items: stretch; }
  .notfound__links .btn { width: 100%; }
  .byline__role a { display: inline-flex; align-items: center; min-height: 48px; }
  .prose > div > a:only-child { display: inline-flex; align-items: center; min-height: 48px; }
  .tag, .sources__title { font-size: var(--fs-kicker); }
  .mono { font-size: var(--fs-sm); }
  sup { font-size: var(--fs-sm); }
}

/* A phone on its side: the bar is slim, the hero's buttons and the whole video fit the screen */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding-top: var(--space-4); }
  .hero .h1-line { font-size: 1.375rem; }
  .hero h1 { font-size: 1.875rem; }
  .hero__sub { margin-top: var(--space-2); font-size: 1rem; }
  .hero__cta { margin-top: var(--space-4); }
  .ticks { margin-top: var(--space-3); }
  .hero__media .frame { padding: var(--space-2) var(--space-3); }
  .hero__media .frame__foot { margin-top: var(--space-1); }
  .hero__media .video { max-width: calc((100vh - var(--header-h) - 44px - 32px - 24px) * 6 / 5 + 2 * var(--space-3)); }
}

/* ── Motion polish: floating bar, hero depth, hover lift on what you can click, scroll reveal ── */
/* Desktop: the bar floats as a pill. 8 px gap + 1 px borders + 62 px = 72 px, the same --header-h as before, so the hero still fits the fold. */
@media (min-width: 1001px) {
  .site-header {
    top: 8px;
    max-width: calc(var(--container) - 2 * var(--gutter));
    margin: 8px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-pill);
    background: rgba(19, 27, 44, 0.84);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 32px rgba(4, 7, 14, 0.34);
  }
  .site-header__inner { min-height: calc(var(--header-h) - 10px); padding-inline: var(--space-5); }
  .site-nav ul { gap: var(--space-2); }
  .site-nav ul a {
    display: inline-flex; align-items: center;
    padding: 8px 13px; border-radius: var(--radius-pill);
    transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
  }
  .site-nav ul a:hover { background: rgba(255, 255, 255, 0.07); }
  .btn--nav { border-radius: var(--radius-pill); }
}

.hero {
  background:
    radial-gradient(680px 440px at 78% 44%, rgba(255, 107, 0, 0.10), transparent 68%),
    radial-gradient(600px 400px at 14% 20%, rgba(52, 211, 153, 0.04), transparent 70%),
    var(--c-bg);
}
.hero__proof { box-shadow: 0 10px 28px rgba(4, 7, 14, 0.24); }
.hero__media .frame {
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 64px rgba(4, 7, 14, 0.45);
}

/* Step pills under a looping video (build.mjs videoFigure; site.js shows them only with JS and motion allowed) */
.video-steps { margin-top: var(--space-3); }
.video-steps[hidden], .video-steps__set[hidden] { display: none; }
.video-steps__set { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.video-step {
  min-height: 36px; padding: 6px 14px;
  border-radius: var(--radius-pill); border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, 0.04); color: var(--c-text-2);
  font: inherit; font-size: var(--fs-sm); font-weight: 600; line-height: 1.25; text-align: left;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.video-step:hover { border-color: var(--c-border-strong); color: var(--c-text); background: rgba(255, 255, 255, 0.08); }
.video-step.is-active { background: var(--orange-tint-22); border-color: var(--orange); color: var(--c-text); }
/* a phone on its side has no room for another row under the video */
@media (max-height: 500px) and (orientation: landscape) {
  .video-steps { display: none !important; }
}

/* Only things you can click move under the mouse; a blog card is then one link as on a phone. */
@media (hover: hover) {
  .post-card { position: relative; transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease); }
  .post-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .post-card:hover { transform: translateY(-3px); border-color: var(--c-border-strong); box-shadow: 0 12px 28px rgba(4, 7, 14, 0.12); }
  .plan, .faq details { transition: border-color 0.24s var(--ease); }
  .plan:hover, .faq details:hover { border-color: var(--c-border-strong); }
  .btn { transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.18s var(--ease); }
  .btn:hover { transform: translateY(-1px); }
}

/* site.js adds .has-reveal only with motion allowed; print always shows everything. */
.has-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease) var(--reveal-delay, 0ms), transform 0.55s var(--ease) var(--reveal-delay, 0ms);
}
.has-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media print {
  .has-reveal .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .has-reveal .reveal { opacity: 1 !important; transform: none !important; }
}
