:root {
  --forecast-paper: #eee5d7;
  --forecast-paper-ink: #1b242b;
  --forecast-quiet: #c4cbd1;
}

body {
  background-image: repeating-linear-gradient(180deg, transparent 0, transparent 47px, rgba(255,255,255,.018) 48px), radial-gradient(circle at 82% 8%, rgba(112,214,223,.08), transparent 28rem);
}

.forecasting-hero,
.question-hero,
.issue-hero {
  min-height: 0;
  padding-block: clamp(70px, 11vw, 142px) clamp(54px, 7vw, 90px);
}

.forecasting-hero h1,
.question-hero h1,
.issue-hero h1 {
  max-width: 940px;
  margin-bottom: 24px;
}

.hero-actions,
.actions,
.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions { margin-top: 34px; }

.intro-grid,
.answer-layout,
.issue-layout,
.two-column,
.split-callout,
.review-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.reading-copy,
.issue-main,
.answer-card,
.callout,
.method-strip,
.review-panel,
.source-ledger,
.rail-note {
  min-width: 0;
}

.reading-copy p,
.issue-main p,
.answer-card p,
.callout p,
.method-strip span,
.boundary-note p,
.source-ledger p,
.rail-note p,
.scenario p,
.question-card p {
  color: var(--muted);
}

.question-grid,
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.question-card,
.scenario,
.answer-card,
.callout,
.method-strip,
.review-panel,
.rail-note {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(17,26,36,.98), rgba(13,19,26,.9));
  padding: clamp(20px, 3vw, 32px);
}

.question-card.featured {
  border-color: rgba(225,182,75,.58);
  background: linear-gradient(145deg, rgba(47,40,27,.95), rgba(13,19,26,.96));
}

.question-card-meta,
.scenario-head,
.status-line {
  color: var(--signal);
  font: 800 10px/1.3 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.question-card-meta,
.scenario-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.question-card h3,
.scenario h3 { margin-top: 24px; }

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--ink);
  font: 700 12px/1.4 var(--mono);
}

.method-strip {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 32px;
  border-color: rgba(112,214,223,.35);
}

.method-strip ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-strip li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.method-strip strong { color: var(--signal); font: 700 12px/1.4 var(--mono); text-transform: uppercase; }

.callout.warm { background: var(--forecast-paper); color: var(--forecast-paper-ink); border-color: rgba(225,182,75,.55); }
.callout.warm h2, .callout.warm p { color: var(--forecast-paper-ink); }
.callout.warm .eyebrow { color: #8c6819; }
.callout.cool { background: rgba(220,228,227,.12); border-color: rgba(112,214,223,.4); }

.boundary-note { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 24px; }
.boundary-note p { max-width: 780px; font: 650 clamp(20px, 2.5vw, 30px)/1.35 var(--display); color: var(--ink); }

.status-line { margin-top: 28px; gap: 20px; color: var(--cyan); }
.status-line span { border-left: 2px solid var(--cyan); padding-left: 10px; }

.answer-card h2 { font-size: clamp(28px, 3.4vw, 48px); }
.answer-card .note { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(225,182,75,.38); font-size: 14px; }
.small { font-size: 14px; }

.scenario { min-height: 260px; }
.scenario-head strong { color: var(--muted); font-weight: 600; }

.two-column article > ul,
.review-panel ul { margin: 0; padding-left: 20px; }
.two-column li,
.review-panel li { margin-bottom: 10px; }

.review-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-color: rgba(225,182,75,.42); }
.history { padding: 0 !important; list-style: none; }
.history li { display: grid; gap: 7px; padding: 15px 0; border-top: 1px solid var(--line); }
.history strong { color: var(--signal); font: 700 11px/1.4 var(--mono); text-transform: uppercase; }
.history span, .history small { color: var(--muted); }

/* This is a full-width evidence section, not the HN article sidebar.
   Inheriting the shared sticky ledger hides the following navigation. */
.source-ledger { position: static; }

.source-ledger ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.source-ledger li { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, .7fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.source-ledger li a { color: var(--ink); font-weight: 700; }
.source-ledger li span, .source-ledger li small { color: var(--muted); }
.source-ledger li small { grid-column: 2; }
.source-marker { color: var(--signal); font: 700 11px/1 var(--mono); text-decoration: none; white-space: nowrap; }

.issue-layout { grid-template-columns: minmax(0, 1fr) 260px; }
.issue-main { max-width: 820px; }
.issue-section { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.issue-section h2 { font-size: clamp(30px, 3.8vw, 50px); }
.issue-section p { font-size: 18px; line-height: 1.7; }
.issue-section.revisit { border: 1px solid rgba(225,182,75,.45); padding: 24px; background: rgba(225,182,75,.06); }
.issue-section.source-note { border-bottom: 0; font-size: 14px; }
.issue-section.source-note p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.answer-banner { max-width: 860px; margin-top: 34px; padding: 24px; border-left: 3px solid var(--signal); background: rgba(225,182,75,.08); }
.answer-banner p { max-width: 760px; margin: 10px 0 0; font: 650 clamp(22px, 2.7vw, 34px)/1.35 var(--display); color: var(--ink); }
.issue-rail { position: sticky; top: 92px; }
.issue-rail ol { margin: 0 0 22px; padding-left: 18px; color: var(--muted); }
.issue-rail li { margin-bottom: 9px; }

@media (max-width: 820px) {
  /* The inherited HN stylesheet collapses .navlinks for its JS menu. These
     pages have no menu control, so keep primary links in the document flow. */
  .top .nav { align-items: flex-start; flex-wrap: wrap; }
  .top .navlinks { display: flex; width: 100%; flex-wrap: wrap; gap: 8px 18px; min-width: 0; }
  .top .navlinks a { white-space: normal; }
  .intro-grid, .answer-layout, .issue-layout, .two-column, .split-callout, .review-panel, .method-strip { grid-template-columns: 1fr; }
  .question-grid, .scenario-grid { grid-template-columns: 1fr; }
  .issue-rail { position: static; }
  .source-ledger li { grid-template-columns: 1fr; gap: 6px; }
  .source-ledger li small { grid-column: 1; }
  .method-strip li { grid-template-columns: 1fr; gap: 5px; }
}

@media (max-width: 520px) {
  .forecasting-hero, .question-hero, .issue-hero { padding-block: 56px 44px; }
  .question-card, .scenario, .answer-card, .callout, .method-strip, .review-panel, .rail-note { padding: 20px; }
  .issue-section p { font-size: 17px; }
}
