:root {
  --paper: #f4f6f5;
  --surface: #ffffff;
  --ink: #1c272c;
  --muted: #56666d;
  --rule: #d3dbd9;
  --green: #1d6a48;
  --green-dark: #144d34;
  --yellow: #f0c02b;
  --yellow-wash: #fdf6dc;
  --measure: 40rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.7;
}

a { color: var(--green); text-underline-offset: 0.15em; }
a:hover { color: var(--green-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3, .wordmark, .site-nav, .meta, .eyebrow-free, table, .card-title, .btn {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
}

h1, h2, h3 { line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; margin: 0 0 0.75rem; letter-spacing: -0.01em; }
h2 { font-size: 1.85rem; font-weight: 600; margin: 2.75rem 0 0.75rem; }
h3 { font-size: 1.35rem; font-weight: 600; margin: 1.75rem 0 0.4rem; }

p, ul, ol { margin: 0 0 1.1rem; }
li { margin-bottom: 0.55rem; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--yellow); color: var(--ink); padding: 0.5rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; }

/* Header */
.site-header {
  background: var(--ink);
  color: #fff;
  border-bottom: 4px solid var(--green);
}
.header-inner {
  max-width: 64rem; margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.wordmark {
  display: inline-flex; align-items: stretch;
  text-decoration: none; color: #fff;
  font-size: 1.35rem; font-weight: 700; letter-spacing: 0.02em;
  border: 2px solid #fff; border-radius: 3px; overflow: hidden;
}
.wordmark span { padding: 0.1rem 0.55rem; }
.wordmark .wm-fuel { background: var(--green); }
.wordmark:hover { color: #fff; }
.site-nav { display: flex; gap: 1.25rem; font-size: 1.1rem; font-weight: 500; }
.site-nav a { color: #e6eceb; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }

/* Layout */
main { padding: 2.5rem 1rem 4rem; }
.wrap { max-width: var(--measure); margin: 0 auto; }
.wide { max-width: 64rem; margin: 0 auto; }

.meta { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.75rem; }
.lede { font-size: 1.25rem; line-height: 1.6; }

/* The answer box: styled like a tank placard */
.answer {
  background: var(--yellow-wash);
  border: 1px solid #e8d48a;
  border-left: 10px solid var(--yellow);
  padding: 1.1rem 1.25rem;
  margin: 0 0 1.75rem;
  border-radius: 3px;
}
.answer p:last-child { margin-bottom: 0; }

/* Tables: spec-sheet style */
.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; }
table {
  width: 100%; border-collapse: collapse;
  font-size: 1.05rem; line-height: 1.4;
  background: var(--surface);
}
th, td { text-align: left; vertical-align: top; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--rule); }
th { background: var(--ink); color: #fff; font-weight: 600; }
td:first-child { font-weight: 600; width: 22%; }
td:last-child { width: 42%; }
td a { white-space: nowrap; }

/* Checklist */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.35rem;
  width: 1.1rem; height: 1.1rem; border: 2px solid var(--green); border-radius: 2px; background: var(--surface);
}

.faq h3 { margin-top: 1.5rem; }

.sources { font-size: 1rem; }
.sources li { margin-bottom: 0.4rem; }

/* Home */
.intro { max-width: 46rem; }
.guide-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.guide-list li { margin: 0; }
.guide {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--green);
  padding: 1.1rem 1.25rem;
}
.guide:hover { border-top-color: var(--yellow); color: var(--ink); }
.card-title { display: block; font-size: 1.5rem; font-weight: 600; line-height: 1.2; margin-bottom: 0.35rem; }
.guide p { margin: 0; color: var(--muted); }

.note {
  border-left: 4px solid var(--rule);
  padding-left: 1rem; color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.75rem 1rem 2.5rem;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.05rem; color: var(--muted);
}
.footer-inner { max-width: 64rem; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-inner a { color: var(--muted); }

@media (max-width: 520px) {
  body { font-size: 1.0625rem; }
  .site-nav { gap: 1rem; font-size: 1.05rem; }
  td:first-child { white-space: normal; }
}

@media print {
  .site-header, .site-footer { display: none; }
  body { background: #fff; }
}
