/*
 * ShipMore — legal pages (privacy / terms / license)
 * 2026-06-02: standalone static pages served at /privacy, /terms, /license
 * (apex-host rewrites in next.config.ts). They reuse the lander chrome
 * (nav + footer from styles.css / sections.css); this file styles the prose
 * column only. One readable measure, generous line-height, mono section
 * numerals in the mint accent — the lander voice, dialed calm.
 * Color + font tokens live in theme.css — never hardcode oklch/hex here.
 */

.legal { position: relative; }
.legal > .wrap { max-width: 940px; padding-top: 64px; padding-bottom: var(--vspace); }

/* back to home */
.legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em;
  color: var(--fg-3); transition: color 160ms ease;
}
.legal-back:hover { color: var(--fg); }

/* title block */
.legal-head { margin-top: 30px; padding-bottom: 36px; border-bottom: 1px solid var(--line-soft); }
.legal-h1 { font-size: clamp(34px, 4.5vw, 54px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; margin: 0; }
.legal-meta {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 22px;
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--fg-4);
}
.legal-meta::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent-glow);
}
.legal-lead { margin: 26px 0 0; font-size: 18px; line-height: 1.65; color: var(--fg-2); max-width: 66ch; }

/* body prose */
.legal-body { max-width: 74ch; }
.legal-sec { padding-top: 46px; }
.legal-sec h2 {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; color: var(--fg);
  margin: 0 0 18px;
}
.legal-sec h2 .n {
  flex: none; transform: translateY(-1px);
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0;
  color: var(--accent);
}
.legal-body p { font-size: 16px; line-height: 1.78; color: var(--fg-2); margin: 0 0 16px; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body strong { color: var(--fg); font-weight: 600; }
.legal-body a { color: var(--accent); }
.legal-body a:hover { text-decoration: underline; }

.legal-body ul { margin: 6px 0 16px; padding: 0; list-style: none; }
.legal-body li {
  position: relative; padding-left: 22px; margin-bottom: 11px;
  font-size: 16px; line-height: 1.7; color: var(--fg-2);
}
.legal-body li::before {
  content: ""; position: absolute; left: 3px; top: 11px;
  width: 5px; height: 5px; background: var(--accent);
}

/* [bracketed] placeholders — a deliberate, hard-to-miss flag to fill before launch.
   Dashed red underline so it never ships unnoticed. Replace the text AND drop this span. */
.legal-fill { color: var(--red); font-style: normal; border-bottom: 1px dashed var(--red); }

/* sibling-policy cross-links at the foot of the prose */
.legal-cross {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  margin-top: 58px; padding-top: 28px; border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: 12px;
}
.legal-cross span { color: var(--fg-4); }
.legal-cross a { color: var(--fg-3); transition: color 160ms ease; }
.legal-cross a:hover { color: var(--fg); }
.legal-cross a.cur { color: var(--accent); }

@media (max-width: 768px) {
  .legal > .wrap { padding-top: 44px; }
  .legal-sec { padding-top: 38px; }
}
