/* Legal pages — Privacy Policy + Terms of Service
   Scoped under .legal-page so it never leaks into product pages. */

.legal-page {
  max-width: 760px;
  margin: 2rem auto 4rem;
  padding: 0 1rem;
}

.legal-article {
  background: var(--paper, #fff);
  color: var(--ink, #0e1116);
  border-radius: 12px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
}

.legal-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber, #f5a623);
  margin: 0 0 0.5rem;
}

.legal-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.legal-meta {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.55);
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.legal-lede {
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0 0 2rem;
  color: var(--ink, #0e1116);
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 0.75rem;
  letter-spacing: -0.005em;
}

.legal-section h3 {
  font-size: 1.0625rem;
  line-height: 1.35;
  margin: 1.25rem 0 0.5rem;
  font-weight: 600;
}

.legal-section p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 0.85rem;
  color: rgba(14, 17, 22, 0.88);
}

.legal-section ul,
.legal-section ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-section li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  color: rgba(14, 17, 22, 0.88);
}

.legal-section strong {
  font-weight: 600;
}

.legal-section a {
  color: var(--amber, #f5a623);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.legal-section a:hover {
  text-decoration-thickness: 2px;
}

.legal-address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--amber, #f5a623);
  background: rgba(245, 166, 35, 0.06);
  border-radius: 0 6px 6px 0;
}

.legal-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
}

.legal-back a {
  color: var(--amber, #f5a623);
  text-decoration: none;
}

.legal-back a:hover {
  text-decoration: underline;
}

/* Footer link styling — applies site-wide but only the .legal block
   shows the privacy/terms anchors. Keeps a/.footer a/ rules intact. */
.legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  text-decoration-thickness: 2px;
}
