/* ============================================================
   PUMBUM — dark minimal · black + violet
   ============================================================ */

:root {
  --bg:        #0a0908;
  --bg-2:      #121029;
  --surface:   #141210;
  --surface-2: #1b1815;
  --fg:        #f4f1ea;
  --muted:     #9a948a;
  --muted-2:   #6f6a62;
  --accent:     #9d5cff;
  --accent-br:  #b78aff;
  --line:      rgba(244, 241, 234, 0.10);
  --line-2:    rgba(244, 241, 234, 0.06);

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --r: 14px;

  --font-display: 'Syne', 'Arial Black', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.section__head { max-width: 640px; margin-bottom: clamp(36px, 6vw, 64px); }
.section__lead { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

/* ---------- buttons ---------- */
.btn {
  --c: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 0.9em 1.7em;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-br); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--line); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--block { width: 100%; padding-block: 1.05em; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 9, 8, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-2);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__logo { height: 26px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 34px); }
.nav__menu a { font-size: 0.92rem; color: var(--muted); transition: color .25s; position: relative; }
.nav__menu a:hover { color: var(--fg); }
.nav__menu a:not(.nav__cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav__menu a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  border: 1px solid var(--line); padding: 0.5em 1.1em; border-radius: 100px; color: var(--fg) !important;
}
.nav__cta:hover { border-color: var(--accent); color: var(--accent) !important; }

.nav__right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; letter-spacing: .06em; }
.lang__btn { color: var(--muted-2); font-weight: 600; transition: color .2s; }
.lang__btn.is-active { color: var(--accent); }
.lang__btn:hover { color: var(--fg); }
.lang__sep { color: var(--muted-2); }

.nav__burger { display: none; width: 30px; height: 22px; position: relative; }
.nav__burger span {
  position: absolute; left: 0; height: 2px; width: 100%; background: var(--fg); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 10px; }
.nav__burger span:nth-child(3) { top: 20px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding-block: 120px 80px;
}
.hero__glow {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 50% 38%, rgba(157, 92, 255, 0.16), transparent 70%),
    radial-gradient(50% 60% at 80% 90%, rgba(157, 92, 255, 0.08), transparent 70%),
    linear-gradient(180deg, #0a0908 0%, #100d0a 60%, #0a0908 100%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: 1; opacity: 0.04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero__logo {
  width: min(540px, 82vw); height: auto; margin-bottom: 1.6rem;
  filter: drop-shadow(0 8px 40px rgba(157, 92, 255, 0.18));
  animation: rise 1s var(--ease) both;
}
.hero__tagline {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(0.95rem, 2.4vw, 1.4rem);
  letter-spacing: 0.12em; color: var(--fg);
  animation: rise 1s var(--ease) .12s both;
}
.hero__loc {
  color: var(--muted); font-size: 0.92rem; letter-spacing: 0.08em; margin-top: 0.5rem;
  text-transform: uppercase;
  animation: rise 1s var(--ease) .2s both;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 2.2rem;
  animation: rise 1s var(--ease) .3s both; }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-2);
}
.hero__scroll-line { width: 1px; height: 42px; background: linear-gradient(var(--accent), transparent); animation: pulse 2s ease-in-out infinite; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: .3; transform: scaleY(.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media {
  position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5;
  border: 1px solid var(--line);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,9,8,.55));
}
.about__bio p { color: var(--muted); margin-top: 1rem; max-width: 56ch; }
.about__bio p:first-child { color: var(--fg); font-size: 1.12rem; }
.about__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; }
.about__tags li {
  font-size: 0.8rem; letter-spacing: 0.05em; color: var(--accent);
  border: 1px solid var(--line); border-radius: 100px; padding: 0.45em 1.1em;
}

/* ============================================================
   MUSIC / LINKS
   ============================================================ */
.music { background: linear-gradient(180deg, var(--bg), #0c0a08); }
.players { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 760px) { .players { grid-template-columns: 1fr; } }
.player-card__title {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.04em; color: var(--muted); margin-bottom: 12px;
}
.player-card__frame {
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
}
.player-card__frame iframe { display: block; }

.yt { margin-top: 46px; }
.yt__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; }
@media (max-width: 760px) { .yt__grid { grid-template-columns: 1fr; } }
.yt__item { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #000; }
.yt__item iframe { width: 100%; height: 100%; border: 0; }

.frisky-card {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  margin-top: 40px; min-height: 230px; padding: 28px;
  border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  position: relative; background-size: cover; background-position: center 28%; color: var(--fg);
  transition: transform .4s var(--ease);
}
.frisky-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,.15), rgba(10,9,8,.88));
  transition: background .4s var(--ease);
}
.frisky-card > * { position: relative; z-index: 1; }
.frisky-card:hover { transform: translateY(-3px); }
.frisky-card:hover::before { background: linear-gradient(180deg, rgba(157,92,255,.30), rgba(10,9,8,.85)); }
.frisky-card__label { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.frisky-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.frisky-card__go { color: var(--muted); font-size: 0.9rem; }
.frisky-card:hover .frisky-card__go { color: var(--accent); }

.follow { margin-top: 42px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--muted); }
.follow__label { color: var(--muted-2); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.74rem; }
.follow a { color: var(--fg); border-bottom: 1px solid transparent; padding-bottom: 1px; transition: color .25s, border-color .25s; }
.follow a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery__item {
  position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; padding: 0; display: block;
  border: 1px solid var(--line);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item::after {
  content: '+'; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 2rem; color: var(--fg); background: rgba(10,9,8,.45);
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }

/* ============================================================
   OUT NOW
   ============================================================ */
/* Featured "hero" release: big cover left, info + links right. */
.release-hero { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.release-hero__art { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.release-hero__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.release-hero__badge { display: inline-flex; align-items: center; gap: 9px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.release-hero__badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse-dot 2s var(--ease) infinite; }
.release-hero__title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.04; margin: 14px 0 10px; }
.release-hero__meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.release-hero__desc { color: var(--muted); max-width: 52ch; margin-bottom: 22px; }
.release-hero__links { display: flex; flex-wrap: wrap; gap: 10px; }
.release-link { display: inline-flex; align-items: center; padding: 0.6em 1.15em; border: 1px solid var(--line); border-radius: 999px; font-size: 0.86rem; font-weight: 500; color: var(--fg); transition: border-color .25s, color .25s, transform .25s var(--ease); }
.release-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Grid of earlier releases. */
.outnow__more { margin-top: clamp(40px, 6vw, 76px); }
.outnow__more-title { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.release-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); }
.release-card__link { display: block; color: inherit; }
.release-card__art { display: block; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); margin-bottom: 12px; }
.release-card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.release-card:hover .release-card__art img { transform: scale(1.06); }
.release-card__title { display: block; font-weight: 600; font-size: 0.98rem; }
.release-card__meta { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.release-card__link:hover .release-card__title { color: var(--accent); }

@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(157, 92, 255, .5); }
  70%  { box-shadow: 0 0 0 10px rgba(157, 92, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(157, 92, 255, 0); }
}

@media (max-width: 760px) {
  .release-hero { grid-template-columns: 1fr; }
  .release-hero__art { max-width: 320px; }
  .release-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   BOOKING
   ============================================================ */
.booking { background: linear-gradient(180deg, #0c0a08, var(--bg)); }
.booking__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.booking__contacts { margin-top: 2rem; display: grid; gap: 1.2rem; }
.booking__contacts-label { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.2rem; }
.booking__contacts a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color .25s; }
.booking__contacts a:hover { border-color: var(--accent); }

.booking__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(22px, 4vw, 38px);
}
.field { display: flex; flex-direction: column; gap: 0.45rem; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field label { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--muted); }
.field input, .field textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  color: var(--fg); padding: 0.8em 0.95em; font-family: inherit; font-size: 0.95rem;
  transition: border-color .25s, background-color .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #0c0b09; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder { color: var(--muted-2); }
.form__status { grid-column: 1 / -1; font-size: 0.9rem; min-height: 1.2em; }
.form__status.is-ok { color: var(--accent-br); }
.form__status.is-err { color: #e87b6b; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line-2); padding-block: 48px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer__brand img { height: 30px; opacity: .9; }
.footer__social { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.footer__social a { font-size: 0.9rem; color: var(--muted); transition: color .25s; }
.footer__social a:hover { color: var(--accent); }
.footer__copy { font-size: 0.82rem; color: var(--muted-2); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 5vw;
  background: rgba(6, 5, 4, 0.94); backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; animation: fade .25s ease; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; object-fit: contain; }
.lightbox__close { position: absolute; top: 22px; right: 30px; font-size: 2.6rem; line-height: 1; color: var(--fg); opacity: .8; }
.lightbox__close:hover { opacity: 1; color: var(--accent); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .booking__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__menu {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: rgba(10, 9, 8, 0.97); backdrop-filter: blur(14px);
    padding: 18px var(--pad) 30px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .4s var(--ease); height: auto;
  }
  .nav.is-open .nav__menu { transform: none; }
  .nav__menu a { font-size: 1.1rem; padding: 0.5rem 0; width: 100%; }
  .nav__cta { display: inline-block; margin-top: 0.5rem; }
  .nav__burger { display: block; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .booking__form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie {
  position: fixed; inset: auto 0 0 0; z-index: 250;
  background: rgba(20, 18, 21, 0.98);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 18px 0;
  animation: cookieUp .4s var(--ease) both;
}
.cookie[hidden] { display: none; }
@keyframes cookieUp { from { transform: translateY(100%); } to { transform: none; } }
.cookie__inner { display: flex; gap: 22px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie__body { flex: 1 1 420px; }
.cookie__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.cookie__text { color: var(--muted); font-size: 0.9rem; max-width: 70ch; }
.cookie__link { display: inline-block; margin-top: 6px; color: var(--accent); font-size: 0.85rem; border-bottom: 1px solid transparent; }
.cookie__link:hover { border-bottom-color: var(--accent); }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cookie__btn { padding: 0.7em 1.2em; font-size: 0.85rem; }
.cookie__prefs { margin-top: 14px; display: grid; gap: 12px; }
.cookie__cat { display: flex; gap: 12px; align-items: flex-start; }
.cookie__cat input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.cookie__cat strong { display: block; font-size: 0.9rem; color: var(--fg); }
.cookie__cat small { display: block; color: var(--muted); font-size: 0.8rem; }
@media (max-width: 720px) {
  .cookie__actions { width: 100%; }
  .cookie__btn { flex: 1 1 auto; }
}

/* ---------- third-party embed gate (consent before load) ---------- */
.embed { position: relative; }
.embed__gate {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 20px;
  background: var(--surface);
}
.embed.is-loaded .embed__gate { display: none; }
.embed__gate-text { color: var(--muted); font-size: 0.85rem; max-width: 42ch; }

/* ---------- language-specific blocks (legal pages) ---------- */
[data-lang-block] { display: none; }
html[lang="en"] [data-lang-block="en"],
html[lang="es"] [data-lang-block="es"] { display: block; }

/* ---------- footer legal nav ---------- */
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; align-items: center; }
.footer__legal a, .footer__cookie-btn { font-size: 0.82rem; color: var(--muted-2); transition: color .25s; }
.footer__legal a:hover, .footer__cookie-btn:hover { color: var(--accent); }
.footer__cookie-btn { border: 0; background: none; cursor: pointer; font: inherit; font-size: 0.82rem; }

/* ---------- consent checkbox in booking form ---------- */
.field--consent { margin-top: 4px; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.consent-check span { font-size: 0.85rem; color: var(--muted); }
.consent-check a { color: var(--accent); border-bottom: 1px solid transparent; }
.consent-check a:hover { border-bottom-color: var(--accent); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-wrap { padding-top: 76px; }            /* clear the fixed nav */
.legal { max-width: 820px; }
.legal__back { display: inline-block; color: var(--muted); font-size: 0.85rem; margin-bottom: 18px; }
.legal__back:hover { color: var(--accent); }
.legal__title { margin-bottom: 26px; }
.legal__body { color: var(--muted); line-height: 1.75; }
.legal__body h2 { font-family: var(--font-display); color: var(--fg); font-size: 1.4rem; margin: 32px 0 12px; }
.legal__body h3 { color: var(--fg); font-size: 1.1rem; margin: 22px 0 8px; }
.legal__body p { margin-bottom: 14px; max-width: 72ch; }
.legal__body ul { margin: 0 0 14px 1.1rem; list-style: disc; }
.legal__body li { margin-bottom: 6px; }
.legal__body a { color: var(--accent); border-bottom: 1px solid transparent; }
.legal__body a:hover { border-bottom-color: var(--accent); }
.legal__body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.88rem; }
.legal__body th, .legal__body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal__body th { color: var(--fg); background: var(--surface); }
.legal__updated { margin-top: 30px; color: var(--muted-2); font-size: 0.82rem; }
