/* AstroReport v2 «обсерватория»: тёмные чернила, золото-фольга, книжная типографика. Всё своё, без внешних запросов. */
/* знаки: планеты и зодиак (Noto Sans Symbols), остальное в astro-glyphs-2 (tools/build_glyph_font.py). unicode-range у обоих:
   шрифт стоит запасным во всех семействах текста и подгружается только там, где такой знак есть */
@font-face { font-family: "AstroGlyphs"; src: url("/static/fonts/astro-glyphs-1.woff2") format("woff2"); font-display: block;
  unicode-range: U+260A-260D, U+263D, U+263F-2653, U+26B7-26B9; }
@font-face { font-family: "AstroGlyphs"; src: url("/static/fonts/astro-glyphs-2.woff2") format("woff2"); font-display: block;
  unicode-range: U+25A1, U+25B3, U+25C6, U+2605, U+2609, U+2726, U+2B61, U+2B6F, U+2B71; }
/* текстовые шрифты в двух файлах: основной набор и -ext (Latin Extended, остальная кириллица, вьетнамский), который
   браузер качает только при таких буквах на странице (tools/build_text_fonts.py печатает оба unicode-range) */
@font-face { font-family: "Inter"; src: url("/static/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2000-202A, U+202F-2055, U+2057, U+205F-2060, U+2063, U+20AC, U+20B8, U+20BD, U+2116, U+2122, U+2160-216F, U+2190-2193, U+2212; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-0130, U+0132-0151, U+0154-024F, U+0259, U+0460-0479, U+0480-048F, U+0492-04AF, U+04B2-04FF, U+0510-0513, U+051A-051D, U+0524-0529, U+052E-052F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20AF, U+20B1-20B5, U+20B9-20BA, U+20BC, U+20BE-20BF, U+2248, U+2264-2265; }
@font-face { font-family: "Cormorant"; src: url("/static/fonts/cormorant.woff2") format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2000-202A, U+202F-2055, U+2057, U+205F-2060, U+2063, U+20AC, U+20B8, U+20BD, U+2116, U+2122, U+2160-216F, U+2190-2193, U+2212; }
@font-face { font-family: "Cormorant"; src: url("/static/fonts/cormorant-ext.woff2") format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0100-0130, U+0132-0151, U+0154-024F, U+0259, U+0460-0479, U+0480-048F, U+0492-04AF, U+04B2-04FF, U+0510-0513, U+051A-051D, U+0524-0529, U+052E-052F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20AF, U+20B1-20B5, U+20B9-20BA, U+20BC, U+20BE-20BF, U+2248, U+2264-2265; }
@font-face { font-family: "Cormorant"; src: url("/static/fonts/cormorant-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap;
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2000-202A, U+202F-2055, U+2057, U+205F-2060, U+2063, U+20AC, U+20B8, U+20BD, U+2116, U+2122, U+2160-216F, U+2190-2193, U+2212; }
@font-face { font-family: "Cormorant"; src: url("/static/fonts/cormorant-italic-ext.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap;
  unicode-range: U+0100-0130, U+0132-0151, U+0154-024F, U+0259, U+0460-0479, U+0480-048F, U+0492-04AF, U+04B2-04FF, U+0510-0513, U+051A-051D, U+0524-0529, U+052E-052F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20AF, U+20B1-20B5, U+20B9-20BA, U+20BC, U+20BE-20BF, U+2248, U+2264-2265; }
@font-face { font-family: "EB Garamond"; src: url("/static/fonts/garamond.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2000-202A, U+202F-2055, U+2057, U+205F-2060, U+2063, U+20AC, U+20B8, U+20BD, U+2116, U+2122, U+2160-216F, U+2190-2193, U+2212; }
@font-face { font-family: "EB Garamond"; src: url("/static/fonts/garamond-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0100-0130, U+0132-0151, U+0154-024F, U+0259, U+0460-0479, U+0480-048F, U+0492-04AF, U+04B2-04FF, U+0510-0513, U+051A-051D, U+0524-0529, U+052E-052F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20AF, U+20B1-20B5, U+20B9-20BA, U+20BC, U+20BE-20BF, U+2248, U+2264-2265; }
@font-face { font-family: "EB Garamond"; src: url("/static/fonts/garamond-italic.woff2") format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap;
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2000-202A, U+202F-2055, U+2057, U+205F-2060, U+2063, U+20AC, U+20B8, U+20BD, U+2116, U+2122, U+2160-216F, U+2190-2193, U+2212; }
@font-face { font-family: "EB Garamond"; src: url("/static/fonts/garamond-italic-ext.woff2") format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap;
  unicode-range: U+0100-0130, U+0132-0151, U+0154-024F, U+0259, U+0460-0479, U+0480-048F, U+0492-04AF, U+04B2-04FF, U+0510-0513, U+051A-051D, U+0524-0529, U+052E-052F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20AF, U+20B1-20B5, U+20B9-20BA, U+20BC, U+20BE-20BF, U+2248, U+2264-2265; }

:root {
  --ink: #07080f; --ink2: #0c0e1d; --ink3: #14172e;
  --gold: #c9a45c; --gold2: #ecd290; --gold3: #9c7a36;
  --foil: linear-gradient(115deg, #8a6a2f 0%, #e9cf8f 26%, #b8913f 46%, #f6e3aa 64%, #a98538 86%, #d9b96f 100%);
  --ivory: #efe6d2; --text: #e2dac8; --muted: #a8a2bb; --dim: #8a85a5; --dim2: #948fad;   /* контраст мелкого текста ≥ 4,5:1 на всех тёмных фонах (было #6f6a88: 3,4-3,9) */
  --hair: rgba(201, 164, 92, .30); --hair2: rgba(239, 230, 210, .09); --hair3: rgba(201, 164, 92, .14);
  --display: "Cormorant", "Cormorant Garamond", "AstroGlyphs", Georgia, serif;
  --serif: "EB Garamond", "AstroGlyphs", Georgia, "Times New Roman", serif;
  --sans: "Inter", "AstroGlyphs", -apple-system, "Segoe UI", Roboto, sans-serif;
  --glyph: "AstroGlyphs", "Inter", "Segoe UI Symbol", sans-serif;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0l1.6 7.2L18 4.8l-4.4 5.2L20 10l-6.4 1.6 4.4 5.6-6.4-2.4L10 20l-1.6-5.2L2 17.2l4.4-5.6L0 10l6.4-1.6L2 3.2l6.4 2.4z' fill='%23d9b96f'/%3E%3C/svg%3E");
  --diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0l5 5-5 5-5-5z' fill='%23c9a45c'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: transparent; min-height: 100vh;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    url("/static/img/stars1.svg") center / cover no-repeat,
    radial-gradient(70vw 50vw at 88% -12%, rgba(126, 104, 230, .20), transparent 62%),
    radial-gradient(60vw 45vw at -12% 28%, rgba(201, 164, 92, .09), transparent 60%),
    radial-gradient(80vw 60vw at 50% 118%, rgba(70, 56, 170, .20), transparent 62%),
    radial-gradient(120vw 90vh at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(180deg, #07080f 0%, #0b0c1d 55%, #07080f 100%); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .9;
  background:
    url("/static/img/stars2.svg") center / cover no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
  animation: twinkle 7s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }
/* «уменьшение движения»: одной длительности мало: бесконечная анимация с периодом 0,01 мс продолжает идти и дёргается на
   каждом кадре, поэтому число повторов = 1, а вращения, бегущая строка, мерцания и пульс выключены поимённо (ниже, в конце файла) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
::selection { background: rgba(201, 164, 92, .35); color: #fff; }
a { color: var(--gold2); text-decoration: none; }
a:hover { color: #fff3cf; }
img, svg { max-width: 100%; }
.g, .gl { font-family: var(--glyph); font-variant-emoji: text; }
.wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
.narrow { width: min(780px, 100% - 48px); margin: 0 auto; }
.center { text-align: center; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }

/* ---------------------------------------------------------------- типографика */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.005em; margin: 0 0 .45em; color: var(--ivory); }
h1 { font-size: clamp(46px, 6.6vw, 92px); font-weight: 500; }
/* узкие экраны (320-360px): длинные слова (Geburtshoroskop, Kompatibilität) переносятся по правилам языка страницы, а не распирают колонку */
@media (max-width: 360px) { h1, h2, h3, .kicker, .btn { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; } }  /* шире слово влезает целиком, Safari иначе рвёт «Geburtshoro-skop» */
/* переносим только длинные слова: короткое («Geschenk» в кнопке) раньше рвалось как «GE-SCHENK», хотя целиком помещалось строкой
   ниже. Chrome и Firefox понимают hyphenate-limit-chars (слово от 12 букв, по 4 с каждой стороны), Safari свои два свойства */
@media (max-width: 360px) { .kicker, .btn { hyphenate-limit-chars: 12 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; } }
h2 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 500; }
h3 { font-size: 28px; font-weight: 600; }
p { margin: 0 0 1em; }
.foil { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
em.foil, .it { font-style: italic; }
.serif { font-family: var(--serif); }
.lead { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--muted); max-width: 640px; }
.kicker { font: 600 11.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 14px; }
.kicker.c { display: flex; justify-content: center; }
.kicker.c::before, .kicker.c::after { content: ""; width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.kicker.c::after { transform: scaleX(-1); }
.orn { display: flex; align-items: center; gap: 16px; margin: 0 auto; max-width: 360px; }
.orn::before, .orn::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--hair)); }
.orn::after { transform: scaleX(-1); }
.orn i { width: 14px; height: 14px; background: var(--star) center / contain no-repeat; }
.roman { font-family: var(--display); font-style: italic; font-weight: 500; }

/* ---------------------------------------------------------------- кнопки */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0;
  cursor: pointer; text-decoration: none !important; font: 600 13px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  text-align: center;        /* надпись в две строки (длинные слова на узком экране): строки не слипаются и стоят по центру */
  height: 56px; padding: 0 34px; border-radius: 2px; color: #1b1405; background: var(--foil); background-size: 160% 100%;
  box-shadow: 0 14px 44px rgba(201, 164, 92, .22), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .25);
  transition: transform .2s ease, box-shadow .2s ease, background-position .6s ease; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transition: left .7s ease; }
.btn:hover { transform: translateY(-1px); color: #1b1405; background-position: 100% 0; box-shadow: 0 18px 54px rgba(201, 164, 92, .32),
  inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn:hover::after { left: 120%; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.btn.big { height: 62px; padding: 0 42px; font-size: 13.5px; }
.btn.ghost { background: rgba(7, 8, 15, .3); color: var(--ivory); box-shadow: inset 0 0 0 1px var(--hair); }
.btn.ghost::after { display: none; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); background: rgba(201, 164, 92, .07); color: #fff; }
.btn.wide { width: 100%; }
.btn.small { height: 46px; padding: 0 22px; font-size: 12px; }
.btn .arr { font-family: var(--serif); font-size: 18px; letter-spacing: 0; text-transform: none; margin-top: -2px; }
.linkbtn { background: none; border: 0; color: var(--muted); cursor: pointer; font: italic 17px var(--serif); padding: 10px 4px;
  border-bottom: 1px solid var(--hair2); }
.linkbtn:hover { color: var(--ivory); border-color: var(--hair); }

/* ---------------------------------------------------------------- рамки «сертификат» */
.framed { position: relative; border: 1px solid var(--hair2); background:
  linear-gradient(var(--gold), var(--gold)) left top / 18px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) left top / 1px 18px no-repeat,
  linear-gradient(var(--gold), var(--gold)) right top / 18px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) right top / 1px 18px no-repeat,
  linear-gradient(var(--gold), var(--gold)) left bottom / 18px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) left bottom / 1px 18px no-repeat,
  linear-gradient(var(--gold), var(--gold)) right bottom / 18px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) right bottom / 1px 18px no-repeat,
  linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008)); }
.panel { border: 1px solid var(--hair2); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .006)); }

/* ---------------------------------------------------------------- шапка и подвал */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: linear-gradient(180deg, rgba(7, 8, 15, .82), rgba(7, 8, 15, .55)); border-bottom: 1px solid var(--hair3); }
.top .wrap { display: flex; align-items: center; gap: 26px; height: 74px; }
/* знак Natal Maison (astroreport/brand.py) и название прописными с разрядкой, в одну строку */
.logo { display: flex; align-items: center; gap: 14px; color: var(--ivory) !important; font: 500 21px/1 var(--display); letter-spacing: .2em;
  text-transform: uppercase; white-space: nowrap; }
.logo svg { width: 42px; height: 42px; flex: none; transition: transform .6s cubic-bezier(.2, .9, .3, 1.2); }
.logo:hover svg { transform: rotate(-12deg); }
@media (max-width: 560px) { .logo { font-size: 16px; letter-spacing: .16em; gap: 10px; } .logo svg { width: 34px; height: 34px; } }
@media (max-width: 360px) { .logo { font-size: 14.5px; letter-spacing: .12em; gap: 8px; } .logo svg { width: 30px; height: 30px; } }
@media (prefers-reduced-motion: reduce) { .logo svg { transition: none; } .logo:hover svg { transform: none; } }
.nav { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); font: 500 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.nav a:hover { color: var(--ivory); }
.lang { display: flex; gap: 2px; padding-left: 22px; border-left: 1px solid var(--hair2); }
.lang a { font-size: 11px; padding: 5px 8px; color: var(--dim); letter-spacing: .16em; }
.lang a.on { color: var(--gold2); }
@media (max-width: 820px) { .nav .hide-m { display: none; } .top .wrap { gap: 12px; height: 64px; } .lang { padding-left: 0; border: 0; } }
footer.foot { border-top: 1px solid var(--hair3); padding: 56px 0 64px; color: var(--dim); font-size: 13px; margin-top: 40px; }
footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 22px 40px; justify-content: space-between; align-items: center; }
footer.foot a { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
footer.foot a.logo { color: var(--ivory); font-size: 17px; letter-spacing: .2em; }   /* знак в подвале: ссылкам подвала свой мелкий стиль */
footer.foot a.logo svg { width: 36px; height: 36px; }
footer.foot .links { display: flex; gap: 26px; flex-wrap: wrap; }
footer.foot .disc { flex-basis: 100%; max-width: 860px; font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.55; }

/* ---------------------------------------------------------------- лендинг */
/* overflow: кольца .astro вращаются, а повёрнутый квадрат шире своего места на 41%: через ~10 с страница получала прокрутку
   вбок (телефоны и экраны уже ~1300px). Рисунок колец круглый, обрезка по секции его не задевает */
.hero { padding: 76px 0 56px; overflow: hidden; overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 26px; font-size: clamp(44px, 5.3vw, 78px); }
.hero .lead { margin-bottom: 38px; }
.hero .ctas { display: flex; gap: 22px 34px; flex-wrap: wrap; align-items: center; }
.hero .ctas .btn.big { padding: 0 32px; }
.hero .note { margin-top: 22px; color: var(--dim); font: italic 16px var(--serif); }
.astro { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.astro .frame { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 420s linear infinite reverse; }
.astro .inner { position: absolute; inset: 7.5%; animation: spin 300s linear infinite; }
.astro .inner svg { width: 100%; height: 100%; display: block; }
.astro::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(236, 210, 144, .16),
  rgba(126, 104, 230, .08) 45%, transparent 70%); filter: blur(10px); }
.astro .cap { position: absolute; left: 0; right: 0; bottom: -46px; text-align: center; font: italic 15px var(--serif); color: var(--dim); }
.astro .cap b { font: 600 10.5px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-right: 10px;
  font-style: normal; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 70px; } .hero { padding: 40px 0 70px; } .astro { max-width: 380px; } }

.ticker { border-top: 1px solid var(--hair3); border-bottom: 1px solid var(--hair3); overflow: hidden; padding: 16px 0; margin-top: 40px;
  background: linear-gradient(90deg, rgba(7, 8, 15, .7), rgba(20, 22, 46, .35), rgba(7, 8, 15, .7));
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker .tr { display: flex; width: max-content; animation: tick 70s linear infinite; }
.ticker span { white-space: nowrap; font: italic 17px var(--serif); color: var(--muted); padding: 0 30px; display: inline-flex; gap: 10px;
  align-items: baseline; }
.ticker span .gl { color: var(--gold2); font-style: normal; font-size: 15px; }
.ticker span b { color: var(--ivory); font-weight: 500; font-style: normal; }
.ticker span .rx { color: #e39a8f; font-size: 14px; }   /* ретроградность, как «R» в таблицах */
.ticker span::after { content: ""; width: 5px; height: 5px; margin-left: 30px; align-self: center; background: var(--diamond) center / contain no-repeat;
  opacity: .7; }
.ticker .lab { font: 600 10.5px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-style: normal; }
@keyframes tick { to { transform: translateX(-50%); } }

section.block { padding: 120px 0; position: relative; }
section.block .head { text-align: center; margin-bottom: 64px; }
section.block .head .lead { margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.step-i:not(:last-child)::after { content: ""; position: absolute; top: 34px; left: calc(50% + 58px); width: calc(100% - 116px); height: 1px;
  background: linear-gradient(90deg, var(--hair), rgba(201, 164, 92, .12)); }
.step-i { text-align: center; padding: 0 34px; position: relative; }
.step-i .roman { font-size: 64px; line-height: 1; display: inline-block; position: relative; }
.step-i .roman span { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-i h3 { margin-top: 26px; font-size: 31px; }
.step-i p { font: 18px/1.6 var(--serif); color: var(--muted); max-width: 320px; margin: 0 auto; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 56px; } .step-i::after { display: none; } }

.inside { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: start; }
.inside .fan { position: sticky; top: 130px; }
.inside.solo { grid-template-columns: 1fr; max-width: 820px; }
@media (max-width: 960px) { .inside { grid-template-columns: 1fr; gap: 40px; } .inside .fan { position: relative; top: auto; } }  /* в одну колонку веер не прилипает: иначе едет поверх списка глав */
.fan { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; width: 100%; justify-self: center; }
.fan img { position: absolute; width: 56%; height: auto; aspect-ratio: 210 / 297; object-fit: cover; border-radius: 2px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(201, 164, 92, .25); transition: transform .5s ease; }
.fan img:nth-child(1) { left: 2%; top: 9%; transform: rotate(-9deg); }
.fan img:nth-child(2) { left: 41%; top: 7%; transform: rotate(7deg); }
.fan img:nth-child(3) { left: 21%; top: 2%; z-index: 2; transform: rotate(-1deg); }
.fan:hover img:nth-child(1) { transform: rotate(-12deg) translateX(-14px); }
.fan:hover img:nth-child(2) { transform: rotate(10deg) translateX(14px); }
.fan .badge { position: absolute; right: 2%; bottom: 4%; z-index: 3; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center;
  text-align: center; background: radial-gradient(circle at 35% 30%, #f6e3aa, #c9a45c 48%, #8a6a2f 100%); color: #20170a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55), inset 0 0 0 4px rgba(255, 255, 255, .18), inset 0 0 0 6px rgba(0, 0, 0, .12);
  font: 600 11px/1.25 var(--sans); letter-spacing: .16em; text-transform: uppercase; transform: rotate(-10deg); }
.fan .badge b { display: block; font: 600 34px/1 var(--display); letter-spacing: 0; font-variant-numeric: lining-nums; margin-bottom: 4px; }  /* старостильная «5» уходила под строку на «SEITEN» */
.contents { list-style: none; padding: 0; margin: 0; }
.contents li { display: grid; grid-template-columns: 54px 1fr; gap: 6px 10px; padding: 16px 0; border-bottom: 1px solid var(--hair2); }
.contents .roman { font-size: 26px; color: var(--gold); line-height: 1.1; }
.contents b { font: 500 25px/1.15 var(--display); color: var(--ivory); }
.contents li > span:not(.roman) { grid-column: 2; font: italic 16.5px/1.45 var(--serif); color: var(--muted); }
.contents .roman { grid-row: 1 / span 2; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hair3); border-bottom: 1px solid var(--hair3); }
.stats div { padding: 42px 22px; text-align: center; border-left: 1px solid var(--hair3); }
.stats div:first-child { border-left: 0; }
.stats b { display: block; font: 500 clamp(40px, 4.4vw, 62px)/1 var(--display); font-variant-numeric: lining-nums; background: var(--foil); -webkit-background-clip: text;
  background-clip: text; color: transparent; margin-bottom: 14px; }
.stats span { font: italic 16.5px/1.4 var(--serif); color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--hair3); } }
@media (max-width: 360px) { .stats b { font-size: 32px; } }   /* «172.000» не влезал в колонку на 320px */

.offer { max-width: 920px; margin: 0 auto; padding: 64px 56px; text-align: center; }
.offer .price { font: 500 92px/1 var(--display); margin: 8px 0 6px; }
.offer .price small { font: 500 20px var(--display); color: var(--dim); margin-left: 6px; }
.offer ul { list-style: none; padding: 0; margin: 30px auto 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px;
  max-width: 660px; text-align: left; }
.offer li { font: 18px/1.45 var(--serif); color: var(--text); padding-left: 26px; position: relative; }
.offer li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--diamond) center / contain no-repeat; }
.offer .fine { margin-top: 18px; }
@media (max-width: 700px) { .offer { padding: 44px 22px; } .offer ul { grid-template-columns: 1fr; } .offer .price { font-size: 72px; } }

.faq details { border-bottom: 1px solid var(--hair2); padding: 26px 4px; }
.faq summary { cursor: pointer; font: 500 26px/1.25 var(--display); color: var(--ivory); list-style: none; display: flex; justify-content: space-between;
  gap: 24px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font: 300 28px/1 var(--sans); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font: 19px/1.65 var(--serif); color: var(--muted); margin: 16px 0 0; max-width: 680px; }

.final { text-align: center; padding: 90px 0 140px; }
.final h2 { font-style: italic; font-weight: 400; max-width: 900px; margin: 26px auto 36px; }
.fine { color: var(--dim); font: italic 14.5px/1.5 var(--serif); }

/* ---------------------------------------------------------------- анкета */
.quiz { position: fixed; inset: 0; z-index: 50; display: none; flex-direction: column; overflow-y: auto;
  background: radial-gradient(80vw 60vw at 50% -10%, rgba(126, 104, 230, .14), transparent 60%), rgba(6, 7, 13, .97);
  backdrop-filter: blur(14px); }
.quiz.open { display: flex; }
.quiz .qtop { display: flex; align-items: center; gap: 22px; padding: 22px 30px; }
@media (max-width: 420px) { .quiz .qtop { gap: 12px; padding: 18px 16px; } .quiz .stepn { letter-spacing: .18em; } }   /* «SCHRITT 12 VON 13» + крестик не влезали в 320px */
.quiz .qtop .x { margin-left: auto; background: none; border: 0; color: var(--muted); font: 300 30px/1 var(--sans); cursor: pointer; }
.quiz .bar { height: 1px; background: var(--hair2); flex: 1; max-width: 560px; position: relative; }
.quiz .bar i { display: block; height: 1px; width: 0; background: var(--foil); transition: width .45s ease; position: relative; }
.quiz .bar i::after { content: ""; position: absolute; right: -7px; top: -7px; width: 14px; height: 14px; background: var(--star) center / contain no-repeat;
  filter: drop-shadow(0 0 6px rgba(236, 210, 144, .8)); }
.quiz .stepn { font: 600 10.5px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.quiz .back { background: none; border: 0; color: var(--muted); cursor: pointer; font: italic 17px var(--serif); padding: 6px 0; }
.quiz .back[hidden] { visibility: hidden; display: inline; }
.qbody { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 7vh 24px 70px; }
.step { width: min(600px, 100%); display: none; animation: fadeup .45s ease; }
.step.on { display: block; }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: clamp(34px, 5.4vw, 52px); margin-bottom: 12px; }
.step .hint { font: italic 19px/1.5 var(--serif); color: var(--muted); margin-bottom: 34px; }
.row { display: flex; gap: 14px; }
.row > * { flex: 1; min-width: 0; }
.field { display: block; margin-bottom: 14px; }
.field small { display: block; color: var(--gold); font: 600 10px var(--sans); letter-spacing: .28em; text-transform: uppercase; margin: 0 0 8px 2px; }
select, input[type=text], input[type=email], textarea {
  width: 100%; font: 500 22px var(--serif); color: var(--ivory); background: rgba(255, 255, 255, .025); border: 0;
  border-bottom: 1px solid var(--hair); border-radius: 0; padding: 14px 4px 12px; outline: none; transition: border-color .2s, background .2s;
  appearance: none; -webkit-appearance: none; }
select { background-image: var(--diamond); background-repeat: no-repeat; background-position: calc(100% - 6px) 50%; background-size: 8px; padding-right: 26px;
  cursor: pointer; }
select option { background: #11132a; color: var(--ivory); font-family: var(--sans); font-size: 16px; }
textarea { min-height: 120px; resize: vertical; font-size: 20px; border: 1px solid var(--hair2); padding: 16px; }
input::placeholder, textarea::placeholder { color: var(--dim); font-style: italic; }
select:focus, input:focus, textarea:focus { border-color: var(--gold2); background: rgba(201, 164, 92, .05); }
.opts { display: grid; gap: 10px; }
.opts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .opts.two { grid-template-columns: minmax(0, 1fr); } }   /* «Предназначение», «Bestimmung» не влезают в полстолбца */
.opt { display: flex; align-items: center; gap: 16px; text-align: left; width: 100%; cursor: pointer; font: 500 20px var(--serif); color: var(--ivory);
  background: rgba(255, 255, 255, .02); border: 1px solid var(--hair2); border-radius: 2px; padding: 17px 20px; min-height: 64px;
  transition: border-color .2s, background .2s, color .2s; position: relative; }
.opt:hover { border-color: var(--hair); background: rgba(201, 164, 92, .04); }
.opt.on { border-color: var(--gold); background: linear-gradient(90deg, rgba(201, 164, 92, .12), rgba(201, 164, 92, .03)); color: var(--gold2); }
.opt.on::after { content: ""; position: absolute; right: 18px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: var(--star) center / contain no-repeat; }
.opt .gl { color: var(--gold); font-size: 20px; width: 24px; text-align: center; }
.qnext { margin-top: 32px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.qerr { color: #e9a092; font: italic 16px var(--serif); min-height: 22px; margin-top: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font: italic 17px/1.45 var(--serif); margin-top: 18px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); margin-top: 3px; flex: none; }
.step .fine.later { margin: 4px 0 0 36px; }       /* под галочкой «не знаю время рождения»: в линию с её подписью */
.agree { font: italic 14px/1.5 var(--serif); color: var(--dim); margin-top: 22px; }
.ac { position: relative; }
.ac ul { position: absolute; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: #0f1126;
  border: 1px solid var(--hair); max-height: 340px; overflow-y: auto; z-index: 5; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); }
.ac li { padding: 12px 14px; cursor: pointer; font: 19px var(--serif); color: var(--ivory); }
.ac li span { color: var(--dim); font-size: 15px; font-style: italic; margin-left: 8px; }
.ac li.on, .ac li:hover { background: rgba(201, 164, 92, .1); }
.ac .none { color: var(--dim); font-style: italic; }
.picked { margin-top: 14px; color: var(--gold2); font: italic 18px var(--serif); min-height: 24px; }
.calc { text-align: center; padding-top: 5vh; }
.calc .orb { width: 240px; height: 240px; margin: 0 auto 36px; position: relative; filter: drop-shadow(0 0 30px rgba(201, 164, 92, .18)); }
.calc .orb svg { width: 100%; height: 100%; }
.calc .orb .ring1 { transform-origin: 150px 150px; animation: spin 26s linear infinite; }
.calc .orb .ring2 { transform-origin: 150px 150px; animation: spin 14s linear infinite reverse; }
.calc ul { list-style: none; padding: 0; margin: 30px auto 0; max-width: 340px; text-align: left; }
.calc li { padding: 9px 0 9px 30px; color: var(--dim); font: italic 19px var(--serif); position: relative; transition: color .4s; }
.calc li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: 1px solid var(--dim);
  transform: rotate(45deg); }
.calc li.done { color: var(--ivory); }
.calc li.done::before { border-color: var(--gold); background: var(--gold); }

/* ---------------------------------------------------------------- страница карты */
.res-head { padding: 70px 0 10px; text-align: center; }
.res-head h1 { font-size: clamp(40px, 5.6vw, 76px); }
.res-head .born { font: italic 19px var(--serif); color: var(--muted); }
.chartgrid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; margin-top: 40px; }
@media (max-width: 960px) { .chartgrid { grid-template-columns: 1fr; gap: 40px; } }
.chartgrid .astro { max-width: 600px; }
.chartgrid .astro .inner, .chartgrid .astro .frame { animation: none; }
.big3 { display: grid; }
.b3 { display: grid; grid-template-columns: 74px 1fr; gap: 22px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--hair2); }
.b3:first-child { border-top: 1px solid var(--hair2); }
.b3 .gl { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; color: var(--gold2);
  border: 1px solid var(--hair); box-shadow: inset 0 0 0 5px rgba(7, 8, 15, .9), inset 0 0 0 6px var(--hair3);
  background: radial-gradient(circle, rgba(201, 164, 92, .12), transparent 70%); }
.b3 small { color: var(--gold); font: 600 10.5px var(--sans); letter-spacing: .28em; text-transform: uppercase; }
.b3 b { display: block; font: 500 38px/1.05 var(--display); color: var(--ivory); margin: 6px 0 4px; }
.b3 p { margin: 4px 0 0; color: var(--muted); font: italic 18px/1.5 var(--serif); }
.b3.locked b { color: var(--dim); font-style: italic; font-size: 30px; }
.rare { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; margin: 76px auto 8px; max-width: 980px; }
.pill { font: italic 18px var(--serif); color: var(--gold2); padding: 0 22px; display: inline-flex; align-items: center; gap: 22px; }
.pill:not(:last-child)::after { content: ""; width: 6px; height: 6px; background: var(--diamond) center / contain no-repeat; margin-right: -22px; }
.one-in { text-align: center; color: var(--muted); font: italic 18px var(--serif); margin-top: 14px; }
.one-in b { font: 500 28px var(--display); color: var(--ivory); font-style: normal; }
.headline { font: italic 400 clamp(32px, 4.2vw, 54px)/1.2 var(--display); text-align: center; max-width: 960px; margin: 100px auto 30px; color: var(--ivory);
  position: relative; }
.headline::before { content: "“"; display: block; font: 400 120px/0.5 var(--display); color: var(--gold); opacity: .6; margin-bottom: 26px; }
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 70px; }
@media (max-width: 960px) { .insights { grid-template-columns: 1fr; gap: 40px; } }
.insight { border-top: 1px solid var(--hair); padding-top: 26px; }
.insight .roman { font-size: 44px; line-height: 1; display: block; margin-bottom: 18px; }
.insight .roman span { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.insight h3 { font-size: 30px; }
.insight p { font: 18.5px/1.65 var(--serif); color: var(--muted); margin: 0; }
.shimmer { height: 12px; margin: 12px 0; background: linear-gradient(90deg, rgba(255, 255, 255, .03), rgba(236, 210, 144, .12), rgba(255, 255, 255, .03));
  background-size: 200% 100%; animation: shim 1.8s linear infinite; }
@keyframes shim { to { background-position: -200% 0; } }
.preparing { text-align: center; color: var(--muted); font: italic 19px var(--serif); margin: 70px auto 0; }

.buy { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 64px; align-items: start; margin: 130px 0 90px; }
@media (max-width: 1020px) { .buy { grid-template-columns: minmax(0, 1fr); } }
.buy > div > .lead { margin-bottom: 30px; }
.locked-list { display: grid; }
.lk { display: grid; grid-template-columns: 58px 1fr auto; gap: 6px 18px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--hair2); }
.lk:first-child { border-top: 1px solid var(--hair2); }
.lk .roman { font-size: 28px; color: var(--gold); line-height: 1.15; }
.lk b { font: 500 27px/1.15 var(--display); color: var(--ivory); display: block; }
.lk p { margin: 6px 0 0; color: var(--muted); font: italic 17.5px/1.5 var(--serif); }
.lk .lock { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hair); margin-top: 4px; display: grid; place-items: center; }
.blur-lines { margin-top: 12px; filter: blur(3.5px); opacity: .55; user-select: none; }
.blur-lines i { display: block; height: 7px; background: var(--muted); border-radius: 4px; margin: 8px 0; opacity: .28; }
.blur-lines i:last-child { width: 72%; }
@media (max-width: 640px) { .lk { grid-template-columns: 40px 1fr; } .lk .lock { display: none; } }

.price-card { position: sticky; top: 100px; padding: 46px 38px 34px; text-align: center; background:
  radial-gradient(120% 60% at 50% 0%, rgba(201, 164, 92, .14), transparent 60%), linear-gradient(180deg, #11132a, #0b0c1c);
  box-shadow: 0 50px 120px rgba(0, 0, 0, .55); }
.price-card .seal { width: 64px; height: 64px; margin: -78px auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #f6e3aa, #c9a45c 50%, #8a6a2f); box-shadow: 0 12px 30px rgba(0, 0, 0, .6),
  inset 0 0 0 3px rgba(255, 255, 255, .2); }
.price-card .seal i { width: 26px; height: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0l1.6 7.2L18 4.8l-4.4 5.2L20 10l-6.4 1.6 4.4 5.6-6.4-2.4L10 20l-1.6-5.2L2 17.2l4.4-5.6L0 10l6.4-1.6L2 3.2l6.4 2.4z' fill='%232a1e0b'/%3E%3C/svg%3E") center / contain no-repeat; }
.price-card h3 { font-size: 32px; font-weight: 500; margin-bottom: 0; }
.price-card .curs { margin-top: 16px; }              /* переключатель валют прилипал к заголовку карточки */
.price-card .price { font: 500 84px/1 var(--display); margin: 18px 0 4px; }
.price-card .price small { font: italic 500 20px var(--display); color: var(--dim); margin-left: 4px; -webkit-text-fill-color: var(--dim); }
.price-card .orn { margin: 20px auto 22px; max-width: 220px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; }
.price-card li { padding: 8px 0 8px 26px; position: relative; color: var(--text); font: 17.5px/1.45 var(--serif); }
.price-card li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; background: var(--diamond) center / contain no-repeat; }
.bump { display: flex; gap: 14px; padding: 18px; border: 1px dashed var(--hair); background: rgba(201, 164, 92, .05); margin-bottom: 20px;
  cursor: pointer; text-align: left; transition: background .2s, border-color .2s; }
.bump:hover { background: rgba(201, 164, 92, .09); }
.bump input { width: 20px; height: 20px; accent-color: var(--gold); flex: none; margin-top: 3px; }
.bump b { display: block; color: var(--ivory); font: 600 17px var(--serif); margin-bottom: 4px; }
.bump span { color: var(--muted); font: italic 15.5px/1.45 var(--serif); }
.paybtns { display: grid; gap: 10px; }
.price-card .fine { margin-top: 18px; text-align: center; }

.cardx { padding: 34px; }
.cardx h3 { font-size: 28px; }
table.tbl { width: 100%; border-collapse: collapse; font: 17px var(--serif); }
.tbl th { text-align: left; color: var(--gold); font: 600 10px var(--sans); letter-spacing: .26em; text-transform: uppercase; padding: 10px 10px 12px;
  border-bottom: 1px solid var(--hair); }
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--hair2); color: var(--text); }
.tbl .gl { color: var(--gold2); font-size: 17px; width: 26px; display: inline-block; text-align: center; text-indent: 0; }
.tbl .r { color: #e39a8f; font: italic 14px var(--serif); margin-left: 6px; }
/* символ и слово одной неразрывной парой (макрос gw в _report.html): символ не остаётся на строке один, а слово под ним.
   У названия точки ещё и висячий отступ на ширину символа и пробела: вторая строка («Северный узел») встаёт под слово */
.tbl .nw { white-space: nowrap; }
.tbl td.pt { padding-left: calc(36px + .25em); text-indent: calc(-26px - .25em); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
@media (max-width: 900px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
/* таблицы положений и аспектов на телефоне: колонки 1fr не сжимались меньше таблицы, страница ездила вбок */
.scrollx { overflow-x: auto; }         /* класс в шаблоне: :has() нет в Safari до 15.4 и Firefox до 121 */
@media (max-width: 560px) {
  .cardx { padding: 24px 16px; }
  table.tbl { font-size: 15px; }
  .tbl th, .tbl td { padding-left: 6px; padding-right: 6px; }
  .tbl th { letter-spacing: .14em; }
  .tbl .gl { width: 20px; font-size: 15px; }
  .tbl td.pt { padding-left: calc(26px + .25em); text-indent: calc(-20px - .25em); }
  /* таблицы в карточках (страница до оплаты): у карточки свои поля, таблице остаётся меньше места, чем в отчёте */
  .cardx.scrollx { padding-left: 10px; padding-right: 10px; }
  .cardx .tbl th, .cardx .tbl td { padding-left: 4px; padding-right: 4px; }
  .cardx .tbl th { letter-spacing: .06em; }
  .cardx .tbl td.pt { padding-left: calc(24px + .25em); }
}
/* 360 px (небольшие Android): в карточке четырём колонкам не хватало 2-12 px, а символ с названием больше не рвётся.
   Таблица в карточке чуть мельче, в отчёте поля ячеек чуть уже: запас 14+ px на любые названия */
@media (max-width: 370px) {
  .tbl th, .tbl td { padding-left: 5px; padding-right: 5px; }
  .tbl th { letter-spacing: .08em; }
  .tbl td.pt { padding-left: calc(25px + .25em); }
  .cardx.scrollx { padding-left: 8px; padding-right: 8px; }
  .cardx table.tbl { font-size: 14px; }
  .cardx .tbl .gl { width: 18px; font-size: 14px; }
  .cardx .tbl th { font-size: 9px; letter-spacing: .04em; }
  .cardx .tbl td.pt { padding-left: calc(22px + .25em); text-indent: calc(-18px - .25em); }
}
/* самые узкие телефоны (320 px): четыре колонки помещаются только без символа знака во второй колонке (название знака
   остаётся), с полями поуже и заголовками поплотнее */
@media (max-width: 340px) {
  .tbl th, .tbl td { padding-left: 4px; padding-right: 4px; }
  .tbl th { letter-spacing: .06em; }
  .tbl td.pt { padding-left: calc(24px + .25em); }
  .tbl.c4 td.sg .gl { display: none; }
  .cardx .tbl th, .cardx .tbl td { padding-left: 3px; padding-right: 3px; }
  .cardx .tbl th { letter-spacing: .04em; }
  .cardx .tbl td.pt { padding-left: calc(21px + .25em); }
}

/* окно крипто-оплаты */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(4, 5, 10, .86); backdrop-filter: blur(6px); display: none; align-items: flex-start;
  justify-content: center; padding: 6vh 16px; overflow-y: auto; }
.modal.open { display: flex; }
.modal .box { width: min(540px, 100%); background: linear-gradient(180deg, #121430, #0b0c1c); padding: 38px 34px; }
.modal h3 { font-size: 34px; font-weight: 500; }
.modal small { font: 600 10px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.seg button { border: 1px solid var(--hair2); background: none; color: var(--text); padding: 9px 16px; font: 16px var(--serif); cursor: pointer; border-radius: 2px; }
.seg button.on { border-color: var(--gold); color: var(--gold2); background: rgba(201, 164, 92, .1); }
.paybox { display: grid; grid-template-columns: 1fr 140px; gap: 20px; align-items: center; }
.paybox .qr svg { width: 140px; height: 140px; display: block; }
.copyline { display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--hair); padding: 10px 2px; margin: 6px 0 18px;
  font: 500 15px ui-monospace, Menlo, monospace; word-break: break-all; color: var(--ivory); }
.copyline span { flex: 1; }
.copyline button { flex: none; border: 1px solid var(--hair); background: none; color: var(--gold2); padding: 6px 11px; cursor: pointer;
  font: 600 10px var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.amount { font-size: 20px; color: var(--gold2); }
.status { display: flex; gap: 12px; align-items: center; padding: 16px 0 0; margin-top: 18px; border-top: 1px solid var(--hair2); color: var(--muted);
  font: italic 17px var(--serif); }
.status .dot { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); animation: pulse 1.4s ease infinite; flex: none; }
.status.ok { color: #9fd6b0; } .status.ok .dot { background: #9fd6b0; animation: none; }
@keyframes pulse { 50% { opacity: .25; } }
@media (max-width: 520px) { .paybox { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- отчёт */
.writing { text-align: center; padding: 64px 34px 46px; margin: 90px auto; max-width: 760px; }
.ring { width: 140px; height: 140px; margin: 0 auto 26px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 500 34px var(--display); color: var(--gold2); }
.writing h2 { font-size: 46px; }
.writing p { font: italic 19px var(--serif); }
.report { display: grid; grid-template-columns: 270px 1fr; gap: 80px; margin: 110px 0 60px; align-items: start; }
/* оглавление: при 12+ главах оно выше экрана (низ с кнопкой PDF был недостижим, пока не дочитаешь отчёт). Список глав
   прокручивается внутри, кнопка PDF и ссылка всегда на виду; текущая глава подсвечена (result.js) */
.report .side { position: sticky; top: 104px; display: flex; flex-direction: column; max-height: calc(100vh - 128px); }
.report .side > * { flex: none; }
.myforget { margin: 26px 0 8px; }                   /* «Забыть это устройство» под списком «Мои карты» */
.myforget .fine { margin: 6px 0 0; }
.report .side [data-pdf] ~ .btn { margin-top: 10px; }  /* «Скачать PDF» и «Построить мою карту» стояли вплотную (между ними
                                                        скрипт вставляет строку для сообщений о PDF, поэтому не «+» */
.report .side ol { list-style: none; padding: 0; margin: 0 0 28px; counter-reset: s; position: relative; flex: 0 1 auto; min-height: 0;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(201, 164, 92, .35) transparent; }
.report .side ol.more { -webkit-mask-image: linear-gradient(#000 calc(100% - 34px), transparent); mask-image: linear-gradient(#000 calc(100% - 34px), transparent); }
.report .side li a.cur { color: var(--ivory); }
.report .side li a.cur span { color: var(--gold2); }
@media (max-width: 1020px) { .report { grid-template-columns: 1fr; gap: 30px; }
  .report .side { position: static; display: block; max-height: none; } .report .side ol { overflow: visible; } }
.report .side li { counter-increment: s; border-bottom: 1px solid var(--hair2); }
.report .side li a { display: grid; grid-template-columns: 34px 1fr; padding: 10px 0; color: var(--muted); font: 17px/1.35 var(--serif); }
.report .side li a span { font: italic 500 17px var(--display); color: var(--gold3); }
.report .side li a:hover { color: var(--ivory); }
.chapter { margin-bottom: 140px; scroll-margin-top: 100px; max-width: 760px; }
.chapter .opener { text-align: center; margin-bottom: 54px; }
.chapter .opener .roman { display: block; font-size: 110px; line-height: .9; margin-bottom: 8px; }
.chapter .opener .roman span { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chapter .opener .kicker { margin-bottom: 18px; }
.chapter h2 { font-size: clamp(40px, 4.8vw, 62px); }
.chapter .lead-p { font: italic 400 25px/1.5 var(--serif); color: var(--gold2); margin: 18px auto 30px; max-width: 680px;
  -webkit-hyphens: manual; hyphens: manual; }       /* вводный абзац по центру: переносы по слогам («Ве-неру») ему не нужны */
.chapter h3 { font-size: 32px; font-weight: 500; margin: 56px 0 14px; display: flex; align-items: baseline; gap: 14px; }
.chapter h3 .gl { color: var(--gold); font-size: 24px; }
.chapter p { font: 20.5px/1.78 var(--serif); color: #dcd4c2; hyphens: auto; }
.chapter p.first::first-letter { float: left; font: 500 4.35em/.82 var(--display); padding: 6px 12px 0 0; background: var(--foil);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.chapter .const { width: 120px; height: 120px; color: var(--gold2); display: block; margin: 0 auto 14px; opacity: .9; }
.dates { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: -4px 0 16px; color: var(--gold); font: italic 16.5px var(--serif); }
.dates span { display: inline-flex; align-items: center; gap: 9px; }
.dates span::before { content: ""; width: 6px; height: 6px; background: var(--diamond) center / contain no-repeat; }
.takeaways { margin-top: 50px; padding: 34px 38px; }
.takeaways b { font: 600 10.5px var(--sans); color: var(--gold); letter-spacing: .3em; text-transform: uppercase; }
.takeaways ul { margin: 16px 0 0; padding: 0; list-style: none; }
.takeaways li { margin: 12px 0; color: var(--ivory); font: 19px/1.55 var(--serif); padding-left: 26px; position: relative; }
.takeaways li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--diamond) center / contain no-repeat; }
.scores { display: grid; gap: 16px; margin: 30px 0 40px; max-width: 640px; }
.score { display: grid; grid-template-columns: 200px 1fr 46px; gap: 18px; align-items: center; font: 18px var(--serif); }
.score .track { height: 6px; width: 100%; display: block; }
.score b { color: var(--gold2); text-align: right; font: 500 24px var(--display); }
.overall { font: 500 96px/1 var(--display); background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.month { padding: 40px 0; border-top: 1px solid var(--hair2); }
.month h3 { margin-top: 6px; }
.month .mlab { color: var(--gold); font: 600 10.5px var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.month .kv { display: grid; grid-template-columns: 120px 1fr; gap: 10px 18px; margin-top: 16px; font: 18px/1.55 var(--serif); }
.month .kv b { color: var(--gold); font: 600 10.5px var(--sans); letter-spacing: .26em; text-transform: uppercase; padding-top: 6px; }
.upsells { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 40px 0 100px; }
@media (max-width: 800px) { .upsells { grid-template-columns: 1fr; } }
.upsell { padding: 40px 36px; }
.upsell h3 { font-size: 32px; font-weight: 500; }
.upsell p { color: var(--muted); font: italic 18px/1.55 var(--serif); }
.linkbox { margin-top: 22px; color: var(--dim); font: 600 10px var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.linkbox input { font: 14px ui-monospace, Menlo, monospace; padding: 10px 2px; margin-top: 8px; }
.notice { padding: 18px 22px; border: 1px solid var(--hair); background: rgba(201, 164, 92, .06); color: var(--ivory); font: italic 18px var(--serif); margin: 22px 0; }
.example-badge { display: inline-block; padding: 8px 16px; border: 1px solid var(--gold); color: var(--gold2); font: 600 10.5px var(--sans);
  letter-spacing: .3em; text-transform: uppercase; margin-bottom: 22px; }

/* юр. страницы и админка */
.legal { padding: 80px 0 100px; }
.legal h1 { font-size: clamp(32px, 8.4vw, 58px); overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }  /* «Datenschutzerklärung», «Конфиденциальность» одним словом */
.legal h2 { font-size: 32px; margin-top: 44px; }
.legal p, .legal li { font: 19px/1.7 var(--serif); color: #d6cfbf; }
.admin { font-size: 13px; padding: 30px 0; }
.admin table { border-collapse: collapse; width: 100%; }
.admin td, .admin th { border-bottom: 1px solid var(--hair2); padding: 6px 8px; text-align: left; vertical-align: top; }
.admin .stat { display: inline-block; margin: 0 22px 12px 0; }
.admin .stat b { display: block; font-size: 22px; color: var(--gold2); }
.admin form { display: inline; }
.admin input, .admin select { font: 13px var(--sans); padding: 5px 8px; width: auto; border: 1px solid var(--hair2); background: none; }
.admin button { font-size: 12px; padding: 5px 9px; border: 1px solid var(--hair); background: none; color: var(--gold2); cursor: pointer; }
@media (max-width: 560px) {
  .btn { letter-spacing: .12em; padding: 0 20px; }
  .btn.big, .hero .ctas .btn.big { height: 58px; padding: 0 20px; width: 100%; font-size: 12.5px; }
  .kicker { line-height: 1.45; }                         /* длинная надпись в две строки: строки не слипаются */
  .hero .ctas { flex-direction: column; align-items: stretch; }
  .chapter .opener .roman { font-size: 84px; }
  .chapter p { font-size: 19px; }
  section.block { padding: 84px 0; }
  .price-card { padding: 46px 24px 28px; }
}

/* ---------------------------------------------------------------- v2.1: детали */
:focus-visible { outline: 1px solid var(--gold2); outline-offset: 3px; }
.btn:focus-visible { outline-offset: 4px; }
.mylink { display: inline-flex; align-items: center; gap: 8px; }
.mylink span { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; border: 1px solid var(--hair); display: inline-grid;
  place-items: center; font-size: 10.5px; color: var(--gold2); letter-spacing: 0; }
.mylist { list-style: none; padding: 0; margin: 40px 0; }
.mylist li { border-bottom: 1px solid var(--hair2); }
.mylist li:first-child { border-top: 1px solid var(--hair2); }
.mylist a { display: grid; grid-template-columns: 60px 1fr auto; gap: 18px; align-items: center; padding: 20px 4px; color: var(--ivory); }
.mylist a:hover { background: rgba(201, 164, 92, .04); }
.mylist .gl { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--hair); display: grid; place-items: center; font-size: 24px;
  color: var(--gold2); }
.mylist b { display: block; font: 500 26px var(--display); }
.mylist em { font: italic 16px var(--serif); color: var(--muted); }
.mylist .st { font: 600 10px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); text-align: right; max-width: 240px; }
.mylost { padding: 34px; margin-top: 30px; }
.mylost p { font: italic 18px var(--serif); color: var(--muted); }
.mylost .row { align-items: flex-end; }
.mylost .row .btn { flex: none; }
@media (max-width: 600px) { .mylist a { grid-template-columns: 48px 1fr; } .mylist .st { grid-column: 2; text-align: left; } }
.textlink { font: italic 19px var(--serif); color: var(--ivory); border-bottom: 1px solid var(--hair); padding: 4px 2px; display: inline-flex; gap: 10px;
  align-items: baseline; transition: border-color .2s, color .2s; }
.textlink:hover { color: var(--gold2); border-color: var(--gold); }
.exbar { margin: 34px auto 0; max-width: 980px; padding: 20px 26px; display: flex; gap: 22px; align-items: center; justify-content: space-between;
  flex-wrap: wrap; }
.exbar p { margin: 0; font: italic 19px var(--serif); color: var(--ivory); }
.chlist { list-style: none; padding: 0; margin: 30px auto 6px; max-width: 520px; text-align: left; }
.chlist li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--hair2);
  font: 18px var(--serif); color: var(--dim); transition: color .4s; }
.chlist li .roman { color: var(--gold3); font-size: 18px; }
.chlist li i { font: 600 9.5px var(--sans); letter-spacing: .22em; text-transform: uppercase; font-style: normal; color: var(--dim); }
.chlist li.done { color: var(--ivory); }
.chlist li.done i { color: var(--gold); }
.chlist li.now i { color: var(--gold2); animation: pulse 1.4s ease infinite; }
.sharebox { margin-top: 26px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.sharebox .fine { margin: 0; max-width: 360px; }
.modal .box.framed { background:
  linear-gradient(var(--gold), var(--gold)) left top / 18px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) left top / 1px 18px no-repeat,
  linear-gradient(var(--gold), var(--gold)) right top / 18px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) right top / 1px 18px no-repeat,
  linear-gradient(var(--gold), var(--gold)) left bottom / 18px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) left bottom / 1px 18px no-repeat,
  linear-gradient(var(--gold), var(--gold)) right bottom / 18px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) right bottom / 1px 18px no-repeat,
  linear-gradient(180deg, #121430, #0b0c1c); }

/* ---------------------------------------------------------------- v3: допродажи, подарки, подписка, живое колесо */
@property --c { syntax: "<length>"; inherits: false; initial-value: 18px; }
/* уголки рамки отдельным слоем: у карточки остаётся свой фон, а уголки плавно удлиняются при наведении */
.framed { background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008)); }
.framed::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background:
  linear-gradient(var(--gold), var(--gold)) left top / var(--c, 18px) 1px no-repeat, linear-gradient(var(--gold), var(--gold)) left top / 1px var(--c, 18px) no-repeat,
  linear-gradient(var(--gold), var(--gold)) right top / var(--c, 18px) 1px no-repeat, linear-gradient(var(--gold), var(--gold)) right top / 1px var(--c, 18px) no-repeat,
  linear-gradient(var(--gold), var(--gold)) left bottom / var(--c, 18px) 1px no-repeat, linear-gradient(var(--gold), var(--gold)) left bottom / 1px var(--c, 18px) no-repeat,
  linear-gradient(var(--gold), var(--gold)) right bottom / var(--c, 18px) 1px no-repeat, linear-gradient(var(--gold), var(--gold)) right bottom / 1px var(--c, 18px) no-repeat;
  transition: --c .55s cubic-bezier(.2, .8, .2, 1); }
.modal .box.framed { background: linear-gradient(180deg, #121430, #0b0c1c); }
.xcard, .upsell, .cardx, .exbar, .offer, .gform, .inline-up, .giftrow, .offer-wait, .mylost, .takeaways, .price-card {
  transition: border-color .4s ease, transform .4s ease, box-shadow .4s ease; }
.xcard:hover::after, .upsell:hover::after, .cardx:hover::after, .exbar:hover::after, .offer:hover::after, .gform:hover::after,
.inline-up:hover::after, .giftrow:hover::after, .offer-wait:hover::after, .mylost:hover::after, .takeaways:hover::after,
.price-card:hover::after, .gcard:hover::after, .gopen:hover::after { --c: 36px; }
.xcard:hover, .upsell:hover, .cardx:hover, .exbar:hover, .offer:hover, .gform:hover, .inline-up:hover, .giftrow:hover, .offer-wait:hover,
.mylost:hover, .takeaways:hover { border-color: rgba(201, 164, 92, .24); }

/* живое колесо: подсказки и подсветка аспектов */
.wheel.live .pt, .wheel.live .sg, .wheel.live .asp { cursor: pointer; }
.wheel .pt, .wheel .asp, .wheel .sg text { transition: opacity .3s ease; }
.wheel .pt text.g { transform-box: fill-box; transform-origin: center; transition: transform .3s cubic-bezier(.2, .9, .3, 1.4), filter .3s; }
.wheel .pt.on text.g { transform: scale(1.32); filter: drop-shadow(0 0 7px rgba(236, 210, 144, .95)); }
.wheel .pt.near text.g { filter: drop-shadow(0 0 5px rgba(159, 179, 239, .8)); }
.wheel.hl .pt:not(.on):not(.near) { opacity: .25; }
.wheel.hl .asp { opacity: .07; }
.wheel.hl .asp.on { opacity: 1; stroke-opacity: 1; stroke-width: 2.4; filter: drop-shadow(0 0 3px currentColor); }
.wheel .sg .sec { transition: fill-opacity .3s ease; }
.wheel .sg.on .sec { fill-opacity: .13; }
.wheel.hl-s .sg:not(.on) text { opacity: .35; }
.wheel.live .asp { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.6, .1, .2, 1) .45s forwards; }
.wheel.live .pt { transform-box: fill-box; transform-origin: center; animation: ptin .8s cubic-bezier(.2, .9, .3, 1.2) backwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ptin { from { opacity: 0; transform: scale(.6); } }
.hero .astro:hover .inner, .hero .astro:hover .frame { animation-play-state: paused; }
.wtip { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; max-width: 300px; padding: 10px 14px; opacity: 0;
  background: linear-gradient(180deg, #14173a, #0c0e22); border: 1px solid var(--hair); box-shadow: 0 18px 44px rgba(0, 0, 0, .6);
  font: italic 16px/1.4 var(--serif); color: var(--ivory); transition: opacity .18s ease; }
.wtip.on { opacity: 1; }
.b3[data-p], .tbl tr[data-p] { cursor: default; }

/* тарифы на тизере */
.tiers { display: grid; gap: 12px; margin: 6px 0 22px; text-align: left; }
.tier { position: relative; display: grid; grid-template-columns: 20px 1fr auto; gap: 14px; align-items: center; padding: 16px 16px; cursor: pointer;
  border: 1px solid var(--hair2); background: rgba(255, 255, 255, .015); transition: border-color .25s, background .25s, transform .25s, box-shadow .25s; }
.tier input { width: 18px; height: 18px; accent-color: var(--gold); margin: 0; }
.tier b { display: block; font: 600 17px/1.25 var(--serif); color: var(--ivory); }
.tier span { display: block; font: italic 15px/1.4 var(--serif); color: var(--muted); margin-top: 3px; }
.tier em { font: 500 27px/1 var(--display); font-style: normal; color: var(--gold2); text-align: right; white-space: nowrap; }
.tier em s, .xprice s, .t3 .price s { display: block; font: 500 15px var(--display); color: var(--dim2); -webkit-text-fill-color: var(--dim2); }
.tier .tag, .t3 .tag, .plan .tag { position: absolute; top: -10px; right: 14px; font: 700 9px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  padding: 5px 9px; background: var(--foil); color: #1b1405; font-style: normal; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
.tier:hover { border-color: var(--hair); background: rgba(201, 164, 92, .045); transform: translateY(-1px); }
.tier.on { border-color: var(--gold); background: linear-gradient(90deg, rgba(201, 164, 92, .14), rgba(201, 164, 92, .03));
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .55), 0 14px 34px rgba(0, 0, 0, .35); }
.price-card .price span { font: inherit; }
.gift-link { margin-top: 18px; font-size: 17px; }

/* лендинг: три тарифа и подарок */
.tiers3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 10px; }
.t3 { position: relative; padding: 30px 20px 24px; border: 1px solid var(--hair2); background: rgba(255, 255, 255, .015);
  transition: transform .35s ease, border-color .35s, box-shadow .35s; }
.t3 small { display: block; font: 600 10.5px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.t3 .price { font: 500 58px/1 var(--display); margin: 14px 0 10px; }
.t3 span { font: italic 16px/1.45 var(--serif); color: var(--muted); }
.t3.rec { border-color: var(--hair); background: radial-gradient(120% 80% at 50% 0%, rgba(201, 164, 92, .12), transparent 70%); }
.t3:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 26px 60px rgba(0, 0, 0, .45); }
.t3 .tag { left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; }
@media (max-width: 760px) { .tiers3 { grid-template-columns: 1fr; } }
.giftband { padding-top: 0; }
.giftrow { display: grid; grid-template-columns: 220px 1fr; gap: 50px; align-items: center; padding: 50px 56px; max-width: 1020px; margin: 0 auto; }
.giftrow h2 { font-size: clamp(34px, 4vw, 52px); }
.gift-art svg { width: 100%; height: auto; display: block; }
.gift-art .tw { transform-box: fill-box; transform-origin: center; animation: tw 3.2s ease-in-out infinite; }
.gift-art .tw.b { animation-delay: 1.4s; }
.giftrow:hover .gift-art svg { animation: bob 2.4s ease-in-out infinite; }
@keyframes tw { 50% { transform: scale(.45) rotate(45deg); opacity: .5; } }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-2deg); } }
@media (max-width: 760px) { .giftrow { grid-template-columns: 1fr; padding: 40px 24px; text-align: center; } .gift-art { max-width: 160px; margin: 0 auto; } }

/* предложение во время ожидания и допродажи внутри глав */
.offer-wait { max-width: 760px; margin: -50px auto 90px; padding: 44px 40px 36px; text-align: center;
  background: radial-gradient(110% 70% at 50% 0%, rgba(201, 164, 92, .13), transparent 62%), linear-gradient(180deg, #11132a, #0b0c1c); }
.offer-wait h3 { font-size: 34px; font-weight: 500; }
.offer-wait p { font: italic 18px/1.55 var(--serif); color: var(--muted); max-width: 560px; margin: 0 auto 12px; }
.offer-wait .paybtns { max-width: 380px; margin: 22px auto 0; }
.inline-up { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin: 56px 0 0; padding: 26px 30px; }
.inline-up > .g { font-size: 30px; color: var(--gold2); letter-spacing: .1em; }
.inline-up b { font: 500 25px/1.2 var(--display); color: var(--ivory); }
.inline-up p { margin: 6px 0 0; font: italic 17px/1.5 var(--serif) !important; color: var(--muted) !important; }
@media (max-width: 700px) { .inline-up { grid-template-columns: 1fr; text-align: center; } }

/* «Ещё для тебя» */
.extras { margin: 40px 0 110px; }
.extras .head { margin-bottom: 56px; }
.extras .head .lead { margin: 0 auto; }
.xgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; grid-auto-flow: row dense; }
.xcard.done { order: 5; padding: 24px 26px 22px; }
.xcard.done .xg { width: 46px; height: 46px; }
.xcard.done .xg .g { font-size: 16px; }
.xcard.done h3 { font-size: 25px; margin-top: 12px; }
.xcard.done > p { font-size: 16px; }
.xcard.gift { order: 4; }
.xcard { padding: 34px 30px 30px; }
.xcard.wide { grid-column: span 2; }
.xcard:hover { transform: translateY(-3px); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.xcard h3 { font-size: 30px; font-weight: 500; margin-top: 18px; }
.xcard > p { color: var(--muted); font: italic 17.5px/1.55 var(--serif); }
.xg { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hair);
  box-shadow: inset 0 0 0 4px rgba(7, 8, 15, .9), inset 0 0 0 5px var(--hair3); background: radial-gradient(circle, rgba(201, 164, 92, .14), transparent 70%);
  transition: transform .6s cubic-bezier(.2, .9, .3, 1.3), box-shadow .4s; }
.xg .g { color: var(--gold2); font-size: 19px; letter-spacing: .06em; white-space: nowrap; }
.xcard:hover .xg { transform: rotate(-14deg) scale(1.06); box-shadow: inset 0 0 0 4px rgba(7, 8, 15, .9), inset 0 0 0 5px var(--gold), 0 0 24px rgba(201, 164, 92, .25); }
.xprice { font: 500 40px/1 var(--display); background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 16px 0 14px; }
.xprice small { font: italic 500 17px var(--display); -webkit-text-fill-color: var(--dim); margin-left: 4px; }
.xform { display: grid; gap: 10px; margin: 14px 0 6px; }
.xform input[type=text], .xform select, .xform input[type=date] { font-size: 18px; padding: 11px 4px 10px; }
.xform .row { gap: 10px; flex-wrap: wrap; }
.xform .row > * { min-width: 120px; }
.xform .qerr { margin: 0; min-height: 0; }
.xform .qerr:empty { display: none; }
input[type=date] { width: 100%; font: 500 18px var(--serif); color: var(--ivory); background: rgba(255, 255, 255, .025); border: 0;
  border-bottom: 1px solid var(--hair); border-radius: 0; padding: 11px 4px 10px; outline: none; color-scheme: dark; }
input[type=date]:focus { border-color: var(--gold2); }
.lbl { display: block; color: var(--gold); font: 600 9.5px var(--sans); letter-spacing: .26em; text-transform: uppercase; margin: 4px 0 4px 2px; }
.dl { display: block; flex: 1; }
.tm { max-width: 190px; }
details.opt-more summary { cursor: pointer; font: italic 16px var(--serif); color: var(--muted); list-style: none; padding: 6px 0; }
details.opt-more summary::-webkit-details-marker { display: none; }
details.opt-more summary::before { content: "+ "; color: var(--gold); }
details.opt-more[open] summary::before { content: "− "; }
.xlist { list-style: none; padding: 0; margin: 8px 0 14px; }
.xlist li { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--hair2); }
.xlist b { font: 500 21px var(--display); color: var(--ivory); }
.xlist em { font: italic 15.5px var(--serif); color: var(--muted); }
.xlist .xst { margin-left: auto; }
.xst { display: inline-flex; align-items: center; gap: 8px; font: 600 10px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.xst.run { color: var(--gold2); }
.xst.run i { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); animation: pulse 1.4s ease infinite; }
.xst.ok { color: var(--gold2); border-bottom: 1px solid var(--hair); padding-bottom: 3px; }
.xst.ok:hover { color: #fff3cf; border-color: var(--gold); }
.xok { color: #9fd6b0; font: italic 18px var(--serif); }
.packs, .plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 12px; }
.pack { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 13px 14px; border: 1px solid var(--hair2); cursor: pointer;
  transition: border-color .25s, background .25s; font: 17px var(--serif); color: var(--ivory); }
.pack input { accent-color: var(--gold); margin: 0; }
.pack b { font: 500 22px var(--display); color: var(--gold2); text-align: right; }
.pack b s { display: block; font-size: 13px; color: var(--dim); }
.pack:hover { border-color: var(--hair); }
.pack.on { border-color: var(--gold); background: rgba(201, 164, 92, .08); }
.plan { padding: 22px 20px; border: 1px solid var(--hair2); }
.plan > b { font: 600 10.5px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.plan.best { position: relative; border-color: var(--hair); background: radial-gradient(120% 80% at 50% 0%, rgba(201, 164, 92, .1), transparent 70%); }
.plan .xprice { margin: 12px 0 6px; }
.xpoints { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 26px; }
.xpoints li { font: 16.5px/1.45 var(--serif); padding-left: 22px; position: relative; }
.xpoints li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--diamond) center / contain no-repeat; }
.xcard .paybtns { margin-top: 6px; }
.xcard.gift { background-color: transparent; }
@media (max-width: 1020px) { .xgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .xgrid { grid-template-columns: 1fr; } .xcard.wide { grid-column: auto; } .packs, .plans, .xpoints { grid-template-columns: 1fr; } }

/* главы-допы */
.chapter .sub-p { font: italic 20px var(--serif); color: var(--muted); margin: 4px 0 0; }
.chapter .sub-p.small { font-size: 16.5px; color: var(--dim); }
.mini3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; text-align: center; margin-top: 8px; }
.mini3 .gl { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; border: 1px solid var(--hair);
  color: var(--gold2); font-size: 22px; transition: transform .5s cubic-bezier(.2, .9, .3, 1.3); }
.mini3 div:hover .gl { transform: rotate(-12deg) scale(1.08); }
.mini3 small { display: block; font: 600 9.5px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.mini3 b { display: block; font: 500 26px var(--display); color: var(--ivory); margin-top: 4px; }
.mini3 em { display: block; font: italic 15px var(--serif); color: var(--muted); }
.cardx.comp { margin: 26px 0 10px; }
.overlay { margin-bottom: 26px; }
.cal { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 12px; align-items: center; }
.cal .cm { flex-basis: 100%; font: 600 10px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 10px 0 2px; }
.cal i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--hair2); font-style: normal; transition: transform .2s, box-shadow .2s; }
.cal i b { font: 500 15px var(--display); color: var(--muted); }
.cal .l0 { background: rgba(255, 255, 255, .015); } .cal .l1 { background: rgba(201, 164, 92, .07); } .cal .l2 { background: rgba(201, 164, 92, .14); }
.cal .l3 { background: rgba(201, 164, 92, .26); } .cal .l4 { background: rgba(201, 164, 92, .42); }
.cal .l3 b, .cal .l4 b { color: var(--ivory); }
.cal i.best { border-color: var(--gold2); box-shadow: 0 0 0 1px var(--gold2), 0 0 16px rgba(236, 210, 144, .35); }
.cal i.best b { color: #fff3cf; }
.cal i.avoid { border-color: rgba(227, 154, 143, .7); }
.cal i:hover { transform: translateY(-2px) scale(1.08); box-shadow: 0 10px 24px rgba(0, 0, 0, .5); }
.cal-leg { font: italic 15px var(--serif); color: var(--dim); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.cal-leg .lg { width: 14px; height: 14px; display: inline-block; border: 1px solid var(--hair2); vertical-align: middle; margin-right: -8px; }
.cal-leg .lg.best { border-color: var(--gold2); } .cal-leg .lg.avoid { border-color: rgba(227, 154, 143, .7); }
.cal-leg .lg.grad { background: linear-gradient(90deg, rgba(201, 164, 92, .05), rgba(201, 164, 92, .45)); width: 34px; }
.keydays { display: grid; gap: 0; margin: 6px 0 20px; border-top: 1px solid var(--hair2); }
.keydays div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hair2); align-items: baseline;
  transition: background .3s, padding .3s; }
.keydays div:hover { background: rgba(201, 164, 92, .04); padding-left: 8px; }
.keydays b { font: 500 22px var(--display); color: var(--gold2); }
.keydays span { font: italic 18px var(--serif); color: var(--ivory); }
.score .fill { transform-box: fill-box; transform-origin: left center; transition: transform 1.3s cubic-bezier(.2, .8, .2, 1); }
html.fx .score.rv:not(.in) .fill { transform: scaleX(0); }

/* подарок */
.giftpage .res-head .lead.center-l { margin: 0 auto; }
.giftgrid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; margin: 46px 0 100px; }
.gform { padding: 40px 36px 34px; }
.gform .kicker { margin: 10px 0 16px; }
.gform textarea { min-height: 96px; font-size: 18px; }
.gform .paybtns { margin-top: 10px; }
.gpreview { position: sticky; top: 100px; }
.gcard { position: relative; overflow: hidden; aspect-ratio: 4 / 5; padding: 46px 34px 30px; text-align: center; display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(100% 70% at 50% 0%, rgba(201, 164, 92, .12), transparent 60%), linear-gradient(180deg, #11132a, #090a17);
  box-shadow: 0 50px 110px rgba(0, 0, 0, .55); animation: float 7s ease-in-out infinite; }
.gcard .ring { position: absolute; width: 150%; left: -25%; top: 58%; opacity: .35; pointer-events: none; }
.gcard .ring svg { width: 100%; height: auto; animation: spin 300s linear infinite; }
.gcard .gk { font: 600 10.5px var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); position: relative; }
.gcard .gname { font: italic 500 clamp(40px, 4.4vw, 58px)/1.05 var(--display); margin: 22px 0 14px; position: relative; overflow-wrap: anywhere; }
.gcard .gline { font: italic 18px/1.45 var(--serif); color: var(--muted); position: relative; }
.gcard .gmsg { font: italic 19px/1.5 var(--serif); color: var(--ivory); margin: 10px 0 0; position: relative; max-width: 360px; overflow-wrap: anywhere; }
.gcard .gfrom { font: 500 20px var(--display); color: var(--gold2); position: relative; margin-top: 12px; }
.gcard .gqr { margin-top: auto; display: flex; gap: 12px; align-items: center; position: relative; color: var(--dim); font: italic 14px var(--serif); }
.gcard .gqr i { width: 44px; height: 44px; border: 1px solid var(--hair); background:
  repeating-linear-gradient(90deg, rgba(239, 230, 210, .5) 0 3px, transparent 3px 6px), repeating-linear-gradient(0deg, rgba(239, 230, 210, .5) 0 3px, transparent 3px 7px);
  opacity: .5; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-.4deg); } }
.gsteps { list-style: none; padding: 0; margin: 34px 0 0; }
.gsteps li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--hair2); font: 18px/1.45 var(--serif); }
.gsteps .roman { color: var(--gold); font-size: 22px; }
.gqrbig { margin: 22px auto 6px; width: 200px; }
.gqrbig svg { width: 200px; height: 200px; display: block; border: 1px solid var(--hair); }
.gimg { width: 100%; height: auto; display: block; box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px var(--hair); }
.gopen { position: relative; overflow: hidden; max-width: 760px; margin: 70px auto 100px; padding: 70px 44px 54px; text-align: center;
  background: radial-gradient(100% 60% at 50% 0%, rgba(201, 164, 92, .14), transparent 60%), linear-gradient(180deg, #11132a, #090a17); }
.gopen .ring { position: absolute; width: 130%; left: -15%; top: 52%; opacity: .25; pointer-events: none; }
.gopen .ring svg { width: 100%; height: auto; animation: spin 300s linear infinite; }
.gopen h1 { position: relative; margin: 20px 0 14px; }
.gopen .gline, .gopen .gmsg { position: relative; font: italic 21px/1.5 var(--serif); color: var(--muted); }
.gopen .gmsg { color: var(--ivory); }
.ginc { list-style: none; padding: 0; margin: 24px auto 34px; max-width: 460px; text-align: left; position: relative; }
.ginc li { padding: 9px 0 9px 26px; position: relative; font: 18px/1.45 var(--serif); }
.ginc li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; background: var(--diamond) center / contain no-repeat; }
.gopen .btn, .gopen .fine { position: relative; }
.gopen .btn + .fine { margin-top: 18px; }
/* открытка подарка на телефоне: с полями 44 px кнопке и списку не хватало места (правило стоит после основного: иначе
   основное, объявленное ниже общего блока для телефонов, его перекрывало) */
@media (max-width: 560px) { .gopen { padding: 54px 22px 44px; margin: 40px auto 70px; } }
.giftnote { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border: 1px solid var(--hair); background: rgba(201, 164, 92, .07);
  font: italic 18px var(--serif); color: var(--gold2); margin-bottom: 28px; }
@media (max-width: 960px) { .giftgrid { grid-template-columns: minmax(0, 1fr); } .gpreview { position: static; } }

/* наведение: детали */
.insight { transition: transform .45s ease, border-color .45s ease; }
.insight:hover { transform: translateY(-4px); border-top-color: var(--gold); }
.insight .roman span, .step-i .roman span, .chapter .opener .roman span { background-size: 220% 100%; transition: background-position 1.2s ease; }
.insight:hover .roman span, .step-i:hover .roman span, .chapter .opener:hover .roman span { background-position: 100% 0; }
.lk { transition: background .35s ease, padding .35s ease; }
.lk:hover { background: linear-gradient(90deg, rgba(201, 164, 92, .05), transparent 70%); padding-left: 8px; }
.lk .roman { transition: color .3s; }
.lk:hover .roman { color: var(--gold2); }
.lk .lock { transition: transform .5s cubic-bezier(.2, .9, .3, 1.4), border-color .3s; }
.lk:hover .lock { transform: rotate(-12deg) scale(1.08); border-color: var(--gold); }
.b3 .gl { transition: transform .6s cubic-bezier(.2, .9, .3, 1.3), box-shadow .4s; }
.b3:hover .gl { transform: rotate(-10deg) scale(1.06); box-shadow: inset 0 0 0 5px rgba(7, 8, 15, .9), inset 0 0 0 6px var(--gold), 0 0 30px rgba(201, 164, 92, .3); }
.tbl tr td { transition: background .25s; }
.tbl tr:hover td { background: rgba(201, 164, 92, .05); }
.tbl tr:hover .gl { color: #fff3cf; }
.contents li .roman { transition: color .3s, transform .3s; }
.contents li:hover .roman { color: var(--gold2); transform: translateX(4px); }
.stats b { transition: filter .4s; }
.stats div:hover b { filter: drop-shadow(0 0 14px rgba(236, 210, 144, .35)); }
.report .side li a { transition: color .25s, padding .25s; }
.report .side li a:hover { padding-left: 6px; }
.ticker:hover .tr { animation-play-state: paused; }
.pill { transition: color .3s; }
.pill:hover { color: #fff3cf; }
.faq summary { transition: color .25s; }
.faq summary:hover { color: var(--gold2); }
.nav a { position: relative; transition: color .25s; }
.nav a:not(.mylink)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0);
  transform-origin: left; transition: transform .35s ease; }
.nav a:not(.mylink):hover::after { transform: scaleX(1); }
.price-card .seal { transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.price-card:hover .seal { transform: rotate(72deg); }
.mylist .gl { transition: transform .5s cubic-bezier(.2, .9, .3, 1.3); }
.mylist a:hover .gl { transform: rotate(-12deg) scale(1.06); }
.month { transition: background .4s; }
.month:hover { background: linear-gradient(90deg, rgba(201, 164, 92, .035), transparent 70%); }

/* появление при прокрутке (fx.js): только то, что ниже первого экрана */
html.fx .rv:not(.in) { opacity: 0; }
.rv.in:not(.now) { animation: rvin .9s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: var(--d, 0s); }
@keyframes rvin { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .rv.in, .wheel.live .asp, .wheel.live .pt, .gcard { animation: none !important; }
  .astro .frame, .astro .inner, .ticker .tr, .calc .orb .ring1, .calc .orb .ring2, .gcard .ring svg, .gopen .ring svg, .gift-art .tw,
  .gift-art svg, .shimmer, .status .dot, .chlist li.now i, .xst.run i { animation: none !important; }
  .wheel.live .asp { stroke-dashoffset: 0; }
  html.fx .rv:not(.in) { opacity: 1; }
}
.tier input, .pack input, .check input { color-scheme: dark; }
.giftnote.gifted { max-width: 760px; margin: 26px auto 0; justify-content: center; text-align: left; }
.giftnote.gifted em { display: block; color: var(--ivory); margin-top: 4px; }

/* ---------------------------------------------------------------- доверие: счётчик, оценка, отзывы; закреплённая кнопка; веер у цены */
.trustline { display: flex; gap: 10px; align-items: center; margin: 14px 0 0; font: italic 17px var(--serif); color: var(--gold2); }
.trustline .g { color: var(--gold); font-size: 13px; }
.stars { display: inline-flex; gap: 2px; font-size: 15px; line-height: 1; letter-spacing: 0; }
.stars i { font-style: normal; color: rgba(201, 164, 92, .25); }
.stars i.on { color: var(--gold2); }
.rating-line { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 14px 0 0; font: italic 17px var(--serif); color: var(--muted); }
.price-card .rating-line { margin-top: 10px; }
.reviews .head { margin-bottom: 48px; }
.rcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rcards.two { grid-template-columns: 1fr; gap: 14px; margin-top: 10px; }
.rcard { margin: 0; padding: 28px 28px 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .4s ease, border-color .4s; }
.rcard:hover { transform: translateY(-3px); border-color: rgba(201, 164, 92, .24); }
.rcard:hover::after { --c: 36px; }
.rcard blockquote { margin: 0; font: italic 18.5px/1.6 var(--serif); color: var(--ivory); overflow-wrap: anywhere; }
.rcard blockquote::before { content: "“"; font: 400 46px/0 var(--display); color: var(--gold); vertical-align: -.36em; margin-right: 4px; }
.rcard figcaption { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font: 15px var(--sans); color: var(--muted); }
.rcard figcaption b { color: var(--ivory); font-weight: 600; }
.rcard figcaption .gl { color: var(--gold2); }
.rcard figcaption em { margin-left: auto; font: italic 14px var(--serif); color: var(--dim); }
.rv-note { margin-top: 26px; }
.rv-k { margin: 40px 0 6px; }
@media (max-width: 900px) { .rcards { grid-template-columns: 1fr; } }
.review-box { max-width: 760px; margin: 10px 0 100px; padding: 40px 38px 34px; text-align: center; }
.review-box h3 { font-size: 34px; font-weight: 500; }
.review-box textarea { min-height: 96px; font-size: 18px; margin-top: 8px; }
.review-box .check { justify-content: center; text-align: left; }
.review-box .rv-done p { font: italic 19px var(--serif); color: var(--ivory); }
.review-box .rv-low { color: var(--muted); }
.rate { display: inline-flex; flex-direction: row-reverse; gap: 6px; margin: 8px 0 10px; }
.rate input { position: absolute; opacity: 0; pointer-events: none; }
.rate label { font-size: 40px; line-height: 1; cursor: pointer; color: rgba(201, 164, 92, .25); transition: color .2s, transform .25s cubic-bezier(.2, .9, .3, 1.4); }
.rate label:hover, .rate label:hover ~ label, .rate input:checked ~ label { color: var(--gold2); }
.rate label:hover { transform: scale(1.18); }
.rate input:focus-visible + label { outline: 1px solid var(--gold2); outline-offset: 3px; }
.stickybuy { display: none; }
@media (max-width: 760px) {
  .stickybuy { display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30;
    gap: 12px; align-items: center; justify-content: space-between; padding: 10px 10px 10px 16px; border: 1px solid var(--hair);
    background: linear-gradient(180deg, rgba(20, 22, 48, .96), rgba(10, 11, 26, .97)); backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .6); transform: translateY(14px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s, visibility 0s linear .45s; }
  /* iOS 26: нижняя панель Safari стеклянная и висит поверх страницы, сдвинутая вниз плашка просвечивала под ней. Скрытая
     плашка НЕ уезжает за край экрана (было translateY(160%)): фиксированный слой за нижней границей ломал снимки Chrome
     (шапка дублировалась внизу) и на телефонах может давать лишнюю прокрутку; прячем прозрачностью и небольшим сдвигом */
  .stickybuy.on { transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s, visibility 0s; }
  .stickybuy span { font: italic 15px/1.3 var(--serif); color: var(--muted); }
  .stickybuy span b { display: block; font: 600 10px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-style: normal; }
  .stickybuy .btn { flex: none; width: auto; height: 44px; padding: 0 18px; }
}
.fan.mini { max-width: 400px; aspect-ratio: 1 / .78; margin: 6px 0 4px; }
.fan.mini img { width: 50%; }
.fan-cap { margin: 0 0 30px; }
@media (max-width: 560px) { .fan.mini { max-width: 300px; } }
.fan-cap { color: var(--muted); }
#tiers, #review, #buy, #writing, #report, #extras, #btime, .xcard { scroll-margin-top: 96px; }

/* ---------------------------------------------------------------- валюта и lava.top */
.curs { display: inline-flex; gap: 2px; margin: 0 auto 14px; border: 1px solid var(--hair2); padding: 3px; }
.curs a { min-width: 34px; padding: 5px 8px; font: 600 13px var(--sans); color: var(--dim); text-align: center; transition: color .2s, background .2s; }
.curs a:hover { color: var(--ivory); }
.curs a.on { color: #1b1405; background: var(--foil); }
.gform .curs { display: flex; width: max-content; margin: 0 0 14px; }
.usd-only { display: block; margin-top: 4px; font: 600 9.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.card-na { margin: 0; text-align: center; }
#emodal .box { width: min(460px, 100%); }
#emodal input { margin: 16px 0 6px; }

/* переключатель языка: компактный список (7 языков) */
.langsw { position: relative; padding-left: 22px; border-left: 1px solid var(--hair2); }
.langsw summary { list-style: none; cursor: pointer; font: 600 11px var(--sans); letter-spacing: .16em; color: var(--gold2); padding: 6px 8px;
  display: flex; align-items: center; gap: 6px; }
.langsw summary::-webkit-details-marker { display: none; }
.langsw summary::after { content: ""; width: 6px; height: 6px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.langsw[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.langsw > div { position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; padding: 6px; z-index: 40; display: grid;
  background: linear-gradient(180deg, #14173a, #0c0e22); border: 1px solid var(--hair); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.langsw > div a { padding: 9px 12px; font: 16px var(--serif); color: var(--muted); letter-spacing: 0; text-transform: none; }
.langsw > div a:hover { color: var(--ivory); background: rgba(201, 164, 92, .08); }
.langsw > div a.on { color: var(--gold2); }
.nav .langsw > div a::after { display: none; }
@media (max-width: 820px) { .langsw { padding-left: 0; border: 0; } }

/* ---------------------------------------------------------------- 12.11: состояния и доступность (по ревью клиентской части) */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0; }                                   /* текст только для программ чтения («было», «стало») */
.offscreen { position: fixed; left: -9999px; top: 0; opacity: 0; }    /* временное поле для копирования в старых браузерах */
.step h2:focus, .modal h3:focus, .modal .box:focus { outline: none; } /* фокус на заголовок шага ставит скрипт, рамка там лишняя */
.insight h2 { font-size: 30px; font-weight: 600; }                    /* заголовки инсайтов стали h2 (после h1 шёл сразу h3) */
#emodal p.muted { font: italic 17px/1.5 var(--serif); }               /* как текст в остальных окнах, был один в Inter */
.btn.busy { opacity: .7; cursor: progress; }
.pdfnote { margin: 10px 0 0; color: var(--gold2); }
.sharebox .smsg { flex-basis: 100%; margin: 0; color: var(--gold2); }
.smsg:empty, .pdfnote:empty { display: none; }
/* время в формах допов: два списка, как в анкете (цифровая клавиатура телефона не даёт ввести двоеточие) */
.tsel { display: flex; gap: 10px; }
.tsel select { flex: 1; min-width: 0; }
.xform .row > .tsel { min-width: 200px; }
/* полоска внизу: «готова новая глава · обновить» (вместо перезагрузки, пока открыто окно оплаты или заполняется форма) и
   «дольше обычного» после предела опроса */
.rbar { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 70; display: flex;
  gap: 16px; align-items: center; width: max-content; max-width: calc(100% - 20px); padding: 10px 10px 10px 18px; border: 1px solid var(--hair);
  background: linear-gradient(180deg, rgba(20, 22, 48, .97), rgba(10, 11, 26, .98)); box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
  font: italic 17px/1.35 var(--serif); color: var(--ivory); }
.rbar .btn { flex: none; height: 44px; padding: 0 18px; }
/* «оплата прошла, подтверждаем»: встаёт на место кнопок оплаты после возврата с платёжной страницы */
.payconf { padding: 18px 18px 14px; border: 1px solid var(--hair); background: rgba(201, 164, 92, .06); text-align: left;
  scroll-margin-top: 110px; }                                          /* скрипт прокручивает к плашке: не под закреплённую шапку */
.payconf .status { padding: 0; margin: 0 0 8px; border: 0; color: var(--ivory); }
.payconf .status b { font: 600 18px/1.3 var(--serif); }
.payconf .fine { margin: 0 0 8px; text-align: left; }
.payconf.late .dot { animation: none; opacity: .45; }
.writing .payconf { max-width: 520px; margin: 18px auto 0; }
/* подарок: напоминание о сохранённой странице подарка и пояснение под полем почты */
.gsaved { max-width: 760px; margin: 22px auto 0; padding: 12px 18px; border: 1px solid var(--hair); background: rgba(201, 164, 92, .07);
  font: italic 18px/1.45 var(--serif); color: var(--ivory); text-align: center; }
.gsaved a { border-bottom: 1px solid var(--hair); }
.gform .fnote { margin: -6px 0 12px; }
/* страница покупателя, оплата ещё не подтверждена: строка состояния без линии сверху (линия от окна оплаты), под ней текст
   «дольше обычного» с контактом и кнопка «проверить ещё раз» */
#gwait { padding: 44px 34px; }
#gwait .status { justify-content: center; padding: 0; margin: 0; border: 0; }
#gwait .fine { max-width: 520px; margin: 16px auto 0; }
#gwait .fine a { color: var(--ivory); border-bottom: 1px solid var(--hair); }
#gwait .btn { margin-top: 18px; }
#gwait.late .dot { animation: none; opacity: .45; }
/* открытие подарка: строка выбора языка под кнопкой. Текущий язык светлый, остальные приглушены: главная здесь кнопка */
.gopen .glangs { margin: 22px 0 0; line-height: 2; }
.gopen .glangs a { color: var(--muted); border-bottom: 1px solid var(--hair2); padding: 2px 1px; }
.gopen .glangs a:hover { color: var(--gold2); border-color: var(--gold); }
.gopen .glangs b { color: var(--ivory); font-weight: 600; }
/* предпросмотр открытки: clip не делает блок прокручиваемым, поэтому при длинном сообщении карточка растёт, а не режет подпись
   (в Safari до 16 остаётся прежняя обрезка) */
.gcard { overflow: hidden; overflow: clip; }
.gcard .gname.long { font-size: clamp(30px, 3.2vw, 42px); }
.gcard .gmsg.long { font-size: 16px; line-height: 1.45; }
/* Большая тройка: строка под блоком, когда время рождения неизвестно и Солнце или Луна в этот день меняли знак */
.big3 .b3note { margin: 18px 0 0; max-width: 520px; }
/* время рождения, дописанное после анкеты: раскрывающаяся строка под «Асцендент: нужно время рождения» */
.big3 .btime { padding: 12px 0; border-bottom: 1px solid var(--hair2); }
.big3 .btime summary { color: var(--ivory); font-size: 18px; transition: color .25s; }
.big3 .btime summary:hover { color: var(--gold2); }
.big3 .btime .xform { margin: 8px 0 6px; max-width: 520px; }
.big3 .btime .fine { margin: 0; }
.big3 .btime .row { align-items: flex-end; }
.big3 .btime .row > .btn { flex: 1 0 auto; white-space: nowrap; }

/* зоны нажатия не меньше 44 px на сенсорных экранах. Размеры и вид прежние: область расширяет прозрачный слой */
@media (pointer: coarse) {
  .quiz .qtop .x, .quiz .back, .copyline button, .langsw summary, .curs a, .xst.ok, footer.foot .links a, .mylink, .textlink { position: relative; }
  .quiz .qtop .x::before, .quiz .back::before, .copyline button::before, .langsw summary::before, .curs a::before, .xst.ok::before,
  footer.foot .links a::before, .mylink::before, .textlink::before { content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 44px;
    min-width: 44px; transform: translate(-50%, -50%); }
  .curs a::before { min-width: 0; }                      /* соседние валюты стоят вплотную: расширяем только по высоте */
  .curs a { min-width: 44px; }
  .seg button, .linkbtn, .linkbox input { min-height: 44px; }
  details.opt-more summary { display: flex; align-items: center; gap: 4px; min-height: 44px; }
  .report .side li a { padding: 11px 0; }
  .rate label { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }
  .langsw > div a { padding: 12px; }
  .gopen .glangs { line-height: 3; }
  .gopen .glangs a { padding: 11px 4px; }
}

/* печать страницы из браузера (Ctrl+P): тёмный текст на белом, без фоновых слоёв, панелей и кнопок. Полноценный PDF даёт кнопка */
@media print {
  html, body { background: #fff !important; }
  body::before, body::after, header.top, footer.foot .links, .stickybuy, .rbar, .quiz, .modal, .wtip, .ticker, .sharebox, .paybtns, .linkbox,
  .curs, .side .btn, .inline-up, .extras, .gift-link, .exbar, .payconf { display: none !important; }
  body, body * { color: #1c1a33 !important; -webkit-text-fill-color: #1c1a33 !important; text-shadow: none !important; box-shadow: none !important;
    animation: none !important; }
  html.fx .rv:not(.in) { opacity: 1 !important; }
  .framed::after { display: none; }
  .framed, .cardx, .takeaways, .price-card, .xcard, .tier { background: none !important; border-color: #c9bd9d !important; }
  .report, .chartgrid, .buy, .grid2 { display: block; }
  .report .side, .price-card { position: static; max-height: none; }
  .report .side ol { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .chapter { margin-bottom: 36px; }
  a { text-decoration: underline; }
}
