/* Still Health — support and legal pages. Light field, same instrument.
   Tokens: field #F7F5EF · ink #14120E · light-mode lime #7DA100 · dim #5E5A52. No radii anywhere. */

:root {
  --field: #F7F5EF;
  --panel: #FDFCF9;
  --ink: #14120E;
  --dim: #5E5A52;
  --rule: rgba(20, 18, 14, 0.18);
  --rule-strong: rgba(20, 18, 14, 0.5);
  --lime: #7DA100;
  --lime-soft: rgba(125, 161, 0, 0.12);
  --gutter: clamp(20px, 3.4vw, 48px);
  --measure: 70ch;
  --display: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --body: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  background: var(--field);
  color: var(--ink);
  font: 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lime); text-decoration: none; border-bottom: 1px solid var(--lime); }
a:hover { color: var(--ink); border-bottom-color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
b, strong { font-weight: 600; color: var(--ink); }

.display { font-family: var(--display); font-weight: 400; letter-spacing: 0.005em; text-transform: uppercase; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400; }
.lime { color: var(--lime); }
.dim { color: var(--dim); }

/* ---------- top bar (light twin of the landing page) ---------- */
.top {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  height: 64px; padding: 0 var(--gutter);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 20;
  background: var(--field);
}
.brand { display: flex; align-items: center; gap: 12px; border: 0; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-ring { width: 28px; height: 28px; }
.brand-word { font-family: var(--display); font-size: 22px; line-height: 1; text-transform: uppercase; letter-spacing: 0.005em; white-space: nowrap; }
.topnav { display: flex; gap: 28px; }
.topnav a { color: var(--dim); border: 0; padding: 6px 0; white-space: nowrap; }
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--lime); }

/* ---------- document layout ---------- */
.doc {
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--gutter) 72px;
}
.doc-head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.doc-head .eyebrow { color: var(--lime); }
.doc-head h1 { font-size: clamp(44px, 6vw, 64px); line-height: 0.95; margin-left: -0.02em; }
.doc-head .meta { color: var(--dim); font-size: 10px; line-height: 1.8; }
.doc-head .lede { color: var(--dim); font-size: 18px; line-height: 1.55; max-width: 60ch; }

/* notice box: arbitration / medical / age — hard frame, no radius */
.notice { border: 1px solid var(--rule-strong); padding: 16px 20px; margin: 28px 0 0; background: var(--panel); }
.notice .mono { color: var(--dim); font-size: 10px; display: block; margin-bottom: 8px; }
.notice p { font-size: 15px; line-height: 1.55; }

/* contents */
.toc { margin: 32px 0 8px; border: 1px solid var(--rule); background: var(--panel); }
.toc > .mono { display: block; padding: 12px 20px; border-bottom: 1px solid var(--rule); color: var(--dim); font-size: 10px; }
.doc .toc ol { list-style: none; columns: 2; column-gap: 32px; padding: 14px 20px; margin: 0; max-width: none; }
.toc li { break-inside: avoid; padding: 5px 0; font-size: 15px; line-height: 1.4; display: flex; gap: 12px; align-items: baseline; }
.toc li .num { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--dim); min-width: 22px; }
.toc li a { color: var(--ink); border: 0; }
.toc li a:hover { color: var(--lime); }

/* sections */
section[id] { scroll-margin-top: 84px; }
.doc section { padding: 36px 0 8px; border-top: 1px solid var(--rule); }
.doc section:first-of-type { border-top: 0; }
.doc h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.005em;
  font-size: clamp(26px, 3vw, 32px); line-height: 1.05; margin-bottom: 18px;
  display: flex; gap: 16px; align-items: baseline;
}
.doc h2 .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--lime); flex-shrink: 0; transform: translateY(-2px); }
.doc h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--dim); margin: 26px 0 10px; }
.doc p { margin: 0 0 16px; max-width: var(--measure); }
.doc ul, .doc ol { margin: 0 0 16px 1.3em; max-width: var(--measure); }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--dim); }
.doc dl { margin: 0 0 16px; max-width: var(--measure); }
.doc dt { font-weight: 600; margin-top: 12px; }
.doc dd { margin: 4px 0 0; color: var(--ink); }
.doc .fine { font-size: 14px; color: var(--dim); }
.doc .caps { font-weight: 600; }

/* data table (privacy categories) */
.table { border: 1px solid var(--rule); margin: 8px 0 20px; background: var(--panel); overflow-x: auto; }
.table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.table th { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--dim); background: var(--field); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 600; white-space: nowrap; }

/* callouts within sections */
.card { border: 1px solid var(--rule); background: var(--panel); padding: 18px 20px; margin: 8px 0 20px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.address { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: none; line-height: 1.8; color: var(--ink); }
mark.fill { background: var(--lime-soft); color: var(--ink); padding: 0 4px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }

/* support page specifics */
.answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--rule); background: var(--panel); margin: 24px 0; }
.answers > div { padding: 22px 22px 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.answers > div:nth-child(2n) { border-right: 0; }
.answers > div:nth-last-child(-n+2) { border-bottom: 0; }
.answers h3.mono { color: var(--dim); font-size: 10px; display: block; margin: 0 0 8px; font-weight: 500; }
.answers p { font-size: 15px; line-height: 1.55; margin: 0; }
.contact { border: 1px solid var(--rule-strong); background: var(--panel); padding: 22px 24px; margin: 28px 0 8px; display: flex; flex-direction: column; gap: 8px; }
.contact .big { font-family: var(--display); font-size: clamp(24px, 3vw, 34px); line-height: 1; text-transform: none; letter-spacing: 0; word-break: break-all; }
.contact .big a { color: var(--ink); border-bottom: 2px solid var(--lime); }
.contact .big a:hover { color: var(--lime); }

/* footer (light twin) */
.foot { padding: 26px var(--gutter) 40px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 10px; color: var(--dim); }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot a { color: var(--dim); border: 0; }
.foot a:hover { color: var(--lime); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .top { height: 56px; gap: 12px; }
  .brand-word { font-size: 19px; }
  .brand-ring { width: 24px; height: 24px; }
  .topnav { gap: 14px; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav.mono { font-size: 10px; letter-spacing: 0.14em; }
  .topnav a.hide-sm { display: none; }
  .doc .toc ol { columns: 1; }
  .answers { grid-template-columns: 1fr; }
  .answers > div { border-right: 0; }
  .answers > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .answers > div:last-child { border-bottom: 0; }
  .foot { flex-direction: column; align-items: flex-start; gap: 14px; }
  body { font-size: 16px; }
  .table th, .table td { padding: 10px 12px; }
  .table td:first-child { white-space: normal; }
}

/* phones: tables stack into records — category as eyebrow, text full width, labeled third column */
@media (max-width: 600px) {
  .table { overflow: visible; }
  .table table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table thead { display: none; }
  .table tr { padding: 14px 16px 16px; border-bottom: 1px solid var(--rule); }
  .table tr:last-child { border-bottom: 0; }
  .table td, .table td:first-child { padding: 0; border: 0; white-space: normal; }
  .table td:first-child { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--dim); margin-bottom: 6px; }
  .table td[data-label]::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--dim); margin: 10px 0 2px; }
  .doc-head .lede { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .top, .foot, .toc { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .doc { max-width: none; padding: 0; }
  a { color: #000; border: 0; }
}
