:root {
  --ink: #17211c;
  --muted: #5e6a61;
  --paper: #f7f5ef;
  --panel: #fffdf7;
  --line: #d9d3c4;
  --green: #245f46;
  --green-deep: #123a2b;
  --gold: #c58a2d;
  --blue: #315f7d;
  --shadow: 0 24px 70px rgba(23, 33, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(23, 33, 28, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 33, 28, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 33, 28, 0.12);
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-deep);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--green-deep);
  background: var(--panel);
  color: var(--green-deep);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.58fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  min-height: calc(100vh - 73px);
  padding: clamp(48px, 7vw, 104px) clamp(18px, 5vw, 76px) 56px;
}

.hero-copy {
  max-width: 860px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 980px;
  font-size: clamp(48px, 9vw, 116px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2.1vw, 25px);
}

.hero-actions,
.cta-band {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green-deep);
  padding: 12px 18px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--green-deep);
  color: #fffdf7;
}

.button.secondary {
  background: transparent;
  color: var(--green-deep);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-panel {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(36, 95, 70, 0.18);
  content: "";
  pointer-events: none;
}

.panel-row {
  position: relative;
  display: grid;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.panel-row span,
.score-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  line-height: 1.1;
}

.score-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: var(--line);
}

.score-grid div {
  min-height: 104px;
  padding: 16px;
  background: var(--panel);
}

.score-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--green);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 18px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 88px) clamp(18px, 4vw, 48px);
}

.section.narrow {
  max-width: 920px;
}

.section p,
.page p,
.article p,
.article li {
  color: var(--muted);
  font-size: 18px;
}

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

.feature-grid article,
.decision-list div,
.notice,
.page,
.article {
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.84);
}

.feature-grid article,
.decision-list div {
  min-height: 230px;
  padding: 24px;
}

.cta-band {
  justify-content: space-between;
  border-top: 2px solid var(--green-deep);
  border-bottom: 2px solid var(--green-deep);
}

.cta-band div {
  max-width: 720px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 28px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 13px;
}

.site-footer a {
  text-decoration: none;
}

.article-shell {
  padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px);
}

.article,
.page {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 62px);
}

.article-wide {
  max-width: 1120px;
}

.page {
  margin-top: clamp(30px, 6vw, 72px);
}

.article h1,
.page h1 {
  font-size: clamp(42px, 6vw, 76px);
}

.article section {
  margin-top: 46px;
}

.answer-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.pick-grid,
.method-grid {
  display: grid;
  gap: 14px;
}

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

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

.pick-grid article,
.method-grid article {
  min-height: 190px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 22px;
}

.pick-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.notice {
  margin: 28px 0;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 16px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
  background: var(--panel);
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--green-deep);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
}

.check-list {
  padding-left: 22px;
}

.source-note {
  margin-bottom: 14px;
}

.source-list {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

code {
  color: var(--green-deep);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.92em;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.status-strip span {
  border: 1px solid var(--line);
  padding: 9px 12px;
  background: var(--panel);
  color: var(--blue);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

summary {
  cursor: pointer;
  color: var(--green-deep);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .feature-grid,
  .decision-list,
  .pick-grid,
  .method-grid,
  .answer-band {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(44px, 16vw, 74px);
  }
}

@media (max-width: 520px) {
  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .hero,
  .article-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .article,
  .page {
    padding: 22px 16px;
  }

  .score-grid {
    grid-template-columns: 1fr;
  }
}
