﻿@font-face { font-family: "Amatic SC"; font-weight: 700; src: url("/static/fonts/amatic-700-cyr.woff2") format("woff2"); font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Amatic SC"; font-weight: 700; src: url("/static/fonts/amatic-700-lat.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Pangolin"; font-weight: 400; src: url("/static/fonts/pangolin-cyr.woff2") format("woff2"); font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Pangolin"; font-weight: 400; src: url("/static/fonts/pangolin-lat.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Pangolin"; font-weight: 700; src: url("/static/fonts/pangolin-cyr.woff2") format("woff2"); font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Pangolin"; font-weight: 700; src: url("/static/fonts/pangolin-lat.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --head: "Amatic SC", "Arial Narrow", sans-serif;
  --body: "Pangolin", system-ui, sans-serif;
  --num: "Amatic SC", "Arial Narrow", sans-serif;
  --ink: #100e0e;
  --muted: #4a4040;
  --bg: #fbfaf6;
  --beige: #f0e6d8;
  --white: #f0e6d8;
  --fill: #f8d7e0;
  --off: #c47a96;
  --tx: #6b2d4a;
  --stamp: #ffe0ea;
  --note: #e8f4ee;
  --numf: #f8d7e0;
  --lilac: #e8e0f0;
  --panel: #f0e6d8;
  --acc: #c47a96;
  --acc-light: #f8d7e0;
  --tm: #3d5a6c;
  --tm-off: #7a9eb0;
  --tg: #2aabee;
  --ig: #c13584;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
html, body {
  margin: 0; color: var(--ink); font: 700 21px/1.55 var(--body);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(
    transparent 0 38px,
    rgba(120, 155, 195, .18) 38px 39.5px
  );
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a, button, .btn, .sheet, .shot, summary, .who-chip, .tabs .gchip,
input, label.ok, .pic, select, textarea, [role="button"], [role="tab"], [role="listitem"] {
  -webkit-tap-highlight-color: transparent;
}
button, .shot, .sheet, .gchip, .who-chip, .chip, .btn, summary {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
button:focus-visible, .shot:focus-visible, .sheet:focus-visible,
.tabs .gchip:focus-visible, .who-chip:focus-visible,
.btn:focus-visible, summary:focus-visible {
  outline: 2px solid var(--tx);
  outline-offset: 3px;
}
p, li, .lead, .cloud .chip, .facts .chip, .fm .inp-wrap input, .fm .ok,
.grow-note {
  -webkit-text-stroke: .35px currentColor;
  paint-order: stroke fill;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
b, strong { font-weight: 700; color: var(--tx); }
p { margin: 0 0 18px; }
[hidden] { display: none !important; }

.wk-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: -1; }
.wk-main polygon { fill: var(--wk-fill, none); stroke: var(--wk-stroke, none); stroke-width: var(--wk-sw, 2.6px); stroke-linejoin: round; }
.wk-off polygon { fill: none; stroke: var(--wk-off, none); stroke-width: var(--wk-sw, 2.6px); stroke-linejoin: round; }
.wk-off { transform: translate(5px, 5px) !important; }
.stamp, .chip, .btn, .num, .note, .panel, .callout, .sheet {
  position: relative; isolation: isolate; --wk-sw: 3.4px;
}
.fat-type {
  -webkit-text-stroke: .55px currentColor;
  paint-order: stroke fill;
}

.stamp {
  display: inline-block; padding: 12px 30px 16px; border: 0; background: none; color: var(--ink);
  font: 700 52px/1.05 var(--head); transform: rotate(-2deg);
  --wk-fill: var(--stamp); --wk-stroke: var(--ink); --wk-off: var(--off); --wk-sw: 2.8px;
  -webkit-text-stroke: .45px currentColor; paint-order: stroke fill;
}
.gn, .btn, .tm {
  -webkit-text-stroke: .4px currentColor; paint-order: stroke fill;
}
.chip {
  display: inline-block; padding: 10px 22px 12px; border: 0; background: none; color: var(--ink);
  font: 700 26px/1.2 var(--head); white-space: normal;
  --wk-fill: var(--white); --wk-stroke: var(--ink); --wk-off: var(--off); --wk-sw: 2.8px;
}
.chip.f { --wk-fill: var(--fill); }
.btn {
  display: inline-block; padding: 18px 32px; border: 0; background: none;
  cursor: pointer; user-select: none;
  font: 700 32px/1 var(--head); text-align: center; text-decoration: none;
  --wk-fill: var(--white); --wk-stroke: var(--ink); --wk-off: var(--off); --wk-sw: 3px;
  transition: transform .22s ease, translate .22s ease;
}
.btn:hover { transform: translateY(-5px) rotate(-1deg) scale(1.05); }
.btn:active { transform: translateY(2px) scale(.97); }
.btn.primary { color: #fff; --wk-fill: var(--tx); --wk-stroke: none; --wk-off: var(--off); }
.btn.tg { color: #fff; --wk-fill: var(--tg); --wk-stroke: none; --wk-off: none; }
.btn.ig { color: #fff; --wk-fill: var(--ig); --wk-stroke: none; --wk-off: none; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: default; animation: none !important; }
.btn.primary, .btn.tg, .btn.ig {
  animation: pop-cta 2.6s ease-in-out infinite;
}
.btn.tg { animation-delay: .35s; }
.btn.ig { animation-delay: .7s; }
.panel {
  border: 0; background: none; padding: 28px 28px 24px;
  --wk-fill: var(--panel); --wk-stroke: var(--ink); --wk-off: var(--off); --wk-sw: 3px;
}
.note {
  border: 0; background: none; padding: 22px 26px;
  --wk-fill: var(--note); --wk-stroke: var(--ink); --wk-off: var(--off); --wk-sw: 2.8px;
}
.callout {
  border: 0; background: none; padding: 22px 26px; margin-top: 14px;
  --wk-fill: var(--note); --wk-stroke: var(--ink); --wk-off: var(--off); --wk-sw: 2.8px;
}
.num {
  display: inline-grid; place-items: center; min-width: 48px; padding: 8px 14px 10px;
  font: 700 34px/1 var(--num); letter-spacing: .02em;
  --wk-fill: var(--numf); --wk-stroke: var(--ink); --wk-off: var(--off); --wk-sw: 2.6px;
}

.aud-child { --gf: #e8f4ee; --gs: #7fbf9a; }
.aud-teen { --gf: #f8d7e0; --gs: #ec8fab; }
.aud-adult { --gf: #e8e0f0; --gs: #8a6aaa; }
.gchip { --wk-fill: var(--gf); --wk-off: var(--gs); }

.wrap { width: min(860px, 100% - 40px); margin: 0 auto; }
.sec { padding: 40px 0 16px; }
.sec > .stamp { margin: 0 0 22px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.muted { color: var(--muted); font-size: 17px; margin: 8px 0 4px; font-weight: 700; }
.muted b { color: var(--tx); }
.tm { font: 700 36px/1 var(--num); color: var(--tx); letter-spacing: .02em; }
.gn { font: 700 56px/1.05 var(--head); }

/* hero */
.hero { padding: 36px 0 18px; }
.hero-t { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.brand {
  position: relative; z-index: 0; display: inline-block;
  font: 700 clamp(96px, 23vw, 136px)/.9 var(--head); letter-spacing: 2px;
  text-shadow: 6px 5px 0 var(--off);
  -webkit-text-stroke: .7px currentColor; paint-order: stroke fill;
}
.brand::before {
  content: ""; position: absolute; left: -6px; right: -10px; top: 16px; bottom: 4px; z-index: -1;
  background: var(--fill);
  clip-path: polygon(1% 12%, 22% 4%, 61% 9%, 99% 0, 97% 52%, 100% 93%, 64% 100%, 30% 94%, 0 100%, 3% 55%);
}
.brand.soft-shadow { text-shadow: 3px 3px 0 var(--off); }
.lead { font-size: 24px; line-height: 1.45; margin: 0 0 20px; font-weight: 700; }
.lead .name-hl {
  color: var(--tx);
  font-weight: 700;
  -webkit-text-stroke: .55px currentColor;
  paint-order: stroke fill;
}
/* маркер «в Барселоне» — текст как обычный акцент, заливка синяя Барсы */
.lead .city-hl {
  color: var(--tx);
  font-weight: 700;
  padding: 0 .12em;
  background: linear-gradient(transparent 52%, rgba(0, 77, 152, .2) 52% 90%, transparent 90%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero .note { transform: rotate(-1deg); margin-bottom: 22px; font-size: 20px; }
.pic {
  padding: 0;
  overflow: hidden;
  --wk-fill: var(--beige);
  --wk-stroke: var(--ink);
  --wk-off: var(--off);
  --wk-sw: 2.8px;
}
.pic .wk-off { transform: translate(4px, 4px) !important; }
.pic img {
  position: relative; z-index: 1; width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  padding: 8px;
  display: block;
}

/* видео вместо слайдшоу — рамка как у .pic / чипов (wonky) */
.intro-video {
  grid-column: 2;
  grid-row: 1;
  /* ближе к 9:16 исходника — меньше обрезает ноги */
  width: 200px;
  height: 340px;
  margin: 4px 0 0;
  transform: rotate(2.8deg); /* чуть вправо */
}
.intro-video video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom; /* было 35% — кадр вверх, ноги срезало */
  padding: 8px;
  border: 0;
  background: transparent;
  /* как гиф: без плеера; тап по рамке — запасной старт на iOS */
  cursor: pointer;
  -webkit-touch-callout: none;
}
.intro-video video::-webkit-media-controls,
.intro-video video::-webkit-media-controls-enclosure,
.intro-video video::-webkit-media-controls-start-playback-button,
.intro-video video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}
@media (max-width: 700px) {
  /* запас справа под wonky-сдвиг */
  .wrap { width: min(860px, calc(100% - 44px)); }
  .hero .note, .note { max-width: 100%; }
  .intro {
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
  }
  .intro-copy { display: contents; }
  .intro-copy > p:first-of-type {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }
  .intro .intro-video {
    grid-column: 2;
    grid-row: 1;
    width: 148px;
    height: 252px;
    margin: 0;
    align-self: start;
  }
  .pic .wk-off { transform: translate(3px, 3px) !important; }
  .intro-copy > p:nth-of-type(2) {
    grid-column: 1 / -1;
    margin: 4px 0 0;
  }
  .dirs.sec { margin-top: 0; padding-top: 28px; }
  .intro .intro-try {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    margin: 14px 0 4px;
    padding: 18px 18px;
    font-size: 18px;
    overflow-wrap: break-word;
    box-sizing: border-box;
  }
}
.btn.primary:hover, .btn.tg:hover, .btn.ig:hover,
.sticky .btn.primary:hover {
  animation-play-state: paused;
  transform: translateY(-5px) rotate(-1deg) scale(1.06);
}
@keyframes pop-cta {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  40% { transform: translateY(-4px) rotate(-.8deg) scale(1.045); }
  70% { transform: translateY(-1px) rotate(.5deg) scale(1.02); }
}
.sec > .stamp { position: relative; }
.sec > .stamp::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 8px; height: 2px;
  background: rgba(236, 143, 171, .55); border-radius: 2px; z-index: 2;
  transform: scaleX(.35); transform-origin: center;
  animation: draw-line 6.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes draw-line {
  0%, 100% { transform: scaleX(.3); opacity: .45; }
  50% { transform: scaleX(.85); opacity: .75; }
}

/* intro: С‚РµРєСЃС‚+РїР»Р°С€РєР° СЃР»РµРІР°, С„РѕС‚Рѕ СЃРїСЂР°РІР° вЂ” Р±РµР· РїСѓСЃС‚РѕС‚С‹ РѕС‚ clear float */
.intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  align-items: start;
}
.intro-copy { min-width: 0; }
.intro-copy > p:first-child { margin-top: 0; }
.intro p { font-size: 21px; line-height: 1.55; }
.intro .intro-try {
  transform: rotate(-.8deg);
  margin: 22px 0 4px;
  font-size: 20px;
  --wk-fill: var(--lilac);
  --wk-off: #8a6aaa;
}
/* видео выше → пустота слева снизу; направления поднимаем в этот зазор */
.intro.sec { padding-bottom: 0; }
.dirs.sec {
  padding-top: 12px;
  /* было -88 — слишком плотно; +2 линейки фона (38px×2) */
  margin-top: calc(-88px + 76px);
}

/* directions */
.tabs { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 22px; }
.tabs .gchip {
  font-size: 26px; padding: 10px 20px 12px;
  cursor: pointer; user-select: none;
  transition: translate .22s ease;
  --tilt: -1deg;
  animation: tab-press 2.5s ease-in-out infinite;
}
.tabs .gchip:nth-child(2) { --tilt: .8deg; animation-delay: .35s; }
.tabs .gchip:nth-child(3) { --tilt: -0.6deg; animation-delay: .7s; }
.tabs .gchip.cur {
  outline: none; color: #fff;
  --wk-fill: var(--tx); --wk-stroke: none; --wk-off: var(--ink);
  animation: none;
}
@keyframes tab-press {
  0%, 75%, 100% { transform: translateY(0) scale(1) rotate(var(--tilt, 0deg)); }
  82% { transform: translateY(3px) scale(.96) rotate(var(--tilt, 0deg)); }
  90% { transform: translateY(-2px) scale(1.02) rotate(var(--tilt, 0deg)); }
}
.dir-card { padding: 30px 28px 26px; }
.dir-card .meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 10px 0 14px; }
.dir-card .meta .chip {
  cursor: default;
  --wk-fill: var(--beige);
  --wk-off: var(--off);
  --chip-r: -1.4deg;
  transform: rotate(var(--chip-r));
  transition: transform .22s ease;
  animation: float-chip-tilt 5.1s ease-in-out infinite;
}
.dir-card .meta .chip:nth-child(2) { --chip-r: 1.6deg; animation-delay: .3s; }
.dir-card .meta .chip:nth-child(3) { --chip-r: -1.1deg; animation-delay: .55s; }
.dir-card .meta .gchip {
  --wk-fill: var(--gf);
  --wk-off: var(--gs);
}
.dir-card .meta .day-sat {
  --wk-fill: #fff1c2;
  --wk-off: #d4b24a;
  --wk-stroke: var(--ink);
}
.dir-card .meta .day-sun {
  --wk-fill: #dcecf8;
  --wk-off: #6a9cc4;
  --wk-stroke: var(--ink);
}
.dir-card .meta .tm-chip {
  color: #fff;
  font: 700 28px/1 var(--num);
  letter-spacing: .02em;
  padding: 10px 18px 12px;
  --wk-fill: var(--tm);
  --wk-stroke: none;
  --wk-off: var(--tm-off);
  --wk-sw: 2.6px;
}
.dir-card .meta .chip:hover {
  animation-play-state: paused;
  transform: rotate(var(--chip-r, 0deg)) translateY(-4px);
}
.dir-card .grow-title {
  font: 700 42px/1 var(--head); color: var(--tx); margin: 18px 0 12px;
  -webkit-text-stroke: .5px currentColor; paint-order: stroke fill;
  text-shadow: 2px 2px 0 var(--fill);
}
/* десктоп — сетка чипов; телефон — стопка с листанием */
.grow-pack {
  display: flex; flex-wrap: wrap; gap: 12px 14px;
  margin: 0 0 16px;
}
.grow-pack .grow-note {
  flex: 1 1 160px; max-width: calc(50% - 7px); min-width: 140px;
  padding: 16px 16px 18px; text-align: left;
  border: 0; background: none; font: 700 18px/1.35 var(--body); color: inherit;
  cursor: default; user-select: none;
  -webkit-text-stroke: .3px currentColor; paint-order: stroke fill;
  /* без beige/#f0e6d8 — сливается с плашкой группы */
  --wk-fill: #e8f4ee; --wk-stroke: var(--ink); --wk-off: #7fbf9a; --wk-sw: 2.4px;
}
.grow-pack .grow-note:nth-child(1) { --wk-fill: #e8f4ee; --wk-off: #7fbf9a; }
.grow-pack .grow-note:nth-child(2) { --wk-fill: #fff1c2; --wk-off: #d4b24a; }
.grow-pack .grow-note:nth-child(3) { --wk-fill: #e8e0f0; --wk-off: #8a6aaa; }
.grow-pack .grow-note:nth-child(4) { --wk-fill: #dcecf8; --wk-off: #6a9cc4; }
.grow-pack .grow-note:nth-child(5) { --wk-fill: #f5e6c8; --wk-off: #c4a070; }
.grow-pack .grow-note:nth-child(6) { --wk-fill: #d4ebe3; --wk-off: #5a9a7a; }
.grow-pack .grow-note:nth-child(7) { --wk-fill: #f5d0c8; --wk-off: #c47a6a; }
.grow-pack .grow-note b {
  color: var(--tx); font-weight: 700;
  -webkit-text-stroke: .45px currentColor; paint-order: stroke fill;
}
@media (min-width: 701px) {
  .grow-pack .grow-note:nth-child(1) { transform: rotate(-1.4deg); }
  .grow-pack .grow-note:nth-child(2) { transform: rotate(1.1deg); }
  .grow-pack .grow-note:nth-child(3) { transform: rotate(-.5deg); }
  .grow-pack .grow-note:nth-child(4) { transform: rotate(1.6deg); }
  .grow-pack .grow-note:nth-child(5) { transform: rotate(-1deg); }
  .grow-pack .grow-note:nth-child(6) { transform: rotate(.8deg); }
  .grow-pack .grow-note:nth-child(7) { transform: rotate(-.6deg); }
}
@media (max-width: 700px) {
  /* ровная колода по центру — transform только здесь, без nth-child rotate */
  .dir-card { overflow: visible; }
  .grow-pack {
    display: block;
    position: relative;
    width: 100%;
    height: 195px;
    margin: 10px 0 20px;
    overflow: visible;
    touch-action: pan-y;
  }
  .grow-pack .grow-note,
  .grow-pack .grow-note:nth-child(n) {
    position: absolute !important;
    left: 50% !important;
    top: 8px;
    right: auto;
    flex: none; max-width: none; min-width: 0;
    width: min(300px, 90%);
    height: 128px;
    min-height: 128px;
    box-sizing: border-box;
    margin: 0; padding: 18px 20px;
    display: block;
    text-align: center;
    font-size: 18px; line-height: 1.35; cursor: pointer;
    color: var(--ink);
    --wk-stroke: var(--ink); --wk-sw: 2.8px;
    /* вниз плотно; вбок чуть + наклон — хаос, не колода вправо */
    transform:
      translateX(calc(-50% + var(--peek, 0) * 1px))
      translateY(calc(var(--depth, 0) * 7px))
      rotate(calc(var(--tilt, -0.4) * 1deg)) !important;
    z-index: calc(40 - var(--behind, 0));
    transition: transform .9s cubic-bezier(.22, 1, .32, 1);
  }
  .grow-pack .grow-note .wk-off { transform: translate(2px, 2px) !important; }
  .grow-pack .grow-note:nth-child(1) { --wk-fill: #e8f4ee; --wk-off: #7fbf9a; }
  .grow-pack .grow-note:nth-child(2) { --wk-fill: #fff1c2; --wk-off: #d4b24a; }
  .grow-pack .grow-note:nth-child(3) { --wk-fill: #e8e0f0; --wk-off: #8a6aaa; }
  .grow-pack .grow-note:nth-child(4) { --wk-fill: #dcecf8; --wk-off: #6a9cc4; }
  .grow-pack .grow-note:nth-child(5) { --wk-fill: #f5e6c8; --wk-off: #c4a070; }
  .grow-pack .grow-note:nth-child(6) { --wk-fill: #d4ebe3; --wk-off: #5a9a7a; }
  .grow-pack .grow-note:nth-child(7) { --wk-fill: #f5d0c8; --wk-off: #c47a6a; }
  .grow-pack .grow-note.front,
  .grow-pack .grow-note.front:nth-child(n) {
    z-index: 50;
    transform: translateX(-50%) translateY(0) rotate(-0.5deg) !important;
    --wk-sw: 3px;
  }
  .grow-pack .grow-note b { color: var(--tx); }
}

/* how вЂ” notebook doodles, lots of air */
.how > p { font-size: 20px; max-width: 38em; }
.cloud {
  display: flex; flex-wrap: wrap; gap: 18px 16px;
  margin: 22px 0 20px; align-items: flex-start;
}
.cloud .chip {
  font: 700 19px/1.4 var(--body);
  padding: 16px 24px 18px;
  max-width: 100%;
}
.cloud .chip b { font-weight: 700; }
/* у каждого свой цвет — без повторов розового */
.cloud .chip:nth-child(1) { --wk-fill: #e8f4ee; --wk-off: #7fbf9a; transform: rotate(-1.2deg); animation: float-chip 4.8s ease-in-out infinite; }
.cloud .chip:nth-child(2) { --wk-fill: #fff1c2; --wk-off: #d4b24a; transform: rotate(.8deg); animation: float-chip 5.2s ease-in-out infinite .5s; }
.cloud .chip:nth-child(3) { --wk-fill: #e8e0f0; --wk-off: #8a6aaa; transform: rotate(-.6deg); animation: float-chip 4.6s ease-in-out infinite .25s; }
.cloud .chip:nth-child(4) { --wk-fill: #dcecf8; --wk-off: #6a9cc4; transform: rotate(1.4deg); animation: float-chip 5.4s ease-in-out infinite .7s; }
.cloud .chip:nth-child(5) { --wk-fill: #f5e6c8; --wk-off: #c4a070; transform: rotate(-1.8deg); animation: float-chip 5s ease-in-out infinite .35s; }
.cloud .chip:nth-child(6) { --wk-fill: #d4ebe3; --wk-off: #5a9a7a; transform: rotate(1.1deg); animation: float-chip 5.1s ease-in-out infinite .55s; }
.cloud .chip:nth-child(7) { --wk-fill: #f5d0c8; --wk-off: #c47a6a; transform: rotate(-.9deg); animation: float-chip 4.9s ease-in-out infinite .4s; }
@keyframes float-chip {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -3px; }
}
.cloud .chip:hover,
.teach-facts .chip:hover, .teach-facts .num:hover,
.facts .chip:hover,
.fm .seg .who-chip:hover,
.tabs .gchip:hover,
.sched-strip .band .chip:hover {
  animation-play-state: paused;
  translate: 0 -5px;
}
.how .callout { transform: rotate(-1deg); margin-top: 18px; }
.how .callout p { margin: 0; font-size: 20px; }

/* teacher вЂ” РЅР° С‚РµР»РµС„РѕРЅРµ СЃС‚РѕР»Р±РёРє, Р±РµР· РїСѓСЃС‚РѕС‚С‹ РїРѕРґ С„РѕС‚Рѕ */
.teach {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  justify-items: center;
}
.teach .pic {
  width: min(240px, 72vw);
  height: 280px;
  margin: 0 auto 4px;
  transform: rotate(-2deg);
  overflow: visible; /* wonky-рамка снаружи */
}
.teach-pic-clip {
  position: absolute;
  inset: 8px;
  z-index: 1;
  overflow: hidden;
  display: block;
}
.teach-pic img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  /* чуть ниже по кадру — ноги в рамке */
  object-position: 50% 42%;
  transform: scale(1.05);
  transform-origin: 50% 42%;
}
@media (max-width: 700px) {
  .teach .pic { width: min(260px, 78vw); height: 320px; }
  .teach-pic img {
    object-position: 50% 48%;
    transform: scale(1.02);
    transform-origin: 50% 48%;
  }
}
.teach > div:not(.pic),
.teach-copy { width: 100%; }
.teach-copy > p { margin-bottom: 14px; }
@media (min-width: 700px) {
  .teach {
    grid-template-columns: 180px 1fr;
    gap: 22px;
    align-items: start;
    justify-items: stretch;
  }
  .teach .pic { width: auto; height: 240px; margin: 0; }
}
.teach-facts { margin: 0 0 4px; gap: 10px; }
.teach-facts .chip {
  margin: 0 4px 10px 0; padding: 10px 18px 12px; font-size: 24px;
  transition: translate .22s ease;
}
.teach-facts .chip b { color: var(--tx); font: 700 30px/1 var(--num); margin-right: .15em; }
.teach-facts .chip:nth-child(5n+1) { transform: rotate(-1.4deg); animation: float-chip 5s ease-in-out infinite; }
.teach-facts .chip:nth-child(5n+2) { transform: rotate(.9deg); animation: float-chip 5.4s ease-in-out infinite .3s; }
.teach-facts .chip:nth-child(5n+3) { transform: rotate(-.7deg); animation: float-chip 4.9s ease-in-out infinite .55s; }
.teach-facts .chip:nth-child(5n+4) { transform: rotate(1.2deg); animation: float-chip 5.6s ease-in-out infinite .15s; }
.teach-facts .chip:nth-child(5n) { transform: rotate(-1deg); animation: float-chip 5.1s ease-in-out infinite .7s; }
.teach-sec > p { font-size: 19px; }
.teach-blocks {
  display: grid;
  gap: 22px;
  margin: 6px 0 20px;
  padding: 4px 4px 10px; /* запас под wonky-обводку и сдвиг */
  overflow: visible;
}
.teach-blocks .note,
.teach-blocks .callout {
  margin: 0;
  position: relative;
  z-index: 1;
  overflow: visible;
  /* лёгкий наклон без наезда друг на друга */
  transform: none;
}
.teach-blocks .note p,
.teach-blocks .callout p { margin: 0; font-size: 19px; }
.teach-blocks .note { --wk-fill: var(--fill); --wk-stroke: var(--ink); --wk-off: var(--off); }
.teach-blocks .callout { --wk-fill: var(--note); --wk-stroke: var(--ink); --wk-off: #7fbf9a; }
.callout.site-quote {
  --wk-fill: #e8f4ee;
  --wk-off: #7fbf9a;
  --wk-stroke: var(--ink);
  --wk-sw: 2.8px;
}
.callout.site-quote .q-marks {
  display: block;
  margin: 0 0 4px;
  font: 700 52px/.75 var(--head);
  color: var(--tx);
  opacity: .55;
  line-height: .75;
}
.callout.site-quote p { margin: 0; }
.teach-blocks .note.end {
  --wk-fill: var(--lilac);
  --wk-stroke: var(--ink);
  --wk-off: #8a6aaa;
  --wk-sw: 2.8px;
}
.teach-blocks .note .wk-off,
.teach-blocks .callout .wk-off { transform: translate(3px, 3px) !important; }
@media (max-width: 700px) {
  .teach-blocks { gap: 20px; padding: 2px 2px 12px; }
  .teach-blocks .note,
  .teach-blocks .callout { padding: 18px 18px; }
}

/* why — горизонтальная кучка; на телефоне плотнее чтобы не выезжало */
.why-pack {
  position: relative;
  width: min(810px, 100%);
  height: 383px;
  margin: 10px auto 8px;
  overflow: visible;
  touch-action: pan-y;
  user-select: none;
}
.why-pack .sheet {
  position: absolute; left: 50%; top: 18px;
  width: min(315px, 70%);
  margin: 0; padding: 29px 25px 25px; text-align: center;
  border: 0; background: none; font: inherit; color: inherit; cursor: pointer;
  --wk-stroke: var(--ink); --wk-off: var(--off); --wk-sw: 3.4px;
  --fan-x: calc((var(--slot, var(--i)) - 2) * 88px);
  --fan-y: calc((var(--slot, var(--i)) - 2) * 3px);
  --fan-r: calc((var(--slot, var(--i)) - 2) * 3.5deg);
  transform: translateX(calc(-50% + var(--fan-x))) translateY(var(--fan-y)) rotate(var(--fan-r)) scale(0.93);
  z-index: calc(var(--slot, var(--i)) + 1);
  transition: transform .62s cubic-bezier(.22, 1, .32, 1);
  animation: sheet-sway 5.6s ease-in-out infinite;
  animation-delay: calc(var(--slot, var(--i)) * -.4s);
}
.why-pack .sheet .wk-off { transform: translate(6px, 6px) !important; }
.why-pack .sheet:nth-child(1) { --wk-fill: var(--fill); --wk-off: var(--off); }
.why-pack .sheet:nth-child(2) { --wk-fill: var(--beige); --wk-off: #c4a882; }
.why-pack .sheet:nth-child(3) { --wk-fill: var(--note); --wk-off: #7fbf9a; }
.why-pack .sheet:nth-child(4) { --wk-fill: var(--lilac); --wk-off: #8a6aaa; }
.why-pack .sheet:nth-child(5) { --wk-fill: #fff1c2; --wk-off: #d4b24a; }
.why-pack .sheet .gn {
  font-size: 43px; margin-bottom: 12px;
  -webkit-text-stroke: .45px currentColor; paint-order: stroke fill;
}
.why-pack .sheet p { margin: 0; font-size: 20px; line-height: 1.4; font-weight: 700; }
.why-pack .sheet.front {
  z-index: 30;
  --fan-x: 0px;
  --fan-y: -10px;
  --fan-r: -1.2deg;
  transform: translateX(-50%) translateY(var(--fan-y)) rotate(var(--fan-r)) scale(1.06);
  --wk-sw: 3.8px;
  animation: front-sway 4.6s ease-in-out infinite;
}
.why-pack .sheet:hover {
  animation-play-state: paused;
}
.why-pack .sheet.front:hover {
  transform: translateX(-50%) translateY(-14px) rotate(-1.2deg) scale(1.08);
}
@media (max-width: 700px) {
  .why-pack {
    width: 100%;
    height: 268px;
    margin: 8px auto 0;
    overflow: hidden; /* корешки не вылезают за экран */
  }
  .why-pack .sheet {
    top: 14px;
    width: min(270px, 78%);
    padding: 25px 18px 20px;
    --fan-x: calc((var(--slot, var(--i)) - 2) * 20px);
    --fan-y: calc((var(--slot, var(--i)) - 2) * 5px);
    --fan-r: calc((var(--slot, var(--i)) - 2) * 2deg);
    transform: translateX(calc(-50% + var(--fan-x))) translateY(var(--fan-y)) rotate(var(--fan-r)) scale(0.94);
  }
  .why-pack .sheet .wk-off { transform: translate(3px, 3px) !important; }
  .why-pack .sheet .gn { font-size: 36px; margin-bottom: 9px; }
  .why-pack .sheet p { font-size: 15px; }
  .why-pack .sheet.front {
    --fan-y: -6px;
    transform: translateX(-50%) translateY(var(--fan-y)) rotate(var(--fan-r)) scale(1.02);
  }
  .why-pack .sheet.front:hover {
    transform: translateX(-50%) translateY(-8px) rotate(-1.2deg) scale(1.03);
  }
}
@keyframes sheet-sway {
  0%, 100% { translate: 0 0; }
  50% { translate: 1px -2px; }
}
@keyframes front-sway {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -3px; }
}
.why-pack .sheet:focus-visible { outline: 2px solid var(--tx); outline-offset: 4px; }

/* reveal вЂ” СЃРїРѕРєРѕР№РЅРµРµ, Р±РµР· РїРѕР»РЅРѕРіРѕ РёСЃС‡РµР·РЅРѕРІРµРЅРёСЏ */
.reveal {
  opacity: .7; transform: translateY(10px);
  transition: opacity .95s ease, transform .95s cubic-bezier(.22, 1, .36, 1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .why-pack .sheet, .cloud .chip, .teach-facts .chip, .teach-facts .num,
  .facts .chip, .fm .seg .who-chip, .tabs .gchip, .sched-strip .band .chip,
  .btn.primary, .btn.tg, .btn.ig, .sec > .stamp::after { animation: none !important; }
  .btn, .chip { transition: none; }
}

/* schedule — полосы; время чипом как возраст */
.sched-strip { display: grid; gap: 14px; margin-bottom: 20px; }
.sched-strip .band {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px;
  padding: 22px 24px; --wk-fill: var(--beige);
}
.sched-strip .day {
  font: 700 30px/1 var(--head);
  padding: 10px 18px 12px;
  -webkit-text-stroke: .45px currentColor; paint-order: stroke fill;
  transition: translate .22s ease;
  animation: float-chip 5.1s ease-in-out infinite;
}
.sched-strip .day-sat {
  --wk-fill: #fff1c2 !important;
  --wk-off: #d4b24a !important;
  --wk-stroke: var(--ink);
  --wk-sw: 2.6px;
  transform: rotate(-1.2deg);
}
.sched-strip .day-sun {
  --wk-fill: #dcecf8 !important;
  --wk-off: #6a9cc4 !important;
  --wk-stroke: var(--ink);
  --wk-sw: 2.6px;
  transform: rotate(1deg);
  animation-delay: .25s;
}
.sched-strip .band .tm-chip {
  color: #fff;
  font: 700 28px/1 var(--num);
  letter-spacing: .02em;
  padding: 10px 18px 12px;
  --wk-fill: var(--tm);
  --wk-stroke: none;
  --wk-off: var(--tm-off);
  --wk-sw: 2.6px;
  -webkit-text-stroke: .35px currentColor; paint-order: stroke fill;
  transition: translate .22s ease;
  animation: float-chip 5.2s ease-in-out infinite .15s;
}
/* возраст наследует цвет полосы; дни — свои (не inherit) */
.sched-strip .band .chip:not(.tm-chip):not(.day) {
  font-size: 30px; padding: 12px 24px 14px; margin-left: auto;
  --wk-fill: inherit; --wk-off: inherit; --wk-sw: 2.8px;
  transition: translate .22s ease;
  animation: float-chip 5.2s ease-in-out infinite .2s;
}
.sched-strip .band .day {
  margin-left: 0;
}
.slot { margin: 14px 0; }
.slot .tm { display: block; font-size: 32px; margin-bottom: 8px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px; }
.facts .chip {
  font: 700 19px/1.35 var(--body); padding: 14px 20px 16px;
  transition: transform .22s ease;
  --chip-r: -0.9deg;
  transform: rotate(var(--chip-r));
  animation: float-chip-tilt 5.1s ease-in-out infinite;
}
.facts .facts-addr { --chip-r: -0.8deg; width: 100%; }
.facts-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  width: 100%;
}
.facts-row .chip.f { --chip-r: 0.9deg; animation-delay: .35s; }
.facts-row .chip.trial {
  --chip-r: -0.7deg;
  --wk-fill: #fff1c2; --wk-off: #d4b24a;
  font: 700 24px/1.15 var(--head);
  padding: 12px 18px 14px;
  animation-delay: .55s;
}
@keyframes float-chip-tilt {
  0%, 100% { transform: rotate(var(--chip-r, 0deg)) translateY(0); }
  50% { transform: rotate(var(--chip-r, 0deg)) translateY(-3px); }
}
.facts .chip:hover,
.facts-row .chip:hover {
  animation-play-state: paused;
  transform: rotate(var(--chip-r, 0deg)) translateY(-5px);
}
@media (max-width: 700px) {
  .facts-row {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .facts-row .chip.f {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 17px;
    padding: 12px 14px 14px;
  }
  .facts-row .chip.trial {
    flex: 0 0 auto;
    font-size: 22px;
    padding: 11px 14px 13px;
  }
}

/* signup */
.signup .msg { display: grid; gap: 14px; margin: 20px 0 10px; }
.signup .msg .btn { font-size: 32px; padding: 18px 22px; }
.signup details { margin-top: 12px; text-align: center; }
#form-details { scroll-margin-top: 8px; }
#lead-form { scroll-margin-top: 0; }
.signup summary.form-chip {
  list-style: none; display: inline-block; margin: 16px auto 18px;
  font-size: 28px; padding: 12px 22px 14px; color: var(--ink);
  --wk-fill: var(--fill); --wk-stroke: var(--ink); --wk-off: var(--off);
  transition: translate .22s ease;
  animation: float-chip 5.2s ease-in-out infinite;
  cursor: pointer; user-select: none;
}
.signup summary.form-chip:hover { animation-play-state: paused; translate: 0 -4px; }
.signup summary::-webkit-details-marker { display: none; }
.signup summary.form-chip::after { content: " \25BE"; color: var(--tx); } /* ▾ */
details[open] > summary.form-chip::after { content: " \25B4"; } /* ▴ */
.fm { --wk-fill: var(--note); padding: 30px 26px; }
.fm label {
  display: block; font: 700 32px/1.05 var(--head); margin: 20px 0 12px;
  -webkit-text-stroke: .55px currentColor; paint-order: stroke fill;
  color: var(--ink);
}
.fm label[for], .fm > label:first-of-type { letter-spacing: .01em; }
.fm .seg { display: flex; gap: 12px; flex-wrap: wrap; }
.fm .seg .who-chip {
  cursor: pointer; font-size: 28px; padding: 10px 24px 12px;
  --wk-fill: var(--beige); --wk-stroke: var(--ink); --wk-off: var(--off);
  transition: translate .22s ease, transform .22s ease;
  animation: float-chip 5s ease-in-out infinite;
}
.fm .seg .who-chip:nth-child(2) { animation-delay: .45s; }
.fm .seg .who-chip.cur {
  outline: none; color: #fff;
  --wk-fill: var(--tx); --wk-stroke: none; --wk-off: var(--ink);
}
.fm .inp-wrap {
  padding: 0; margin: 0 0 4px;
  --wk-fill: var(--beige); --wk-stroke: var(--ink); --wk-off: var(--off); --wk-sw: 1.6px;
}
.fm .inp-wrap:focus-within { --wk-off: var(--tx); --wk-sw: 2px; }
.fm .inp-wrap input {
  position: relative; z-index: 1; display: block; width: 100%;
  border: 0; background: transparent; outline: none;
  padding: 16px 20px; border-radius: 0; box-shadow: none;
  font: 700 19px/1.4 var(--body); color: var(--ink);
}
.fm .inp-wrap input::placeholder { color: #9a8f8f; }
.fm .ok {
  display: flex; gap: 8px; align-items: center; justify-content: flex-start;
  font-size: 15px; margin: 18px 0; color: #3a3232; font-weight: 700; line-height: 1.35;
  text-align: left;
}
.fm .ok > span:last-child { flex: 1; min-width: 0; text-align: left; }
.fm .ok a { color: var(--tx); font-weight: 700; }
.fm .chk-wrap {
  flex: none; width: 28px; height: 28px; padding: 0; margin: 0;
  --wk-fill: var(--beige); --wk-stroke: var(--ink); --wk-off: var(--off); --wk-sw: 1.5px;
}
.fm .chk-wrap .wk-off { transform: translate(2px, 2px) !important; }
.fm .chk-wrap:has(input:checked) { --wk-fill: var(--fill); --wk-off: var(--tx); }
.fm .chk-wrap input {
  position: relative; z-index: 1; appearance: none; -webkit-appearance: none;
  width: 100%; height: 100%; margin: 0; border: 0; background: transparent; cursor: pointer;
}
.fm .chk-wrap input:checked::after {
  content: "✓"; position: absolute; inset: 0; display: grid; place-items: center;
  font: 700 20px/1 var(--head); color: var(--tx);
}
.fm .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status {
  display: none; margin: 16px auto 0; font-weight: 700; min-height: 0;
  text-align: center;
}
.form-status.ok, .form-status.err {
  display: inline-block;
  padding: 12px 22px 14px;
  font: 700 24px/1.25 var(--head);
  color: var(--ink);
  --wk-stroke: var(--ink); --wk-sw: 2.6px;
}
.form-status.ok {
  --wk-fill: var(--note); --wk-off: #7fbf9a;
}
.form-status.err {
  --wk-fill: var(--fill); --wk-off: var(--off);
}

/* sticky */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid;
  place-items: center;
  padding: 0 0 calc(12px + env(safe-area-inset-bottom));
  background: none; border: 0; pointer-events: none;
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky.show { transform: translateY(0); }
.sticky .btn.primary {
  pointer-events: auto;
  position: relative;
  /* центр через place-items у .sticky — без left:50% (он уезжал вправо) */
  flex: none;
  width: auto;
  max-width: 242px;
  margin: 0;
  font-size: 24px;
  padding: 9px 22px 11px;
  animation: none;
  transform: none;
  filter: drop-shadow(0 4px 10px rgba(16, 14, 14, .14));
}
.sticky .btn.primary:hover,
.sticky .btn.primary:active {
  transform: translateY(-2px);
}
.sticky .btn.primary .wk-off { transform: translate(2px, 2px) !important; }
body { padding-bottom: 75px; }
@media (min-width: 701px) {
  .sticky .btn.primary {
    font-size: 34px;
    padding: 14px 40px 16px;
    max-width: 360px;
  }
  body { padding-bottom: 88px; }
}

.site-foot {
  padding: 40px 0 28px; text-align: center; color: var(--muted); font-size: 14px;
}
.site-foot p { margin: 0 0 8px; }
.site-foot a { color: var(--tx); font-weight: 700; }

@media (min-width: 900px) {
  .wrap { width: min(1080px, 100% - 64px); }
  html, body { font-size: 22px; }
  .sec { padding: 56px 0 24px; }
  .intro-video { width: 240px; height: 400px; margin: 4px 0 0; }
  .teach { grid-template-columns: 270px 1fr; gap: 28px; }
  .teach .pic { width: auto; height: 340px; }
  .stamp { font-size: 58px; padding: 14px 34px 18px; }
  .gn { font-size: 62px; }
  .chip { font-size: 28px; padding: 12px 24px 14px; }
  .btn { font-size: 34px; }
  .cloud { gap: 20px 18px; }
  .cloud .chip { font-size: 20px; padding: 18px 26px 20px; }
  .sched-strip { gap: 16px; }
  .sched-strip .day { font-size: 38px; }
  .sched-strip .band .tm-chip { font-size: 32px; padding: 12px 22px 14px; }
  .sched-strip .band .chip:not(.tm-chip) { font-size: 34px; padding: 14px 28px 16px; }
  .why-pack { width: min(990px, 100%); height: 495px; }
  .why-pack .sheet { width: 428px; padding: 43px 36px 36px; }
  .why-pack .sheet .gn { font-size: 56px; }
  .why-pack .sheet p { font-size: 25px; }
  .why-pack .sheet {
    --fan-x: calc((var(--slot, var(--i)) - 2) * 133px);
  }
  .facts { gap: 16px; align-items: center; }
  .facts .facts-addr { width: auto; max-width: none; }
  .facts-row { width: auto; gap: 16px; }
  .facts .chip {
    font-size: 22px;
    padding: 16px 23px 18px;
  }
  .facts-row .chip.trial {
    font-size: 28px;
    padding: 14px 21px 16px;
  }
}
