/* Long-form prose for privacy.html, terms.html and contact.html.
   Loaded ONLY by those three — the landing page's critical path is untouched, which is why
   this is a second stylesheet rather than more rules in styles.css (see marketing/README.md).
   Everything visual comes from styles.css's tokens; this file only sets prose measure and
   rhythm, and puts link underlines back after the global `a { text-decoration: none }`. */

.doc-head {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.doc-head-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.doc-back { font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .2s; }
.doc-back:hover { color: var(--amber); }

/* padding-block, not the shorthand: `padding: 56px 0 76px` zeroed .wrap's side gutter, so every doc
   page ran flush to the screen edge on a phone. */
.doc { max-width: 74ch; padding-block: 56px 76px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.14; letter-spacing: -.03em; }
.doc .updated {
  font-family: var(--fm); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-top: 14px;
}
.doc .lede { font-size: 17px; color: var(--text2); margin-top: 22px; }
.doc h2 {
  font-size: 21px; letter-spacing: -.02em; margin: 46px 0 14px;
  padding-top: 26px; border-top: 1px solid var(--border);
}
.doc h3 { font-size: 16px; margin: 26px 0 8px; }
.doc p, .doc li { font-size: 15.5px; line-height: 1.72; color: var(--text2); }
.doc p { margin-bottom: 14px; }
/* styles.css resets `list-style: none` globally; prose needs the markers back. */
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc ul, .doc ol { margin: 0 0 16px 22px; padding-left: 4px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--muted); }
.doc strong { color: var(--text); font-weight: 700; }
.doc a:not(.btn) { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* One boxed statement per document — the thing a reader should leave with. */
.doc .callout {
  border: 1px solid var(--border2); border-left: 3px solid var(--amber);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  background: var(--card); padding: 18px 22px; margin: 26px 0;
}
.doc .callout p:last-child { margin-bottom: 0; }

/* Requisites on contact.html. Two columns on a phone would wrap to noise, so it stacks. */
.reqs { border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
.reqs div {
  display: grid; grid-template-columns: 210px 1fr; gap: 4px 20px;
  padding: 14px 22px; border-bottom: 1px solid var(--border);
}
.reqs div:last-child { border-bottom: 0; }
.reqs dt {
  font-family: var(--fm); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding-top: 3px;
}
.reqs dd { margin: 0; font-size: 15.5px; color: var(--text); }

/* /hamyon's worked examples: the only table on a doc page. */
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 15px;
}
.doc th, .doc td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.doc td.num { text-align: right; white-space: nowrap; }

@media (max-width: 720px) {
  .doc { padding-block: 36px 56px; }
  .reqs div { grid-template-columns: 1fr; }
}
