/* --- шрифты: начало автоблока --- */
/* Собрано tools/fonts.py — руками не править. */

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

@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/commissioner-latin.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: 300 500;
  font-display: swap;
  src: url('fonts/unbounded-cyrillic.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: 300 500;
  font-display: swap;
  src: url('fonts/unbounded-latin.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 {
  --bg: #eeebe1;
  --tile: #fbf9f3;
  --tile-2: #f2efe5;
  --ink: #171a17;
  --ink-2: #3c4139;
  --ink-3: #33362f;
  --muted: #585d54;
  --green: #2f5d4a;
  --green-dark: #1d3e30;
  --green-deep: #14251d;
  --sage: #8aa893;
  --ochre: #8a6b3a;
  --cream: #f6f4ec;
  --mint: #cdded3;
  --line: rgba(23, 26, 23, 0.12);
  --line-strong: rgba(23, 26, 23, 0.2);
  --stripes: repeating-linear-gradient(135deg, #e7e3d6 0 12px, #e0dbcc 12px 24px);
  --display: 'Unbounded', sans-serif;
  --text: 'Commissioner', system-ui, sans-serif;
  --gap: 14px;
  --pad: clamp(28px, 3vw, 44px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

p { margin: 0; text-wrap: pretty; }

@keyframes tileIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

.hdr {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin: 12px 14px 0;
  padding: 12px 14px 12px 22px;
  background: rgba(251, 249, 243, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(23, 26, 23, 0.08);
  border-radius: 999px;
}

.brand { display: flex; align-items: center; gap: 10px; padding: 4px 0; color: var(--ink); }
.brand__logo { width: 40px; height: 40px; flex: none; }
.brand:hover { color: var(--ink); }
.brand__name { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.brand__sub { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.nav {
  display: flex;
  gap: 22px;
  flex: 1 1 40px;
  justify-content: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  font-size: 15px;
}
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--ink); }

.btn {
  display: inline-block;
  padding: 17px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s, border-color 0.2s;
}
.btn--sm { padding: 12px 24px; font-size: 15px; }
.btn--primary { background: var(--green); color: var(--cream); }
.btn--primary:hover { background: var(--green-dark); color: var(--cream); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); font-weight: 500; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: var(--cream); color: var(--green-dark); }
.btn--light:hover { background: #fff; color: var(--green-dark); }
.btn--deep { background: var(--green-deep); color: var(--cream); }
.btn--deep:hover { background: #0d1a14; color: var(--cream); }
.btn--ghost-light { border: 1px solid rgba(246, 244, 236, 0.5); color: var(--cream); }
.btn--ghost-light:hover { border-color: var(--cream); color: var(--cream); }

.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 14px 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.row { display: flex; flex-wrap: wrap; gap: var(--gap); }
.stack { display: flex; flex-direction: column; gap: var(--gap); }

.tile { padding: var(--pad); background: var(--tile); border-radius: 32px; }
.tile--green { background: var(--green); color: var(--cream); }
.tile--photo {
  min-height: 320px;
  background: var(--stripes);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.tile--hover { transition: background-color 0.2s; }
.tile--hover:hover { background: var(--tile-2); }

.w-1 { flex: 1 1 300px; }
.w-16 { flex: 1.6 1 440px; }
.w-2 { flex: 2 1 440px; }

.placeholder { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--green { color: var(--green); }
.eyebrow--light { color: var(--mint); }

.h1 {
  margin: 0 0 26px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 17ch;
  text-wrap: balance;
}
.h2 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(23px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h3 { margin: 22px 0 10px; font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: -0.02em; }
.h4 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }

.lead { font-size: 19px; color: var(--ink-2); max-width: 54ch; }
.prose { display: flex; flex-direction: column; gap: 16px; font-size: 18px; color: var(--ink-2); }
.prose em { font-style: normal; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: 15px; }

.quote {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.5;
  font-size: 17px;
}
.quote--big { font-size: clamp(20px, 2vw, 28px); line-height: 1.22; letter-spacing: -0.03em; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 8px;
}
.section-head .h2 { margin: 0; }
.section-head p { max-width: 52ch; color: var(--muted); }
.section-head:not(.section-head--flush) { flex-direction: column; align-items: flex-start; gap: 10px; }

.hero { position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; border-radius: 36px; padding: clamp(36px, 5vw, 76px) clamp(26px, 4vw, 64px); animation: tileIn 0.6s ease both; }
.hero::before {
  content: '';
  animation: orb 16s ease-in-out infinite alternate;
  position: absolute;
  top: -140px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 93, 74, 0.16), transparent 65%);
}
.hero > * { position: relative; }
.hero__lead { margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.hero__note { margin-bottom: 44px; font-size: 14px; color: var(--muted); }

.stats { display: flex; flex-wrap: wrap; gap: 14px 56px; }
.stat__num { font-family: var(--display); font-weight: 300; font-size: 34px; line-height: 1.3; }
.stat p { margin-top: 4px; font-size: 14px; color: var(--muted); max-width: 26ch; }

.split { display: flex; flex-direction: column; justify-content: flex-start; gap: 16px; }
.split__label { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

.who { flex: 1 1 250px; padding: 28px; background: var(--tile); border-radius: 28px; }
.who__tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--tile-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}
.who p { font-size: 16px; color: var(--muted); }

.dir { flex: 1 1 280px; padding: 34px 30px; }
.dir__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-weight: 600;
}
.dir__num--1 { background: var(--green); color: var(--cream); }
.dir__num--2 { background: var(--sage); color: var(--green-deep); }
.dir__num--3 { background: var(--ink); color: var(--cream); }
.dir p { color: var(--muted); font-size: 16px; }

.steps { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .steps { grid-template-columns: 1fr 1.4fr 1fr; }
}
.step { display: flex; flex-direction: column; gap: 18px; padding: var(--pad); border-radius: 32px; background: var(--tile); }
.step--free { flex: 1 1 280px; }
.step--main { flex: 1.5 1 400px; box-shadow: inset 0 0 0 2px var(--green); }
.step--club { flex: 1 1 280px; }
.step.tile--green { background: var(--green); color: var(--cream); }
.step__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step__num { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tile--green .step__num { color: var(--mint); }
.step__badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green);
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.step .h3 { margin: 0; }
.step__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; }
.step__old { font-size: 18px; text-decoration: line-through; opacity: 0.6; }
.step__body { flex: 1; font-size: 16px; }
.step .btn { width: 100%; padding-left: 20px; padding-right: 20px; }
.step__fine { font-size: 13px; text-align: center; color: var(--muted); }
.tile--green .step__fine { color: var(--mint); }

.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink-3); }
.checks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.tile--green .checks li { color: var(--cream); }
.tile--green .checks li::before { border-color: var(--mint); }

.pay-note { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0 8px; font-size: 14px; color: var(--muted); }

.feature { flex: 1 1 220px; padding: 22px; background: var(--tile-2); border-radius: 22px; }
.feature span { font-size: 13px; font-weight: 600; color: var(--green); }
.feature p { margin-top: 8px; font-size: 16px; color: var(--ink-3); }

.comm { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px 56px; align-items: center; }
.comm .h2 { margin: 0 0 16px; color: var(--cream); }
.comm__lead { max-width: 46ch; color: var(--mint); }
.comm__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.comm__list { margin: 0; padding: 0; list-style: none; }
.comm__item { display: grid; grid-template-columns: 48px 1fr; column-gap: 10px; padding: 20px 0; border-top: 1px solid rgba(246, 244, 236, 0.18); }
.comm__item:first-child { border-top: 0; padding-top: 0; }
.comm__item:last-child { padding-bottom: 0; }
.comm__num { font-family: var(--display); font-size: 14px; color: var(--mint); padding-top: 4px; }
.comm__item .h4 { margin: 0 0 6px; color: var(--cream); }
.comm__item p { margin: 0; font-size: 16px; color: var(--mint); }
@media (max-width: 899.98px) {
  .comm { grid-template-columns: 1fr; }
}

.klub__side { display: flex; flex-direction: column; gap: var(--gap); }
.klub__ask { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
.klub__ask .h4 { margin: 0; }
.klub__ask .btn { margin-top: 6px; }
.prices { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px) 32px; }
.prices__title { margin: 0 0 18px; font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(246, 244, 236, 0.24);
  font-weight: 500;
}
.price-row:last-of-type { border-bottom: 0; }
.price-row b { font-family: var(--display); font-weight: 400; font-size: 19px; }
.price-row small { font-size: 13px; opacity: 0.75; font-weight: 400; }
.prices .btn { margin-top: 18px; }
.prices__fine { margin-top: 12px; font-size: 13px; text-align: center; color: var(--mint); }

.card { display: flex; flex-direction: column; align-items: flex-start; flex: 1 1 240px; padding: 28px; background: var(--tile); border-radius: 26px; }
.card a { margin-top: auto !important; }
.card p { margin-bottom: 12px; font-size: 15px; color: var(--muted); }
.card a { display: inline-block; padding: 12px 0; margin: -12px 0; font-size: 15px; }

.science__src { margin-top: 20px; font-size: 14px; color: var(--muted); }

.videos { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.video { flex: 0 0 calc((100% - 4 * var(--gap)) / 5); min-width: 0; }
.videos:not(.is-open) .video--more { display: none; }
.videos__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 28px; }
@media (max-width: 1199.98px) { .video { flex-basis: calc((100% - 2 * var(--gap)) / 3); } }
.video__frame {
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  background: var(--stripes);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video__play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video .h4 { margin-top: 14px; margin-bottom: 4px; }
.video p { font-size: 13px; color: var(--muted); }
.video-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.review { flex: 1 1 260px; padding: 32px 30px; background: var(--tile); border-radius: 28px; }
.review .quote { margin-bottom: 18px; }
.review blockquote p { font-size: 17px; line-height: 1.55; color: var(--ink); }
.review:only-child { padding: clamp(32px, 5vw, 56px); }
.review:only-child blockquote p { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.3; letter-spacing: -0.02em; }
.review:only-child blockquote::before { content: '«'; display: block; margin-bottom: 4px; font-family: var(--display); font-size: 56px; line-height: 0.8; color: var(--green); }
.review:only-child blockquote p:last-of-type::after { content: '»'; margin-left: 0.15em; color: var(--green); }

.photo-tall { min-height: 360px; }

.princ { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px 56px; background: var(--ink); color: var(--cream); }
.princ .eyebrow { color: var(--mint); }
.princ .h2 { color: var(--cream); }
.princ__head { align-self: start; position: sticky; top: 120px; }
.princ__list { margin: 0; padding: 0; list-style: none; }
.princ__item { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding: 22px 0; border-top: 1px solid rgba(246, 244, 236, 0.16); }
.princ__item:first-child { border-top: 0; padding-top: 4px; }
.princ__num { grid-row: span 2; padding-top: 6px; font-family: var(--display); font-size: 15px; color: #d9bb86; }
.princ__title { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.princ__item p { margin: 0; max-width: 46ch; color: rgba(246, 244, 236, 0.74); }
@media (max-width: 899.98px) {
  .princ { grid-template-columns: 1fr; }
  .princ__head { position: static; }
}
@media (max-width: 599.98px) {
  .princ__item { grid-template-columns: 40px 1fr; padding: 18px 0; }
}

.join { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 20px 48px; align-items: start; }
.join .h2 { margin: 0; }
.join__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.join__step { padding: 22px; background: var(--bg); border-radius: 22px; }
.join__num { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; background: var(--green); color: var(--cream); font-family: var(--display); font-size: 15px; }
.join__step .h4 { margin: 0 0 6px; }
.join__step p { margin: 0; font-size: 15px; color: var(--muted); }
.join__head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
@media (max-width: 899.98px) {
  .join { grid-template-columns: 1fr; }
  .join__list { grid-template-columns: 1fr; }
}

@keyframes orb { to { transform: translate(-90px, 70px) scale(1.2); } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wave { to { background-position: 120px 0; } }

.hero__photo img { transform-origin: 50% 30%; animation: breathe 22s ease-in-out infinite alternate; }

.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--cream);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee__group { display: flex; flex: none; }
.marquee__item { display: flex; align-items: center; gap: 32px; padding-right: 32px; font-family: var(--display); font-size: clamp(17px, 1.8vw, 24px); letter-spacing: -0.01em; white-space: nowrap; }
.marquee__item::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #d9bb86; }

.wave {
  height: 24px;
  margin-top: 28px;
  max-width: 360px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cpath d='M0 12 Q 30 1 60 12 T 120 12' fill='none' stroke='%23d9bb86' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 24px;
  -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent);
  mask-image: linear-gradient(90deg, #000 60%, transparent);
  animation: wave 2.6s linear infinite;
}

.js-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

.who, .join__step, .dir { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.who:hover, .join__step:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(23, 26, 23, 0.08); }

.buy { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; background: var(--tile); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25); }
.buy::backdrop { background: rgba(17, 15, 14, 0.55); backdrop-filter: blur(4px); }
.buy__form { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 26px; }
.buy__form .h3 { margin: 0; }
.buy__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.buy__price { font-family: var(--display); font-size: 28px; letter-spacing: -0.02em; }
.buy__field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.buy__field input { padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.buy__field input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.buy__check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.buy__check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--green); }
.buy__check a { text-decoration: underline; text-underline-offset: 3px; }
.buy__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.buy__error { padding: 10px 14px; border-radius: 12px; background: #f7e1dc; color: #8a2b1d; font-size: 14px; }
.buy__submit { width: 100%; margin-top: 4px; }
.buy__submit:disabled { opacity: 0.7; cursor: progress; }
.buy__fine { font-size: 13px; text-align: center; color: var(--muted); }
.pay-result { max-width: 680px; margin: 40px auto; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pay-result .h2 { margin: 0; }
.pay-result__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pay-demo { padding: 8px 14px; border-radius: 999px; background: #f3e3b8; color: #6b4b00; font-size: 13px; font-weight: 600; }
.pay-result__fine { font-size: 13px; color: var(--muted); }

.final {
  padding: clamp(48px, 6vw, 84px) 32px;
  border-radius: 36px;
  text-align: center;
}
.final .h2 { margin: 0 auto 16px; max-width: 20ch; font-size: clamp(24px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.035em; }
.final p { margin-bottom: 30px; font-size: 19px; color: var(--mint); }
.final__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.ftr { max-width: 1280px; margin: 0 auto; padding: 52px 22px 44px; }
.ftr__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.ftr__about .brand__name { margin: 0 0 12px; font-size: 12px; line-height: inherit; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-family: var(--text); }
.ftr__about p { font-size: 15px; color: var(--ink-2); max-width: 32ch; }
@media (max-width: 899.98px) { .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .ftr__cols { grid-template-columns: 1fr; } }
.ftr__title { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ftr__links { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.ftr__links--plain a { color: var(--ink-2); }
.ftr__legal {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.ftr__docs { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ftr__docs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 899.98px) {
  .brand__sub { display: none; }
  .hdr .btn--sm { padding: 10px 16px; font-size: 13px; }
  .hdr { padding: 8px 8px 8px 14px; }
  .nav { display: none; }
  .brand { padding: 4px 0; }
}
@media (max-width: 599.98px) {
  .btn { padding: 16px 24px; }
  .hero { padding: 26px 22px 30px; }
  .hero .eyebrow { margin-bottom: 14px; font-size: 12px; }
  .h1 { margin-bottom: 16px; }
  .lead { font-size: 17px; line-height: 1.5; }
  .hero__lead { margin-bottom: 22px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; padding: 15px 20px; }
  .hero__note { margin-bottom: 30px; }
}

.skip, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip:focus {
  z-index: 100;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 16px;
  background: var(--tile);
  border-radius: 12px;
}

.btn--xs { padding: 10px 18px; font-size: 14px; }
button.btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
button.btn--ghost { border: 1px solid var(--line-strong); background: transparent; }

.stat:nth-child(1) .stat__num { color: var(--green); }
.stat:nth-child(2) .stat__num { color: var(--ochre); }

.tile--photo { position: relative; margin: 0; overflow: hidden; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.tile--photo figcaption {
  position: relative;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(251, 249, 243, 0.85);
  font-size: 13px;
  color: var(--ink-2);
}

.split__text { margin-top: auto; color: var(--mint); }
.split .admin-hint { background: rgba(246, 244, 236, 0.12); color: var(--cream); }
.split .admin-hint a { color: var(--cream); text-decoration: underline; }

.klub__lead { margin-bottom: 26px; }
.grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.grid > * { min-width: 0; }
.grid.features { gap: 12px; }
@media (min-width: 600px) {
  .grid--4, .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.pavel__text { margin-bottom: 18px; }
.pavel__quote { margin-bottom: 28px; }

.section-head--flush { padding: 0; margin-bottom: 26px; }

button.video__frame { width: 100%; padding: 0; border: 0; cursor: pointer; font: inherit; }
.video__frame { position: relative; overflow: hidden; }
.video__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__frame .video__play { position: relative; transition: transform 0.2s; }
.video__frame:hover .video__play { transform: scale(1.08); }
iframe.video__frame { display: block; width: 100%; height: auto; border: 0; background: #000; }

.review { margin: 0; }
.review blockquote { margin: 0 0 18px; }
.review blockquote p { margin: 0 0 10px; }
.review figcaption { font-size: 14px; font-weight: 600; }
.review figcaption span { font-weight: 400; color: var(--muted); }

.admin-hint {
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff3cd;
  color: #5c4400;
  font-size: 14px;
}
.main > .admin-hint { margin: 0; }

.doc { max-width: 860px; width: 100%; margin: 0 auto; }
.doc__body { margin-bottom: 32px; font-size: 17px; color: var(--ink-2); }
.doc__body h2 { margin: 32px 0 12px; font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.doc__body h3 { margin: 24px 0 8px; font-size: 18px; color: var(--ink); }
.doc__body p, .doc__body ul, .doc__body ol { margin: 0 0 14px; }
.doc__body a { text-decoration: underline; text-underline-offset: 3px; }

.cookie {
  position: fixed;
  z-index: 60;
  left: 14px;
  bottom: 14px;
  max-width: 420px;
  padding: 16px 18px;
  background: var(--tile);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(23, 26, 23, 0.14);
  font-size: 14px;
  line-height: 1.45;
}
.cookie[hidden] { display: none; }
.cookie__text { margin-bottom: 12px; color: var(--ink-2); }
.cookie__acts { display: flex; flex-wrap: wrap; gap: 8px; }
body.has-cookie .ftr { padding-bottom: 180px; }

@media (max-width: 599.98px) {
  .cookie { right: 10px; left: 10px; bottom: 10px; max-width: none; padding: 12px 14px; }
  .cookie__text { margin-bottom: 10px; font-size: 13px; }
}

.hero-row { align-items: stretch; }
.hero-row .hero { flex: 1.8 1 520px; }
.hero__photo { flex: 1 1 300px; min-height: 420px; border-radius: 36px; animation: tileIn 0.6s 0.1s ease both; }

.dir { display: flex; flex-direction: column; }
.dir__img {
  margin: -34px -30px 24px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 32px 32px 0 0;
  background: var(--stripes);
}
.dir__img img, .step__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dir__img { position: relative; }
.dir__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.dir__video.is-on { opacity: 1; }

.step__img {
  margin: calc(-1 * var(--pad) + 2px) calc(-1 * var(--pad) + 2px) 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  background: var(--stripes);
}

@media (max-width: 599.98px) {
  .hero__photo { min-height: 0; aspect-ratio: 4 / 5; }
}

body.has-hero-video .hdr { position: fixed; top: 12px; left: 14px; right: 14px; margin: 0; }
body.has-hero-video .main { padding-top: 0; }

.hv {
  position: relative;
  display: flex;
  align-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 640px;
  min-height: min(100svh, 1100px);
  padding-top: 88px;
  overflow: hidden;
  background: #110f0e;
  color: var(--cream);
}
.hv__media {
  position: absolute;
  right: 0;
  top: calc(50% + 44px);
  transform: translateY(-50%);
  width: min(60vw, 1000px, calc((min(100svh, 1100px) - 150px) * 16 / 9));
  aspect-ratio: 16 / 9;
  background: var(--poster-d) center / contain no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%), linear-gradient(0deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%), linear-gradient(0deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-composite: intersect;
}
.hv__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.8s ease; }
.hv__video.is-on { opacity: 1; }
.hv__shade { display: none; }
.hv__content { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; padding: 32px 48px 48px; }
.hv__content > * { max-width: min(600px, 44vw); }
.hv__content > .hv__stats { max-width: min(640px, 46vw); flex-wrap: nowrap; gap: 14px 32px; }
.hv .stat__num { font-size: 28px; }
.hv .stat p { max-width: 20ch; }
.hv__eyebrow { color: var(--mint); margin-bottom: 22px; }
.hv__title { margin-bottom: 22px; font-size: clamp(30px, 3.2vw, 52px); color: var(--cream); }
@media (min-width: 900px) and (max-width: 1199.98px) {
  .hv__stats { display: none; }
  .hv__note { margin-bottom: 0; }
}
.hv__lead { margin-bottom: 32px; color: rgba(246, 244, 236, 0.86); }
.hv__note { margin: 14px 0 40px; font-size: 14px; color: var(--mint); }
.hv .stat__num, .hv .stat:nth-child(1) .stat__num { color: var(--cream); }
.hv .stat:nth-child(2) .stat__num { color: #d9bb86; }
.hv .stat p { color: rgba(246, 244, 236, 0.72); }

@media (min-width: 900px) {
  .hv--portrait .hv__media {
    right: max(48px, calc((100vw - 1280px) / 2 + 48px));
    width: auto;
    height: calc(min(100svh, 1100px) - 150px);
    aspect-ratio: 9 / 16;
    background-size: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(0deg, transparent 0%, #000 12%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(0deg, transparent 0%, #000 12%, #000 92%, transparent 100%);
  }
  .hv--portrait .hv__video { object-fit: cover; }
}
@media (min-width: 900px) {
  .hv--full .hv__media {
    inset: 98px 0 0 0;
    transform: none;
    width: auto;
    aspect-ratio: auto;
    background: var(--poster-d) 50% 0 / cover no-repeat;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18px);
    mask-image: linear-gradient(180deg, transparent 0, #000 18px);
  }
  .hv--full .hv__video { object-fit: cover; object-position: 50% 0; }
  .hv--full .hv__shade {
    display: block;
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(17, 15, 14, 0.9) 0%, rgba(17, 15, 14, 0.72) 30%, rgba(17, 15, 14, 0.22) 60%, rgba(17, 15, 14, 0.1) 100%),
      linear-gradient(0deg, rgba(17, 15, 14, 0.6) 0%, rgba(17, 15, 14, 0) 30%);
  }
}
@media (max-width: 899.98px) {
  .hv { align-items: flex-end; min-height: 560px; min-height: 100svh; padding-top: 0; }
  .hv__media {
    inset: 112px 0 0 0;
    top: 112px;
    transform: none;
    width: auto;
    aspect-ratio: auto;
    background: var(--poster-m) 50% 0 / cover no-repeat;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hv__video { object-fit: cover; object-position: 50% 0; }
  .hv__shade { display: block; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17, 15, 14, 0.96) 0%, rgba(17, 15, 14, 0.78) 42%, rgba(17, 15, 14, 0) 72%); }
  .hv__content { padding: 0 22px 30px; }
  .hv__content > *, .hv__content > .hv__stats, .hv__content > .hv__title { max-width: none; }
  .hv__eyebrow { margin-bottom: 12px; font-size: 12px; }
  .hv__title { margin-bottom: 14px; }
  .hv__lead { margin-bottom: 22px; }
  .hv__note { margin-bottom: 0; }
  .hv__stats { display: none; }
}

.video__frame--file { aspect-ratio: 9 / 16; background: #110f0e; border-radius: 24px; }
.video__frame--file video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #110f0e; }
@media (max-width: 599.98px) {
  .videos { gap: 10px; }
  .video { flex-basis: calc((100% - 10px) / 2); }
  .video .h4 { font-size: 15px; }
}

/* Блоки с заголовком не слипаются с плиткой выше */
.main > section.stack { margin-top: 28px; }
.main > section.stack + section.stack { margin-top: 36px; }
