/* =========================================
   LEGAL / CONTACT PAGES — BRISTLE DNA
========================================= */

.legal-section {
  padding-top: calc(var(--header-height) + var(--space-20));
  padding-bottom: var(--space-28);

  background: var(--color-bg-body);
  text-transform: uppercase;
}

/* ================= CONTAINER ================= */

.legal__eyebrow,
.legal__head,
.legal__content,
.legal__statement,
.legal__links {
  max-width: var(--legal-content-width);
  margin-left: auto;
  margin-right: auto;
}

/* ================= HEAD ================= */

.legal__eyebrow {
  margin-bottom: var(--space-6);

  color: var(--color-text-soft);

  font-size: var(--text-fluid-xs);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-snug);
  letter-spacing: var(--tracking-widest);

  text-align: left;
}

.legal__title {
  margin: var(--space-0);

  color: var(--color-text-strong);

  font-size: var(--legal-title-size);
  font-weight: var(--font-weight-semi-bold);
  line-height: var(--line-height-snug);
  letter-spacing: var(--tracking-tight);

  text-align: left;
}

.legal__desc {
  margin-top: var(--space-6);

  color: var(--color-text-muted);

  font-size: var(--text-fluid-xs);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--tracking-wide);

  text-align: left;
}

/* ================= CONTENT ================= */

.legal__content {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-14);
}

.legal__content p {
  margin: var(--space-0);

  color: var(--color-text-secondary);

  font-size: var(--text-fluid-xs);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--tracking-wider);

  text-align: left;
}

.legal__content strong {
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
}

/* ================= LIST ================= */

.legal__list {
  display: grid;
  gap: var(--space-5);

  margin: var(--space-0);
  padding: var(--space-0);

  list-style: none;
}

.legal__item {
  padding-top: var(--space-6);
  border-top: var(--border-1) solid var(--color-border-soft);
}

.legal__item:first-child {
  padding-top: var(--space-0);
  border-top: var(--border-0);
}

.legal__label {
  display: block;
  margin-bottom: var(--space-2);

  color: var(--color-text-soft);

  font-size: var(--text-fluid-xs);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-snug);
  letter-spacing: var(--tracking-widest);
}

.legal__value {
  margin: var(--space-0);

  color: var(--color-text-secondary);

  font-size: var(--text-fluid-sm);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--tracking-wide);
}

.legal__value a {
  color: var(--color-text-strong);
  text-decoration: none;

  transition: opacity var(--duration-normal) var(--ease-smooth);
}

.legal__value a:hover {
  opacity: var(--opacity-disabled);
}

/* ================= SELLER LINK ================= */

a.link-seller {
  color: var(--color-accent-soft) !important;
  font-weight: var(--font-weight-medium) !important;
  text-decoration: none !important;
}

a.link-seller:hover {
  color: var(--color-accent-muted) !important;
  opacity: var(--opacity-muted);
}

/* ================= STATEMENT ================= */

.legal__statement {
  margin-top: var(--space-16);
  padding-top: var(--space-8);

  border-top: var(--border-1) solid var(--color-border-soft);
  text-align: left;
}

.legal__statement p {
  margin: var(--space-0);

  color: var(--color-text-soft);

  font-size: var(--text-fluid-xs);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

/* ================= LINKS ================= */

.legal__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: var(--space-8);
  margin-top: var(--space-20);

  text-align: center;
}

.legal__links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);

  color: var(--color-text-strong);

  font-size: var(--text-fluid-xs);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-snug);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;

  transition:
    opacity var(--duration-normal) var(--ease-smooth),
    transform var(--duration-normal) var(--ease-smooth);
}

.legal__links a:hover {
  opacity: var(--opacity-disabled);
}

.legal__links img {
  width: var(--size-2xs);
  height: var(--size-2xs);

  object-fit: contain;
  opacity: var(--opacity-muted);

  transition: opacity var(--duration-normal) var(--ease-smooth);
}

.legal__links a:hover img {
  opacity: 1;
}


/* =========================================
   NOT FOUND PAGE
========================================= */
.notfound-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notfound-page__inner {
  text-align: center;
  max-width: 480px;
}

.notfound-page__title {
  font-size: var(--text-fluid-lg);
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-4);
}

.notfound-page__desc {
  font-size: var(--text-fluid-sm);
  opacity: var(--opacity-muted);
  margin-bottom: var(--space-6);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {
  .legal-section {
    padding-top: calc(var(--header-height-mobile) + var(--space-14));
    padding-bottom: var(--space-20);
  }

  .legal__eyebrow,
  .legal__head,
  .legal__content,
  .legal__statement,
  .legal__links {
    max-width: 100%;
  }

  .legal__links {
    justify-content: center;
    text-align: center;
  }
}