:root {
  --bg: #F7F9FF;
  --card: #FFFFFF;
  --ink: #1A1D3A;
  --muted: #4F5577;
  --line: #DCE3F5;
  --blue: #2F6BFF;
  --blue-dark: #1D4FD8;
  --pink: #E0457F;
  --pink-soft: #FFE6F0;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px; line-height: 1.55; overflow-x: hidden; }
a { color: var(--blue); }
h1, h2 { font-family: Unbounded, Manrope, sans-serif; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(28px, 7vw, 40px); line-height: 1.15; margin-bottom: 14px; }

/* Одна колонка — і на телефоні, і на компʼютері */
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }
.block { padding-top: 56px; }

/* Навігація */
.nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 20px; background: rgba(247, 249, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { font-family: Unbounded, sans-serif; font-weight: 800; font-size: 17px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--pink); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; padding: 10px 10px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 12px; }
.nav-links a:hover { background: #EAF0FF; }
.nav-login { background: var(--ink); color: #fff !important; padding: 10px 16px !important; }
@media (max-width: 560px) { .nav-links a:not(.nav-login) { display: none; } }

/* Головний екран */
.hero { padding-top: 40px; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 700; font-size: 15px; margin: 0 0 22px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #FF5C9E; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 92, 158, .6); } 100% { box-shadow: 0 0 0 12px rgba(255, 92, 158, 0); } }
h1 { font-size: clamp(44px, 13vw, 76px); line-height: 1.02; }
.accent { color: var(--blue); }
.typed { font-family: Unbounded, sans-serif; font-weight: 600; font-size: clamp(22px, 6vw, 32px); color: var(--pink); margin: 10px 0 20px; min-height: 1.3em; }
.caret { margin-left: 2px; font-weight: 400; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 26px; }
.cta { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 560px) { .cta { flex-direction: row; } }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 58px; padding: 14px 28px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; border: 2px solid var(--blue);
  transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(47, 107, 255, .55); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--pink-soft); border-color: var(--pink); color: var(--ink); box-shadow: none; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.free-card { margin-top: 26px; background: #fff; border-radius: var(--radius); padding: 18px 20px; display: flex; align-items: center; gap: 16px;
  box-shadow: 0 16px 40px -24px rgba(26, 29, 58, .35); }
.free-big { font-family: Unbounded, sans-serif; font-weight: 800; font-size: 30px; color: var(--pink); white-space: nowrap; }
.soon { margin: 18px 0 0; background: #EAF0FF; color: #1D45A8; border-radius: 14px; padding: 12px 16px; font-size: 16px; font-weight: 600; }

/* Кроки */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 18px 20px 18px 78px; position: relative; }
.steps li::before { content: "0" counter(s); position: absolute; left: 20px; top: 16px; font-family: Unbounded, sans-serif; font-weight: 800;
  font-size: 26px; color: var(--blue); }
.steps b { display: block; font-size: 20px; }
.steps span { color: var(--muted); }

/* Напрями — одна за одною */
.sub { color: var(--muted); margin: 0 0 20px; }
.dirs { display: flex; flex-direction: column; gap: 12px; }
.dir { background: #fff; border-radius: var(--radius); border: 2px solid transparent; overflow: hidden; transition: border-color .25s; }
.dir[open] { border-color: var(--c); }
.dir summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px minmax(0, 1fr) 28px; gap: 14px; align-items: center;
  padding: 16px 18px; min-height: 84px; }
.dir summary::-webkit-details-marker { display: none; }
.ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--c); color: #fff; }
.ico svg { width: 28px; height: 28px; }
.dir-name { font-weight: 800; font-size: 20px; line-height: 1.25; display: block; }
.dir-count { color: var(--muted); font-size: 15px; }
.chev { transition: transform .3s; color: var(--muted); }
.dir[open] .chev { transform: rotate(180deg); }
.dir-body { padding: 0 18px 18px; }
.dir-body p { margin: 0 0 12px; color: var(--muted); }
.types { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.types li { background: var(--bg); border-radius: 14px; padding: 12px 16px; font-weight: 700; display: flex; justify-content: space-between; gap: 10px; }
.types li small { color: var(--muted); font-weight: 600; }

/* Пакети */
.packs { display: flex; flex-direction: column; gap: 12px; }
.pack { background: #fff; border-radius: var(--radius); padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; border: 2px solid transparent; }
.pack.hot { border-color: var(--blue); }
.pack-name { font-weight: 800; font-size: 20px; }
.pack-sum { font-family: Unbounded, sans-serif; font-weight: 800; font-size: 22px; grid-row: span 2; }
.pack-hint { color: var(--muted); font-size: 15px; }
.fine { color: var(--muted); font-size: 15px; margin: 14px 0 0; }

/* Для тренерів */
.trainer-box { background: linear-gradient(135deg, var(--ink), #2B2F63); color: #fff; border-radius: 28px; padding: 30px 24px; }
.trainer-box h2 { color: #fff; }
.eyebrow { color: #FF8DB8; font-weight: 800; margin: 0 0 6px; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 10px; border-left: 3px solid #7FA6FF; border-bottom: 3px solid #7FA6FF; transform: rotate(-45deg); }

/* Питання */
.qa { background: #fff; border-radius: 18px; margin-bottom: 10px; }
.qa summary { cursor: pointer; font-weight: 800; padding: 18px 20px; min-height: 60px; list-style: none; position: relative; padding-right: 52px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 26px; color: var(--blue); font-weight: 600; }
.qa[open] summary::after { content: "–"; }
.qa p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Підвал */
.foot { padding-top: 56px; padding-bottom: 48px; }
.foot p { margin: 10px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }

a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
