/* Veřejné stránky (úvod, podpora, soukromí) – doplněk k app.css */
.site-head { max-width: 960px; margin: 0 auto; padding: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.site-head .spacer { flex: 1; }
.site-head a.link { color: var(--text); text-decoration: none; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.site-head a.link:hover { background: var(--chip); }
.site { max-width: 960px; margin: 0 auto; padding: 8px 16px 64px; }
.hero { text-align: center; padding: 40px 0 24px; }
.hero img { width: 120px; height: 120px; border-radius: 28px; }
.hero h1 { font-size: 44px; margin: 12px 0 4px; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 auto 20px; }
.hero .toolbar { justify-content: center; }
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 24px 0; }
.features .card h3 { color: var(--brand); }
.doc h2 { margin-top: 28px; }
.doc h3 { color: var(--brand); margin-top: 20px; }
.doc li { margin: 4px 0; }
.switch { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 8px 0 16px; }
.switch a { flex: 1; text-align: center; padding: 10px 12px; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 700; }
.switch a.active { background: var(--brand); color: #000; }
.site-foot { text-align: center; color: var(--muted); font-size: 14px; padding: 24px 16px; }
@media (max-width: 640px) { .hero h1 { font-size: 34px; } .hero p.lead { font-size: 17px; } }

/* ---------- Úvodní stránka (body.landing) */
.landing .hero-wrap {
  --night: #14161C;
  color: #F4F1EC;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(255,128,56,.35), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(120,170,255,.16), transparent 60%),
    repeating-linear-gradient(115deg, transparent 0 46px, rgba(255,255,255,.025) 46px 48px),
    var(--night);
  padding-bottom: 56px;
  border-radius: 0 0 36px 36px;
  overflow: hidden;
}
.landing .site-head .brand { color: #fff; }
.landing .site-head a.link { color: #E9E5DF; }
.landing .site-head a.link:hover { background: rgba(255,255,255,.1); }

.landing .hero {
  max-width: 1040px; margin: 0 auto; padding: 48px 16px 0; text-align: left;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.landing .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--brand); margin: 0 0 14px; }
.landing .hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 20px; }
.landing .hero h1 .hl { color: var(--brand); }
.landing .hero p.lead { font-size: 20px; color: #C9C4BD; margin: 0 0 28px; max-width: 520px; }
.landing .hero .toolbar { justify-content: flex-start; gap: 12px; }
.landing .btn.big { min-height: 54px; padding: 12px 24px; font-size: 17px; border-radius: 14px; gap: 10px; }
.landing .btn.big svg { width: 22px; height: 22px; margin-top: -3px; }
.landing .btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.landing .btn.ghost:hover { background: rgba(255,255,255,.1); }
.landing .trial { color: #A39E97; font-size: 14px; margin: 14px 0 0; }

/* telefon s ukázkou žebříčku */
.landing .phone {
  justify-self: center; width: 290px; padding: 12px; border-radius: 44px;
  background: linear-gradient(160deg, #3A3D46, #1B1D23); box-shadow: 0 40px 80px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(4deg);
}
.landing .phone-screen { text-align: left; background: #F5F3F0; color: #1C1C1E; border-radius: 34px; padding: 28px 16px 20px; }
.landing .ps-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.landing .chip-snow { font-size: 11px; font-weight: 700; background: #E7F0FF; color: #2D5BA8; padding: 4px 8px; border-radius: 999px; }
.landing .rank {
  position: relative; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px;
  background: #fff; border-radius: 14px; padding: 12px 12px 16px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.05);
  font-size: 15px; font-weight: 600;
}
.landing .rank b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #EFECE7; font-size: 13px; }
.landing .rank em { font-style: normal; font-variant-numeric: tabular-nums; color: #C8382E; font-weight: 700; }
.landing .rank i { position: absolute; left: 12px; right: 12px; bottom: 7px; height: 3px; border-radius: 3px; background: #EFECE7; }
.landing .rank i::after { content: ""; display: block; height: 100%; width: var(--w); border-radius: 3px; background: #F0A27A; }
.landing .rank.first { background: #FF8038; color: #111; }
.landing .rank.first b { background: rgba(0,0,0,.14); }
.landing .rank.first em { color: #111; }
.landing .ps-foot { text-align: center; font-size: 12px; color: #6B6B70; margin-top: 10px; }

/* přínosy */
.landing .site { max-width: 1040px; }
.landing .benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 56px 0 40px; }
.landing .benefit h3 { font-size: 19px; margin: 14px 0 6px; }
.landing .benefit p { color: var(--muted); margin: 0; }
.landing .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 16%, transparent); }
.landing .ico svg { width: 24px; height: 24px; fill: none; stroke: var(--brand-strong); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* jak to funguje – rozbalovací */
.landing .how { padding: 0; }
.landing .how summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; }
.landing .how summary::-webkit-details-marker { display: none; }
.landing .how summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.landing .how[open] summary::after { content: "−"; }
.landing .how ol { margin: 0; padding: 0 20px 20px 40px; color: var(--muted); }
.landing .how li { margin: 8px 0; }
.landing .how li b { color: var(--text); }

/* výzva a svazy */
.landing .cta { text-align: center; margin: 64px 0 24px; }
.landing .cta h2 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 20px; }
.landing .clubs { text-align: center; color: var(--muted); font-size: 14px; margin: 32px 0 0; }

@media (max-width: 820px) {
  .landing .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 24px; text-align: center; }
  .landing .hero p.lead { margin-left: auto; margin-right: auto; font-size: 18px; }
  .landing .hero .toolbar { justify-content: center; }
  .landing .phone { transform: none; width: 260px; }
  .landing .benefits { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
}
@media (max-width: 480px) {
  .landing .hero .btn.big { width: 100%; justify-content: center; }
}

/* Mobil: horní lišta na jeden řádek (logo, Podpora, jazyk, Přihlásit) */
@media (max-width: 520px) {
  .site-head { flex-wrap: nowrap; gap: 4px; padding: 12px 12px; }
  .site-head .brand { font-size: 17px; gap: 8px; white-space: nowrap; }
  .site-head .brand img { width: 30px; height: 30px; }
  .site-head a.link { padding: 6px 7px; font-size: 14px; white-space: nowrap; }
  .site-head .btn.small { padding: 6px 12px; font-size: 14px; white-space: nowrap; min-height: 34px; }
}
@media (max-width: 360px) {
  .site-head a.link[href="/support.html"] { display: none; }
}

/* Android: lišta „Stáhnout z Google Play“ (obdoba Smart App Banneru v Safari) */
.play-banner { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  background: #1E1E1E; color: #F2F2F2; border-bottom: 1px solid #2C2C2E; }
.play-banner[hidden] { display: none; }
.play-banner img { width: 36px; height: 36px; border-radius: 9px; }
.play-banner .pb-text { flex: 1; display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
.play-banner .pb-text span { color: #A0A0A5; }
.play-banner .pb-close { background: none; border: 0; color: #A0A0A5; font-size: 24px; line-height: 1; padding: 4px 6px; cursor: pointer; }
