:root {
  --ink: #031018;
  --panel: rgba(4, 24, 44, 0.86);
  --line: rgba(94, 210, 235, 0.32);
  --paper: #f3ecdf;
  --muted: #b7b1a6;
  --gold: #e4b56a;
  --teal: #3dbeae;
  --heading: #f3ecdf;
  --link: #e4b56a;
  --soft: #b7b1a6;
  --price: #f3ecdf;
  --font: Arial, Helvetica, sans-serif;
  --heading-font: Arial, Helvetica, sans-serif;
  --size: 17px;
  --h1: 52px;
  --h1-image: none;
  --h1-clip: border-box;
  --h1-color: #f3ecdf;
  --h1-fill: #f3ecdf;
  --h1-style: normal;
  --h1-case: none;
  --h1-line: 0;
  --h1-pad: 0;
  --header: rgba(3, 16, 32, 0.82);
  --nav-bg: transparent;
  --nav-line: transparent;
  --nav-text: #b7b1a6;
  --nav-here: #f3ecdf;
  --nav-radius: 0;
  --nav-shadow: none;
  --logo: brightness(0) invert(0.92);
  --card: rgba(4, 24, 44, 0.86);
  --card-border: 1px solid rgba(94, 210, 235, 0.32);
  --frame: none;
  --shadow: none;
  --radius: 16px;
  --btn-bg: #e4b56a;
  --btn-color: #1a1206;
  --btn-width: 0;
  --btn-border: transparent;
  --btn-radius: 999px;
  --btn-shadow: none;
  --btn-size: 16px;
  --btn-weight: 400;
  --scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  color: var(--paper);
  background: #01060b url("../imgs/fon.svg?v=3") center / cover no-repeat fixed;
  font: 17px/1.5 Arial, Helvetica, sans-serif;
}
a { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; font-weight: 400; }
h1, h2 { text-align: center; }
h1 { margin: 0 0 12px; font-size: 52px; letter-spacing: -0.03em; }
h2 { margin: 0 0 14px; font-size: 32px; }
h3 { margin: 0 0 8px; font-size: 20px; }
p { margin: 0 0 12px; }

.wrap { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.top { position: sticky; top: 0; z-index: 2; background: var(--header); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; display: block; filter: brightness(0) invert(0.92); }
nav { display: flex; flex-wrap: wrap; gap: 14px 18px; }
nav a { color: var(--muted); text-decoration: none; }
nav a.here, nav a:hover { color: var(--paper); }
.menu-check, .menu-button { display: none; }

main { padding: 48px 0 24px; }
.hero { padding-bottom: 28px; }
.hero .kicker, .hero h1, .hero .lead { text-align: center; }
.kicker { margin: 0 0 10px; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }
.lead { max-width: 680px; margin-left: auto; margin-right: auto; color: var(--muted); font-size: 20px; }
.platforms { margin: 48px 0; text-align: center; font-size: 28px; line-height: 1.35; }

.notice, .warn {
  margin: 36px 0 22px;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 15px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.warn { border-color: rgba(94, 210, 235, 0.55); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.platform {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
}
.platform img { border-radius: 12px; }
.platform span { margin-top: auto; color: var(--gold); }

.posters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  margin-top: 48px;
}
.posters-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.poster { margin: 0; }
.poster a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  padding: 10px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: zoom-in;
}
.poster img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 8px;
}
.poster figcaption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
dialog.lightbox[open] {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox::backdrop { background: rgba(2, 10, 20, 0.86); }

.release {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 18px;
  margin: 0 0 22px;
}
.points { display: grid; gap: 10px; margin: 18px 0 8px; padding: 0; list-style: none; }
.points li { padding-left: 16px; border-left: 2px solid rgba(94, 210, 235, 0.7); }

.licenses { margin-top: 36px; }
.quiet { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.card p { color: var(--muted); font-size: 15px; }
.buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.button {
  display: inline-block;
  padding: 8px 14px;
  color: #1a1206;
  background: var(--gold);
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font: 16px Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.help h2 { margin-bottom: 20px; }
.help h3 { text-align: center; margin-bottom: 0; }
.help-lessons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 40px;
  text-align: left;
}
.help-lessons article {
  padding: 20px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.help-lessons h3 { margin-bottom: 14px; }
.help-lessons a { display: block; margin: 10px 0; }
.help-android { margin-top: 88px; }
.help-videos {
  display: grid;
  gap: 48px;
  max-width: 860px;
  margin: 32px auto 24px;
}
.help-videos figure { margin: 0; }
.help-videos figcaption { margin: 0 0 14px; text-align: center; }
.help-videos video {
  width: 100%;
  border-radius: 16px;
  background: #000;
  border: 1px solid var(--line);
}
.feedback {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px;
}
.feedback label { display: grid; gap: 6px; color: var(--muted); font-size: 14px; text-align: left; }
.feedback input, .feedback textarea {
  width: 100%;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font: 16px Arial, Helvetica, sans-serif;
}
.feedback textarea { min-height: 140px; resize: vertical; }
.feedback .trap { position: absolute; left: -9999px; }
.feedback-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.feedback-note { max-width: 640px; margin: 28px auto 0; color: var(--muted); text-align: center; }
.form-note { text-align: center; }
.foot {
  padding: 22px 0 32px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.foot p { margin: 0; }

.songs h1 { margin: 0 0 8px; font-size: 28px; }
.song-note { margin: 0 0 18px; color: var(--muted); font-size: 16px; text-align: center; }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 10px 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
}
.songs .field { flex: 0 1 148px; width: auto; }
.songs .field input,
.songs .field select { width: 100%; }
.songs .field.plus-check { flex: 0 0 auto; }
.field { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 14px; }
.field input, .field select {
  width: 100%;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font: 16px Arial, Helvetica, sans-serif;
}
.catalog { padding: 16px; }
.plus-check {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  align-self: end;
  min-height: 42px;
  color: var(--paper);
  font-size: 16px;
  cursor: pointer;
}
.field.plus-check input {
  position: absolute;
  opacity: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
}
.plus-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid #5a3d80;
  background: var(--ink);
  color: transparent;
  font-weight: 700;
  line-height: 1;
}
.plus-check input:checked + .plus-box {
  background: #3d2a52;
  color: #d4a8ff;
}
.plus-check input:focus-visible + .plus-box { outline: 2px solid var(--gold); outline-offset: 2px; }
.songsheet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.song-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.singer-card {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.singer-card th {
  padding: 8px 10px;
  text-align: center;
  font-weight: 400;
  font-size: 18px;
  background: rgba(46, 170, 200, 0.22);
}
.singer-card td { padding: 7px 10px; border-top: 1px solid var(--line); }
.singer-card td.marks { width: 36px; text-align: right; white-space: nowrap; }
.song-icon.plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2em;
  padding: 0.05em 0.28em;
  border: 1px solid #5a3d80;
  border-radius: 0.25em;
  background: #3d2a52;
  color: #d4a8ff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}
.song-status { margin: 14px 0 0; color: var(--muted); }

main.shop {
  width: min(1100px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
  padding: 48px 0 40px;
}
.shop h2 { margin: 48px 0 18px; }
.note, .sbp {
  margin: 0 auto 28px;
  max-width: 760px;
  color: var(--muted);
  text-align: center;
}
.sbp {
  padding: 16px 18px;
  color: var(--paper);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.group-note { margin: 0 0 22px; color: var(--muted); text-align: center; }
.shop .cards { gap: 18px; margin-top: 8px; }
.card.picked { border-color: var(--gold); outline: none; }
.order {
  display: grid;
  gap: 16px;
  max-width: 560px;
  margin: 64px auto 12px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: none;
}
.order h2 { margin: 0; font-size: 26px; }
.order .about { margin: 0; color: var(--muted); text-align: center; }
.order label { display: grid; gap: 6px; color: var(--muted); font-size: 14px; text-align: left; }
.order input {
  width: 100%;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: 16px Arial, Helvetica, sans-serif;
}
.order .button { justify-self: center; padding: 10px 18px; }
.total { margin: 4px 0 0; text-align: center; font-size: 20px; }
.order.hidden, .order label.hidden { display: none; }
.renew {
  display: grid;
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
  margin-top: 72px;
}
.renew .card form { display: grid; gap: 14px; }
.renew .card label { display: grid; gap: 6px; color: var(--muted); font-size: 14px; text-align: left; }
.renew .card input {
  width: 100%;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}
.renew .card .button { justify-self: start; }
.summary { width: min(640px, 100%); margin: 12px auto 28px; border-collapse: collapse; }
.summary td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.summary td:last-child { text-align: right; }
.pay-mail {
  max-width: 640px;
  margin: 28px auto 8px;
  padding: 16px 18px;
  text-align: center;
  color: var(--paper);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: none;
}
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 18px 0; }
.actions form { margin: 0; }
.error { color: #f0b4a8; text-align: center; }
.back { text-align: center; margin-top: 28px; }

@media (max-width: 900px) {
  h1 { font-size: 34px; }
  .lead, .platforms { font-size: 18px; }
  .wrap, main.shop { width: min(1100px, calc(100% - 24px)); }
  main { padding-top: 28px; }
  main.shop { padding-top: 28px; }
  .nav { flex-wrap: wrap; min-height: 60px; padding: 8px 0; }
  .brand img { height: 40px; }
  .menu-button {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    padding: 8px 16px;
    color: var(--paper);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    font: 16px Arial, Helvetica, sans-serif;
    cursor: pointer;
  }
  .menu-check:focus-visible + .menu-button { outline: 2px solid var(--gold); outline-offset: 2px; }
  .menu-check:checked + .menu-button { color: #1a1206; background: var(--gold); border-color: var(--gold); }
  nav { display: none; flex: 1 0 100%; flex-direction: column; gap: 0; padding: 4px 0 8px; }
  .menu-check:checked ~ nav { display: flex; }
  nav a { padding: 12px 2px; border-top: 1px solid var(--line); }
  .split, .cards, .help-lessons, .posters, .posters-3 { grid-template-columns: 1fr; }
  .posters { gap: 16px; }
  .poster a { height: 200px; }
  .songsheet { flex-direction: column; }
  .summary td { word-break: break-word; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .button { text-align: center; }
}
