/* ============================================================
   RFFL — Answers section (one question per page)
   Read mode: the frame carries the brand, the column stays calm.
   Pages live at /answers/<slug>; asset paths are absolute.
   ============================================================ */

/* ── Browser surfaces: selection, focus, scrollbars ────────── */
.answers-page ::selection { background: rgba(251, 221, 78, 0.55); color: var(--burgundy); }
.answers-page :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

/* ── Opener (off-white, like the FAQ hero) ─────────────────── */
.ans-opener {
  background: var(--offwhite);
  padding: 28px 0 56px;
  border-bottom: var(--border);
}
.ans-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 28px;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color var(--transition);
}
.ans-crumb:hover { color: var(--text-primary); }
.ans-crumb svg { width: 14px; height: 14px; flex-shrink: 0; }

.ans-question {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 7vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  text-wrap: balance;
  max-width: 17ch;
  margin-bottom: 22px;
}
.ans-lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-primary);
  max-width: 34em;
  margin-bottom: 26px;
}
.ans-lede p + p { margin-top: 12px; }
.ans-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-family: var(--font-data);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: var(--text-muted);
}
.ans-meta a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: rgba(73, 22, 43, 0.3);
  text-underline-offset: 3px;
}
.ans-meta a:hover { color: var(--text-primary); text-decoration-color: var(--red); }

/* ── Reading column ────────────────────────────────────────── */
.ans-body-wrap {
  background: var(--white);
  padding: 56px 0 96px;
}
.ans-body {
  max-width: 720px;
}
.ans-body h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  text-wrap: balance;
  margin-top: 56px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--red);
}
.ans-body h2:first-child { margin-top: 0; }
.ans-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 10px;
}
.ans-body p,
.ans-body li {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
}
.ans-body p { margin-bottom: 18px; max-width: 66ch; }
.ans-body ul, .ans-body ol { padding-left: 22px; margin: 0 0 22px; max-width: 66ch; }
.ans-body li { margin-bottom: 8px; padding-left: 4px; }
.ans-body li::marker { color: var(--red); font-family: var(--font-data); font-weight: 500; }
.ans-body strong { font-weight: 600; }
.ans-body a {
  color: var(--burgundy);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition);
}
.ans-body a:hover { text-decoration-color: var(--burgundy); }

/* Step list: the sequence an organization follows */
.ans-steps { counter-reset: step; list-style: none; padding-left: 0; max-width: 66ch; }
.ans-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  margin-bottom: 18px;
}
.ans-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--burgundy);
  font-family: var(--font-data);
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ans-steps li strong { display: block; font-weight: 600; margin-bottom: 2px; }

/* ── Quotation from the Commission's documents ─────────────── */
.ans-rule {
  background: var(--offwhite);
  border-radius: var(--radius-md);
  padding: 22px 24px 18px;
  margin: 8px 0 26px;
  max-width: 66ch;
}
.ans-rule p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.ans-rule p:last-of-type { margin-bottom: 14px; }
.ans-rule cite {
  display: block;
  font-style: normal;
  font-family: var(--font-data);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: var(--text-muted);
}
.ans-rule cite a { color: var(--text-secondary); text-decoration-color: rgba(73, 22, 43, 0.3); }
.ans-rule cite a:hover { color: var(--text-primary); text-decoration-color: var(--red); }

/* ── Where RFFL fits (quiet panel) ─────────────────────────── */
.ans-fit {
  border: 1.5px solid rgba(73, 22, 43, 0.14);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 8px 0 26px;
  max-width: 66ch;
}
.ans-fit p { margin-bottom: 0; }
.ans-fit p + p { margin-top: 12px; }

/* ── Related questions ─────────────────────────────────────── */
.ans-related { list-style: none; padding-left: 0; max-width: 66ch; }
.ans-related li {
  padding: 0;
  margin: 0;
  border-bottom: var(--border);
}
.ans-related li:first-child { border-top: var(--border); }
.ans-related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.45;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
}
.ans-related a:hover { color: var(--burgundy); }
.ans-related a svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--red); }

/* ── Sources ───────────────────────────────────────────────── */
.ans-sources { list-style: none; padding-left: 0; max-width: 66ch; }
.ans-sources li {
  font-family: var(--font-data);
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: var(--border);
  margin: 0;
}
.ans-sources li:first-child { border-top: var(--border); }
.ans-sources a { color: var(--text-primary); text-decoration-color: rgba(73, 22, 43, 0.3); }
.ans-sources a:hover { text-decoration-color: var(--red); }

/* ── Disclaimer line ───────────────────────────────────────── */
.ans-note {
  margin-top: 40px;
  padding-top: 20px;
  border-top: var(--border);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 66ch;
}

.ans-note a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}
.ans-note a:hover { color: var(--text-primary); }

/* ── Index page ────────────────────────────────────────────── */
.ans-index-list { list-style: none; padding-left: 0; max-width: 760px; }
.ans-index-list li { border-bottom: var(--border); margin: 0; padding: 0; }
.ans-index-list li:first-child { border-top: var(--border); }
.ans-index-list a {
  display: block;
  padding: 22px 2px;
  text-decoration: none;
  color: var(--text-primary);
}
.ans-index-list a:hover .ans-index-q { color: var(--burgundy); }
.ans-index-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.6vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  transition: color var(--transition);
}
.ans-index-a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 62ch;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .ans-opener { padding: 22px 0 44px; }
  .ans-crumb { margin-bottom: 22px; }
  .ans-question { max-width: none; }
  .ans-lede { font-size: 18px; }
  .ans-body-wrap { padding: 44px 0 80px; }
  .ans-body p, .ans-body li { font-size: 16px; }
  .ans-body h2 { margin-top: 44px; }
  .ans-rule { padding: 18px 18px 14px; }
  .ans-fit { padding: 18px; }
  .ans-steps li { padding-left: 46px; }
  .ans-steps li::before { width: 32px; height: 32px; font-size: 14px; }
  .ans-note { font-size: 14px; }
}
@media (min-width: 860px) {
  .ans-opener { padding: 40px 0 64px; }
}
