/* ============================================
   LEGAL PAGES — Privacy, Terms, Cookies
   Calm, readable layout that reuses the site shell.
   ============================================ */

/* These pages have a light hero, so the nav needs a solid dark
   background from the start (not just once scrolled). */
.nav--solid {
  background: rgba(14, 14, 12, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(176, 141, 87, 0.12);
}

.legal-hero {
  padding: calc(var(--gutter) + 7.5rem) 0 3rem;
  border-bottom: 1px solid var(--hairline-light);
}

.legal-hero__inner {
  max-width: 760px;
}

.legal-hero h1 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 1rem 0 0.9rem;
}

.legal-hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.legal-hero__sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  text-wrap: pretty;
}

.legal-hero__meta {
  margin-top: 1.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* Body */
.legal-body {
  padding: 3.2rem 0 5rem;
}

.legal-body__inner {
  max-width: 760px;
}

.legal-section {
  padding: 2.2rem 0;
  border-top: 1px solid var(--hairline-light);
}

.legal-section:first-child {
  border-top: none;
  padding-top: 0.5rem;
}

.legal-section h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}

.legal-section h2 .legal-section__num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  flex: none;
}

.legal-section h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.02rem;
  margin: 1.4rem 0 0.4rem;
}

.legal-section p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--charcoal);
  margin-bottom: 1rem;
  text-wrap: pretty;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--hairline);
  transition: color 0.2s ease;
}

.legal-section a:hover {
  color: var(--gold);
}

.legal-section ul {
  list-style: none;
  margin: 0.4rem 0 1.2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-section li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--charcoal);
  text-wrap: pretty;
}

.legal-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.legal-section li strong {
  font-weight: 600;
  color: var(--obsidian);
}

/* A small note / callout block */
.legal-note {
  margin-top: 1.4rem;
  padding: 1.3rem 1.5rem;
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 12px;
}

.legal-note p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--charcoal);
}

.legal-note .btn {
  margin-top: 1rem;
}

/* Cookie category table */
.cookie-table {
  margin: 1rem 0 0.5rem;
  border: 1px solid var(--hairline-light);
  border-radius: 12px;
  overflow: hidden;
}

.cookie-table__row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  border-top: 1px solid var(--hairline-light);
}

.cookie-table__row:first-child {
  border-top: none;
}

.cookie-table__cat {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--obsidian);
}

.cookie-table__tag {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
}

.cookie-table__desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

@media (max-width: 620px) {
  .cookie-table__row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

/* Back link */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.legal-back:hover {
  color: var(--gold);
}
