:root {
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --paper: #ffffff;
  --paper-deep: #f4f4f2;
  --card: #ffffff;
  --ink: #111111;
  --ink-2: #3d3d3d;
  --ink-3: #686868;
  --rule: #e5e5e2;
  --rule-strong: #111111;
  --field-border: #c8c8c4;
  --accent: #c0341d;
  --accent-rgb: 192, 52, 29;
  --accent-deep: #982814;
  --accent-soft: #fbeae6;
  --on-accent: #ffffff;
  --ok: #2f6b3a;
  --ok-soft: #e3f0e1;
  --night: #111111;
  --night-2: #2a2a2a;

  --h1: clamp(2.75rem, 1.7rem + 4.4vw, 5rem);
  --h2: clamp(2rem, 1.45rem + 2.3vw, 3.5rem);
  --h3: clamp(1.625rem, 1.48rem + 0.6vw, 2rem);
  --h4: clamp(1.25rem, 1.07rem + 0.75vw, 1.75rem);
  --h5: clamp(1.0625rem, 0.95rem + 0.45vw, 1.375rem);
  --eyebrow: 0.875rem;
  --lead: clamp(1rem, 0.95rem + 0.22vw, 1.125rem);
  --p1: 1rem;
  --small: 0.875rem;
  --tiny: 0.75rem;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 40px; --s8: 48px; --s9: 64px; --s10: 80px; --s11: 120px;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --gutter: 24px;
  --section: 80px;
  --container: 1240px;
  --shadow-sheet: 0 0 0 1px rgba(17, 17, 17, 0.06), 0 16px 32px -16px rgba(17, 17, 17, 0.22);
  --shadow-lift: 0 0 0 1px rgba(17, 17, 17, 0.08), 0 32px 48px -24px rgba(17, 17, 17, 0.3);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 900px) {
  :root { --gutter: 48px; --section: 120px; }
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--p1);
  line-height: 1.6;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; margin: 0; color: var(--ink); }
h1 { font-size: var(--h1); line-height: 1; letter-spacing: -0.03em; }
h2 { font-size: var(--h2); line-height: 1.07; letter-spacing: -0.02em; }
h3 { font-size: var(--h3); line-height: 1.15; letter-spacing: -0.02em; }
h4 { font-size: var(--h4); line-height: 1.18; letter-spacing: -0.01em; }
h5 { font-size: var(--h5); line-height: 1.25; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--accent); }
p { margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: var(--eyebrow);
  line-height: 1.3;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.4em;
}

.lead { font-size: var(--lead); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.small { font-size: var(--small); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }

.section { padding-block: var(--section); }
.section--tight { padding-block: var(--s9); }
.section--deep { border-block: 1px solid var(--rule); }
.section--deep + .section--deep { border-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s7); padding-bottom: var(--s5); border-bottom: 1px solid var(--rule-strong); }
.section-head p { max-width: 52ch; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  font: 600 1rem/1 var(--font-body);
  letter-spacing: 0.01em;
  padding: 1rem 2rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-deep); color: var(--on-accent); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--night-2); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ok { background: var(--ok); color: #fff; }
.btn--ok:hover { background: #24552d; color: #fff; }
.btn--sm { padding: 0.7rem 1.25rem; font-size: var(--small); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--accent); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner { display: flex; align-items: center; gap: var(--s5); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.brand__mark { width: 32px; height: 32px; color: var(--accent); }
.brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: var(--s5); margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; }
.nav__search { display: flex; align-items: center; background: var(--paper-deep); border: 1px solid transparent; border-radius: var(--r-pill); padding: 0 var(--s4); min-width: 240px; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.nav__search:focus-within { background: var(--paper); border-color: var(--rule-strong); }
.nav__search input { border: 0; background: transparent; font: inherit; color: var(--ink); padding: var(--s3) var(--s2); width: 100%; outline: none; }
.nav__search svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.nav__cart { position: relative; display: inline-flex; align-items: center; gap: var(--s2); }
.nav__cart svg { width: 22px; height: 22px; }
.badge {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 var(--s2);
  border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent);
  font-size: var(--tiny); font-weight: 700; line-height: 1;
}
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--ink); border-radius: var(--r-pill); padding: 1rem 2rem; font: 600 1rem/1 var(--font-body); color: var(--ink); cursor: pointer; }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: var(--s4);
    padding: var(--s5) var(--gutter) var(--s6);
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 24px 32px -24px rgba(0, 0, 0, 0.3);
  }
  .nav.is-open { display: flex; }
  .nav__search { min-width: 0; }
}

/* Flash */
.flashes { display: grid; gap: var(--s2); margin-top: var(--s5); }
.flash { padding: var(--s3) var(--s4); border-radius: var(--r-sm); border: 1px solid; font-weight: 500; }
.flash--success { background: var(--ok-soft); border-color: #b5d3b0; color: #1f4a27; }
.flash--error { background: var(--accent-soft); border-color: #e2b6a8; color: var(--accent-deep); }
.flash--info { background: var(--card); border-color: var(--rule); color: var(--ink-2); }

/* Staff lines motif */
.staff {
  height: 33px;
  background-image: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 8px);
  opacity: 0.22;
}

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: var(--s9) var(--section); }
.hero__staves {
  position: absolute; inset: auto 0 12% 0; height: 140px;
  background-image: repeating-linear-gradient(to bottom, var(--rule) 0 1px, transparent 1px 10px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0 41px, transparent 41px 96px, #000 96px 137px, transparent 137px);
  mask-image: linear-gradient(to bottom, #000 0 41px, transparent 41px 96px, #000 96px 137px, transparent 137px);
  opacity: 0.9;
  animation: draw 1.6s var(--ease) both;
  transform-origin: left;
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s9); align-items: center; }
.hero__copy h1 { max-width: 12ch; margin-bottom: var(--s5); }
.hero__copy .lead { margin-bottom: var(--s6); }
.hero__search { display: flex; gap: var(--s2); max-width: 560px; padding: var(--s2); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-pill); box-shadow: var(--shadow-sheet); }
.hero__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: var(--lead); padding: 0 var(--s4); outline: none; }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s5); color: var(--ink-3); font-size: var(--small); }
.hero__meta span::before { content: "♪ "; color: var(--accent); }

.hero__stand { position: relative; height: 420px; max-width: 520px; width: 100%; margin-inline: auto; }
.hero__stand .cover { position: absolute; width: 58%; top: 0; left: 21%; animation: rise 0.9s var(--ease) both; }
.hero__stand .cover:nth-child(1) { transform: rotate(-9deg) translate(-34%, 8%); animation-delay: 0.15s; }
.hero__stand .cover:nth-child(2) { transform: rotate(7deg) translate(34%, 6%); animation-delay: 0.3s; }
.hero__stand .cover:nth-child(3) { z-index: 2; animation-delay: 0.45s; }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
  .hero__stand { height: 520px; }
}

@keyframes rise { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: 0 0; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.reveal { animation: rise 0.7s var(--ease) both; }
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Cover */
.cover {
  --h: 20;
  container-type: inline-size;
  position: relative;
  aspect-ratio: 5 / 7;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-sm);
  background: var(--card);
  box-shadow: var(--shadow-sheet);
  overflow: hidden;
  isolation: isolate;
}
.cover__band {
  display: flex; justify-content: space-between; align-items: flex-start;
  height: 40%;
  padding: 7cqi 7cqi 0;
  background:
    radial-gradient(120% 90% at 100% 0%, hsl(var(--h) 55% 42% / 0.9), transparent 60%),
    hsl(var(--h) 38% 24%);
  color: hsl(var(--h) 40% 92%);
}
.cover__cat { font-size: max(0.75rem, 6cqi); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.3; }
.cover__clef { font-family: "Apple Symbols", "Segoe UI Symbol", "Noto Music", serif; font-size: max(2rem, 30cqi); line-height: 0.8; opacity: 0.85; }
.cover__body { flex: 1; display: flex; flex-direction: column; gap: 2cqi; padding: 7cqi; }
.cover__title { font-family: var(--font-display); font-size: max(1rem, 11cqi); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); text-wrap: balance; }
.cover__artist { font-size: max(0.75rem, 6.5cqi); color: var(--ink-3); line-height: 1.3; }
.cover__staff { margin: 0 7cqi 8cqi; height: 9cqi; background-image: repeating-linear-gradient(to bottom, hsl(var(--h) 30% 30% / 0.5) 0 1px, transparent 1px 2.2cqi); }
.cover--small { width: 72px; flex: none; border-radius: 4px; }
.cover--small .cover__body, .cover--small .cover__cat, .cover--small .cover__artist { display: none; }
.cover--small .cover__band { height: 60%; }

/* Song cards */
.song-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: var(--s6) var(--s5); }
.song-card { position: relative; display: flex; flex-direction: column; gap: var(--s3); text-decoration: none; }
.song-card .cover { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.song-card:hover .cover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-lift); }
.song-card:hover { color: var(--ink); }
.song-card__meta { display: grid; gap: 2px; }
.song-card__title { font-family: var(--font-display); font-size: var(--h5); font-weight: 600; line-height: 1.25; }
.song-card__artist { color: var(--ink-3); font-size: var(--small); }
.song-card__foot { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); font-size: var(--small); }
.song-card__price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.song-card__instruments { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Category tiles */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s4); }
.category-tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s6);
  min-height: 168px; padding: var(--s5); border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--rule); text-decoration: none; overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease);
}
.category-tile:hover { border-color: var(--ink); transform: translateY(-3px); color: var(--ink); }
.category-tile h3 { font-size: var(--h4); }
.category-tile .staff { position: absolute; left: 0; right: 0; bottom: 56px; color: var(--accent); }
.category-tile__count { font-size: var(--small); color: var(--ink-3); position: relative; }

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--rule);
  background: var(--card); text-decoration: none; font-size: var(--small); font-weight: 500;
}
.chip:hover, .chip.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* Steps */
.steps { display: grid; gap: var(--s5); counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: var(--s2) var(--s5) var(--s6); border-left: 1px solid var(--rule); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-style: italic; font-size: var(--h3); color: var(--accent); margin-bottom: var(--s4); }
.step h3 { font-size: var(--h5); margin-bottom: var(--s2); }

.levels { display: grid; gap: var(--s4); }
@media (min-width: 800px) { .levels { grid-template-columns: repeat(3, 1fr); } }
.level-card { padding: var(--s6) var(--s5); background: var(--card); border-radius: var(--r-md); border: 1px solid var(--rule); }
.level-card h3 { font-size: var(--h4); margin: var(--s3) 0 var(--s2); }
.level-dots { display: inline-flex; gap: 6px; }
.level-dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--accent); }
.level-dots i.on { background: var(--accent); }

/* Catalog */
.page-head { padding-block: var(--s9) var(--s6); }
.page-head h1 { font-size: var(--h2); line-height: 1.07; letter-spacing: -0.02em; }
.page-head .lead { margin-top: var(--s3); }

.catalog { display: grid; gap: var(--s7); padding-bottom: var(--section); }
@media (min-width: 960px) { .catalog { grid-template-columns: 260px 1fr; align-items: start; } }
.filters { display: grid; gap: var(--s6); }
@media (min-width: 960px) { .filters { position: sticky; top: 104px; } }
.filters h2 { font-family: var(--font-body); font-size: var(--small); text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-3); margin-bottom: var(--s3); font-weight: 600; }
.filter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.filter-list a { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: var(--r-sm); text-decoration: none; }
.filter-list a:hover { background: var(--paper-deep); color: var(--ink); }
.filter-list a.is-active { background: var(--ink); color: var(--paper); }
.filter-list small { color: inherit; opacity: 0.6; font-size: var(--small); }
/* Handy/Tablet: Filter als wischbare Chip-Zeilen statt langer Listen, damit die Treffer früh sichtbar sind. */
@media (max-width: 959px) {
  .catalog { gap: var(--s6); }
  .catalog > *, .filters > div { min-width: 0; }
  .filters { gap: var(--s4); }
  .filters h2 { margin-bottom: var(--s2); }
  .filter-list { display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .filter-list::-webkit-scrollbar { display: none; }
  .filter-list a { white-space: nowrap; gap: 6px; min-height: 40px; align-items: center; border: 1px solid var(--rule); border-radius: var(--r-pill); }
  .filter-list a.is-active { border-color: var(--ink); }
}

.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); margin-bottom: var(--s6); padding-bottom: var(--s4); border-bottom: 1px solid var(--rule); }
.results-bar select { font: inherit; padding: 8px 12px; border-radius: var(--r-sm); border: 1px solid var(--rule); background: var(--card); }
.empty { padding: var(--s9) var(--s5); text-align: center; border: 1px dashed var(--rule); border-radius: var(--r-md); }
.empty h2 { font-size: var(--h4); margin-bottom: var(--s3); }

.pagination { display: flex; justify-content: center; gap: var(--s2); margin-top: var(--s8); }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--rule); text-decoration: none; }
.pagination span[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Product */
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--s2); padding-top: var(--s6); font-size: var(--small); color: var(--ink-3); }
.breadcrumb a { text-decoration: none; }
.breadcrumb span[aria-hidden] { opacity: 0.5; }

.product { display: grid; gap: var(--s8); padding-block: var(--s6) var(--s10); }
@media (min-width: 960px) { .product { grid-template-columns: minmax(280px, 0.8fr) 1.2fr; gap: var(--s9); align-items: start; } }
.product__visual { display: grid; gap: var(--s5); }
@media (min-width: 960px) { .product__visual { position: sticky; top: 104px; } }
.product__visual .cover { max-width: 400px; width: 100%; margin-inline: auto; }
/* Handy/Tablet: kleines Cover neben dem Vorschau-Button, damit Auswahl und Kaufbutton früher erscheinen. */
@media (max-width: 959px) {
  .product { gap: var(--s5); }
  .product__visual { grid-template-columns: 72px auto; justify-content: start; align-items: center; gap: var(--s4); }
  .product__visual .cover { width: 72px; max-width: 72px; margin: 0; border-radius: 4px; }
  .product__visual .cover__body, .product__visual .cover__cat, .product__visual .cover__artist { display: none; }
  .product__visual .cover__band { height: 60%; }
  .chooser { margin-top: var(--s5); gap: var(--s5); }
}
.product__head h1 { font-size: var(--h2); line-height: 1.07; letter-spacing: -0.02em; margin-bottom: var(--s3); }
.product__byline { font-size: var(--lead); color: var(--ink-2); }

.chooser { margin-top: var(--s7); display: grid; gap: var(--s6); }
.chooser fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.chooser legend { font-size: var(--small); font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-3); margin-bottom: var(--s3); padding: 0; }
.option-pills { display: flex; flex-wrap: wrap; gap: var(--s2); }
.option-pills label { position: relative; }
.option-pills input, .levels-picker input { position: absolute; opacity: 0; pointer-events: none; }
.option-pills span {
  display: inline-flex; padding: var(--s3) var(--s5); border-radius: var(--r-pill);
  border: 1px solid var(--field-border); background: var(--card); cursor: pointer; font-weight: 500;
  transition: all 0.15s var(--ease);
}
.option-pills input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.option-pills input:focus-visible + span, .levels-picker input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.levels-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); padding: var(--s2); background: var(--paper-deep); border-radius: var(--r-md); }
.levels-picker label { position: relative; }
.levels-picker label > span {
  display: grid; gap: var(--s2); justify-items: center; text-align: center;
  padding: var(--s4) var(--s2); border-radius: var(--r-sm); cursor: pointer; font-weight: 600;
  transition: background-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.levels-picker input:checked + span { background: var(--card); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.4); }
.levels-picker input:disabled + span { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.level-text { margin-top: var(--s3); color: var(--ink-2); font-size: var(--small); min-height: 3.2em; }

.buybox { padding: var(--s5); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--rule); display: grid; gap: var(--s4); }
.buybox__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); }
.price { font-family: var(--font-display); font-size: var(--h3); font-weight: 600; line-height: 1; }
.price small { display: block; font-family: var(--font-body); font-size: var(--small); font-weight: 400; color: var(--ink-3); margin-top: var(--s2); }
.owned-note { display: none; padding: var(--s3) var(--s4); border-radius: var(--r-sm); background: var(--ok-soft); color: #1f4a27; font-weight: 500; }
.buybox.is-owned .owned-note { display: block; }
.buybox.is-owned .js-buy { display: none; }
.buybox:not(.is-owned) .js-owned-actions { display: none; }
.buybox__owned-actions { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }

.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); color: var(--ink-2); font-size: var(--small); }
.perks li { display: flex; gap: var(--s3); align-items: baseline; }
.perks li::before { content: "♪"; color: var(--accent); }

.prose { color: var(--ink-2); max-width: 65ch; }
.prose p + p { margin-top: var(--s4); }
.prose h2 { font-size: var(--h4); margin: var(--s7) 0 var(--s3); color: var(--ink); }
.prose h3 { font-size: var(--h5); margin: var(--s5) 0 var(--s2); color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.product__about { margin-top: var(--s8); padding-top: var(--s6); border-top: 1px solid var(--rule); }
.product__about h2 { font-size: var(--h4); margin-bottom: var(--s4); }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.tag { font-size: var(--small); padding: 4px 12px; border-radius: var(--r-pill); background: var(--paper-deep); color: var(--ink-2); }

/* Cart */
.cart { display: grid; gap: var(--s7); padding-bottom: var(--section); }
@media (min-width: 960px) { .cart { grid-template-columns: 1fr 380px; align-items: start; } }
.cart-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.cart-item { display: flex; gap: var(--s4); align-items: center; padding: var(--s4) 0; border-bottom: 1px solid var(--rule); }
.cart-item__info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cart-item__info a { font-family: var(--font-display); font-size: var(--h5); font-weight: 600; text-decoration: none; }
.cart-item__price { font-weight: 700; white-space: nowrap; }
.summary { padding: var(--s6) var(--s5); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--rule); display: grid; gap: var(--s4); }
@media (min-width: 960px) { .summary { position: sticky; top: 104px; } }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-size: var(--h4); font-weight: 600; }
.check { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--small); color: var(--ink-2); line-height: 1.5; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.pay-icons { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; font-size: var(--tiny); color: var(--ink-3); }
.pay-icons span { padding: 4px 8px; border: 1px solid var(--rule); border-radius: 4px; }

/* Forms */
.form-card { max-width: 480px; margin: var(--s9) auto var(--section); padding: var(--s7) var(--s6); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.form-card h1 { font-size: var(--h3); line-height: 1.15; margin-bottom: var(--s2); }
.form-card > p { margin-bottom: var(--s6); color: var(--ink-2); }
.form { display: grid; gap: var(--s5); }
.field { display: grid; gap: var(--s2); }
.field label { font-weight: 600; font-size: var(--small); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); width: 100%;
  padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--field-border); background: var(--paper);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.15); }
.field small { color: var(--ink-3); font-size: var(--small); }
.field textarea { min-height: 128px; resize: vertical; }
.form-row { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .form-row { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); font-size: var(--small); }
.errors { padding: var(--s3) var(--s4); border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-deep); }
.errors ul { margin: 0; padding-left: 1.2em; }

/* Account */
.account { display: grid; gap: var(--s7); padding-bottom: var(--section); }
@media (min-width: 900px) { .account { grid-template-columns: 220px 1fr; align-items: start; } }
.account-nav { display: flex; flex-wrap: wrap; gap: var(--s2); }
@media (min-width: 900px) { .account-nav { flex-direction: column; } }
.account-nav a, .account-nav button { display: block; padding: var(--s2) var(--s4); border-radius: var(--r-sm); text-decoration: none; font: 500 1rem/1.4 var(--font-body); background: none; border: 0; color: var(--ink); text-align: left; cursor: pointer; width: 100%; }
.account-nav a:hover, .account-nav button:hover { background: var(--paper-deep); color: var(--ink); }
.account-nav a.is-active { background: var(--ink); color: var(--paper); }

.library { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.library-item { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); padding: var(--s3); padding-right: var(--s4); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-md); transition: border-color 0.15s var(--ease); }
.library-item:hover { border-color: var(--field-border); }
.library-item__cover { display: block; text-decoration: none; flex: none; }
.library-item .cover--small { border-radius: max(0px, calc(var(--r-md) - var(--s3))); }
.library-item__info { flex: 1; min-width: 200px; display: grid; gap: 2px; }
.library-item__info strong,
.library-item__title { font-family: var(--font-display); font-size: var(--h5); font-weight: 700; text-decoration: none; color: var(--ink); }
.library-item__title:hover { color: var(--accent); }
.library-item__meta { font-size: var(--small); color: var(--ink-3); }
.library-item__actions { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }

/* Sheet Viewer */
.viewer-page { padding-bottom: var(--section); }
.viewer-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s5); padding-block: var(--s5) var(--s6); }
.viewer-head__meta { display: grid; gap: var(--s2); }
.viewer-head__meta h1 { font-size: var(--h2); line-height: 1.07; letter-spacing: -0.02em; }
.viewer-head__sub { font-size: var(--small); color: var(--ink-3); }
.viewer-head__sub a { color: var(--ink-2); }
.viewer-head__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

.sheet-viewer {
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: #ecebe7;
  overflow: clip;
  display: flex;
  flex-direction: column;
}
.sheet-viewer.is-fullscreen {
  border: 0;
  border-radius: 0;
  width: 100vw;
  height: 100vh;
  background: #e6e5e0;
}
.sheet-toolbar {
  position: sticky;
  top: 72px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.sheet-viewer.is-fullscreen .sheet-toolbar { top: 0; }
.sheet-viewer.is-fallback .sheet-toolbar { display: none; }
.sheet-toolbar__group { display: inline-flex; align-items: center; gap: var(--s1); }
.sheet-toolbar__actions { gap: var(--s2); }

.sheet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-width: 38px;
  height: 38px;
  padding: 0 var(--s2);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  font: 600 var(--small)/1 var(--font-body);
  cursor: pointer;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.sheet-btn--label { padding: 0 var(--s4); }
.sheet-btn svg { width: 18px; height: 18px; flex: none; }
.sheet-btn:hover:not(:disabled) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.sheet-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.sheet-counter { font-size: var(--small); color: var(--ink-2); padding-inline: var(--s2); white-space: nowrap; }
.sheet-counter strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.sheet-modes { padding: 3px; background: var(--paper-deep); border-radius: var(--r-pill); border: 1px solid var(--rule); }
.sheet-mode {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font: 600 var(--small)/1 var(--font-body);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.sheet-mode:hover { color: var(--ink); }
.sheet-mode.is-active { background: var(--ink); color: var(--paper); }

.sheet-zoom-value {
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font: 600 var(--small)/1 var(--font-body);
  font-variant-numeric: tabular-nums;
  min-width: 56px;
  height: 38px;
  padding: 0 var(--s2);
  border-radius: var(--r-pill);
  cursor: pointer;
}
.sheet-zoom-value:hover { background: var(--paper-deep); }

.sheet-stage {
  padding: var(--s6) var(--s5);
  min-height: 70vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.sheet-viewer.is-fullscreen .sheet-stage { flex: 1; min-height: 0; padding: var(--s5); }

.sheet-status {
  margin: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4) var(--s5);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  font-size: var(--small);
  color: var(--ink-2);
}
.sheet-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--rule);
  border-top-color: var(--accent);
  animation: sheet-spin 0.8s linear infinite;
}
@keyframes sheet-spin { to { transform: rotate(360deg); } }

.sheet-pages { display: flex; flex-direction: column; align-items: center; gap: var(--s6); width: 100%; }
.sheet-pages[data-mode="spread"] { flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: flex-start; gap: var(--s5); }
.sheet-page { margin: 0; display: flex; flex-direction: column; align-items: center; gap: var(--s2); max-width: 100%; }
.sheet-page canvas {
  display: block;
  background: #ffffff;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.08), 0 18px 36px -16px rgba(17, 17, 17, 0.28);
}
.sheet-page__num { font-size: var(--tiny); color: var(--ink-3); font-variant-numeric: tabular-nums; }

.sheet-fallback-wrap { width: 100%; display: grid; gap: var(--s3); }
.sheet-fallback-note { text-align: center; }
.sheet-fallback-frame { width: 100%; height: min(82vh, 960px); border: 0; border-radius: var(--r-sm); background: #ffffff; }

.viewer-more { margin-top: var(--s9); padding-top: var(--s7); border-top: 1px solid var(--rule); }
.viewer-more__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); }
.viewer-more__head h2 { font-size: var(--h4); }
.viewer-more__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.viewer-more__card {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.viewer-more__card:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.viewer-more__info { display: grid; gap: 2px; min-width: 0; }
.viewer-more__info strong { font-family: var(--font-display); font-size: var(--p1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 759px) {
  .sheet-mode--spread { display: none; }
  .sheet-stage { padding: var(--s4) var(--s3); min-height: 60vh; }
  .sheet-toolbar { padding: var(--s3); gap: var(--s2); }
  .sheet-btn--label span { display: none; }
  .sheet-btn--label { padding: 0 var(--s2); }
}

.order { padding: var(--s5); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-md); }
.order + .order { margin-top: var(--s4); }
.order__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s3); font-weight: 600; }
.order ul { list-style: none; margin: 0; padding: 0; color: var(--ink-2); display: grid; gap: var(--s2); }
.order li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s3); padding-top: var(--s2); border-top: 1px solid var(--rule); }
.order li:first-child { padding-top: 0; border-top: 0; }
.order__links { display: inline-flex; gap: var(--s3); font-size: var(--small); white-space: nowrap; }

.status { display: inline-block; padding: var(--s1) var(--s2); border-radius: var(--r-pill); font-size: var(--tiny); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: var(--paper-deep); color: var(--ink-2); }
.status--paid, .status--on { background: var(--ok-soft); color: #1f4a27; }
.status--failed, .status--off { background: var(--accent-soft); color: var(--accent-deep); }

/* Success */
.success { text-align: center; padding-block: var(--s10) var(--section); }
.success__icon { width: 72px; height: 72px; margin: 0 auto var(--s5); color: var(--ok); }
.success h1 { font-size: var(--h2); line-height: 1.07; margin-bottom: var(--s4); }
.success .lead { margin: 0 auto var(--s6); }
.success ul { list-style: none; padding: 0; margin: 0 auto var(--s6); max-width: 620px; text-align: left; }
.success li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.success__actions { display: inline-flex; gap: var(--s2); flex: none; }

/* Admin */
.admin-bar { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s4); margin-bottom: var(--s7); }
.stat { padding: var(--s5); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-md); }
.stat strong { display: block; font-family: var(--font-display); font-size: var(--h3); line-height: 1.15; }
.stat span { font-size: var(--small); color: var(--ink-3); }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-md); }
table { width: 100%; border-collapse: collapse; font-size: var(--small); }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--tiny); }
tr:last-child td { border-bottom: 0; }
.panel { padding: var(--s6) var(--s5); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.panel + .panel { margin-top: var(--s6); }
.panel h2 { font-size: var(--h4); margin-bottom: var(--s5); }
.hue-preview { display: flex; gap: var(--s4); align-items: center; }
.hue-preview .cover { width: 96px; }
.inline-form { display: inline; }

/* Footer */
.site-footer { margin-top: auto; background: var(--paper); color: var(--ink-2); padding-block: var(--s9) var(--s6); border-top: 2px solid var(--rule-strong); }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: var(--s7); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.site-footer .brand { color: var(--ink); }
.site-footer h2 { font-family: var(--font-body); font-size: var(--small); text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-3); margin-bottom: var(--s4); font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.footer-bottom { margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--rule); font-size: var(--small); color: var(--ink-3); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); }
.site-footer .staff { color: var(--ink); margin-top: var(--s5); max-width: 280px; }

/* Footer language links */
.nav > a { white-space: nowrap; }
.footer-langs { display: inline-flex; flex-wrap: wrap; gap: var(--s3); }
.footer-langs a.is-active { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Platform Header, MuseScore-inspired Discovery Homepage, SEO Hubs & Mega-Footer
   ========================================================================== */

.container--wide { max-width: 1380px; }

/* Upgraded Platform Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s5);
  min-height: 70px;
  padding-block: var(--s2);
}

.site-header .brand {
  flex: none;
}

.brand__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.header-search {
  position: relative;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 340px;
}

.header-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-3);
  pointer-events: none;
}

.header-search input {
  width: 100%;
  height: 40px;
  padding: 0 16px 0 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--rule);
  background: #f5f4f8;
  color: var(--ink);
  font-size: var(--small);
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.header-search input:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  margin-left: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s1);
  flex-wrap: nowrap;
  flex: none;
}

.nav__links a {
  padding: 8px 11px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  background: #f3f2f6;
  color: var(--ink);
}

.nav__links a[aria-current="page"] { font-weight: 600; }

.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--s3);
  margin-left: auto;
  flex: 1 1 auto;
  min-width: 0;
}

.nav__account {
  flex: none;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--rule);
  text-decoration: none;
  font-size: var(--small);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.nav__account:hover {
  border-color: var(--ink);
  background: #f5f4f8;
}

.site-header .nav__cart {
  flex: none;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .site-header__inner { gap: var(--s4); }
  .site-header .nav { gap: var(--s3); }
  .header-search { min-width: 150px; max-width: 240px; }
  .nav__links a { padding: 8px 8px; font-size: 0.85rem; }
}

@media (max-width: 980px) {
  .site-header__inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-header .nav {
    display: none;
    position: static;
    order: 3;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s4);
    padding: var(--s4) 0 var(--s3);
    background: transparent;
    border-top: 1px solid var(--rule);
    border-bottom: 0;
    box-shadow: none;
  }
  .site-header .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: 0;
    padding-top: var(--s3);
    border-top: 1px solid var(--rule);
  }
  .header-search { flex: 1 0 100%; min-width: 0; max-width: none; }
}

/* Discovery Homepage Canvas (MuseScore-inspired 2-column layout) */
.is-home { background: #f6f5f8; }

.home-canvas {
  background: #f6f5f8;
  padding-block: var(--s5) var(--s10);
}

.home-shell {
  display: grid;
  gap: var(--s6);
  align-items: start;
}

@media (min-width: 1060px) {
  .home-shell {
    grid-template-columns: 268px minmax(0, 1fr);
    gap: var(--s6);
  }
}

/* Left Sticky Faceted Sidebar */
.home-sidebar {
  position: relative;
}

@media (min-width: 1060px) {
  .home-sidebar {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

.sidebar-card {
  background: var(--paper);
  border: 1px solid #e6e4ec;
  border-radius: var(--r-md);
  padding: var(--s5);
  box-shadow: 0 1px 3px rgba(20, 16, 36, 0.04);
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding-bottom: var(--s4);
  margin-bottom: var(--s4);
  border-bottom: 1px solid var(--rule);
}

.sidebar-head h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.sidebar-count {
  font-size: var(--tiny);
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--r-pill);
  background: #f2f1f6;
  color: var(--ink-2);
}

.sidebar-group + .sidebar-group {
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid #efedf4;
}

.sidebar-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--s2);
}

.sidebar-group h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin: 0 0 var(--s2);
}

.sidebar-group__head h3 { margin-bottom: 0; }

.sidebar-group__head a {
  font-size: var(--tiny);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.sidebar-group__head a:hover { text-decoration: underline; }

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.sidebar-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: 7px 10px;
  margin-inline: -10px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color 0.14s var(--ease), color 0.14s var(--ease);
}

.sidebar-list a:hover {
  background: #f3f1f8;
  color: var(--ink);
}

.sidebar-list small {
  font-size: var(--tiny);
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}

.sidebar-level {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.level-dots--sm {
  display: inline-flex;
  gap: 3px;
}

.level-dots--sm b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dcd9e4;
}

.level-dots--sm b.on { background: var(--accent); }

@media (max-width: 1059px) {
  .home-sidebar { order: 2; }
  .home-main { order: 1; }
}

/* Main Discovery Column */
.home-main {
  display: grid;
  gap: var(--s8);
  min-width: 0;
}

/* Compact Authoritative Platform Hero */
.ms-hero {
  background: linear-gradient(135deg, #ffffff 0%, #fcfbfe 60%, #f5f2f8 100%);
  border: 1px solid #e5e2ec;
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 8px 30px -20px rgba(20, 14, 38, 0.25);
  position: relative;
  overflow: hidden;
}

.ms-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 11px,
    rgba(24, 0, 54, 0.032) 11px,
    rgba(24, 0, 54, 0.032) 12px
  );
  background-size: 100% 60px;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.55), transparent 65%);
  pointer-events: none;
}

.ms-hero__copy { position: relative; max-width: 780px; }

.ms-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #151022;
  margin: var(--s2) 0 var(--s3);
}

.ms-hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.ms-hero .lead {
  font-size: 1.02rem;
  color: var(--ink-2);
  margin: 0 0 var(--s5);
  max-width: 62ch;
}

.ms-hero__search {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s2);
  background: var(--paper);
  border: 1.5px solid #d5d2df;
  border-radius: var(--r-pill);
  padding: 5px 5px 5px 46px;
  box-shadow: 0 6px 20px -12px rgba(20, 14, 38, 0.2);
  max-width: 640px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.ms-hero__search:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.ms-hero__search svg {
  position: absolute;
  left: 18px;
  width: 18px;
  height: 18px;
  color: var(--ink-3);
  pointer-events: none;
}

.ms-hero__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 8px 4px;
}

.ms-hero__search input:focus { outline: none; }

.ms-hero__search .btn {
  border-radius: var(--r-pill);
  padding: 10px 22px;
  flex: none;
}

@media (max-width: 560px) {
  .ms-hero__search { flex-wrap: wrap; border-radius: var(--r-md); padding: 8px 12px 8px 40px; }
  .ms-hero__search svg { top: 18px; }
  .ms-hero__search .btn { width: 100%; }
}

.ms-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--s4);
}

.pill-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid #dedbe7;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.14s var(--ease), background-color 0.14s var(--ease), color 0.14s var(--ease);
}

.pill-link:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.pill-link--active {
  background: #151022;
  border-color: #151022;
  color: #ffffff;
}

.pill-link--active:hover { color: #ffffff; background: #261e3a; }

.ms-stats-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4);
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid #e7e4ef;
}

@media (max-width: 720px) {
  .ms-stats-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ms-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.1;
  color: #151022;
}

.ms-stat span {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--ink-3);
}

/* Discovery Shelves */
.ms-shelf .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s4);
  margin-bottom: var(--s5);
}

.ms-shelf h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2.25rem);
  line-height: 1.12;
  color: #151022;
  margin: 4px 0 0;
}

.song-grid--4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4);
}

@media (max-width: 1120px) {
  .song-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 740px) {
  .song-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
}

@media (max-width: 440px) {
  .song-grid--4 { grid-template-columns: 1fr; }
}

/* Curated Playlist Cards (MuseScore "Neue Playlists") */
.playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
}

@media (max-width: 900px) {
  .playlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .playlist-grid { grid-template-columns: 1fr; }
}

.playlist-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 178px;
  padding: var(--s5);
  border-radius: var(--r-md);
  color: #ffffff;
  text-decoration: none;
  background:
    radial-gradient(circle at 100% 0%, hsla(var(--pl-h, 215), 75%, 56%, 0.42), transparent 62%),
    linear-gradient(145deg, hsl(var(--pl-h, 215), 42%, 17%) 0%, hsl(var(--pl-h, 215), 34%, 11%) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 26px -18px rgba(13, 13, 18, 0.55);
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.playlist-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px -18px rgba(13, 13, 18, 0.65);
}

.playlist-card__badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.playlist-card h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  line-height: 1.18;
  margin: var(--s3) 0 var(--s2);
  color: #ffffff;
}

.playlist-card p {
  margin: 0 0 var(--s4);
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.playlist-card__cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: auto;
}

/* Trend Interactive Tabs */
.trend-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  background: var(--paper);
  border: 1px solid #e4e1ec;
  border-radius: var(--r-pill);
}

.trend-tab {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color 0.14s var(--ease), color 0.14s var(--ease);
}

.trend-tab:hover { color: var(--ink); }

.trend-tab.is-active {
  background: #151022;
  color: #ffffff;
}

.trend-panel.is-hidden { display: none; }

/* Clickable Level Cards */
.level-card--link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid #e5e2ec;
  border-radius: var(--r-md);
  padding: var(--s5);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.level-card--link:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: var(--shadow-sheet);
}

.level-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s3);
}

.level-card__count {
  font-size: var(--tiny);
  font-weight: 600;
  color: var(--ink-3);
  background: #f4f2f8;
  padding: 4px 9px;
  border-radius: var(--r-pill);
}

.level-card__cta {
  margin-top: auto;
  padding-top: var(--s4);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* Editorial Magazin Cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
}

@media (max-width: 720px) {
  .article-grid { grid-template-columns: 1fr; }
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid #e5e2ec;
  border-radius: var(--r-md);
  padding: var(--s5);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: var(--shadow-sheet);
}

.article-card__meta {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--s2);
}

.article-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.24;
  margin: 0 0 var(--s2);
  color: #151022;
}

.article-card p {
  margin: 0 0 var(--s4);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.article-card__more {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.btn--dark-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.btn--dark-ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* ==========================================================================
   SEO Hub, Article, Company & Sitemap Pages
   ========================================================================== */

.seo-page { padding-block: var(--s6) var(--s11); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: var(--small);
  color: var(--ink-3);
  margin-bottom: var(--s5);
}

.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

.seo-hero { margin-bottom: var(--s7); max-width: 780px; }
.seo-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.45rem + 2vw, 3.2rem);
  line-height: 1.08;
  margin: var(--s2) 0 var(--s3);
}
.seo-hero__chips { margin-top: var(--s5); }

.seo-section + .seo-section { margin-top: var(--s9); }

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--s4);
}

.hub-card {
  display: flex;
  flex-direction: column;
  padding: var(--s5);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.hub-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: var(--shadow-sheet);
}

.hub-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s2);
}

.hub-card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  margin: 0;
}

.hub-card__arrow { color: var(--accent); font-weight: 700; }
.hub-card__meta { font-size: var(--tiny); font-weight: 600; color: var(--ink-3); margin-top: 6px; }
.hub-card__desc { font-size: var(--small); color: var(--ink-2); margin: var(--s3) 0 0; line-height: 1.45; }

.dir-columns { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .dir-columns { grid-template-columns: 1fr 1fr; } }
.dir-box {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s5);
}
.dir-box__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--s4);
}
.dir-box__head h2 { font-size: 1.25rem; margin: 0; }
.dir-box__head a { font-size: var(--small); font-weight: 600; color: var(--accent); text-decoration: none; }

.seo-editorial__grid {
  display: grid;
  gap: var(--s7);
  align-items: start;
}
@media (min-width: 960px) {
  .seo-editorial__grid { grid-template-columns: minmax(0, 1.55fr) 340px; }
}

.seo-sidebox {
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s5);
}
.seo-sidebox h3 { font-size: 1.05rem; margin: 0 0 var(--s3); }
.seo-sidebox ul { margin: 0; padding-left: 18px; display: grid; gap: var(--s2); color: var(--ink-2); font-size: 0.9rem; }
.seo-sidebox .aside-links { list-style: none; padding-left: 0; }
.seo-sidebox .aside-links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.seo-sidebox .aside-links a:hover { color: var(--accent); text-decoration: underline; }

.article-layout {
  display: grid;
  gap: var(--s8);
  align-items: start;
}
@media (min-width: 980px) {
  .article-layout { grid-template-columns: minmax(0, 1.6fr) 320px; }
}

.faq-list { display: grid; gap: var(--s3); max-width: 860px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s4) var(--s5);
}
.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.25rem; color: var(--accent); line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: var(--s3) 0 0; color: var(--ink-2); line-height: 1.6; }

.form-stack { display: grid; gap: var(--s4); }
.field-row { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.sitemap-grid {
  display: grid;
  gap: var(--s5);
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.sitemap-box {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s5);
}
.sitemap-box h2 { font-size: 1.15rem; margin: 0 0 var(--s3); padding-bottom: var(--s2); border-bottom: 1px solid var(--rule); }
.sitemap-box h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin: 0 0 var(--s2); }
.sitemap-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.9rem; }
.sitemap-box a { color: var(--ink-2); text-decoration: none; }
.sitemap-box a:hover { color: var(--accent); text-decoration: underline; }

.sitemap-songs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px 20px;
  margin-top: var(--s4);
}
.sitemap-songs a { font-size: 0.9rem; color: var(--ink); text-decoration: none; }
.sitemap-songs a span { color: var(--ink-3); }
.sitemap-songs a:hover { color: var(--accent); text-decoration: underline; }

/* ==========================================================================
   MASSIVE DARK ENTERPRISE MEGA-FOOTER (MuseScore-inspired #0d0d10)
   ========================================================================== */

.site-footer {
  margin-top: auto;
  background: #0d0d10;
  color: #b8b6c4;
  padding-block: var(--s10) var(--s7);
  border-top: 1px solid #22212b;
}

.site-footer a {
  color: #b8b6c4;
  text-decoration: none;
  transition: color 0.14s var(--ease);
}

.site-footer a:hover { color: #ffffff; }

.brand--light { color: #ffffff; }

.footer-lead {
  display: grid;
  gap: var(--s7);
  padding-bottom: var(--s9);
  margin-bottom: var(--s9);
  border-bottom: 1px solid #22212b;
  align-items: stretch;
}

@media (min-width: 960px) {
  .footer-lead { grid-template-columns: 1.05fr 1.15fr; }
}

.footer-lead__desc {
  margin: var(--s4) 0 var(--s5);
  max-width: 48ch;
  font-size: 0.96rem;
  line-height: 1.62;
  color: #a9a7b6;
}

.footer-lead__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

.footer-promo {
  background: linear-gradient(145deg, #17161e 0%, #121218 100%);
  border: 1px solid #272633;
  border-radius: var(--r-lg);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-promo__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f08a78;
}

.footer-promo h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.75rem);
  text-transform: none;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: var(--s2) 0 var(--s4);
}

.footer-promo__list {
  list-style: none;
  margin: 0 0 var(--s5);
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-promo__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: #d6d5e0;
}

.footer-promo__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #62d289;
  font-weight: 700;
}

.footer-promo__foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid #262532;
  font-size: 0.86rem;
  font-weight: 600;
}

.footer-promo__foot a { color: #ffffff; }
.footer-promo__foot a:hover { color: #f08a78; }

/* 6-Column Enterprise Directory Grid */
.footer-mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s7) var(--s5);
}

@media (min-width: 760px) {
  .footer-mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1180px) {
  .footer-mega-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s6); }
}

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffffff;
  margin: 0 0 var(--s4);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-col li a {
  font-size: 0.87rem;
  line-height: 1.35;
  color: #a9a7b6;
}

.footer-col li a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-lang-block {
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid #22212b;
}

.footer-lang-block h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffffff;
  margin: 0 0 var(--s2);
}

.site-footer .footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 0.84rem;
}

.site-footer .footer-langs a { color: #9a98a8; }
.site-footer .footer-langs a.is-active { color: #ffffff; font-weight: 700; text-decoration: underline; }

/* SEO Quick-Index Matrix Strip */
.footer-matrix {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: var(--s9);
  padding: var(--s5) 0;
  border-top: 1px solid #22212b;
  border-bottom: 1px solid #22212b;
}

.footer-matrix__label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8f8d9e;
  margin-right: var(--s2);
}

.footer-matrix a {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: #17171f;
  border: 1px solid #262533;
  font-size: 0.8rem;
  color: #c8c6d4;
}

.footer-matrix a:hover {
  background: #22212e;
  border-color: #46445c;
  color: #ffffff;
}

/* Enterprise Bottom Legal & Trust Strip */
.site-footer .footer-bottom {
  margin-top: var(--s6);
  padding-top: 0;
  border-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  font-size: 0.82rem;
  color: #8f8d9e;
}

.footer-bottom__copy strong { color: #ffffff; font-weight: 600; }

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.footer-trust span {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  color: #c4c2d0;
  font-size: 0.76rem;
  font-weight: 500;
}

.footer-trust a {
  color: #c4c2d0;
  font-weight: 600;
}

.footer-trust a:hover { color: #ffffff; }

