/* ===== Blog article (single post) ===== */
.article__head {
  padding: calc(var(--nav-h) + 64px) var(--gutter) 0;
  max-width: 820px;
  margin: 0 auto;
}
.article__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-500); text-decoration: none;
  transition: color 200ms var(--ease-out);
}
.article__back:hover { color: var(--ink-900); }
.article__back svg { transition: transform 240ms var(--ease-out); }
.article__back:hover svg { transform: translateX(-3px); }
.article__meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 40px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600; color: var(--ink-400);
}
.article__cat { color: var(--autonomy-blue); }
.article__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -0.032em;
  color: var(--ink-900); margin: 20px 0 0; text-wrap: balance;
}
.article__dek {
  font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; font-weight: 500;
  color: var(--ink-500); margin: 22px 0 0; max-width: 62ch; letter-spacing: -0.005em;
}
.article__byline {
  display: flex; align-items: center; gap: 12px;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line);
}
.article__byline-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--autonomy-blue-soft); flex: none; }
.article__byline-name { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: -0.01em; color: var(--ink-900); }
.article__byline-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em; color: var(--ink-500); margin-top: 2px; }

.article__hero {
  max-width: var(--max); margin: clamp(40px, 5vw, 64px) auto 0; padding: 0 var(--gutter);
}
.article__hero img {
  width: 100%; height: clamp(216px, 34.6vh, 403px); object-fit: cover;
  border-radius: clamp(14px, 1.6vw, 22px); display: block; background: var(--bg-2);
}

.article__body {
  max-width: 720px; margin: 0 auto;
  padding: clamp(35px, 5vh, 63px) var(--gutter) 0;
}
.article__body > *:first-child { margin-top: 0; }
.article__body p {
  font-size: 18px; line-height: 1.72; color: var(--ink-700); font-weight: 450;
  margin: 0 0 1.3em; letter-spacing: -0.003em; text-wrap: pretty;
}
.article__body p.article__lead {
  font-size: 21px; line-height: 1.6; color: var(--ink-900); font-weight: 500;
}
.article__body h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.022em; line-height: 1.15;
  color: var(--ink-900); margin: clamp(29px, 3.6vh, 43px) 0 0.6em; text-wrap: balance;
}
.article__body h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 20px; letter-spacing: -0.016em; color: var(--ink-900); margin: 32px 0 0.5em;
}
.article__body ul { margin: 0 0 1.3em; padding: 0; list-style: none; }
.article__body ul li {
  position: relative; padding-left: 26px; margin-bottom: 12px;
  font-size: 18px; line-height: 1.6; color: var(--ink-700); font-weight: 450;
}
.article__body ul li::before {
  content: ''; position: absolute; left: 4px; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--autonomy-blue);
}
.article__body a { color: var(--autonomy-blue); text-decoration: none; border-bottom: 1px solid currentColor; }
.article__body a:hover { color: var(--ink-900); }
.article__body strong { font-weight: 700; color: var(--ink-900); }
.article__pull {
  margin: clamp(29px, 3.6vh, 40px) 0; padding: 0 0 0 28px;
  border-left: 2px solid var(--ink-900);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(23px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -0.02em;
  color: var(--ink-900); text-wrap: balance;
}
.article__end {
  max-width: 720px; margin: clamp(35px, 5vh, 58px) auto 0;
  padding: clamp(26px, 3.6vh, 35px) var(--gutter) 0; border-top: 1px solid var(--line);
}

/* More articles */
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .more-grid { grid-template-columns: 1fr; } }

/* ===== Mobile polish ===== */
@media (max-width: 760px) {
  .article__head { padding: calc(var(--nav-h) + 32px) var(--gutter) 0; }
  .article__meta { margin-top: 26px; }
  .article__title { font-size: clamp(30px, 8.4vw, 44px); }
  .article__dek { font-size: 17px; margin-top: 18px; }
  .article__byline { margin-top: 26px; padding-top: 20px; }
  .article__hero { margin-top: 32px; }
  .article__hero img { height: clamp(144px, 27.4vh, 216px); }
  .article__body { padding-top: clamp(23px, 4.3vh, 35px); }
  .article__body p, .article__body ul li { font-size: 17px; }
  .article__body p.article__lead { font-size: 19px; }
  .article__pull { font-size: clamp(21px, 6vw, 26px); padding-left: 20px; }
}

/* ===== Legal / simple prose pages (privacy, terms, cookies) ===== */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-h, 72px) + 90px) var(--gutter, 24px) clamp(52px, 8.6vh, 86px);
}
.legal h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .legal__meta { color: var(--muted, #6b7280); font-size: 15px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; letter-spacing: -0.01em; margin: 44px 0 12px; }
/* The full privacy notice and terms run to numbered clauses with sub-headings,
   so h3 needs to sit clearly below h2 rather than inherit the browser default. */
.legal h3 { font-size: 17px; letter-spacing: -0.005em; margin: 30px 0 10px; }
.legal p, .legal li { line-height: 1.7; margin: 0 0 14px; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal ol { padding-left: 22px; margin: 0 0 14px; }
.legal ul ul, .legal ol ol { margin: 8px 0 0; }
.legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* The US state disclosure table. Scrolls inside itself rather than pushing the
   page sideways: display:block is what gives the table its own scroll box. */
.legal table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
}
.legal th, .legal td {
  border: 1px solid var(--line, rgba(14, 16, 20, 0.10));
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal th { font-weight: 600; background: var(--bg, #f6f5f2); white-space: nowrap; }
