/* Сайт Расту+, новый стиль (ноябрь 2026). Цвета и шрифты те же, что в приложении:
   assets/brand/v2/tokens.css и README.md рядом с ним. Снаружи громко: абрикосовая
   витрина, Unbounded, маркер на главной мысли. Внутри тетрадь: бумага в точку,
   карточки на скотче, пометки Caveat. Витрина светлая в обеих темах. */

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/v3/fonts/onest-normal-400-cyrillic.b9789c755a.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/v3/fonts/onest-normal-400-latin.3b422208ff.woff2) format('woff2');
  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: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/v3/fonts/onest-normal-500-cyrillic.b9789c755a.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/v3/fonts/onest-normal-500-latin.3b422208ff.woff2) format('woff2');
  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: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/v3/fonts/onest-normal-600-cyrillic.b9789c755a.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/v3/fonts/onest-normal-600-latin.3b422208ff.woff2) format('woff2');
  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: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/v3/fonts/unbounded-normal-600-cyrillic.bacb0b11d7.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/v3/fonts/unbounded-normal-600-latin.1d64144928.woff2) format('woff2');
  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: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/v3/fonts/unbounded-normal-800-cyrillic.54b3f52a47.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/v3/fonts/unbounded-normal-800-latin.22053462da.woff2) format('woff2');
  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: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/v3/fonts/caveat-normal-700-cyrillic.cbd8dc432e.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/v3/fonts/caveat-normal-700-latin.5d771f620d.woff2) format('woff2');
  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: 'Cormorant';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/v3/fonts/cormorant-normal-700-cyrillic.b4e033ae3d.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/v3/fonts/cormorant-normal-700-latin.567a37b898.woff2) format('woff2');
  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: 'Cormorant';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/v3/fonts/cormorant-italic-700-cyrillic.9fb486d771.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/v3/fonts/cormorant-italic-700-latin.fbe9ef17d8.woff2) format('woff2');
  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 {
  --paper: #FFF3E8;
  --dot: #F0D5BF;
  --card: #FFFFFF;
  --line: #F0DCCB;
  --ink: #2E2A5C;
  --ink-soft: #5D5A80;
  --note: #A84816;
  --marker: #FFE45C;
  --plus: #E8620F;
  --btn: #2E2A5C;
  --btn-ink: #FFFFFF;
  --show: #FFDCC2;
  --loud: #FFB27A;
  --band-ink: #2E2A5C;
  --band-ink-fg: #FFF3E8;
  --band-ink-note: #FFB07A;
  --foot: #2E2A5C;
  --foot-fg: #F4EFFA;
  --tick: #D9C6B6;
  /* карандаши возраста: до года, 1–3, 3–6, 6–8 */
  --p0: #FFA25F; --p1: #FFC21A; --p2: #2DBE73; --p3: #3E7BFA;
  --n0: #A84816; --n1: #7A5600; --n2: #11804A; --n3: #2456D6;
  /* наклейки */
  --st-apricot: #FFA25F; --st-sun: #FFD45C; --st-mint: #7DD8A7; --st-sky: #8FB4FF; --st-ink: #2E2A5C;
  --shadow: 0 1px 0 rgba(46, 42, 92, .05), 0 14px 30px -18px rgba(46, 42, 92, .45);
  --radius: 18px;
  --display: Unbounded, "Arial Black", system-ui, sans-serif;
  --text: Onest, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: Caveat, "Segoe Print", "Comic Sans MS", cursive;
  --book: Cormorant, Georgia, "Times New Roman", serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1E1B33; --dot: #2E2A4D; --card: #2A2647; --line: #3A3560;
    --ink: #F4EFFA; --ink-soft: #B9B3D6; --note: #FFB07A;
    --marker: rgba(255, 228, 92, .32); --plus: #FF8A3D;
    --btn: #FFA25F; --btn-ink: #1E1B33;
    --band-ink: #15132A; --foot: #15132A; --tick: #4A4570;
    --n0: #FFB07A; --n1: #FFD45C; --n2: #5FD69A; --n3: #8FB0FF;
    --shadow: 0 14px 30px -18px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1E1B33; --dot: #2E2A4D; --card: #2A2647; --line: #3A3560;
  --ink: #F4EFFA; --ink-soft: #B9B3D6; --note: #FFB07A;
  --marker: rgba(255, 228, 92, .32); --plus: #FF8A3D;
  --btn: #FFA25F; --btn-ink: #1E1B33;
  --band-ink: #15132A; --foot: #15132A; --tick: #4A4570;
  --n0: #FFB07A; --n1: #FFD45C; --n2: #5FD69A; --n3: #8FB0FF;
  --shadow: 0 14px 30px -18px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* Витрина (первый экран, возраст, цена, призыв) светлая в обеих темах: внутри
   неё всегда дневные чернила. */
.band-show, .band-loud, .top-show {
  --paper: #FFF3E8; --card: #FFFFFF; --line: #F0DCCB;
  --ink: #2E2A5C; --ink-soft: #5D5A80; --note: #A84816;
  --marker: #FFE45C; --plus: #E8620F; --btn: #2E2A5C; --btn-ink: #FFFFFF; --tick: #D9C6B6;
  --n0: #A84816; --n1: #7A5600; --n2: #11804A; --n3: #2456D6;
  --shadow: 0 1px 0 rgba(46, 42, 92, .05), 0 14px 30px -18px rgba(46, 42, 92, .45);
  color: var(--ink);
}

.p0 { --pc: var(--p0); --nc: var(--n0); }
.p1 { --pc: var(--p1); --nc: var(--n1); }
.p2 { --pc: var(--p2); --nc: var(--n2); }
.p3 { --pc: var(--p3); --nc: var(--n3); }

/* ---------- основа ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--note); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 {
  font: 800 clamp(34px, 5.2vw, 66px)/1.06 var(--display);
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
h2 {
  font: 800 clamp(26px, 3.4vw, 44px)/1.12 var(--display);
  letter-spacing: -.015em;
  margin-bottom: 18px;
}
h3 { font: 600 clamp(17px, 1.5vw, 19px)/1.3 var(--display); margin-bottom: 8px; letter-spacing: -.005em; }
p { margin: 0 0 1em; max-width: 44em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(18px, 1.55vw, 20px); line-height: 1.5; max-width: 36em; }
.narrow { max-width: 40em; }
.hint { font-size: 14.5px; color: var(--ink-soft); }
.hand {
  font: 700 clamp(22px, 2.1vw, 28px)/1.05 var(--hand);
  color: var(--note);
  margin: 0 0 6px;
}
mark {
  color: inherit;
  background: linear-gradient(transparent 52%, var(--marker) 52%, var(--marker) 94%, transparent 94%);
  padding: 0 .1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
h1 mark, h2 mark { background: linear-gradient(transparent 46%, var(--marker) 46%, var(--marker) 92%, transparent 92%); padding: 0 .06em; }

/* ---------- полосы ---------- */

.band { padding-block: clamp(56px, 8vw, 108px); position: relative; }
.band-paper {
  background-color: var(--paper);
  background-image: radial-gradient(var(--dot) 1.3px, transparent 1.7px);
  background-size: 22px 22px;
}
.band-show { background: var(--show); }
.band-loud { background: var(--loud); }
/* Две тетрадные полосы подряд делит линейка: отметки, как на ростомере. */
.band-line::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 14px;
  background:
    repeating-linear-gradient(90deg, var(--tick) 0 2px, transparent 2px 22px) 0 0 / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, var(--tick) 0 2px, transparent 2px 110px) 0 0 / 100% 14px no-repeat;
}

/* ---------- кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 16px/1.1 var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-ink { background: var(--btn); color: var(--btn-ink); }
.btn-ink:hover { color: var(--btn-ink); transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(46, 42, 92, .6); }
.btn-line { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-line:hover { color: var(--ink); background: var(--marker); }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 17px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.where { font-size: 14px; color: var(--ink-soft); margin: 0; max-width: 24em; }

/* ---------- шапка ---------- */

.top { position: relative; z-index: 30; background: var(--paper); }
.top-show { background: var(--show); }
.top-in { display: flex; align-items: center; gap: 28px; padding-block: 18px; }
.brand { display: block; flex: none; line-height: 0; color: var(--ink); }
.brand svg { height: 30px; width: auto; }
.brand [fill="#2E2A5C"] { fill: var(--ink); }
.brand [fill="#E8620F"] { fill: var(--plus); }
.nav { display: flex; align-items: center; gap: 4px 22px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; padding: 6px 0; }
.nav a[aria-current="page"] { background: linear-gradient(transparent 60%, var(--marker) 60%, var(--marker) 92%, transparent 92%); }
.nav-cta { display: none; }
.top-cta { flex: none; min-height: 46px; font-size: 15px; }
.burger { display: none; }

@media (max-width: 960px) {
  .top-in { gap: 12px; padding-block: 12px; }
  .brand svg { height: 26px; }
  .top-cta { margin-left: auto; min-height: 42px; padding: 0 16px; font-size: 14.5px; }
  .burger {
    display: inline-grid;
    place-items: center;
    width: 44px; height: 44px;
    border: 2px solid var(--ink);
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
  }
  .burger span, .burger span::before, .burger span::after {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; content: "";
    transition: transform .2s ease, background-color .2s ease;
  }
  .burger span::before { position: absolute; top: -6px; }
  .burger span::after { position: absolute; top: 6px; }
  .burger[aria-expanded="true"] span { background: transparent; }
  .burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
    background: var(--paper);
    border-bottom: 2px solid var(--line);
    box-shadow: 0 24px 30px -24px rgba(46, 42, 92, .4);
    font-size: 18px;
  }
  .top-show .nav { background: var(--show); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { display: flex; margin-top: 16px; border: 0; justify-content: center; min-height: 52px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-weight: 600; }
}
@media (max-width: 380px) {
  .top-cta { display: none; }
  .burger { margin-left: auto; }
}

.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; padding-block: 6px 0; font-size: 14px; color: var(--ink-soft); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- первый экран: ростомер Алисы ---------- */

.hero { padding-block: clamp(16px, 3vw, 40px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 24px; align-items: center; }
.hero-note { margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 4.7vw, 60px); }

/* Ростомер рисуется в своих координатах 600×660 и масштабируется одной
   переменной --s: фото и отметки остаются на своей высоте на любой ширине.
   --cm пикселей на сантиметр задаёт шкала из content/home.json (ruler): верх
   кратен 10 см, поэтому длинные риски каждые 10 см встают от верха. */
.grow { --s: .78; position: relative; width: calc(600px * var(--s)); height: calc(660px * var(--s)); margin: 0 auto; }
.grow-board {
  position: absolute;
  left: calc(271px * var(--s)); top: 0; bottom: 0;
  width: calc(58px * var(--s));
  border-radius: calc(10px * var(--s)) calc(10px * var(--s)) 0 0;
  background:
    repeating-linear-gradient(180deg, var(--tick) 0 calc(1.5px * var(--s)), transparent calc(1.5px * var(--s)) calc(var(--cm) * var(--s) * 1px)) right calc(6px * var(--s)) top 0 / calc(9px * var(--s)) 100% no-repeat,
    repeating-linear-gradient(180deg, var(--tick) 0 calc(2px * var(--s)), transparent calc(2px * var(--s)) calc(var(--cm) * 5 * var(--s) * 1px)) right calc(6px * var(--s)) top 0 / calc(15px * var(--s)) 100% no-repeat,
    repeating-linear-gradient(180deg, var(--tick) 0 calc(2px * var(--s)), transparent calc(2px * var(--s)) calc(var(--cm) * 10 * var(--s) * 1px)) right calc(6px * var(--s)) top 0 / calc(24px * var(--s)) 100% no-repeat,
    #FFFFFF;
  box-shadow: 0 18px 30px -22px rgba(46, 42, 92, .5);
}
.grow-board span {
  position: absolute;
  left: calc(6px * var(--s));
  top: calc(var(--y) * var(--s) * 1px);
  transform: translateY(-50%);
  font: 600 calc(13px * var(--s))/1 var(--text);
  color: var(--ink-soft);
}
.grow-mark {
  position: absolute;
  top: calc((var(--y) - 3) * var(--s) * 1px);
  width: calc(86px * var(--s));
  height: calc(6px * var(--s));
  border-radius: 3px;
  background: var(--plus);
}
.grow-mark.to-r { left: calc(271px * var(--s)); }
.grow-mark.to-l { left: calc(243px * var(--s)); }
.snap {
  position: absolute;
  left: calc(var(--x) * var(--s) * 1px);
  top: calc(var(--y) * var(--s) * 1px);
  width: calc(204px * var(--s));
  margin: 0;
  padding: calc(9px * var(--s)) calc(9px * var(--s)) 0;
  background: #FFFFFF;
  box-shadow: 0 16px 30px -18px rgba(46, 42, 92, .55);
  transform: rotate(var(--r));
}
.snap::before {
  content: "";
  position: absolute;
  top: calc(-10px * var(--s)); left: 50%;
  width: calc(72px * var(--s)); height: calc(20px * var(--s));
  border-radius: 2px;
  background: var(--tape);
  opacity: .85;
  transform: translateX(-50%) rotate(-4deg);
}
.snap img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.snap figcaption { margin: 0; padding: calc(7px * var(--s)) 0 calc(9px * var(--s)); font-size: calc(25px * var(--s)); line-height: 1; color: #2E2A5C; }
.grow-note { position: absolute; left: calc(70px * var(--s)); top: calc(14px * var(--s)); margin: 0; font-size: calc(32px * var(--s)); color: var(--plus); transform: rotate(-4deg); }

@media (max-width: 1180px) { .grow { --s: .72; } }
@media (max-width: 1040px) { .grow { --s: .64; } }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
  .grow { --s: .9; }
}
@media (max-width: 640px) { .grow { --s: .76; } }
@media (max-width: 520px) { .grow { --s: .66; } }
@media (max-width: 460px) { .grow { --s: .6; } }
@media (max-width: 400px) { .grow { --s: .56; } }
@media (max-width: 370px) { .grow { --s: .52; } }

/* ---------- год Алисы ---------- */

.album-note { font-size: 15px; color: var(--ink-soft); max-width: 40em; }
.album { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 48px 22px; }
.frame { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.frame .polaroid { width: 100%; padding: 8px 8px 0; transform: rotate(-1.4deg); }
.frame:nth-child(even) .polaroid { transform: rotate(1.2deg); }
.frame:nth-child(3n) .polaroid { transform: rotate(-.4deg); }
.frame .polaroid img { aspect-ratio: 4 / 5; }
.frame figcaption { margin: 0; padding: 8px 2px 10px; font-size: 22px; line-height: 1.05; color: #2E2A5C; }
.frame figcaption b { display: block; color: #A84816; }
.push {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  background: var(--card);
  border-radius: 16px;
  padding: 11px 12px 12px;
  box-shadow: var(--shadow);
  font-size: 13.5px;
  line-height: 1.35;
}
.push img { display: block; width: 28px; height: 28px; border-radius: 7px; }
.push p { margin: 0; }
.push small { display: block; font-size: 11.5px; color: var(--ink-soft); margin-bottom: 2px; }
.push b { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 3px; }
.push span { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-soft); }
/* после года строка не всегда пуш: метка говорит, где мама её видит в приложении */
.push small em { font-style: normal; margin-left: 4px; padding: 0 7px; border-radius: 999px; background: var(--paper); }
/* вопрос Книги: варианты ответа, как кнопки в приложении */
.push .opts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; -webkit-line-clamp: unset; }
.push .opts i { font-style: normal; font-size: 12px; line-height: 1.3; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
@media (max-width: 1100px) {
  /* Лента листается вбок: следующий кадр выглядывает из-за края. */
  .album {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 18px;
    margin-inline: calc(-1 * clamp(16px, 4vw, 40px));
    padding: 12px clamp(16px, 4vw, 40px) 20px;
    scroll-padding-inline: clamp(16px, 4vw, 40px);
    scrollbar-width: thin;
  }
  .frame { flex: 0 0 min(250px, 70vw); scroll-snap-align: start; }
}

/* Вкладки лет: отрезки ростомера в цвете возраста, выбранный залит. На узком
   экране ряд листается вбок. */
.years { display: flex; gap: 8px; margin: 34px 0 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.years::-webkit-scrollbar { display: none; }
@media (max-width: 1100px) {
  /* Ряд лет до края экрана, как лента кадров: вкладка уходит за край, а не
     обрезается по отступу. Ниже общего правила, иначе его margin перебьёт. */
  .years {
    margin-inline: calc(-1 * clamp(16px, 4vw, 40px));
    padding-inline: clamp(16px, 4vw, 40px);
    scroll-padding-inline: clamp(16px, 4vw, 40px);
  }
}
/* Пока ряд есть куда листать, его край гаснет в ту сторону (классы ставит site.js). */
.years.more-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.years.more-l { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 56px), transparent); }
.years.more-l.more-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
/* Подсказка, что ряд листается: полоска с бегунком под годами, точки под кадрами.
   Рисует site.js и прячет, когда всё помещается. */
.swipe-track { position: relative; width: 72px; height: 4px; margin: 12px auto 0; border-radius: 999px; background: var(--line); background: color-mix(in srgb, var(--ink) 14%, transparent); overflow: hidden; }
.swipe-track i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: inherit; background: var(--ink); }
.swipe-dots { display: flex; justify-content: center; gap: 6px; margin: 2px 0 0; }
.swipe-dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--line); background: color-mix(in srgb, var(--ink) 22%, transparent); transition: width .25s ease, background-color .25s ease; }
.swipe-dots i.on { width: 22px; background: var(--ink); }
.swipe-track[hidden], .swipe-dots[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .swipe-dots i { transition: none; } }
.year {
  flex: 1 0 auto;
  min-width: 96px;
  display: grid;
  gap: 3px;
  text-align: left;
  padding: 10px 14px 11px;
  border: 0;
  border-top: 6px solid var(--pc);
  border-radius: 4px 4px 14px 14px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.year b { font: 700 25px/1 var(--hand); color: var(--nc); }
.year small { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.year:hover { background: var(--card); }
.year[aria-selected="true"] { background: var(--card); box-shadow: var(--shadow); }
.year[aria-selected="true"] b { color: var(--ink); }
.year:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.year-panel:focus-visible { outline: none; }
.years-more { margin: 40px 0 0; max-width: none; text-align: center; }
/* Кадра ещё нет: заглушка вместо фото. deploy.sh не выложит страницу с ней. */
.shot-missing { display: grid; place-items: center; aspect-ratio: 4 / 5; background: repeating-linear-gradient(135deg, var(--line) 0 10px, transparent 10px 20px); color: var(--ink-soft); font: 600 13px/1 var(--text); }

/* ---------- лента скотча (карточки «Что спрашивают» на странице Книги) ---------- */

.tape-0 { --tape: var(--st-apricot); }
.tape-1 { --tape: var(--st-sun); }
.tape-2 { --tape: var(--st-mint); }
.tape-3 { --tape: var(--st-sky); }

/* ---------- карточка момента ---------- */

.moment {
  position: relative;
  background: var(--card);
  border-radius: 6px 22px 22px 22px;
  padding: 26px 26px 22px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--pc, var(--p0));
}
.moment[data-side="right"] { border-radius: 22px 6px 22px 22px; }
.moment-who { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 12px; }
.moment-age { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; }
.moment-age:empty { display: none; }
.moment h3 { font-size: clamp(19px, 1.7vw, 22px); }
.moment-note { font-size: 23px; color: var(--nc, var(--note)); margin: 14px 0; }
.moment-note:empty { display: none; }
.tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink-soft); }

/* ---------- место в приложении и ступени упражнений (страница «Что ты получаешь») ---------- */

.place-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.place-steps li, .stairs li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px;
  font-size: 15.5px;
  color: var(--ink-soft);
  transition: border-color .25s ease, background-color .25s ease;
}
.place-steps li + li::before {
  content: "→";
  position: absolute;
  left: -16px; top: 50%;
  transform: translate(-50%, -50%);
  font: 800 18px var(--display);
  color: var(--tick);
}
.place-steps strong { font: 600 18px/1.25 var(--display); color: var(--ink); }
.when { font: 700 24px/1 var(--hand); color: var(--nc); }
@media (max-width: 820px) {
  .place-steps { grid-template-columns: 1fr; }
  .place-steps li + li::before { content: "↓"; left: 50%; top: -12px; }
}

/* ---------- упражнения: ступени ---------- */

.stairs { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; }
.stairs li { background: var(--card); min-height: calc(214px + var(--i) * 36px); border-top: 6px solid var(--pc); border-radius: 14px 14px 6px 6px; justify-content: flex-end; }
.ex-facts { margin-top: 28px; max-width: 46em; }
@media (max-width: 900px) {
  .stairs { grid-template-columns: 1fr; }
  .stairs li { min-height: 0; margin-left: calc(var(--i) * 12px); justify-content: flex-start; }
}

/* ---------- Книга: разворот ---------- */

.band-book { background: var(--show); padding-block: clamp(56px, 8vw, 104px); }
.book-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  background: #FFFAF3;
  color: #2E2A5C;
  border-radius: 10px 26px 26px 10px;
  box-shadow: 0 30px 60px -40px rgba(46, 42, 92, .7), inset 0 0 0 1px #F0DCCB;
  position: relative;
  --note: #A84816; --marker: #FFE45C; --ink: #2E2A5C; --ink-soft: #5D5A80;
}
.book-in::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 60px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(46, 42, 92, .08) 50%, transparent);
  pointer-events: none;
}
.book-text, .book-pics { padding: clamp(28px, 4vw, 56px); }
.book-title { font: 700 clamp(32px, 3.8vw, 50px)/1.08 var(--book); letter-spacing: 0; }
.book-note { margin: 26px 0 26px; padding-left: 20px; border-left: 5px solid var(--marker); }
.book-note p { font: italic 700 clamp(26px, 2.6vw, 34px)/1.2 var(--book); margin: 0 0 6px; }
.book-note footer { font-size: 22px; margin: 0; }
.book-text .btn { margin-top: 10px; }
.book-pics { position: relative; display: grid; align-content: center; gap: 0; }
.polaroid { margin: 0; background: #FFFFFF; padding: 10px 10px 34px; box-shadow: 0 16px 30px -18px rgba(46, 42, 92, .55); width: min(100%, 360px); }
.polaroid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.tilt-l { transform: rotate(-3deg); justify-self: start; }
.tilt-r { transform: rotate(2.5deg); justify-self: end; margin-top: -40px; }
@media (max-width: 860px) {
  .book-in { grid-template-columns: 1fr; border-radius: 22px; }
  .book-in::after { display: none; }
  .book-pics { padding-top: 0; }
}

/* ---------- Спросить ---------- */

.ask-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.chat { position: relative; background: var(--card); border-radius: 28px; padding: 30px 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.bubble { margin: 0; padding: 14px 18px; border-radius: 20px; font-size: 16px; max-width: 88%; }
.bubble-q { align-self: flex-end; background: var(--btn); color: var(--btn-ink); border-bottom-right-radius: 6px; }
.bubble-a { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 6px; border-left: 5px solid var(--p0); }
.chat-cap { margin: 0; font-size: 22px; padding-left: 18px; }
.chat-ras { position: absolute; right: -18px; bottom: -34px; height: 170px; width: auto; }
@media (max-width: 860px) { .ask-in { grid-template-columns: 1fr; } .chat { margin-bottom: 30px; } .chat-ras { right: 4px; height: 130px; } }

/* ---------- манифест ---------- */

.band-ink { background: var(--band-ink); color: var(--band-ink-fg); }
.band-ink .hand { color: var(--band-ink-note); }
.band-ink h2 { color: #FFFFFF; }
.manifest blockquote { margin: 28px 0 0; }
.manifest blockquote p { font: 800 clamp(26px, 3.6vw, 46px)/1.32 var(--display); letter-spacing: -.015em; max-width: 21em; }
.manifest blockquote mark { background: #FFE45C; color: #2E2A5C; padding: .02em .18em; }

/* ---------- Буль-Буль ---------- */

.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.nums { display: grid; gap: 22px; }
.nums p { margin: 0; display: grid; gap: 4px; }
.nums strong { font: 800 clamp(46px, 6.2vw, 84px)/.95 var(--display); letter-spacing: -.04em; }
.nums strong .plus { color: var(--plus); }
.num-cap { font-size: 15.5px; color: var(--ink-soft); }
.bulbul { grid-template-columns: auto 1fr !important; align-items: center; gap: 14px !important; }
.bulbul img { border-radius: 14px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

/* настоящие снимки из бассейнов: ровная мозаика без полароидов, первый кадр крупный,
   второй (вертикальный) в две строки; на телефоне два последних прячутся */
.pool { margin: 52px 0 0; display: grid; gap: 10px; }
.pool figcaption { font-size: 25px; }
.pool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15.5vw, 200px); gap: 10px; }
.pool-grid img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; background: var(--line); }
.pool-1 { grid-column: span 2; grid-row: span 2; }
.pool-2 { grid-row: span 2; }
@media (max-width: 640px) {
  .pool { margin-top: 40px; }
  .pool figcaption { font-size: 22px; }
  .pool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 132px; gap: 8px; }
  .pool-grid .pool-7, .pool-grid .pool-8 { display: none; }
}

/* ---------- цена ---------- */

.price-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start; }
.stores { list-style: none; margin: 26px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.store {
  display: flex; align-items: center; gap: 9px;
  min-height: 54px; padding: 8px 14px 8px 12px;
  border-radius: 16px;
  background: var(--btn); color: var(--btn-ink);
  text-decoration: none;
  font: 600 16px/1.1 var(--text);
  transition: transform .15s ease;
}
.store:hover { color: var(--btn-ink); transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11.5px; font-weight: 500; opacity: .75; margin-bottom: 2px; }
.open-list { background: var(--card); border-radius: 8px 24px 24px 24px; padding: 26px 26px 22px; box-shadow: var(--shadow); }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; }
.ticks li::before {
  content: "";
  position: absolute; left: 2px; top: .3em;
  width: 16px; height: 9px;
  border-left: 3px solid var(--n2); border-bottom: 3px solid var(--n2);
  transform: rotate(-45deg);
}
@media (max-width: 860px) { .price-in { grid-template-columns: 1fr; } }

/* ---------- вопросы ---------- */

.faq-in { max-width: 860px; }
.faq { margin-top: 18px; border-top: 2px solid var(--line); }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 18px 48px 18px 0;
  font: 600 18px/1.35 var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%);
  font: 800 26px/1 var(--display);
  color: var(--note);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: -4px 0 20px; color: var(--ink-soft); }

/* ---------- призыв в конце ---------- */

.final { padding-block: clamp(56px, 7vw, 92px) 0; overflow: hidden; }
.final-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; }
.final-text { padding-bottom: clamp(48px, 6vw, 84px); }
.final-ras { height: 330px; width: auto; display: block; }
@media (max-width: 760px) {
  .final-in { grid-template-columns: 1fr; }
  .final-text { padding-bottom: 0; }
  .final-ras { height: 220px; justify-self: center; }
}

/* ---------- внутренние страницы ---------- */

.page-head { padding-block: clamp(28px, 4vw, 56px) clamp(44px, 6vw, 80px); overflow: hidden; }
.page-head-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; }
.page-head .ras { height: 240px; width: auto; margin-bottom: calc(-1 * clamp(44px, 6vw, 80px)); }
@media (max-width: 760px) {
  .page-head-in { grid-template-columns: 1fr; }
  .page-head .ras { height: 170px; justify-self: end; }
}
.cards { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p:not([class]) { color: var(--ink-soft); font-size: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pills { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills a { display: inline-flex; gap: 8px; align-items: baseline; padding: 10px 16px; border-radius: 999px; background: var(--card); text-decoration: none; font-weight: 600; box-shadow: var(--shadow); }
.pills a b { font: 800 14px var(--display); color: var(--note); }
.price-tag { font: 800 clamp(40px, 5vw, 64px)/1 var(--display); letter-spacing: -.03em; margin: 6px 0 4px; }
.kicker { font: 600 14.5px var(--text); color: var(--ink-soft); }

/* ---------- блог ---------- */

.filters { display: grid; gap: 14px; margin-top: 28px; }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter > span { font: 700 22px/1 var(--hand); color: var(--note); margin-right: 6px; min-width: 4.2em; }
.chip {
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font: 500 14.5px/1 var(--text);
  cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.posts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.post a {
  display: flex; flex-direction: column; gap: 10px;
  height: 100%;
  background: var(--card);
  border-radius: 6px 20px 20px 20px;
  border-top: 6px solid var(--pc);
  padding: 20px 22px 22px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.post a:hover { transform: translateY(-3px); color: inherit; }
.post .meta { font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 8px; flex-wrap: wrap; }
.post .meta span { padding: 2px 9px; border-radius: 999px; background: var(--paper); }
.post strong { font: 600 18px/1.3 var(--display); }
.found { margin-top: 18px; }

/* ---------- статья ---------- */

.article { max-width: 760px; }
.article .tags { margin: 0 0 18px; }
.article .tags li { background: var(--card); }
.article h1 { font-size: clamp(30px, 4.2vw, 50px); }
.article .lead { font-size: clamp(19px, 1.8vw, 21px); margin-bottom: 8px; }
.prose { margin-top: 36px; font-size: 18px; line-height: 1.68; }
.prose h2 { font: 600 clamp(21px, 2.2vw, 26px)/1.25 var(--display); margin: 1.8em 0 .55em; }
.prose p { max-width: none; }
.prose p strong { font-weight: 600; }
.prose ul { margin: 0 0 1.1em; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--pc, var(--p0)); }
.med { margin-top: 36px; padding: 16px 20px; border-radius: 14px; background: var(--card); font-size: 15px; color: var(--ink-soft); border-left: 5px solid var(--line); }
.askbox { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; background: var(--card); border-radius: 26px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.askbox h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 10px; }
.askbox .ras { height: 150px; width: auto; }
@media (max-width: 640px) { .askbox { grid-template-columns: 1fr; } .askbox .ras { display: none; } }
.related { margin-top: 56px; }
.related h2 { font-size: clamp(22px, 2.6vw, 30px); }

/* ---------- форма заявки ---------- */

.form { display: grid; gap: 16px; max-width: 560px; margin-top: 22px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input[type="text"], .form textarea {
  font: 400 17px/1.4 var(--text);
  color: var(--ink);
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--marker); }
.form .agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14.5px; color: var(--ink-soft); }
.form .agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--btn); flex: none; }
.form .trap { position: absolute; left: -9999px; }
#req-status { min-height: 1.4em; font-weight: 600; margin: 0; }
#req-status.err { color: var(--n0); }
#req-status.ok { color: var(--n2); }

/* ---------- 404 ---------- */

.lost { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; }
.lost .ras { height: 220px; width: auto; }
@media (max-width: 640px) { .lost { grid-template-columns: 1fr; } .lost .ras { height: 150px; } }

/* ---------- подвал ---------- */

.foot { background: var(--foot); color: var(--foot-fg); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: #FFE45C; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-brand img { height: 36px; width: auto; display: block; margin-bottom: 14px; }
.foot-brand p { opacity: .8; max-width: 22em; }
.foot-brand .hand { color: #FFB07A; opacity: 1; font-size: 24px; margin-top: 8px; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot h2 { font: 600 14px/1.2 var(--text); opacity: .6; margin: 0 0 4px; }
.foot-org { display: flex; flex-wrap: wrap; gap: 14px 48px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid rgba(244, 239, 250, .16); }
.foot-org dt { font-size: 13px; opacity: .6; }
.foot-org dd { margin: 2px 0 0; }
.foot-note { margin-top: 22px; font-size: 13.5px; opacity: .65; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- cookie ---------- */

.cookie {
  position: fixed;
  z-index: 40;
  left: max(16px, env(safe-area-inset-left, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: min(520px, calc(100% - 32px));
  background: var(--card);
  color: var(--ink);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 20px 40px -18px rgba(46, 42, 92, .55), 0 0 0 1px var(--line);
  font-size: 14.5px;
}
.cookie p { margin-bottom: 12px; }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- внутренние: детали ---------- */

.today { border-top-color: var(--p0); }
.today .hand { font-size: 24px; }
.today-list { margin: 6px 0 0; display: grid; gap: 0; }
.today-list div { padding: 14px 0; border-top: 1.5px dashed var(--line); }
.today-list div:first-child { border-top: 0; padding-top: 4px; }
.today-list dt { font: 600 17px/1.3 var(--display); margin-bottom: 4px; }
.today-list dd { margin: 0; color: var(--ink-soft); font-size: 16px; }

.band-ink .lead { color: var(--band-ink-fg); opacity: .92; }
.place-steps.on-ink { margin-top: 32px; }
.place-steps.on-ink li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: rgba(255, 243, 232, .82); border-top: 6px solid var(--pc); }
.place-steps.on-ink strong { color: #FFFFFF; }
.place-steps.on-ink .when { color: var(--pc); }
.place-steps.on-ink li + li::before { color: rgba(255, 255, 255, .3); }
.pull { margin: 44px 0 0; padding-left: 22px; border-left: 6px solid #FFE45C; max-width: 34em; }
.pull p { font: 600 clamp(20px, 2.2vw, 26px)/1.4 var(--display); color: #FFFFFF; }
.pull mark { background: #FFE45C; color: #2E2A5C; padding: 0 .15em; }

.photos3 { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.photos3 .polaroid { width: 100%; padding-bottom: 12px; }
.photos3 .polaroid img { aspect-ratio: 4 / 5; }
.photos3 figcaption { margin: 10px 4px 0; font-size: 24px; color: var(--nc); }
@media (max-width: 700px) { .photos3 { grid-template-columns: 1fr; max-width: 360px; } }

.book-head { padding-top: 6px; }
.book-head .crumbs { margin-bottom: 20px; }
.book-head h1.book-title { font-size: clamp(44px, 6vw, 80px); line-height: 1; margin-bottom: 18px; }
.book-head .book-pics { justify-items: center; }
.book-head .polaroid { width: min(100%, 340px); }
.book-head .polaroid img { aspect-ratio: 4 / 5; }

.asks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; }
.asks li {
  position: relative;
  background: var(--card);
  border-radius: 6px 18px 10px 16px;
  padding: 30px 24px 26px;
  box-shadow: var(--shadow);
  font: italic 700 clamp(21px, 2vw, 25px)/1.3 var(--book);
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, var(--line) 31px 32px);
  background-position: 0 22px;
}
.asks li::before { content: ""; position: absolute; top: -11px; left: 24px; width: 70px; height: 22px; border-radius: 2px; background: var(--tape); opacity: .85; transform: rotate(-4deg); }
.asks li:nth-child(even) { transform: rotate(.6deg); }
@media (max-width: 900px) { .asks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .asks { grid-template-columns: 1fr; } }

.book-quote { margin: 0 0 24px; }
.book-quote p { font: 700 clamp(28px, 3.4vw, 42px)/1.2 var(--book); max-width: 18em; }
.split .photo { max-width: 460px; justify-self: end; }
.split .photo img { aspect-ratio: 4 / 5; }

.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.offer { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 28px; border-radius: 8px 26px 26px 26px; }
.offer > p:not(.kicker):not(.price-tag) { margin-top: 10px; }
.offer .btn { margin-top: auto; }
.offer .ticks { margin: 12px 0 14px; }
.offer .hand { margin-top: auto; }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } }

/* Магазины столбиком по порядку важности, Telegram отдельной строкой под ними. */
.get-tiles { list-style: none; margin: 28px 0 14px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 440px; }
.get-tg { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 14.5px; color: var(--ink-soft); }
.get-tg svg { flex: none; width: 20px; height: 20px; color: var(--ink-soft); }
.tile {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  background: var(--card); color: var(--ink);
  border: 2px solid #2E2A5C;
  border-radius: 18px;
  padding: 14px 18px;
  text-decoration: none;
  box-shadow: 0 4px 0 #2E2A5C;
  transition: transform .12s ease, box-shadow .12s ease;
}
.tile:hover { color: var(--ink); transform: translateY(2px); box-shadow: 0 2px 0 #2E2A5C; }
.tile svg { width: 32px; height: 32px; color: #2E2A5C; --btn: #FFFFFF; }
.tile span { font-size: 14px; color: var(--ink-soft); }
.tile strong { display: block; font: 600 17px/1.2 var(--display); color: var(--ink); }
.tile em { font-style: normal; font-weight: 600; font-size: 14.5px; }
.tile em::after { content: " →"; }

.next { list-style: none; counter-reset: n; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.next li { counter-increment: n; position: relative; background: var(--card); border-radius: 18px; padding: 62px 22px 22px; box-shadow: var(--shadow); font-size: 16.5px; }
.next li::before { content: counter(n); position: absolute; top: 16px; left: 22px; font: 800 32px/1 var(--display); color: var(--note); }
@media (max-width: 760px) { .next { grid-template-columns: 1fr; } }

.gap { margin-top: 40px; }
.ticks.big li { font-size: 17.5px; }

.price-page { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; margin-top: 18px; align-items: start; }
.price-main, .price-book { padding: clamp(24px, 3vw, 38px); border-radius: 8px 28px 28px 28px; position: relative; }
.price-main h1 { font-size: clamp(30px, 4vw, 50px); margin-bottom: 6px; }
.price-main .ticks { margin: 18px 0 6px; }
.price-book { background: #FFFAF3; }
.price-book h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 8px 0 12px; }
.price-ras { display: block; height: 150px; width: auto; margin: 18px 0 calc(-1 * clamp(24px, 3vw, 38px)) auto; }
@media (max-width: 900px) { .price-page { grid-template-columns: 1fr; } }

.gift-pic { justify-self: end; width: min(100%, 460px); }
.gift-pic img { aspect-ratio: 4 / 3; }
.gift-ras { justify-self: center; height: 260px; width: auto; }
.pechat { align-items: start; }
.pechat h2 { font-size: clamp(22px, 2.6vw, 30px); }
.pechat h2 + p { margin-bottom: 30px; }
.art { padding-top: clamp(24px, 4vw, 48px); }
