/* Крупный шрифт, высокий контраст, большие кнопки — сайт для взрослых и пожилых людей */
:root {
  --bg: #fbf6ef;
  --surface: #ffffff;
  --surface-2: #f4ece2;
  --text: #2a1d1f;
  --muted: #6d5c5e;
  --accent: #9b2c4a;
  --accent-ink: #ffffff;
  --accent-soft: #f6e3e8;
  --gold: #b9781f;
  --line: #e6d9cc;
  --ok: #2f7a4a;
  --shadow: 0 1px 2px rgba(60, 30, 20, .06), 0 8px 24px rgba(60, 30, 20, .06);
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #18120f;
    --surface: #231a17;
    --surface-2: #2c211d;
    --text: #f4ebe4;
    --muted: #bba9a2;
    --accent: #e0738f;
    --accent-ink: #1c0f12;
    --accent-soft: #3a2228;
    --gold: #e1a54d;
    --line: #3a2d28;
    --ok: #6fc28c;
    --shadow: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #18120f; --surface: #231a17; --surface-2: #2c211d; --text: #f4ebe4; --muted: #bba9a2;
  --accent: #e0738f; --accent-ink: #1c0f12; --accent-soft: #3a2228; --gold: #e1a54d; --line: #3a2d28;
  --ok: #6fc28c; --shadow: none; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 19px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img, audio { max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 7vw, 52px); letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 5vw, 34px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }

/* шапка */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
.logo { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 20px; }
.nav { display: flex; gap: 18px; font-size: 17px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
@media (max-width: 640px) { .nav { display: none; } }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px;
  padding: 0 26px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 650;
  text-decoration: none; cursor: pointer; transition: transform .08s ease, background .2s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-small { min-height: 48px; padding: 0 18px; font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .btn-row .btn { width: 100%; } }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

section { padding: 56px 0; scroll-margin-top: 64px; }
section + section { border-top: 1px solid var(--line); }

/* первый экран */
.hero { padding: 56px 0 48px; }
.hero .lead { font-size: 22px; max-width: 34em; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: var(--muted); font-size: 17px; }
.trust span::before { content: "✓ "; color: var(--ok); font-weight: 700; }

/* шаги */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 12px; }
.steps b { display: block; font-size: 20px; margin-bottom: 4px; }

/* примеры */
.samples { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.sample { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.sample figcaption { font-weight: 650; margin-bottom: 10px; }
.sample audio { width: 100%; }

/* цены */
.prices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.price { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.price.featured { border-color: var(--accent); }
.price .tag { display: inline-block; font-size: 15px; font-weight: 700; color: var(--accent); background: var(--accent-soft);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.price .amount { font-size: 40px; font-weight: 800; margin: 4px 0 12px; }
.price ul { margin: 0; padding-left: 1.1em; }
.price li { margin: 6px 0; }
.note { margin-top: 18px; font-size: 17px; color: var(--muted); }

/* блоки текста */
.cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

/* вопросы */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 650; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 26px; line-height: 1; }
details[open] summary::after { content: "−"; }
details > div { padding-bottom: 18px; }

/* реквизиты и подвал */
.req { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.req dt { color: var(--muted); }
.req dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .req { grid-template-columns: 1fr; } .req dd { margin-bottom: 8px; } }
footer { padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }

/* мини-приложение: «Мои песни» */
.my { display: none; padding: 28px 0 8px; }
body.in-max .my { display: block; }
body.in-max .top { position: static; }
.song { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; box-shadow: var(--shadow); }
.song h3 { margin-bottom: 4px; }
.song .meta { color: var(--muted); font-size: 17px; margin-bottom: 12px; }
.chip { display: inline-block; font-size: 15px; font-weight: 700; padding: 3px 12px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted); }
.chip.ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.track { margin: 14px 0; }
.track-label { font-weight: 650; margin-bottom: 6px; }
.track audio { width: 100%; margin-bottom: 8px; }
.lyrics { white-space: pre-wrap; font-size: 18px; }
.empty { text-align: center; padding: 28px 18px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.share { background: var(--accent-soft); border-radius: var(--radius); padding: 20px; margin: 18px 0 8px; }

/* документы */
.doc { max-width: 760px; padding-top: 32px; padding-bottom: 48px; }
.doc h1 { font-size: clamp(28px, 6vw, 38px); }
.doc h2 { font-size: 23px; margin-top: 1.6em; }
.doc ol, .doc ul { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.back { display: inline-block; margin-bottom: 18px; text-decoration: none; font-weight: 600; }
body.in-max .back { display: none; }
.draft { background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; font-size: 16px; }
