/* Písmo Archivo – hostované přímo na webu (žádné požadavky na Google) */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../assets/fonts/archivo-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;
}

/* ==========================================================================
   Tomáš Pospíšil – redesign 2026
   Tmavý editorial · azurová #00E5FF ze stávající značky · Archivo (proměnná šířka)
   ========================================================================== */

:root {
  /* barvy – převzaté z aktuálního webu */
  --bg: #0b0c0e;
  --bg-2: #111317;
  --bg-3: #181b20;
  --bg-4: #20242a;
  --ink: #f3f5f6;
  --ink-2: #b4bcc4;
  --ink-3: #7d868f;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #00e5ff;
  --accent-ink: #001a1f;
  --teal: #3aa6b9;
  --paper: #eff1f0;
  --paper-2: #e3e6e5;
  --paper-ink: #0b0c0e;
  --paper-ink-2: #4c545c;

  /* typografie */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.75rem, 4.6vw + 0.6rem, 6.25rem);
  --fs-h2: clamp(2.6rem, 5.4vw + 0.2rem, 6rem);
  --fs-h3: clamp(1.3rem, 1.1vw + 0.9rem, 1.75rem);
  --fs-lead: clamp(1.15rem, 0.6vw + 0.95rem, 1.45rem);
  --fs-body: clamp(1rem, 0.15vw + 0.96rem, 1.0875rem);
  --fs-small: 0.875rem;

  /* prostor */
  --gutter: clamp(16px, 3.2vw, 48px);
  --section: clamp(72px, 8vw, 128px);
  --radius: 20px;
  --radius-sm: 12px;

  /* pohyb */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: 8px 16px; border-radius: 999px; font-weight: 700;
  transition: top .3s var(--ease);
}
.skip:focus { top: 16px; }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.strip + .section { padding-top: clamp(48px, 6vw, 96px); padding-top: round(nearest, clamp(48px, 6vw, 96px), 8px); }

/* ---------- typografie ---------- */
.display {
  font-family: var(--font);
  font-variation-settings: "wdth" 62;
  font-stretch: 62%;
  font-weight: 850;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.h2 { font-size: var(--fs-h2); }
.accent { color: var(--accent); }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); font-weight: 450; }
.prose p + p { margin-top: 1em; }
.prose { color: var(--ink-2); max-width: 62ch; }

/* rozdělení nadpisů na řádky/slova pro animaci */
.split-line { display: inline-block; vertical-align: top; overflow: hidden; padding: 0.16em 0.04em 0.08em; margin: -0.16em -0.04em -0.08em; }
.split-word { display: inline-block; will-change: transform; }

/* ---------- tlačítka ---------- */
.btn {
  --h: 56px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  height: var(--h); padding: 0 8px 0 24px;
  border-radius: 999px;
  font-weight: 650; font-size: 1rem; letter-spacing: 0.005em;
  white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
}
.btn:not(:has(.btn__icon)) { padding: 0 32px; }
.btn > span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn__icon {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-ink); color: var(--accent);
  transition: transform .5s var(--ease);
}
.btn__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn__icon { transform: rotate(45deg); }

.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent::before { background: #ffffff; }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); }
.btn--sm { --h: 48px; padding: 0 24px; font-size: .9375rem; }
.btn--block { width: 100%; }
.section--paper .btn--ghost { color: var(--paper-ink); box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.25); }
.section--paper .btn--ghost::before { background: var(--paper-ink); }
.section--paper .btn--ghost:hover { color: var(--paper); }

/* ---------- hvězdy, avatary ---------- */
.stars svg { width: 104px; height: 19px; fill: var(--accent); }
.section--paper .stars svg { fill: var(--paper-ink); }
.mono-avatar {
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-4); color: var(--accent);
  font-weight: 700; font-size: .8125rem; letter-spacing: .02em;
}
img.mono-avatar { object-fit: cover; }
.mono-avatar--lg { width: 56px; height: 56px; }
.section--paper .mono-avatar { background: var(--paper-ink); color: var(--accent); }

/* ==========================================================================
   NAVIGACE
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: transform .5s var(--ease), background-color .4s var(--ease);
}
.nav.is-scrolled { background: rgba(11, 12, 14, 0.92); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 80px; }
.nav__logo img { width: 72px; height: auto; color: var(--ink); filter: invert(1); }
.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a, .nav__lang {
  position: relative; font-size: .9375rem; font-weight: 550; color: var(--ink-2);
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active, .nav__lang:hover { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__end { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav__burger { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--bg-3); position: relative; }
.nav__burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink);
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.nav__burger span:first-child { top: 20px; }
.nav__burger span:last-child { top: 27px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 40px;
}
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; gap: 4px; }
.menu__links a {
  font-variation-settings: "wdth" 62; font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(3rem, 14vw, 5rem); line-height: 1;
}
.menu__links a:hover { color: var(--accent); }
.menu__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.menu__lang { color: var(--ink-2); font-weight: 600; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: flex-end;
  padding: 144px 0 clamp(48px, 6vw, 88px); padding: 144px 0 round(nearest, clamp(48px, 6vw, 88px), 8px);
  background: #090b0f;
}
.hero__bg { position: absolute; inset: 0 0 0 clamp(0px, 18vw - 120px, 380px); z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 8% 35%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,10,13,.88) 0%, rgba(8,10,13,.55) 38%, rgba(8,10,13,0) 62%),
    linear-gradient(180deg, rgba(8,10,13,.35) 0%, rgba(8,10,13,0) 22%, rgba(8,10,13,0) 70%, rgba(11,12,14,.9) 100%);
}
.hero__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero__copy { max-width: 760px; }
.hero__title { font-size: clamp(3.2rem, 5.4vw, 6.5rem); }
.hero__lead { margin-top: 32px; font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); max-width: 36ch; opacity: .86; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__proof { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.hero__proof p { font-size: .9375rem; color: var(--ink-2); margin-top: 4px; }
.hero__proof strong { color: var(--ink); font-weight: 650; }
.avatars { display: flex; flex: none; }
.avatars img, .avatars span {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  background: var(--bg-4); color: var(--accent); font-size: .75rem; font-weight: 700;
  border: 3px solid var(--bg);
}
.avatars > * + * { margin-left: -16px; }
.hero__badge {
  flex: none; display: flex; align-items: center; gap: 16px;
  padding: 16px 24px 16px 16px; border-radius: 16px;
  background: rgba(11,12,14,.78);
  font-size: .875rem; line-height: 1.35; color: var(--ink-2);
}
.hero__badge-num {
  font-variation-settings: "wdth" 62; font-stretch: 62%; font-weight: 850;
  font-size: 2.75rem; line-height: 1; color: var(--accent);
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { background: var(--accent); color: var(--accent-ink); overflow: hidden; padding-block: 16px; }
.marquee__track {
  display: flex; align-items: center; gap: 40px; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span, .marquee b {
  font-variation-settings: "wdth" 62; font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1; white-space: nowrap;
}
.marquee b { font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   PÁS RECENZÍ
   ========================================================================== */
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 56px); gap: round(nearest, clamp(24px, 3vw, 56px), 8px); padding-block: clamp(64px, 7vw, 112px); padding-block: round(nearest, clamp(64px, 7vw, 112px), 8px); }
.strip__item { display: flex; flex-direction: column; gap: 16px; }
.strip__item blockquote { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); line-height: 1.45; font-weight: 450; flex: 1; }
.strip__item figcaption { display: flex; align-items: center; gap: 16px; color: var(--ink-2); font-weight: 600; font-size: .9375rem; }

/* ==========================================================================
   SEKCE – HLAVIČKY
   ========================================================================== */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px 64px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 96px); margin-bottom: round(nearest, clamp(48px, 6vw, 96px), 8px); }
.section-head .h2 { max-width: 15ch; }
.gets .section-head .h2 { max-width: 22ch; }
.section-head__lead { max-width: 42ch; color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.45; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .h2 { max-width: 16ch; }
.section-head--center .section-head__lead { max-width: 52ch; }

/* ---------- rámy obrázků ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
[data-parallax-wrap] img[data-parallax] { height: 116%; margin-top: -8%; }

/* ==========================================================================
   O MNĚ
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 128px); gap: round(nearest, clamp(40px, 7vw, 128px), 8px); align-items: start; }
.about__media { position: relative; padding-bottom: 80px; }
.frame--tall { aspect-ratio: 4 / 5.4; }
.frame--inset {
  position: absolute; right: -24px; bottom: 0; width: 42%; aspect-ratio: 3 / 4;
  border: 8px solid var(--bg);
}
.about__copy { padding-top: clamp(0px, 4vw, 64px); padding-top: round(nearest, clamp(0px, 4vw, 64px), 8px); }
.about__copy .h2 { margin-bottom: 40px; }
.about__copy .lead { margin-bottom: 24px; max-width: 34ch; }
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 4vw, 56px) clamp(24px, 3vw, 48px); gap: round(nearest, clamp(40px, 4vw, 56px), 8px) round(nearest, clamp(24px, 3vw, 48px), 8px);
  margin-top: clamp(48px, 5vw, 80px); margin-top: round(nearest, clamp(48px, 5vw, 80px), 8px);
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 16px; }
.stat dd {
  font-variation-settings: "wdth" 62; font-stretch: 62%; font-weight: 850;
  font-size: clamp(4rem, 6.4vw, 7.5rem); line-height: .85; letter-spacing: -0.01em;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.stat:nth-child(3) dd { color: var(--accent); }
.stat dt { font-size: clamp(.95rem, .3vw + .85rem, 1.125rem); font-weight: 550; color: var(--ink-2); line-height: 1.35; max-width: 18ch; }

/* ==========================================================================
   ZÁVODY – horizontální galerie
   ========================================================================== */
.races { position: relative; padding-bottom: var(--section); }
.races__pin { overflow: hidden; }
.races__head { display: flex; justify-content: space-between; align-items: end; gap: 24px 64px; flex-wrap: wrap; margin-bottom: 56px; }
.races__head .h2 { max-width: 14ch; }
.races__lead { max-width: 40ch; color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.45; }
.races__track {
  display: flex; gap: 16px; padding-inline: var(--gutter);
  width: max-content; will-change: transform;
}
.races__card { flex: none; width: clamp(240px, 24vw, 380px); aspect-ratio: 2 / 3; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.races__card--wide { width: clamp(360px, 44vw, 700px); aspect-ratio: auto; }
.races__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }

/* ==========================================================================
   PROČ KOUČINK
   ========================================================================== */
.why { background: var(--bg-2); }
.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why__card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3 / 4.3; display: flex; align-items: flex-end;
  background: var(--bg-3);
}
.why__card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.why__card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,0) 35%, rgba(11,12,14,.92) 88%);
}
.why__body { position: relative; z-index: 1; padding: clamp(24px, 2.4vw, 40px); padding: round(nearest, clamp(24px, 2.4vw, 40px), 8px); }
.why__body h3 {
  font-variation-settings: "wdth" 62; font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(1.9rem, 2.4vw, 2.6rem); line-height: .95; margin-bottom: 16px;
}
.why__body p { color: var(--ink-2); max-width: 36ch; }

/* ==========================================================================
   JAK KOUČINK PROBÍHÁ – video
   ========================================================================== */
.howto { padding-bottom: var(--section); }
.howto__stage { padding-inline: var(--gutter); }
.howto__player {
  position: relative; max-width: 1440px; margin-inline: auto;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000;
  transform-origin: 50% 0;
}
.howto__player video { width: 100%; height: 100%; object-fit: cover; }
.howto__play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: rgba(5,6,8,.35);
  transition: background-color .5s var(--ease), opacity .5s var(--ease);
}
.howto__play:hover { background: rgba(5,6,8,.2); }
.howto__play-icon {
  display: grid; place-items: center;
  width: clamp(84px, 9vw, 128px); aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  transition: transform .6s var(--ease);
}
.howto__play:hover .howto__play-icon { transform: scale(1.08); }
.howto__play-icon svg { width: 34%; fill: currentColor; margin-left: 6%; }
.howto__play-label { font-weight: 650; font-size: 1rem; color: #fff; }
.howto__player.is-playing .howto__play { opacity: 0; pointer-events: none; }

/* ==========================================================================
   SVĚTLÉ SEKCE
   ========================================================================== */
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper .section-head__lead, .section--paper .prose { color: var(--paper-ink-2); }

/* ---------- reference: před a po + hlavní citace ---------- */
.refs__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.ba { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.ba__stage {
  --pos: 50%;
  position: relative; flex: 1; min-height: 520px;
  border-radius: var(--radius); overflow: hidden; background: var(--paper-2);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; pointer-events: none; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba__handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  transition: transform .3s var(--ease);
}
.ba__stage:hover .ba__handle span { transform: translate(-50%, -50%) scale(1.08); }
.ba__stage:has(.ba__range:focus-visible) .ba__handle span { outline: 3px solid #fff; outline-offset: 3px; }
.ba__handle svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ba__tag {
  position: absolute; top: 16px; z-index: 1; pointer-events: none;
  padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .875rem;
  background: rgba(11, 12, 14, .82); color: #fff;
}
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; background: var(--accent); color: var(--accent-ink); }
.ba__range { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }

.ref-feature {
  margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 32px;
  background: var(--paper-ink); color: var(--ink);
  border-radius: var(--radius); padding: clamp(32px, 4vw, 64px); padding: round(nearest, clamp(32px, 4vw, 64px), 8px);
}
.ref-feature .stars svg { fill: var(--accent); }
.ref-feature blockquote { font-size: clamp(1.45rem, 1.3vw + 1rem, 2.1rem); line-height: 1.32; font-weight: 500; letter-spacing: -0.012em; }
.ref-feature figcaption { display: flex; align-items: center; gap: 16px; }
.ref-feature figcaption strong { display: block; font-weight: 700; }
.ref-feature figcaption small { display: block; color: var(--ink-3); font-size: .875rem; }
.ref-feature__facts { margin-top: 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ref-feature__facts li { background: var(--bg-3); border-radius: var(--radius-sm); padding: 16px 16px 16px; display: grid; gap: 8px; align-content: start; }
.ref-feature__facts b { font-variation-settings: "wdth" 62; font-stretch: 62%; font-weight: 850; text-transform: uppercase; font-size: 1.6rem; line-height: 1; color: var(--accent); }
.ref-feature__facts span { font-size: .875rem; color: var(--ink-2); line-height: 1.35; }

/* ---------- reference: posuvný pás ---------- */
.refs__rail { margin-top: clamp(56px, 6vw, 96px); margin-top: round(nearest, clamp(56px, 6vw, 96px), 8px); }
.refs__rail-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.refs__rail-head h3 { font-size: var(--fs-h3); font-weight: 700; }
.refs__arrows { display: flex; gap: 8px; }
.arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--paper-ink); transition: background-color .3s var(--ease), color .3s var(--ease), opacity .3s var(--ease); }
.arrow:hover { background: var(--paper-ink); color: var(--accent); }
.arrow:disabled { opacity: .35; pointer-events: none; }
.arrow svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.refs__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.refs__track::-webkit-scrollbar { display: none; }
.ref { margin: 0; scroll-snap-align: start; background: #fff; border-radius: var(--radius); padding: clamp(24px, 2.4vw, 32px); padding: round(nearest, clamp(24px, 2.4vw, 32px), 8px); display: flex; flex-direction: column; gap: 16px; }
.ref blockquote { flex: 1; font-size: 1.125rem; line-height: 1.45; font-weight: 500; color: var(--paper-ink); }
.ref figcaption { display: flex; align-items: center; gap: 16px; }
.ref figcaption strong { display: block; font-weight: 700; }
.ref figcaption small { display: block; color: var(--paper-ink-2); font-size: .8125rem; }

/* ==========================================================================
   CO DOSTANEŠ – bento
   ========================================================================== */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(190px, auto));
}
.bento__photo { grid-row: 1 / -1; position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.bento__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.2s var(--ease); }
.bento__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,14,0) 50%, rgba(11,12,14,.85) 100%); }
.bento__photo figcaption { position: absolute; left: clamp(20px, 2.4vw, 32px); bottom: clamp(20px, 2.4vw, 32px); z-index: 1; display: grid; gap: 4px; color: var(--ink-2); font-weight: 550; }
.bento__price { font-variation-settings: "wdth" 62; font-stretch: 62%; font-weight: 850; font-size: clamp(2.8rem, 3.6vw, 3.8rem); line-height: .95; color: var(--ink); }
.bento__item {
  display: flex; flex-direction: column;
  background: var(--bg-2); border-radius: var(--radius); padding: clamp(24px, 2.2vw, 32px); padding: round(nearest, clamp(24px, 2.2vw, 32px), 8px);
  transition: background-color .4s var(--ease);
}
.bento__icon { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.bento__item h3 { margin-top: auto; padding-top: 32px; font-size: clamp(1.15rem, .5vw + 1rem, 1.35rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.bento__item p { margin-top: 8px; color: var(--ink-2); font-size: .975rem; line-height: 1.45; }

/* ==========================================================================
   ZAČNI SÁM
   ========================================================================== */
.section--raised { background: var(--bg-2); }
.solo__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 7vw, 128px); gap: round(nearest, clamp(40px, 7vw, 128px), 8px); align-items: center; }
.solo__copy .h2 { margin-bottom: 32px; }
.solo__copy .lead { margin-bottom: 16px; }
.solo__text { color: var(--ink-2); max-width: 46ch; }
.solo__items { list-style: none; padding: 0; margin: 40px 0 48px; display: grid; gap: 16px; }
.solo__items li { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 4px 24px; }
.solo__items strong { font-weight: 700; }
.solo__items span { color: var(--ink-2); }
.solo__media { display: flex; justify-content: center; }
.solo__phone {
  width: min(100%, 380px); aspect-ratio: 9 / 16; border-radius: 36px; overflow: hidden;
  background: #000; border: 10px solid var(--bg-4);
}
.solo__phone video { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   PLÁN NA MÍRU
   ========================================================================== */
.plan__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 128px); gap: round(nearest, clamp(40px, 7vw, 128px), 8px); align-items: center; }
.plan__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); }
.plan__media img { width: 100%; object-fit: cover; }
.plan__tag {
  position: absolute; left: 20px; top: 20px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .875rem;
  padding: 8px 16px; border-radius: 999px;
}
.plan__copy .h2 { margin-bottom: 32px; max-width: 13ch; }
.plan__copy .lead { margin-bottom: 16px; color: var(--accent); font-weight: 600; }
.plan__copy > p:not(.lead) { color: var(--ink-2); max-width: 54ch; }
.plan__steps { margin: 48px 0; display: grid; gap: 4px; counter-reset: step; }
.plan__steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 16px; align-items: baseline;
  background: var(--bg-2); border-radius: var(--radius-sm); padding: 24px 24px;
}
.plan__steps li::before {
  content: counter(step); grid-row: span 2;
  font-variation-settings: "wdth" 62; font-stretch: 62%; font-weight: 850; font-size: 2.4rem; line-height: 1; color: var(--accent);
}
.plan__steps strong { font-weight: 700; font-size: 1.0625rem; }
.plan__steps span { color: var(--ink-2); font-size: .9375rem; }
.plan__buy { display: flex; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.plan__price { display: flex; flex-direction: column; }
.plan__amount { font-variation-settings: "wdth" 62; font-stretch: 62%; font-weight: 850; font-size: clamp(2.8rem, 4vw, 4rem); line-height: .95; }
.plan__price small { color: var(--ink-3); font-size: .875rem; }

/* ==========================================================================
   CENÍK
   ========================================================================== */
.pricing { background: var(--bg-2); }
.pricing__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column; gap: 32px;
  background: var(--bg-3); border-radius: var(--radius); padding: clamp(32px, 2.6vw, 40px); padding: round(nearest, clamp(32px, 2.6vw, 40px), 8px);
}
.price h3 {
  font-variation-settings: "wdth" 62; font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(2rem, 2.4vw, 2.6rem); line-height: .95;
}
.price__sub { color: var(--ink-2); margin-top: 8px; }
.price__amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.price__amount span { font-variation-settings: "wdth" 62; font-stretch: 62%; font-weight: 850; font-size: clamp(3rem, 4.2vw, 4.25rem); line-height: .9; }
.price__amount s { color: var(--ink-3); font-size: 1.125rem; font-weight: 600; text-decoration-thickness: 2px; }
.price__amount small { flex-basis: 100%; color: var(--ink-3); font-size: .875rem; }
.price__list { display: grid; gap: 16px; flex: 1; align-content: start; }
.price__list li { position: relative; padding-left: 32px; color: var(--ink-2); line-height: 1.45; }
.price__list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,229,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e5ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.price--featured { background: var(--accent); color: var(--accent-ink); }
.price--featured .price__sub, .price--featured .price__list li, .price--featured .price__amount small { color: rgba(0,26,31,.78); }
.price--featured .price__list li::before {
  background: var(--accent-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e5ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.price--featured .btn--accent { background: var(--accent-ink); color: var(--accent); }
.price--featured .btn--accent::before { background: #000; }
.price--featured .btn__icon { background: var(--accent); color: var(--accent-ink); }
.price--featured header { padding-right: 0; }
.price__flag {
  align-self: flex-start; margin-bottom: -8px;
  background: var(--accent-ink); color: var(--accent);
  font-size: .8125rem; font-weight: 700; padding: 8px 16px; border-radius: 999px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 128px); gap: round(nearest, clamp(40px, 7vw, 128px), 8px); align-items: start; }
.faq__aside { position: sticky; top: 110px; }
.faq__aside .h2 { margin-bottom: 32px; }
.faq__aside > p { color: var(--paper-ink-2); max-width: 36ch; }
.faq__aside a { color: var(--paper-ink); font-weight: 650; border-bottom: 2px solid var(--accent); }
.frame--faq { margin-top: 40px; aspect-ratio: 4 / 3.4; max-width: 440px; background: var(--paper-2); }
.faq__list { display: grid; gap: 8px; }
.qa { background: #fff; border-radius: var(--radius-sm); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 32px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); font-weight: 700; line-height: 1.3; }
.qa__icon {
  flex: none; position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--paper);
  transition: background-color .4s var(--ease), transform .5s var(--ease);
}
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--paper-ink);
  transform: translate(-50%, -50%); transition: transform .5s var(--ease);
}
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--accent); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa summary:hover .qa__icon { transform: rotate(90deg); }
.qa__body { padding: 0 32px 32px; color: var(--paper-ink-2); max-width: 70ch; }
.qa__body p + p { margin-top: .9em; }

/* ==========================================================================
   SPONZOŘI
   ========================================================================== */
.sponsors__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.partner {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3 / 4; display: flex; align-items: flex-end; background: var(--bg-3);
}
.partner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.partner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,14,0) 30%, rgba(11,12,14,.94) 85%); }
.partner__body { position: relative; z-index: 1; width: 100%; padding: clamp(24px, 2.4vw, 32px); padding: round(nearest, clamp(24px, 2.4vw, 32px), 8px); display: grid; gap: 16px; justify-items: start; }
.partner__cat { color: var(--accent); font-weight: 650; font-size: .9375rem; }
.partner h3 { font-variation-settings: "wdth" 62; font-stretch: 62%; font-weight: 850; text-transform: uppercase; font-size: clamp(2.6rem, 3.4vw, 3.6rem); line-height: .9; }
.code {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18);
  font-weight: 700; letter-spacing: .06em; font-size: 1rem;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.code em { font-style: normal; font-weight: 650; letter-spacing: 0; font-size: .8125rem; background: var(--accent); color: var(--accent-ink); padding: 8px 16px; border-radius: 999px; }
button.code:hover { background: rgba(0,229,255,.16); box-shadow: inset 0 0 0 1.5px var(--accent); }
.code--soon { padding: 8px 16px; letter-spacing: 0; color: var(--ink-2); font-weight: 600; }
.partner__link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; font-size: .9375rem; transition: color .3s var(--ease); }
.partner__link svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease); }
.partner__link:hover { color: var(--ink); }
.partner__link:hover svg { transform: translate(2px, -2px); }

.gear__title { font-size: var(--fs-h3); font-weight: 700; margin: clamp(72px, 8vw, 120px) 0 32px; margin: round(nearest, clamp(72px, 8vw, 120px), 8px) 0 32px; }
.gear { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gear__item { display: flex; flex-direction: column; gap: 16px; }
.gear__img { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); margin-bottom: 8px; }
.gear__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gear__item:hover .gear__img img { transform: scale(1.06); }
.gear__item h4 { font-size: 1.125rem; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gear__item h4::after { content: "↗"; color: var(--accent); transition: transform .4s var(--ease); }
.gear__item:hover h4::after { transform: translate(3px, -3px); }
.gear__item p { color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }

/* ==========================================================================
   ZÁVĚR
   ========================================================================== */
.final { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.final__media { position: absolute; inset: 0; }
.final__media img { width: 100%; height: 116%; object-fit: cover; object-position: 50% 40%; margin-top: -8%; }
.final::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,.25) 0%, rgba(11,12,14,.2) 35%, rgba(11,12,14,.92) 100%);
}
.final__inner { position: relative; z-index: 1; padding-block: var(--section) clamp(64px, 8vw, 120px); padding-block: var(--section) round(nearest, clamp(64px, 8vw, 120px), 8px); }
.final__title { font-size: var(--fs-display); max-width: 17ch; }
.final__lead { margin-top: 32px; font-size: var(--fs-lead); color: var(--ink-2); max-width: 40ch; line-height: 1.45; }
.final__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* ==========================================================================
   PATIČKA
   ========================================================================== */
.footer { background: var(--bg); padding-top: clamp(72px, 8vw, 120px); padding-top: round(nearest, clamp(72px, 8vw, 120px), 8px); padding-bottom: 32px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; align-items: start; }
.footer__brand img { width: 120px; filter: invert(1); margin-bottom: 24px; }
.footer__brand p { color: var(--ink-2); max-width: 30ch; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 16px 40px; justify-content: start; }
.footer__nav a, .footer__social a, .footer__bottom a { color: var(--ink-2); font-weight: 550; transition: color .3s var(--ease); }
.footer__nav a:hover, .footer__social a:hover, .footer__bottom a:hover { color: var(--accent); }
.footer__social { display: grid; gap: 16px; }
.footer__word {
  font-variation-settings: "wdth" 62; font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  font-size: min(13.6rem, calc((min(100vw, 1440px) - 2 * var(--gutter)) / 6.3)); line-height: .8; letter-spacing: -0.01em; overflow: hidden; padding-top: .14em;
  margin: clamp(56px, 7vw, 112px) 0 32px; margin: round(nearest, clamp(56px, 7vw, 112px), 8px) 0 32px; white-space: nowrap; color: var(--bg-3);
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: .875rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  transform: translate(-50%, calc(100% + 48px)); visibility: hidden;
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
  padding: 16px 24px; border-radius: 999px;
  transition: transform .5s var(--ease), visibility 0s .5s;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease), visibility 0s; }

/* ==========================================================================
   STAVY PRO ANIMACE (třída .anim-on přidává JS; bez JS je vše vidět)
   ========================================================================== */
.anim-on [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s);
}
.anim-on [data-reveal].is-in { opacity: 1; transform: none; }

.anim-on .split-word { display: inline-block; opacity: 0; transform: translateY(130%); transition: transform 1.05s var(--ease), opacity .5s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.anim-on [data-split].is-in .split-word,
.anim-on.is-loaded .hero__title .split-word { transform: none; opacity: 1; }
.anim-on .hero__title .split-word { transition-delay: calc(350ms + var(--i, 0) * 70ms); transition-duration: 1.15s; }

.anim-on [data-hero-item] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.anim-on .hero__lead[data-hero-item] { transition-delay: .7s; }
.anim-on .hero__actions[data-hero-item] { transition-delay: .8s; }
.anim-on .hero__proof[data-hero-item] { transition-delay: .95s; }
.anim-on.is-loaded [data-hero-item] { opacity: 1; transform: none; }

.anim-on .hero__bg img { transform: scale(1.12); opacity: 0; transition: transform 2.4s var(--ease), opacity 1.2s var(--ease); }
.anim-on.is-loaded .hero__bg img { transform: none; opacity: 1; }
.anim-on .hero__badge[data-hero-item] { transition-delay: 1.25s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .dot { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ==========================================================================
   RESPONZIVITA
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__links { gap: 24px; }
  .nav__cta { display: none; }
  .refs__track { grid-auto-columns: calc((100% - 16px) / 2); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .bento__photo { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
  .gear { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav__links, .nav__lang { display: none; }
  .nav__burger { display: block; }
  .nav__inner { height: 72px; }
  .nav__logo img { width: 60px; }

  .hero { padding-top: 50svh; min-height: auto; }
  .hero__bg { left: 0; bottom: auto; height: 74svh; }
  .hero__inner { flex-direction: column; align-items: flex-start; }
  .hero__bg img { object-position: 50% 20%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(8,10,13,.25) 0%, rgba(8,10,13,0) 22%, rgba(8,10,13,0) 48%, rgba(11,12,14,.85) 78%, rgb(11,12,14) 100%); }
  .hero__badge { display: none; }

  .strip { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about__grid, .solo__grid, .plan__grid, .faq__grid, .refs__top { grid-template-columns: minmax(0, 1fr); }
  .ba__stage { min-height: 0; flex: none; aspect-ratio: 1 / 1.05; }
  .refs__track { grid-auto-columns: 80%; }
  .about__media { padding-bottom: 64px; }
  .frame--inset { right: 0; }
  .faq__aside { position: static; }
  .why__grid, .pricing__grid, .sponsors__grid { grid-template-columns: minmax(0, 1fr); }
  .why__card { aspect-ratio: 4 / 4.4; }
  .partner { aspect-ratio: 4 / 4.6; }
  .solo__media { order: -1; }
  .solo__phone { width: min(100%, 320px); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }

  /* závody: nativní swipe místo pinu */
  .races__pin { overflow: visible; }
  .races__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .races__track::-webkit-scrollbar { display: none; }
  .races__card { width: 72vw; scroll-snap-align: center; }
  .races__card--wide { width: 88vw; aspect-ratio: 4 / 3; }
}

@media (max-width: 600px) {
  :root { --radius: 16px; }
  .btn { --h: 56px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__proof { margin-top: 40px; }
  .hero__title { font-size: clamp(3rem, 13.4vw, 4.4rem); }
  .bento { gap: 8px; }
  .bento__photo { min-height: 340px; }
  .bento__item { padding: 16px; }
  .bento__item h3 { padding-top: 24px; font-size: 1.05rem; }
  .bento__item p { font-size: .875rem; }
  .ref-feature__facts { gap: 8px; }
  .ref-feature__facts li { padding: 16px; }
  .ref-feature__facts b { font-size: 1.25rem; }
  .ref-feature__facts span { font-size: .8125rem; }
  .solo__items li { grid-template-columns: minmax(0, 1fr); }
  .refs__track { grid-auto-columns: 86%; }
  .gear { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .gear__item p { display: none; }
  .stats { margin-top: 56px; gap: 40px 24px; }
  .qa summary { padding: 24px; }
  .qa__body { padding: 0 24px 24px; }
  .plan__steps li { grid-template-columns: 40px minmax(0, 1fr); padding: 16px; }
  .final { min-height: 88svh; }
  .final__actions .btn { flex: 1 1 100%; }
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* plynulá ukázka posuvníku před/po */
@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.ba__stage.is-hinting { transition: --pos .5s var(--ease-in-out); }

/* podpis autora webu */
.footer__end { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.made-by {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-3); font-weight: 550;
  transition: color .3s var(--ease);
}
.made-by img { width: 64px; height: auto; opacity: .8; transition: opacity .3s var(--ease); }
.made-by:hover { color: var(--ink); }
.made-by:hover img { opacity: 1; }

/* úzké telefony: dlouhá tlačítka se smí zalomit, nic nesmí roztáhnout stránku */
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; height: auto; min-height: var(--h); padding-block: 8px; line-height: 1.25; }
  .btn__icon { flex: none; }
  .price, .partner, .ref, .ref-feature, .bento__item, .form-card { min-width: 0; }
  .price h3, .partner h3 { overflow-wrap: anywhere; }
}

/* ==========================================================================
   TYPOGRAFIE – ZLATÝ ŘEZ NA 8PX MŘÍŽCE
   Škála φ = 1,618 v půlkrocích (×√φ) od 16 px:
   13 · 14 · 16 · 20 · 26 · 33 · 42 · 53 · 68 · 87 px
   Text: výška řádku = velikost + 8, zaokrouhleno nahoru na násobek 8 (16/24, 20/32, 26/40)
   Nadpisy (display): výška řádku = nejbližší násobek 8 nad velikostí (42/48, 68/72, 87/88)
   Mezery (margin, padding, gap) jsou zaokrouhlené na násobky 8.
   ========================================================================== */
@supports (width: round(nearest, 10px, 8px)) {
  :root {
    --gutter: round(nearest, clamp(16px, 3.2vw, 48px), 8px);
    --section: round(nearest, clamp(72px, 8vw, 128px), 8px);
  }
}

/* text */
body, .prose, .solo__text, .plan__copy > p:not(.lead), .why__body p, .bento__item p, .gear__item p,
.qa__body, .price__sub, .price__list li, .solo__items strong, .solo__items span, .plan__steps strong,
.stat dt, .strip__item figcaption, .ref figcaption strong, .ref-feature figcaption strong,
.footer__brand p, .footer__nav a, .footer__social a, .nav__links a, .nav__lang, .menu__lang,
.btn, .howto__play-label, .partner__cat, .code, .bento__photo figcaption, .toast, .skip { font-size: 16px; line-height: 24px; }
.btn--sm, .hero__proof p, .hero__badge, .ref-feature figcaption small, .ref-feature__facts span,
.plan__steps span, .plan__price small, .price__amount small, .code--soon, .partner__link,
.footer__bottom, .solo__price small { font-size: 14px; line-height: 24px; }
.mono-avatar, .avatars span, .ba__tag, .price__flag, .plan__tag, .code em, .made-by, .ref figcaption small { font-size: 13px; line-height: 24px; }
.ba__tag, .price__flag, .plan__tag, .code em { padding-block: 4px; }
.lead, .hero__lead, .section-head__lead, .races__lead, .final__lead, .strip__item blockquote,
.ref blockquote, .qa summary h3 { font-size: 20px; line-height: 32px; }
.bento__item h3, .gear__item h4, .price__amount s, .solo__price s { font-size: 20px; line-height: 32px; }
.refs__rail-head h3, .gear__title { font-size: 26px; line-height: 40px; }

/* display (zúžené Archivo) */
.marquee span, .marquee b, .ref-feature__facts b { font-size: 26px; line-height: 32px; }
.why__body h3, .price h3, .ref-feature blockquote { font-size: 33px; line-height: 40px; }
.hero__badge-num, .plan__steps li::before { font-size: 42px; line-height: 48px; }
.bento__price, .partner h3, .menu__links a, .solo__price span { font-size: 53px; line-height: 56px; }
.h2, .plan__amount, .price__amount span { font-size: 68px; line-height: 72px; }
.hero__title, .final__title, .stat dd { font-size: 87px; line-height: 88px; }

/* cena u e-booku */
.solo__buy { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 40px; }
.solo__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 16px; }
.solo__price span { font-variation-settings: "wdth" 62; font-stretch: 62%; font-weight: 850; color: var(--ink); }
.solo__price s { color: var(--ink-3); font-weight: 600; text-decoration-thickness: 2px; }
.solo__price small { flex-basis: 100%; color: var(--ink-3); }

@media (max-width: 1180px) {
  .h2, .plan__amount { font-size: 53px; line-height: 56px; }
  .hero__title, .final__title, .stat dd { font-size: 68px; line-height: 72px; }
  .price__amount span { font-size: 53px; line-height: 56px; }
  .partner h3 { font-size: 42px; line-height: 48px; }
  .why__body h3, .price h3, .ref-feature blockquote { font-size: 26px; line-height: 32px; }
}
@media (max-width: 600px) {
  .h2 { font-size: 42px; line-height: 48px; }
  .hero__title, .final__title, .stat dd { font-size: 53px; line-height: 56px; }
  .menu__links a, .bento__price, .solo__price span { font-size: 42px; line-height: 48px; }
  .ref-feature__facts b { font-size: 20px; line-height: 24px; }
  .ref-feature__facts span { font-size: 13px; line-height: 24px; }
  .bento__item h3 { font-size: 16px; line-height: 24px; }
  .bento__item p { font-size: 14px; line-height: 24px; }
  .marquee span, .marquee b { font-size: 20px; line-height: 24px; }
  .btn { line-height: 24px; }
}

/* právní odkazy v patičce */
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a { font-size: 14px; line-height: 24px; color: var(--ink-3); transition: color .3s var(--ease); }
.footer__legal a:hover { color: var(--accent); }

/* zalamování: žádné osamocené slovo na posledním řádku */
p, li, dd, dt, blockquote, figcaption, small, .lead, h3, h4 { text-wrap: pretty; }
