/* ==========================================================================
   Golden — landing site
   Layout: full-viewport hero (nav pills, giant GOLDEN word stretched to the
   viewport height, one Golden Storybook fox family, a flying brand star,
   bottom headline + CTA) — then a quiet, left-aligned content column.
   ========================================================================== */

:root {
  /* color */
  --amber: #F59E0B;        /* hero top — app brand gradient stop 1 */
  --gold: #FBBF24;         /* hero bottom */
  --ember: #B45309;        /* deep amber: pills, buttons on the hero */
  --ink: #2A1A06;          /* chocolate: text + the "pro rodiče" section */
  --cocoa: #3A2810;        /* secondary text on light ground */
  --cream: #FFF8E1;        /* tint (app token gold50) */
  --paper: #FFFFFF;
  --line: #F3E3B8;         /* warm hairline */
  --lavender: #8B7CF6;     /* child theme accents from the app */
  --mint: #67D5B5;
  --peach: #FFB88C;
  --star: #FFD05B;

  /* type */
  --font-display: "Baloo 2", "Nunito", "Avenir Next Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  /* rhythm */
  --gutter: clamp(16px, 4vw, 48px);
  --measure: 62ch;
  --radius-pill: 999px;
  --radius-panel: 28px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg, picture { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible { outline-color: #fff; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --------------------------------------------------------------------------
   HERO — v1 layout: gradient, pill nav, "Golden Kids" wordmark in the
   foreground (not stretched into the background), fox centre, bottom panel
   with black text. Flex column, so nothing overlaps.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  max-height: 1080px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: linear-gradient(180deg, var(--amber) 0%, var(--gold) 100%);
}

/* nav */
.nav {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.brand__dots { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.brand__dots i { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
@media (min-width: 640px) { .brand__dots i { width: 12px; height: 12px; } }
.nav__links { display: none; gap: 4px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .nav__links { display: flex; } }
.nav__links a, .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: var(--radius-pill);
  background: #fff; color: var(--ember);
  font-size: 15px; font-weight: 700; text-decoration: none; line-height: 1.2;
  border: 0; cursor: pointer;
  transition: opacity .2s, background .2s, transform .2s var(--ease-out);
}
.nav__links a:hover, .pill:hover { opacity: .9; }
.pill svg { width: 18px; height: 18px; flex: none; }
.pill--ember { background: var(--ember); color: #fff; }
.pill--outline { background: transparent; color: #101010; border: 2px solid #101010; }
.pill--outline:hover { background: rgba(16,16,16,.06); opacity: 1; }
.pill--lg { padding: 12px 22px; font-size: 15.5px; }
@media (min-width: 640px) { .pill--lg { padding: 14px 28px; font-size: 17px; } }
.pill--lg:hover { transform: scale(1.03); }
.nav__right { display: flex; align-items: center; gap: 8px; }
.lang { background: rgba(255,255,255,.22); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.lang:hover { background: rgba(255,255,255,.32); opacity: 1; }
.menu-btn .menu-btn__label { display: none; }
@media (min-width: 640px) { .menu-btn .menu-btn__label { display: inline; } }

/* wordmark — always together, foreground */
.hero-mark {
  position: relative; z-index: 5;
  display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; column-gap: .22em;
  padding: 0 var(--gutter);
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(60px, 10.5vw, 150px); line-height: .95; letter-spacing: -0.03em;
  -webkit-text-stroke: .045em #B45309; paint-order: stroke fill;
  filter: drop-shadow(0 .06em .12em rgba(120,60,0,.35));
}
.hero-mark__golden { color: #FFE066; }
.hero-mark__kids { color: #fff; }

/* fox family — flex row, can never overlap the panel */
.hero-figure {
  position: relative; z-index: 6;
  flex: 1 1 auto; min-height: 0;
  display: flex; justify-content: center; align-items: flex-end;
  padding: 0 var(--gutter);
  margin-top: -0.6em;
  pointer-events: none;
}
.hero-figure__box { position: relative; height: 100%; width: min(100%, 540px); }
.hero-figure__box .hero-family {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center bottom;
  filter: drop-shadow(0 18px 24px rgba(120,60,0,.22));
}
.hero-figure__box .hero-flying-star {
  position: absolute; z-index: 2; top: 5%; right: 1%;
  width: clamp(58px, 10vw, 104px); height: auto;
  filter: drop-shadow(0 10px 16px rgba(104,42,4,.28));
}
@media (prefers-reduced-motion: no-preference) {
  .hero-family { animation: heroFamilyIn .8s .08s var(--ease-out) both; }
  .hero-flying-star {
    animation: heroStarIn .92s .04s var(--ease-out) both,
      heroStarFloat 1.8s 1.02s ease-in-out 2 alternate;
  }
  @keyframes heroFamilyIn {
    from { opacity: 0; transform: translateY(34px) scale(.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  @keyframes heroStarIn {
    from { opacity: 0; transform: translate(-180px, 210px) rotate(-190deg) scale(.24); }
    78% { opacity: 1; transform: translate(7px, -8px) rotate(10deg) scale(1.12); }
    to { opacity: 1; transform: translate(0, 0) rotate(0) scale(1); }
  }
  @keyframes heroStarFloat {
    from { transform: translateY(0) rotate(0); }
    to { transform: translateY(-8px) rotate(3deg); }
  }
}

/* bottom panel — black text on a light panel */
.hero-bottom {
  position: relative; z-index: 30;
  padding: 12px var(--gutter) 24px;
  display: flex; justify-content: center;
}
@media (min-width: 640px) { .hero-bottom { padding-bottom: 40px; } }
.hero-panel {
  width: min(100%, 680px);
  background: rgba(255,255,255,.88);
  color: #101010;
  border-radius: 24px;
  padding: 18px 20px;
  display: grid; gap: 14px; justify-items: center; text-align: center;
  box-shadow: 0 16px 40px rgba(120,60,0,.18);
  backdrop-filter: blur(6px);
}
@media (min-width: 640px) { .hero-panel { padding: 22px 28px; } }
.hero-panel h1 {
  font-family: var(--font-body); font-weight: 700; font-size: clamp(16px, 2vw, 22px); line-height: 1.35; color: #101010; max-width: 36ch;
}
.hero-bottom__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* --------------------------------------------------------------------------
   MENU OVERLAY
   -------------------------------------------------------------------------- */
.menu { position: fixed; inset: 0; z-index: 50; visibility: hidden; transition: visibility 0s linear .5s; }
.menu[data-open="true"] { visibility: visible; transition-delay: 0s; }
.menu__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s var(--ease-out); border: 0; padding: 0; cursor: pointer; }
.menu[data-open="true"] .menu__backdrop { opacity: 1; }
.menu__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: 100%;
  padding: 16px var(--gutter) 0;
  background: linear-gradient(135deg, #E48A05 0%, var(--gold) 100%);
  color: #fff;
  transform: translateX(100%);
  transition: transform .5s var(--ease-out);
  display: flex; flex-direction: column;
}
@media (min-width: 640px) { .menu__panel { width: 380px; padding-left: 24px; padding-right: 24px; } }
.menu[data-open="true"] .menu__panel { transform: translateX(0); }
.menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.menu__close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.2); color: #fff; display: grid; place-items: center; cursor: pointer; }
.menu__close:hover { background: rgba(255,255,255,.3); }
.menu__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.menu__list a {
  display: block; padding: 16px 24px; border-radius: 18px;
  background: rgba(255,255,255,.12); color: #fff; text-decoration: none;
  font-size: 18px; font-weight: 700;
  opacity: 0; transform: translateY(16px);
  transition: opacity .3s, transform .3s, background .3s;
}
.menu__list a:hover { background: rgba(255,255,255,.22); }
.menu[data-open="true"] .menu__list a { opacity: 1; transform: translateY(0); }
.menu__cta { margin-top: auto; padding: 24px 0; opacity: 0; transition: opacity .4s; }
.menu[data-open="true"] .menu__cta { opacity: 1; transition-delay: .45s; }
.menu__cta .pill { width: 100%; justify-content: center; padding: 16px; font-size: 16px; }

/* --------------------------------------------------------------------------
   CONTENT
   -------------------------------------------------------------------------- */
.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: #FFF3D0; }
.section__head { max-width: var(--measure); display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head h2 { font-size: clamp(30px, 4.4vw, 48px); }
.section__head p { font-size: clamp(17px, 1.6vw, 20px); color: var(--cocoa); max-width: 54ch; }
.section--ink .section__head p { color: rgba(255,243,208,.78); }
.kicker { font-family: var(--font-display); font-weight: 600; color: var(--ember); font-size: 17px; }
.section--ink .kicker { color: var(--gold); }

/* one-shot section entrance; content stays visible when JS is unavailable */
.has-js .reveal { opacity: 0; transform: translateY(30px); }
.has-js .reveal.is-visible {
  opacity: 1; transform: translateY(0);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

/* what it does — three columns without cards */
.trio { display: grid; gap: 36px; }
@media (min-width: 720px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.trio > div { display: grid; gap: 12px; align-content: start; min-width: 0; }
.trio h3 { font-size: 23px; }
.trio p { color: var(--cocoa); }
/* panel: ikona vlevo, ilustrace lišek vpravo nahoře */
.trio__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-height: 120px; }
.trio__art { width: clamp(120px, 34%, 168px); height: auto; margin-top: -16px; filter: drop-shadow(0 10px 14px rgba(120,60,0,.16)); }
.glyph { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #fff; }
.glyph svg { width: 28px; height: 28px; }
.glyph--gold { background: linear-gradient(135deg, var(--amber), var(--gold)); }
.glyph--lavender { background: linear-gradient(135deg, #7C5CF6, #A594FF); }
.glyph--mint { background: linear-gradient(135deg, #2FB894, var(--mint)); }

/* character system — one horizontal family, not another grid of cards */
.avatar-showcase {
  overflow: hidden;
  background: linear-gradient(135deg, #FFF4DF 0%, #FFE2D4 52%, #EFE5FF 100%);
}
.avatar-showcase__grid { display: grid; gap: 26px; align-items: center; }
@media (min-width: 860px) {
  .avatar-showcase__grid { grid-template-columns: minmax(250px, .7fr) minmax(0, 1.5fr); gap: 46px; }
}
.avatar-showcase__copy { display: grid; gap: 14px; max-width: 42ch; }
.avatar-showcase__copy h2 { font-size: clamp(30px, 4.4vw, 48px); }
.avatar-showcase__copy p { color: var(--cocoa); }
.avatar-showcase__art {
  width: 100%; height: auto;
  filter: drop-shadow(0 18px 22px rgba(120,60,0,.16));
}

.journey-art {
  margin: clamp(-24px, -2vw, -8px) auto clamp(42px, 7vw, 78px);
  max-width: 1060px;
}
.journey-art img { width: 100%; height: auto; }

/* how it works — steps with phone mocks (a real sequence, so it's numbered) */
.steps { display: grid; gap: clamp(48px, 7vw, 96px); }
.step { display: grid; gap: 28px; align-items: center; }
@media (min-width: 820px) {
  .step { grid-template-columns: 1fr 1fr; gap: 56px; }
  .step:nth-child(even) .step__text { order: 2; }
}
.step__text { display: grid; gap: 14px; max-width: 48ch; min-width: 0; }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 15px; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; }
.step h3 { font-size: clamp(24px, 3vw, 32px); }
.step p { color: var(--cocoa); }
.step__text ul { margin: 4px 0 0; padding-left: 20px; color: var(--cocoa); display: grid; gap: 4px; }

/* phone frame + CSS mock; a real screenshot (img.shot) covers the mock when present */
.phone { position: relative; width: min(300px, 78vw); aspect-ratio: 1206 / 2622; /* iPhone 17 Pro screenshot, no crop */ margin-inline: auto; border-radius: 44px; background: #1a1208; padding: 10px; box-shadow: 0 30px 60px rgba(60,30,0,.25), inset 0 0 0 2px #3a2a12; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 96px; height: 26px; border-radius: 20px; background: #1a1208; z-index: 3; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, var(--amber), #F97316 60%, #EF4444); color: #fff; font-size: 12px; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; z-index: 2; }
.mock { position: absolute; inset: 0; padding: 54px 14px 14px; display: grid; gap: 10px; align-content: start; }
.mock__head { display: flex; align-items: center; gap: 8px; }
.mock__avatar { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.35); border: 2px solid rgba(255,255,255,.6); }
.mock__title { font-weight: 800; font-size: 13px; }
.mock__sub { font-size: 10.5px; opacity: .85; }
.mock__card { border-radius: 18px; padding: 12px; display: grid; gap: 8px; box-shadow: 0 8px 20px rgba(0,0,0,.14); }
.mock__card--lavender { background: linear-gradient(135deg, #8B7CF6, #A99BFF); }
.mock__card--mint { background: linear-gradient(135deg, #3FC49E, #79E0C3); }
.mock__card--peach { background: linear-gradient(135deg, #FF9F5A, #FFC08A); }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mock__name { font-weight: 800; font-size: 14px; }
.mock__stars { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 13px; }
.mock__stars::before { content: "★"; color: var(--star); }
.mock__bar { height: 7px; border-radius: 99px; background: rgba(255,255,255,.35); overflow: hidden; }
.mock__bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, rgba(255,255,255,.9), var(--star)); }
.mock__label { display: flex; justify-content: space-between; font-size: 10px; opacity: .9; }
.mock__list { display: grid; gap: 6px; }
.mock__quest { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: rgba(255,255,255,.18); font-weight: 700; }
.mock__quest em { font-style: normal; width: 22px; height: 22px; border-radius: 8px; background: rgba(255,255,255,.28); display: grid; place-items: center; font-size: 12px; }
.mock__quest span { flex: 1; }
.mock__quest b { font-size: 11px; opacity: .95; }
.mock__quest--done { background: rgba(255,255,255,.92); color: var(--ink); }
.mock__quest--done em { background: #34C759; color: #fff; }
.mock__toast { position: absolute; left: 14px; right: 14px; bottom: 16px; padding: 10px 12px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 800; box-shadow: 0 10px 24px rgba(0,0,0,.18); display: flex; gap: 8px; align-items: center; }
.mock__toast::before { content: "★"; color: var(--amber); font-size: 15px; }
.mock__wish { background: rgba(255,255,255,.92); color: var(--ink); }
.mock__wish .mock__bar { background: #F3E3B8; }
.mock__wish .mock__bar i { background: linear-gradient(90deg, var(--amber), var(--gold)); }
.mock__emoji { font-size: 26px; line-height: 1; }
.mock__tabbar { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 44px; border-radius: 99px; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.35); display: flex; align-items: center; justify-content: space-around; font-size: 10px; font-weight: 800; backdrop-filter: blur(8px); }
.mock__tabbar span.is-on { background: #fff; color: var(--ember); padding: 6px 12px; border-radius: 99px; }

/* for parents — the manifesto */
.manifesto { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .manifesto { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.manifesto__text { display: grid; gap: 18px; max-width: 56ch; min-width: 0; }
.manifesto__text h2 { font-size: clamp(30px, 4.4vw, 48px); color: #fff; }
.manifesto__text p { font-size: 18px; color: rgba(255,243,208,.86); }
.manifesto__quote { border-left: 4px solid var(--gold); padding: 6px 0 6px 20px; font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2vw, 23px); line-height: 1.35; color: #fff; }
.manifesto__figure { position: relative; margin: 0; }
.manifesto__figure img { width: min(100%, 420px); margin-inline: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); }
.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tips li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: rgba(255,243,208,.92); font-size: 15.5px; }
.tips li::before { content: "★"; color: var(--gold); flex: none; margin-top: 2px; }

/* privacy */
.facts { display: grid; gap: 22px; }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts > div { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 3px solid var(--amber); min-width: 0; }
.facts h3 { font-size: 20px; }
.facts p { color: var(--cocoa); font-size: 16px; }
.section__foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; color: var(--cocoa); }
.section__foot a { color: var(--ember); font-weight: 700; }

/* faq */
.faq { display: grid; gap: 0; max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--ember); border-bottom: 2.5px solid var(--ember); translate: 0 -70%; rotate: 45deg; transition: rotate .25s; }
.faq details[open] summary::after { rotate: 225deg; translate: 0 -30%; }
.faq .faq__body { padding: 0 0 22px; color: var(--cocoa); max-width: 62ch; display: grid; gap: 10px; }

/* download */
.download { display: grid; gap: 32px; align-items: center; text-align: center; justify-items: center; }
.download h2 { font-size: clamp(32px, 5vw, 56px); color: #fff; max-width: 18ch; }
.download p { color: rgba(255,255,255,.9); max-width: 48ch; font-size: 18px; }
.download__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.download__note { font-size: 14px; color: rgba(255,255,255,.8); }
.section--gold { background: linear-gradient(180deg, var(--gold), var(--amber)); color: #fff; }
.download .phone { width: min(70vw, 280px); box-shadow: 0 30px 60px rgba(90,40,0,.35); }
.download .phone__screen { background: linear-gradient(180deg, var(--amber), #F97316 60%, #EF4444); }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; text-align: left; line-height: 1.1; }
.store:hover { background: #3a2610; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; opacity: .8; font-weight: 600; }
.store b { font-size: 17px; font-weight: 800; }
.store--soon { opacity: .55; cursor: default; pointer-events: none; }

/* footer */
.footer { padding-block: 40px; border-top: 1px solid var(--line); font-size: 15px; color: var(--cocoa); }
.footer .wrap { display: grid; gap: 20px; }
@media (min-width: 720px) { .footer .wrap { grid-template-columns: 1fr auto; align-items: start; } }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.footer__brand img { width: 36px; height: 36px; border-radius: 10px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer nav a { text-decoration: none; font-weight: 700; color: var(--ink); }
.footer nav a:hover { color: var(--ember); }
.footer__copy { display: grid; gap: 6px; }

/* --------------------------------------------------------------------------
   LEGAL PAGES
   -------------------------------------------------------------------------- */
.legal-top { background: linear-gradient(180deg, var(--amber), var(--gold)); color: #fff; }
.legal-top .nav { padding-inline: 0; }
.legal-top .nav__links a { color: var(--ember); }
.legal-top__title { padding: 24px 0 56px; display: grid; gap: 10px; }
.legal-top__title h1 { font-size: clamp(32px, 5vw, 52px); color: #fff; }
.legal-top__title p { color: rgba(255,255,255,.9); font-size: 17px; }
.legal { padding-block: 48px 96px; }
.legal .wrap { max-width: 780px; display: grid; gap: 28px; }
.legal h2 { font-size: 26px; margin-top: 12px; }
.legal h3 { font-size: 20px; margin-top: 6px; }
.legal p, .legal li { color: var(--cocoa); }
.legal ul, .legal ol { padding-left: 22px; margin: 0; display: grid; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.legal th, .legal td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--cocoa); }
.legal th { color: var(--ink); font-weight: 800; }
.legal .table-wrap { overflow-x: auto; }
.legal .callout { padding: 18px 20px; border-radius: 18px; background: var(--cream); border: 1px solid var(--line); color: var(--ink); }
.legal a { color: var(--ember); font-weight: 700; }
.legal .steps-list li { padding: 4px 0; }
.legal .meta { font-size: 14px; color: var(--cocoa); }

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

/* testovací prostředí (docs/ENVIRONMENTS.md) */
.env-bar { position: fixed; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 100; padding: 6px 12px; border-radius: 999px; background: #2A1A06; color: #FFD54A; font: 800 12px/1.2 var(--font-body); letter-spacing: .04em; box-shadow: 0 6px 18px rgba(0,0,0,.25); pointer-events: none; opacity: .92; }

/* brand icon instead of placeholder dots */
.brand__icon { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 2px 6px rgba(120,60,0,.25); }

/* store badges (oficiální odznaky Apple / Google) */
.badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.badge-link { position: relative; display: inline-flex; border-radius: 10px; transition: transform .2s var(--ease-out), opacity .2s; }
.badge-link:hover { transform: translateY(-1px); }
.badge-img { height: 50px; width: auto; display: block; }
.badge-link.is-soon .badge-img { opacity: .55; filter: grayscale(.2); }
.badge-link.is-soon::after { content: "Brzy"; position: absolute; top: -8px; right: -8px; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 800 11px/1.4 var(--font-body); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
html[lang="en"] .badge-link.is-soon::after { content: "Soon"; }
.badges__status { margin-top: 10px; font-size: 14px; color: var(--cocoa); max-width: 40ch; text-align: center; }
.section--gold .badges__status { color: #fff; font-weight: 700; }

/* čitelnější popisky (kontrast, velikost) */
.trio p, .step p, .step__text ul, .facts p { font-size: 16.5px; line-height: 1.6; color: var(--cocoa); }
.section__head p { color: var(--cocoa); }
.manifesto__text p { color: rgba(255,243,208,.94); }
.tips li { color: #FFF3D0; }
