/* Хвиля Наулі — design system */
@font-face { font-family: "Commissioner"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/commissioner-cyrillic-wght-normal.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: 100 900; font-display: swap;
  src: url("../fonts/commissioner-latin-wght-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/alegreya-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/alegreya-latin-wght-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("../fonts/alegreya-cyrillic-wght-italic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("../fonts/alegreya-latin-wght-italic.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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* palette: soft violet */
  --ink: #2b1a49;          /* deep plum: headings */
  --ink-2: #4a3566;        /* plum body strong */
  --muted: #6e5a8c;        /* secondary text on lavender */
  --plum: #5b4479;         /* primary action */
  --plum-hover: #4a3566;
  --lilac: #c7b2dc;        /* badge, accents */
  --lilac-2: #b9a6dc;
  --lilac-soft: #e6dcf5;   /* icon wells */
  --panel: #ece5f8;        /* hero panel */
  --field: #f3e6f6;        /* section field */
  --ground: #faf6fd;       /* page ground */
  --night: #1c262b;        /* portrait backdrop */
  --night-ink: #d8c8f1;    /* text on photo */
  --night-muted: #b3abc6;
  --white: #ffffff;
  --line: rgba(91, 68, 121, .16);

  --sans: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Alegreya", Georgia, "Times New Roman", serif;

  /* comp unit: 1 comp px on the 1024-wide mobile frame */
  --u: calc(100vw / 1024);
  --radius: calc(var(--u) * 40);
  --shadow: 0 calc(var(--u) * 14) calc(var(--u) * 36) rgba(60, 35, 100, .18);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease: var(--ease-out);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--ground);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--lilac); color: var(--ink); }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }

/* ── header over photo ───────────────────────── */
.top { position: absolute; inset: 0 0 auto 0; z-index: 10; pointer-events: none; }
.top > * { pointer-events: auto; }
.menu-btn {
  position: absolute; right: calc(50% - var(--u) * 466); top: calc(var(--u) * 38);
  width: calc(var(--u) * 92); height: calc(var(--u) * 92); border-radius: 50%; border: 0;
  background: #6a5a8c; display: grid; place-content: center; gap: calc(var(--u) * 7); cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.menu-btn span { display: block; height: calc(var(--u) * 3.5); width: calc(var(--u) * 36); background: #fff; border-radius: 2px; }
.menu-btn span:nth-child(2) { width: calc(var(--u) * 28); }
.menu-btn span:nth-child(3) { width: calc(var(--u) * 20); }
.menu-btn:hover { background: var(--plum); }
.menu-btn:active { transform: scale(.96); }

/* ── hero ─────────────────────────────────────── */
.hero { position: relative; background: var(--panel); }
.hero-photo { position: relative; height: calc(var(--u) * 935); overflow: hidden; background: var(--night); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

.hero-panel {
  position: relative; z-index: 2; margin-top: calc(var(--u) * -10);
  padding: calc(var(--u) * 50) calc(var(--u) * 40) calc(var(--u) * 34);
  background: var(--panel); text-align: center;
  border-radius: 0 0 calc(var(--u) * 70) calc(var(--u) * 70);
}
/* signature: the panel edge breathes like a slow, even Nauli wave (two periods per screen, a lighter layer behind) */
.hero-wave {
  position: absolute; left: 0; top: calc(var(--u) * -118); width: 200%; height: calc(var(--u) * 120);
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60C64 28 192 28 256 60S448 92 512 60 704 28 768 60 960 92 1024 60V120H0z' fill='%23ece5f8'/%3E%3C/svg%3E") 0 0 / 50% 100% repeat-x;
  animation: wave-drift 26s linear infinite;
}
.hero-wave i {
  position: absolute; inset: calc(var(--u) * -22) 0 auto; height: calc(var(--u) * 120);
  background: inherit; opacity: .5; transform: translateX(-12.5%);
  animation: wave-drift 38s linear infinite reverse;
}
@keyframes wave-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-photo { overflow: hidden; }
.hero { overflow: hidden; }
.hero-panel h1 {
  margin: 0 auto; max-width: calc(var(--u) * 870);
  font-size: calc(var(--u) * 82); line-height: 1.1; font-weight: 800; letter-spacing: -.012em; color: var(--ink);
  text-wrap: balance;
}
.hero-sub { margin: calc(var(--u) * 14) 0 0; font-size: calc(var(--u) * 35); font-weight: 500; color: var(--muted); }
.btn {
  display: flex; align-items: center; justify-content: center; gap: calc(var(--u) * 22);
  width: calc(var(--u) * 755); height: calc(var(--u) * 116); margin: calc(var(--u) * 38) auto 0;
  border-radius: 999px; background: var(--plum); color: #fff; text-decoration: none;
  font-size: calc(var(--u) * 38); font-weight: 700; letter-spacing: -.005em;
  box-shadow: 0 calc(var(--u) * 16) calc(var(--u) * 34) rgba(91, 68, 121, .30);
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: calc(var(--u) * 40); height: calc(var(--u) * 40); transition: transform .3s var(--ease); }
.btn:hover { background: var(--plum-hover); box-shadow: 0 calc(var(--u) * 20) calc(var(--u) * 40) rgba(91, 68, 121, .36); }
@media (hover: hover) and (pointer: fine) { .btn:hover svg { transform: translateX(4px); } }
.btn:active { transform: scale(.97); transition-duration: .16s; }
.link {
  display: inline-flex; align-items: center; gap: calc(var(--u) * 26); margin-top: calc(var(--u) * 35);
  font-size: calc(var(--u) * 32); font-weight: 450; color: #66537f; text-decoration: none;
  border-bottom: calc(var(--u) * 3) solid #bdacd5; padding-bottom: calc(var(--u) * 9);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.link svg { width: calc(var(--u) * 36); height: calc(var(--u) * 36); }
.link:hover { color: var(--plum); border-color: var(--plum); }
.facts {
  max-width: calc(var(--u) * 945); margin-inline: auto !important;
  list-style: none; margin: calc(var(--u) * 18) 0 0; padding: 0 0 0 calc(var(--u) * 35);
  height: calc(var(--u) * 148); border-radius: 999px; background: #f4ecfa;
  display: grid; grid-template-columns: calc(var(--u) * 323) calc(var(--u) * 312) 1fr; align-items: center; text-align: left;
}
.facts li { position: relative; display: flex; align-items: center; gap: calc(var(--u) * 26);
  font-size: calc(var(--u) * 27); line-height: 1.42; color: var(--muted); font-weight: 500; }
.facts li + li::before { content: ""; position: absolute; left: calc(var(--u) * -46); top: 50%; height: calc(var(--u) * 86); margin-top: calc(var(--u) * -43); border-left: 1px solid rgba(91,68,121,.2); }
.facts b { font-weight: 500; color: var(--ink); font-size: calc(var(--u) * 28); }
.well { flex: none; width: calc(var(--u) * 76); height: calc(var(--u) * 76); border-radius: 50%; background: var(--lilac-soft);
  display: grid; place-items: center; color: var(--ink-2); }
.well svg { width: calc(var(--u) * 36); height: calc(var(--u) * 36); }

/* ── section 2 ──────────────────────────────────── */
.s2 { position: relative; background: var(--field); padding: calc(var(--u) * 48) max(calc(var(--u) * 62), calc(50% - var(--u) * 450)) calc(var(--u) * 80); overflow: hidden; }
.s2 h2 { position: relative; margin: 0; font-size: calc(var(--u) * 62); line-height: 1.1; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.s2-body { position: relative; margin: calc(var(--u) * 26) 0 0; max-width: calc(var(--u) * 590); font-size: calc(var(--u) * 30); line-height: 1.38; color: #66537f; }
.s2-body b { color: var(--ink); font-weight: 600; }
.leaf { position: absolute; left: calc(50% + var(--u) * 164); top: calc(var(--u) * 50); width: calc(var(--u) * 190); height: calc(var(--u) * 297); object-fit: contain; pointer-events: none; }

/* legibility floors on real phones (the comp frame is 1024 wide) */
.hero-sub { font-size: max(15px, calc(var(--u) * 35)); }
.s2-body { font-size: max(15.5px, calc(var(--u) * 30)); }
.link { font-size: max(14.5px, calc(var(--u) * 32)); }
.facts li, .facts b { font-size: max(12.5px, calc(var(--u) * 27)); }

/* ── shared section system ──────────────────────── */
.wrap { padding-inline: calc(var(--u) * 62); }
section h2 { margin: 0; font-size: max(27px, calc(var(--u) * 62)); line-height: 1.1; font-weight: 800; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
section h3 { margin: 0; font-size: max(18px, calc(var(--u) * 40)); line-height: 1.2; font-weight: 700; color: var(--ink); letter-spacing: -.005em; }
section p, section li, section dd { font-size: max(16px, calc(var(--u) * 38)); line-height: 1.55; color: var(--ink-2); }
.lead { margin: calc(var(--u) * 28) 0 0; max-width: 62ch; color: #5b4a74; }
.what, .why, .fit, .program, .access, .author, .reviews, .pricing, .faq, .final { padding-block: calc(var(--u) * 150); }

.btn-inline { display: inline-flex; width: auto; padding-inline: calc(var(--u) * 64); margin: calc(var(--u) * 44) 0 0; height: auto; min-height: 52px; padding-block: calc(var(--u) * 30); font-size: max(16px, calc(var(--u) * 36)); }
.btn { min-height: 48px; }

/* s2 pains */
.pains { position: relative; list-style: none; margin: calc(var(--u) * 70) 0 0; padding: 0; display: grid; gap: calc(var(--u) * 22); }
.pains li { margin: 0; padding: calc(var(--u) * 34) calc(var(--u) * 40) calc(var(--u) * 34) calc(var(--u) * 92); background: rgba(255,255,255,.62); border-radius: calc(var(--u) * 36); position: relative; color: var(--ink-2); }
.pains li::before { content: ""; position: absolute; left: calc(var(--u) * 40); top: calc(var(--u) * 50); width: calc(var(--u) * 22); height: calc(var(--u) * 22); border-radius: 50%; background: var(--lilac); box-shadow: 0 0 0 calc(var(--u) * 7) rgba(199,178,220,.35); }
.link-s2 { margin-top: calc(var(--u) * 54); }

/* what is nauli */
.what { background: var(--ground); }
.what-fig { margin: 0 0 calc(var(--u) * 70); border-radius: calc(var(--u) * 60); overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.what-fig img { width: 100%; height: auto; aspect-ratio: 1446/1500; object-fit: cover; }
.what-copy p { margin: calc(var(--u) * 28) 0 0; max-width: 62ch; }
.what-points { margin: calc(var(--u) * 56) 0 0; display: grid; gap: calc(var(--u) * 34); }
.what-points div { padding-top: calc(var(--u) * 30); border-top: 1px solid var(--line); }
.what-points dt { font-weight: 700; color: var(--ink); font-size: max(17px, calc(var(--u) * 38)); }
.what-points dd { margin: calc(var(--u) * 8) 0 0; }

/* why: drenched plum */
.why { background: #3b2858; color: #f1eaf9; position: relative; }
.why h2 { color: #fff; }
.why .lead { color: #d9cdea; }
.effects { list-style: none; margin: calc(var(--u) * 80) 0 0; padding: 0; display: grid; gap: calc(var(--u) * 64); }
.effects li { position: relative; padding-left: calc(var(--u) * 110); }
.effects li::before { content: ""; position: absolute; left: 0; top: calc(var(--u) * 4); width: calc(var(--u) * 70); height: calc(var(--u) * 36);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 36'%3E%3Cpath d='M3 24c10-14 20-14 32-6s22 8 32-6' fill='none' stroke='%23c7b2dc' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.effects h3 { color: #fff; }
.effects p { margin: calc(var(--u) * 12) 0 0; color: #d9cdea; }

/* fit */
.fit { background: var(--ground); }
.fit-grid { margin-top: calc(var(--u) * 70); display: grid; gap: calc(var(--u) * 34); }
.fit-yes, .fit-no { border-radius: calc(var(--u) * 50); padding: calc(var(--u) * 60) calc(var(--u) * 56); }
.fit-yes { background: var(--panel); }
.fit-no { background: transparent; border: 1.5px solid var(--line); }
.fit ul { list-style: none; margin: calc(var(--u) * 30) 0 0; padding: 0; display: grid; gap: calc(var(--u) * 18); }
.fit li { position: relative; padding-left: calc(var(--u) * 64); }
.fit li::before { content: ""; position: absolute; left: 0; top: .2em; width: calc(var(--u) * 40); height: calc(var(--u) * 40); min-width: 18px; min-height: 18px; border-radius: 50%;
  background: var(--plum) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.fit-no li::before { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12h10' fill='none' stroke='%235b4479' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 70% no-repeat; box-shadow: inset 0 0 0 1.5px var(--lilac-2); }

/* program */
.program { background: var(--field); }
.modules { list-style: none; counter-reset: m; margin: calc(var(--u) * 80) 0 0; padding: 0; position: relative; }
.modules::before { content: ""; position: absolute; left: calc(var(--u) * 37); top: calc(var(--u) * 40); bottom: calc(var(--u) * 40); width: 2px; background: linear-gradient(var(--lilac), rgba(199,178,220,.2)); }
.modules li { counter-increment: m; position: relative; padding: 0 0 calc(var(--u) * 64) calc(var(--u) * 130); }
.modules li::before { content: counter(m); position: absolute; left: 0; top: 0; width: calc(var(--u) * 76); height: calc(var(--u) * 76); min-width: 32px; min-height: 32px; border-radius: 50%; background: var(--plum); color: #fff; font-weight: 700; font-size: max(14px, calc(var(--u) * 32)); display: grid; place-items: center; }
.modules p { margin: calc(var(--u) * 14) 0 0; }
.numbers { margin: calc(var(--u) * 30) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: calc(var(--u) * 44); overflow: hidden; }
.numbers div { background: #fbf7fd; padding: calc(var(--u) * 40) calc(var(--u) * 36); }
.numbers dt { font-weight: 800; color: var(--ink); font-size: max(22px, calc(var(--u) * 54)); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.numbers dd { margin: calc(var(--u) * 4) 0 0; color: var(--muted); font-size: max(14px, calc(var(--u) * 32)); }

/* access */
.access { background: var(--ground); }
.access-grid { display: grid; gap: calc(var(--u) * 90); }
.phone { margin: 0 auto; width: min(320px, calc(var(--u) * 700)); border-radius: 36px; padding: 18px 14px 16px; background: #1f1730; box-shadow: 0 30px 60px rgba(43,26,73,.28); display: grid; gap: 12px; }
.phone-top { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 8px 10px; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; font-size: 15px; }
.phone-top span { font-size: 12px; color: #9ee0b4; }
.bubble { justify-self: start; max-width: 88%; background: #2f2545; color: #efe9f8; border-radius: 16px 16px 16px 4px; padding: 10px 13px; font-size: 14px; line-height: 1.45; }
.bubble.lesson { display: grid; gap: 4px; background: #3c2d5b; }
.bubble small { color: var(--lilac); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.bubble b { font-size: 15px; }
.bubble span { color: #cfc3e3; font-size: 13px; }
.phone-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone-keys span { text-align: center; padding: 9px; border-radius: 12px; background: #2a2140; color: #d8c8f1; font-size: 13px; }
.steps { list-style: none; counter-reset: s; margin: calc(var(--u) * 56) 0 0; padding: 0; display: grid; gap: calc(var(--u) * 30); }
.steps li { counter-increment: s; display: grid; grid-template-columns: auto 1fr; column-gap: calc(var(--u) * 34); align-items: start; }
.steps li::before { content: counter(s); grid-row: span 2; width: calc(var(--u) * 64); height: calc(var(--u) * 64); min-width: 30px; min-height: 30px; border-radius: 50%; background: var(--lilac-soft); color: var(--ink); font-weight: 700; display: grid; place-items: center; font-size: max(14px, calc(var(--u) * 30)); }
.steps b { color: var(--ink); font-size: max(17px, calc(var(--u) * 38)); }
.steps span { color: var(--muted); }
.access-note { margin: calc(var(--u) * 44) 0 0; padding-top: calc(var(--u) * 30); border-top: 1px solid var(--line); color: var(--muted); }

/* author: night ground, echoes hero */
.author { background: var(--night); color: #e7def3; }
.author h2 { color: #fff; }
.author p { color: #cfc5df; }
.author-grid { display: grid; gap: calc(var(--u) * 80); }
.author-fig { margin: 0; position: relative; border-radius: calc(var(--u) * 60); overflow: hidden; }
.author-fig img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 15%; }
.author-fig figcaption { position: absolute; left: calc(var(--u) * 34); bottom: calc(var(--u) * 34); padding: calc(var(--u) * 22) calc(var(--u) * 34); border-radius: 999px; background: rgba(236,229,248,.94); color: var(--ink-2); font-size: max(14px, calc(var(--u) * 30)); }
.author-fig figcaption b { color: var(--ink); }
.author-copy p { margin: calc(var(--u) * 28) 0 0; max-width: 62ch; }
.author .btn-inline { background: var(--lilac); color: var(--ink); box-shadow: none; }
.final .btn, .drawer .btn, .plan-pro .btn { box-shadow: none; }
.author .btn-inline:hover { background: #fff; }
.certs-title { margin: calc(var(--u) * 110) 0 calc(var(--u) * 40); color: #fff; }
.certs { list-style: none; margin: 0 calc(var(--u) * -62); padding: 0 calc(var(--u) * 62) calc(var(--u) * 10); display: flex; gap: calc(var(--u) * 28); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #5b4479 transparent; }
.certs li { flex: 0 0 auto; scroll-snap-align: start; }
.certs button { padding: 0; border: 0; background: #fff; border-radius: calc(var(--u) * 24); overflow: hidden; cursor: zoom-in; display: block; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .certs button:hover { transform: translateY(-3px); } }
.certs img { width: auto; height: max(150px, calc(var(--u) * 360)); }

/* reviews */
.reviews { background: var(--field); }
.quotes { list-style: none; margin: calc(var(--u) * 70) 0 0; padding: 0 calc(var(--u) * 62) calc(var(--u) * 10); display: flex; gap: calc(var(--u) * 30); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--lilac-2) transparent; }
.quotes li { flex: 0 0 min(84%, 420px); scroll-snap-align: center; background: #fff; border-radius: calc(var(--u) * 50); padding: calc(var(--u) * 60) calc(var(--u) * 56); display: flex; flex-direction: column; justify-content: space-between; gap: calc(var(--u) * 40); box-shadow: 0 calc(var(--u) * 10) calc(var(--u) * 30) rgba(60,35,100,.08); }
.quotes blockquote { margin: 0; font-size: max(16.5px, calc(var(--u) * 40)); line-height: 1.5; color: var(--ink); }
.who { margin: 0; color: var(--muted); }
.who b { color: var(--ink); font-weight: 700; }

/* pricing */
.pricing { background: var(--ground); }
.plans { margin-top: calc(var(--u) * 80); display: grid; gap: calc(var(--u) * 40); }
.plan { position: relative; border-radius: calc(var(--u) * 56); padding: calc(var(--u) * 70) calc(var(--u) * 60); background: var(--panel); display: flex; flex-direction: column; }
.plan h3 { font-size: max(22px, calc(var(--u) * 54)); letter-spacing: .02em; }
.plan-for { margin: calc(var(--u) * 10) 0 0; color: var(--muted); }
.price { margin: calc(var(--u) * 36) 0 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.price s { display: block; color: #6e5a8c; font-size: max(15px, calc(var(--u) * 34)); }
.price b { font-size: max(40px, calc(var(--u) * 104)); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.plan ul { list-style: none; margin: calc(var(--u) * 40) 0 0; padding: calc(var(--u) * 40) 0 0; border-top: 1px solid var(--line); display: grid; gap: calc(var(--u) * 16); }
.plan li { position: relative; padding-left: calc(var(--u) * 54); }
.plan li::before { content: ""; position: absolute; left: 0; top: .45em; width: calc(var(--u) * 24); height: calc(var(--u) * 14); min-width: 11px; min-height: 7px; border: solid var(--plum); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.plan .btn { width: 100%; height: auto; padding-block: calc(var(--u) * 30); margin-top: calc(var(--u) * 50); font-size: max(16px, calc(var(--u) * 36)); }
.plan > .btn:last-child { margin-top: auto; }
.plan ul:last-of-type { margin-bottom: calc(var(--u) * 50); }
.btn-ghost { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 2px var(--plum); }
.btn-ghost:hover { background: var(--plum); color: #fff; box-shadow: inset 0 0 0 2px var(--plum); }
.plan-pro { background: #3b2858; color: #efe7f9; box-shadow: 0 calc(var(--u) * 30) calc(var(--u) * 60) rgba(59,40,88,.3); }
.plan-pro h3, .plan-pro .price { color: #fff; }
.plan-pro .plan-for, .plan-pro li { color: #d9cdea; }
.plan-pro .price s { color: #c9bcdd; }
.plan-pro ul { border-color: rgba(255,255,255,.14); }
.plan-pro li::before { border-color: var(--lilac); }
.plan-pro .btn { background: var(--lilac); color: var(--ink); }
.plan-pro .btn:hover { background: #fff; }
.plan-flag { position: absolute; top: calc(var(--u) * -26); right: calc(var(--u) * 50); margin: 0; padding: calc(var(--u) * 12) calc(var(--u) * 30); border-radius: 999px; background: var(--lilac); color: var(--ink); font-weight: 700; font-size: max(13px, calc(var(--u) * 28)); }
.bonus-title { margin: calc(var(--u) * 44) 0 0; font-weight: 700; color: #fff; }
.plan .bonus { margin-top: calc(var(--u) * 18); padding-top: 0; border: 0; }
.plan .bonus li::before { border: 0; width: calc(var(--u) * 20); height: calc(var(--u) * 20); min-width: 9px; min-height: 9px; border-radius: 50%; background: var(--lilac); transform: none; top: .5em; }
.pricing-note { margin: calc(var(--u) * 50) 0 0; text-align: center; color: var(--muted); }

/* faq */
.faq { background: var(--field); }
.faq-list { margin-top: calc(var(--u) * 60); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: calc(var(--u) * 30); padding: calc(var(--u) * 44) 0; font-weight: 700; color: var(--ink); font-size: max(17px, calc(var(--u) * 40)); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: calc(var(--u) * 54); height: calc(var(--u) * 54); min-width: 26px; min-height: 26px; border-radius: 50%; background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%235b4479' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 55% no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { overflow: hidden; }
.faq details > div > :first-child { margin-top: 0; }
.faq details p, .faq details li { margin: 0 0 calc(var(--u) * 20); }
.faq details ul { margin: 0 0 calc(var(--u) * 44); padding-left: 1.1em; }
.faq details > div { padding-bottom: calc(var(--u) * 24); }

/* final */
.final { background: #3b2858; text-align: center; position: relative; }
.final h2 { color: #fff; }
.final p { color: #d9cdea; max-width: 46ch; margin: calc(var(--u) * 28) auto 0; }
.final .final-price { color: #fff; font-weight: 600; }
.final .final-price s { color: #c9bcdd; font-weight: 400; margin-right: .3em; }
.final .btn { background: var(--lilac); color: var(--ink); width: min(100%, calc(var(--u) * 755)); height: auto; padding-block: calc(var(--u) * 32); font-size: max(17px, calc(var(--u) * 38)); }
.final .btn:hover { background: #fff; }
.final .link { color: #d9cdea; border-color: rgba(217,205,234,.5); }
.final .link:hover { color: #fff; border-color: #fff; }

/* footer */
.foot { background: var(--night); color: #b3abc6; padding: calc(var(--u) * 110) 0 calc(var(--u) * 200); }
.foot-grid { display: grid; gap: calc(var(--u) * 60); }
.foot a { color: #d8c8f1; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-brand { display: inline-flex; align-items: center; gap: 14px; }
.foot-brand img { width: 52px; height: 52px; }
.foot-brand span { display: grid; letter-spacing: .14em; font-weight: 600; font-size: 15px; color: #fff; }
.foot-brand small { letter-spacing: .02em; font-weight: 400; color: #b3abc6; font-size: 13px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; }
.foot-copy { margin: 0; font-size: 13px; color: #8f87a3; }

/* sticky cta + drawer + dialog */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; display: flex; justify-content: center; align-items: center; min-height: 52px; border-radius: 999px; background: var(--plum); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 12px 30px rgba(43,26,73,.35); transform: translateY(160%); transition: transform .45s var(--ease); }
.sticky-cta.on { transform: none; }
.drawer { position: fixed; inset: 0; z-index: 40; background: rgba(28,22,44,.97); display: grid; align-content: center; justify-items: center; gap: 22px; padding: 80px 24px; }
.drawer[hidden] { display: none; }
.drawer a { color: #f1eaf9; font-size: 22px; font-weight: 600; text-decoration: none; }
.drawer a:hover { color: var(--lilac); }
.drawer .btn { width: auto; height: auto; padding: 16px 34px; margin-top: 18px; font-size: 18px; background: var(--lilac); color: var(--ink); }
.cert-dialog { border: 0; padding: 0; border-radius: 18px; max-width: min(92vw, 900px); background: #fff; }
.cert-dialog::backdrop { background: rgba(20,16,32,.82); }
.cert-dialog img { width: 100%; height: auto; }
.cert-close { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(43,26,73,.85); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cert-close svg { width: 22px; height: 22px; }

@media (max-width: 600px) {
  .facts { padding-left: 12px; grid-template-columns: 1fr 1fr 1.08fr; }
  .facts li { gap: 8px; }
  .facts li + li { padding-left: 10px; }
  .facts li + li::before { left: 0; }
  .well { width: 28px; height: 28px; }
  .well svg { width: 14px; height: 14px; }
}

/* ── motion ───────────────────────────────────────── */
/* hero entrance: one orchestrated rise, content is visible without JS */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.hero-panel > :not(.hero-wave) { animation: rise .7s var(--ease-out) both; }
.hero-panel > h1 { animation-delay: .05s; }
.hero-panel > .hero-sub { animation-delay: .12s; }
.hero-panel > .btn { animation-delay: .19s; }
.hero-panel > .link { animation-delay: .24s; }
.hero-panel > .facts { animation-delay: .3s; }

/* scroll reveal: fires once per block */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].in { opacity: 1; transform: none; }


/* ── desktop ─────────────────────────────────────── */
@media (min-width: 900px) {
  :root { --u: min(calc(100vw / 1024), 1.15px); }
  .wrap { max-width: 1180px; margin-inline: auto; padding-inline: 48px; }
  .pains { grid-template-columns: 1fr 1fr; max-width: calc(var(--u) * 900); }
  .what-grid, .access-grid, .author-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; display: grid; }
  .what-fig { margin: 0; }
  .effects { grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .fit-grid { grid-template-columns: 1.15fr 1fr; align-items: start; }
  .modules { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .modules::before { display: none; }
  .numbers { grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 24px; }
  .plan-pro { transform: translateY(-16px); }
  .faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .faq-wrap h2 { position: sticky; top: 40px; }
  .faq-list { margin-top: 0; }
  .quotes { padding-inline: max(48px, calc(50% - 542px)); }
  .quotes li { flex-basis: 380px; }
  .certs { margin-inline: 0; padding-inline: 0; }
  .sticky-cta { display: none; }
  .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; max-width: 1180px; }
  .foot-copy { grid-column: 1 / -1; }
  section h2 { font-size: clamp(34px, 3.3vw, 48px); }
  section h3 { font-size: 21px; }
  section p, section li, section dd { font-size: 17.5px; }
  .s2 h2 { font-size: calc(var(--u) * 62); }
  .s2-body { font-size: calc(var(--u) * 30); }
  .pains { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 16px; margin-top: 56px; }
  .pains li { padding: 24px 26px 24px 58px; border-radius: 24px; font-size: 17px; }
  .pains li::before { left: 26px; top: 32px; width: 12px; height: 12px; box-shadow: 0 0 0 5px rgba(199,178,220,.35); }
  .what, .why, .fit, .program, .access, .author, .reviews, .pricing, .faq, .final { padding-block: 120px; }
  .lead { margin-top: 20px; }
  .what-copy p { margin-top: 18px; }
  .what-points { margin-top: 36px; gap: 22px; } .what-points div { padding-top: 20px; }
  .what-points dt { font-size: 18px; }
  .effects { margin-top: 56px; row-gap: 44px; } .effects li { padding-left: 84px; } .effects li::before { width: 56px; height: 30px; }
  .effects p { margin-top: 8px; }
  .fit-grid { margin-top: 48px; gap: 24px; } .fit-yes, .fit-no { padding: 40px; border-radius: 32px; }
  .fit ul { margin-top: 20px; gap: 12px; } .fit li { padding-left: 38px; } .fit li::before { width: 22px; height: 22px; }
  .modules { margin-top: 56px; } .modules li { padding: 0 0 44px 64px; } .modules li::before { width: 42px; height: 42px; font-size: 16px; }
  .modules p { margin-top: 8px; }
  .numbers { border-radius: 28px; } .numbers div { padding: 28px 30px; } .numbers dt { font-size: 32px; } .numbers dd { font-size: 15px; }
  .steps { margin-top: 36px; gap: 18px; } .steps li { column-gap: 18px; } .steps li::before { width: 34px; height: 34px; font-size: 15px; }
  .steps b { font-size: 18px; }
  .access-note { margin-top: 28px; padding-top: 20px; }
  .author-copy h2 { font-size: 40px; }
  .author-copy p { margin-top: 18px; }
  .author-fig { border-radius: 36px; } .author-fig figcaption { left: 22px; bottom: 22px; padding: 10px 18px; font-size: 15px; }
  .btn-inline { padding: 18px 36px; font-size: 17px; margin-top: 28px; }
  .certs-title { margin: 80px 0 24px; }
  .certs img { height: 220px; } .certs button { border-radius: 14px; }
  .quotes { margin-top: 48px; gap: 20px; } .quotes li { padding: 36px; border-radius: 28px; gap: 24px; }
  .quotes blockquote { font-size: 18px; }
  .plans { margin-top: 64px; } .plan { padding: 40px 34px; border-radius: 32px; }
  .plan h3 { font-size: 26px; } .plan-for { margin-top: 6px; }
  .price { margin-top: 24px; } .price s { font-size: 16px; } .price b { font-size: 56px; }
  .plan ul { margin-top: 24px; padding-top: 24px; gap: 10px; } .plan li { padding-left: 28px; font-size: 16px; }
  .plan li::before { width: 12px; height: 7px; }
  .plan .btn { padding-block: 16px; font-size: 17px; margin-top: 28px; }
  .plan ul:last-of-type { margin-bottom: 28px; }
  .plan-flag { top: -15px; right: 28px; padding: 7px 16px; font-size: 14px; }
  .bonus-title { margin-top: 26px; } .plan .bonus { margin-top: 10px; }
  .pricing-note { margin-top: 36px; }
  .faq summary { padding: 24px 0; font-size: 19px; } .faq summary::after { width: 32px; height: 32px; }
  .faq details p, .faq details li { margin-bottom: 12px; }
  .final p { margin-top: 18px; }
  .final .btn { width: 460px; padding-block: 20px; font-size: 18px; margin-top: 32px; }
  .final .link { margin-top: 22px; font-size: 16px; }
  .foot { padding: 72px 0 56px; } .foot-grid { gap: 32px; }
}
.btn-inline svg, .plan .btn svg, .final .btn svg { width: max(18px, calc(var(--u) * 34)); height: max(18px, calc(var(--u) * 34)); }
@media (min-width: 900px) { .btn-inline svg, .plan .btn svg, .final .btn svg { width: 20px; height: 20px; } }

/* ── desktop first viewport: same parts, side by side ───────── */
@media (min-width: 1000px), (orientation: landscape) and (min-width: 560px) and (max-height: 600px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(640px, 100svh, 900px); }
  .hero-photo { order: 2; height: auto; min-height: 100%; }
  .hero-photo img { position: absolute; inset: 0; object-position: 52% 22%; }
  .hero-panel {
    order: 1; margin: 0; border-radius: 0; text-align: left;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 150px 72px 56px max(48px, calc(50vw - 590px));
  }
  .hero-wave {
    top: 0; left: 100%; right: auto; width: 120px; height: 200%; z-index: 3;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 1024' preserveAspectRatio='none'%3E%3Cpath d='M60 0C28 64 28 192 60 256S92 448 60 512 28 704 60 768 92 960 60 1024H0V0z' fill='%23ece5f8'/%3E%3C/svg%3E") 0 0 / 100% 50% repeat-y;
    animation: wave-drift-y 30s linear infinite;
  }
  .hero-wave i { inset: 0 auto 0 0; width: 140px; height: auto; transform: translateY(-12.5%); animation: wave-drift-y 44s linear infinite reverse; }
  @keyframes wave-drift-y { from { transform: translateY(0); } to { transform: translateY(-50%); } }
  .hero-panel h1 { margin: 0; max-width: 12ch; font-size: clamp(48px, 4.6vw, 72px); text-wrap: balance; }
  .hero-sub { font-size: 20px; margin-top: 18px; }
  .hero-panel .btn { width: auto; min-width: 340px; height: 64px; padding-inline: 40px; margin: 34px 0 0; font-size: 19px; }
  .hero-panel .btn svg { width: 22px; height: 22px; }
  .hero-panel .link { margin-top: 22px; font-size: 16px; gap: 12px; padding-bottom: 6px; border-bottom-width: 2px; }
  .hero-panel .link svg { width: 18px; height: 18px; }
  .facts { margin: 40px 0 0 !important; width: 100%; max-width: 560px; height: 92px; padding-left: 22px; grid-template-columns: 1fr 1fr 1.1fr; }
  .facts li, .facts b { font-size: 15px; }
  .facts li { gap: 12px; }
  .facts li + li { padding-left: 16px; }
  .facts li + li::before { left: 0; height: 52px; margin-top: -26px; }
  .well { width: 42px; height: 42px; } .well svg { width: 20px; height: 20px; }
  /* header over the split */
  .menu-btn { right: max(32px, calc(50vw - 600px)); top: 34px; width: 56px; height: 56px; gap: 5px; }
  .menu-btn span { width: 22px; height: 2px; } .menu-btn span:nth-child(2) { width: 17px; } .menu-btn span:nth-child(3) { width: 12px; }
  /* photo notes */
  /* section 2 follows at desktop scale */
  .s2 { padding: 110px max(48px, calc(50vw - 590px)) 120px; }
  .s2 h2 { font-size: clamp(34px, 3.3vw, 48px); }
  .s2-body { font-size: 19px; max-width: 34em; }
  .leaf { left: auto; right: max(150px, calc(50vw - 430px)); top: 70px; width: 190px; height: 297px; }
}

/* ── documents (offer, privacy, consent) ───────────── */
body.doc { background: var(--ground); }
.doc-top { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px max(20px, calc(50vw - 400px)); background: rgba(236,229,248,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.doc-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.doc-brand .brand-mark { background: var(--plum); color: #fff; }
.doc-brand .brand-text small { color: var(--muted); }
.doc-cta { width: auto; height: 44px; min-height: 44px; margin: 0; padding: 0 20px; font-size: 15px; box-shadow: none; }
.doc-page { max-width: 760px; margin: 0 auto; padding: 40px 20px 96px; }
.doc-page h1 { margin: 24px 0 28px; font-size: clamp(26px, 4.2vw, 40px); line-height: 1.12; font-weight: 800; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.doc-page h2 { margin: 44px 0 12px; font-size: 25px; font-weight: 700; color: var(--ink); }
.doc-page h3 { margin: 26px 0 8px; font-size: 20px; font-weight: 700; color: var(--ink); }
.doc-page p, .doc-page li { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 12px; max-width: 70ch; }
.doc-page ul { padding-left: 1.2em; margin: 0 0 14px; }
.doc-page a { color: var(--plum); text-underline-offset: 3px; }
.doc-page strong { color: var(--ink); }
.doc-page .doc-subtitle { color: var(--muted); font-size: 14px; }
.doc-back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted) !important; text-decoration: none; padding: 8px 0; }
.doc-back svg { width: 18px; height: 18px; }
.doc-back:hover { color: var(--plum) !important; }
.requisites { margin-top: 36px; padding: 24px 28px; border-radius: 24px; background: var(--panel); }
.requisites p { margin-bottom: 6px; font-size: 15px; }
body.doc .foot { padding-bottom: 56px; }

/* ── coming soon ─────────────────────────────────── */
body.soon { background: var(--panel); }
.soon-main { min-height: 100svh; display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.soon-photo { position: relative; height: 52svh; background: var(--night); overflow: hidden; }
.soon-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.soon-panel { position: relative; background: var(--panel); padding: 28px 24px 40px; text-align: center; }
.soon-panel .hero-wave { top: -58px; height: 60px; }
.soon-brand { margin: 0; font-size: 13px; letter-spacing: .3em; color: var(--muted); font-weight: 600; }
.soon-panel h1 { margin: 14px auto 0; max-width: 14ch; font-size: clamp(30px, 7vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.soon-lead { margin: 16px auto 0; max-width: 40ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.soon-author { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.soon-author b { color: var(--ink); }
.soon-soc { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.soon-soc a { padding: 12px 20px; border-radius: 999px; background: #fff; color: var(--plum); font-weight: 600; text-decoration: none; font-size: 15px; transition: background .2s var(--ease-out), color .2s var(--ease-out); }
.soon-soc a:hover { background: var(--plum); color: #fff; }
.soon-copy { margin: 28px 0 0; font-size: 13px; color: var(--muted); }
@media (min-width: 1000px), (orientation: landscape) and (min-width: 560px) and (max-height: 600px) {
  .soon-main { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .soon-photo { order: 2; height: auto; }
  .soon-panel { order: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 64px; }
  .soon-panel .hero-wave { top: 0; left: 100%; right: auto; width: 120px; height: 200%; z-index: 3;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 1024' preserveAspectRatio='none'%3E%3Cpath d='M60 0C28 64 28 192 60 256S92 448 60 512 28 704 60 768 92 960 60 1024H0V0z' fill='%23ece5f8'/%3E%3C/svg%3E") 0 0 / 100% 50% repeat-y;
    animation: wave-drift-y 30s linear infinite; }
}
.drawer a.btn:hover { color: var(--ink); background: #fff; }

/* ── audit pass: logo, photo proof, icon system, plans, sizes ── */
.brand { position: absolute; left: max(16px, calc(50% - var(--u) * 452)); top: max(14px, calc(var(--u) * 40)); display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-mark { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--lilac); color: var(--ink); display: grid; place-items: center; }
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.brand-text small { font-size: 12px; font-weight: 500; color: var(--night-ink); }
.menu-btn { width: max(44px, calc(var(--u) * 92)); height: max(44px, calc(var(--u) * 92)); top: max(12px, calc(var(--u) * 38)); right: max(16px, calc(50% - var(--u) * 466)); }
.menu-btn span { width: max(18px, calc(var(--u) * 36)); height: 2px; }
.menu-btn span:nth-child(2) { width: max(14px, calc(var(--u) * 28)); }
.menu-btn span:nth-child(3) { width: max(10px, calc(var(--u) * 20)); }

.ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--lilac-soft); color: var(--ink-2); display: inline-grid; place-items: center; }
.ico svg { width: 22px; height: 22px; }

.pains li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px 18px; }
.pains li::before { content: none; }

.effects li { padding-left: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; }
.effects li::before { content: none; }
.effects .ico { grid-row: span 2; background: rgba(199, 178, 220, .16); color: var(--lilac); }
.effects h3 { align-self: center; }

.what-points div { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; }
.what-points .ico { grid-row: span 2; }
.what-points dt { align-self: center; }

.numbers div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.numbers .ico { grid-row: span 2; width: 40px; height: 40px; }
.numbers .ico svg { width: 20px; height: 20px; }

.quotes li { position: relative; justify-content: flex-start; }
.q-mark { width: 30px; height: 30px; color: var(--lilac); }
.quotes .who { margin-top: auto; }

.plans-shared, .plan-safety { display: flex; align-items: center; gap: 14px; margin: calc(var(--u) * 40) 0 0; padding: 14px 18px; border-radius: 20px; background: var(--panel); color: var(--ink-2); }
.plans-shared .ico { background: var(--plum); color: #fff; width: 32px; height: 32px; }
.plans-shared .ico svg { width: 18px; height: 18px; }
.plan-safety { background: transparent; border: 1.5px solid var(--line); justify-content: center; }
.plan-safety a { color: var(--plum); font-weight: 600; }
.plan li.is-no { color: var(--muted); }
.plan li.is-no::before { border: 0; transform: none; width: 12px; height: 2px; min-height: 2px; top: .75em; background: var(--muted); }
.fit-no a { color: var(--plum); font-weight: 600; }

/* tablet: stop the mobile frame from ballooning */
@media (min-width: 600px) and (max-width: 999px) {
  :root { --u: min(calc(100vw / 1024), .62px); }
  .wrap { max-width: 680px; margin-inline: auto; }
  .s2 { padding-inline: max(24px, calc(50% - 340px)); }
}

@media (min-width: 1000px), (orientation: landscape) and (min-width: 560px) and (max-height: 600px) {
  .brand { left: max(48px, calc(50vw - 590px)); top: 36px; color: var(--ink); }
  .brand-mark { background: var(--plum); color: #fff; }
  .brand-text small { color: var(--muted); }
  .menu-btn { width: 56px; height: 56px; top: 34px; right: max(32px, calc(50vw - 600px)); }
  .link-s2 { font-size: 16px; gap: 12px; padding-bottom: 6px; border-bottom-width: 2px; }
  .link-s2 svg { width: 18px; height: 18px; }
  .plan .bonus li::before { width: 8px; height: 8px; }
  .plan-for { min-height: calc(2 * 1.55em); }
  .pains li { padding: 18px 20px; }
  .pains li::before { content: none; }
  .effects li { padding-left: 0; }
  .plans-shared, .plan-safety { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-wave, .hero-wave i, .soon-panel .hero-wave { animation: none !important; }
  .hero-panel > :not(.hero-wave) { animation-name: fade-only; }
  @keyframes fade-only { from { opacity: 0; } }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .sticky-cta { transition: opacity .3s ease; }
}

/* ── hero v3: generated studio portrait on a light lavender backdrop ── */
.hero-photo { height: calc(var(--u) * 1230); background: #b7addb; }
.hero-photo img { object-position: 50% 0; }
.brand { color: var(--ink); }
.brand-mark { background: var(--plum); color: #fff; }
.brand-text small { color: var(--ink-2); }
.hero-author { display: inline-block; margin: calc(var(--u) * 26) 0 0; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 13.5px; line-height: 1.3; }
.hero-author b { color: var(--ink); font-weight: 700; }
@media (max-width: 599px) { .brand-text small { display: none; } }
@media (min-width: 1000px), (orientation: landscape) and (min-width: 560px) and (max-height: 600px) {
  .hero-photo { height: auto; }
  .hero-photo img { object-position: 50% 30%; }
  .hero-author { margin-top: 18px; font-size: 14px; }
}
@media (min-width: 1000px), (orientation: landscape) and (min-width: 560px) and (max-height: 600px) {
  .menu-btn span { width: 22px; }
  .menu-btn span:nth-child(2) { width: 17px; }
  .menu-btn span:nth-child(3) { width: 12px; }
}

.what-fig img { aspect-ratio: 1/1; }
.author-fig img { object-position: 50% 0; }
.soon-photo { background: #b7addb; }
.soon-photo img { object-position: 50% 22%; }
@media (min-width: 900px) { .numbers dt { font-size: 26px; white-space: nowrap; } .numbers div { padding: 26px 22px; } }

/* ── Telegram block: a live-looking bot chat ───────── */
.access { background: var(--panel); }
.tg { margin: 0 auto; width: min(100%, 320px); border-radius: 40px; padding: 10px; background: #2b1a49; box-shadow: 0 30px 60px rgba(43,26,73,.3); display: grid; grid-template-rows: auto 1fr auto; }
.tg-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: #fff; border-radius: 30px 30px 0 0; }
.tg-back { width: 20px; height: 20px; color: var(--plum); transform: scaleX(-1); }
.tg-ava { width: 36px; height: 36px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; }
.tg-ava svg { width: 20px; height: 20px; }
.tg-name { display: grid; line-height: 1.2; }
.tg-name b { font-size: 15px; color: var(--ink); }
.tg-name small { font-size: 12px; color: var(--muted); }
.tg-chat { background: #ded3f1; padding: 14px 12px; display: grid; gap: 8px; align-content: start; min-height: 400px; }
.msg { margin: 0; justify-self: start; max-width: 86%; background: #fff; color: var(--ink); border-radius: 16px 16px 16px 5px; padding: 9px 12px; font-size: 14px; line-height: 1.4; box-shadow: 0 1px 1px rgba(43,26,73,.08); }
.msg.out { justify-self: end; background: var(--plum); color: #fff; border-radius: 16px 16px 5px 16px; }
.msg.lesson { display: grid; gap: 3px; padding: 6px 6px 10px; max-width: 92%; }
.msg.lesson small, .msg.lesson b, .msg.lesson > span:last-child { padding-inline: 6px; }
.msg.lesson small { margin-top: 6px; color: var(--plum); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.msg.lesson b { font-size: 15px; }
.msg.lesson > span:last-child { color: var(--ink-2); font-size: 13px; }
.tg-video { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; }
.tg-video img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tg-play { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(43,26,73,.72); color: #fff; display: grid; place-items: center; }
.tg-play svg { width: 22px; height: 22px; margin-left: 2px; }
.msg.keys { background: none; box-shadow: none; padding: 0; max-width: 92%; width: 92%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.msg.keys span { text-align: center; padding: 9px; border-radius: 10px; background: rgba(43,26,73,.18); color: var(--ink); font-size: 13px; font-weight: 600; }
.tg-input { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: #fff; border-radius: 0 0 30px 30px; color: #6e5a8c; font-size: 14px; }
.tg-input svg { width: 22px; height: 22px; color: var(--plum); }
.js .tg .msg { opacity: 0; transform: translateY(10px) scale(.97); transform-origin: 0 100%; transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); transition-delay: calc(var(--m) * 550ms + 350ms); }
.js .tg .msg.out { transform-origin: 100% 100%; }
.js .tg.in .msg { opacity: 1; transform: none; }

.steps { position: relative; gap: 0; }
.steps li { grid-template-columns: auto 1fr; column-gap: 16px; padding-bottom: 22px; position: relative; }
.steps li::before { content: none; }
.steps .ico { grid-row: span 2; background: #fff; position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: rgba(91,68,121,.22); }
.steps b { align-self: end; }
.perks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.perks li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 14px; line-height: 1.2; }
.perks svg { width: 18px; height: 18px; color: var(--plum); flex: none; }

/* why: a 2x2 field of cards instead of a plain list */
.effects { gap: 12px; }
.effects li { padding: 22px 20px; border-radius: 24px; background: rgba(255,255,255,.07); }
.effects li:nth-child(1), .effects li:nth-child(4) { background: rgba(199,178,220,.16); }
.effects .ico { width: 52px; height: 52px; }
.effects .ico svg { width: 26px; height: 26px; }

/* program: numbered module cards */
.modules::before { content: none; }
.modules { display: grid; gap: 12px; }
.modules li { padding: 22px 20px 22px 76px; border-radius: 24px; background: #fbf7fd; }
.modules li::before { left: 20px; top: 22px; width: 40px; height: 40px; min-width: 0; min-height: 0; font-size: 17px; }

@media (min-width: 900px) {
  .access-grid { grid-template-columns: 380px 1fr; gap: 88px; }
  .tg { width: 340px; }
  .effects { column-gap: 16px; row-gap: 16px; }
  .effects li { padding: 30px 28px; }
  .modules { gap: 16px; }
  .modules li { padding: 30px 28px 30px 88px; }
  .modules li::before { left: 28px; top: 30px; width: 42px; height: 42px; }
  .steps li { padding-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) { .js .tg .msg { opacity: 1; transform: none; transition: none; } }

/* ── adaptive pass: phones in landscape, tablets, tiny screens ── */
@media (orientation: landscape) and (min-width: 560px) and (max-height: 600px) {
  .hero { min-height: 100svh; }
  .hero-panel { padding: 70px 40px 22px max(24px, env(safe-area-inset-left)); }
  .hero-panel h1 { font-size: clamp(26px, 4.2vw, 40px); max-width: 13ch; }
  .hero-sub { font-size: 15px; margin-top: 8px; }
  .hero-author { margin-top: 10px; font-size: 12.5px; padding: 5px 12px; }
  .hero-panel .btn { min-width: 0; height: 48px; padding-inline: 28px; margin-top: 14px; font-size: 16px; }
  .hero-panel .link { margin-top: 8px; font-size: 14px; }
  .facts { display: none; }
  .brand { left: max(24px, env(safe-area-inset-left)); top: 14px; }
  .brand-text small { display: none; }
  .menu-btn { width: 44px; height: 44px; top: 12px; right: max(16px, env(safe-area-inset-right)); }
  .hero-photo img { object-position: 50% 28%; }
  .sticky-cta { display: flex; max-width: 360px; margin-inline: auto; }
}
@media (orientation: portrait) and (min-width: 600px) and (max-width: 999px) {
  .hero-photo { height: min(calc(var(--u) * 1230), 52svh); }
  .hero-photo img { object-position: 50% 22%; }
}
.numbers { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (min-width: 900px) { .numbers dt { white-space: normal; } }
@media (min-width: 1100px) { .numbers { grid-template-columns: repeat(4, 1fr); } .numbers dt { white-space: nowrap; } }
.hero-panel .btn { font-size: max(15px, calc(var(--u) * 38)); }
.link { position: relative; }
.link::before { content: ""; position: absolute; inset: -11px -6px; }
.foot nav a { display: inline-block; padding-block: 10px; }
.foot nav { gap: 0 22px; }
.brand { min-height: 44px; }
@media (orientation: landscape) and (min-width: 560px) and (max-height: 600px) { .hero-wave i { display: none; } }
@media (max-width: 999px) { .brand-text small { display: none; } }
@media (min-width: 1000px) and (max-width: 1199px) {
  .facts { height: auto; padding: 14px 16px; border-radius: 24px; }
  .facts .well { display: none; }
  .facts li, .facts b { font-size: 14.5px; }
  .facts li + li { padding-left: 14px; }
}

/* ── type system: Alegreya display, Commissioner text ── */
h1, h2, .plan h3, .price b, .numbers dt, .brand-text b, .doc-page h1, .doc-page h2, .soon-panel h1, .faq summary, .tg-name b {
  font-family: var(--display); letter-spacing: -.005em;
}
h1, h2 { font-weight: 700; }
.hero-panel h1 { font-weight: 700; line-height: 1.02; font-size: calc(var(--u) * 92); }
.hero-panel h1 em { font-style: italic; font-weight: 500; color: var(--plum); }
section h2 { font-size: max(30px, calc(var(--u) * 68)); line-height: 1.06; }
.s2 h2 { font-size: max(30px, calc(var(--u) * 68)); }
.plan h3 { font-weight: 700; letter-spacing: .03em; }
.price b { font-weight: 700; letter-spacing: -.01em; }
.numbers dt { font-weight: 700; }
.brand-text b { font-size: 21px; font-weight: 700; }
.faq summary { font-weight: 600; font-size: max(18.5px, calc(var(--u) * 42)); }
.effects h3, .modules h3, section h3 { font-family: var(--sans); font-weight: 650; }
.btn, .link, .hero-author, .facts, .sticky-cta { font-family: var(--sans); }
.btn { font-weight: 600; }
@media (min-width: 1000px), (orientation: landscape) and (min-width: 560px) and (max-height: 600px) {
  .hero-panel h1 { font-size: clamp(54px, 5.2vw, 82px); max-width: 11ch; }
  section h2, .s2 h2 { font-size: clamp(38px, 3.6vw, 54px); }
  .author-copy h2 { font-size: 44px; }
  .faq summary { font-size: 21px; }
}
@media (orientation: landscape) and (min-width: 560px) and (max-height: 600px) {
  .hero-panel h1 { font-size: clamp(30px, 4.8vw, 44px); }
}

.drawer-close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(236,229,248,.14); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s var(--ease-out); }
.drawer-close svg { width: 24px; height: 24px; }
.drawer-close:hover { background: rgba(236,229,248,.26); }
.drawer-close:active { transform: scale(.96); }

.btn-inline { font-size: max(16px, calc(var(--u) * 36)); }
@media (min-width: 900px) { .btn-inline { font-size: 17px; padding: 18px 36px; } }
.doc-cta { font-size: 15px; }
@media (min-width: 1000px) { .hero-panel .btn { font-size: 19px; } }
@media (orientation: landscape) and (min-width: 560px) and (max-height: 600px) { .hero-panel .btn { font-size: 16px; } }
@media (min-width: 600px) and (max-width: 999px) {
  .btn-inline, .plan .btn { font-size: 17px; padding-block: 16px; }
  .final .btn { font-size: 18px; padding-block: 18px; }
  .hero-panel .btn { font-size: 18px; }
}
@media (orientation: landscape) and (min-width: 560px) and (max-height: 600px) { .hero-panel .btn { font-size: 16px; } }
/* wave: one solid, even layer only (the translucent second layer drifted out of phase and read as a flickering ghost) */
.hero-wave i { display: none !important; }
