/* Песнеслав — общие стили публичного сайта (04.12.2026). Без внешних шрифтов и CDN.
   Имена классов нейтральные (блокировщики режут partner/ref/promo/track и т. п.). */
:root {
  --c-orange: #ff9a3c;
  --c-coral: #f2546d;
  --c-violet: #8f5cf7;
  --c-sky: #3fb7f0;
  --accent: #7b4dff;
  --accent-dark: #5f33e0;
  --ink: #1f1633;
  --ink-2: #4a4160;
  --muted: #776e8c;
  --bg: #fffaf6;
  --bg-2: #fff3ec;
  --card: #ffffff;
  --line: #f1e4ea;
  --grad: linear-gradient(120deg, #ff9a3c 0%, #f2546d 34%, #8f5cf7 68%, #3fb7f0 100%);
  --grad-soft: linear-gradient(120deg, #fff0e2 0%, #ffe6ec 34%, #efe6ff 68%, #e2f5fe 100%);
  --shadow-sm: 0 2px 8px rgba(70, 30, 110, .06);
  --shadow: 0 10px 30px -12px rgba(90, 40, 140, .22), 0 2px 6px rgba(90, 40, 140, .05);
  --shadow-lg: 0 24px 60px -20px rgba(110, 50, 170, .38);
  --r: 20px;
  --r-sm: 14px;
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(34px, 5.6vw, 64px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* ── Шапка ─────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 246, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(241, 228, 234, .8);
}
.top__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(143, 92, 247, .35); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--accent); }
.top .btn { margin-left: 8px; }
@media (max-width: 900px) { .nav { display: none; } .top .btn { margin-left: auto; } }
@media (max-width: 359px) { .top .brand span { display: none; } }

/* ── Кнопки ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0;
  font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--main { color: #fff; background: var(--grad); background-size: 140% 100%; box-shadow: 0 10px 24px -10px rgba(242, 84, 109, .7); }
.btn--main:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(143, 92, 247, .7); background-position: 100% 0; }
.btn--ghost { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 2px var(--line), var(--shadow-sm); }
.btn--ghost:hover { color: var(--accent); box-shadow: inset 0 0 0 2px rgba(123, 77, 255, .45), var(--shadow-sm); }
.btn--white { color: var(--accent-dark); background: #fff; box-shadow: 0 10px 24px -12px rgba(40, 10, 70, .5); }
.btn--white:hover { color: var(--accent); transform: translateY(-1px); }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.btn--glass:hover { color: #fff; background: rgba(255, 255, 255, .26); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 16px 30px; font-size: 18px; }
@media (max-width: 480px) { .btn--lg { font-size: 17px; padding: 14px 20px; } }
.btn svg { width: 22px; height: 22px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── Секции ───────────────────────────────────────── */
.sec { padding: 88px 0; }
.sec--tint { background: var(--bg-2); }
.sec__head { max-width: 760px; margin: 0 0 40px; }
.sec__head--c { margin-left: auto; margin-right: auto; text-align: center; }
.sec__head p { font-size: 19px; color: var(--ink-2); }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-coral); margin-bottom: 10px; }
@media (max-width: 640px) { .sec { padding: 60px 0; } .sec__head { margin-bottom: 28px; } .sec__head p { font-size: 17px; } }

/* ── Hero ─────────────────────────────────────────── */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(40% 50% at 12% 20%, rgba(255, 154, 60, .28), transparent 70%),
    radial-gradient(35% 45% at 45% 0%, rgba(242, 84, 109, .2), transparent 70%),
    radial-gradient(40% 55% at 85% 25%, rgba(143, 92, 247, .26), transparent 70%),
    radial-gradient(35% 45% at 95% 85%, rgba(63, 183, 240, .22), transparent 70%);
  z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero__lead { font-size: 20px; color: var(--ink-2); max-width: 600px; margin-bottom: 30px; }
.hero__notes { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.hero__notes li::before { content: "✓"; color: var(--c-violet); font-weight: 900; margin-right: 6px; }
@media (max-width: 960px) {
  .hero { padding: 40px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__lead { font-size: 18px; }
}
@media (max-width: 480px) { .hero .btns .btn { width: 100%; } }

/* Иллюстрация: карточка песни (CSS, без картинок) */
.disc { position: relative; max-width: 440px; margin: 0 auto; width: 100%; }
.disc__card { position: relative; background: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--shadow-lg); transform: rotate(-1.5deg); }
.disc__cover {
  position: relative; aspect-ratio: 16 / 10; border-radius: 20px; background: var(--grad); overflow: hidden;
  display: flex; align-items: flex-end; padding: 18px; color: #fff;
}
.disc__cover::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -14%; top: -30%; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.disc__cover::after { content: ""; position: absolute; width: 40%; aspect-ratio: 1; left: -10%; bottom: -26%; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.disc__face { position: absolute; top: 18px; left: 18px; width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); }
.disc__tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.disc__tags span { background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45); padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.disc__row { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 12px; border-radius: 16px; background: #faf6ff; }
.disc__play { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.disc__play::before { content: ""; margin-left: 3px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.disc__row--2 .disc__play { background: var(--c-coral); }
.disc__meta { flex: 1; min-width: 0; }
.disc__meta b { display: block; font-size: 14px; }
.disc__meta small { color: var(--muted); font-size: 12px; }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; flex: 1; max-width: 130px; }
.wave i { flex: 1; border-radius: 3px; background: linear-gradient(var(--c-violet), var(--c-sky)); height: 40%; animation: wave 1.2s ease-in-out infinite; }
.disc__row--2 .wave i { background: linear-gradient(var(--c-orange), var(--c-coral)); animation-duration: 1.5s; }
.wave i:nth-child(2n) { animation-delay: -.3s; height: 70%; }
.wave i:nth-child(3n) { animation-delay: -.6s; height: 55%; }
.wave i:nth-child(5n) { animation-delay: -.9s; height: 90%; }
@keyframes wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.disc__sticker {
  position: absolute; z-index: 2; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow);
  font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.disc__sticker--a { top: -18px; right: -10px; transform: rotate(4deg); }
.disc__sticker--b { bottom: -20px; left: -14px; transform: rotate(-3deg); }
.disc__sticker em { font-style: normal; font-size: 20px; }
@media (max-width: 480px) { .disc__sticker--a { right: 0; } .disc__sticker--b { left: 0; } }
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; } html { scroll-behavior: auto; } }

/* ── Шаги ─────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: st; padding: 0; margin: 0; list-style: none; }
.step { position: relative; background: var(--card); border-radius: var(--r); padding: 26px 22px 24px; box-shadow: var(--shadow); counter-increment: st; }
.step::before {
  content: counter(st); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 16px;
  color: #fff; font-weight: 900; font-size: 20px; background: var(--grad);
}
.step:nth-child(2)::before { background: linear-gradient(135deg, #f2546d, #8f5cf7); }
.step:nth-child(3)::before { background: linear-gradient(135deg, #8f5cf7, #3fb7f0); }
.step:nth-child(4)::before { background: linear-gradient(135deg, #3fb7f0, #7b4dff); }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ── Чипы ─────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); font-weight: 650; font-size: 16px;
}
.chips li span { font-size: 20px; line-height: 1; }
.chips li.chip--own { background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(143, 92, 247, .25); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: var(--card); border-radius: 26px; padding: 30px; box-shadow: var(--shadow); }
.panel h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.panel > p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) { .pair { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .panel { padding: 22px 18px; } .chips li { padding: 8px 13px; font-size: 15px; } }

/* ── Карточки преимуществ ─────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.card__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--grad-soft); margin-bottom: 16px; }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ── Цены ─────────────────────────────────────────── */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: 26px; padding: 30px 26px; box-shadow: var(--shadow); }
.price--hot { background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 3px solid transparent; box-shadow: var(--shadow-lg); }
.price__tag { position: absolute; top: -14px; left: 26px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.price__name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.price__sum { font-size: 44px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; margin: 12px 0 2px; }
.price__sum small { font-size: 22px; font-weight: 800; }
.price__stars { font-weight: 700; color: var(--ink-2); }
.price__per { margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 15px; }
.price__per b { color: var(--ink); }
.price .btn { margin-top: auto; }
.price__per + .btn { margin-top: 22px; }
.free-line {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; margin: 34px auto 0; padding: 18px 22px;
  border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); max-width: 900px; font-weight: 650; color: var(--ink-2); font-size: 16px; text-align: center;
}
.free-line span { white-space: nowrap; }
.pay-ways { text-align: center; color: var(--muted); font-size: 15px; margin-top: 16px; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } .free-line span { white-space: normal; } }

/* ── Подарок / пригласить ─────────────────────────── */
.duo { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.gift { position: relative; overflow: hidden; border-radius: 30px; padding: 40px; color: #fff; background: var(--grad); box-shadow: var(--shadow-lg); }
.gift::after { content: "🎁"; position: absolute; right: -10px; bottom: -30px; font-size: 180px; opacity: .2; transform: rotate(-12deg); line-height: 1; }
.gift h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); }
.gift p, .gift li { color: rgba(255, 255, 255, .95); }
.gift ol { padding-left: 22px; margin: 0 0 24px; }
.gift li { margin-bottom: 6px; }
.gift > * { position: relative; z-index: 1; }
.invite { border-radius: 30px; padding: 36px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.invite__big { font-size: 56px; font-weight: 900; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.invite h3 { font-size: 24px; }
.invite p { color: var(--ink-2); font-size: 16px; }
.invite__more { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .gift, .invite { padding: 26px 20px; border-radius: 24px; } .gift .btns .btn { width: 100%; } }

/* ── FAQ ──────────────────────────────────────────── */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); margin-bottom: 12px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 750; font-size: 18px; position: relative; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad-soft); color: var(--accent); font-weight: 800; font-size: 20px; transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 22px 20px; color: var(--ink-2); }
.faq details > div p:last-child { margin-bottom: 0; }
@media (max-width: 480px) { .faq summary { font-size: 16px; padding: 16px 50px 16px 16px; } .faq details > div { padding: 0 16px 16px; } }

/* ── Финальный призыв ─────────────────────────────── */
.cta { position: relative; overflow: hidden; border-radius: 34px; padding: 56px 40px; text-align: center; color: #fff; background: var(--grad); box-shadow: var(--shadow-lg); }
.cta::before, .cta::after { content: "♪"; position: absolute; font-size: 160px; opacity: .14; line-height: 1; }
.cta::before { left: 4%; top: -10px; transform: rotate(-14deg); }
.cta::after { content: "♫"; right: 5%; bottom: -26px; transform: rotate(12deg); }
.cta h2 { color: #fff; }
.cta p { font-size: 19px; color: rgba(255, 255, 255, .95); max-width: 640px; margin: 0 auto 28px; }
.cta .btns { justify-content: center; position: relative; z-index: 1; }
@media (max-width: 480px) { .cta { padding: 40px 20px; border-radius: 26px; } .cta .btns .btn { width: 100%; } }

/* ── Документы и внутренние страницы ──────────────── */
.page { padding: 56px 0 80px; }
.page__head { margin-bottom: 32px; }
.page__head h1 { font-size: clamp(32px, 4.6vw, 52px); }
.lead { font-size: 20px; color: var(--ink-2); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.doc { background: #fff; border-radius: 26px; box-shadow: var(--shadow); padding: 44px 48px; font-size: 16px; line-height: 1.65; }
.doc h2 { font-size: 22px; margin: 34px 0 12px; letter-spacing: -.01em; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; }
.doc .edition { color: var(--muted); font-size: 15px; }
.doc-table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 15px; }
.doc-table th, .doc-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table th { color: var(--ink); background: #fbf7ff; font-weight: 750; }
@media (max-width: 640px) { .doc { padding: 26px 18px; border-radius: 20px; font-size: 15px; } .lead { font-size: 18px; } }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Партнёрская программа (классы earn-*) */
.earn-hero { position: relative; overflow: hidden; border-radius: 34px; padding: 52px 48px; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); margin-bottom: 40px; }
.earn-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); max-width: 760px; }
.earn-hero p { font-size: 20px; max-width: 700px; color: rgba(255, 255, 255, .95); }
.earn-hero::after { content: "10 %"; position: absolute; right: 3%; bottom: -36px; font-size: 200px; font-weight: 900; letter-spacing: -.05em; opacity: .14; line-height: 1; }
.earn-hero > * { position: relative; z-index: 1; }
.earn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0 0 8px; list-style: none; counter-reset: st; }
.earn-grid li { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); counter-increment: st; color: var(--ink-2); font-size: 16px; }
.earn-grid li::before { content: counter(st); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 900; margin-bottom: 12px; }
.earn-grid code { font: inherit; overflow-wrap: anywhere; color: var(--ink); }
.earn-grid b { color: var(--ink); display: block; margin-bottom: 4px; font-size: 17px; }
.earn-sec { margin: 56px 0 0; }
.earn-sec > h2 { font-size: clamp(26px, 3vw, 36px); }
.earn-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0; margin: 0; list-style: none; }
.earn-list li { background: #fff; border-radius: 18px; padding: 18px 20px 18px 54px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); position: relative; color: var(--ink-2); font-size: 16px; }
.earn-list li::before { content: attr(data-i); position: absolute; left: 16px; top: 16px; font-size: 24px; line-height: 1; }
.earn-list b { color: var(--ink); }
.earn-calc { background: #fff; border-radius: 26px; box-shadow: var(--shadow); padding: 28px; }
.earn-calc table { width: 100%; border-collapse: collapse; font-size: 16px; }
.earn-calc th, .earn-calc td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.earn-calc th { font-size: 14px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.earn-calc td b { color: var(--accent-dark); }
.earn-calc .note { margin: 18px 0 0; padding: 16px 18px; background: var(--grad-soft); border-radius: 16px; color: var(--ink-2); font-size: 16px; }
.earn-diff { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.earn-diff > div { background: #fff; border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.earn-diff h3 { display: flex; gap: 10px; align-items: center; }
.earn-diff p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 1000px) { .earn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .earn-hero { padding: 34px 22px; border-radius: 26px; }
  .earn-hero p { font-size: 18px; }
  .earn-hero::after { font-size: 120px; bottom: -16px; }
  .earn-hero .btns .btn { width: 100%; }
  .earn-grid, .earn-list, .earn-diff { grid-template-columns: 1fr; }
  .earn-calc { padding: 18px 14px; }
  .earn-calc table, .earn-calc tbody, .earn-calc tr, .earn-calc td { display: block; width: 100%; }
  .earn-calc thead { display: none; }
  .earn-calc tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .earn-calc td { border: 0; padding: 3px 4px; display: flex; justify-content: space-between; gap: 12px; }
  .earn-calc td::before { content: attr(data-l); color: var(--muted); font-size: 14px; }
  .earn-calc td:first-child { font-weight: 800; }
  .earn-calc td:first-child::before { content: none; }
}

/* Короткие страницы: оплата, 404 */
.msg { min-height: calc(100vh - 68px - 220px); display: grid; place-items: center; padding: 56px 0 72px; }
.msg__box { max-width: 560px; margin: 0 auto; text-align: center; background: #fff; border-radius: 30px; padding: 44px 32px; box-shadow: var(--shadow-lg); }
.msg__ico { width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-size: 44px; background: var(--grad-soft); }
.msg__ico--ok { background: var(--grad); }
.msg__box h1 { font-size: clamp(28px, 4vw, 38px); }
.msg__box p { color: var(--ink-2); font-size: 18px; }
.msg__box .btns { justify-content: center; margin-top: 26px; }
@media (max-width: 480px) { .msg__box { padding: 32px 18px; border-radius: 24px; } .msg__box .btns .btn { width: 100%; } }

/* ── Подвал ───────────────────────────────────────── */
.foot { background: #1d1430; color: rgba(255, 255, 255, .72); padding: 48px 0 36px; margin-top: 0; font-size: 15px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: #ffc6a1; }
.foot__grid { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; }
.foot .brand { color: #fff; margin-bottom: 10px; }
.foot .brand img { box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.foot__about { max-width: 380px; }
.foot__links { display: grid; grid-template-columns: repeat(2, minmax(160px, auto)); gap: 10px 40px; padding: 0; margin: 0; list-style: none; }
.foot__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .55); }
.foot__legal a { color: rgba(255, 255, 255, .8); }
@media (max-width: 560px) { .foot__links { grid-template-columns: 1fr; } }
.page-end { height: 88px; }
@media (max-width: 640px) { .page-end { height: 56px; } }
.top .btn { white-space: nowrap; }
@media (max-width: 420px) {
  .top__in { gap: 12px; }
  .top .brand { font-size: 18px; }
  .top .brand img { width: 36px; height: 36px; }
  .top .btn svg { display: none; }
}
