/* ============ Page shell ============ */
.page-section { padding: 3.5rem 0; }
.page-section + .page-section { border-top: 1px solid var(--border); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-numeral); font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  color: var(--signal); text-transform: uppercase; margin-bottom: 0.75rem;
}
.lede { font-size: 18px; color: var(--muted); max-width: 68ch; }
.updated-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 13px; color: var(--muted); background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px; padding: 0.35rem 0.9rem;
  margin-bottom: 1.25rem;
}
.updated-badge .icon { width: 15px; height: 15px; }

/* ============ Hero ============ */
.hero { padding: 3rem 0 2.5rem; background: linear-gradient(180deg, var(--signal-tint) 0%, var(--paper) 78%); }
.hero h1 { max-width: 26ch; }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.5rem 0 2.25rem; }

/* ============ Stat readout row (infographic) ============ */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm);
  background-image: radial-gradient(circle, rgba(14,107,92,0.06) 1px, transparent 1px);
  background-size: 10px 10px;
}
.stat-card__value { font-family: var(--font-numeral); font-weight: 700; font-size: clamp(22px, 3vw, 30px); color: var(--signal-dark); line-height: 1.1; }
.stat-card__label { font-size: 13px; color: var(--muted); margin-top: 0.35rem; }

/* ============ CTA block ============ */
.cta-block {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--signal); color: #fff;
  border-radius: var(--radius); padding: 1.6rem 1.8rem; margin: 2rem 0;
  box-shadow: var(--shadow-md);
}
.cta-block p { color: #E4F2EE; margin: 0; font-size: 15px; max-width: 50ch; }
.cta-block .btn-primary:hover { background: #fff; }

/* ============ Relay timeline (signature element) ============ */
.relay { display: flex; flex-direction: column; gap: 0; margin: 2rem 0 0.5rem; }
.relay__node { display: flex; gap: 1rem; padding-bottom: 2rem; position: relative; }
.relay__node:not(:last-child)::before {
  content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--border) 0 6px, transparent 6px 12px);
}
.relay__dot {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border); background: var(--surface); z-index: 1;
}
.relay__node--closed .relay__dot { border-color: var(--rust); color: var(--rust); }
.relay__node--live .relay__dot { border-color: var(--signal); color: var(--signal); background: var(--signal); box-shadow: 0 0 0 5px var(--signal-tint); }
.relay__node--live .relay__dot .icon { stroke: #fff; }
.relay__node--live .relay__dot { animation: relay-pulse 2.4s ease-in-out infinite; }
@keyframes relay-pulse { 0%, 100% { box-shadow: 0 0 0 5px var(--signal-tint); } 50% { box-shadow: 0 0 0 9px var(--signal-tint); } }
.relay__body { padding-top: 0.35rem; }
.relay__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 0.2rem; }
.relay__date { font-family: var(--font-numeral); font-size: 13px; color: var(--muted); margin-bottom: 0.35rem; }
.relay__tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px; }
.relay__node--closed .relay__tag { background: var(--rust-tint); color: var(--rust); }
.relay__node--live .relay__tag { background: var(--signal-tint); color: var(--signal-dark); }
.relay__node--past .relay__tag { background: var(--border); color: var(--muted); }
.relay__desc { color: var(--muted); font-size: 14.5px; margin-top: 0.4rem; max-width: 60ch; }

/* ============ Comparison table ============ */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 620px; background: var(--surface); }
.compare-table th, .compare-table td { padding: 0.85rem 1rem; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--signal); color: #fff; font-family: var(--font-display); font-weight: 700; position: sticky; top: 0; }
.compare-table thead th:first-child { border-top-left-radius: var(--radius); }
.compare-table thead th:last-child { border-top-right-radius: var(--radius); }
.compare-table td:first-child, .compare-table th:first-child { font-weight: 700; color: var(--ink); }
.compare-table tbody tr:nth-child(even) { background: var(--paper); }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ============ Icon grid ============ */
.icon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; margin-top: 1.5rem; }
.icon-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.icon-card__mark {
  width: 44px; height: 44px; border-radius: 12px; background: var(--signal-tint); color: var(--signal-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.9rem;
}
.icon-card h3 { margin-bottom: 0.4rem; font-size: 16.5px; }
.icon-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ============ Steps ============ */
.steps-list { list-style: none; counter-reset: step; margin: 1.5rem 0; padding: 0; display: grid; gap: 1rem; }
.steps-list li {
  counter-increment: step; position: relative; padding-left: 3.2rem; padding-top: 0.15rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.3rem 1rem 3.4rem; box-shadow: var(--shadow-sm);
}
.steps-list li::before {
  content: counter(step); font-family: var(--font-numeral); font-weight: 700; font-size: 15px;
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--signal); color: #fff;
  display: flex; align-items: center; justify-content: center;
}

/* ============ Checklist ============ */
.checklist { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 15px; }
.checklist li .icon { color: var(--signal); margin-top: 0.15rem; width: 19px; height: 19px; }

/* ============ Verdict / callout ============ */
.callout { border-radius: var(--radius); padding: 1.4rem 1.5rem; margin: 1.25rem 0; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); }
.callout--safe { border-left: 4px solid var(--signal); }
.callout--warn { border-left: 4px solid var(--amber-dark); }
.callout__head { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; margin-bottom: 0.4rem; }
.callout__head .icon { color: var(--signal); }

/* ============ Problem / cause / fix cards ============ */
.problem-grid { display: grid; gap: 1.1rem; margin-top: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.problem-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.problem-card__title { display: flex; gap: 0.6rem; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15.5px; margin-bottom: 0.7rem; }
.problem-card__title .icon { color: var(--rust); width: 20px; height: 20px; }
.problem-card dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 700; margin-top: 0.6rem; }
.problem-card dt:first-of-type { margin-top: 0; }
.problem-card dd { margin: 0.2rem 0 0; font-size: 14.5px; }

/* ============ FAQ ============ */
.faq-list { margin-top: 1.5rem; display: grid; gap: 0.7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.3rem; font-weight: 700;
  font-family: var(--font-display); font-size: 15.5px; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 1.3rem; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--signal); border-bottom: 2px solid var(--signal);
  transform: translateY(-70%) rotate(45deg); transition: transform 180ms ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item__body { padding: 0 1.3rem 1.15rem; color: var(--muted); font-size: 14.75px; }

/* ============ Legal pages ============ */
.legal-content h2 { margin-top: 2rem; }
.legal-content { max-width: 74ch; }

/* ============ Responsive ============ */
@media (max-width: 640px) {
  .page-section { padding: 2.25rem 0; }
  .cta-block { flex-direction: column; align-items: flex-start; }
}
