/* Tight Ship: the policy pages and the not-found page (sitegen/pages.py).
   Probe B's look: a readable serif heading and a calm text column.
   Phone first (390), holds at 360, widens to 1440. Uses the names in tokens.css.
   Every rule sits under .policy, so nothing here touches another builder's page.
   One setting of its own, defined here because tokens.css has no name for it: */
.policy {
  --policy-col: 680px;                       /* the reading column: about 70 characters a line */
  --policy-dash: rgba(12, 22, 37, .38);      /* the dashed placeholder edge, as in probe B */
}

.policy {
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-body)/1.65 var(--text);
  padding-block: clamp(32px, 7vw, 72px) var(--band);
}
.policy__in {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--policy-col) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  overflow-wrap: break-word;
}

/* the draft line: plain, and hard to miss */
.policy__draft {
  margin: 0 0 28px;
  padding: 10px 14px;
  background: var(--bone);
  border-left: 4px solid var(--orange);
  border-radius: 4px;
  color: var(--ink);
  font: 700 var(--fs-small)/1.3 var(--cond);
  font-stretch: condensed;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* headings */
.policy h1,
.policy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.policy h1 { font-size: var(--fs-h1); line-height: 1.12; }
.policy h1::after {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  margin-top: 20px;
  background: var(--orange);
}
.policy h2 {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: clamp(23px, 5.6vw, 28px);
  line-height: 1.22;
}
.policy h3 {
  margin: 28px 0 0;
  font: 600 var(--fs-h3)/1.3 var(--text);
}

/* text */
.policy p { margin: 16px 0 0; max-width: 40em; }
.policy h1 + p { margin-top: 28px; font-size: 19px; line-height: 1.55; }
.policy strong { font-weight: 600; }

.policy__list { margin: 16px 0 0; padding: 0 0 0 22px; max-width: 40em; list-style: disc; }
ol.policy__list { list-style: decimal; }
.policy__list li { margin-top: 10px; padding-left: 4px; }
.policy__list li::marker { color: var(--steel); }

/* links: underlined, and tall enough to tap */
.policy a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--t-tap) ease;
}
.policy a:hover { color: var(--orange-text); }
.policy a:focus-visible { outline: 3px solid var(--orange-text); outline-offset: 3px; border-radius: 4px; }
/* a link that is its whole line gets a full 44 px tap row (sitegen/pages.py marks it); a link inside a
   sentence stays inline, so its line spaces like the lines around it (the final review, Nov 17, 2026) */
.policy a.policy__solo {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}
.policy__list li:has(> a.policy__solo) { margin-top: 0; }

/* a point that waits for Hank's decision: the dashed box, like the site's quote placeholder */
.policy .policy__hold {
  margin-top: 20px;
  max-width: none;
  padding: 18px 20px;
  border: 2px dashed var(--policy-dash);
  border-radius: var(--r);
  color: var(--steel);
  font: italic 400 18px/1.5 var(--serif);
}
.policy__hold + .policy__hold { margin-top: 12px; }

/* the not-found page: the same column, centered and short */
.policy--lost { text-align: center; padding-block: clamp(56px, 14vw, 120px); }
.policy--lost .policy__draft { display: inline-block; text-align: left; }
.policy--lost h1::after { margin-inline: auto; }
.policy--lost p { margin-inline: auto; }
.policy--lost h1 + p { color: var(--steel); }
.policy--lost a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 12px;
  padding: 0 30px;
  background: var(--green);
  border: 2px solid var(--green);
  border-radius: 10px;
  color: var(--paper);
  font: 600 18px/1 var(--text);
  text-decoration: none;
  transition: background-color var(--t-tap) ease;
}
.policy--lost a:hover { background: #0f2620; color: var(--paper); }

@media (min-width: 900px) {
  .policy h2 { margin-top: 56px; padding-top: 36px; }
}

/* reduced motion means no movement */
@media (prefers-reduced-motion: reduce) {
  .policy a, .policy--lost a { transition: none; }
}
