:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #586674;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --line: #d9e1e8;
  --blue: #1d6fa5;
  --green: #207c59;
  --red: #b23b3b;
  --yellow: #9a6b0a;
  --shadow: 0 16px 42px rgba(23, 32, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--soft);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

body {
  margin: 0;
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

.page-shell {
  margin-inline: auto;
  max-width: 1120px;
  padding: 1rem;
}

.hero {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  min-height: 520px;
  padding: 1.2rem;
}

.hero__text {
  display: grid;
  gap: 0.75rem;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

h1 {
  font-size: 2.45rem;
}

h2 {
  font-size: 1.55rem;
}

p {
  margin: 0;
}

.lead,
.section-head p,
.issue-grid p,
.flow-list p,
.compare-section p,
.summary-band p,
.hero-card figcaption {
  color: var(--muted);
}

.lead {
  font-size: 1.06rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.hero__actions a {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 900;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
}

.hero__actions a:last-child {
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
}

.hero-card {
  background: #f8fbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.map-visual {
  aspect-ratio: 16 / 11;
  background:
    linear-gradient(135deg, rgba(29, 111, 165, 0.1) 0 25%, transparent 25% 100%),
    linear-gradient(160deg, #f8fbfc 0%, #e9f1f5 52%, #f5f7fa 100%);
  display: grid;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.map-visual::before,
.map-visual::after {
  border: 2px solid rgba(29, 111, 165, 0.22);
  content: "";
  position: absolute;
}

.map-visual::before {
  height: 62%;
  left: 12%;
  top: 16%;
  transform: rotate(-9deg);
  width: 74%;
}

.map-visual::after {
  border-color: rgba(32, 124, 89, 0.24);
  height: 38%;
  right: 8%;
  top: 34%;
  transform: rotate(12deg);
  width: 46%;
}

.map-visual__label,
.map-visual__pin {
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  border-radius: 6px;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 900;
  position: absolute;
}

.map-visual__label {
  left: 8%;
  padding: 0.45rem 0.65rem;
  top: 8%;
}

.map-visual__pin {
  border-left-color: var(--red);
  bottom: 16%;
  padding: 0.55rem 0.75rem;
  right: 12%;
}

.map-visual__ridge {
  background: linear-gradient(90deg, rgba(178, 59, 59, 0.85), rgba(154, 107, 10, 0.75));
  height: 8px;
  left: 18%;
  position: absolute;
  top: 52%;
  transform: rotate(-13deg);
  width: 62%;
}

.hero-card figcaption {
  background: #ffffff;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  padding: 0.75rem 0.85rem;
}

.summary-band,
.flow-list,
.issue-grid {
  display: grid;
  gap: 0.8rem;
}

.summary-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.summary-band article,
.flow-list article,
.issue-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  border-radius: 8px;
  padding: 1rem;
}

.summary-band article:nth-child(2),
.issue-grid article:nth-child(2) {
  border-left-color: var(--red);
}

.summary-band article:nth-child(3),
.issue-grid article:nth-child(3) {
  border-left-color: var(--green);
}

.summary-band span,
.flow-list span {
  color: var(--blue);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 0.15rem;
}

.summary-band strong,
.flow-list strong,
.issue-grid strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.section {
  padding: 2rem 0 0;
}

.section--paper {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 2rem;
  padding: 1rem;
}

.section-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  max-width: 820px;
}

.flow-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-list article {
  border-left-color: var(--yellow);
}

.flow-list span {
  align-items: center;
  background: var(--yellow);
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.issue-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-section {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.compare-section ul,
.source-list {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.compare-section li,
.source-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.55;
  padding: 0.75rem 0.85rem;
}

.sources-section {
  padding-bottom: 1.5rem;
}

.source-list a {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.source-list a:hover,
.source-list a:focus-visible {
  color: var(--blue);
}

@media (max-width: 920px) {
  .hero,
  .summary-band,
  .flow-list,
  .issue-grid,
  .compare-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .page-shell {
    padding: 0.75rem;
  }

  .hero {
    padding: 0.85rem;
  }

  h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.28rem;
  }

  .lead {
    font-size: 1rem;
  }

  .map-visual {
    min-height: 220px;
  }

  .section {
    padding-top: 1.4rem;
  }

  .section--paper {
    margin-top: 1.4rem;
  }
}
