/* BetAkademie – landing page + quiz (zacni.getyourtip.cz). Mobile-first.
   Vzhled podle getyourtip.cz: bílá stránka, černý horní pruh, vycentrovaný hero,
   zelená značky na akcích. Font Montserrat (OFL, hostovaný u nás). Barvy jdou změnit v administraci. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --surface: #F4F6F4;
  --line: #E4E7E4;
  --text: #121412;
  --muted: #5A615C;
  --accent: #45A05A;
  --accent-text: #FFFFFF;
  --bad: #D9473B;
  --danger: #C2361F;
  --bar: #0E0F0E;
  --r: 8px;
  --font: "Montserrat", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: 20px;
  --wide: 1120px;
  --narrow: 620px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; min-height: 100dvh; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

.app { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; }

/* ---------- horní pruh (stejný jako na landing page) ---------- */
.bar { position: sticky; top: 0; z-index: 10; background: #171717; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.bar-in { position: relative; width: min(1120px, calc(100% - 24px)); margin: 0 auto; height: 70px; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; font-weight: 700; font-size: 18px; }
.brand .logo { display: block; height: 44px; width: auto; }
.bar-count { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.bar-meta { font-size: 13px; color: #BFC5C0; font-variant-numeric: tabular-nums; }
.countdown { display: flex; align-items: center; font-family: "Space Grotesk", Arial, sans-serif; font-weight: 700; font-size: 28px; letter-spacing: -1.26px; color: #FEFFFF; line-height: 1; }
.countdown b { font-weight: 700; font-variant-numeric: tabular-nums; }
.countdown i { font-style: normal; opacity: .9; padding: 0 4px; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: #2A2D2A; overflow: hidden; opacity: 0; transition: opacity .3s var(--ease); }
.app[data-progress="on"] .progress { opacity: 1; }
.progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .45s var(--ease); }
.preview-flag { position: absolute; right: 10px; top: calc(100% + 8px); background: #121412; color: #fff; white-space: nowrap; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 4px; }
@media (max-width: 760px) {
  .bar-in { height: 64px; }
  .brand .logo { height: 26px; }
  .bar-meta { display: none; }
}

/* ---------- obrazovky ---------- */
.stage { position: relative; display: grid; outline: none; overflow-x: clip; }
.screen { grid-area: 1 / 1; display: flex; flex-direction: column; width: 100%; max-width: calc(var(--narrow) + 2 * var(--gutter)); margin: 0 auto; padding: 32px var(--gutter) 40px; min-width: 0; }
.screen.s-intro { max-width: none; padding: 0 0 20px; }
.screen.enter { animation: enter .36s var(--ease) both; }
.screen.enter.back { animation-name: enter-back; }
.screen.leave { animation: leave .22s var(--ease) both; pointer-events: none; }
.screen.leave.back { animation-name: leave-back; }
@keyframes enter { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes enter-back { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes leave { to { opacity: 0; transform: translateX(-12px); } }
@keyframes leave-back { to { opacity: 0; transform: translateX(12px); } }

/* ---------- typografie ---------- */
.kicker { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .02em; margin: 0 0 14px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 10px; }
.h1 { font-size: clamp(28px, 7.6vw, 60px); line-height: 1.14; font-weight: 700; letter-spacing: -.015em; margin: 0 0 18px; text-wrap: balance; }
.h1 .accent { color: var(--accent); }
.h2 { font-size: clamp(24px, 6.4vw, 34px); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; margin: 0 0 14px; text-wrap: balance; }
.lead { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 26px; text-wrap: pretty; }
.small { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- tlačítka ---------- */
.btn { appearance: none; border: 0; border-radius: var(--r); min-height: 56px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; transition: transform .12s var(--ease), background-color .15s, opacity .2s; -webkit-tap-highlight-color: transparent; }
.btn > span:empty { display: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-text); width: 100%; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-primary[disabled] { opacity: .45; cursor: default; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-cta { flex-direction: column; gap: 2px; padding: 13px 22px; min-height: 64px; text-align: center; max-width: 480px; }
.cta-main { font-size: 17px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; line-height: 1.25; }
.cta-sub { font-size: 14px; font-weight: 500; opacity: .92; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

/* ---------- hero ---------- */
.hero { max-width: 900px; margin: 0 auto; padding: 28px var(--gutter) 30px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero .proof { margin: 0 0 26px; max-width: 360px; }
.hero .proof img { border-radius: 999px; }
.hero .h1 { margin-bottom: 16px; }
.hero .lead { max-width: 640px; }
.hero .hero-pic { margin: 4px 0 22px; width: 100%; }
.cta-lead { font-size: 17px; font-weight: 500; margin: 6px 0 22px; max-width: 640px; }
.intro-meta { display: flex; flex-wrap: wrap; justify-content: center; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.intro-meta span + span::before { content: "/"; margin: 0 10px; color: var(--line); }

/* běžící pás */
.ticker { overflow: hidden; padding: 12px 0 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker-row { display: flex; gap: 40px; padding-right: 40px; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 600; font-size: 15px; }
.ticker-item i { width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, var(--bg)); display: grid; place-items: center; flex: none; }
.ticker-item i::before { content: ""; width: 8px; height: 4px; border: 2px solid var(--accent); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- obrázky ---------- */
.pic { margin: 0; }
.pic img { display: block; width: 100%; height: auto; border-radius: var(--r); }

/* ---------- sekce ---------- */
.lp { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 48px var(--gutter) 0; width: 100%; }
.lp-title { font-size: clamp(24px, 6.2vw, 38px); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; margin: 0 0 14px; text-wrap: balance; }
.lp-sub { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 28px 0 10px; }
.lp-text { font-size: 18px; line-height: 1.55; color: var(--muted); margin: 0 0 24px; max-width: 36em; }
.lp-text.strong { color: var(--text); font-weight: 600; margin-top: 22px; }
.lp-kicker { font-size: 16px; font-weight: 600; color: var(--accent); margin: 0 0 14px; }
.lp .btn-cta { margin: 30px auto 0; display: flex; }
.lp-body { min-width: 0; }
.split .pic { margin-bottom: 26px; }

.marks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.marks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 17px; line-height: 1.5; }
.marks i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; position: relative; }
.marks.good i { background: var(--accent); }
.marks.good i::before { content: ""; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.marks.bad i { background: color-mix(in srgb, var(--bad) 13%, var(--bg)); }
.marks.bad i::before, .marks.bad i::after { content: ""; position: absolute; width: 9px; height: 2px; border-radius: 2px; background: var(--bad); transform: rotate(45deg); }
.marks.bad i::after { transform: rotate(-45deg); }

.lp-statement { max-width: 820px; text-align: center; }
.statement { font-size: clamp(20px, 5vw, 28px); line-height: 1.45; font-weight: 600; margin: 0; text-wrap: balance; }
.notice { max-width: 780px; margin: 44px auto 0; width: calc(100% - 2 * var(--gutter)); padding: 16px 20px; border-radius: var(--r); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--bg)); font-size: 16px; font-weight: 600; line-height: 1.5; text-align: center; }

.lp-story p { font-size: 17px; line-height: 1.7; margin: 0 0 16px; color: color-mix(in srgb, var(--text) 85%, transparent); max-width: 36em; }

.compare { display: grid; gap: 14px; margin-top: 10px; }
.compare .col { padding: 26px 24px; border-radius: var(--r); background: var(--surface); }
.compare .col.good { background: var(--bg); border: 2px solid var(--accent); }
.col-title { font-size: 20px; font-weight: 700; margin: 0 0 16px; }

.lp-features .lp-text { margin-bottom: 30px; }
.features { display: grid; gap: 24px; }
.feature h3 { font-size: 18px; line-height: 1.35; font-weight: 700; margin: 0 0 6px; }
.feature p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }

.bonuses { display: grid; gap: 14px; margin-top: 10px; }
.bonus { padding: 24px 22px; background: var(--surface); border-radius: var(--r); display: flex; flex-direction: column; }
.bonus h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.bonus p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.bonus .bonus-price { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin-top: auto; padding-top: 16px; }
.bonus-price s { color: var(--muted); font-weight: 500; font-size: 14px; }
.bonus-price strong { color: var(--accent); font-weight: 700; font-size: 14px; }

.lp-cta { text-align: center; }
.lp-cta .pic { max-width: 820px; margin: 6px auto 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0 0; }
.stats div { padding: 20px 8px; text-align: center; background: var(--surface); border-radius: var(--r); }
.stats dt { font-size: clamp(20px, 5.6vw, 32px); font-weight: 700; line-height: 1.15; }
.stats dd { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.35; }

.value { display: grid; gap: 24px; margin-top: 10px; align-items: start; }
.value-total { padding: 24px; border-radius: var(--r); border: 2px solid var(--accent); text-align: center; }
.value-total .total { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--muted); }
.value-total .price { margin: 0; font-size: clamp(20px, 5vw, 26px); font-weight: 700; color: var(--accent); text-wrap: balance; }

.lp-faq { max-width: calc(820px + 2 * var(--gutter)); padding-bottom: 50px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: 0 0 16px; height: 16px; position: relative; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--accent); transition: transform .2s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: -6px 0 20px; color: var(--muted); font-size: 16px; line-height: 1.6; padding-right: 32px; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
.sticky-cta.on { transform: none; }
.sticky-cta .btn { max-width: 520px; margin: 0 auto; display: flex; min-height: 56px; padding: 9px 16px; }
.sticky-cta .cta-main { font-size: 15px; }
.sticky-cta .cta-sub { font-size: 12px; }

/* ---------- quiz ---------- */
.q-text { margin-bottom: 8px; }
.q-helper { margin: 0 0 6px; }
.answers { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.answer { width: 100%; display: block; text-align: left; min-height: 60px; padding: 16px 18px; background: var(--bg); border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; font-size: 17px; font-weight: 500; line-height: 1.35; transition: border-color .15s, background-color .15s, color .15s; -webkit-tap-highlight-color: transparent; }
.answer .key { display: none; }
@media (hover: hover) { .answer:hover { border-color: var(--accent); } }
.answer.is-selected { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.q-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; min-height: 44px; }
.back { background: none; border: 0; padding: 10px 0; cursor: pointer; color: var(--muted); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.back:hover { color: var(--text); }
.q-next { width: auto; min-width: 160px; }
.s-evaluating { justify-content: center; min-height: calc(100dvh - 200px); }
.segments { display: grid; grid-auto-flow: column; gap: 4px; margin: 0 0 24px; }
.segments i { display: block; height: 5px; border-radius: 3px; background: var(--line); }
.segments.run i { animation: seg 1s var(--ease) both; }
@keyframes seg { to { background: var(--accent); } }

/* výsledek (volitelný) */
.result-name { margin-bottom: 12px; }
.result-tagline { font-size: 19px; line-height: 1.35; font-weight: 600; color: var(--accent); margin: 0 0 16px; }
.result-desc { font-size: 17px; line-height: 1.6; margin: 0 0 26px; color: var(--muted); }
.tips-title { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.tips { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.tips li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; }
.tips b { font-size: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.tips b::before { content: ""; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.bridge { padding: 18px; background: var(--surface); border-radius: var(--r); margin: 0 0 22px; }
.disclaimer { margin: 16px 0 0; }

/* formulář */
.form { display: grid; gap: 18px; margin-top: 4px; }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.field input { width: 100%; min-height: 56px; padding: 0 16px; font-size: 17px; background: var(--bg); border: 2px solid var(--line); border-radius: var(--r); outline: none; transition: border-color .15s; }
.field input::placeholder { color: #9AA09B; }
.field input:focus { border-color: var(--accent); }
.field.has-error input { border-color: var(--danger); }
.err { color: var(--danger); font-size: 14px; margin: 6px 0 0; }
.err:empty, .form-error:empty { display: none; }
.info { font-size: 15px; padding: 14px 16px; background: var(--surface); border-radius: var(--r); margin: 0; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: 15px; line-height: 1.5; }
.check input { appearance: none; margin: 0; width: 22px; height: 22px; border: 2px solid #9AA09B; border-radius: 5px; background: var(--bg); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check.has-error input { border-color: var(--danger); }
.privacy { font-size: 13px; color: var(--muted); margin: 0; }
.privacy a { color: var(--text); text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); font-size: 15px; margin: 0; }
.btn .spin { width: 18px; height: 18px; margin-right: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* děkovací stránka */
.thanks { text-align: center; padding-top: 8px; }
.thanks .lead { margin-bottom: 26px; }
.joins { display: grid; gap: 12px; text-align: left; }
.join { display: grid; grid-template-columns: 44px 1fr 16px; gap: 14px; align-items: center; padding: 18px; border-radius: var(--r); text-decoration: none; color: #fff; transition: transform .12s var(--ease), filter .15s; }
.join:hover { filter: brightness(1.06); }
.join:active { transform: translateY(1px); }
.join-telegram { background: #229ED9; }
.join-whatsapp { background: #1FA855; }
.join.is-missing { background: var(--surface); color: var(--muted); }
.join .ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.join .ico svg { width: 24px; height: 24px; }
.join strong { display: block; font-size: 17px; font-weight: 700; }
.join .badge { display: inline-block; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; background: #fff; color: #1C88C2; padding: 3px 8px; border-radius: 999px; margin-bottom: 6px; }
.join small { display: block; font-size: 14px; opacity: .9; }
.thanks-note { margin-top: 18px; }

/* výběr platformy (starší režim) */
.platforms { display: grid; gap: 10px; margin-top: 6px; }
.platform { display: grid; grid-template-columns: 40px 1fr 16px; gap: 14px; align-items: center; text-align: left; width: 100%; padding: 18px; background: var(--bg); border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; }
.platform:hover { border-color: var(--accent); }
.platform[aria-busy="true"] { opacity: .5; pointer-events: none; }
.platform .ico { width: 40px; height: 40px; display: grid; place-items: center; color: var(--accent); }
.platform strong { display: block; font-size: 18px; font-weight: 700; }
.platform small { display: block; color: var(--muted); font-size: 14px; }
.done-link { margin: 12px 0 0; font-size: 13px; color: var(--muted); word-break: break-all; }
.done-steps { list-style: none; padding: 0; margin: 26px 0 0; }
.done-steps li { display: grid; grid-template-columns: 30px 1fr; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.done-steps li b { font-weight: 700; color: var(--text); }
.done-steps li.ok b { color: var(--accent); }

/* ---------- patička, cookie lišta ---------- */
.foot { background: #171717; color: #A8A8A8; font-size: 12px; line-height: 1.6; }
.foot-in { max-width: var(--wide); margin: 0 auto; padding: 28px var(--gutter) calc(30px + env(safe-area-inset-bottom)); }
.foot p { margin: 0 0 10px; }
.foot-links { display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 13px; margin-bottom: 16px !important; }
.foot-links a, .foot-links .linklike { color: #DDE2DE; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-logo { display: block; height: 30px; width: auto; }
#footCopy { color: #A8A8A8; font-size: 11px; }
.consent { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; z-index: 20; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, .14); }
.consent p { margin: 0 0 12px; font-size: 14px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-actions .btn { min-height: 46px; font-size: 14px; padding: 0 10px; }
#consentAccept { background: var(--accent); color: #fff; border: 0; }
.loader { margin: 30vh auto 0; width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.noscript { padding: 40px 20px; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .screen.enter, .screen.leave { animation-duration: .01s; }
  .ticker-track { animation: none; width: auto; }
  .ticker-row { flex-wrap: wrap; justify-content: center; gap: 10px 24px; padding: 0 var(--gutter); }
  .ticker-row[aria-hidden] { display: none; }
  .ticker { -webkit-mask-image: none; mask-image: none; }
}

@media (min-width: 860px) {
  :root { --gutter: 32px; }
  .screen { padding-top: 56px; }
  .hero { padding-top: 44px; padding-bottom: 36px; }
  .lp { padding-top: 80px; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .split .pic { margin-bottom: 0; }
  .split .btn-cta { margin-left: 0; }
  .lp-list:not(.split), .lp-features, .lp-compare, .lp-value, .lp-stats { max-width: calc(980px + 2 * var(--gutter)); }
  .compare { grid-template-columns: 1fr 1fr; gap: 20px; }
  .features { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .bonuses { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .value { grid-template-columns: 1.4fr 1fr; gap: 40px; }
  .sticky-cta { display: none; }
}

/* =====================================================================
   Úprava 5. 11. – menší hlavička/logo, kompaktní symetrická patička,
   kvíz přes celou obrazovku a bohatší obrazovka otázky.
   ===================================================================== */
:root { --page: #F3F5F2; --card: #FFFFFF; --edge: #E1E6E0; }
body[data-mode="quiz"] { background: var(--page); }

/* hlavička */
.bar-in { height: 56px; }
.brand .logo { height: 28px; }
.countdown { font-size: 20px; letter-spacing: -.6px; }
.countdown i { padding: 0 2px; }
.bar-meta { display: none; }
.progress { height: 4px; background: #2A2D2A; }
@media (max-width: 760px) {
  .bar-in { height: 50px; width: calc(100% - 32px); }
  .brand .logo { height: 22px; }
  .bar-count { position: static; transform: none; margin-left: auto; }
  .countdown { font-size: 17px; letter-spacing: -.4px; }
}

/* obrazovky kvízu vyplní celé okno – patička je až pod ním */
body[data-mode="quiz"] .screen { max-width: 600px; padding: 22px 16px 26px; min-height: calc(100svh - 56px); }
@media (max-width: 760px) { body[data-mode="quiz"] .screen { min-height: calc(100svh - 50px); padding-top: 18px; } }

/* obrazovka otázky */
.q-wrap { display: flex; flex-direction: column; flex: 1; }
.q-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.q-pct { color: var(--accent); font-variant-numeric: tabular-nums; }
.q-segs { display: grid; gap: 5px; margin-bottom: 26px; }
.q-segs i { height: 6px; border-radius: 3px; background: #DDE3DC; }
.q-segs i.done { background: var(--accent); }
.q-segs i.now { background: linear-gradient(90deg, var(--accent) 35%, #DDE3DC 35%); }
.q-text { font-size: clamp(24px, 6.6vw, 30px); line-height: 1.22; margin: 0 0 6px; }
.q-helper { margin: 0 0 4px; font-size: 15px; color: var(--muted); }
.answers { margin-top: 20px; gap: 10px; }
.answer {
  display: grid; grid-template-columns: 1fr 22px; align-items: center; gap: 14px;
  min-height: 64px; padding: 16px 18px;
  background: var(--card); border: 1.5px solid var(--edge); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(18, 28, 18, .04);
  font-size: 17px; font-weight: 600; color: var(--text);
}
.answer .key { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--page); font-size: 15px; font-weight: 700; color: var(--muted); }
.answer .emo { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--page); font-size: 21px; line-height: 1; }
.answer .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #C9D1C8; display: grid; place-items: center; transition: all .15s; }
@media (hover: hover) { .answer:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--edge)); } }
.answer.is-selected { background: color-mix(in srgb, var(--accent) 7%, #fff); border-color: var(--accent); color: var(--text); }
.answer.is-selected .emo, .answer.is-selected .key { background: color-mix(in srgb, var(--accent) 16%, #fff); }
.answer.is-selected .radio { border-color: var(--accent); background: var(--accent); }
.answer.is-selected .radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.q-nav { margin-top: 14px; }
.q-foot { margin-top: auto; padding-top: 28px; text-align: center; }
.q-trust { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.q-trust .lock { width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h1Zm2 0h6V7a3 3 0 0 0-6 0v3Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h1Zm2 0h6V7a3 3 0 0 0-6 0v3Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.q-proof { display: block; width: 100%; max-width: 300px; height: auto; margin: 14px auto 0; border-radius: 999px; }

/* formulář a děkovací stránka na šedém pozadí */
body[data-mode="quiz"] .field input { background: var(--card); border-color: var(--edge); border-radius: 12px; }
body[data-mode="quiz"] .info { background: var(--card); border: 1px solid var(--edge); border-radius: 12px; }
body[data-mode="quiz"] .btn-primary { border-radius: 12px; }
body[data-mode="quiz"] .join { border-radius: 14px; }

/* patička – kompaktní a symetrická */
.foot-in { max-width: 640px; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); text-align: center; }
.foot-links { justify-content: center; gap: 6px 18px; font-size: 12px; margin-bottom: 12px !important; }
.foot-links a, .foot-links .linklike { color: #C9CCC9; text-decoration: none; }
.foot-links a:hover, .foot-links .linklike:hover { text-decoration: underline; }
.foot-brand { flex-basis: 100%; justify-content: center; gap: 8px; margin-bottom: 4px; }
.foot-logo { height: 20px; }
#footCopy { font-size: 11px; color: #8B8E8B; }
#footLegal, #footMeta { font-size: 10.5px; line-height: 1.55; color: #7E817E; max-width: 560px; margin: 0 auto 6px; }

/* Úprava 5. 11. večer – obsah kvízu a formuláře o kus níž (ne úplně na střed) */
body[data-mode="quiz"] .screen:not(.s-intro) { padding-top: clamp(40px, 9vh, 96px); }
@media (max-width: 760px) { body[data-mode="quiz"] .screen:not(.s-intro) { padding-top: clamp(28px, 6vh, 56px); } }
