/* ======================================================
   GoodDrama — gooddrama.org
   A cinematic, content-rich, minimalist landing page.
   ====================================================== */

:root {
  --bg: #0b0b10;
  --bg-soft: #131320;
  --bg-elev: #1a1a28;
  --ink: #f6f1e8;
  --ink-dim: #b8b3a8;
  --ink-mute: #7a7568;
  --rule: rgba(255, 255, 255, 0.08);
  --rule-strong: rgba(255, 255, 255, 0.16);

  --gold: #ffb86b;
  --rose: #ff5577;
  --amber: #f59e0b;

  --grad-warm: linear-gradient(135deg, #ffb86b 0%, #ff5577 100%);
  --grad-cool: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);

  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 36px;

  --max-w: 1180px;
  --max-w-narrow: 760px;

  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 80px rgba(255, 184, 107, 0.25);
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }

/* ----- container ----- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--max-w-narrow); }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  background: rgba(11, 11, 16, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-scrolled {
  background: rgba(11, 11, 16, 0.85);
  border-bottom-color: var(--rule);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}
.brand__mark { width: 32px; height: 32px; }
.brand__name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 24px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-dim);
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn--primary {
  background: var(--grad-warm);
  color: #0b0b10;
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255, 85, 119, 0.35); }

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 88px 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute;
  inset: -200px -200px auto auto;
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, rgba(255, 85, 119, 0.35), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto auto -200px -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.3), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 96px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}
.eyebrow--quiet { background: rgba(255,255,255,0.03); }

.hero__title {
  margin: 24px 0 20px;
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-dim);
  max-width: 540px;
  margin: 0 0 36px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  background: #fff;
  color: #0b0b10;
  border: 1px solid rgba(0,0,0,0.1);
  transition: transform .2s ease, box-shadow .2s ease;
  font-weight: 500;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.3); }
.store-btn--play { background: #0b0b10; color: #fff; border-color: rgba(255,255,255,0.18); }
.store-btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.store-btn--ghost:hover { background: rgba(255,255,255,0.06); }
.store-btn--coming { background: #1a1a28; color: var(--ink-mute); cursor: not-allowed; border-color: var(--rule); }
.store-btn--coming:hover { transform: none; box-shadow: none; }
.store-btn--lg { padding: 16px 28px; border-radius: 18px; }
.store-btn__text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}
.store-btn__text small {
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.7;
  text-transform: uppercase;
}
.store-btn__text strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

.hero__bullets {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--ink-dim);
  font-size: 14px;
}
.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__bullets svg { color: var(--gold); flex-shrink: 0; }

/* ----- phone mockup ----- */
.hero__phones {
  position: relative;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone {
  position: absolute;
  width: 280px;
  height: 560px;
  background: #0b0b10;
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #1a1a28,
    0 0 0 4px #2a2a3a,
    var(--shadow-lg);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.phone--back {
  transform: translate(-110px, -30px) rotate(-8deg);
  opacity: 0.95;
  filter: blur(0.4px);
}
.phone--front {
  transform: translate(60px, 20px) rotate(5deg);
  z-index: 2;
}
.phone__notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #0b0b10;
  border-radius: 16px;
  z-index: 3;
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--g1, #7c3aed), var(--g2, #ec4899));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.phone__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 50%),
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
}
.phone__badge {
  position: absolute;
  top: 60px; left: 24px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  z-index: 2;
}
.phone__caption {
  position: relative;
  z-index: 2;
  color: #fff;
}
.phone__caption .tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 184, 107, 0.9);
  color: #0b0b10;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 6px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.phone__caption .tag--alt {
  background: rgba(168, 85, 247, 0.95);
  color: #fff;
}
.phone__caption h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.phone__caption p {
  font-size: 13px;
  margin: 0;
  opacity: 0.92;
}
.phone__rail {
  position: absolute;
  right: 16px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 3;
}
.phone__rail button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 18px;
}
.phone__progress {
  position: absolute;
  left: 24px; right: 24px;
  bottom: 24px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  overflow: hidden;
  z-index: 3;
}
.phone__progress span {
  display: block;
  height: 100%;
  width: 38%;
  background: #fff;
  border-radius: 2px;
}

/* ----- marquee ----- */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}
.marquee__track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: scroll 35s linear infinite;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ STATS ============ */
.stats {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}
.stat__label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============ SECTIONS ============ */
.section {
  padding: 120px 0;
  position: relative;
}
.section--dark { background: #07070d; }
.section--soft { background: var(--bg-soft); }
.section--genres { padding-top: 80px; padding-bottom: 80px; }

.section__head {
  max-width: 720px;
  margin: 0 0 64px;
}
.section__head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 100%;
}
.section__title {
  margin: 16px 0;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.03em;
}
.section__lede {
  margin: 0;
  font-size: 17px;
  color: var(--ink-dim);
  max-width: 580px;
}
.link-arrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.link-arrow:hover { border-color: var(--gold); }

/* ----- features ----- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--rule-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}
.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 20%, transparent);
  color: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.feature h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.feature p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 15px;
}

/* ----- genres ----- */
.genres {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.genre {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 22px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--g1), var(--g2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s ease;
}
.genre::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.25), transparent 60%),
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6) 100%);
}
.genre::after {
  content: "→";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: transform .25s ease, background .25s ease;
}
.genre:hover { transform: translateY(-4px); }
.genre:hover::after { background: rgba(255,255,255,0.4); transform: translate(2px,-2px); }
.genre__title {
  position: relative;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.genre__count {
  position: relative;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
}

/* ----- trending ----- */
.trending {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.poster {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--g1), var(--g2));
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
}
.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(255,255,255,0.25), transparent 50%),
    linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%);
}
.poster:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.poster__rank {
  position: relative;
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.poster__meta { position: relative; color: #fff; }
.poster__tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.poster__meta h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.poster__meta p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

/* ----- steps ----- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  padding: 36px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
  background: rgba(255,255,255,0.02);
  transition: border-color .25s ease, transform .25s ease;
}
.step:hover {
  border-color: var(--rule-strong);
  transform: translateY(-2px);
}
.step__num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.step h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.step p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 15px;
}

/* ----- reviews ----- */
.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.review {
  margin: 0;
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
  background: var(--bg);
}
.review__stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 4px;
  margin-bottom: 16px;
}
.review p {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  font-style: italic;
  margin: 0 0 20px;
  color: var(--ink);
}
.review footer {
  font-size: 13px;
  color: var(--ink-mute);
}

/* ----- faq ----- */
.faq { display: flex; flex-direction: column; gap: 4px; }
.faq__item {
  border-top: 1px solid var(--rule);
  padding: 20px 0;
}
.faq__item:last-of-type { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  padding: 12px 0;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  font-size: 22px;
  font-weight: 300;
  transition: transform .25s ease, background .25s ease;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
  background: var(--grad-warm);
  color: #0b0b10;
}
.faq__item p {
  margin: 8px 0 12px;
  color: var(--ink-dim);
  font-size: 16px;
  max-width: 640px;
}
.faq__item a { color: var(--gold); border-bottom: 1px solid currentColor; }

/* ============ CTA ============ */
.cta {
  padding: 120px 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 85, 119, 0.25), transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 184, 107, 0.2), transparent 60%),
    #07070d;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cta__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta__copy h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.cta__copy p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 17px;
  max-width: 480px;
}
.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-self: end;
}

/* ============ FOOTER ============ */
.footer {
  padding: 80px 0 32px;
  background: var(--bg);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.footer__brand p {
  margin: 16px 0 0;
  color: var(--ink-dim);
  font-size: 14px;
  max-width: 320px;
}
.footer__col h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer__col ul li {
  margin-bottom: 10px;
}
.footer__col ul a {
  font-size: 14px;
  color: var(--ink-dim);
  transition: color .2s ease;
}
.footer__col ul a:hover { color: var(--ink); }

.footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink-mute);
  font-size: 12px;
}

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }

  .hero { padding-top: 48px; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 64px;
  }
  .hero__phones {
    height: 480px;
    order: 2;
    transform: scale(0.85);
  }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .section { padding: 80px 0; }
  .features { grid-template-columns: 1fr; }
  .genres { grid-template-columns: repeat(2, 1fr); }
  .trending { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; gap: 32px; }
  .cta__buttons { justify-self: stretch; flex-direction: column; }
  .cta__buttons .store-btn { justify-content: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 540px) {
  .nav__inner { height: 64px; }
  .brand__name { font-size: 18px; }
  .hero__phones { height: 420px; transform: scale(0.7); }
  .phone--back { transform: translate(-80px, -20px) rotate(-8deg); }
  .phone--front { transform: translate(40px, 20px) rotate(5deg); }
  .genres { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============ STATIC LEGAL PAGES ============ */
.legal {
  padding: 120px 0 80px;
  max-width: 760px;
  margin: 0 auto;
}
.legal h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 12px;
}
.legal .updated {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.legal h2 {
  font-size: 26px;
  margin: 48px 0 16px;
}
.legal h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--gold);
}
.legal p, .legal li {
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.7;
}
.legal ul {
  list-style: disc;
  padding-left: 20px;
  margin: 12px 0;
}
.legal a {
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.legal a:hover { border-color: currentColor; }
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-dim);
  margin-bottom: 24px;
}
.legal__back:hover { color: var(--ink); }
