/* ═══════════════════════════════════════════════════════════
   Luna Edizioni — Stylesheet
   Palette: Foresta notte + Arancio alba + Giallo stelle
═══════════════════════════════════════════════════════════ */

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --night:    #1A1A2E;
  --night-mid:#252545;
  --forest:   #2D6A4F;
  --forest-lt:#3A8A65;
  --amber:    #E07B39;
  --amber-lt: #F09050;
  --cream:    #FDF6EC;
  --cream-dk: #F3EAD8;
  --star:     #F4D35E;
  --muted:    #6B7280;
  --white:    #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito', system-ui, sans-serif;
  --font-util:    'Nunito Sans', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --shadow-soft: 0 8px 32px rgba(0,0,0,0.18);
  --shadow-glow: 0 0 60px rgba(224,123,57,0.35);

  --max-w: 1140px;
  --gap:    clamp(1.5rem, 4vw, 3rem);
}

/* ─── Reset / Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--night);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Utilities ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

/* ─── Header ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26,26,46,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(244,211,94,0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.logo em {
  font-style: italic;
  color: var(--star);
  font-size: 0.85em;
  margin-left: 2px;
}
.logo-star {
  color: var(--star);
  font-size: 1.3rem;
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.85); }
}
.main-nav {
  display: flex;
  gap: 2rem;
  font-family: var(--font-util);
  font-size: 0.9rem;
  font-weight: 600;
}
.main-nav a {
  color: rgba(253,246,236,0.75);
  transition: color 0.2s;
  letter-spacing: 0.03em;
}
.main-nav a:hover { color: var(--star); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn--primary:hover {
  background: var(--amber-lt);
  border-color: var(--amber-lt);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224,123,57,0.4);
}
/* Amazon button variant — leggermente più scuro con logo-feel */
.btn--amazon {
  background: #FF9900;
  border-color: #FF9900;
  color: var(--night);
}
.btn--amazon:hover {
  background: #FFAA22;
  border-color: #FFAA22;
  box-shadow: 0 6px 20px rgba(255,153,0,0.4);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(253,246,236,0.4);
}
.btn--ghost:hover {
  border-color: var(--star);
  color: var(--star);
}
.btn--full { width: 100%; text-align: center; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--night);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px;
  overflow: hidden;
}
.hero__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--gap);
  align-items: center;
  padding-block: 5rem;
}
.hero__book {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__book-glow {
  position: absolute;
  width: 320px;
  height: 420px;
  background: radial-gradient(ellipse, rgba(224,123,57,0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.08); opacity: 1; }
}
.hero__cover {
  width: 280px;
  max-width: 90%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft), 0 0 80px rgba(224,123,57,0.25);
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
}
.hero__cover:hover { transform: translateY(-6px) rotate(1deg); }
.hero__cover-placeholder {
  width: 280px;
  height: 380px;
  background: var(--night-mid);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 2px dashed rgba(244,211,94,0.2);
  position: relative;
  z-index: 1;
}
.hero__text { color: var(--cream); }
.hero__eyebrow {
  font-family: var(--font-util);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--star);
  margin-bottom: 1rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.hero__title em {
  color: var(--amber);
  font-style: italic;
}
.hero__lead {
  font-size: 1.1rem;
  color: rgba(253,246,236,0.75);
  margin-bottom: 2rem;
  max-width: 42ch;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(244,211,94,0.5);
  font-size: 1.4rem;
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ─── Sections ───────────────────────────────────────────── */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--dark {
  background: var(--night);
  color: var(--cream);
}
.section--light {
  background: var(--cream);
  color: var(--night);
}
.section__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}
.section__eyebrow {
  font-family: var(--font-util);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.section--light .section__eyebrow { color: var(--forest); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section--dark .section__title { color: var(--white); }
.section__lead {
  font-size: 1.05rem;
  color: rgba(253,246,236,0.7);
}
.section--light .section__lead { color: var(--muted); }

/* ─── Collane Grid ───────────────────────────────────────── */
.collane-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.collana-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(244,211,94,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.collana-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.collana-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.collana-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.collana-card:hover .collana-card__img img { transform: scale(1.04); }
.collana-card__accent-bar {
  height: 4px;
  background: var(--accent, var(--amber));
}
.collana-card__body { padding: 1.75rem; }
.collana-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.collana-card__desc {
  font-size: 0.95rem;
  color: rgba(253,246,236,0.7);
  margin-bottom: 1.25rem;
}
.collana-card__count {
  font-family: var(--font-util);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--star);
}

/* ─── Libro Feature ──────────────────────────────────────── */
.libro-feature {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--gap);
  align-items: center;
  margin-bottom: 5rem;
}
.libro-feature--reverse { direction: rtl; }
.libro-feature--reverse > * { direction: ltr; }
.libro-feature__image {
  position: relative;
  display: flex;
  justify-content: center;
}
.libro-feature__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse, rgba(224,123,57,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.libro-feature__cover {
  width: 260px;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
}
.libro-feature__cover:hover { transform: scale(1.03); }
.libro-feature__cover-placeholder {
  width: 260px;
  height: 340px;
  background: var(--cream-dk);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 2px dashed rgba(45,106,79,0.2);
  position: relative;
  z-index: 1;
}
.libro-feature__collana {
  font-family: var(--font-util);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.5rem;
}
.libro-feature__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.2;
  color: var(--night);
  margin-bottom: 0.4rem;
}
.libro-feature__subtitle {
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1rem;
}
.libro-feature__desc {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 1.25rem;
  max-width: 54ch;
}
.libro-feature__meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.meta-tag {
  background: var(--cream-dk);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-family: var(--font-util);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--night);
}
.libro-feature__qr-hint {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--forest);
  font-weight: 600;
  font-style: italic;
}

/* ─── Contenuti Extra ────────────────────────────────────── */
.section--extra { text-align: center; }
.extra-inner { max-width: 720px; margin-inline: auto; }
.extra__icon {
  font-size: 2.5rem;
  color: var(--star);
  margin-bottom: 1rem;
  display: block;
  animation: twinkle 2.5s ease-in-out infinite;
}
.extra__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.extra__desc {
  color: rgba(253,246,236,0.75);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}
.extra__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.extra__step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(244,211,94,0.12);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.extra__step-num {
  width: 40px;
  height: 40px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.extra__step p {
  font-size: 0.92rem;
  color: rgba(253,246,236,0.8);
  text-align: center;
}

/* ─── Contatti ───────────────────────────────────────────── */
.contact-box {
  text-align: center;
  max-width: 400px;
  margin-inline: auto;
}
.contact-box a { color: var(--forest); font-weight: 700; }
.contact-box a:hover { color: var(--amber); }
.contact-note { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--night);
  border-top: 1px solid rgba(244,211,94,0.08);
  padding-block: 2.5rem;
  color: rgba(253,246,236,0.5);
  font-family: var(--font-util);
  font-size: 0.85rem;
}
.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cream);
}
.footer-note { font-size: 0.78rem; max-width: 480px; }

/* ─── QR Page ────────────────────────────────────────────── */
.qr-page {
  min-height: 100vh;
  background: var(--night);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.qr-page__inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin-inline: auto;
  padding-block: 4rem;
  text-align: center;
}
.qr-page__inner--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
}
.qr-page__badge {
  display: inline-block;
  background: rgba(224,123,57,0.15);
  border: 1px solid rgba(224,123,57,0.3);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  font-family: var(--font-util);
}
.qr-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.qr-page__title em { color: var(--amber); }
.qr-page__extra-img {
  width: 160px;
  border-radius: var(--radius-md);
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-soft), 0 0 40px rgba(224,123,57,0.2);
}
.qr-page__extra-img--cover { width: 120px; }
.qr-page__lead {
  color: rgba(253,246,236,0.75);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.qr-page__book-ref {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(253,246,236,0.4);
  font-family: var(--font-util);
}
.qr-form-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(244,211,94,0.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  text-align: left;
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(253,246,236,0.85);
  margin-bottom: 0.4rem;
  font-family: var(--font-util);
}
.required { color: var(--amber); }
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(244,211,94,0.15);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-input::placeholder { color: rgba(253,246,236,0.3); }
.form-input:focus { border-color: var(--amber); }
.form-input--error { border-color: #EF4444; }
.form-error {
  color: #FCA5A5;
  font-size: 0.83rem;
  margin-top: 0.3rem;
  font-family: var(--font-util);
}
.form-privacy {
  font-size: 0.78rem;
  color: rgba(253,246,236,0.4);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  font-family: var(--font-util);
}
.thanks-icon {
  font-size: 3rem;
  color: var(--star);
  margin-bottom: 1rem;
  animation: twinkle 2s ease-in-out infinite;
}
.thanks-hint {
  font-size: 0.9rem;
  color: rgba(253,246,236,0.5);
  margin: 0.75rem 0 2rem;
}

/* ─── Messages ───────────────────────────────────────────── */
.messages-container {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: min(500px, 90vw);
}
.message {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-util);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.message--error { background: #B91C1C; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .main-nav { display: none; }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 4rem 3rem;
  }
  .hero__book { order: -1; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }

  .libro-feature {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .libro-feature--reverse { direction: ltr; }
  .libro-feature__meta { justify-content: center; }
  .libro-feature__desc { margin-inline: auto; }

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

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

/* ─── Footer legal nav ───────────────────────────────────── */
.footer-legal {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-legal a {
  color: rgba(253,246,236,0.5);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--star); }
.footer-legal span { color: rgba(253,246,236,0.2); }

/* ─── Cookie Banner ──────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--night-mid);
  border-top: 1px solid rgba(244,211,94,0.15);
  padding: 1rem 0;
}
.cookie-banner__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  font-size: 0.88rem;
  color: rgba(253,246,236,0.75);
  font-family: var(--font-util);
  min-width: 200px;
}
.cookie-banner__text a {
  color: var(--star);
  text-decoration: underline;
}
.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

/* ─── QR extras box ──────────────────────────────────────── */
.qr-extras-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(244,211,94,0.12);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}
.qr-extras-box__title {
  font-family: var(--font-util);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--star);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.qr-extras-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.qr-extras-list li {
  font-size: 0.95rem;
  color: rgba(253,246,236,0.85);
}
.qr-extras-box__note {
  font-size: 0.8rem;
  color: rgba(253,246,236,0.45);
  font-family: var(--font-util);
  line-height: 1.5;
  border-top: 1px solid rgba(244,211,94,0.08);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

/* ─── Thanks steps ───────────────────────────────────────── */
.thanks-steps {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  justify-content: center;
}
.thanks-step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(244,211,94,0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  flex: 1;
  min-width: 140px;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.thanks-step__icon { font-size: 1.8rem; }
.thanks-step p {
  font-size: 0.88rem;
  color: rgba(253,246,236,0.75);
}

/* ─── Legal pages ────────────────────────────────────────── */
.legal-page {
  background: var(--cream);
  padding-top: 80px;
  min-height: 100vh;
}
.legal-page__inner {
  max-width: 780px;
  margin-inline: auto;
  padding-block: 4rem;
}
.legal-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--night);
  margin-bottom: 0.3rem;
}
.legal-page__updated {
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-util);
  margin-bottom: 2.5rem;
}
.legal-page__body h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--night);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.legal-page__body p {
  font-size: 0.97rem;
  color: #374151;
  margin-bottom: 0.75rem;
  line-height: 1.75;
}
.legal-page__body ul {
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
}
.legal-page__body li {
  font-size: 0.97rem;
  color: #374151;
  margin-bottom: 0.35rem;
  line-height: 1.7;
}
.legal-page__body a {
  color: var(--forest);
  text-decoration: underline;
}
.legal-page__body a:hover { color: var(--amber); }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}
.legal-table th {
  background: var(--cream-dk);
  padding: 0.6rem 0.85rem;
  text-align: left;
  font-family: var(--font-util);
  font-weight: 700;
  color: var(--night);
  border-bottom: 2px solid rgba(0,0,0,0.08);
}
.legal-table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: #374151;
  vertical-align: top;
}
.legal-table code {
  background: var(--cream-dk);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.85em;
}
