@font-face { font-family: "PT Serif"; src: url("/static/fonts/PTSerif-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PT Serif"; src: url("/static/fonts/PTSerif-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Marck Script"; src: url("/static/fonts/MarckScript-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --ink: #0f0819; --night: #160b27; --deep: #1f1137; --violet: #2d1a52; --violet2: #3f2672; --plum: #5a3a99;
  --gold: #d8b25a; --gold2: #f1d98f; --gold3: #9c7a32; --text: #f2ecfb; --dim: #b7a8d3; --mute: #8a7aa8;
  --bad: #ff8592; --ok: #79d9a4; --warn: #f1c45b;
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --script: "Marck Script", "Segoe Script", cursive;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 17px/1.6 system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--ink);
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(241,217,143,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(ellipse at 50% -20%, #3a1f6b 0%, var(--night) 45%, var(--ink) 100%);
  background-size: 260px 260px, 340px 340px, 420px 420px, 300px 300px, 100% 100%;
  background-attachment: fixed;
}
a { color: var(--gold2); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0; }
.caps { text-transform: uppercase; letter-spacing: .14em; }
.script { font-family: var(--script); color: var(--gold2); font-size: 1.35em; letter-spacing: 0; text-transform: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.12em; }

/* ---------- шапка ---------- */
.testbar { background: #3b2a0f; color: var(--warn); text-align: center; font-size: 14px; padding: 6px 12px; }
header.site { position: sticky; top: 0; z-index: 20; background: rgba(15, 8, 25, .82); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(216, 178, 90, .18); }
header.site .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; font-family: var(--serif);
  font-size: 19px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.brand .medal { width: 38px; height: 38px; font-size: 22px; }
nav.top { display: flex; gap: 6px; margin-left: auto; }
nav.top a { white-space: nowrap; color: var(--dim); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 15px; }
nav.top a:hover, nav.top a.on { color: var(--gold2); background: rgba(216, 178, 90, .1); }
nav.top a.cta { color: var(--ink); background: var(--gold); font-weight: 600; }
nav.top a.cta:hover { background: var(--gold2); }
details.menu { display: none; margin-left: auto; }
details.menu summary { list-style: none; cursor: pointer; color: var(--gold2); font-size: 26px; padding: 4px 8px; }
details.menu summary::-webkit-details-marker { display: none; }
details.menu[open] nav { display: flex; }
details.menu nav { position: absolute; left: 0; right: 0; top: 64px; display: none; flex-direction: column; padding: 10px 16px 18px;
  background: var(--night); border-bottom: 1px solid rgba(216, 178, 90, .25); }
details.menu nav a { color: var(--text); text-decoration: none; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 17px; }

/* ---------- медальон и элементы ---------- */
.medal { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: var(--gold2);
  background: radial-gradient(circle at 35% 30%, #4b2d86, #1d0f36 70%);
  box-shadow: 0 0 0 1px var(--gold3), 0 0 0 4px rgba(216,178,90,.12), inset 0 0 18px rgba(241,217,143,.15); font-size: 34px; flex: none; }
.medal.lg { width: 112px; height: 112px; font-size: 62px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(216, 178, 90, .55); color: var(--gold2);
  border-radius: 999px; padding: 4px 14px; font-size: 14px; letter-spacing: .04em; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--gold); margin: 0 auto; max-width: 360px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold3), transparent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #1b0d30; border: 0; border-radius: 999px; padding: 13px 26px; font: 600 16px/1.2 inherit; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 24px rgba(216, 178, 90, .22); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(216, 178, 90, .32); }
.btn.ghost { background: transparent; color: var(--gold2); border: 1px solid var(--gold); box-shadow: none; }
.btn.ghost:hover { background: rgba(216, 178, 90, .1); }
.btn.sm { padding: 9px 18px; font-size: 15px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
main { padding: 0 0 40px; }
section.block { padding: 56px 0 8px; }
.head { text-align: center; margin-bottom: 28px; }
.head h2 { font-size: 30px; color: var(--gold); text-transform: uppercase; letter-spacing: .14em; }
.head p { color: var(--dim); margin: 10px auto 0; max-width: 640px; }
.head .divider { margin-top: 12px; }

/* ---------- главный экран ---------- */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; padding: 48px 0 20px; }
.hero h1 { font-size: 54px; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; margin: 18px 0 2px;
  text-shadow: 0 2px 30px rgba(216, 178, 90, .25); }
.hero .script { font-size: 34px; display: block; margin-bottom: 18px; }
.lead { color: var(--dim); font-size: 19px; max-width: 560px; }
.hero .row { margin-top: 26px; }
.facts { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; color: var(--mute); font-size: 14px; }
.facts b { color: var(--gold2); font-weight: 600; display: block; font-size: 15px; }
.arch { position: relative; border-radius: 120px 120px var(--radius) var(--radius); padding: 6px;
  background: linear-gradient(180deg, var(--gold2), var(--gold3) 60%, transparent); }
.arch img { display: block; width: 100%; border-radius: 114px 114px 12px 12px; }
.arch .badge { position: absolute; left: -18px; bottom: 34px; }

/* ---------- знаки ---------- */
.signs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.sign { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 8px 14px; text-decoration: none; color: var(--text);
  border-radius: var(--radius); background: linear-gradient(180deg, rgba(63, 38, 114, .55), rgba(31, 17, 55, .7));
  border: 1px solid rgba(216, 178, 90, .18); transition: border-color .15s, transform .15s; }
.sign:hover, .sign.on { border-color: var(--gold); transform: translateY(-2px); }
.sign .medal { width: 54px; height: 54px; font-size: 28px; }
.sign b { font-family: var(--serif); font-weight: 400; font-size: 17px; }
.sign small { color: var(--mute); font-size: 12px; }

/* ---------- карточки ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(45, 26, 82, .9), rgba(22, 11, 39, .95)); border: 1px solid rgba(216, 178, 90, .2);
  transition: border-color .15s, transform .15s; }
.card:hover { border-color: rgba(216, 178, 90, .6); transform: translateY(-2px); }
.cover { display: grid; place-items: center; height: 150px; color: var(--gold2); font-size: 64px;
  background: radial-gradient(circle at 50% 40%, rgba(241, 217, 143, .18), transparent 55%),
              linear-gradient(160deg, var(--plum), var(--violet) 55%, var(--deep)); border-bottom: 1px solid rgba(216, 178, 90, .25); }
.cover .icon { stroke-width: 1.1; filter: drop-shadow(0 0 12px rgba(241, 217, 143, .35)); }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 20px; color: var(--gold2); margin-bottom: 6px; }
.card p { color: var(--dim); margin: 0 0 14px; font-size: 15px; flex: 1; }
.card .tag { position: absolute; top: 12px; left: 12px; background: rgba(15, 8, 25, .6); }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { color: var(--gold2); font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.card.free .price { font-family: inherit; font-size: 15px; color: var(--ok); }
a.card { text-decoration: none; color: inherit; }

/* ---------- небо сейчас ---------- */
.sky { display: grid; grid-template-columns: 420px 1fr; gap: 32px; align-items: center; }
.wheel { width: 100%; max-width: 420px; display: block; margin: 0 auto; }
.wheel .w-outer { fill: rgba(45, 26, 82, .55); stroke: var(--gold); stroke-width: 1.4; }
.wheel .w-line { fill: none; stroke: rgba(216, 178, 90, .55); stroke-width: 1; }
.wheel .w-core { fill: rgba(15, 8, 25, .6); stroke: rgba(216, 178, 90, .55); }
.wheel .w-tick { stroke: rgba(216, 178, 90, .35); stroke-width: 1; }
.wheel .w-mark { stroke: var(--gold2); stroke-width: 1.6; }
.wheel text { text-anchor: middle; dominant-baseline: central; font-family: "Segoe UI Symbol", "DejaVu Sans", "Noto Sans Symbols", system-ui, sans-serif; }
.wheel .w-sign { fill: var(--gold); font-size: 17px; }
.wheel .w-planet { fill: var(--text); font-size: 19px; }
.wheel .w-center { fill: var(--gold2); font-size: 22px; }
table.planets { width: 100%; border-collapse: collapse; font-size: 16px; }
table.planets td { padding: 8px 6px; border-bottom: 1px solid rgba(216, 178, 90, .14); }
table.planets td.g { color: var(--gold2); width: 32px; font-size: 20px; text-align: center; }
table.planets td.r { color: var(--warn); font-size: 13px; text-align: right; }
.moon { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.moon .medal { font-size: 32px; }
.note { color: var(--mute); font-size: 14px; }

/* ---------- шаги и доверие ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { text-align: center; padding: 22px 18px; border-radius: var(--radius); border: 1px solid rgba(216, 178, 90, .18);
  background: rgba(31, 17, 55, .6); }
.step .medal { font-family: var(--serif); font-size: 28px; margin-bottom: 10px; }
.step h3 { color: var(--gold2); font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--dim); margin: 0; font-size: 15px; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust div { padding: 16px; border-left: 2px solid var(--gold3); color: var(--dim); font-size: 15px; }
.trust b { display: block; color: var(--gold2); font-family: var(--serif); font-weight: 400; font-size: 18px; margin-bottom: 4px; }

/* ---------- внутренние страницы ---------- */
.page-head { text-align: center; padding: 44px 0 22px; }
.page-head .medal { margin-bottom: 14px; }
.page-head h1 { font-size: 38px; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; }
.page-head p { color: var(--dim); max-width: 640px; margin: 10px auto 0; font-size: 18px; }
.panel { background: linear-gradient(180deg, rgba(45, 26, 82, .75), rgba(22, 11, 39, .85)); border: 1px solid rgba(216, 178, 90, .22);
  border-radius: var(--radius); padding: 22px 24px; margin: 16px 0; }
.narrow { max-width: 760px; margin: 0 auto; }
.panel h3 { color: var(--gold2); font-size: 21px; margin-bottom: 8px; }
.result { border-color: rgba(216, 178, 90, .55); box-shadow: 0 0 40px rgba(216, 178, 90, .08); }
.big { font-size: 72px; color: var(--gold2); font-family: var(--serif); line-height: 1; text-shadow: 0 0 30px rgba(241, 217, 143, .35); }
code, .calc { font-family: Consolas, "Courier New", monospace; font-size: 15px; color: var(--gold2); }
form.f label { display: block; margin: 14px 0 6px; color: var(--dim); font-size: 15px; }
form.f input[type=text], form.f input[type=email] {
  width: 100%; max-width: 440px; background: rgba(15, 8, 25, .75); color: var(--text); border: 1px solid #4d3480; border-radius: 12px;
  padding: 12px 14px; font: inherit; transition: border-color .15s, box-shadow .15s; }
form.f input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216, 178, 90, .18); }
form.f input:disabled { opacity: .45; }
form.f .check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; color: var(--dim); font-size: 15px; }
form.f .check input { margin-top: 5px; accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
form.f .check label { margin: 0; }
fieldset { border: 1px solid rgba(216, 178, 90, .25); border-radius: var(--radius); padding: 8px 20px 20px; margin: 16px 0; }
legend { color: var(--gold); padding: 0 8px; font-family: var(--serif); text-transform: uppercase; letter-spacing: .1em; font-size: 15px; }
.error { background: #3a1420; border: 1px solid var(--bad); color: var(--bad); padding: 12px 16px; border-radius: 12px; margin: 14px 0; }
.ok { color: var(--ok); }
.periods { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 18px 0; }
.suggest { position: relative; max-width: 440px; }
.suggest ul { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; list-style: none; margin: 4px 0 0; padding: 4px;
  background: var(--violet); border: 1px solid var(--gold); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.suggest li { padding: 9px 12px; cursor: pointer; border-radius: 8px; }
.suggest li:hover { background: var(--violet2); }
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { color: var(--gold); font-size: 22px; margin: 28px 0 8px; }
.legal p, .legal li { color: #e3daf2; }
.summary { display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; align-items: center; }

/* ---------- подвал ---------- */
footer.site { margin-top: 40px; border-top: 1px solid rgba(216, 178, 90, .18); background: rgba(15, 8, 25, .7); color: var(--mute); font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; padding: 34px 16px 10px; }
footer.site h4 { color: var(--gold); font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 10px; font-size: 14px; }
footer.site a { display: block; color: var(--dim); text-decoration: none; padding: 3px 0; }
footer.site a:hover { color: var(--gold2); }
footer.site .legalline { padding: 14px 16px 30px; border-top: 1px solid rgba(255,255,255,.05); }

@media (max-width: 1120px) {
  nav.top { display: none; }
  details.menu { display: block; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; text-align: center; }
  .hero .lead { margin: 0 auto; }
  .hero .row, .facts { justify-content: center; }
  .arch { max-width: 420px; margin: 0 auto; }
  .signs { grid-template-columns: repeat(4, 1fr); }
  .sky { grid-template-columns: 1fr; }
  .trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 36px; letter-spacing: .08em; }
  .hero .script { font-size: 27px; }
  .head h2, .page-head h1 { font-size: 25px; letter-spacing: .1em; }
  .signs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .sign { padding: 12px 4px 10px; }
  .sign .medal { width: 44px; height: 44px; font-size: 23px; }
  .sign b { font-size: 15px; }
  .steps3, .trust { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
  .panel { padding: 18px 16px; }
  .brand { font-size: 16px; letter-spacing: .12em; }
  .arch .badge { left: 6px; }
}

.legal h1 { color: var(--gold); font-size: 32px; text-transform: uppercase; letter-spacing: .1em; padding: 40px 0 8px; }
.page-head .pill.price { font-size: 22px; padding: 6px 22px; margin-top: 6px; }

/* ---------- баннер на главной: изображение с кликабельными зонами ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.banner { padding: 0 0 8px; }
.banner-img { position: relative; max-width: 1920px; margin: 0 auto; line-height: 0; }
.banner-img img { width: 100%; height: auto; display: block; }
.banner-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12%; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--ink)); }
.hot { position: absolute; z-index: 2; display: block; border-radius: 999px; transition: box-shadow .2s, background-color .2s; }
.hot.hk-fact { border-radius: 14px; }
.hot.hk-medal { border-radius: 50%; }
.hot:hover, .hot:focus-visible { background: rgba(241, 217, 143, .12); box-shadow: 0 0 0 2px rgba(241, 217, 143, .85), 0 0 28px rgba(241, 217, 143, .45); outline: none; }
.banner-mobile { display: none; text-align: center; padding-top: 18px; }
.banner-mobile .row { justify-content: center; margin: 16px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips .pill { text-decoration: none; padding: 7px 14px; }
@media (max-width: 760px) {
  .banner-mobile { display: block; }
  .hot.hk-fact, .hot.hk-pill { display: none; }
}
.hot.h0 { left:11.90%; top:59.68%; width:15.76%; height:9.50%; }
.hot.h1 { left:28.81%; top:59.68%; width:17.75%; height:9.50%; }
.hot.h2 { left:78.44%; top:12.18%; width:15.24%; height:9.74%; }
.hot.h3 { left:78.44%; top:23.14%; width:15.24%; height:9.14%; }
.hot.h4 { left:78.44%; top:33.50%; width:13.15%; height:8.89%; }
.hot.h5 { left:78.44%; top:43.61%; width:13.94%; height:9.01%; }
.hot.h6 { left:78.44%; top:53.84%; width:14.04%; height:9.26%; }
.hot.h7 { left:8.46%; top:77.95%; width:12.42%; height:12.18%; }
.hot.h8 { left:21.29%; top:77.95%; width:12.11%; height:12.18%; }
.hot.h9 { left:33.82%; top:77.95%; width:15.24%; height:12.18%; }
.hot.h10 { left:24.11%; top:4.63%; width:7.41%; height:17.30%; }

nav.top a.social { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; font-size: 20px; color: var(--gold2);
  border: 1px solid rgba(216, 178, 90, .45); }
.tgbox { display: grid; grid-template-columns: auto 1fr auto auto; gap: 22px; align-items: center; }
.qr { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.qr img { display: block; border-radius: 14px; box-shadow: 0 0 0 1px var(--gold3), 0 8px 30px rgba(0,0,0,.35); }
.tgbox p { margin: 0; color: var(--dim); }
@media (max-width: 980px) { .tgbox { grid-template-columns: auto 1fr; } .tgbox .row { grid-column: 1 / -1; } .tgbox .qr { display: none; } }
@media (max-width: 760px) { .tgbox { grid-template-columns: 1fr; text-align: center; justify-items: center; } .tgbox .row { justify-content: center; } }
/* Только исправление надписей, встроенных в прежний баннер. */
.banner-correction { position:absolute; z-index:3; background:#190f28; color:#eee7dc; line-height:1.35; font:clamp(4px,1.05vw,20px)/1.35 Arial,sans-serif; pointer-events:none; box-sizing:border-box; padding:.15% .2%; }
.banner-correction.price-copy { left:24.9%; top:83.5%; width:8.3%; height:6.5%; }
.banner-correction.delivery-copy { left:37.7%; top:83.5%; width:13%; height:6.5%; }

/* Accessible, text-first public website */
.skip-link{position:absolute;left:16px;top:-80px;z-index:100;background:#fff;color:#181023;padding:12px}.skip-link:focus{top:12px}
.site-hero{padding:84px 0 56px;max-width:900px}.site-hero h1{font-size:clamp(2.7rem,7vw,5.2rem);line-height:1.08;margin:20px 0}.site-hero .lead{max-width:700px}.eyebrow{text-transform:uppercase;letter-spacing:.13em;color:#d8b976}.channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.channel-grid .panel{margin:0}.site-info{padding-top:48px;padding-bottom:64px}.site-info h1{font-size:clamp(2rem,5vw,3rem)}.site-info details{padding:20px 0;border-bottom:1px solid #68566d}.site-info summary{cursor:pointer;font-weight:bold}.site-info p{max-width:75ch}.site-info li{margin:12px 0}a:focus-visible,summary:focus-visible,button:focus-visible{outline:3px solid #edc979;outline-offset:5px}@media(max-width:700px){.channel-grid{grid-template-columns:1fr}.site-hero{padding-top:44px}.site-hero .row{align-items:stretch;flex-direction:column}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
