/* local Onest + Literata */
/* cyrillic-ext */
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/literata-1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/literata-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/literata-3.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;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/literata-4.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/literata-5.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/literata-6.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;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/literata-7.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/literata-8.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/literata-9.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;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/onest-10.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/onest-11.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/onest-12.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;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/onest-13.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/onest-14.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/onest-15.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;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/onest-16.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/onest-17.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/onest-18.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 {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #16181d;
  --muted: #6a7080;
  --line: #dfe2e8;
  --ink: #1f3a8a;
  --tint: #f4f5f7;
  --slab: #16181d;
  --on-slab: #ffffff;
  --focus: 0 0 0 2px #ffffff, 0 0 0 4px #1f3a8a;

  --sans: "Onest", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;

  --doc: 880px;
  --aside: 148px;
  --measure: 33em;
  --gutter: 22px;
  --size: 19px;
  --lh: 1.62;
  --gap: 1.25em;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0c0e13;
    --fg: #e9eaee;
    --muted: #8b91a0;
    --line: #262a34;
    --ink: #9db4ff;
    --tint: #15171d;
    --slab: #e9eaee;
    --on-slab: #0c0e13;
    --focus: 0 0 0 2px #0c0e13, 0 0 0 4px #9db4ff;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 var(--size)/var(--lh) var(--serif);
}

button:focus-visible, a:focus-visible { outline: none; box-shadow: var(--focus); }

/* --- document grid ------------------------------------------------------ */

.doc { width: min(100%, var(--doc)); margin: 0 auto; padding: 0 var(--gutter); }

.row {
  display: block;
  max-width: var(--measure);
  margin: 0 0 28px;
}

.aside { display: none; }

.rule {
  display: block;
  width: 40px;
  height: 2px;
  margin: 12px 0 36px;
  border: 0;
  background: var(--ink);
}

/* --- hero --------------------------------------------------------------- */

.hero { margin: 28px 0 44px; }

h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 15em;
}

.lead { margin: 18px 0 0; font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 30em; }
.byline { margin: 22px 0 0; font-family: var(--sans); font-size: 13px; color: var(--muted); }

/* --- text --------------------------------------------------------------- */

.body { hyphens: auto; }
.body > *:first-child { margin-top: 0; }
.body p { margin: 0 0 var(--gap); }
.body p:last-child { margin-bottom: 0; }
.body em { font-style: italic; }

h2 {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.body a:not(.btn):not(.tg) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.offer .body a:not(.btn):not(.tg) { color: inherit; }

.body ul { margin: 0 0 var(--gap); padding-left: 1.1em; }
.body li { margin: 0 0 0.4em; }
.body li::marker { color: var(--muted); }

blockquote { margin: 26px 0; padding: 0 0 0 20px; border-left: 2px solid var(--ink); }
blockquote p { margin: 0; font-style: italic; }

/* --- formula ------------------------------------------------------------
   Пять этапов — то, что делаешь ты. Шестой — то, что получил бизнес.
   Поэтому он вынесен отдельно и залит: всё сходится в него.
   ------------------------------------------------------------------------ */

.formula {
  margin: 34px 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.formula-label {
  display: block;
  margin: 0 0 20px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}

.track { margin: 0; padding: 0; list-style: none; }

.track li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 0 0 20px;
}

.track li:last-child { padding-bottom: 0; }

.track li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.track li:last-child::before { display: none; }

.track .n {
  position: relative;
  z-index: 1;
  flex: 0 0 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--bg);
  font: 500 12px var(--sans);
  color: var(--muted);
}

.track .w {
  padding-top: 1px;
  font: 500 17px var(--sans);
  letter-spacing: -0.012em;
}

.track .final { margin-top: 6px; padding-top: 20px; }

.track .final::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line);
}

.track .final .n {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}

.track .final .w { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }

/* --- myths -------------------------------------------------------------- */

.myths { margin: 0; }
.myths > div { margin: 0 0 24px; }
.myths > div:last-child { margin-bottom: 0; }

.myths dt {
  margin: 0 0 4px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.012em;
}

.myths dd { margin: 0; }

/* --- numbered ----------------------------------------------------------- */

.steps, .schemes { margin: 0; padding: 0; list-style: none; counter-reset: s; }

.steps li, .schemes li {
  position: relative;
  margin: 0 0 16px;
  padding: 0 0 0 34px;
  counter-increment: s;
}

.steps li:last-child, .schemes li:last-child { margin-bottom: 0; }

.steps li::before, .schemes li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0.28em;
  font: 500 14px var(--sans);
  color: var(--ink);
}

.schemes li { margin-bottom: 22px; }

.schemes strong {
  display: block;
  margin: 0 0 4px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.012em;
}

/* --- carousel ----------------------------------------------------------- */

.shots { margin: 34px 0; }

.rail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  height: var(--rail-h, auto);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  transition: height 0.28s ease;
}

.rail::-webkit-scrollbar { display: none; }

.slide {
  display: grid;
  flex: 0 0 78%;
  gap: 10px;
  align-content: start;
  scroll-snap-align: center;
}
.slide img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }

.ph {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  background: var(--tint);
  font: 400 13px var(--sans);
  color: var(--muted);
}

.dots { display: flex; justify-content: center; gap: 6px; margin: 14px 0 0; }

.dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 1px solid var(--muted);
  background: transparent;
  cursor: pointer;
}

.dots button[aria-current="true"] { background: var(--ink); border-color: var(--ink); }

.stack { margin: 34px 0; }
.stack img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 10px;
  border: 1px solid var(--line);
}
.stack img:last-of-type { margin-bottom: 0; }

.clip { margin: 34px 0; }
.clip video,
.clip img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--tint);
}

figcaption {
  margin: 14px 0 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 33em;
}

/* --- offer -------------------------------------------------------------- */

.offer { margin: 0; padding: 28px 0 96px; background: var(--bg); color: var(--fg); }

.offer-inner {
  width: min(100%, var(--doc));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.offer-inner .body { max-width: var(--measure); }

.offer h2 { margin: 0 0 16px; max-width: 14em; }
.offer p { margin: 0 0 14px; font-size: 18px; line-height: 1.55; }

.offer .price {
  margin: 0 0 14px;
  font: 600 18px var(--sans);
  letter-spacing: -0.01em;
  line-height: 1.55;
}
.offer .price small { font: 400 15px var(--sans); opacity: 0.72; margin-left: 10px; }

.offer .starting {
  margin: 0;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--ink);
  font-size: 17px;
  line-height: 1.5;
}

.offer .btn { margin: 32px 0; }

.offer .fine {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.7;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  border: 0;
  background: var(--slab);
  color: var(--on-slab);
  font: 500 16px var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { opacity: 0.9; }

.tg {
  display: block;
  margin: 18px 0 0;
  font-family: var(--sans);
  font-size: 14px;
  color: inherit;
  opacity: 0.75;
  text-align: center;
}

/* --- sticky cta --------------------------------------------------------- */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  border-top: 1px solid var(--line);
  transform: translateY(130%);
  transition: transform 0.26s ease;
}

.dock.is-on { transform: translateY(0); }

.dock-inner { width: min(100%, var(--doc)); margin: 0 auto; }

.dock .btn {
  min-height: 52px;
  background: var(--slab);
  color: var(--on-slab);
}

/* --- narrow ------------------------------------------------------------- */

@media (max-width: 720px) {
  :root { --size: 18px; --lh: 1.6; }

  .hero { margin: 30px 0 36px; }
  h1 { font-size: 30px; }
  .lead { font-size: 18px; }
  h2 { font-size: 22px; }
  .slide { flex: 0 0 86%; }
  .offer .price { font-size: 18px; }
  .track .final .w { font-size: 18px; }
  .offer { padding: 24px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .rail { scroll-behavior: auto; transition: none; }
  .dock { transition: none; }
}
