:root {
  --bg: #090b10;
  --bg-2: #0d1119;
  --panel: #111723;
  --panel-strong: #0d1420;
  --panel-soft: #151d2b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(147, 242, 78, 0.22);
  --text: #f5f1e8;
  --muted: #98a3b8;
  --accent: #d6b37a;
  --accent-strong: #e4c899;
  --accent-2: #9bc0ff;
  --action: #93f24e;
  --action-hover: #b6ff75;
  --action-ink: #081004;
  --success: #86f0aa;
  --danger: #ff9a84;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shell-width: 1320px;
  --section-gap: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(147, 242, 78, 0.06), transparent 180px),
    radial-gradient(circle at top right, rgba(214, 179, 122, 0.1), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

body.homepage-page {
  background: #111;
}

a,
button,
input,
textarea,
audio {
  font: inherit;
}

button {
  border: 0;
}

.site-shell {
  width: min(var(--shell-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 64px;
}

.homepage-shell {
  width: 100%;
  padding: 0 0 40px;
}

.panel,
.trust-card,
.product-card,
.offer-card,
.buyer-intent-card,
.hero-stat-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--panel-strong));
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: var(--section-gap);
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17, 23, 35, 0.98), rgba(10, 14, 22, 0.98));
}

.homepage-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-bottom: var(--section-gap);
  padding: 14px 18px;
  background: #05070b;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}

.homepage-nav-flat {
  margin-bottom: 0;
  padding: 12px max(52px, calc((100vw - 1120px) / 2));
  border: 0;
  border-radius: 0;
  background: #000;
}

.homepage-nav-links,
.homepage-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.homepage-nav-links {
  justify-content: flex-end;
  margin-right: 2px;
}

.homepage-nav-links a,
.nav-action {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}

.homepage-nav-flat .homepage-nav-links a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark-home {
  display: inline-flex;
  align-items: center;
}

.brand-mark-home img {
  display: block;
  width: 130px;
  height: auto;
}

.flat-page-shell {
  width: 100%;
  padding: 0 0 56px;
  background: #111;
}

.flat-page-nav {
  margin-bottom: 0;
}

.flat-page-hero {
  padding: 82px 0 56px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03) 2px, transparent 2px, transparent 8px),
    #1a1d24;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.flat-page-hero-inner,
.flat-page-content,
.flat-page-footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.flat-page-hero-inner {
  text-align: center;
}

.flat-page-kicker {
  margin-bottom: 10px;
  color: #c9c9c9;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.flat-page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.02;
}

.flat-page-hero p {
  width: min(760px, 100%);
  margin: 16px auto 0;
  color: #d0d0d0;
  font-size: 1rem;
  line-height: 1.7;
}

.flat-page-content {
  padding: 48px 0 0;
}

.flat-page-section {
  margin-bottom: 42px;
  color: #111;
}

.flat-page-bio,
.flat-page-columns,
.video-grid {
  background: #fff;
}

.flat-page-bio {
  padding: 42px 46px;
}

.flat-page-bio h2,
.flat-page-columns h3,
.video-card h3 {
  margin: 0 0 16px;
  color: #161616;
}

.flat-page-bio p,
.flat-page-columns p,
.video-card p {
  margin: 0 0 18px;
  color: #3d3d3d;
  line-height: 1.75;
}

.flat-page-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flat-page-columns article {
  padding: 34px 30px 38px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.flat-page-columns article:last-child {
  border-right: 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 38px 34px 42px;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.video-card-frame {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(126, 29, 22, 0.32), rgba(0, 0, 0, 0.35)),
    #1d2129;
  color: #fff;
  font-size: 2rem;
}

.flat-page-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-top: 18px;
  color: #d8d8d8;
}

.flat-page-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flat-page-footer-brand strong {
  color: #fff;
  font-size: 1.25rem;
}

.flat-page-footer-brand span {
  color: #b2b2b2;
  font-size: 0.92rem;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.nav-action-cart {
  background: rgba(147, 242, 78, 0.1);
  border-color: rgba(147, 242, 78, 0.18);
  color: #d7ffb9;
}

.homepage-nav-flat .nav-action {
  min-height: 31px;
  padding: 0 15px;
  border: 0;
  border-radius: 0;
  background: #7e1d16;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.homepage-nav-flat .nav-action-cart {
  min-width: 84px;
}

.brand-block {
  display: block;
}

.brand-mark {
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 1.2rem;
  color: var(--text);
  text-transform: uppercase;
}

.brand-subline {
  color: var(--muted);
  font-size: 0.86rem;
}

.topbar-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.utility-pill,
.tag,
.metric-pill,
.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.82rem;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  user-select: none;
}

.hero,
.storefront-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: var(--section-gap);
  margin-bottom: var(--section-gap);
}

.market-hero {
  display: grid;
  gap: 28px;
  justify-items: center;
  padding: 92px 28px 82px;
  margin-bottom: var(--section-gap);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)),
    repeating-linear-gradient(-35deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 8px),
    linear-gradient(180deg, #10141d 0%, #0b1018 100%);
}

.market-hero-flat {
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01)),
    repeating-linear-gradient(-35deg, rgba(255,255,255,0.018) 0 2px, transparent 2px 8px),
    linear-gradient(180deg, #171c25 0%, #11161f 100%);
  padding-bottom: 78px;
}

.home-rail {
  position: relative;
  margin-bottom: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01)),
    repeating-linear-gradient(-35deg, rgba(255,255,255,0.018) 0 2px, transparent 2px 8px),
    linear-gradient(180deg, #171c25 0%, #11161f 100%);
}

.home-rail-shell {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 42px 0 54px;
}

.home-rail-logo {
  margin: 0 auto 24px;
}

.home-rail-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
  min-height: 64vh;
  transition: transform 260ms ease, opacity 260ms ease;
}

.home-rail-copy {
  display: grid;
  gap: 14px;
}

.home-rail-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.home-rail-meta,
.home-rail-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.home-rail-summary {
  max-width: 56ch;
}

.home-rail-actions,
.home-rail-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-rail-button {
  border: 0;
  cursor: pointer;
}

.home-rail-open {
  min-height: 32px;
  padding: 0 18px;
}

.home-rail-progress {
  min-width: 52px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.home-rail-arrow {
  min-width: 42px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
}

.home-rail-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

.home-rail-search {
  margin-top: 8px;
  transform: none;
}

.home-rail-progress-track {
  width: min(420px, 100%);
  height: 4px;
  margin-top: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}

.home-rail-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--action), var(--accent));
  transform-origin: left center;
  transform: scaleX(var(--rail-progress-ratio, 0.166));
  transition: transform 220ms ease;
}

.home-rail-art-shell {
  display: block;
  width: 100%;
  max-width: 460px;
  padding: 0;
  margin-left: auto;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 22px 68px rgba(0,0,0,0.38);
  cursor: pointer;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.home-rail-art-shell img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transform: translate3d(var(--rail-art-shift, 0px), 0, 0) scale(1.01);
  transition: transform 260ms ease;
}

.home-rail-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  transform: translate3d(var(--rail-cards-offset, 0px), 0, 0);
  transition: transform 260ms ease;
}

.home-rail-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.home-rail-card.active {
  border-color: var(--line-strong);
  background: rgba(147, 242, 78, 0.08);
  transform: translateY(-4px);
}

.home-rail-card img {
  display: block;
  width: 46px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.home-rail-card-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.home-rail-card-copy strong,
.home-rail-card-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-rail-card-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.home-rail.rail-released .home-rail-step {
  color: var(--action);
}

.home-rail.rail-released .home-rail-stage {
  opacity: 0.98;
}

.market-hero-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(462px, 100%);
  min-height: 108px;
  padding: 16px 40px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.05),
    0 0 0 1px rgba(255,255,255,0.05);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  transform: skewX(-10deg);
  color: #f1f1f1;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.market-hero-logo img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(360px, 100%);
  height: auto;
  transform: skewX(10deg);
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.16));
}

.market-hero-logo::before,
.market-hero-logo::after {
  content: none;
}

.market-search-shell {
  position: relative;
  width: min(570px, 100%);
  margin-top: 2px;
  transform: translateX(10px);
}

.market-search-input {
  min-height: 54px;
  text-align: center;
  font-size: 0.98rem;
  padding-right: 56px;
  border: 1px solid rgba(255,255,255,0.68);
  background: rgba(0, 0, 0, 0.2);
}

.market-search-icon {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.5rem;
  pointer-events: none;
}

.storefront-hero {
  padding: 24px;
  border-radius: var(--radius-xl);
}

.storefront-hero-copy {
  display: grid;
  align-content: start;
  gap: 0;
}

.storefront-featured {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.feature-artwork-shell img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.feature-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.3vw, 2.6rem);
  line-height: 0.96;
}

.feature-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero-copy,
.hero-stage,
.catalog-panel,
.detail-panel {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-copy {
  padding: 28px;
}

.hero-copy h1 {
  margin: 14px 0 16px;
  max-width: 13ch;
  font-size: clamp(2.8rem, 4.6vw, 4.9rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-link,
.ghost-link,
.checkout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 12px;
  padding: 0 18px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.primary-link,
.checkout-btn {
  background: linear-gradient(135deg, var(--action), var(--action-hover));
  color: var(--action-ink);
  font-weight: 700;
}

.primary-link:hover,
.checkout-btn:hover {
  transform: translateY(-1px);
}

.ghost-link {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.brand-mark-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-stat-card {
  border-radius: 14px;
  padding: 18px;
}

.hero-label {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.hero-stat-card strong {
  font-size: clamp(1.55rem, 2vw, 2.2rem);
}

.hero-stage {
  display: grid;
  grid-template-rows: minmax(280px, 1fr) auto;
}

.hero-artwork-shell {
  position: relative;
  padding: 22px 22px 0;
}

.hero-artwork-shell::before {
  content: "";
  position: absolute;
  inset: 44px 70px auto;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(214, 179, 122, 0.18), transparent 72%);
  filter: blur(14px);
}

.hero-artwork-shell img,
#detail-artwork {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stage-copy {
  padding: 24px 28px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(7, 10, 18, 0), rgba(7, 10, 18, 0.72));
}

.hero-stage-copy h2 {
  margin: 12px 0 10px;
  font-size: clamp(1.7rem, 2vw, 2.4rem);
}

.hero-stage-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.preview-player {
  width: 100%;
  margin-top: 6px;
  accent-color: var(--action);
}

.preview-player-host {
  width: 100%;
}

.floating-player {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  grid-template-columns: 88px minmax(280px, 340px);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(17, 23, 35, 0.96), rgba(9, 12, 19, 0.98));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

.floating-player-open {
  display: block;
  width: 88px;
  height: 88px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.floating-player-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-player-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.floating-player-meta {
  display: grid;
  gap: 4px;
}

.floating-player-label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.floating-player-title {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.floating-player-subline {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.floating-player-progress {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
}

.floating-player-time {
  color: var(--muted);
  font-size: 0.76rem;
}

.floating-player-seek {
  width: 100%;
  accent-color: var(--action);
}

.floating-player-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-player-btn {
  min-width: 54px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.floating-player-toggle {
  background: var(--action);
  color: var(--action-ink);
  font-weight: 700;
}

.floating-player-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.preview-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.trust-strip,
.storefront-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: var(--section-gap);
}

.storefront-strip {
  align-items: stretch;
}

.storefront-strip .utility-pill {
  justify-content: center;
  min-height: 42px;
}

.trust-card {
  border-radius: 14px;
  padding: 18px;
}

.trust-card h3 {
  margin: 12px 0 10px;
  font-size: 1.18rem;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.store-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: var(--section-gap);
  align-items: start;
}

.beat-layout {
  display: block;
}

.beat-main {
  border-radius: var(--radius-xl);
  padding: 24px;
}

.beat-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.beat-sidebar {
  align-self: start;
}

.beat-sticky {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 14px;
  justify-items: start;
}

.beat-artwork-shell {
  position: relative;
  padding: 0;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.beat-artwork-shell img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.beat-sidebar-copy {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(17, 24, 40, 0.92), rgba(10, 14, 24, 0.96));
}

.beat-sidebar-copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 2.8vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.beat-sidebar-copy .preview-player {
  margin-top: 2px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-box {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.metric-label {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-box strong {
  font-size: 1.3rem;
}

.beat-sidebar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.beat-content {
  display: grid;
  gap: 16px;
  align-content: start;
}

.beat-overview {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  padding: 2px 0 6px;
}

.beat-overview h2 {
  margin: 8px 0 0;
  font-size: 1.8rem;
}

.beat-overview-copy {
  margin: 8px 0 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.policy-pill {
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(147, 242, 78, 0.18);
  background: rgba(147, 242, 78, 0.08);
  color: #c9ff9f;
  font-size: 0.86rem;
  line-height: 1.4;
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.license-card {
  width: 100%;
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.license-card:hover,
.license-card.selected {
  transform: translateY(-1px);
  border-color: rgba(147, 242, 78, 0.32);
  background: linear-gradient(180deg, rgba(24, 35, 22, 0.22), rgba(18, 27, 39, 0.98));
}

.license-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.license-card-top h3 {
  margin: 6px 0 0;
  font-size: 1.14rem;
}

.license-card-top strong {
  font-size: 1.26rem;
  color: var(--text);
}

.license-card .metric-row {
  margin-top: 4px;
}

.license-card-meta {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.panel-subtle {
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid rgba(147, 242, 78, 0.14);
  background:
    radial-gradient(circle at top right, rgba(147, 242, 78, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(18, 24, 40, 0.96), rgba(10, 14, 24, 0.98));
}

.selected-license-price {
  font-size: 1.55rem;
  color: var(--action);
}

.terms-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 14px;
  margin-top: 16px;
}

.compact-offer-tags {
  margin-top: -4px;
}

.continuation-section {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.continuation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rail-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.rail-card-current {
  border-color: rgba(147, 242, 78, 0.26);
}

.rail-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.rail-card-copy {
  display: grid;
  gap: 8px;
}

.rail-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.catalog-panel,
.detail-panel {
  padding: 22px;
}

.detail-panel {
  position: sticky;
  top: 20px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.section-head.compact {
  align-items: center;
}

.section-head h2,
.section-head h3 {
  margin: 10px 0 0;
  font-size: 1.55rem;
  user-select: none;
}

.search-shell {
  display: grid;
  gap: 8px;
  min-width: min(280px, 100%);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-grid {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.loading-shell {
  position: relative;
  overflow: hidden;
}

.loading-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: lucionus-shimmer 1.4s infinite;
}

.loading-line,
.loading-box {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.loading-line {
  height: 12px;
}

.loading-line.sm {
  height: 10px;
  width: 42%;
}

.loading-line.md {
  width: 68%;
}

.loading-line.lg {
  width: 88%;
}

.loading-box {
  min-height: 60px;
}

.loading-copy {
  display: grid;
  gap: 10px;
}

.loading-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20, 26, 40, 0.96), rgba(15, 20, 31, 0.98));
}

.catalog-shell-flat .loading-card {
  width: min(100% - 32px, 996px);
  margin: 0 auto;
  border-width: 0 0 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: transparent;
}

.loading-product-row {
  display: grid;
  grid-template-columns: minmax(340px, 1.8fr) 60px 48px minmax(180px, 1fr) 82px;
  gap: 10px;
  align-items: center;
}

.loading-product-main {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.loading-thumb {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.catalog-shell-flat .loading-thumb,
.catalog-shell-flat .loading-line,
.catalog-shell-flat .loading-box {
  background: rgba(0, 0, 0, 0.08);
}

.loading-license-card {
  min-height: 536px;
}

.loading-license-head {
  min-height: 138px;
  padding: 18px 16px 14px;
  background: #7e1d16;
}

.loading-license-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.loading-rail-card {
  min-height: 104px;
}

.loading-stack {
  display: grid;
  gap: 12px;
}

.loading-panel {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(20, 26, 40, 0.96), rgba(15, 20, 31, 0.98));
}

.loading-note {
  color: var(--muted);
  font-size: 0.92rem;
}

@keyframes lucionus-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.catalog-columns {
  display: grid;
  grid-template-columns: minmax(340px, 1.8fr) 60px 48px minmax(180px, 1fr) 82px;
  gap: 10px;
  margin-top: 10px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  user-select: none;
}

.catalog-shell,
.selected-shell {
  margin-bottom: var(--section-gap);
}

.catalog-shell-flat {
  margin-bottom: 0;
  padding: 18px 0 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  color: #141414;
}

.catalog-shell-flat .catalog-columns {
  width: min(100% - 32px, 996px);
  margin-left: auto;
  margin-right: auto;
}

.catalog-shell-flat .catalog-grid {
  gap: 0;
  margin-top: 0;
}

.catalog-cta-row {
  display: flex;
  justify-content: center;
  width: min(100% - 32px, 996px);
  margin: 8px auto 0;
}

.catalog-browse-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 18px;
  background: #7e1d16;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(340px, 1.8fr) 60px 48px minmax(180px, 1fr) 82px;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.catalog-shell-flat .product-card {
  width: min(100% - 32px, 996px);
  margin: 0 auto;
  padding: 7px 14px;
  border-width: 0 0 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.07);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: #141414;
}

.product-card:hover,
.product-card.active {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(25, 33, 54, 0.92), rgba(18, 23, 36, 0.96));
}

.catalog-shell-flat .product-card:hover,
.catalog-shell-flat .product-card.active {
  transform: none;
  background: rgba(0, 0, 0, 0.018);
  border-color: rgba(0, 0, 0, 0.1);
}

.catalog-shell-flat .product-card-meta,
.catalog-shell-flat .product-card-time,
.catalog-shell-flat .product-card-bpm {
  color: #4f4f4f;
}

.catalog-shell-flat .product-card-open {
  background: #7e1d16;
  border-color: #7e1d16;
  color: #fff;
}

.catalog-shell-flat .metric-pill {
  background: #efefef;
  border-color: #ddd;
  color: #666;
}

.catalog-shell-flat .section-head h2,
.catalog-shell-flat .section-head h3,
.catalog-shell-flat .eyebrow,
.catalog-shell-flat .catalog-columns {
  color: #141414;
}

.catalog-shell-flat .eyebrow {
  opacity: 0.78;
}

.product-card img {
  width: 32px;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  object-fit: cover;
}

.product-card-main {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  text-align: left;
  align-items: center;
}

.product-card-title {
  margin: 0 0 4px;
  font-size: 0.88rem;
  font-weight: 500;
}

.product-card-lane {
  margin-bottom: 0;
}

.product-card-meta,
.product-meta,
.offer-copy,
.metric-note,
.checkout-feedback {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-card-time,
.product-card-bpm {
  color: var(--muted);
  font-size: 0.78rem;
  text-align: left;
  line-height: 1.45;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.product-card-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  text-align: right;
}

.product-card-share {
  color: #333;
  font-size: 0.92rem;
  line-height: 1;
}

.product-card-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  min-width: 44px;
  padding: 0 8px;
  border-radius: 0;
  border: 0;
  background: #7e1d16;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-shell-flat .metric-pill {
  padding: 3px 7px;
  border-radius: 2px;
  font-size: 0.64rem;
}

.empty-state {
  padding: 48px 0;
}

.empty-state h3 {
  margin: 10px 0;
  font-size: 1.6rem;
}

.detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 18px;
  align-items: start;
}

.detail-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 2.4vw, 3rem);
  line-height: 0.95;
}

.detail-price-anchor {
  min-width: 120px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  text-align: right;
  align-self: start;
}

.detail-price-anchor span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-price-anchor strong {
  display: block;
  margin-top: 6px;
  font-size: 2rem;
  color: var(--action);
}

.detail-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}

.detail-artwork-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.detail-artwork-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.detail-summary {
  display: grid;
  gap: 14px;
  align-content: start;
}

.policy-note {
  margin: 0;
  color: var(--accent-2);
  font-size: 0.98rem;
  line-height: 1.45;
}

.detail-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.highlight-item,
.buyer-intent-card {
  border-radius: 14px;
  padding: 16px 18px;
}

.highlight-item {
  display: grid;
  gap: 8px;
}

.buyer-intent-card {
  display: grid;
  gap: 10px;
}

.highlight-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.highlight-item strong {
  display: block;
  margin-bottom: 6px;
}

.buyer-intent-card {
  border: 1px solid rgba(147, 242, 78, 0.16);
  background: linear-gradient(180deg, rgba(147, 242, 78, 0.09), rgba(255, 255, 255, 0.02));
}

.buyer-intent-card p {
  margin: 10px 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.86rem;
}

.checkout-feedback {
  min-height: 20px;
  margin-top: 10px;
}

.checkout-feedback.error {
  color: var(--danger);
}

.checkout-feedback.success {
  color: var(--success);
}

.offer-section {
  margin-top: 22px;
}

.offer-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.offer-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
}

.offer-card.recommended {
  border-color: rgba(147, 242, 78, 0.3);
  box-shadow: 0 20px 50px rgba(147, 242, 78, 0.08);
}

.offer-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(147, 242, 78, 0.14);
  color: #cfffab;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offer-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.offer-head h4 {
  margin: 0;
  font-size: 1.15rem;
}

.offer-price {
  color: var(--action);
  font-size: 1.35rem;
  font-weight: 700;
}

.offer-copy {
  margin: 0;
}

.offer-tags,
.offer-limits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 7px 10px;
}

.checkout-btn {
  width: 100%;
}

.checkout-btn.secondary {
  background: linear-gradient(135deg, #263243, #36455a);
  color: var(--text);
}

.checkout-btn[disabled] {
  background: #3a3d41;
  color: #a0a4aa;
  cursor: not-allowed;
}

.store-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

textarea.store-input {
  resize: vertical;
  min-height: 140px;
}

.store-input::placeholder {
  color: rgba(152, 163, 184, 0.72);
}

.page-intro {
  display: grid;
  gap: 10px;
  margin-bottom: var(--section-gap);
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(17, 23, 35, 0.96), rgba(12, 17, 28, 0.98));
  box-shadow: var(--shadow);
}

.page-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
}

.page-intro p {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.6;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: var(--section-gap);
}

.stack {
  display: grid;
  gap: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog-shell-flat + .site-footer {
  margin-top: 0;
  padding: 22px max(24px, calc((100vw - 1120px) / 2)) 0;
  background: #f4f4f4;
  color: #4f4f4f;
  border-top: 0;
}

.catalog-shell-flat + .site-footer .footer-links a {
  color: #4f4f4f;
}

.homepage-license-band,
.homepage-media-band,
.homepage-mailing-band,
.homepage-contact-band {
  width: 100%;
}

.homepage-license-band {
  padding: 74px 0 90px;
  background: #161616;
}

.homepage-license-shell,
.homepage-media-shell,
.homepage-mailing-shell,
.homepage-contact-shell {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
}

.homepage-license-shell h2,
.homepage-mailing-shell h2,
.homepage-contact-title h2 {
  margin: 0 0 34px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  text-align: center;
}

.homepage-mailing-icon {
  display: inline-block;
  margin-right: 10px;
}

.homepage-license-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.homepage-license-card {
  display: grid;
  align-content: start;
  background: #fff;
  color: #141414;
  min-height: 536px;
}

.homepage-license-card-head,
.homepage-license-card-price,
.homepage-license-card-files {
  background: #7e1d16;
  color: #fff;
}

.homepage-license-card-head {
  min-height: 138px;
  padding: 16px 16px 8px;
  text-align: center;
}

.homepage-license-card-title {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.homepage-license-card-badge {
  margin-top: 8px;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.homepage-license-card-price {
  padding: 0 16px 0;
  text-align: center;
  font-size: 2.08rem;
  font-weight: 800;
}

.homepage-license-card-files {
  padding: 2px 14px 16px;
  text-align: center;
  font-size: 0.62rem;
  text-transform: uppercase;
  line-height: 1.28;
}

.homepage-license-card-body {
  display: grid;
  gap: 6px;
  min-height: 154px;
  padding: 16px 16px 10px;
  font-size: 0.78rem;
  line-height: 1.28;
}

.homepage-license-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 0 16px 16px;
  background: #7e1d16;
  color: #fff;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.homepage-license-card-emphasis .homepage-license-card-head {
  padding-top: 12px;
}

.homepage-services-band {
  padding: 86px 0 112px;
  background: #fff;
}

.homepage-services-shell {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  text-align: center;
}

.homepage-services-shell h2 {
  margin: 0 0 36px;
  color: #1a1a1a;
  font-size: clamp(2rem, 3vw, 3rem);
}

.homepage-services-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 320px;
  margin: 0 auto;
  color: #1a1a1a;
}

.homepage-services-illustration {
  position: relative;
  width: 192px;
  aspect-ratio: 1 / 1;
  background: #fafafa;
  overflow: hidden;
}

.homepage-services-illustration-circle {
  position: absolute;
  inset: 24px;
  border-radius: 999px;
  background: #eef3a1;
}

.homepage-services-illustration-board {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 108px;
  height: 72px;
  background: #1c1c1c;
  border-radius: 10px;
  transform: translate(-50%, -50%) rotate(-28deg);
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.18);
}

.homepage-services-illustration-board::before {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 48px;
  height: 28px;
  background:
    linear-gradient(90deg,
      #fff 0 12%,
      #151515 12% 16%,
      #fff 16% 28%,
      #151515 28% 32%,
      #fff 32% 44%,
      #151515 44% 48%,
      #fff 48% 60%,
      #151515 60% 64%,
      #fff 64% 76%,
      #151515 76% 80%,
      #fff 80% 100%);
}

.homepage-services-illustration-board span {
  position: absolute;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #111;
}

.homepage-services-illustration-board span:nth-child(1) { left: 14px; }
.homepage-services-illustration-board span:nth-child(2) { left: 28px; }
.homepage-services-illustration-board span:nth-child(3) { left: 42px; }
.homepage-services-illustration-board span:nth-child(4) { left: 56px; }

.homepage-services-card img {
  display: none;
}

.homepage-services-card h3 {
  margin: 0;
  color: #2f36c5;
  font-size: 1.5rem;
}

.homepage-services-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.homepage-services-actions {
  display: grid;
  gap: 40px;
  justify-items: center;
  margin-top: 8px;
}

.homepage-media-band {
  padding: 80px 0 62px;
  background:
    repeating-linear-gradient(-35deg, rgba(255,255,255,0.018) 0 2px, transparent 2px 8px),
    #1a1a1a;
}

.homepage-media-shell {
  display: grid;
  grid-template-columns: 208px minmax(0, 364px);
  gap: 54px;
  align-items: center;
  justify-content: center;
}

.homepage-social-stats {
  display: grid;
  gap: 18px;
  color: #fff;
}

.homepage-social-stat {
  display: grid;
  grid-template-columns: 18px auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: start;
}

.homepage-social-stat strong {
  grid-column: 2;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.homepage-social-stat span {
  grid-column: 2;
  color: #c9c9c9;
  font-size: 0.95rem;
}

.homepage-social-icon {
  grid-row: 1 / span 2;
  align-self: center;
  color: #b52c23;
  font-size: 0.9rem;
}

.homepage-media-card {
  position: relative;
  display: block;
  width: min(100%, 364px);
  margin: 0 auto;
  background: #000;
}

.homepage-media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.homepage-media-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #7e1d16;
  color: #fff;
  font-size: 1.3rem;
}

.homepage-mailing-band {
  padding: 58px 0 62px;
  background: #050813;
}

.homepage-mailing-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: center;
}

.homepage-dark-input {
  border-width: 0 0 1px;
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
  padding: 10px 0;
}

.homepage-mailing-check {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  color: #d6d6d6;
  font-size: 0.9rem;
}

.homepage-contact-band {
  padding: 64px 0 74px;
  background: #171717;
}

.homepage-contact-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
}

.homepage-contact-title h2 {
  text-align: left;
}

.homepage-mailing-band .catalog-browse-link,
.homepage-contact-band .catalog-browse-link {
  min-height: 30px;
  padding: 0 18px;
}

.homepage-contact-form {
  display: grid;
  gap: 18px;
}

.homepage-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.homepage-footer {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr auto;
  align-items: start;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 44px;
}

.homepage-footer-brand {
  display: grid;
  gap: 10px;
}

.homepage-footer-brand strong {
  color: #141414;
  font-size: 1.84rem;
}

.homepage-footer-brand p {
  margin: 0;
  max-width: 208px;
  color: #9a9a9a;
  font-size: 0.92rem;
}

.homepage-footer-legal {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 4px 12px;
  max-width: 222px;
  font-size: 0.66rem;
  text-transform: uppercase;
}

.homepage-footer-legal a:nth-child(3) {
  grid-column: 1 / -1;
}

.homepage-footer-legal a {
  color: #6a6a6a;
  text-decoration: none;
}

.footer-links-column {
  display: grid;
  gap: 7px;
  align-content: start;
}

.homepage-footer-heading {
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 5px;
}

.homepage-footer-social {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8px;
}

.homepage-footer-social a {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.homepage-footer-social img {
  display: block;
  width: 26px;
  height: 26px;
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .flat-page-columns,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .flat-page-columns article {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .flat-page-columns article:last-child {
    border-bottom: 0;
  }

  .flat-page-footer {
    flex-direction: column;
  }

  .hero,
  .storefront-hero,
  .featured-track,
  .store-layout,
  .beat-grid,
  .detail-grid,
  .license-grid,
  .offer-list,
  .terms-grid,
  .continuation-grid,
  .testimonial-grid,
  .trust-strip,
  .page-layout {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    position: static;
  }

  .beat-sticky {
    position: static;
  }

  .beat-artwork-shell {
    max-width: none;
  }

  .storefront-featured,
  .catalog-columns {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .detail-highlights {
    grid-template-columns: 1fr;
  }

  .homepage-nav {
    grid-template-columns: 1fr;
  }

  .home-rail-shell {
    width: min(100% - 20px, 100%);
  }

  .home-rail-stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-rail-art-shell {
    margin-left: 0;
    max-width: 100%;
  }

  .home-rail-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-footer {
    grid-template-columns: 1fr 1fr;
  }

  .homepage-license-grid,
  .homepage-media-shell,
  .homepage-contact-shell,
  .homepage-contact-row,
  .homepage-mailing-form {
    grid-template-columns: 1fr;
  }

  .homepage-license-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floating-player {
    right: 12px;
    left: 12px;
    bottom: 12px;
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 12px;
  }

  .floating-player-open {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 20px, 100%);
    padding-top: 12px;
  }

  .topbar,
  .homepage-nav,
  .section-head,
  .beat-overview,
  .detail-head,
  .preview-meta,
  .hero-actions,
  .home-rail-actions,
  .home-rail-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-meta {
    justify-content: flex-start;
  }

  .topbar-nav {
    justify-content: flex-start;
  }

  .hero-copy,
  .hero-stage-copy,
  .catalog-panel,
  .detail-panel,
  .page-intro,
  .beat-main {
    padding: 20px;
  }

  .hero-artwork-shell {
    padding: 20px 20px 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

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

  .product-card {
    grid-template-columns: 1fr;
  }

  .price-pill {
    justify-self: start;
  }

  .product-card-action {
    justify-items: start;
    text-align: left;
  }

  .product-card-main {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .homepage-footer {
    grid-template-columns: 1fr;
  }

  .homepage-license-shell,
  .homepage-services-shell,
  .homepage-media-shell,
  .homepage-mailing-shell,
  .homepage-contact-shell {
    width: min(100% - 20px, 100%);
  }

  .homepage-license-grid {
    grid-template-columns: 1fr;
  }

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

  .home-rail-copy h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .floating-player-progress {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .floating-player-btn {
    min-width: 48px;
    padding: 9px 10px;
  }
}

@media (max-width: 640px) {
  .flat-page-hero {
    padding: 62px 0 42px;
  }

  .flat-page-bio {
    padding: 30px 24px;
  }

  .video-grid {
    padding: 24px 20px 28px;
  }
}
