/* ===== LEGAL / SUPPORT PAGES ===== */
/* Long-form, readable content pages that reuse the site's base palette + header/footer. */

.legal-hero {
  background: linear-gradient(180deg, var(--sky) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 6rem 0 4rem;
  text-align: center;
}
.legal-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.2rem;
}
.legal-hero h1 {
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.legal-hero .lede {
  font-size: 1.8rem;
  color: var(--body);
  max-width: 62ch;
  margin-inline: auto;
}
.legal-hero .updated {
  margin-top: 2rem;
  font-size: 1.4rem;
  color: var(--muted);
}

/* Content column — kept to a comfortable reading measure */
.legal-body { padding: 5rem 0 6rem; }
.legal-prose { max-width: 74ch; margin-inline: auto; }
.legal-prose > section { margin-bottom: 3.2rem; scroll-margin-top: 9rem; }
.legal-prose h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1.2rem;
  padding-bottom: .8rem;
  border-bottom: 2px solid var(--line);
}
.legal-prose h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
  margin: 2rem 0 .8rem;
}
.legal-prose p { color: var(--body); margin-bottom: 1.4rem; }
.legal-prose ul { margin: 0 0 1.6rem; padding-left: 0; }
.legal-prose ul li {
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: 1rem;
  color: var(--body);
}
.legal-prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.legal-prose a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.legal-prose a:hover { color: var(--blue-deep); }
.legal-prose strong { color: var(--ink); font-weight: 800; }

/* Callout box for the important disclaimers (emergency / medical / privacy-first) */
.legal-callout {
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 2rem 2.2rem;
  margin: 0 0 2.4rem;
}
.legal-callout p { margin-bottom: 0; }
.legal-callout.warn { border-left-color: var(--green); }

/* Table of contents */
.legal-toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 2.4rem;
  margin-bottom: 3.2rem;
  box-shadow: var(--shadow-sm);
}
.legal-toc h2 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border: 0; margin-bottom: 1rem; padding: 0; }
.legal-toc ol { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 2.4rem; }
@media (max-width: 640px) { .legal-toc ol { grid-template-columns: 1fr; } }
.legal-toc a { color: var(--blue); font-weight: 600; font-size: 1.45rem; text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

/* Support-specific: contact + topic cards */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
  max-width: 92rem;
  margin: 0 auto 4rem;
}
@media (max-width: 720px) { .support-grid { grid-template-columns: 1fr; } }
.support-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}
.support-card .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--sky);
  color: var(--blue);
  margin-bottom: 1.6rem;
}
.support-card .ico svg { width: 26px; height: 26px; }
.support-card h3 { font-size: 1.9rem; font-weight: 800; color: var(--ink); margin-bottom: .8rem; }
.support-card p { color: var(--body); margin-bottom: 1.4rem; }
.support-card a.support-link { color: var(--blue); font-weight: 800; text-decoration: none; }
.support-card a.support-link:hover { text-decoration: underline; }

.support-topics { max-width: 92rem; margin: 0 auto; }
.support-topics h2 { font-size: 2.4rem; font-weight: 900; color: var(--blue); margin-bottom: 2rem; text-align: center; }
.topic-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
@media (max-width: 720px) { .topic-list { grid-template-columns: 1fr; } }
.topic-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem 2.2rem;
}
.topic-item h4 { font-size: 1.6rem; font-weight: 800; color: var(--ink); margin-bottom: .6rem; }
.topic-item p { font-size: 1.45rem; color: var(--body); margin: 0; }
