:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --bg-staff: #efe9dc;
  --surface: #ffffff;
  --text: #1c1814;
  --muted: #6a6258;
  --music: #2c3e6b;
  --music-dim: rgba(44, 62, 107, 0.1);
  --sheet: #c45c3a;
  --sheet-soft: rgba(196, 92, 58, 0.12);
  --scan: #4a7c6f;
  --staff-line: rgba(44, 62, 107, 0.08);
  --border: rgba(28, 24, 20, 0.1);
  --shadow: 0 18px 48px rgba(44, 62, 107, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-body:
    "Helvetica Neue",
    Helvetica,
    Arial,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.74;
  -webkit-font-smoothing: antialiased;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 11px,
      var(--staff-line) 11px,
      var(--staff-line) 12px
    ),
    radial-gradient(ellipse 45% 30% at 85% 10%, var(--sheet-soft), transparent 50%),
    linear-gradient(180deg, var(--bg-staff) 0%, var(--bg) 50%, #faf8f3 100%);
}

.backdrop__note {
  position: absolute;
  top: 12%;
  right: 8%;
  width: 18px;
  height: 18px;
  background: rgba(44, 62, 107, 0.18);
  border-radius: 50%;
  opacity: 0.7;
}

.backdrop__note::after {
  content: "";
  position: absolute;
  left: 16px;
  top: -22px;
  width: 2px;
  height: 32px;
  background: rgba(44, 62, 107, 0.22);
}

.page {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 44px));
  margin: 0 auto;
  padding: 52px 0 88px;
}

.hero {
  margin-bottom: 40px;
}

.hero__score {
  padding: 36px 32px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero__score::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--music) 0%, var(--sheet) 50%, var(--scan) 100%);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--music);
}

.brand-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand-title .music {
  color: var(--music);
}

.brand-title .sheet {
  color: var(--sheet);
  font-style: italic;
}

.brand-title .scannone {
  display: block;
  margin-top: 6px;
  font-size: 0.48em;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--scan);
}

h1 {
  margin: 22px 0 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead {
  margin-top: 16px;
  max-width: 52ch;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.82;
}

.updated {
  margin-top: 20px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--music);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.highlights li {
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.highlights li:nth-child(1) {
  border-top: 3px solid var(--music);
}

.highlights li:nth-child(2) {
  border-top: 3px solid var(--sheet);
}

.highlights li:nth-child(3) {
  border-top: 3px solid var(--scan);
}

.highlights strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
}

.highlights span {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.58;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.card {
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.card h2 {
  margin: 0 0 10px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--music);
}

.card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.68;
}

.card p + p {
  margin-top: 10px;
}

.card--wide {
  grid-column: 1 / -1;
  padding: 28px 26px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-staff) 100%);
  border-color: rgba(44, 62, 107, 0.15);
}

a {
  color: var(--music);
  text-decoration: none;
  border-bottom: 1px solid var(--sheet-soft);
}

a:hover {
  color: var(--sheet);
}

.footer {
  margin-top: 44px;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
}

.footer strong .music {
  color: var(--music);
  font-style: normal;
}

.footer strong .sheet {
  color: var(--sheet);
}

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

  .cards {
    grid-template-columns: 1fr;
  }

  .card--wide {
    grid-column: auto;
  }

  .hero__score {
    padding: 28px 22px 24px;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 36px 0 64px;
    width: min(100% - 28px, 900px);
  }
}
