
:root {
  --ink: #17212b;
  --muted: #526371;
  --paper: #fcfffb;
  --wash: #eef5f4;
  --line: #d1dfdc;
  --jade: #1b7f72;
  --indigo: #263a73;
  --saffron: #d5952d;
  --coral: #c75f55;
  --mint: #dff5ef;
  --shadow: 0 18px 42px rgba(23,33,43,.10);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: Inter, "Segoe UI", ui-sans-serif, system-ui, -apple-system, Arial, sans-serif;
  line-height: 1.64;
}
a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }
.notice {
  background: linear-gradient(90deg, var(--indigo), #1b5565);
  color: #f6fffd;
  padding: 8px 18px;
  text-align: center;
  font-size: 13px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(252,255,251,.96);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(1220px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 48px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--jade), var(--indigo));
  border-radius: 4px 14px 4px 14px;
  font-size: 13px;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.navlinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}
.navlinks a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  padding: 8px 10px;
  border-bottom: 3px solid transparent;
}
.navlinks a.active,
.navlinks a:hover {
  border-color: var(--saffron);
  text-decoration: none;
}
.hero {
  width: min(1220px, calc(100% - 32px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, .95fr);
  gap: 18px;
  align-items: stretch;
}
.hero-copy {
  min-height: 300px;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(38,58,115,.97), rgba(27,127,114,.91)),
    radial-gradient(circle at top right, rgba(213,149,45,.33), transparent 36%);
  box-shadow: var(--shadow);
}
.crumbs {
  font-size: 13px;
  margin-bottom: 15px;
  color: #dff5ef;
}
.crumbs a { color: #fff; }
.label {
  margin: 0 0 8px;
  color: #ffdda2;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 900;
}
h1, h2, h3 { line-height: 1.18; letter-spacing: 0; }
h1 {
  margin: 0;
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 58px);
}
.deck {
  max-width: 800px;
  color: #edfdf9;
  font-size: 18px;
  margin: 16px 0 0;
}
.atlas-art {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  background: var(--paper);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.layout {
  width: min(1220px, calc(100% - 32px));
  margin: 18px auto 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 18px;
  align-items: start;
}
.content {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 42px);
  box-shadow: var(--shadow);
}
.content h2,
.side h2 {
  color: var(--indigo);
  margin-top: 30px;
}
.content h2:first-child,
.side h2:first-child { margin-top: 0; }
.content p,
.content li,
.side p,
.side li {
  color: var(--muted);
}
.content ul { padding-left: 22px; }
.compare-note,
.sources,
.opening-panel {
  margin: 26px 0;
  padding: 18px 20px;
  background: #f4fbf8;
  border: 1px solid var(--line);
  border-top: 5px solid var(--jade);
}
.compare-note h2,
.sources h2,
.opening-panel h2 { margin-top: 0; }
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.cell {
  min-height: 132px;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--saffron);
}
.cell a {
  display: inline-block;
  color: var(--ink);
  font-weight: 850;
  margin-bottom: 7px;
}
.cell p { margin: 0; }
.side {
  display: grid;
  gap: 14px;
}
.side section {
  background: var(--mint);
  border: 1px solid var(--line);
  padding: 17px;
}
.side h2 { font-size: 18px; margin-bottom: 10px; }
.side ul { padding-left: 20px; margin-bottom: 0; }
.footer {
  background: #17212b;
  color: #d8e6e4;
  padding: 42px 20px 24px;
}
.footer-grid {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 26px;
}
.footer h2 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 10px;
}
.footer a { color: #aee8dc; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 7px 0; }
.fine {
  width: min(1220px, 100%);
  margin: 28px auto 0;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 18px;
  color: #b6c7c5;
  font-size: 13px;
}
@media (max-width: 980px) {
  .nav { flex-direction: column; align-items: flex-start; padding: 14px 0; }
  .navlinks { justify-content: flex-start; }
  .hero, .layout, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 24px; }
  .matrix-grid { grid-template-columns: 1fr; }
}
