/* navyq.ru — сайт «Навыка» по брендбуку 3.1 «Наклейки» (design/Брендбук.md): бумага, чернила, обводка 2 px,
   жёсткая тень, плакатный узкий курсив Sofia Sans. Главный объект первого экрана — настоящее задание урока,
   а не картинка: «материал продукта и есть иллюстрация» (брендбук, 0.3). Цвет по ролям: сирень — нейросеть
   и Навик, мята — верно и действие на чёрном, жёлтый — вывод, оранжевый — только «почти». */

@font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/static/fonts/sofia-sans-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/static/fonts/sofia-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Sofia Sans Extra Condensed"; font-style: italic; font-weight: 900; font-display: swap;
  src: url(/static/fonts/sofia-sans-extra-condensed-900-italic-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Sofia Sans Extra Condensed"; font-style: italic; font-weight: 900; font-display: swap;
  src: url(/static/fonts/sofia-sans-extra-condensed-900-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --paper: #FCF9F8; --card: #FFFFFF; --ink: #111315; --ink-2: #4A4A47; --ink-3: #6F6E69; --line-soft: #E3E0DA;
  --frame: #111315; --on-frame: #FCF9F8; --on-frame-2: #B9B6AD;
  --mint: #5EE0A1; --mint-soft: #DDF7E9; --lilac: #C4B8FF; --lilac-soft: #ECE7FF;
  --lemon: #FFE566; --tangerine-soft: #FAD9CB;
  --stroke: 2px; --r-card: 20px; --r-inner: 14px;
  --shadow: 3px 3px 0 var(--ink); --shadow-lg: 5px 5px 0 var(--ink);
  --poster: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --text: "Sofia Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0F0F0F; --card: #1C1C1B; --ink: #F4F2EC; --ink-2: #B9B6AD; --ink-3: #8E8B83; --line-soft: #34332F;
          --frame: #1C1C1B; --mint-soft: #1E3A2A; --lilac-soft: #2A2540; --tangerine-soft: #3D1F14; color-scheme: dark; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font: 18px/1.5 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
p { margin: 0 0 12px; } p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.poster { font-family: var(--poster); font-weight: 900; font-style: italic; text-transform: uppercase; line-height: .88; letter-spacing: .005em; }
.plate { display: inline-block; padding: 0 .1em .02em; border: var(--stroke) solid var(--ink); border-radius: 10px; background: var(--lilac); color: #111315; transform: rotate(-1.5deg); }
.muted { color: var(--ink-3); }

/* --- Кнопки: чёрная пилюля с тенью; нажатие вдавливает плитку (брендбук, 7: тень 3 → 0 и сдвиг на 3 px) --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px;
       border: var(--stroke) solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper);
       font: 800 18px/1 var(--text); text-decoration: none; cursor: pointer; box-shadow: var(--shadow);
       transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn.ghost { background: var(--card); color: var(--ink); min-height: 44px; padding: 0 18px; font-size: 16px; }
.btn { white-space: nowrap; }
@media (max-width: 399px) { .wide-only { display: none; } }
.btn.mint { background: var(--mint); color: #111315; border-color: #111315; box-shadow: none; }
.btn.mint:hover, .btn.mint:active { transform: none; box-shadow: none; filter: brightness(1.05); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* --- Шапка ---------------------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: var(--stroke) solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--ink); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.brand b { font: 900 italic 30px/1 var(--poster); text-transform: uppercase; letter-spacing: .01em; }

/* --- Первый экран -------------------------------------------------------------------------------- */
/* Заголовок не прыгает, когда задание раскрывает разбор: колонки прижаты к верху. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; padding: 40px 0 88px; align-items: start; }
/* Кегль — максимум, при котором самая длинная строка «ПО НЕЙРОСЕТЯМ» в плашке (5,78 em) помещается в колонку с запасом 3%:
   ширина колонки / 6. Одна колонка — вся ширина экрана без полей. */
.hero h1 { font-size: min(calc((100vw - 32px) / 6), 140px); }
/* Строка — маска для подъёма букв; верхний запас — под точки Ё и кратку Й, отрицательный отступ возвращает плотный интерлиньяж. */
.hero h1 .line { display: block; overflow: hidden; padding: .14em .08em .06em 0; margin: -.14em -.08em 0 0; }
.hero h1 .line:first-child { margin-top: 0; }
.hero h1 .line > span { display: inline-block; }
.lead { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.45; max-width: 30em; margin: 28px 0 32px; color: var(--ink-2); }
.lead b { color: var(--ink); font-weight: 800; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cta-note { font-size: 16px; color: var(--ink-3); max-width: 15em; line-height: 1.35; }
@media (min-width: 560px) { .navik { right: -14px; } }
/* Две колонки: колонка заголовка = (ширина обёртки − зазор 64) × 0,55, кегль = колонка / 6 = (обёртка − 64) × 0,0917. */
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding: 48px 0 120px; } .hero h1 { font-size: calc((min(1120px, 100vw - 32px) - 64px) * .0917); } }

/* --- Живое задание: та же плитка, что в уроке приложения ----------------------------------------- */
.lesson { position: relative; background: var(--card); border: var(--stroke) solid var(--ink); border-radius: 24px;
          box-shadow: var(--shadow-lg); padding: 22px 20px 20px; max-width: 480px; width: 100%; justify-self: center; margin-top: 40px; }
.lesson-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-right: 74px; }
.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: var(--stroke) solid var(--ink); border-radius: 999px;
        font: 800 12.5px/1 var(--text); letter-spacing: .04em; text-transform: uppercase; background: var(--mint); color: #111315; white-space: nowrap; }
.bar { flex: 1; height: 10px; border: var(--stroke) solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--card); }
.bar i { display: block; height: 100%; width: 37.5%; background: var(--mint); border-right: var(--stroke) solid var(--ink); }
.step { font: 800 14px/1 var(--text); color: var(--ink-3); white-space: nowrap; }
/* Узкий экран: Навик занимает правый угол — полоску прогресса, а на 320 и счётчик, не показываем. */
@media (max-width: 399px) { .lesson-top .bar { display: none; } }
@media (max-width: 359px) { .lesson-top .step { display: none; } }
.label { font: 800 12.5px/1.2 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.ask { background: var(--lilac); color: #111315; border: var(--stroke) solid var(--ink); border-radius: 16px 16px 16px 4px;
       padding: 10px 14px; font-weight: 800; width: fit-content; max-width: 100%; }
.ask .label { color: #4A4A47; }
.answer { background: var(--frame); color: var(--on-frame); border: var(--stroke) solid var(--ink); border-radius: var(--r-inner); padding: 12px 14px; margin: 12px 0 18px; }
.answer .label { color: var(--mint); }
.answer p { font-size: 17px; }
.answer s { text-decoration: none; background: rgba(255, 229, 102, .22); box-shadow: inset 0 -2px 0 var(--lemon); }
.q { font-size: 21px; line-height: 1.25; margin-bottom: 14px; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 12px 16px; text-align: left;
       background: var(--card); color: var(--ink); border: var(--stroke) solid var(--ink); border-radius: var(--r-inner);
       font: 400 18px/1.3 var(--text); cursor: pointer; transition: box-shadow .15s var(--ease), transform .15s var(--ease), background .15s; }
.opt:hover { box-shadow: var(--shadow); transform: translate(-1px, -1px); }
.opt:active { box-shadow: none; transform: translate(2px, 2px); }
.opt .mark { color: #111315; flex: none; width: 26px; height: 26px; border: var(--stroke) solid var(--ink); border-radius: 50%; display: grid; place-items: center; background: var(--card); }
.opt .mark svg { width: 14px; height: 14px; opacity: 0; }
.opt.right { background: var(--mint-soft); box-shadow: var(--shadow); }
.opt.right .mark { background: var(--mint); } .opt.right .mark svg { opacity: 1; }
.opt.wrong { background: var(--tangerine-soft); }
.opt.wrong .mark { background: #F26B3A; }
.lesson.solved .opt:not(.right) { opacity: .55; pointer-events: none; }

.sheet { display: none; margin-top: 16px; border: var(--stroke) solid var(--ink); border-radius: 18px; padding: 16px 16px 18px; color: #111315; }
.sheet.show { display: block; animation: sheet-up .22s var(--ease) both; }
.sheet.ok { background: var(--mint); }
.sheet.bad { background: var(--tangerine-soft); color: var(--ink); }
.sheet .verdict { font-size: 36px; margin-bottom: 6px; }
.sheet .ask { margin: 12px 0 8px; background: #fff; }
.sheet .btn { margin-top: 14px; width: 100%; box-shadow: none; }
.sheet .btn:hover, .sheet .btn:active { transform: none; box-shadow: none; }

/* Навик — живая наклейка (брендбук, 4): лавандовая печать с лицом, наклон −8°; говорит только после ответа. */
.navik { position: absolute; top: -34px; right: -6px; width: 104px; height: 104px; overflow: visible; transform: rotate(-8deg);
         filter: drop-shadow(3px 3px 0 #111315); }
.navik .body { fill: var(--lilac); stroke: #111315; stroke-width: 4; stroke-linejoin: round; }
.navik [data-face] { display: none; }
.navik[data-mood="think"] [data-face="think"], .navik[data-mood="joy"] [data-face="joy"], .navik[data-mood="oops"] [data-face="oops"] { display: inline; }
.navik.pop { animation: pop .28s var(--ease); }
/* Реплика — над плиткой, слева от Навика: не закрывает ни запрос, ни варианты. */
.say { position: absolute; bottom: calc(100% + 10px); right: 84px; max-width: min(300px, calc(100% - 84px)); background: #fff; color: #111315; border: var(--stroke) solid #111315;
       border-radius: 14px 14px 4px 14px; padding: 8px 12px; font: italic 800 15px/1.25 var(--text); opacity: 0; transform: translateY(4px) scale(.96);
       transition: opacity .18s var(--ease), transform .18s var(--ease); pointer-events: none; z-index: 2; }
.say.show { opacity: 1; transform: none; }

/* --- Разделы -------------------------------------------------------------------------------------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section h2.poster { font-size: clamp(50px, 8.5vw, 96px); }
.section .intro { font-size: 20px; color: var(--ink-2); max-width: 30em; margin-top: 20px; }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: .9fr 1.1fr; gap: 64px; } .split > :first-child { position: sticky; top: 104px; align-self: start; } }

/* Путь урока — та же трасса, что на главной приложения: пройдено — мята с галочкой, сегодня — жёлтая печать, дальше — пунктир. */
.trail { list-style: none; margin: 0; padding: 0; position: relative; }
.trail li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding-bottom: 36px; }
/* Отрезок трассы — от узла до следующего узла; у последнего шага его нет. */
.trail li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: var(--stroke); background: var(--ink); transform-origin: top; }
.trail li:last-child { padding-bottom: 0; }
.node { position: relative; z-index: 1; width: 44px; height: 44px; border: var(--stroke) solid var(--ink); border-radius: 50%; display: grid; place-items: center;
        background: var(--paper); font: 900 italic 22px/1 var(--poster); }
.trail .done .node { background: var(--mint); color: #111315; border-color: var(--ink); }
.node svg { width: 20px; height: 20px; }
.trail .now .node { border: 0; background: none; }
.trail .now .node svg { width: 52px; height: 52px; margin: -4px; transform: rotate(-8deg); filter: drop-shadow(2px 2px 0 var(--ink)); overflow: visible; }
.trail .next .node { border-style: dashed; }
.trail h3 { font-size: 23px; line-height: 1.2; margin: 8px 0 6px; }
.trail p { color: var(--ink-2); }
.stickers { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
/* Наклейки историй — те же, что в «Достижениях» приложения (miniapp/src/components/Stickers.tsx). */
.ach { width: 84px; height: 84px; overflow: visible; filter: drop-shadow(3px 3px 0 #111315); }

.seal-fill { stroke: #111315; stroke-width: 3; stroke-linejoin: round; }
.seal-fill.lilac { fill: var(--lilac); } .seal-fill.lemon { fill: var(--lemon); } .seal-fill.mint { fill: var(--mint); }
.icon-ink { fill: none; stroke: #111315; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Четыре цели — одна плитка со строками, не сетка карточек. */
.goals { margin-top: 44px; background: var(--card); border: var(--stroke) solid var(--ink); border-radius: 24px; box-shadow: var(--shadow-lg); }
.goal { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; padding: 22px 22px; }
.goal > div { min-width: 0; }
.goal + .goal { border-top: var(--stroke) solid var(--line-soft); }
.goal svg { width: 60px; height: 60px; overflow: visible; transform: rotate(-6deg); filter: drop-shadow(2px 2px 0 #111315); }
.goal:nth-child(even) svg { transform: rotate(5deg); }
.goal h3 { font-size: 24px; line-height: 1.15; }
.goal p { color: var(--ink-2); margin-top: 4px; font-size: 17px; }
@media (min-width: 760px) { .goal { grid-template-columns: 76px 1fr; padding: 26px 32px; gap: 26px; } .goal h3 { font-size: 26px; } .goal p { font-size: 18px; } }

/* Цена — белое с чёрным в одном фрейме (брендбук 3.1); кнопка внутри — мятная без тени. */
.price { margin-top: 44px; background: var(--frame); color: var(--on-frame); border: var(--stroke) solid var(--ink); border-radius: 28px; padding: 32px 24px; display: grid; gap: 32px; }
.price .col { display: grid; align-content: start; gap: 10px; }
.price .poster { color: var(--on-frame); }
/* Главное в цене — «Бесплатно» (Даниил, 06.10.2026): плакатом во всю колонку; кегль = ширина колонки / 4,6
   («БЕСПЛАТНО» ≈ 4,2 em плюс запас). Подписка — вторым планом. */
.price .sum { font-size: min(calc((100vw - 80px) / 4.6), 120px); line-height: .86; white-space: nowrap; }
.price .tier { font-size: 44px; white-space: nowrap; }
.price .tier small { font-size: .55em; letter-spacing: 0; }
.price p { color: var(--on-frame-2); font-size: 18px; }
.price p b { color: var(--on-frame); }
.terms { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; border-top: var(--stroke) solid #4A4A47; padding-top: 24px; grid-column: 1 / -1; }
.terms li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--on-frame-2); font-size: 17px; }
.terms svg { width: 22px; height: 22px; stroke: var(--mint); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.price .btn { justify-self: start; }
@media (min-width: 820px) { .price { grid-template-columns: 1.2fr .8fr; padding: 44px; } .price .sum { font-size: min(calc((min(1120px, 100vw - 32px) - 120px) * .6 / 4.6), 120px); } }

/* Вопросы — открытым списком: условия оплаты и возврата видны без кликов (модерация Robokassa). */
.faq { margin: 44px 0 0; display: grid; gap: 0; }
.faq div { padding: 22px 0; border-top: var(--stroke) solid var(--line-soft); display: grid; gap: 8px; }
.faq div:first-child { border-top: 0; padding-top: 0; }
.faq dt { font-weight: 800; font-size: 21px; line-height: 1.25; }
.faq dd { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) { .faq div { grid-template-columns: .8fr 1.2fr; gap: 40px; } }

.final { display: grid; gap: 28px; align-items: center; justify-items: start; }
.final h2.poster { font-size: clamp(54px, 9vw, 108px); }
.final .navik-big { width: 150px; height: 150px; overflow: visible; transform: rotate(-8deg); filter: drop-shadow(4px 4px 0 #111315); }
@media (min-width: 900px) { .final { grid-template-columns: auto 1fr; gap: 48px; } }

/* --- Подвал: контакты и документы; реквизиты — в оферте (раздел 13), ссылка «Реквизиты» ведёт туда --- */
.foot { border-top: var(--stroke) solid var(--ink); padding: 40px 0 48px; font-size: 16px; }
.foot .wrap { display: grid; gap: 28px; }
.foot nav, .foot address { display: grid; gap: 8px; align-content: start; font-style: normal; }
.foot h4 { margin: 0 0 4px; font: 800 12.5px/1.2 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.foot a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.foot .copy { color: var(--ink-3); }
@media (min-width: 760px) { .foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; } .foot .copy { grid-column: 1 / -1; } }

/* --- Плашка про Яндекс Метрику: карточка-наклейка внизу экрана, «Можно» и «Нет» одного размера --- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 520px; margin-inline: auto; display: grid; gap: 14px;
           padding: 18px 20px; border: var(--stroke) solid var(--ink); border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-lg); font-size: 16px; }
.consent[hidden] { display: none; }
.consent div { display: flex; gap: 10px; }
.consent .btn { min-height: 44px; padding: 0 22px; font-size: 16px; }

/* --- Документы (оферта, политика) и страницы после оплаты ---------------------------------------- */
.doc { width: min(760px, 100% - 32px); margin: 0 auto; padding: 32px 0 72px; }
.doc h1.poster { font-size: clamp(52px, 10vw, 84px); margin-bottom: 14px; }
.doc h2 { font-size: 21px; margin: 36px 0 12px; scroll-margin-top: 88px; }
.doc p, .doc li { line-height: 1.6; }
.doc ul { padding-left: 22px; margin: 0 0 12px; }
.doc .muted { font-size: 16px; }
.done-card { margin: 40px auto 72px; width: min(560px, 100% - 32px); background: var(--card); border: var(--stroke) solid var(--ink); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 28px 24px; }
.done-card.ok { background: var(--mint); color: #111315; }
.done-card h1.poster { font-size: clamp(48px, 12vw, 72px); margin-bottom: 12px; }
.done-card .btn { margin-top: 18px; }

/* --- Страницы-ответы /kak под поиск Яндекса и ответы Алисы (pipeline/build_answers.py, 21.10.2026) ----- */
.crumbs { font-size: 15px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.kak h1.poster { font-size: clamp(44px, 8vw, 72px); }
.short { background: var(--lemon); color: #111315; border: var(--stroke) solid var(--ink); border-radius: var(--r-card);
         box-shadow: var(--shadow); padding: 16px 18px; margin: 18px 0 14px; font-size: 19px; }
.kak .intro { font-size: 20px; color: var(--ink-2); margin-top: 12px; }
.pair { margin: 0 0 30px; }
.pair .ask { margin-bottom: 10px; }
.pair figcaption { color: var(--ink-2); }
.ask img, .answer img { width: 100%; height: auto; margin-top: 10px; border: var(--stroke) solid var(--ink); border-radius: 10px; }
.label.attach { margin: 8px 0 0; }
.answer p + p { margin-top: 8px; }
.kak .lesson { margin: 72px 0 18px; max-width: 520px; }
.blank { display: inline-block; min-width: 3.5em; border-bottom: 2px solid currentColor; }
.kak .cta-note { color: var(--ink-2); max-width: none; font-size: 16px; }
.more { list-style: none; padding: 0 !important; }
.more li { padding: 14px 0; border-top: var(--stroke) solid var(--line-soft); }
.more li:first-child { border-top: 0; }
.more a { font-weight: 800; font-size: 19px; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.more p { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; }

/* --- Движение: одна сцена на загрузке, дальше спокойное появление разделов --------------------- */
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.82) rotate(-16deg); } 100% { transform: scale(1) rotate(-8deg); } }
@keyframes sheet-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.hero h1 .line > span { animation: rise .7s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .08s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .16s; }
.hero h1 .line:nth-child(4) > span { animation-delay: .24s; }
.hero .lead, .hero .cta-row { animation: fade-up .6s var(--ease) .3s both; }
.hero .lesson { animation: fade-up .7s var(--ease) .42s both; }
.hero .navik { animation: pop .45s cubic-bezier(.2, 1.6, .4, 1) .9s both; }
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .trail li::before { transform: scaleY(0); }
.js .trail.in li::before { animation: draw .5s var(--ease) both; }
.js .trail.in li:nth-child(2)::before { animation-delay: .35s; }
.js .trail.in li:nth-child(3)::before { animation-delay: .7s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .trail li::before { transform: none; }
}
