
:root {
  --sky: #d5e4f2;
  --concrete: #6e7c8a;
  --ink: #1b2430;
  --olive: #5d6b34;
  --tank: #2f3b22;
  --paper: #f6f3ea;
  --line: #2c6bed;
  --heat: #c24b24;
  --card: #fffdf8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(213,228,242,.95) 0 48%, rgba(93,107,52,.18) 48% 100%),
    var(--paper);
  font: 18px/1.55 Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}
a { color: #1d4e9f; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 18px;
  flex-wrap: wrap; padding: 12px 0 4px;
}
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-family: "Arial Narrow", Impact, sans-serif; letter-spacing: .04em;
  font-size: 22px; font-weight: 700; white-space: nowrap;
}
.brand img { width: 36px; height: 36px; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.nav a { text-decoration: none; font-family: "Arial Narrow", sans-serif; font-weight: 700; letter-spacing: .03em; }
.display {
  font-family: "Arial Narrow", Impact, sans-serif;
  letter-spacing: .04em; line-height: .95; text-transform: uppercase;
  -webkit-text-stroke: 1px #2c6bed; color: white; text-shadow: 0 2px 0 #1b2430;
}
.hero-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: end; }
.shot { display: block; width: 100%; border: 4px solid white; box-shadow: 8px 8px 0 rgba(27,36,48,.18); }
.panel { background: var(--card); border-left: 8px solid var(--olive); padding: 16px 18px; }
.olive-panel { background: var(--tank); color: #f3f6ea; }
.olive-panel a { color: #d5e4f2; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat { background: white; padding: 10px 12px; }
.stat b { display: block; font-family: "Arial Narrow", sans-serif; font-size: 28px; }
.answer { scroll-margin-top: 12px; }
.stack-table { width: 100%; border-collapse: collapse; background: white; }
.stack-table th, .stack-table td { border-bottom: 1px solid #d5dbe3; padding: 10px 12px; text-align: left; vertical-align: top; }
.stack-table th { font-family: "Arial Narrow", sans-serif; letter-spacing: .04em; background: #e7eef5; }
.table-scroll { width: 100%; max-width: 100%; }
.codes-lead { display: grid; grid-template-columns: 1fr; gap: 12px; }
.codes-mark { width: 40px; height: 40px; }
.small-figure { display: flex; gap: 12px; align-items: center; }
.small-figure img { width: 72px; height: 72px; object-fit: cover; }
.footer { margin-top: 28px; padding: 18px 0 32px; font-size: 15px; }
.checklist { padding-left: 18px; }
@media (max-width: 800px) {
  .site-header { flex-direction: column; }
  .nav { width: 100%; }
  .hero-split, .stat-row { grid-template-columns: 1fr; }
  .stack-table thead { display: none; }
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table td { display: block; width: 100%; }
  .stack-table tr { margin: 0 0 12px; border: 1px solid #d5dbe3; background: white; }
  .stack-table td { border-bottom: 0; }
  .stack-table td::before {
    content: attr(data-label);
    display: block;
    font-family: "Arial Narrow", sans-serif;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--olive);
  }
}
