/* ============================================================
   Legal pages — terms.html, privacy.html.
   Same ink and hairlines as the marketing site, none of the motion:
   these are documents, and a store reviewer (or a court) should be
   able to read them with JavaScript off.
   ============================================================ */

.legal-wrap {
  max-width: 74ch;
  margin: 0 auto;
  padding: clamp(96px, 12vw, 160px) var(--gut) clamp(80px, 10vw, 140px);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.legal-back:hover { color: var(--fg); border-color: var(--line-2); }

.legal-wrap h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 28px 0 10px;
}

.legal-meta {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-wrap h2 {
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  letter-spacing: -0.015em;
  margin: 52px 0 14px;
  padding-top: 4px;
}
.legal-wrap h2 .num {
  font-family: var(--mono);
  font-size: 0.7em;
  color: var(--blue);
  margin-right: 10px;
  letter-spacing: 0.06em;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--fg-dim);
  font-size: 1rem;
  line-height: 1.75;
  max-width: none;
}
.legal-wrap p + p { margin-top: 14px; }

.legal-wrap ul { margin: 14px 0 0; padding-left: 22px; }
.legal-wrap li + li { margin-top: 8px; }
.legal-wrap li::marker { color: var(--blue); }

.legal-wrap strong { color: var(--fg); font-weight: 600; }
.legal-wrap a:not(.legal-back) {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* A statement that carries weight — the disclaimers people skim past. */
.legal-note {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--blue);
  border-radius: 4px;
  background: var(--ink-2);
}
.legal-note p { color: var(--fg); }

.legal-foot {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
}

/* ── Content pages ──────────────────────────────────────────────────────
   legal.css started as privacy/terms only, so it styled headings, prose
   and lists and nothing else. The marketing content pages (the app, photo
   evidence, pricing) reuse this layout and do need a table and a rule —
   without these they fall back to the browser's defaults, which is a
   hairline 3D border in Times and reads as a broken page. */
.legal-wrap table {
  width: 100%;
  margin: 18px 0 0;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.legal-wrap th,
.legal-wrap td {
  text-align: left;
  vertical-align: top;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
/* The label column is the field name — mono, like the readout on the
   capture card it describes. */
.legal-wrap th {
  width: 34%;
  padding-right: 18px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.legal-wrap td { color: var(--fg-dim); }
.legal-wrap tr:last-child th,
.legal-wrap tr:last-child td { border-bottom: 0; }

.legal-wrap hr {
  margin: 38px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}
