/* Дизайн-система v3: сдержанная, плоская, без градиентов и свечения. */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/Inter_400Regular.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/Inter_600SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/PlayfairDisplay_600SemiBold.ttf") format("truetype"); }

:root {
  color-scheme: light dark;
  --bg: #F6F3ED; --bg2: #EFEBE3; --surface: #FFFFFF; --surface2: #F1EDE6;
  --line: #E4DED3; --line2: #CFC7B9;
  --text: #16140F; --text2: #4F4A41; --text3: #6A645A;
  --brass: #7D5F2A; --brass-ink: #FFFDF8; --brass-line: rgba(125, 95, 42, 0.28);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-btn: 14px; --r-card: 16px;
  --gutter: 16px; --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C0B0A; --bg2: #11100E; --surface: #151412; --surface2: #1C1A17;
    --line: #2A2724; --line2: #3B3732;
    --text: #F1ECE3; --text2: #ABA396; --text3: #878073;
    --brass: #C6A76B; --brass-ink: #14110B; --brass-line: rgba(198, 167, 107, 0.28);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--line2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
p { margin: 0 0 14px; }

.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 10; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--r-btn); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 21px; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; font-size: 14px; }
.nav a { text-decoration: none; color: var(--text2); }
.nav a:hover { color: var(--text); }
.langs { display: flex; gap: 2px; list-style: none; margin: 0; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.langs a { display: block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--text2); text-decoration: none; }
.langs a[aria-current="true"] { background: var(--text); color: var(--bg); }
@media (max-width: 560px) { .nav { margin-left: 0; width: 100%; flex-wrap: wrap; gap: 10px 16px; } .langs { margin-left: auto; } .langs a { padding: 3px 9px; } }

/* Common */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin: 0 0 14px; }
section { padding: 56px 0; border-top: 1px solid var(--line); }
section.hero { border-top: 0; padding: 40px 0 56px; }
h2.sec { font-size: clamp(26px, 4.5vw, 36px); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn); font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid var(--text); background: var(--text); color: var(--bg); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line2); }

/* Hero */
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 8vw, 58px); line-height: 1.08; letter-spacing: -0.015em; margin-bottom: 18px; }
.hero .promise { font-size: 18px; color: var(--text2); max-width: 520px; margin-bottom: 26px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.coins { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1; margin: 0 auto; }
.coins svg { position: absolute; height: auto; }
.coins .coin-a { right: 0; top: 0; width: 76%; }
.coins .coin-b { left: 0; bottom: 0; width: 52%; }
.coin-t { font-family: var(--serif); font-weight: 600; }
.coin-s { font-family: var(--sans); font-weight: 600; }
@media (min-width: 820px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; } }

/* Logo */
.lg-ring { fill: none; stroke: var(--brass); }
.lg-disk { fill: var(--brass); }
.lg-inner { fill: none; stroke: var(--brass-ink); }
.lg-mark { fill: var(--brass-ink); font-family: var(--serif); font-weight: 600; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-card); padding: 22px; }
.steps li::before { content: counter(s); display: block; font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1; color: var(--brass); margin-bottom: 14px; }
.steps h3, .feats h3 { font-size: 19px; line-height: 1.25; margin-bottom: 6px; }
.steps p, .feats p { margin: 0; color: var(--text2); font-size: 15px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Features */
.feats { display: grid; gap: 14px; }
.feats > div { border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 22px; background: var(--surface); }
@media (min-width: 640px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .feats { grid-template-columns: repeat(3, 1fr); } }

/* Pricing */
.lead { color: var(--text2); max-width: 600px; font-size: 17px; margin: -12px 0 26px; }
.free { display: inline-block; border: 1px solid var(--brass-line); color: var(--brass); border-radius: 999px; padding: 6px 16px; font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.packs { display: grid; gap: 14px; }
.pack { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-card); padding: 22px; }
.pack .n { font-family: var(--serif); font-weight: 600; font-size: 52px; line-height: 1; }
.pack .u { color: var(--text2); font-size: 15px; margin: 4px 0 14px; }
.pack .name { font-weight: 600; }
.pack .tag { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass); border: 1px solid var(--brass-line); border-radius: 999px; padding: 2px 10px; }
.pack .tag:empty { display: none; }
.note { color: var(--text3); font-size: 14px; margin-top: 18px; }
@media (min-width: 700px) { .packs { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--text3); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--text2); padding-right: 36px; }

.disclaimer { color: var(--text3); font-size: 14px; max-width: 720px; }

/* Documents */
.doc { max-width: 740px; padding-top: 40px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 10px; }
.doc .meta { color: var(--text3); font-size: 14px; margin-bottom: 26px; }
.doc .operator { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-card); padding: 16px 20px; margin-bottom: 30px; font-size: 15px; }
.doc .operator p { margin: 0; }
.doc .operator p + p { margin-top: 4px; color: var(--text2); }
.doc h2 { font-size: 22px; line-height: 1.25; margin: 34px 0 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 14px; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--text3); }
.doc .faq { margin: 22px 0 36px; }
.doc .faq summary { font-family: var(--sans); }
.doc .contact-box { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-card); padding: 22px; margin-top: 30px; }
.doc .contact-box h2 { margin-top: 0; }
.doc .contact-box p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--text2); font-size: 14px; }
.site-footer .wrap { display: grid; gap: 22px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.site-footer p { margin: 0; color: var(--text3); }
.site-footer .copy { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* 404 */
.nf { padding: 72px 0; max-width: 560px; }
.nf h1 { font-size: 40px; margin-bottom: 14px; }
.nf .badges { margin-top: 22px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
