/* eSchematic — návrh landing page v2 (8. 11. 2026)
   Jazyk: technická dokumentace. Papír, tuš, jedna akcentová barva, rám výkresu, popisky „Obr.“.
   Žádné přechody, záře ani „AI“ efekty. Barva akcentu se mění proměnnou --accent (chytrá verze). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/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; }

:root {
  --paper: #F4F2EC;
  --paper-2: #EDEAE2;
  --surface: #FFFFFF;
  --ink: #14213D;
  --ink-2: #33405E;
  --muted: #5B6475;
  --line: #D6D1C4;
  --line-2: #E6E2D8;
  --grid: rgba(20, 33, 61, .045);
  --accent: #1F5FD6;
  --accent-ink: #17489F;
  --accent-soft: #E5ECFA;
  --on-accent: #FFFFFF;
  --mark: #E8772E;
  --ok: #2E7D4F;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 4px;
  --wrap: 1200px;
  --gut: 24px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12161F; --paper-2: #171C27; --surface: #1B2130; --ink: #E9ECF3; --ink-2: #C3CAD8; --muted: #95A0B5;
    --line: #2C3446; --line-2: #242B3A; --grid: rgba(233, 236, 243, .035);
    --accent: #6C9BF0; --accent-ink: #9DBBF5; --accent-soft: #1D2A45; --on-accent: #0E1320; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #12161F; --paper-2: #171C27; --surface: #1B2130; --ink: #E9ECF3; --ink-2: #C3CAD8; --muted: #95A0B5;
  --line: #2C3446; --line-2: #242B3A; --grid: rgba(233, 236, 243, .035);
  --accent: #6C9BF0; --accent-ink: #9DBBF5; --accent-soft: #1D2A45; --on-accent: #0E1320; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.03em; }
h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── hlavička ── */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 18px; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--accent-ink); }
.hdr .sp { flex: 1; }
.theme-btn { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink);
  cursor: pointer; font-size: 16px; }
@media (max-width: 900px) { .nav { display: none; } }

/* ── tlačítka ── */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r);
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
  transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--on-accent); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn:focus-visible, .seg button:focus-visible, .tab:focus-visible { outline: 2px solid var(--mark); outline-offset: 2px; }

/* ── štítky a čísla ── */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.kicker::before { content: ""; width: 22px; height: 1.5px; background: var(--accent); }
.num { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); letter-spacing: .06em; }
.tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 2px 7px; border-radius: 2px; color: var(--muted); background: var(--surface); }
.tag.preview { color: var(--mark); border-color: color-mix(in srgb, var(--mark) 50%, var(--line)); }
.marker { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mark); color: #fff;
  font: 700 12px/1 var(--sans); flex: none; }

/* ── sekce ── */
.sec { padding: 96px 0; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; margin-bottom: 48px; }
.sec-head .lbl { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; padding-top: 10px;
  border-top: 2px solid var(--ink); }
.sec-head h2 { max-width: 760px; }
.sec-head p { color: var(--ink-2); max-width: 720px; font-size: 18px; }
@media (max-width: 800px) { .sec { padding: 64px 0; } .sec-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 32px; } }

/* ── výkresový rám ── */
.sheet { position: relative; background: var(--surface); border: 1.5px solid var(--ink); padding: 18px; }
.sheet::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line); pointer-events: none; }
.sheet .cols { position: absolute; left: 18px; right: 18px; top: -1px; display: grid; grid-template-columns: repeat(8, 1fr);
  font: 10px/1 var(--mono); color: var(--muted); transform: translateY(-120%); }
.sheet .cols span { text-align: center; }
.sheet .stamp { display: grid; grid-template-columns: 1.4fr 1fr 1fr .6fr; border-top: 1.5px solid var(--ink); margin: 14px -18px -18px;
  font-size: 12px; }
.sheet .stamp div { padding: 6px 10px; border-left: 1px solid var(--line); }
.sheet .stamp div:first-child { border-left: 0; }
.sheet .stamp small { display: block; font: 10px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sheet .stamp b { font-weight: 600; }

/* ── obrázky s popiskem ── */
figure { margin: 0; }
.fig { background: var(--surface); border: 1px solid var(--line); }
.fig img { width: 100%; height: auto; }
.fig figcaption, .cap { display: flex; gap: 10px; align-items: baseline; padding: 10px 14px; font-size: 14px; color: var(--ink-2);
  border-top: 1px solid var(--line); background: var(--surface); }
.fig figcaption b, .cap b { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); font-weight: 600; white-space: nowrap; }
.shot { border: 1px solid var(--line); background: var(--surface); box-shadow: 0 1px 0 var(--line-2), 0 18px 40px -28px rgba(20, 33, 61, .35); }
.shot img { width: 100%; }
.photo img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; filter: saturate(.92) contrast(1.02); }

/* ── hero ── */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 520px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; font-size: 14px; color: var(--muted); }
.facts li::before { content: "—"; margin-right: 8px; color: var(--accent); }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; } .hero { padding-top: 40px; } }

/* schéma návazností: obrázek + legenda 1–7 */
.system { margin-top: 18px; }
.system .img { position: relative; }
.legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin: 14px -18px -18px; }
.legend button { all: unset; cursor: pointer; display: flex; gap: 8px; align-items: center; padding: 9px 12px; font-size: 13px;
  border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.legend button:hover, .legend button[aria-pressed="true"] { background: var(--accent-soft); color: var(--ink); }
.legend .marker { width: 20px; height: 20px; font-size: 11px; }
.legend .peek { display: none; }
@media (max-width: 640px) { .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.peekbox { margin-top: 14px; display: none; }
.peekbox.on { display: block; }

/* ── video ── */
.video-box { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: start; }
.video-box video { width: 100%; aspect-ratio: 16 / 9; background: #0E1320; border: 1.5px solid var(--ink); }
.chapters { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.chapters li { border-bottom: 1px solid var(--line); }
.chapters button { all: unset; cursor: pointer; display: grid; grid-template-columns: 56px 1fr; gap: 8px; width: 100%; padding: 11px 4px; font-size: 15px; }
.chapters button:hover { color: var(--accent-ink); }
.chapters .t { font: 12px/1.9 var(--mono); color: var(--muted); }
@media (max-width: 900px) { .video-box { grid-template-columns: 1fr; } }

/* ── řetězec návazností ── */
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; counter-reset: ch; }
.chain .step { position: relative; }
.chain .step .fig { height: 100%; display: flex; flex-direction: column; }
.chain .step .fig .im { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.chain .step .fig .im img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.chain .step .body { padding: 14px 14px 16px; }
.chain .step h3 { font-size: 17px; margin: 6px 0 6px; }
.chain .step p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
.chain .step::after { content: "→"; position: absolute; right: -15px; top: 30%; font-family: var(--mono); color: var(--accent); font-size: 16px; }
.chain .step:nth-child(4n)::after, .chain .step:last-child::after { content: none; }
@media (max-width: 980px) { .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } .chain .step:nth-child(2n)::after { content: none; } }
@media (max-width: 560px) { .chain { grid-template-columns: 1fr; } .chain .step::after { content: none; } }

/* ── pro koho ── */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.people .person h3 { font-size: 18px; }
.person { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.person .photo { border-bottom: 1px solid var(--line); }
.person .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.person h3 { margin: 0; }
.person ul { margin: 4px 0 8px; padding-left: 18px; font-size: 15px; color: var(--ink-2); }
.person ul li { margin: 3px 0; }
.person .offer { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.person .offer b { color: var(--ink); }
@media (max-width: 1100px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .people { grid-template-columns: 1fr; } }

/* ── galerie s kartami ── */
.tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tab { all: unset; cursor: pointer; padding: 10px 16px; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.gal-pane { display: none; }
.gal-pane.on { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 28px; align-items: start; }
.gal-pane .txt h3 { font-size: 22px; }
.gal-pane .txt ul { padding-left: 18px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .gal-pane.on { grid-template-columns: 1fr; } }

/* ── trenažér ── */
.trainer { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.quiz { background: var(--surface); border: 1.5px solid var(--ink); }
.quiz .bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line);
  font: 12px/1.4 var(--mono); color: var(--muted); }
.quiz .prog { display: flex; gap: 4px; }
.quiz .prog i { width: 18px; height: 6px; background: var(--line); display: block; }
.quiz .prog i.ok { background: var(--ok); } .quiz .prog i.bad { background: var(--mark); } .quiz .prog i.cur { background: var(--ink); }
.quiz .q { padding: 22px 22px 6px; font-size: 20px; font-weight: 600; line-height: 1.35; min-height: 110px; }
.quiz .a { margin: 0 22px; padding: 14px 16px; background: var(--accent-soft); border-left: 3px solid var(--accent); font-size: 15.5px; display: none; }
.quiz .a small { display: block; margin-top: 8px; font: 12px/1.4 var(--mono); color: var(--muted); }
.quiz.revealed .a { display: block; }
.quiz .act { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 22px 22px; }
.quiz .res { padding: 26px 22px; display: none; }
.quiz.done .q, .quiz.done .a, .quiz.done .act { display: none; }
.quiz.done .res { display: block; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); margin-top: 20px; }
.stat-row div { padding: 14px 10px 0 0; }
.stat-row b { display: block; font-size: 30px; letter-spacing: -.02em; }
.stat-row span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .trainer { grid-template-columns: 1fr; } }

/* ── výstupy / důvěra ── */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.cols3 > div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.cols3 > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.cols3 h3 { font-size: 17px; }
.cols3 p { font-size: 15px; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .cols3 { grid-template-columns: 1fr; } .cols3 > div + div { padding-left: 0; border-left: 0; } }
.list2 { columns: 2; column-gap: 40px; padding: 0; list-style: none; margin: 0; }
.list2 li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; display: flex; gap: 10px; }
.list2 li::before { content: "■"; color: var(--accent); font-size: 9px; line-height: 2.6; }
@media (max-width: 700px) { .list2 { columns: 1; } }

/* ── ceník ── */
.billing { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; margin-bottom: 26px; }
.billing button { all: unset; cursor: pointer; padding: 8px 16px; font-size: 14px; }
.billing button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tiers.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tier { background: var(--surface); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.tier.rec { border: 2px solid var(--accent); }
.tier .badge { position: absolute; top: -12px; left: 18px; background: var(--accent); color: var(--on-accent); font: 600 11px/1 var(--mono);
  letter-spacing: .05em; text-transform: uppercase; padding: 6px 8px; }
.tier h3 { margin: 4px 0 0; }
.tier .for { font-size: 14px; color: var(--muted); margin: 0; }
.tier .price { font-size: 38px; font-weight: 700; letter-spacing: -.03em; line-height: 1; margin: 8px 0 0; }
.tier .price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier .unit { font-size: 13px; color: var(--muted); min-height: 20px; }
.tier ul { list-style: none; padding: 0; margin: 6px 0 14px; font-size: 14.5px; }
.tier ul li { padding: 5px 0; border-bottom: 1px solid var(--line-2); }
.tier .btn { margin-top: auto; }
.price-note { font-size: 13px; color: var(--muted); margin-top: 18px; }
@media (max-width: 980px) { .tiers, .tiers.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tiers, .tiers.six { grid-template-columns: 1fr; } }

/* ── FAQ ── */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 22px/1 var(--mono); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); max-width: 820px; }

/* ── závěr a patička jako razítko výkresu ── */
.cta-end { padding: 88px 0; border-top: 1px solid var(--line); }
.cta-end .sheet { padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-end h2 { margin: 0 0 8px; }
@media (max-width: 760px) { .cta-end .sheet { grid-template-columns: 1fr; padding: 28px 22px; } }
.foot { padding: 0 0 48px; }
.titleblock { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1fr 1fr; border: 1.5px solid var(--ink); background: var(--surface); font-size: 13.5px; }
.titleblock > div { padding: 10px 14px; border-left: 1px solid var(--line); }
.titleblock > div:first-child { border-left: 0; }
.titleblock small { display: block; font: 10.5px/1.4 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.titleblock a { color: var(--ink); }
@media (max-width: 860px) { .titleblock { grid-template-columns: 1fr 1fr; } .titleblock > div { border-top: 1px solid var(--line); } }
.foot .legal { font-size: 12.5px; color: var(--muted); margin-top: 14px; max-width: 900px; }

/* ── chytrá verze: přepínač typu zákazníka ── */
.who { position: sticky; top: 64px; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.who .wrap { display: flex; align-items: center; gap: 16px; min-height: 58px; }
.who .lbl { font: 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
.seg { display: flex; gap: 0; border: 1.5px solid var(--ink); border-radius: var(--r); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.seg::-webkit-scrollbar { display: none; }
.seg button { all: unset; cursor: pointer; padding: 9px 14px; font-size: 14px; white-space: nowrap; border-left: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.seg button:first-child { border-left: 0; }
.seg button i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); display: block; }
.seg button[aria-pressed="true"] { background: var(--c); color: #fff; }
.seg button[aria-pressed="true"] i { background: #fff; }
@media (max-width: 700px) { .who .lbl { display: none; } .who .wrap { padding-right: 0; } }
body.swap .swap-fade { animation: swapfade .35s ease; }
@keyframes swapfade { from { opacity: .25; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { body.swap .swap-fade { animation: none; } html { scroll-behavior: auto; } }
.hero-photo { position: relative; }
.hero-photo .photo img { aspect-ratio: 4 / 3; }
.hero-photo .inset { position: absolute; right: -14px; bottom: -26px; width: 48%; }
.hero-photo .inset.left { right: auto; left: -14px; }
.hero-photo .inset.mobile { width: 30%; right: 8px; }
@media (max-width: 640px) { .hero-photo .inset { position: static; width: 100%; margin-top: 14px; } .hero-photo .inset.mobile { width: 60%; margin: 14px auto 0; } }
.gain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.gain > div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.gain > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.gain b { display: block; font-size: 17px; margin-bottom: 4px; }
.gain p { font-size: 15px; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .gain { grid-template-columns: 1fr; } .gain > div + div { padding-left: 0; border-left: 0; } }
.offer-box { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .offer-box { grid-template-columns: 1fr; } }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.steps3 .s { background: var(--surface); border: 1px solid var(--line); }
.steps3 .s .im { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.steps3 .s .im img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.steps3 .s .body { padding: 16px 18px 18px; }
.steps3 .s h3 { font-size: 18px; margin: 6px 0; }
.steps3 .s p { font-size: 15px; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }
.strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.strip a { text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); display: block; }
.strip a img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.strip a span { display: block; padding: 8px 10px; font-size: 13.5px; font-weight: 600; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

#p-legend button { cursor: default; }

/* úzký mobil: tlačítko v hlavičce se vejde (390 px) */
@media (max-width: 420px) { .hdr .btn.sm { padding-left: 10px; padding-right: 10px; } .hdr .wrap { gap: 8px; } }

/* úzký telefon (360 px): Přihlásit zůstává vidět — místo něj ustoupí přepínač motivu */
@media (max-width: 400px) { .hdr .wrap { gap: 6px; } .hdr .brand { font-size: 15px; }
  .hdr .btn.sm { padding-left: 8px; padding-right: 8px; font-size: 14px; } }
/* telefon do 400 px: u loga jen obrázek, ať se vejde Přihlásit i Vyzkoušet zdarma */
@media (max-width: 400px) { .hdr .brand { font-size: 0; gap: 0; } }
/* úzký telefon: dlouhá tlačítka v obsahu (video „▶ 0:35 …“) se zalomí místo useknutí */
@media (max-width: 400px) { main .btn { white-space: normal; text-align: center; max-width: 100%; height: auto; padding-top: 8px; padding-bottom: 8px; } }
/* telefon: Přihlásit + Vyzkoušet zdarma mají přednost před přepínačem motivu (motiv jde přepnout v aplikaci) */
@media (max-width: 460px) { .hdr .theme-btn { display: none; } }
