/* ═══════════════════════════════════════════
   Article pages — compliance cluster and every
   long-form content page that follows.
   ═══════════════════════════════════════════

   Scale, tokens and rhythm are taken from css/legal.css so a content page and
   a legal page read as one system. What is added here is the vocabulary a
   sourced compliance page needs and a legal page does not:

     .art-scope   what this page IS about — stated before the body, because a
                  scoping sentence buried under 400 words does not scope
                  anything
     .art-gap     what is NOT established. Deliberately styled as a first-class
                  block, not a footnote: the evidence corpus forbids resolving
                  an open question by picking the likelier answer, and a page
                  that whispers its gaps is doing exactly that
     .art-key     the sourced facts, above the prose, so the answer is readable
                  without reading the article
     .art-quote   verbatim statute text with its citation welded on
     .art-src     the source list. Every number on the page resolves to a row

   Mobile-first: every rule below is the 390 px rule. Wider screens are the
   media-query exceptions, never the base. Nothing here may introduce a
   horizontal scroll — wide content (tables) scrolls inside its own wrapper.  */

/* ─── Head ───────────────────────────────────────────────────────────────── */

/* NOTE — horizontal padding is deliberately NOT set on these <section>s.
   styles.css gives every `section` 100px/40px, dropping to 72px/24px under
   930px, and that 24px is the mobile gutter. Writing `padding: 104px 0 32px`
   here would silently zero it and put body text against the edge of a 390 px
   screen. Only the vertical axis is touched below.                          */
.art-head {
  padding-top: 104px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.art-eyebrow {
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.art-head h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.625rem, 6vw, 2.375rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 14px;
}

.art-lede {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 16px;
  max-width: 640px;
}

.art-meta {
  font-size: .8125rem;
  color: var(--text-3);
  margin: 0;
}

/* ─── Body ───────────────────────────────────────────────────────────────── */

.art-wrap {
  max-width: 720px;
}

.art-body {
  padding-top: 32px;
  padding-bottom: 72px;
}

.art-body h2 {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 40px 0 12px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  line-height: 1.25;
}

.art-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.art-body h3 {
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 24px 0 8px;
}

.art-body p {
  font-size: .9375rem;
  color: var(--text-2);
  line-height: 1.75;
  margin: 0 0 14px;
}

.art-body ul,
.art-body ol {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}

.art-body li {
  font-size: .9375rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 8px;
}

.art-body strong {
  color: var(--text);
  font-weight: 700;
}

.art-body a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Scope box — what this page answers ─────────────────────────────────── */

.art-scope {
  background: var(--accent-light);
  border: 1px solid rgba(2, 132, 199, 0.22);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 0 0 28px;
}

.art-scope p {
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 8px;
}

.art-scope p:last-child { margin-bottom: 0; }

.art-scope strong { color: var(--text); font-weight: 700; }

.art-scope a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Gap box — what is not established ──────────────────────────────────── */

.art-gap {
  background: var(--white);
  border: 1px solid var(--border-2);
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 24px 0 28px;
}

.art-gap-title {
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.art-gap p {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 10px;
}

.art-gap p:last-child { margin-bottom: 0; }

.art-gap strong { color: var(--text); font-weight: 700; }

.art-gap a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Key facts card ─────────────────────────────────────────────────────── */

.art-key {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 20px;
  margin: 0 0 28px;
}

.art-key-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.art-key-row:last-child { border-bottom: none; }

.art-key-label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.art-key-val {
  font-size: .9375rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.5;
}

.art-key-note {
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 400;
}

/* ─── Verbatim statute quote ─────────────────────────────────────────────── */

.art-quote {
  margin: 20px 0 24px;
  padding: 16px 18px;
  background: var(--surface);
  border-left: 3px solid var(--border-2);
  border-radius: 0 8px 8px 0;
}

.art-quote p {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 10px;
}

.art-quote p:last-child { margin-bottom: 0; }

.art-quote-cite {
  display: block;
  font-size: .75rem;
  color: var(--text-3);
  line-height: 1.5;
  font-style: normal;
}

/* ─── Tables ─────────────────────────────────────────────────────────────── */

.art-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 24px;
}

.art-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  min-width: 420px;
}

.art-table th {
  background: var(--surface);
  color: var(--text-3);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 9px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.art-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: top;
  line-height: 1.55;
}

.art-table tr:last-child td { border-bottom: none; }

.art-table td:first-child {
  font-weight: 600;
  color: var(--text);
}

/* ─── Related pages (hub and spoke) ──────────────────────────────────────── */

.art-next {
  padding-top: 0;
  padding-bottom: 72px;
}

.art-next-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 16px;
}

.art-next-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.art-next-card {
  display: block;
  padding: 16px 18px;
  min-height: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}

.art-next-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow);
}

.art-next-card b {
  display: block;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
}

.art-next-card span {
  display: block;
  font-size: .8125rem;
  color: var(--text-3);
  line-height: 1.55;
}

/* ─── Sources ────────────────────────────────────────────────────────────── */

.art-src {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 8px;
}

.art-src h2 {
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  padding: 0;
  border: none;
}

.art-src ol {
  margin: 0;
  padding-left: 1.1rem;
}

.art-src li {
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.art-src a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

/* ─── Closing contact block ──────────────────────────────────────────────── */

.art-ask {
  background: var(--surface);
  border-radius: 12px;
  padding: 24px 20px;
  margin: 32px 0 0;
}

.art-ask h2 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 8px;
  padding: 0;
  border: none;
}

.art-ask p {
  font-size: .9375rem;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0 0 16px;
}

/* ─── Wider screens ──────────────────────────────────────────────────────── */

@media (min-width: 640px) {
  .art-head       { padding-top: 128px; padding-bottom: 40px; }
  .art-body       { padding-top: 40px; padding-bottom: 80px; }
  .art-key        { padding: 8px 24px; }
  .art-key-row    { flex-direction: row; align-items: baseline; gap: 20px; padding: 15px 0; }
  .art-key-label  { flex: 0 0 132px; padding-top: 3px; }
  .art-key-val    { flex: 1; }
  .art-scope,
  .art-gap        { padding: 20px 24px; }
  .art-ask        { padding: 28px 28px; }
}

@media (min-width: 900px) {
  .art-next-grid { grid-template-columns: 1fr 1fr; }
}
