/* STANAG English School – úvodní stránka (aplikace na prvním místě) */
:root {
  --ink: #0c2345;
  --ink-soft: #3d4c68;
  --muted: #8d98ad;
  --blue: #155fe8;
  --blue-dark: #0f4fc7;
  --sky: #e8f0ff;
  --sky-line: #c5d3ee;
  --gold: #f0b52f;
  --paper: #fbfcff;
  --line: #dfe6f3;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- typografie ---------- */
.display { font-weight: 900; letter-spacing: -0.055em; line-height: 0.88; }
.h1 { font-size: clamp(56px, 8.4vw, 124px); }
.h2 { font-size: clamp(40px, 5.4vw, 76px); line-height: 0.92; letter-spacing: -0.05em; font-weight: 900; }
.h3 { font-size: clamp(36px, 4.4vw, 60px); line-height: 0.95; letter-spacing: -0.05em; font-weight: 900; }
.blue { color: var(--blue); }
.lead { font-size: 21px; color: var(--ink-soft); }
.soft { color: var(--ink-soft); }

/* ---------- navigace ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 252, 255, 0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e3e9f5;
}
.nav .wrap { padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.brand img { width: 38px; height: 38px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 500; }
.nav-links a { color: var(--ink); text-decoration: none; padding: 12px 0; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { background: var(--blue); color: #fff !important; font-weight: 700; padding: 11px 18px !important; border-radius: 10px; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.nav-cta:active { transform: scale(0.97); }
.menu-btn { display: none; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px;
    font: inherit; font-weight: 700; font-size: 15px; color: var(--ink);
    background: var(--sky); border: 0; border-radius: 10px; cursor: pointer;
  }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0; padding: 8px 24px 20px;
    background: var(--paper); border-bottom: 1px solid #e3e9f5;
  }
  .nav.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav.open .nav-cta { margin-top: 12px; text-align: center; border-bottom: 0 !important; }
}

/* ---------- tlačítka obchodů ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px 0 18px;
  border-radius: 14px; text-decoration: none; font-weight: 700;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.store small { display: block; font-size: 12px; font-weight: 500; opacity: 0.8; line-height: 1.1; }
.store b { display: block; font-size: 18px; line-height: 1.15; letter-spacing: -0.01em; }
.store:active { transform: scale(0.97); }
.store-blue { background: var(--blue); color: #fff; }
.store-navy { background: var(--ink); color: #fff; }
.store:hover { color: #fff; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: inherit; padding: 12px 0; font-size: 19px; transition: transform 160ms var(--ease-out); }
.text-link .ar { color: var(--gold); transition: transform 200ms var(--ease-out); }
.text-link:active { transform: scale(0.98); }

/* ---------- hero ---------- */
.hero { background: var(--sky); padding: 72px 24px 0; overflow: hidden; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; }
.hero-copy { flex: 1 1 560px; min-width: 0; padding-bottom: 72px; }
.badge { display: inline-block; margin-bottom: 22px; font-weight: 700; font-size: 15px; background: var(--gold); color: var(--ink); padding: 6px 12px; border-radius: 8px; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { max-width: 500px; margin-bottom: 36px; }
.hero .stores { margin-bottom: 20px; }
.hero-note { font-size: 15px; color: var(--ink-soft); }
.hero-visual { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; align-self: flex-end; }
.phone { position: relative; width: min(330px, 72vw); margin-bottom: -140px; }
.phone::before {
  content: ""; position: absolute; left: 50%; top: 10%; width: 136%; aspect-ratio: 1;
  transform: translateX(-50%); border-radius: 50%; background: var(--gold);
}
.phone img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(12, 35, 69, 0.35)); }

/* ---------- hero: lekce ---------- */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-bottom: 22px; }
.btn.btn-lg { height: 60px; padding: 0 28px; font-size: 18px; border-radius: 14px; }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { color: #fff; }
.hero-visual { align-self: center; }
.hero .hero-copy { padding-bottom: 88px; padding-top: 8px; }
.hero { padding-bottom: 0; }
.ticket {
  position: relative; width: min(420px, 100%); background: #fff; border-radius: 24px;
  padding: 30px 30px 26px; border: 2px solid var(--ink); box-shadow: 12px 12px 0 var(--gold);
  margin-bottom: 72px;
}
.ticket-kicker { font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 14px; color: var(--blue); }
.ticket-price { font-weight: 900; font-size: 64px; line-height: 1; letter-spacing: -0.05em; margin: 10px 0 18px; }
.ticket-price small { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-soft); }
.ticket-list { list-style: none; margin: 0 0 22px; padding: 0; border-top: 2px dashed var(--sky-line); }
.ticket-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.ticket-list span { color: var(--ink-soft); }
.ticket-list b { font-weight: 700; text-align: right; }
.btn.ticket-btn { width: 100%; height: 58px; font-size: 17px; }

/* ---------- jak to probíhá ---------- */
.how { padding: 104px 24px; }
.how h2 { margin-bottom: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.step { background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 32px; }
.step-n { display: flex; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center; background: var(--blue); color: #fff; font-weight: 900; font-size: 22px; margin-bottom: 40px; }
.step h3 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.step p { color: var(--ink-soft); }
.step-app { background: var(--sky); border-color: var(--sky); }
.step-app .step-n { background: var(--gold); color: var(--ink); }

/* ---------- kurzy ---------- */
.courses { background: var(--sky); padding: 104px 24px; }
.courses-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.lvl-tabs { display: flex; gap: 6px; background: #fff; padding: 6px; border-radius: 16px; }
.lvl-tab {
  font: inherit; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; min-height: 52px; padding: 0 24px;
  border: 0; border-radius: 12px; cursor: pointer; background: transparent; color: var(--ink);
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.lvl-tab:active { transform: scale(0.97); }
.lvl-tab[aria-selected="true"] { background: var(--blue); color: #fff; }
.lvl-panel { background: #fff; border-radius: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); overflow: hidden; }
.lvl-info { padding: clamp(28px, 3.4vw, 48px); border-right: 1px solid var(--line); }
.lvl-tag { font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.lvl-title { font-weight: 900; font-size: clamp(32px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.04em; margin-bottom: 16px; }
.lvl-desc { color: var(--ink-soft); margin-bottom: 28px; }
.lvl-topics { padding: clamp(28px, 3.4vw, 48px); background: var(--paper); }
.lvl-topics h4 { margin: 0 0 14px; font-size: 16px; }
.topic-list { list-style: none; margin: 0; padding: 0; columns: 2 220px; column-gap: 28px; font-size: 16px; }
.topic-list li { break-inside: avoid; display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 6px 0; }
.topic-list li span { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: var(--blue); padding-top: 3px; }
.swap { animation: fadeIn 260ms var(--ease-out) both; }

/* ---------- aplikace ---------- */
.app { background: var(--ink); color: #fff; padding: 120px 24px; overflow: hidden; }
.gold { color: var(--gold); }
.app-hero { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.app-copy { flex: 1 1 520px; min-width: 0; }
.app-kicker { display: inline-block; font-weight: 700; font-size: 15px; background: var(--gold); color: var(--ink); padding: 6px 12px; border-radius: 8px; margin-bottom: 22px; }
.app-title { font-weight: 900; font-size: clamp(48px, 6.4vw, 96px); line-height: 0.9; letter-spacing: -0.05em; margin-bottom: 24px; }
.app-lead { font-size: 21px; color: #c9d5ea; max-width: 540px; margin-bottom: 32px; }
.store-light { background: #fff; color: var(--ink); }
.store-light:hover { color: var(--ink); }
.app-meta { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.app .qr { margin: 0; }
.app .qr img { width: 112px; height: 112px; border: 0; }
.app .qr p { color: #c9d5ea; }
.app-prices { margin: 0; display: grid; gap: 10px; }
.app-prices div { display: flex; gap: 12px; align-items: baseline; }
.app-prices dt { font-weight: 800; min-width: 76px; }
.app-prices dd { margin: 0; color: #c9d5ea; font-size: 16px; }
.app-visual { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.phone-app { width: min(380px, 74vw); margin: 0; }
.phone-app::before { width: 130%; top: 10%; }
.phone-app img { filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.5)); }

.app-demo { margin-top: 96px; display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: center; }
.app-demo-copy { flex: 1 1 380px; min-width: 0; }
.app-demo-copy h3 { font-weight: 900; font-size: clamp(40px, 4.8vw, 68px); line-height: 0.92; letter-spacing: -0.05em; margin-bottom: 18px; }
.app-demo-copy p { font-size: 20px; color: #c9d5ea; max-width: 420px; }
.app .demo-box { flex: 1 1 460px; }



/* ---------- UI aplikace (věrná kopie) ---------- */
.au-screen, .aq {
  --au-bg: #071321; --au-card: #0a1626; --au-line: #142339; --au-blue: #4c8bf5; --au-blue-ink: #010f31;
  --au-text: #f3f6fb; --au-sub: #b7c2d3; --au-dim: #7e8693; --au-green: #2ecc96; --au-green-bg: #103736;
  font-family: 'Nunito', system-ui, sans-serif; color: var(--au-text);
}
.app-showcase { margin-top: 96px; }
.au-screen {
  background: var(--au-bg); border: 1px solid #1b2d48; border-radius: 32px; padding: 28px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px;
}
.au-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.au-brand { font-weight: 900; font-size: 26px; letter-spacing: -0.01em; }
.au-pills { display: flex; gap: 10px; }
.au-pill { font-weight: 800; font-size: 14px; padding: 7px 14px; border-radius: 999px; background: #0f1c2e; border: 1px solid #1d3150; color: #c9d3e3; }
.au-pill-pro { color: var(--au-blue); border: 2px solid var(--au-blue); background: #0c2041; }
.au-tiles { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.au-tile { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: var(--au-card); border: 1px solid var(--au-line); font-weight: 800; font-size: 18px; }
.au-tile-ico { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: #11284a; color: var(--au-blue); }
.au-featured {
  grid-column: 1 / -1; background: #0c1d35; border: 1.5px solid #2d6fdc; border-radius: 22px; padding: 22px 22px 20px; margin-bottom: 8px;
  box-shadow: 0 0 0 1px rgba(76, 139, 245, 0.08), 0 20px 40px -24px rgba(76, 139, 245, 0.45);
}
.au-feat-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.au-label { font-weight: 900; font-size: 13px; letter-spacing: 0.12em; color: var(--au-blue); display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.au-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--au-blue); }
.au-count { color: var(--au-sub); font-weight: 600; font-size: 15px; }
.au-feat-title { font-weight: 900; font-size: 30px; letter-spacing: -0.01em; margin: 0 0 4px; }
.au-feat-desc { color: var(--au-sub); font-weight: 600; margin: 0 0 18px; }
.au-start {
  display: flex; justify-content: space-between; align-items: center; height: 54px; padding: 0 20px; border-radius: 16px;
  background: var(--au-blue); color: #fff; font-weight: 800; font-size: 18px; text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.au-start:hover { color: #fff; }
.au-start:active { transform: scale(0.98); }
.au-list { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.au-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; border-top: 1px solid var(--au-line); }
.au-title { font-weight: 900; font-size: 26px; letter-spacing: -0.01em; margin: 4px 0 2px; }
.au-desc { color: var(--au-sub); font-weight: 600; font-size: 16px; margin: 0; }
.au-chev { flex: none; color: var(--au-blue); }
.au-pro { font-size: 11px; letter-spacing: 0.06em; padding: 2px 7px; border-radius: 999px; border: 1.5px solid var(--au-blue); }

/* karta slovíčka */
.aq { position: relative; background: var(--au-bg); border-radius: 28px; padding: 22px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); border: 1px solid #1b2d48; }
.aq-progress { height: 4px; border-radius: 2px; background: #13233a; margin: 0 6px 18px; overflow: hidden; }
.aq-bar { display: block; height: 100%; width: 20%; background: var(--au-blue); border-radius: 2px; transition: transform 300ms var(--ease-out), width 300ms var(--ease-out); }
.aq-card {
  position: relative; background: var(--au-card); border: 1.5px solid #4a7fe0; border-radius: 24px;
  min-height: 210px; padding: 54px 22px 34px; text-align: center; overflow: hidden;
  transition: border-color 200ms ease;
}
.aq-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--au-blue); transition: background-color 200ms ease; }
.aq-card.ok { border-color: #59a891; }
.aq-card.ok::before { background: var(--au-green); }
.aq-card.bad { border-color: #b85a5f; }
.aq-card.bad::before { background: #e5484d; }
.aq-tools { position: absolute; top: 14px; right: 14px; display: flex; gap: 8px; }
.aq-tool {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: #0e1c2c; border: 1px solid #1f2f45; color: #d5dcea; transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.aq-tool:active { transform: scale(0.94); }
.aq-tool.snd { background: #112036; border-color: #22406d; color: var(--au-blue); }
.aq-tool[aria-pressed="true"] { color: #f0b52f; }
.aq-word { font-weight: 900; font-size: clamp(32px, 3.4vw, 42px); line-height: 1.1; margin: 0 0 14px; color: var(--au-text); }
.aq-ex { font-style: italic; font-weight: 700; color: #c6cfdc; font-size: 18px; margin: 0; }
.aq-ex b { color: var(--au-blue); font-style: italic; }
.aq-opts { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.aq-opt {
  font: inherit; font-weight: 800; font-size: 17px; text-align: left; color: var(--au-text); cursor: pointer;
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 16px; border-radius: 18px;
  background: #0a1626; border: 1px solid var(--au-line);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out);
}
.aq-opt:active:not(:disabled) { transform: scale(0.98); }
.aq-opt:disabled { cursor: default; }
.aq-key { flex: none; width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; border: 1px solid #22314a; background: #0d1828; }
.aq-txt { flex: 1; }
.aq-mark { flex: none; width: 24px; height: 24px; border-radius: 50%; display: none; align-items: center; justify-content: center; }
.aq-opt.ok { background: var(--au-green-bg); border-color: #2fa77d; }
.aq-opt.ok .aq-key { border-color: #2fa77d; color: #5ee0b0; background: transparent; }
.aq-opt.ok .aq-mark { display: inline-flex; background: #5ec19b; color: #071321; }
.aq-opt.bad { background: #36161d; border-color: #b4474f; }
.aq-opt.bad .aq-key { border-color: #b4474f; color: #ff8a8f; background: transparent; }
.aq-opt.bad .aq-mark { display: inline-flex; background: #e5484d; color: #fff; }
.aq-opt.dim { color: var(--au-dim); background: #091221; border-color: #121e2c; }
.aq-opt.dim .aq-key { color: var(--au-dim); background: #091523; border-color: #18263a; }
.aq-next {
  font: inherit; font-weight: 900; font-size: 17px; width: 100%; height: 60px; margin-top: 12px; border: 0; border-radius: 18px; cursor: pointer;
  background: var(--au-blue); color: var(--au-blue-ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.aq-next:active { transform: scale(0.98); }
.aq-end { text-align: center; padding: 34px 18px 18px; }
.aq-end .aq-score { font-weight: 900; font-size: 64px; line-height: 1; color: var(--au-text); margin: 8px 0 10px; }
.aq-end p { color: var(--au-sub); font-weight: 600; margin: 0; }
.aq-end .aq-next { margin-top: 22px; }
.aq-again { font: inherit; font-weight: 800; background: transparent; border: 0; color: var(--au-sub); cursor: pointer; padding: 12px; margin-top: 4px; }
@media (hover: hover) and (pointer: fine) {
  .au-start:hover, .aq-next:hover { background: #6199f7; }
  .aq-opt:hover:not(:disabled) { border-color: #2b4a78; background: #0d1b2e; }
  .aq-tool:hover { background: #15263d; }
}
@media (max-width: 760px) {
  .au-screen { grid-template-columns: 1fr; padding: 20px; border-radius: 26px; }
  .au-list { grid-template-columns: 1fr; }
  .au-brand { font-size: 22px; }
  .au-tile { font-size: 16px; padding: 10px; gap: 10px; }
  .au-tile-ico { width: 38px; height: 38px; }
  .au-title { font-size: 23px; }
  .aq { padding: 14px; border-radius: 24px; }
  .aq-card { padding-top: 70px; }
  .au-brand { font-size: 20px; white-space: nowrap; }
}

/* ---------- demo ---------- */
.demo { padding: 104px 24px; }
.demo .wrap { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.demo-copy { flex: 1 1 440px; min-width: 0; }
.demo-copy h2 { margin-bottom: 22px; }
.demo-copy .lead { font-size: 20px; max-width: 440px; margin-bottom: 18px; }
.demo-copy p.soft { max-width: 440px; }
.demo-box { flex: 1 1 460px; min-width: 0; }
.quiz { background: #fff; border: 2px solid var(--blue); border-radius: 24px; padding: 28px; box-shadow: 10px 10px 0 var(--gold); }
.quiz-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 14px; }
.quiz-label { font-weight: 800; letter-spacing: 0.04em; color: var(--blue); }
.quiz-count { font-family: 'JetBrains Mono', ui-monospace, monospace; color: var(--ink-soft); }
.quiz-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 32px; }
.quiz-steps span { height: 6px; border-radius: 3px; background: #e3e9f5; transition: background-color 300ms ease; }
.quiz-steps span.now { background: var(--blue); }
.quiz-steps span.done { background: var(--gold); }
.quiz-meta { font-size: 14px; color: var(--ink-soft); margin-bottom: 4px; }
.quiz-word { font-weight: 800; font-size: clamp(40px, 4.6vw, 56px); line-height: 1; letter-spacing: -0.04em; margin-bottom: 24px; }
.quiz-options { display: flex; flex-direction: column; gap: 8px; }
.opt {
  font: inherit; font-size: 18px; text-align: left; display: flex; justify-content: space-between; align-items: center;
  min-height: 58px; padding: 0 18px; border-radius: 12px; cursor: pointer;
  background: #fff; color: var(--ink); border: 1.5px solid var(--sky-line);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out);
}
.opt:active:not(:disabled) { transform: scale(0.97); }
.opt:disabled { cursor: default; }
.opt.right { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 700; }
.opt.wrong { background: #fff1ef; color: #8a2a1c; border-color: #f0b0a5; text-decoration: line-through; }
.opt.dim { color: var(--muted); border-color: #e3e9f5; }
.opt .mark { font-weight: 800; }
.opt.wrong .mark { color: #c2412d; }
.quiz-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; min-height: 52px; }
.quiz-hint { color: var(--ink-soft); font-size: 15px; font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 22px;
  font: inherit; font-weight: 700; font-size: 16px; border-radius: 12px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; flex: none;
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--sky-line); }
.quiz-score { font-weight: 900; font-size: 72px; line-height: 1; letter-spacing: -0.05em; color: var(--blue); margin: 6px 0 14px; }
.quiz-end p.soft { max-width: 380px; margin-bottom: 24px; }
.quiz-end .row { display: flex; flex-wrap: wrap; gap: 10px; }
.fade-in { animation: fadeIn 240ms var(--ease-out) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- čísla ---------- */
.stats { background: var(--blue); color: #fff; padding: 88px 24px; }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px 0; }
.stats .wrap > div { padding: 4px 28px; border-left: 2px solid rgba(255, 255, 255, 0.22); }
.stat-num { overflow: hidden; }
.stat-num span { display: block; white-space: nowrap; font-weight: 900; font-size: clamp(44px, 4.4vw, 68px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-num.gold span { color: var(--gold); }
.stats p { margin-top: 10px; color: #dbe6ff; }

/* ---------- funkce ---------- */
.features { padding: 104px 24px; }
.features h2 { margin-bottom: 48px; max-width: 820px; }
.feat-list { border-top: 2px solid var(--ink); }
.feat { border-bottom: 1px solid var(--line); transition: background-color 200ms ease; }
.feat summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: 16px; padding: 26px 8px; }
.feat summary::-webkit-details-marker { display: none; }
.feat-n { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; color: var(--blue); }
.feat-name { font-weight: 800; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.04em; }
.tag { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; padding: 5px 10px; border-radius: 6px; background: var(--sky); color: var(--blue); }
.tag-gold { background: var(--gold); color: var(--ink); }
.feat-body { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 0 8px 28px; }
.feat-body p { color: var(--ink-soft); font-size: 19px; max-width: 640px; }
.feat[open] .feat-body { animation: fadeIn 240ms var(--ease-out) both; }

/* ---------- cena ---------- */
.pricing { padding: 0 24px 104px; }
.pricing .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.price { border-radius: 24px; padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.price h3 { font-size: 20px; font-weight: 700; }
.price .amount { font-weight: 900; font-size: 64px; line-height: 1; letter-spacing: -0.05em; }
.price .amount small { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.price-free { background: var(--sky); }
.price-free h3 { color: var(--blue); }
.price-free p:last-child { color: var(--ink-soft); }
.price-pro { background: var(--gold); }

/* ---------- lektor ---------- */
.tutor { padding: 0 24px 104px; }
.tutor-card { background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.tutor-copy { flex: 1 1 480px; min-width: 0; }
.tutor-kicker { font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.tutor-copy h2 { margin-bottom: 18px; }
.tutor-copy p.desc { color: #c9d5ea; max-width: 520px; }
.tutor-side { flex: 1 1 340px; min-width: 0; }
.tutor-side dl { margin: 0 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tutor-side dt { color: #c9d5ea; font-size: 15px; }
.tutor-side dd { margin: 4px 0 0; font-weight: 800; font-size: 34px; letter-spacing: -0.03em; }
.tutor-side dd.gold { color: var(--gold); }
.tutor-side p { color: #c9d5ea; font-size: 15px; margin-bottom: 18px; }
.tutor .text-link { color: #fff; }

/* ---------- FAQ ---------- */
.faq { padding: 104px 24px; }
.faq .wrap { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.faq h2 { flex: 1 1 300px; }
.faq-list { flex: 2 1 560px; min-width: 0; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pl { font-size: 28px; line-height: 1; color: var(--blue); transition: transform 200ms var(--ease-out); }
.faq details[open] .pl { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--ink-soft); }

/* ---------- stáhnout ---------- */
.download { padding: 0 24px 104px; }
.download-card { background: var(--gold); border-radius: 28px; padding: clamp(32px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; justify-content: space-between; }
.download-copy { flex: 1 1 520px; min-width: 0; }
.download-copy h2 { font-size: clamp(52px, 7.4vw, 112px); margin-bottom: 28px; }
.download-copy h2 { font-size: clamp(48px, 6.6vw, 100px); }
.download .text-link { color: var(--ink); font-size: 18px; }
.qr { display: flex; gap: 16px; align-items: center; margin-top: 28px; }
.qr img { width: 120px; height: 120px; border-radius: 14px; background: #fff; padding: 6px; border: 1.5px solid var(--line); }
.qr p { max-width: 190px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }

/* ---------- patička ---------- */
.footer { border-top: 1px solid #e3e9f5; padding: 36px 24px; font-size: 15px; color: var(--ink-soft); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { width: 32px; height: 32px; }
.footer a { color: var(--ink-soft); }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- hover jen pro myš ---------- */
@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover { background: var(--blue-dark); }
  .store-blue:hover { background: var(--blue-dark); }
  .store-navy:hover { background: #163563; }
  .btn-blue:hover { background: var(--blue-dark); }
  .btn-navy:hover { background: #163563; }
  .lvl-tab[aria-selected="false"]:hover { background: var(--sky); }
  .step { transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out); }
  .step:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(12, 35, 69, 0.45); }
  .btn-ghost:hover { border-color: var(--blue); }
  .opt:hover:not(:disabled) { border-color: var(--blue); }
  .text-link:hover .ar { transform: translateX(4px); }
  .feat:hover { background: #f2f6ff; }
}

/* ---------- pohyb ---------- */
@keyframes up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes roll { from { transform: translateY(105%); } to { transform: none; } }
@keyframes sweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.in1 { animation: up 700ms var(--ease-out) both; }
.in2 { animation: up 700ms 70ms var(--ease-out) both; }
.in3 { animation: up 700ms 140ms var(--ease-out) both; }
.in4 { animation: up 800ms 180ms var(--ease-out) both; }
@supports (animation-timeline: view()) {
  .rv { animation: up linear both; animation-timeline: view(); animation-range: entry 0% cover 18%; }
  .stat-num span { animation: roll linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
  .sweep { animation: sweep linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: opacity 200ms ease !important; }
}

/* ---------- mobil ---------- */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { padding-top: 44px; }
  .hero-copy { padding-bottom: 48px; }
  .demo { padding-top: 72px; padding-bottom: 72px; }
  .how, .courses { padding-top: 72px; padding-bottom: 72px; }
  .app { padding: 80px 24px; }
  .app-showcase, .app-demo { margin-top: 64px; }
  .app .qr { display: none; }
  .app-meta { margin-top: 24px; padding-top: 20px; }
  .ticket { box-shadow: 6px 6px 0 var(--gold); padding: 24px 22px 22px; }
  .ticket-price { font-size: 52px; white-space: nowrap; }
  .ticket-price small { font-size: 18px; }
  .lvl-tabs { width: 100%; }
  .lvl-tab { flex: 1; padding: 0 8px; }
  .step-n { margin-bottom: 24px; }
  .cta-row .btn.btn-lg { width: 100%; }
  .quiz { padding: 22px; box-shadow: 6px 6px 0 var(--gold); }
  .feat summary { grid-template-columns: 36px 1fr; }
  .feat summary .tag { grid-column: 2; justify-self: start; }
  .feat-body { grid-template-columns: 36px 1fr; }
  .qr { display: none; }
  .store { flex: 1 1 200px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ukázky částí aplikace (záložky) ---------- */
.ad { margin-top: 112px; }
.ad-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; margin-bottom: 28px; }
.ad-h { font-weight: 900; font-size: clamp(40px, 4.8vw, 68px); line-height: 0.92; letter-spacing: -0.05em; }
.ad-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ad-tab {
  font: 800 15px/1 'Nunito', system-ui, sans-serif; color: #c9d5ea; cursor: pointer;
  height: 44px; padding: 0 16px; border-radius: 999px; background: #13294a; border: 1px solid #1f3a63;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.ad-tab:active { transform: scale(0.97); }
.ad-tab[aria-selected="true"] { background: #4c8bf5; border-color: #4c8bf5; color: #010f31; }
.ad-tab span { font-size: 10.5px; letter-spacing: 0.06em; padding: 2px 7px; border-radius: 999px; border: 1.5px solid currentColor; }
.ad-body { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; }
.ad-desc { flex: 1 1 300px; min-width: 0; max-width: 420px; padding-top: 12px; }
.ad-desc-title { font-weight: 900; font-size: 34px; letter-spacing: -0.03em; margin-bottom: 10px; }
.ad-desc-text { font-size: 19px; color: #c9d5ea; }
.ad-desc-note { margin-top: 20px; font-size: 14px; color: #8fa1bf; }
.ad-panel { flex: 2 1 560px; min-width: 0; }
.ad-stage { min-height: 520px; }
@media (hover: hover) and (pointer: fine) {
  .ad-tab[aria-selected="false"]:hover { background: #1a3560; color: #fff; }
}

/* lišta nahoře (Slovník, ALCPT) */
.ad-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 6px 14px; }
.ad-bar-title { display: flex; flex-direction: column; gap: 4px; }
.ad-bar-title b { font-weight: 900; font-size: 20px; }
.ad-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; padding: 6px 12px; border-radius: 10px; background: #0f1c2e; border: 1px solid #22314a; color: #c9d3e3; font-variant-numeric: tabular-nums; }

/* vybraná odpověď (čtení, poslech, ALCPT) */
.aq-opt.sel { background: #10264a; border-color: #4c8bf5; color: #8db6ff; }
.aq-opt.sel .aq-key { background: #4c8bf5; border-color: #4c8bf5; color: #fff; }

/* gramatika */
.g-wrap { padding: 8px 6px 4px; }
.g-title { font-weight: 900; font-size: 26px; margin: 4px 0 4px; }
.g-lead { color: #c6cfdc; font-weight: 600; margin: 0 0 14px; }
.g-blue { color: #4c8bf5; }
.g-dots { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0 16px; }
.g-arrow { font: 800 22px/1 'Nunito', sans-serif; color: #4c8bf5; background: none; border: 0; cursor: pointer; width: 36px; height: 36px; }
.g-arrow:disabled { opacity: 0.35; cursor: default; }
.g-dot { width: 8px; height: 8px; padding: 0; border-radius: 4px; background: #3a475c; border: 0; cursor: pointer; transition: width 240ms var(--ease-out), background-color 200ms ease; }
.g-dot.on { width: 26px; background: #4c8bf5; }
.g-card { background: #11203a; border-radius: 22px; padding: 26px 26px 22px; }
.g-line { font-weight: 900; font-size: 24px; margin: 0 0 14px; color: #f3f6fb; }
.g-line2 { display: flex; align-items: center; gap: 12px; }
.g-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; height: 50px; padding: 0 16px; border-radius: 12px; background: #1d3a66; color: #4c8bf5; font-size: 30px; }
.g-hr { border: 0; border-top: 1px solid #243450; margin: 18px 0; }
.g-rule { display: flex; align-items: baseline; gap: 18px; font-weight: 900; font-size: 24px; margin: 0 0 14px; }
.g-to { color: #c6cfdc; font-weight: 600; }
.g-big { color: #4c8bf5; font-size: 34px; }
.g-eq { color: #c6cfdc; font-size: 16px; margin-left: -10px; }
.g-cz { color: #e4e9f1; font-weight: 600; margin: 0; }
.g-blank { display: inline-block; min-width: 38px; border-bottom: 2px solid #4c8bf5; }
.g-filled { border: 0; min-width: 0; }
.g-ask { color: #e4e9f1; font-weight: 600; margin: 4px 0 16px; }
.g-choices { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.g-choice {
  font: 900 17px/1 'Nunito', sans-serif; color: #f3f6fb; cursor: pointer; min-width: 68px; height: 60px; padding: 0 18px;
  border-radius: 14px; background: #17294a; border: 1px solid #263a5c;
  transition: background-color 180ms ease, border-color 180ms ease, transform 160ms var(--ease-out);
}
.g-choice:active:not(:disabled) { transform: scale(0.96); }
.g-choice:disabled { cursor: default; }
.g-choice.ok { background: #103736; border-color: #5ec19b; color: #5ee0b0; }
.g-choice.bad { background: #36161d; border-color: #b4474f; color: #ff8a8f; }
.g-feedback { margin-top: 18px; border-left: 3px solid #5ec19b; padding: 6px 0 6px 18px; }
.g-feedback.bad { border-color: #e5484d; }
.g-fb-title { color: #5ee0b0; font-weight: 900; margin: 0 0 8px; }
.g-feedback.bad .g-fb-title { color: #ff8a8f; }
.g-fb-text { color: #e4e9f1; font-weight: 600; margin: 0; }

/* čtení */
.r-text { background: #0a1626; border: 1px solid #1c2c44; border-radius: 22px; padding: 18px 22px 22px; margin-bottom: 18px; }
.r-text-label { display: flex; align-items: center; gap: 10px; color: #4c8bf5; font-weight: 900; font-size: 14px; letter-spacing: 0.06em; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid #1c2c44; }
.r-text-body { color: #eef2f8; font-weight: 700; font-size: 18px; line-height: 1.7; margin: 0; }
.r-q { padding: 0 2px; }
.r-question { font-weight: 900; font-size: 23px; margin: 6px 0 4px; color: #f3f6fb; }
.r-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.r-back, .r-next {
  font: 900 16px/1 'Nunito', sans-serif; cursor: pointer; height: 54px; padding: 0 22px; border-radius: 18px;
  display: inline-flex; align-items: center; gap: 10px; transition: transform 160ms var(--ease-out), background-color 200ms ease, opacity 200ms ease;
}
.r-back { background: transparent; color: #e4e9f1; border: 1px solid #22314a; }
.r-next { background: #4c8bf5; color: #fff; border: 0; }
.r-back:disabled, .r-next:disabled { opacity: 0.4; cursor: default; }
.r-back:active:not(:disabled), .r-next:active:not(:disabled) { transform: scale(0.97); }
.r-review { display: grid; gap: 8px; margin: 18px auto 0; max-width: 420px; text-align: left; }
.r-rev { display: flex; gap: 10px; align-items: center; margin: 0; padding: 10px 14px; border-radius: 12px; font-weight: 700; }
.r-rev.ok { background: #103736; color: #5ee0b0; }
.r-rev.bad { background: #36161d; color: #ff8a8f; }
.r-rev span { color: #eef2f8; }

/* poslech */
.l-player { background: #0a1626; border: 1px solid #1c2c44; border-radius: 22px; padding: 18px; margin-bottom: 16px; }
.l-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.l-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: #11284a; color: #4c8bf5; border: 1px solid #1f3a63; }
.l-titles { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.l-sub { color: #c6cfdc; font-weight: 700; font-size: 14px; }
.l-play {
  width: 100%; height: 54px; border: 0; border-radius: 16px; background: #4c8bf5; color: #fff; cursor: pointer;
  font: 900 16px/1 'Nunito', sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform 160ms var(--ease-out), opacity 200ms ease;
}
.l-play:disabled { opacity: 0.7; cursor: default; }
.l-play:active:not(:disabled) { transform: scale(0.98); }
.l-progress { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.l-track { flex: 1; height: 5px; border-radius: 3px; background: #13233a; overflow: hidden; }
.l-fill { display: block; height: 100%; background: #4c8bf5; transform: scaleX(0); transform-origin: left; transition: transform 100ms linear; }
.l-note { color: #c6cfdc; font-weight: 700; font-size: 13px; margin: 0; }
.l-qcard { background: #0a1626; border: 1px solid #1c2c44; border-radius: 22px; padding: 20px; }
.al-clock { color: #f3f6fb; }

@media (max-width: 640px) {
  .ad { margin-top: 72px; }
  .ad-tabs { gap: 6px; }
  .ad-tab { height: 40px; padding: 0 12px; font-size: 14px; }
  .ad-stage { min-height: 0; }
  .g-line { font-size: 20px; }
  .g-pill { min-width: 76px; height: 44px; font-size: 24px; }
  .r-text-body { font-size: 16px; }
  .r-question { font-size: 20px; }
}

/* doplňky karty s podmínkami */
.ticket-list b small { display: block; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.ticket-more { display: block; margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
