:root {
  --bg: #F4F1EA;
  --card: #FFFFFF;
  --ink: #111111;
  --ink-mid: #4D4633;
  --ink-muted: #6E6759;
  --yellow: #FFD43B;
  --blue: #3B6CFF;
  --pink: #FF5C8A;
  --green: #2FBF71;

  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --radius: 14px;

  --display: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --space-section: clamp(4rem, 3rem + 5vw, 8rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--text); font-size: 17px; line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; }
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.sticker {
  display: inline-block; border: var(--border); border-radius: 10px;
  padding: 6px 14px; font-family: var(--display); font-weight: 700;
  box-shadow: var(--shadow-sm); background: var(--card);
}

/* ── шапка ─────────────────────────────────────────────── */
header { padding: 22px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
  font-family: var(--display); font-weight: 900; font-size: 24px;
}
.logo img { width: 44px; height: 44px; border: var(--border); border-radius: 10px; box-shadow: var(--shadow-sm); }
.header-note { font-size: 14px; color: var(--ink-muted); text-align: right; }
.header-right { display: flex; align-items: center; gap: 16px; }
.header-cta {
  font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .02em;
  padding: 7px 14px; border: var(--border); border-radius: 10px; box-shadow: var(--shadow-sm);
  background: var(--yellow); color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.header-cta:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.header-cta:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.header-cta:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ── переключатель языка ───────────────────────────────── */
.lang-switch { display: flex; border: var(--border); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.lang-switch a, .lang-switch span {
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .04em;
  padding: 6px 12px; text-decoration: none; background: var(--card); color: var(--ink);
}
.lang-switch a + a, .lang-switch span + a, .lang-switch a + span { border-left: 3px solid var(--ink); }
.lang-switch a:hover { background: var(--blue); color: #fff; }
.lang-switch [aria-current="true"] { background: var(--yellow); }
.lang-switch a:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }

/* ── герой ─────────────────────────────────────────────── */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 {
  font-size: clamp(3.4rem, 1.5rem + 9vw, 7.5rem); font-weight: 900; letter-spacing: -0.02em;
}
.hero h1 .bang { color: var(--pink); }
.pron { margin: 10px 0 0; color: var(--ink-mid); font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem); }
.pron b { font-family: var(--display); }
.lead { margin: 22px 0 0; font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem); max-width: 34em; }
.lead b { background: var(--yellow); padding: 0 4px; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.store-chip {
  position: relative; display: inline-flex; flex-direction: column; justify-content: center;
  border: var(--border); border-radius: var(--radius); background: var(--ink); color: #fff;
  padding: 10px 20px; min-height: 56px; box-shadow: var(--shadow-sm);
  font-family: var(--display); line-height: 1.2;
}
.store-chip small { font-size: 11px; font-weight: 500; opacity: .8; }
.store-chip span { font-weight: 700; font-size: 18px; }
.store-chip .soon, .store-chip .live {
  position: absolute; top: -12px; right: -10px; transform: rotate(6deg);
  background: var(--pink); color: var(--ink); border: var(--border); border-radius: 8px;
  font-size: 11px; font-weight: 900; padding: 2px 8px; text-transform: uppercase; letter-spacing: .05em;
}
.store-chip .live { background: var(--green); }
a.store-chip {
  color: #fff; text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
a.store-chip:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
a.store-chip:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.outro-card a.store-chip { color: var(--ink); }
a.store-chip.web, .outro-card a.store-chip.web { background: var(--yellow); color: var(--ink); }
.store-chip.web small { opacity: .7; }
.cta-mail {
  font-family: var(--display); font-weight: 700; color: var(--ink); text-decoration: none;
  border-bottom: 3px solid var(--blue);
}
.cta-mail:focus-visible, .store-chip:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.hero-shot { position: relative; justify-self: center; }
.hero-shot .phone {
  width: min(300px, 70vw); border: 4px solid var(--ink); border-radius: 28px;
  box-shadow: 10px 10px 0 var(--ink); transform: rotate(-2.5deg); background: var(--card);
}
.float {
  position: absolute; font-size: 30px; border: var(--border); border-radius: 12px;
  background: var(--card); padding: 6px 10px; box-shadow: var(--shadow-sm); line-height: 1;
}
.float.f1 { top: -18px; left: -26px; transform: rotate(-8deg); background: var(--yellow); }
.float.f2 { bottom: 60px; right: -24px; transform: rotate(7deg); background: var(--pink); }
.float.f3 { top: 40%; left: -44px; transform: rotate(4deg); background: var(--green); }

/* ── бегущая строка ────────────────────────────────────── */
.marquee {
  margin-top: var(--space-section); background: var(--yellow);
  border-top: var(--border); border-bottom: var(--border);
  transform: rotate(-1.2deg) scale(1.02); overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-block; padding: 12px 0; font-family: var(--display); font-weight: 700;
  font-size: 20px; animation: marquee 36s linear infinite;
}
.marquee-track span { color: var(--ink-muted); font-weight: 500; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}

/* ── счётчики ──────────────────────────────────────────── */
.stats { padding: var(--space-section) 0 0; }
.stats .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.stat {
  border: var(--border); border-radius: var(--radius); background: var(--card);
  box-shadow: var(--shadow); padding: 18px 26px; text-align: center; min-width: 150px;
}
.stat b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); }
.stat span { color: var(--ink-mid); font-size: 14px; }
.stat:nth-child(1) { transform: rotate(-1.5deg); background: var(--yellow); }
.stat:nth-child(2) { transform: rotate(1deg); }
.stat:nth-child(3) { transform: rotate(-1deg); background: var(--card); }
.stat:nth-child(4) { transform: rotate(1.5deg); background: var(--blue); color: #fff; }
.stat:nth-child(4) span { color: #E6ECFF; }

/* ── секции ────────────────────────────────────────────── */
section.block { padding: var(--space-section) 0 0; }
.kicker {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: 13px; padding: 4px 12px; display: inline-block;
  border: var(--border); border-radius: 8px; box-shadow: var(--shadow-sm);
}
.kicker.yellow { background: var(--yellow); }
.kicker.pink { background: var(--pink); }
.kicker.green { background: var(--green); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.5vw, 3rem); font-weight: 900; margin: 18px 0 10px; }
.block p.sub { color: var(--ink-mid); max-width: 40em; margin: 0; }

.trainers { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin-top: 34px; }
.trainer {
  border: var(--border); border-radius: var(--radius); background: var(--card);
  padding: 16px; box-shadow: var(--shadow-sm);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.trainer:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.trainer .emoji {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  font-size: 24px; border: var(--border); border-radius: 10px; margin-bottom: 10px;
}
.trainer h3 { font-size: 17px; font-weight: 700; }
.trainer p { margin: 4px 0 0; font-size: 14px; color: var(--ink-muted); }
.trainer:nth-child(4n+1) .emoji { background: var(--yellow); }
.trainer:nth-child(4n+2) .emoji { background: #DCE5FF; }
.trainer:nth-child(4n+3) .emoji { background: #FFDFE9; }
.trainer:nth-child(4n+4) .emoji { background: #DFF5E9; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: 34px; }
.split .shot {
  width: min(280px, 75vw); justify-self: center;
  border: 4px solid var(--ink); border-radius: 24px; background: var(--card);
}
.split .shot.tilt-l { transform: rotate(-2deg); box-shadow: 8px 8px 0 var(--ink); }
.split .shot.tilt-r { transform: rotate(2deg); box-shadow: -8px 8px 0 var(--ink); }
.feature-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.feature-list li { padding-left: 34px; position: relative; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  font-family: var(--display); font-weight: 900; color: var(--ink);
  background: var(--green); border: 2px solid var(--ink); border-radius: 6px;
  width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
}

/* ── инстаграм ─────────────────────────────────────────── */
.insta-card {
  margin-top: 34px; display: grid; grid-template-columns: 1fr auto;
  gap: clamp(20px, 4vw, 48px); align-items: center;
  border: var(--border); border-radius: 20px; background: var(--card);
  box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px);
}
.insta-card h2 { margin-top: 14px; }
.insta-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.insta-list li { display: flex; gap: 12px; align-items: baseline; }
.insta-list .tag {
  flex: none; font-family: var(--display); font-weight: 900; font-size: 12px;
  text-transform: uppercase; letter-spacing: .05em; padding: 3px 10px;
  border: 2px solid var(--ink); border-radius: 8px;
}
.insta-list li:nth-child(1) .tag { background: var(--yellow); }
.insta-list li:nth-child(2) .tag { background: #DCE5FF; }
.insta-list li:nth-child(3) .tag { background: #FFDFE9; }
.insta-btn {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px;
  border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  background: var(--pink); color: var(--ink); text-decoration: none;
  font-family: var(--display); font-weight: 900; font-size: 18px; padding: 12px 20px;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.insta-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.insta-btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.insta-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.insta-tiles {
  display: grid; grid-template-columns: repeat(2, 92px); gap: 12px; justify-self: center;
}
.insta-tiles span {
  display: flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; font-size: 34px;
  border: var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); background: var(--card);
}
.insta-tiles span:nth-child(1) { background: var(--yellow); transform: rotate(-4deg); }
.insta-tiles span:nth-child(2) { background: #DCE5FF; transform: rotate(3deg); }
.insta-tiles span:nth-child(3) { background: #FFDFE9; transform: rotate(4deg); }
.insta-tiles span:nth-child(4) { background: #DFF5E9; transform: rotate(-3deg); }

/* ── низ ───────────────────────────────────────────────── */
.outro { padding: var(--space-section) 0; }
.outro-card {
  border: var(--border); border-radius: 20px; background: var(--blue); color: #fff;
  box-shadow: var(--shadow); padding: clamp(28px, 5vw, 56px); text-align: center;
  position: relative; overflow: hidden;
}
.outro-card h2 { color: #fff; }
.outro-card p { color: #E6ECFF; max-width: 36em; margin: 10px auto 0; }
.outro-card .cta-row { justify-content: center; }
.outro-card .store-chip { background: var(--card); color: var(--ink); }
.outro-card .store-chip small { opacity: .6; }

footer { border-top: var(--border); background: var(--card); padding: 26px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--ink-mid); }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--ink); font-weight: 500; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-shot { margin-top: 26px; }
  .float.f3 { left: -14px; }
  .split { grid-template-columns: 1fr; }
  .split .shot { order: -1; }
  .insta-card { grid-template-columns: 1fr; }
  .header-note { display: none; }
}
@media (max-width: 520px) {
  .header-cta { display: none; }
}
