/* Shared shell for the legal pages (/privacy/, /terms/).
   Reuses the brand tokens; the homepage's css/home.css is not loaded here —
   these pages share only the nav, footer and type treatment. */

.wrap { max-width: 1220px; margin: 0 auto; padding: 0 32px; }

/* ---------- nav / footer (matches the homepage) ---------- */
.nav { background: var(--paper); border-bottom: 1px solid var(--border-default); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
a.nl { font-size: 14.5px; font-weight: 500; color: var(--ink-500); }
a.nl:hover { color: var(--ink-950); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-weight: 640; border-radius: var(--radius-1); text-decoration: none;
  transition: background var(--dur-fast) var(--ease-swift);
}
.btn-accent { background: var(--liquid-500); color: var(--ink-950); height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn-accent:hover { background: var(--liquid-400); color: var(--ink-950); }

.logo { display: flex; align-items: center; gap: 9px; }
.logo svg { flex: none; overflow: visible; }
.logo-text { line-height: 1; }
.logo-word { font-size: 17px; font-weight: 850; letter-spacing: -0.015em; color: var(--ink-950); }
.logo-word .y { color: var(--liquid-500); }
.logo-sub {
  display: flex; justify-content: space-between; font-size: 6.1px;
  font-weight: 640; color: var(--ink-400); margin-top: 3px;
}
.logo-sm { gap: 7px; }
.logo-sm .logo-word { font-size: 13px; }
.logo-sm .logo-sub { font-size: 4.7px; }

.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 64px; border-top: 1px solid var(--border-default);
  padding-top: 24px; padding-bottom: 40px;
}
.footer-links { display: flex; gap: 24px; }
.footer-legal { font-size: 12.5px; color: var(--ink-400); }
.footer-legal a { color: var(--ink-400); }

/* ---------- document ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 32px 0; }
.doc .eyebrow {
  font-size: 13px; font-weight: 700; font-style: italic;
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--liquid-700); margin: 0;
}
.doc h1 {
  margin: 16px 0 8px; font-size: clamp(36px, 4.4vw, 52px); font-weight: 800;
  letter-spacing: var(--tracking-display); line-height: 1.04; color: var(--ink-950);
}
.doc .dates { font-size: 13.5px; color: var(--text-muted); margin: 0 0 12px; }
.doc .lede { font-size: 16.5px; line-height: 1.6; color: var(--text-body); margin: 0 0 8px; }

.doc h2 {
  margin: 44px 0 12px; font-size: 22px; font-weight: 800;
  letter-spacing: var(--tracking-tight); color: var(--ink-950);
  scroll-margin-top: 24px;
}
.doc h3 { margin: 26px 0 8px; font-size: 16px; font-weight: 800; color: var(--ink-950); }
.doc p, .doc li { font-size: 15px; line-height: 1.7; color: var(--text-body); }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink-950); }
.doc a { font-weight: 500; }

/* The one thing that must not read as ordinary body copy. */
.callout {
  border-left: 3px solid var(--liquid-500);
  background: var(--white);
  padding: 18px 22px; margin: 0 0 28px;
}
.callout p { margin: 0; font-size: 15px; }
.callout p + p { margin-top: 10px; }

/* Unresolved facts. Deliberately conspicuous: a placeholder that reads as
   finished copy is how an invented address ends up in a published policy. */
.todo {
  background: var(--warning-bg); color: var(--warning);
  font-weight: 640; padding: 1px 6px; border-radius: var(--radius-1);
  white-space: nowrap;
}

.toc { margin: 28px 0 8px; padding: 0; list-style: none; column-count: 2; column-gap: 32px; }
.toc li { margin-bottom: 6px; font-size: 14px; }

table.tbl { border-collapse: collapse; width: 100%; margin: 0 0 18px; font-size: 14px; }
table.tbl th, table.tbl td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-default);
  vertical-align: top; line-height: 1.5;
}
table.tbl th { font-weight: 800; color: var(--ink-950); background: var(--white); }
.tbl-wrap { overflow-x: auto; }

@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .doc { padding: 44px 20px 0; }
  .nav-links .nl { display: none; }
  .toc { column-count: 1; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 18px; }
}
