:root {
  --bg: #f7f3ee;
  --card: #fffdf9;
  --ink: #1e1a24;
  --muted: #551935;
  --accent: #6b2d4a;
  --accent-soft: #8f3d62;
  --line: #e4ddd3;
  --shadow: 0 6px 24px rgba(30, 26, 36, 0.08);
  --topbar-h: 3.25rem;
}
* { box-sizing: border-box; }
img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}
table {
  max-width: 100%;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(165deg, var(--bg), #ebe6f0);
  color: var(--ink);
  line-height: 1.5;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(30, 26, 36, 0.04);
}
.topbar__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #6b2d4a;
  text-decoration: none;
  white-space: nowrap;
}
.topbar__brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.topbar__brand-text {
  line-height: 1.1;
  color: #6b2d4a;
}
.topbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  cursor: pointer;
}
.topbar__burger span {
  display: block;
  height: 2px;
  margin: 0 auto;
  width: 1.1rem;
  background: var(--ink);
  border-radius: 1px;
}
.topbar__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}
.topbar__nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}
.topbar__nav a:hover { color: var(--accent); }
.topbar__nav-cta {
  padding: 0.35rem 0.75rem !important;
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 8px;
}
.topbar__nav-cta:hover { filter: brightness(1.08); color: #fff !important; }
.topbar__nav-cta.topbar__nav--current {
  color: #fff !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4);
  cursor: default;
}
.topbar__nav-cta--light {
  background: #fffdf9 !important;
  color: var(--accent) !important;
  border: 2px solid var(--accent);
  font-weight: 700;
}
.topbar__nav-cta--light:hover {
  background: #f5eef2 !important;
  color: var(--accent) !important;
  filter: none;
}
.topbar__nav-cta--light.topbar__nav--current {
  background: #fff !important;
  color: var(--accent) !important;
  box-shadow: inset 0 0 0 1px var(--accent);
}
.page { max-width: 1100px; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
.hero {
  margin-bottom: 2.5rem;
  padding: 1rem 0 0.5rem;
  scroll-margin-top: calc(var(--topbar-h) + 0.75rem);
}
.hero--full .hero__copy--full {
  width: 100%;
  max-width: none;
}
.hero--full .hero__lead {
  max-width: none;
  width: 100%;
}
.hero-card {
  position: relative;
  margin-top: 0.25rem;
  padding: 1.35rem 1.5rem 1.45rem;
  border: 2px solid var(--accent);
  border-radius: 16px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(107, 45, 74, 0.08) 0%, transparent 55%),
    radial-gradient(90% 70% at 100% 100%, rgba(143, 61, 98, 0.07) 0%, transparent 50%),
    linear-gradient(135deg, #fffdf9 0%, #f4ebe8 100%);
  box-shadow: var(--shadow);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(107, 45, 74, 0.14);
  border-radius: 11px;
  pointer-events: none;
}
.hero-card .hero__lead {
  position: relative;
  z-index: 1;
}
.hero-card .hero__lead:last-child {
  margin-bottom: 0;
}
.hero-card .share-preview-hint {
  position: relative;
  z-index: 1;
}
.section--bigplus {
  scroll-margin-top: calc(var(--topbar-h) + 0.75rem);
}
.section--bigplus .hero-card {
  margin-top: 0;
}
.section--bigplus .section__title--bigplus {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  font-weight: 700;
  text-align: center;
}
.section--bigplus .hero__lead {
  max-width: none;
  width: 100%;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.section--bigplus .hero__lead:last-child {
  margin-bottom: 0;
}
.hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-soft);
}
.hero__headings {
  margin: 0 0 1rem;
  max-width: none;
  font: inherit;
}
.hero__heading-line {
  display: block;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: anywhere;
  font-size: clamp(0.92rem, 2.4vw + 0.72rem, 1.65rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--accent);
}
@media (min-width: 960px) {
  .hero__heading-line {
    white-space: nowrap;
    text-wrap: nowrap;
    line-height: 1.25;
  }
}
.hero__heading-line + .hero__heading-line {
  margin-top: 0.35rem;
}
.hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  line-height: 1.2;
  color: var(--accent);
}
.hero__tagline {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 3.6vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--accent);
  max-width: 22em;
}
.hero__title-line {
  display: block;
}
.hero__lead {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52em;
  line-height: 1.55;
}
.hero__lead--2 {
  margin-bottom: 0.75rem;
}
.hero-card .hero__lead--intro {
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 0.75rem;
}
.hero-card .hero__lead--heading {
  font-weight: 700;
  color: var(--muted);
  font-size: 1.3rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
  line-height: 1.55;
}
.hero__lead--heading + .hero__lead {
  margin-top: 0;
}
.hero__lead--3,
.hero__lead--4,
.hero__lead--5,
.hero__lead--6,
.hero__lead--7 {
  margin-bottom: 0.75rem;
}
.hero__lead--8 {
  margin-bottom: 1.25rem;
}
.hero--full .hero__headings {
  text-align: center;
}
.hero--full .hero__heading-line {
  font-size: clamp(0.92rem, 2.4vw + 0.72rem, 1.65rem);
}
.hero--full .hero__title {
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  max-width: 20em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}
.hero__meta { margin: 0; font-size: 0.85rem; color: var(--muted); }
.section { margin-bottom: 2.5rem; }
.section--how-offer,
.section--offer,
#order,
#order-form {
  scroll-margin-top: calc(var(--topbar-h) + 0.75rem);
}
.section__title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: var(--accent);
}
.section__title--catalog { margin-top: 0.25rem; }
.section__lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  max-width: 42em;
}
.section__lead--wide {
  max-width: none;
  width: 100%;
  font-size: 1.05rem;
  line-height: 1.55;
}
.share-preview-hint {
  position: relative;
  margin-left: 0.3em;
  white-space: nowrap;
}
.share-preview-hint__link {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.share-preview-hint__link:hover {
  color: var(--accent-soft);
}
.share-preview-hint__flyout {
  position: fixed;
  z-index: 10000;
  margin: 0;
  padding: 0.35rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(30, 26, 36, 0.22);
  line-height: 0;
  pointer-events: none;
}
.share-preview-hint__flyout img {
  display: block;
  max-width: min(380px, 92vw);
  width: auto;
  height: auto;
  border-radius: 8px;
}
.share-preview-hint--open .share-preview-hint__flyout {
  display: block;
}
.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(30, 26, 36, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card p .share-preview-hint {
  display: inline-block;
  margin-top: 0.4em;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.feature-card__ico {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.feature-card__ico--img {
  height: 40px;
  margin-bottom: 0.35rem;
}
.feature-card__ico--img img {
  display: block;
  width: auto;
  height: 40px;
  max-width: none;
  object-fit: contain;
}
.feature-card h3 { margin: 0 0 0.35rem; font-size: 0.98rem; }
.feature-card p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.benefit-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.how-offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 7px;
  padding: 7px;
  align-items: stretch;
}
.section--how-offer .section__title {
  margin-bottom: 7px;
  padding: 0 7px;
  text-align: center;
}
.steps--stack {
  grid-template-columns: 1fr;
  gap: 7px;
  height: 100%;
  min-width: 0;
}
.steps--stack .step {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 7px;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}
.steps--stack .step__num {
  margin: 0.1rem 0 0;
  flex-shrink: 0;
}
.steps--stack .step__body {
  flex: 1;
  min-width: 0;
}
.steps--stack .step__title {
  margin: 0;
  white-space: normal;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--accent);
}
.steps--stack .step__text {
  margin: 0.28rem 0 0;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.4;
}
.steps--stack .step__text:first-of-type {
  margin-top: 0.35rem;
}
.how-offer-grid .offer-box {
  height: 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 7px;
}
.section--how-offer .offer-box__main {
  width: 100%;
  box-sizing: border-box;
}
.section--how-offer .offer-box__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  line-height: 1.25;
  text-align: center;
}
.section--how-offer .offer-box__price-wrap {
  position: relative;
  margin: 0 0 16px;
  text-align: center;
  line-height: 1.1;
}
.section--how-offer .offer-box__price-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100%, 15rem);
  height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(107, 45, 74, 0.22) 0%, transparent 68%);
  animation: offer-price-glow 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.section--how-offer .offer-box__price {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0;
  font-size: clamp(1.65rem, 4.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(
    105deg,
    #1e1a24 0%,
    #6b2d4a 38%,
    #c2567a 50%,
    #6b2d4a 62%,
    #1e1a24 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: offer-price-shimmer 4.5s ease-in-out infinite;
  filter: drop-shadow(0 2px 14px rgba(107, 45, 74, 0.28));
}
@keyframes offer-price-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
    transform: scale(1);
  }
  50% {
    background-position: 100% 50%;
    transform: scale(1.04);
  }
}
@keyframes offer-price-glow {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.92);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .section--how-offer .offer-box__price {
    animation: none;
    transform: none;
    color: var(--ink);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    filter: none;
  }
  .section--how-offer .offer-box__price-wrap::after {
    animation: none;
    opacity: 0.35;
  }
}
.section--how-offer .offer-box__text {
  margin: 0 0 0.4rem;
  font-size: 0.86rem;
}
.section--how-offer .offer-box__bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 0.75rem;
  padding-left: 1.05rem;
  font-size: 0.84rem;
}
.section--how-offer .offer-box__bullets li {
  margin: 0;
  break-inside: avoid;
}
.section--how-offer .offer-box__cta {
  margin: 13px 0 0;
}
.section--how-offer .offer-box__cta .btn {
  max-width: none;
  width: 100%;
}
.btn--offer-cta {
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(107, 45, 74, 0.32);
  animation: offer-cta-pulse 2.8s ease-in-out infinite;
}
.btn--offer-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 72%
  );
  background-size: 220% 100%;
  animation: offer-cta-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}
.btn--offer-cta:hover {
  filter: brightness(1.06);
}
@keyframes offer-cta-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 18px rgba(107, 45, 74, 0.32);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 26px rgba(107, 45, 74, 0.46);
  }
}
@keyframes offer-cta-shine {
  0%,
  100% {
    background-position: 120% 0;
  }
  50% {
    background-position: -120% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn--offer-cta {
    animation: none;
  }
  .btn--offer-cta::after {
    animation: none;
    opacity: 0;
  }
}
.section--how-offer .offer-box__payment {
  margin: 16px 0 0;
  padding: 0;
  font-size: clamp(0.9rem, 0.35vw + 0.86rem, 0.98rem);
  line-height: 1.5;
  text-align: center;
  color: var(--accent);
}
.section--how-offer .offer-box__payment strong {
  font-weight: 700;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.65rem;
  position: relative;
  text-align: center;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.step p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.step__title {
  font-weight: 700;
  font-size: clamp(0.72rem, 1.05vw, 0.88rem);
  line-height: 1.3;
  white-space: nowrap;
  color: var(--accent);
}
@media (max-width: 900px) {
  .how-offer-grid {
    grid-template-columns: 1fr;
  }
  .section--how-offer .offer-box__bullets {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .section--how-offer .offer-box__bullets {
    grid-template-columns: 1fr;
  }
}
.offer-box {
  background: linear-gradient(135deg, #fffdf9 0%, #f4ebe8 100%);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}
.offer-box__title { margin: 0 0 0.35rem; font-size: 1.25rem; color: var(--accent); }
.offer-box__price {
  margin: 0 0 0.65rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}
.offer-box__text { margin: 0 0 0.75rem; font-size: 0.92rem; color: var(--muted); }
.offer-box__bullets {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
}
.offer-box__bullets li { margin: 0.25rem 0; }
.offer-box__bullets a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.offer-box__bullets a:hover { color: var(--accent-soft); }
.offer-box__cta {
  margin: 1.1rem 0 0;
  padding: 0;
}
.offer-box__cta .btn {
  max-width: 22rem;
}
.offer-box__note { margin: 0; font-size: 0.82rem; color: var(--muted); }
.site-header__meta { margin: 0; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 768px) {
  .topbar__inner {
    flex-wrap: wrap;
    align-content: flex-start;
  }
  .topbar__burger { display: flex; }
  .topbar__nav {
    display: none;
    flex: 1 0 100%;
    width: 100%;
    order: 10;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    align-items: stretch;
    margin: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(255, 253, 249, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(30, 26, 36, 0.06);
  }
  .topbar__nav--open {
    display: grid;
  }
  .topbar__nav a {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 0.55rem 0.45rem !important;
    border-radius: 8px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
  }
  /* ряд 1: О проекте */
  .topbar__nav a:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    width: min(100%, 15rem);
    background: var(--card) !important;
    color: var(--accent) !important;
    border: 2px solid var(--accent);
  }
  /* ряд 2: Все авторы | Все песни — оба с бордовым фоном */
  .topbar__nav a:nth-child(2),
  .topbar__nav a:nth-child(3) {
    grid-row: 2;
    background: var(--accent) !important;
    color: #fff !important;
    border: 2px solid var(--accent) !important;
    font-weight: 700;
  }
  .topbar__nav a:nth-child(2) {
    grid-column: 1;
  }
  .topbar__nav a:nth-child(3) {
    grid-column: 2;
  }
}
.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.authors-grid--catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
@media (max-width: 960px) {
  .authors-grid--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .authors-grid--catalog {
    grid-template-columns: 1fr;
  }
}
.authors-page {
  padding-top: 0.5rem;
}
.authors-page__main {
  margin-bottom: 2rem;
}
.section__lead--catalog {
  margin-bottom: 0.65rem;
}
.catalog-updated {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--muted);
}
.catalog-updated__label {
  font-weight: 500;
  color: var(--muted);
}
.catalog-updated__when {
  font-weight: 700;
  color: var(--accent);
}
.authors-grid--catalog .author-card {
  border: 2px solid var(--accent);
}
.catalog-intro {
  margin: 0 0 1.35rem;
  padding: 1rem 1.15rem;
  border: 2px solid var(--accent);
  border-radius: 14px;
  background: linear-gradient(135deg, #fffdf9 0%, #f6eeeb 55%, #f0e6f0 100%);
  box-shadow: 0 8px 28px rgba(107, 45, 74, 0.08);
}
.catalog-intro p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}
.catalog-intro p.catalog-intro__lead {
  font-size: 1.2rem;
  line-height: 1.45;
}
.catalog-intro p + p {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(107, 45, 74, 0.28);
}
.catalog-intro strong {
  color: var(--accent);
}
.catalog-intro__listeners {
  color: var(--muted);
}
.catalog-intro__listeners strong {
  color: var(--accent-soft);
}
.catalog-intro--songs {
  margin-bottom: 1rem;
}
.songs-page .songs-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 559px) {
  .songs-page .songs-grid {
    grid-template-columns: 1fr;
  }
}
.songs-seo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.songs-seo h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}
.songs-seo p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}
.songs-seo__placeholder {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.songs-author-card {
  margin: 0;
  padding: 1rem 1.15rem;
  border: 2px solid var(--accent);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 6px 22px rgba(107, 45, 74, 0.06);
}
.songs-author-card__head {
  margin: 0 0 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed rgba(107, 45, 74, 0.25);
}
.songs-author-card__name {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--accent);
}
.songs-author-card__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.songs-author-card__meta a {
  color: var(--accent);
  font-weight: 600;
}
.songs-author-card__tracks {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.songs-author-card__tracks li {
  margin: 0.35rem 0;
  font-size: 0.9rem;
  line-height: 1.45;
}
.songs-author-card__num {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 1.5rem;
  display: inline-block;
}
.songs-author-card__tracks a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.songs-author-card__tracks a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.songs-author-card__plays {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}
.songs-author-card__empty {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.topbar__nav a.topbar__nav--current {
  color: var(--accent);
  font-weight: 700;
}
.authors-pagination {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.authors-pagination__info {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.authors-pagination__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 0.5rem;
}
.authors-pagination__btn {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}
.authors-pagination__btn:hover {
  border-color: var(--accent);
  background: #f5eef2;
}
.authors-pagination__current {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
}
.author-card {
  background: var(--card);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.author-card--featured { border-color: var(--accent); border-width: 2px; }
.author-card--open-slot {
  border-style: dashed;
  background: linear-gradient(160deg, #fffdf9 0%, #faf5f2 100%);
}
.author-card__photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f0ea 0%, #ebe6f0 100%);
  border: 2px dashed rgba(107, 45, 74, 0.35);
}
.author-card__photo-ico {
  width: 2rem;
  height: 2rem;
  color: rgba(85, 25, 53, 0.42);
}
.author-card__head { display: flex; gap: 0.85rem; align-items: flex-start; }
.author-card__photo {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e8e0d8;
}
.author-card__titles { min-width: 0; flex: 1; }
.author-card__line1 {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.2;
}
.author-card__line2 {
  margin: 0 0 0.25rem;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.author-card__line3 {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.25;
}
.author-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #c62828;
  color: #fff;
  margin-left: 0.35rem;
  vertical-align: middle;
}
.author-card__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.45rem;
}
.author-card__stat {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 0.28rem;
  row-gap: 0.1rem;
  width: max-content;
  max-width: 100%;
  padding: 0.4rem 0.5rem 0.45rem;
  border-radius: 10px;
  background: #f5f0ea;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.author-card__stat--tracks {
  background: linear-gradient(145deg, #f4f0fa 0%, #ebe8f4 100%);
}
.author-card__stat--reviews {
  background: linear-gradient(145deg, #fff9e6 0%, #f5f0c8 100%);
  border-color: #ebe4b8;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.author-card__stat--reviews:hover {
  border-color: #d4c88a;
  box-shadow: 0 2px 10px rgba(180, 160, 60, 0.18);
}
.author-card__stat-ico {
  grid-column: 1;
  grid-row: 1;
  font-size: 1rem;
  line-height: 1.15;
  opacity: 0.85;
  align-self: center;
}
.author-card__stat-num {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  align-self: center;
}
.author-card__stat-caption {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.15;
  white-space: nowrap;
  text-align: left;
}
.author-card__top { margin: 0; padding: 0; list-style: none; font-size: 0.88rem; }
.author-card__top li { margin: 0.25rem 0; }
.author-card__top a { color: var(--accent); }
.author-card__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.45rem;
  margin-top: auto;
  width: 100%;
}
.author-card__actions .btn {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0.45rem 0.5rem;
  font-size: 0.8rem;
  line-height: 1.25;
}
.author-card__actions--single .btn {
  flex: 1 1 100%;
  font-size: 0.85rem;
}
.btn {
  display: inline-block;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.3;
}
.btn--primary { background: var(--accent); color: #fff !important; }
.btn--secondary { background: #ebe6f0; color: var(--ink) !important; }
.author-card__actions .btn--secondary,
.author-note-modal__actions .btn--secondary {
  border: 1px solid var(--accent);
}
.btn--outline {
  background: transparent;
  color: var(--accent) !important;
  border: 2px solid var(--accent);
}
.btn--lg { padding: 0.6rem 1.15rem; font-size: 0.95rem; }
.btn--block { display: block; width: 100%; text-align: center; }
.site-footer { margin-top: 2rem; text-align: center; font-size: 0.85rem; color: var(--muted); }
.site-footer a { color: var(--accent); }
.site-footer__cta { margin-top: 1rem; }
.site-footer__video {
  margin: 1rem auto 0;
  max-width: 22rem;
}
.btn--cta {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(107, 45, 74, 0.25);
}
.btn--cta:hover { filter: brightness(1.08); }
.btn--cta span { color: inherit; }
.list-error { color: #8b2e2e; padding: 1rem; background: #f5e0e0; border-radius: 8px; }

/* —— Форма заказа —— */
body[data-page="order"] {
  min-height: 100vh;
}
.topbar--order {
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar__inner--order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.order-page-back {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.order-page-back:hover {
  color: var(--accent-soft);
}
.page--order {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}
.section--order-form-only {
  margin-bottom: 0;
}
.section--order-form {
  margin-bottom: 3rem;
}
.order-form-shell {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: 20px;
  border: 2px solid var(--accent);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(107, 45, 74, 0.12) 0%, transparent 55%),
    radial-gradient(90% 70% at 100% 100%, rgba(143, 61, 98, 0.1) 0%, transparent 50%),
    linear-gradient(155deg, #fffdf9 0%, #f8f0ec 48%, #f3e8ef 100%);
  box-shadow: 0 14px 40px rgba(30, 26, 36, 0.1);
}
.order-form-shell__glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, rgba(107, 45, 74, 0.18) 0%, transparent 68%);
  pointer-events: none;
  animation: order-form-glow 9s ease-in-out infinite alternate;
}
@keyframes order-form-glow {
  from { transform: translate(0, 0) scale(1); opacity: 0.7; }
  to { transform: translate(-6%, 4%) scale(1.08); opacity: 1; }
}
.order-form-head {
  position: relative;
  z-index: 1;
  margin-bottom: 1.15rem;
  max-width: 52em;
}
.order-form-head__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.order-form-head__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  color: var(--accent);
  line-height: 1.2;
}
.order-form-head__lead {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted);
}
.order-form-head__lead a {
  color: var(--accent);
  font-weight: 600;
}
.order-form-status {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.92rem;
}
.order-form-status--ok {
  background: #e6f4ec;
  color: #1f5c3a;
  border: 1px solid #b8dcc8;
}
.order-form-status--err {
  background: #f5e8e8;
  color: #7a2a2a;
  border: 1px solid #e4bcbc;
}
.order-form {
  position: relative;
  z-index: 1;
}
.order-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.order-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}
.order-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.order-form__field--full {
  grid-column: 1 / -1;
}
.order-form__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.order-form__req {
  color: var(--accent);
}
.order-form__hint {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}
.order-form__input,
.order-form__textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.order-form__textarea {
  resize: vertical;
  min-height: 4.5rem;
  line-height: 1.45;
}
.order-form__textarea--tall {
  min-height: 9rem;
}
.order-form__input:hover,
.order-form__textarea:hover {
  border-color: #d4c4b8;
}
.order-form__input:focus,
.order-form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(107, 45, 74, 0.14);
  background: #fff;
}
.order-form__input:invalid:not(:placeholder-shown),
.order-form__textarea:invalid:not(:placeholder-shown) {
  border-color: #c97a7a;
}
.order-form__agree {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
  cursor: pointer;
}
.order-form__agree input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.order-form__submit {
  width: 100%;
  max-width: 22rem;
  box-shadow: 0 6px 20px rgba(107, 45, 74, 0.28);
}
.order-form-reminders {
  position: relative;
  z-index: 1;
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.65);
  border: 1px dashed rgba(107, 45, 74, 0.35);
}
.order-form-reminders__title {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.order-form-reminders__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}
.order-form-reminders__list li {
  margin: 0.2rem 0;
}
.order-form-reminders__payment {
  font-size: clamp(0.9rem, 0.35vw + 0.86rem, 0.98rem);
  line-height: 1.5;
}
@media (max-width: 720px) {
  .order-form__grid {
    grid-template-columns: 1fr;
  }
  .order-form-shell {
    padding: 1.1rem 0.95rem;
  }
  .order-form__submit {
    max-width: none;
  }
}

/* ——— Мобильная адаптация и touch ——— */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
}
#hero,
#about,
#how,
#order,
#authors-main,
#songs-main,
#order-form {
  scroll-margin-top: calc(var(--topbar-h) + 0.65rem);
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.site-footer__nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.site-footer__nav a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 768px) {
  .page {
    padding-left: max(0.85rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.85rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom, 0px));
  }
  .topbar__inner {
    padding-left: max(0.85rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.85rem, env(safe-area-inset-right, 0px));
  }
  .hero__heading-line {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
    line-height: 1.32;
  }
  .hero__lead {
    font-size: 1rem;
  }
  .hero-card .hero__lead--intro,
  .hero-card .hero__lead--heading {
    font-size: 1.3rem;
  }
  .hero-card {
    padding: 1.1rem 1rem 1.15rem;
  }
  .hero-card::before {
    inset: 5px;
    border-radius: 10px;
  }
  .how-offer-grid {
    padding: 0;
    gap: 0.85rem;
  }
  .steps--stack .step {
    padding: 0.65rem;
  }
  .steps--stack .step__text {
    font-size: 0.9rem;
  }
  .section--how-offer .offer-box__bullets {
    font-size: 0.88rem;
  }
  .btn--offer-cta {
    animation: none;
    transform: none;
  }
  .btn--offer-cta::after {
    animation: none;
    opacity: 0;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
    min-height: 2.75rem;
    text-align: center;
    justify-content: center;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .section__lead--wide {
    font-size: 1rem;
  }
  .share-preview-hint {
    display: block;
    margin: 0.45rem 0 0;
    white-space: normal;
  }
  .offer-box {
    padding: 1.1rem 1rem;
  }
  .offer-box__price {
    font-size: 1.75rem;
  }
  .author-card {
    padding: 1.15rem 1rem;
    gap: 0.75rem;
  }
  .author-card__line1,
  .author-card__line3 {
    font-size: 0.85rem;
  }
  .author-card__line2 {
    font-size: 1.2rem;
    line-height: 1.28;
  }
  .author-card__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }
  .author-card__stat {
    width: 100%;
    max-width: none;
    justify-content: center;
    justify-items: center;
    text-align: center;
    padding: 0.45rem 0.35rem 0.5rem;
  }
  .author-card__stat-caption {
    text-align: center;
    white-space: normal;
    font-size: 0.68rem;
    line-height: 1.2;
  }
  .author-card__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .author-card__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 100%;
    min-height: 2.75rem;
    font-size: 0.9rem;
    padding: 0.55rem 0.75rem;
    box-sizing: border-box;
    text-align: center;
  }
  .section__title,
  .section__title--catalog {
    font-size: 1.3rem;
    line-height: 1.28;
    text-align: center;
  }
  .catalog-intro p.catalog-intro__lead {
    font-size: 1.05rem;
    line-height: 1.5;
  }
  .authors-pagination__btn,
  .authors-pagination__current {
    min-height: 2.65rem;
    padding: 0.5rem 0.85rem;
  }
  .catalog-intro {
    padding: 0.9rem 0.95rem;
  }
  .catalog-updated {
    font-size: 0.95rem;
    text-align: center;
  }
  .author-card__top {
    font-size: 0.92rem;
  }
  .author-card__top li {
    margin: 0.35rem 0;
  }
  .site-footer__cta .btn {
    width: 100%;
    max-width: 22rem;
    min-height: 2.75rem;
  }
  .order-page-back {
    font-size: 0.88rem;
    padding: 0.35rem 0.5rem;
  }
  .topbar__inner--order {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}
@media (max-width: 480px) {
  .topbar__brand-text {
    font-size: 0.9rem;
  }
  .topbar__brand-logo {
    width: 32px;
    height: 32px;
  }
  .hero--full .hero__heading-line {
    font-size: clamp(1rem, 4.8vw, 1.28rem);
    line-height: 1.32;
  }
  .hero--full .hero__title {
    font-size: 1.4rem;
  }
  .section__title {
    font-size: 1.25rem;
  }
  .btn--lg {
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
  }
  .author-card__photo {
    width: 68px;
    height: 68px;
  }
  .author-card__line2 {
    font-size: 1.22rem;
  }
  .songs-author-card {
    padding: 0.9rem;
  }
  .order-form-head__title {
    font-size: 1.25rem;
  }
}
@media (max-width: 380px) {
  .topbar__nav a {
    font-size: 0.76rem;
    padding: 0.5rem 0.35rem !important;
  }
}

/* Страница 404 */
.page--error {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-page {
  max-width: 32rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  text-align: center;
}
.error-page__code {
  margin: 0 0 0.35rem;
  font-size: clamp(3rem, 12vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
}
.error-page__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  color: var(--accent);
}
.error-page__lead {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}
.error-page__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.error-page__nav {
  margin: 0;
}
@media (min-width: 480px) {
  .error-page__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .error-page__actions .btn {
    flex: 0 1 auto;
    min-width: 9rem;
  }
}
