@font-face { font-family: Onest; font-weight: 400; font-display: swap; src: url(/fonts/onest-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; font-weight: 400; font-display: swap; src: url(/fonts/onest-latin-400-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Onest; font-weight: 600; font-display: swap; src: url(/fonts/onest-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; font-weight: 600; font-display: swap; src: url(/fonts/onest-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }
@font-face { font-family: Onest; font-weight: 800; font-display: swap; src: url(/fonts/onest-cyrillic-800-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; font-weight: 800; font-display: swap; src: url(/fonts/onest-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }
@font-face { font-family: Literata; font-weight: 400; font-display: swap; src: url(/fonts/literata-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Literata; font-weight: 400; font-display: swap; src: url(/fonts/literata-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }
@font-face { font-family: Caveat; font-weight: 600; font-display: swap; src: url(/fonts/caveat-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Caveat; font-weight: 600; font-display: swap; src: url(/fonts/caveat-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }

:root {
  --ink: #172036; --ink-2: #4a5470; --ink-3: #8790a8; --paper: #fff; --desk: #f2f5fb; --rule: #e3e9f5; --rule-2: #cfd8ea;
  --cobalt: #2447f5; --cobalt-d: #1733c4; --cobalt-soft: #e9eeff; --marker: #ffe14d; --marker-soft: #fff6c2; --pencil: #e3215b;
  --sans: Onest, system-ui, -apple-system, 'Segoe UI', sans-serif; --serif: Literata, Georgia, serif; --hand: Caveat, cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.55 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: var(--cobalt); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
::selection { background: var(--marker); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 8px; background: var(--cobalt); color: #fff;
  font-weight: 600; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--cobalt-d); }
.btn.quiet { background: transparent; color: var(--ink); border: 1.5px solid var(--rule-2); }
.btn.quiet:hover { border-color: var(--ink-3); }
.btn.small { height: 40px; padding: 0 16px; font-size: 15px; }

/* шапка */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.logo { font-weight: 800; font-size: 24px; letter-spacing: -.035em; color: var(--ink); text-decoration: none; }
.logo i { font-style: normal; color: var(--cobalt); }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { color: var(--ink-2); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.top .sp { flex: 1; }
.top .lng { font-size: 14px; font-weight: 600; color: var(--ink-3); text-decoration: none; }
.top .in { font-size: 15px; color: var(--ink); text-decoration: none; font-weight: 600; }

/* акция */
.offerbar { background: var(--marker); font-size: 15px; font-weight: 500; }
.offerbar .wrap { display: flex; gap: 14px; align-items: center; min-height: 42px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.offerbar b { font-weight: 800; }
.offerbar .tm { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; }
.offerbar[hidden] { display: none; }

/* первый экран: лист с правкой */
.hero { padding: 72px 0 88px; background: linear-gradient(var(--desk), var(--paper)); border-bottom: 1px solid var(--rule); }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 0 0 24px; }
.hero .lead { font-size: 20px; color: var(--ink-2); margin: 0 0 32px; max-width: 34em; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .first { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.hero .first s, .hero .first b { white-space: nowrap; }
.hero .first s { text-decoration-color: var(--pencil); text-decoration-thickness: 2px; color: var(--ink-3); }
.hero .first b { color: var(--ink); }

.sheet { background: var(--paper); border-radius: 12px; box-shadow: 0 1px 2px rgba(23,32,54,.06), 0 30px 60px -30px rgba(23,32,54,.35); padding: 40px 40px 34px 78px; position: relative;
  background-image: repeating-linear-gradient(transparent 0 35px, var(--rule) 35px 36px); background-position: 0 28px; }
.sheet::before { content: ''; position: absolute; top: 0; bottom: 0; left: 56px; border-left: 1.5px solid #f6b5c7; }
.sheet .h { font-family: var(--sans); font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 36px; margin: 0 0 0; }
.sheet p { font-family: var(--serif); font-size: 18px; line-height: 36px; margin: 0; }
.sheet del { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: transparent; color: var(--ink-3);
  animation: strike .5s ease-out forwards; }
.sheet ins { text-decoration: none; font-family: var(--hand); color: var(--pencil); font-size: 25px; margin: 0 3px; opacity: 0; animation: write .5s ease-out forwards; }
.sheet del:nth-of-type(1) { animation-delay: .5s; } .sheet ins:nth-of-type(1) { animation-delay: .9s; }
.sheet del:nth-of-type(2) { animation-delay: 1.4s; } .sheet ins:nth-of-type(2) { animation-delay: 1.8s; }
.sheet del:nth-of-type(3) { animation-delay: 2.3s; } .sheet ins:nth-of-type(3) { animation-delay: 2.7s; }
.sheet mark { background: linear-gradient(transparent 58%, var(--marker) 58%); color: inherit; }
.sheet .margin { position: absolute; left: 10px; font-family: var(--hand); color: var(--pencil); font-size: 20px; transform: rotate(-8deg); opacity: 0; animation: write .4s ease-out forwards; }
.sheet .tag { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; }
.sheet .tag span { background: var(--desk); border: 1px solid var(--rule); border-radius: 20px; padding: 3px 11px; color: var(--ink-2); }
.sheet .tag span b { color: var(--ink); }
@keyframes strike { to { text-decoration-color: var(--pencil); } }
@keyframes write { to { opacity: 1; } }

/* секции */
section.s { padding: 96px 0; }
section.s.alt { background: var(--desk); }
.s h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; margin: 0 0 16px; max-width: 18em; }
.s .intro { font-size: 19px; color: var(--ink-2); max-width: 38em; margin: 0 0 44px; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.products > div { padding: 28px 28px 8px 0; }
.products > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.products h3 { font-size: 23px; letter-spacing: -.02em; margin: 0 0 10px; }
.products p { color: var(--ink-2); margin: 0 0 16px; }
.products ul { padding: 0; margin: 0; list-style: none; font-size: 15.5px; }
.products li { padding: 7px 0; border-top: 1px solid var(--rule); }
.products .from { margin-top: 18px; font-weight: 600; }

.pipe { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 32px; counter-reset: p; }
.pipe li { counter-increment: p; position: relative; padding-top: 50px; }
.pipe li::before { content: counter(p); position: absolute; top: 0; left: 0; font-family: var(--hand); font-size: 40px; color: var(--pencil); line-height: 1; }
.pipe b { display: block; font-size: 18px; margin-bottom: 6px; }
.pipe span { color: var(--ink-2); font-size: 15.5px; }

.ed { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ed-mock { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 30px 30px 26px; box-shadow: 0 30px 60px -36px rgba(23,32,54,.35); }
.ed-mock p { font-family: var(--serif); font-size: 17px; line-height: 1.7; margin: 0 0 14px; }
.ed-mock .sel { background: var(--cobalt-soft); border-radius: 4px; padding: 2px 8px; margin: 0 -8px 10px; }
.ed-mock .bar { display: inline-flex; gap: 2px; background: var(--ink); color: #fff; border-radius: 8px; padding: 5px; font-size: 13.5px; margin-bottom: 16px; }
.ed-mock .bar span { padding: 6px 10px; border-radius: 5px; }
.ed-mock .bar span:first-child { background: rgba(255,255,255,.14); }
.ed-mock .bar em { font-style: normal; color: var(--marker); }
.ed-mock .score { display: flex; gap: 18px; border-top: 1px solid var(--rule); padding-top: 16px; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.ed-mock .score b { display: block; font-size: 24px; color: var(--ink); letter-spacing: -.02em; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 12px 0 12px 34px; border-top: 1px solid var(--rule); position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 4px; top: 10px; font-family: var(--hand); font-size: 26px; color: var(--pencil); line-height: 1; }
.ticks b { display: block; }
.ticks span { color: var(--ink-2); font-size: 15.5px; }

/* цены */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.calc-in { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 26px; }
.calc-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.calc-row:last-child { border-bottom: 0; }
.calc-row label { font-weight: 600; }
.calc-row input[type=range] { width: 52%; accent-color: var(--cobalt); }
.calc-row output { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 64px; text-align: right; }
.calc-row input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--cobalt); }
.seg { display: inline-flex; border: 1px solid var(--rule-2); border-radius: 8px; padding: 3px; gap: 3px; background: var(--desk); }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 5px; font: 500 14px var(--sans); color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed=true] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(23,32,54,.12); }
.receipt { background: var(--paper); border-radius: 12px; padding: 26px; border: 1px solid var(--rule); box-shadow: 0 30px 60px -36px rgba(23,32,54,.35); position: sticky; top: 90px; }
.receipt .l { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-2); padding: 5px 0; }
.receipt .l span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.receipt hr { border: 0; border-top: 1px dashed var(--rule-2); margin: 12px 0; }
.receipt .tot { display: flex; justify-content: space-between; align-items: baseline; }
.receipt .tot b { font-size: 40px; letter-spacing: -.04em; font-weight: 800; font-variant-numeric: tabular-nums; }
.receipt .first { display: flex; align-items: center; gap: 12px; margin: 14px 0 18px; background: var(--desk); border-radius: 8px; padding: 10px 12px; font-size: 15px; }
.receipt .off { font-family: var(--hand); font-size: 36px; color: var(--pencil); transform: rotate(-5deg); line-height: 1; }
.receipt .btn { width: 100%; }
.receipt .note { font-size: 13.5px; color: var(--ink-3); margin: 12px 0 0; }

.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); margin-top: 56px; }
.packs > div { padding: 22px 22px 6px 0; }
.packs > div + div { padding-left: 22px; border-left: 1px solid var(--rule); }
.packs b { font-size: 30px; letter-spacing: -.03em; display: block; }
.packs span { color: var(--ink-2); font-size: 15px; display: block; }
.packs mark { background: var(--marker); padding: 1px 7px; border-radius: 10px; font-size: 13.5px; font-weight: 600; display: inline-block; margin-top: 8px; }
.subs { margin-top: 26px; font-size: 16px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--rule); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { font-weight: 600; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: '+'; color: var(--cobalt); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--ink-2); margin: 12px 0 0; max-width: 42em; }

.final { text-align: left; padding: 96px 0; background: var(--ink); color: #fff; }
.final h2 { color: #fff; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.04em; font-weight: 800; margin: 0 0 18px; max-width: 16em; line-height: 1.05; }
.final p { color: #b9c0d6; font-size: 19px; margin: 0 0 32px; max-width: 34em; }
.final .btn { background: var(--marker); color: var(--ink); }
.final .btn:hover { background: #ffd51a; }

footer { padding: 36px 0 48px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .sp { flex: 1; }

/* юр. страницы */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 28px 80px; }
.doc h1 { font-size: 38px; letter-spacing: -.03em; margin: 0 0 8px; }
.doc .upd { color: var(--ink-3); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 22px; margin: 32px 0 10px; }
.doc p, .doc li { font-family: var(--serif); font-size: 17px; line-height: 1.75; color: var(--ink); }
.doc .draft { background: var(--marker-soft); border-left: 3px solid var(--marker); padding: 12px 16px; font-size: 15px; margin-bottom: 28px; }

@media (max-width: 960px) {
  .hero .wrap, .ed, .calc { grid-template-columns: 1fr; gap: 40px; }
  .pipe { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: 1fr; }
  .products > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .packs { grid-template-columns: 1fr 1fr; }
  .packs > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .top nav { display: none; }
  .receipt { position: static; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 56px; }
  .sheet { padding: 26px 18px 22px 44px; }
  .sheet::before { left: 32px; }
  .sheet .margin { display: none; }
  section.s { padding: 64px 0; }
  .pipe { grid-template-columns: 1fr; }
  .top .wrap { gap: 14px; }
  .top .btn.small { display: none; }
  .calc-row input[type=range] { width: 45%; }
}
