/* Qrümel — альтернативная главная «Ein Aufkleber. Ein Jahr.» (qruemel.de/alter*.html).
   Редакция 3 (2026-11-15, после разбора дизайна): заголовок в две строки со стикером на конце, схема «код → ссылка →
   страница», сцена года с карточкой цели и шкалой месяцев, бланк на тёмном фоне со штампом, меню и языки списком.
   Прежние редакции — dqr/alter-src/v1 … v5-before-review. Токены — из dqr/priv/static/admin.css. */

/* Work Sans — весь текст (выбор пользователя); в нём нет кириллицы, поэтому русская страница целиком на Golos Text */
@font-face{font-family:'Work Sans';font-style:normal;font-weight:100 900;font-display:swap;src:url(/static/fonts/WorkSans.woff2?v=20261115) format('woff2');}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 800;font-display:swap;src:url(/static/fonts/GolosText-cyrillic.woff2?v=20261024) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 800;font-display:swap;src:url(/static/fonts/GolosText-latin.woff2?v=20261024) 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:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/static/fonts/JetBrainsMono-500-latin.woff2?v=20261024) format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2212;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/static/fonts/JetBrainsMono-500-cyrillic.woff2?v=20261024) 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:500 700;font-display:swap;src:url(/static/fonts/Unbounded-latin.woff2?v=20261024b) 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 {
  color-scheme: light;
  --accent: #FF6A2B;
  --accent-hover: #F25C1D;
  --ink: #0E0F11;
  --ink-2: #2A2C30;
  --paper: #F4F3EF;
  --white: #FFFFFF;
  --muted: #6A6D72;
  --nav-muted: #B7B9BD;
  --line-2: #E2E0DA;

  /* поверхности «года» */
  --s1: #E9DCC6;  /* март: стол в кафе */
  --s2: #BFE1F3;  /* июнь: витрина */
  --s3: #F3C64F;  /* сентябрь: звёзды отзывов */
  --s4: #0E0F11;  /* декабрь: вечер, чат */

  --font: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-logo: 'Unbounded', var(--font);
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --track: -0.011em;            /* Work Sans в тексте стоит широковато */
  --gut: clamp(16px, 4vw, 48px);
}
html[lang="ru"] { --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --track: 0em; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; letter-spacing: var(--track); overflow-x: hidden; }
a { color: inherit; }
svg { display: block; }
p, h1, h2, h3, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); }
#jahr, #auftrag, #fragen, #prinzip { scroll-margin-top: 72px; }

.btn { font-family: var(--font); display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); }
.btn--lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn--xl { height: 56px; padding: 0 30px; font-size: 17px; }
.h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.06; letter-spacing: -0.035em; }

/* ---------- шапка ---------- */
.nav { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 30; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 18px; border-radius: 999px; background: rgba(14,15,17,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--paper); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); white-space: nowrap; }
.logo { display: inline-flex; align-items: center; gap: 8px; margin-right: 12px; font-family: var(--font-logo); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; text-decoration: none; }
.nav__links { display: flex; gap: 2px; }
.nav__links a, .nav__login { padding: 8px 12px; border-radius: 999px; color: var(--nav-muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav__links a:hover, .nav__login:hover { color: var(--paper); background: rgba(255,255,255,.08); }
.nav__cta { margin-left: 4px; padding: 9px 16px; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.nav__cta:hover { background: var(--accent-hover); }

/* выпадающие списки: языки (компьютер) и меню (телефон, планшет); работают без скриптов */
.drop { position: relative; }
.drop > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; color: var(--nav-muted); font-size: 13px; font-weight: 600; letter-spacing: .02em; -webkit-user-select: none; user-select: none; }
.drop > summary::-webkit-details-marker { display: none; }
.drop > summary:hover, .drop[open] > summary { color: var(--paper); background: rgba(255,255,255,.08); }
.drop[open] > summary svg { transform: rotate(180deg); }
.drop__panel { position: absolute; right: 0; top: calc(100% + 16px); min-width: 176px; padding: 8px; border-radius: 18px; background: var(--ink); box-shadow: 0 24px 48px -18px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); display: grid; gap: 2px; }
.drop__panel a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--nav-muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.drop__panel a[href]:hover { color: var(--paper); background: rgba(255,255,255,.08); }
.drop__panel a[aria-current] { color: var(--paper); }
.drop__panel a[aria-current]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.drop--menu { display: none; }
.drop--menu > summary { width: 40px; padding: 0; justify-content: center; color: var(--paper); }
.drop--menu .drop__panel { right: -6px; min-width: 248px; }
.drop__panel a.drop__login, .drop__langs { position: relative; margin-top: 9px; }
.drop__panel a.drop__login::before, .drop__langs::before { content: ""; position: absolute; left: 6px; right: 6px; top: -5px; height: 1px; background: rgba(255,255,255,.12); }
.drop__langs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

/* ---------- стикер (один и тот же везде) ---------- */
.sticker { position: relative; background: var(--white); border-radius: 9%; box-shadow: 0 1px 0 rgba(14,15,17,.08), 0 24px 40px -22px rgba(14,15,17,.6); }
.sticker::after { /* отогнутый уголок */ content: ""; position: absolute; right: 0; bottom: 0; width: 16%; height: 16%; border-radius: 0 0 38% 0; background: linear-gradient(315deg, transparent 49%, #E6E3DB 50%, #FFFFFF 78%); box-shadow: -3px -3px 6px -3px rgba(14,15,17,.25); }
.sticker__qr { padding: 10%; }
.sticker__qr svg { width: 100%; height: auto; }
.sticker__cap { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); padding: .35em 1em; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1.4; letter-spacing: var(--track); white-space: nowrap; }

/* ---------- первый экран ---------- */
.hero { background: var(--ink); color: var(--paper); padding: clamp(112px, 11vw, 148px) 0 clamp(48px, 6vw, 84px); overflow: hidden; }
/* размер шрифта задан блоку заголовка: по нему же (в em) считаются размер и место стикера.
   Самая длинная строка (pt) ≈ 10,6em + стикер 2em — при 7vw и потолке 92px помещается в колонку страницы */
.hero__head { position: relative; width: fit-content; max-width: calc(100% - 2.35em); font-size: clamp(34px, 7vw, 92px); }
.hero__title { font-size: 1em; font-weight: 800; line-height: .96; letter-spacing: -0.045em; }
.hero__line { display: block; text-wrap: balance; }
.hero__line--2 { color: var(--accent); }
.sticker--hero { position: absolute; z-index: 2; left: calc(100% - .03em); top: 50%; width: 2.25em; margin-top: -1.14em; transform: rotate(8deg); animation: stick .9s cubic-bezier(.2,.9,.25,1.2) .2s both; }
@keyframes stick { from { transform: rotate(18deg) translate(.4em, -.6em) scale(1.15); opacity: 0; } to { transform: rotate(8deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sticker--hero { animation: none; } }
.hero__lead { margin-top: clamp(22px, 2.6vw, 34px); max-width: 33em; color: var(--nav-muted); font-size: 18px; }
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero__free { font-size: 14px; color: var(--nav-muted); }

/* ---------- почему и как ---------- */
.how { padding: clamp(56px, 7vw, 104px) 0; }
.how__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.how__big { font-weight: 700; font-size: clamp(22px, 2.5vw, 34px); line-height: 1.2; letter-spacing: -0.03em; text-wrap: pretty; }
.how__small { color: var(--muted); font-size: 17px; }
.flow { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px; padding-right: 20px; }
.flow__n { position: relative; min-height: 148px; padding: 22px 24px; border-radius: 20px; display: flex; flex-direction: column; justify-content: flex-end; }
/* значок и адрес — в потоке, прижаты к верху: при узкой карточке текст их не наезжает */
.flow__n .flow__ic, .flow__n .flow__url { margin-bottom: auto; padding-bottom: 14px; box-sizing: content-box; }
.flow__n b { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.flow__n span { font-size: 15px; }
.flow__n--code { background: var(--white); }
.flow__n--code span { color: var(--muted); }
.flow__n--link { background: var(--ink); color: var(--paper); }
.flow__n--link span { color: var(--nav-muted); }
.flow__n .flow__url { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* третья карточка — стопка: за ней видны «другие» цели */
.flow__n--dest { background: var(--accent); box-shadow: 10px 10px 0 -3px #FFB18C, 20px 20px 0 -6px #FFD6C1; }
.flow__n + .flow__n::before { content: ""; position: absolute; left: -58px; top: 50%; width: 44px; height: 16px; margin-top: -8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 16'%3E%3Cpath d='M1 8h40M35 2l6 6-6 6' fill='none' stroke='%230E0F11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- год из жизни стикера ---------- */
.year { --bg: var(--s1); --fg: var(--ink); --fg-2: #4A4D52; background: var(--bg); color: var(--fg); padding: clamp(56px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); transition: background-color .6s ease, color .6s ease; }
.year[data-step="2"] { --bg: var(--s2); }
.year[data-step="3"] { --bg: var(--s3); }
.year[data-step="4"] { --bg: var(--s4); --fg: var(--paper); --fg-2: var(--nav-muted); }
.year__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26em); gap: 20px 64px; align-items: end; }
.year__sub { font-size: 17px; color: var(--fg-2); transition: color .6s ease; }
/* сцена выше своего содержимого (оно по центру экрана), поэтому блок подтянут вверх: стикер начинается сразу под вступлением */
.year__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); margin-top: calc(40px - max(0px, (90vh - 600px) / 2)); margin-top: calc(40px - max(0px, (90svh - 600px) / 2)); }

.stage { position: sticky; top: 0; height: 90vh; height: 90svh; display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.stage__surface { position: relative; width: 100%; max-width: 560px; aspect-ratio: 56 / 44; }
.sticker--stage { position: absolute; left: 1.5%; top: 2%; width: 54%; transform: rotate(-4deg); }
.dest { position: absolute; left: 58%; top: 5%; }
.dest__label { font-size: 14px; font-weight: 500; color: var(--fg-2); transition: color .6s ease; }
.dest__url { display: none; }

/* «телефон гостя»: что открывается после сканирования */
.pv { display: flex; flex-direction: column; padding: 7px; border-radius: 28px; background: var(--ink); box-shadow: 0 30px 50px -28px rgba(14,15,17,.6); transition: background-color .6s ease, box-shadow .6s ease; }
.year[data-step="4"] .pv { background: #2A2C30; box-shadow: 0 0 0 1px rgba(255,255,255,.16); }
.pv--stage { position: absolute; z-index: 2; right: 3%; bottom: 0; width: 44%; aspect-ratio: 100 / 150; transform: rotate(2.5deg); }
.pv__bar { position: relative; flex: none; height: 26px; margin: 2px 4px 6px; border-radius: 9px; background: #1F2125; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0; color: var(--nav-muted); }
.pv__bar span { display: block; padding: 0 9px; line-height: 26px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv__screen { position: relative; flex: 1; min-height: 0; border-radius: 21px; background: #FFFDF8; color: var(--ink); overflow: hidden; }
.pv--stage .pv__bar span { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.pv--stage .pvc { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
.year[data-step="1"] .stage__surface [data-d="1"], .year[data-step="2"] .stage__surface [data-d="2"],
.year[data-step="3"] .stage__surface [data-d="3"], .year[data-step="4"] .stage__surface [data-d="4"] { opacity: 1; transform: none; }

.pvc { height: 100%; padding: 16px 14px 14px; display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; }
.pvc__over { font-size: 11px; font-weight: 600; color: var(--muted); }
.pvc__t { margin-top: 3px; font-size: 20px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.pvc__t--sm { font-size: 17px; font-weight: 700; }
.pvc__menu { margin-top: 12px; }
.pvc__menu li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 8px 0; border-bottom: 1px dashed #E4DCCB; }
.pvc__menu b { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0; }
.pvc--promo { background: #F2FAFF; }
.pvc__tag { align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: var(--accent); font-size: 11px; font-weight: 700; }
.pvc__big { margin-top: 12px; font-size: 44px; font-weight: 800; line-height: .95; letter-spacing: -0.05em; }
.pvc__sub { margin-top: 8px; max-width: 12em; }
.cone { position: relative; flex: none; align-self: flex-end; width: 62px; height: 80px; margin-top: auto; }
.cone i { position: absolute; top: 0; left: 2px; width: 34px; height: 34px; border-radius: 50%; background: #F6B3C3; }
.cone i + i { left: 26px; top: 5px; background: #F7E3A3; }
.cone b { position: absolute; left: 11px; top: 30px; width: 40px; height: 50px; background: #DDA15E; -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.stars { display: flex; gap: 3px; margin-top: 14px; }
.stars svg { width: 26px; height: 26px; fill: #E8A317; }
.pvc__lines { margin-top: 16px; display: grid; gap: 7px; }
.pvc__lines i { height: 8px; border-radius: 4px; background: #EFE9DC; }
.pvc__lines i:nth-child(2) { width: 82%; }
.pvc__lines i:nth-child(3) { width: 55%; }
.pvc__stat { margin-top: auto; padding-top: 12px; border-top: 1px dashed #E4DCCB; font-size: 12px; color: var(--muted); }
.pvc__stat b { font-family: var(--font-mono); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--ink); }
.pvc--chat { background: #EFEAE2; gap: 7px; justify-content: flex-end; padding: 12px 10px; }
.bub { max-width: 88%; padding: 7px 10px; border-radius: 12px; font-size: 12.5px; line-height: 1.35; box-shadow: 0 1px 0 rgba(14,15,17,.06); }
.bub--in { align-self: flex-start; background: var(--white); border-top-left-radius: 4px; }
.bub--out { align-self: flex-end; background: #DCF7C5; border-top-right-radius: 4px; }
.bub__who { display: block; font-size: 10.5px; font-weight: 700; color: #2F7A3B; }
.bub--sys { align-self: center; max-width: none; padding: 4px 10px; border-radius: 999px; background: var(--accent); font-size: 11px; font-weight: 700; box-shadow: none; white-space: nowrap; }

/* шкала года: четыре месяца, пройденные залиты, текущий — оранжевый */
.rail { display: flex; width: 100%; max-width: 560px; }
.rail a { position: relative; flex: 1; padding-top: 22px; font-size: 14px; font-weight: 600; color: var(--fg-2); text-decoration: none; transition: color .3s ease; }
.rail a:last-child { flex: none; }
.rail a::before { content: ""; position: absolute; z-index: 1; left: 0; top: 2px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--fg); background: var(--bg); transition: background-color .3s ease, border-color .6s ease; }
.rail a::after { content: ""; position: absolute; left: 12px; right: 0; top: 7px; height: 2px; background: var(--fg); opacity: .25; }
.rail a:last-child::after { display: none; }
.rail a:hover { color: var(--fg); }
.year[data-step="2"] .rail [data-d="1"]::before, .year[data-step="3"] .rail [data-d="1"]::before, .year[data-step="3"] .rail [data-d="2"]::before,
.year[data-step="4"] .rail [data-d="1"]::before, .year[data-step="4"] .rail [data-d="2"]::before, .year[data-step="4"] .rail [data-d="3"]::before { background: var(--fg); }
.year[data-step="1"] .rail [data-d="1"], .year[data-step="2"] .rail [data-d="2"],
.year[data-step="3"] .rail [data-d="3"], .year[data-step="4"] .rail [data-d="4"] { color: var(--fg); }
.year[data-step="1"] .rail [data-d="1"]::before, .year[data-step="2"] .rail [data-d="2"]::before,
.year[data-step="3"] .rail [data-d="3"]::before, .year[data-step="4"] .rail [data-d="4"]::before { background: var(--accent); }

.chapters { padding: 10vh 0 6vh; }
.ch { min-height: 66vh; display: flex; flex-direction: column; justify-content: center; max-width: 30em; scroll-margin-top: 17vh; transition: opacity .4s ease; }
/* приглушение соседних глав — только когда работает скрипт (класс is-live); без него все главы читаются */
.year.is-live .ch { opacity: .42; }
.year.is-live[data-step="1"] .ch[data-step="1"], .year.is-live[data-step="2"] .ch[data-step="2"],
.year.is-live[data-step="3"] .ch[data-step="3"], .year.is-live[data-step="4"] .ch[data-step="4"] { opacity: 1; }
.ch__when { font-weight: 700; font-size: 15px; color: var(--fg-2); }
.ch__t { margin: 6px 0 10px; font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.03em; }
.ch__txt p { font-size: 17px; }
.ch__txt .ch__meta { margin-top: 20px; display: inline-flex; padding: 6px 12px; border-radius: 999px; border: 1.5px solid currentColor; font-size: 14px; font-weight: 600; }
.pv--inline { display: none; }
@media (prefers-reduced-motion: reduce) { .year, .year__sub, .dest__label, .pv, .pv--stage .pvc, .pv--stage .pv__bar span, .rail a, .rail a::before, .ch { transition: none; } }

/* ---------- заказ-наряд: белый бланк на тёмном фоне ---------- */
.order { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 120px) 0 clamp(64px, 8vw, 112px); }
.order__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.order__copy { position: sticky; top: 112px; }
.order__note { margin-top: 18px; max-width: 26em; color: var(--nav-muted); }
.ticket { position: relative; }
.ticket__paper { background: var(--white); color: var(--ink); padding: 40px clamp(20px, 3.4vw, 44px) 38px; font-family: var(--font-mono); font-size: 14px; letter-spacing: 0;
  -webkit-mask: radial-gradient(circle 7px at 50% 0, transparent 6.5px, #000 7px) 0 0 / 22px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, transparent 6.5px, #000 7px) 0 100% / 22px 51% repeat-x;
          mask: radial-gradient(circle 7px at 50% 0, transparent 6.5px, #000 7px) 0 0 / 22px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, transparent 6.5px, #000 7px) 0 100% / 22px 51% repeat-x; }
.ticket__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding: 0 124px 18px 0; border-bottom: 2px solid var(--ink); }
.ticket__head span { color: var(--muted); }
.ticket__head b { font-weight: 500; }
.ticket__rows > div { display: grid; grid-template-columns: 10.5em minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px dashed #CFCBC1; }
.ticket__rows dt { color: var(--muted); padding-top: 2px; }
.ticket__rows dd { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-family: var(--font); font-size: 16px; font-weight: 500; letter-spacing: var(--track); line-height: 1.4; }
.ticket__rows dd::before { content: ""; width: 16px; height: 16px; margin-top: 3px; border: 2px solid var(--ink); border-radius: 3px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230E0F11' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticket__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.ticket__foot span { font-family: var(--font); font-size: 14px; letter-spacing: var(--track); color: var(--muted); }
/* штамп с ценой — поверх угла бланка, чтобы цена читалась первой */
.stamp { position: absolute; z-index: 2; right: -22px; top: -46px; width: 136px; height: 136px; border-radius: 50%; background: var(--accent); color: var(--ink); box-shadow: inset 0 0 0 4px var(--accent), inset 0 0 0 6px var(--ink), 0 14px 26px -14px rgba(0,0,0,.7); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(11deg); }
.stamp b { font-weight: 800; font-size: 42px; line-height: 1; letter-spacing: -0.05em; }
.stamp span { margin-top: 3px; font-weight: 700; font-size: 13px; }

/* ---------- вопросы ---------- */
.faq { padding: clamp(56px, 7vw, 104px) 0; }
.faq__in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 24px 64px; }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 500; font-size: 24px; line-height: 1; color: #C2410C; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); }
.faq__more { grid-column: 2; color: var(--muted); }
.faq__more a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- финал ---------- */
.final { background: var(--accent); padding: clamp(56px, 7vw, 104px) 0; }
.final__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 40px; }
.final__t { font-weight: 700; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }

.foot { background: var(--ink); color: var(--nav-muted); font-size: 14px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 28px; padding-bottom: 40px; }
.foot__logo { margin-right: auto; color: var(--paper); font-family: var(--font-logo); font-weight: 600; letter-spacing: -0.02em; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); }
.foot__langs { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* ==================== Планшет и телефон (до 1023 px) ==================== */
@media (max-width: 1023px) {
  .nav { left: 12px; right: 12px; transform: none; padding-left: 14px; }
  .logo { margin-right: auto; }
  .nav__links, .drop--lang, .nav__login { display: none; }
  .drop--menu { display: block; }

  .how__top { grid-template-columns: minmax(0, 1fr); }
  .flow { gap: 56px; }
  .flow__n { padding: 20px 18px; }
  .flow__n .flow__url { font-size: 13px; }
  .flow__n + .flow__n::before { left: -46px; width: 36px; }
  .year__intro { grid-template-columns: minmax(0, 1fr); }

  /* год: сцена превращается в закреплённую плашку «сейчас ведёт на…», карточки целей — внутри глав */
  .year__body { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 24px; }
  .stage { top: 74px; z-index: 5; height: auto; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; max-width: 460px; padding: 8px 16px 8px 8px; border-radius: 18px; background: var(--white); color: var(--ink); box-shadow: 0 16px 30px -16px rgba(14,15,17,.5), 0 0 0 1px rgba(14,15,17,.06); }
  .stage__surface { aspect-ratio: auto; max-width: none; flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
  .sticker--stage { position: static; flex: none; width: 46px; border-radius: 8px; transform: rotate(-4deg); box-shadow: 0 0 0 1px var(--line-2); }
  .sticker--stage::after, .sticker--stage .sticker__cap { display: none; }
  .dest { position: static; flex: 1; min-width: 0; }
  .dest__label { font-size: 12px; line-height: 1.3; color: var(--muted); transition: none; }
  .dest__url { display: block; position: relative; height: 21px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0; line-height: 21px; }
  .dest__url span { position: absolute; inset: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .3s ease; }
  .pv--stage { display: none; }
  .rail { flex: none; width: auto; gap: 5px; pointer-events: none; }
  .rail a, .rail a:last-child { flex: none; width: 8px; height: 8px; padding: 0; border-radius: 50%; font-size: 0; background: var(--line-2); transition: background-color .3s ease; }
  .rail a::before, .rail a::after { display: none; }
  .year[data-step="2"] .rail [data-d="1"], .year[data-step="3"] .rail [data-d="1"], .year[data-step="3"] .rail [data-d="2"],
  .year[data-step="4"] .rail [data-d="1"], .year[data-step="4"] .rail [data-d="2"], .year[data-step="4"] .rail [data-d="3"] { background: var(--ink); }
  .year[data-step="1"] .rail [data-d="1"], .year[data-step="2"] .rail [data-d="2"],
  .year[data-step="3"] .rail [data-d="3"], .year[data-step="4"] .rail [data-d="4"] { background: var(--accent); }

  .chapters { padding: 12px 0 8px; }
  .ch, .year.is-live .ch { min-height: 0; max-width: none; opacity: 1; padding: 36px 0; display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 36px; align-items: center; scroll-margin-top: 150px; }
  .pv--inline { display: flex; aspect-ratio: 100 / 142; }

  .order__in { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .order__copy { position: static; }
  .stamp { right: -8px; }
  .faq__in { grid-template-columns: minmax(0, 1fr); }
  .faq__more { grid-column: auto; }
}

/* ==================== Телефон (до 699 px) ==================== */
@media (max-width: 699px) {
  /* заголовок переносится сам; стикер — справа от вводного текста, текст его обтекает */
  .hero { padding-top: 100px; }
  .hero__head { display: contents; font-size: 9.4vw; }
  .sticker--hero { position: relative; left: auto; top: auto; float: right; width: 128px; margin: 22px 6px 26px 18px; }
  .sticker--hero .sticker__cap { font-size: 12px; }
  .hero__lead { margin-top: 18px; font-size: 17px; }
  .hero__cta { clear: both; margin-top: 22px; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__free { text-align: center; }

  .how__small { font-size: 16px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-right: 16px; }
  .flow__n { min-height: 124px; padding: 22px 24px; }
  .flow__n .flow__url { font-size: 14px; }
  .flow__n + .flow__n::before { left: 30px; top: -30px; margin-top: 0; transform: rotate(90deg); width: 28px; }

  .ch, .year.is-live .ch { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 30px 0; }
  .ch__txt p { font-size: 16px; }
  .ch__txt .ch__meta { margin-top: 16px; }
  .pv--inline { width: min(100%, 330px); aspect-ratio: auto; }
  .pv--inline .pvc { height: auto; min-height: 150px; }
  .pv--inline .pvc--chat { padding-top: 14px; }

  .ticket__paper { font-size: 13px; padding-top: 36px; }
  .ticket__head { padding-right: 96px; }
  .ticket__rows > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .stamp { width: 112px; height: 112px; top: -40px; right: -6px; }
  .stamp b { font-size: 34px; }
  .stamp span { font-size: 11.5px; }
  .ticket__foot .btn { width: 100%; }
  .ticket__foot span { width: 100%; text-align: center; }
  .final__t { font-size: 7.7vw; }
  .final .btn { width: 100%; }
  .foot__logo { width: 100%; }
  .foot__langs { width: 100%; }
}

/* ===== Формы e-mail на первом экране и в финале (перенос на главную 2026-11-15) ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cta-form { display: flex; gap: 10px; width: min(100%, 580px); }
.cta-form__input { flex: 1 1 auto; min-width: 0; height: 54px; padding: 0 22px; border-radius: 999px; font: inherit; font-size: 16px; letter-spacing: var(--track); outline: none; transition: border-color .15s, background .15s; }
.cta-form--dark .cta-form__input { background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(255, 255, 255, .22); color: var(--paper); }
.cta-form--dark .cta-form__input::placeholder { color: var(--nav-muted); opacity: 1; }
.cta-form--dark .cta-form__input:focus { border-color: var(--accent); background: rgba(255, 255, 255, .1); }
.cta-form--light { width: min(100%, 600px); }
.cta-form--light .cta-form__input { height: 56px; background: var(--white); border: 2px solid var(--ink); color: var(--ink); }
.cta-form--light .cta-form__input::placeholder { color: var(--muted); opacity: 1; }
.cta-form--light .cta-form__input:focus { box-shadow: 0 0 0 3px rgba(14, 15, 17, .18); }
.cta-form .btn { flex: 0 0 auto; border: 0; cursor: pointer; }
@media (max-width: 699px) {
  .cta-form { flex-direction: column; width: 100%; }
  .cta-form .btn { width: 100%; }
}
