/* ==========================================================================
   pages.css: inner-page components (loaded after site.css)
   Page writers may use ONLY these classes plus the shared header/footer.
   Allowed: breadcrumbs, page-hero, lead, last-updated, content, section, alt,
   wrap, eyebrow, jump-links, table-scroll, spec-table, fact-table, card-grid,
   cat-card, cat-meta, callout, note, disclaimer, sources, cta-band, btn,
   btn-outline, nap, faq-list, faq-item, faq-q, faq-a, two-col
   ========================================================================== */
:root {
  --brand-green: #173C22;
  --brand-green-dark: #0d2614;
  --accent: #B0341C;
  --accent-tint: #FDF5F3;
  --ink: #000000;
  --ink-2: #222222;
  --ink-3: #333333;
  --muted: #5f5f5f;
  --rule: #e6e6e6;
  --bg-alt: #F5F5F5;
  --wrap: 1180px;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; color: #9a9a9a; }
.breadcrumbs a { color: var(--brand-green); text-decoration: none; display: inline-block; padding: 3px 0; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink-3); padding: 3px 0; }

/* ---------- Page hero ---------- */
.page-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--rule);
  padding: 40px 0 44px;
}
.page-hero h1 {
  font-family: "HelveticaNeue-CondensedBold", "Helvetica Neue", "Arial Narrow Bold", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0.005em;
  margin: 0 0 18px;
  max-width: 900px;
}
.page-hero .lead,
.lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 820px;
  margin: 0;
}
.last-updated {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 0;
}
.eyebrow {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brand-green);
  text-transform: uppercase;
  margin: 0 0 10px;
}

/* ---------- Jump links ("On this page") ---------- */
.jump-links {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.jump-links a {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid #cfcfcf;
  background: #ffffff;
  color: var(--brand-green);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.jump-links a:hover { border-color: var(--brand-green); }

/* ---------- Body content ---------- */
/* .content shares the .wrap width so body text aligns with the hero; prose is capped below */
.content h2 {
  font-family: "HelveticaNeue-CondensedBold", "Helvetica Neue", "Arial Narrow Bold", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.15;
  margin: 0 0 14px;
  scroll-margin-top: 16px;
}
.content h3 {
  font-family: "HelveticaNeue-CondensedBold", "Helvetica Neue", "Arial Narrow Bold", Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  margin: 28px 0 10px;
  color: var(--ink);
  scroll-margin-top: 16px;
}
.content p,
.content li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.content p { margin: 0 0 16px; max-width: 820px; }
.content ul,
.content ol { margin: 0 0 18px; padding-left: 22px; max-width: 820px; }
.content li { margin: 0 0 6px; }
.content a { color: var(--brand-green); text-decoration: underline; text-underline-offset: 2px; }
.content a:hover { color: var(--brand-green-dark); }
.content .section-intro { color: var(--ink-3); }
.section + .section { border-top: 1px solid var(--rule); }
.section.alt + .section,
.section + .section.alt { border-top: 0; }
.page-hero + .section { padding-top: 56px; }

/* ---------- Tables ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 8px 0 24px;
  border: 1px solid var(--rule);
  background: #ffffff;
}
.spec-table,
.fact-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 15px;
  line-height: 1.5;
}
.fact-table { min-width: 0; }
.spec-table caption,
.fact-table caption {
  caption-side: top;
  text-align: left;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-green);
  padding: 12px 14px 4px;
}
.spec-table th,
.spec-table td,
.fact-table th,
.fact-table td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px;
  border-bottom: 1px solid var(--rule);
}
.spec-table thead th {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--brand-green);
  font-weight: 500;
  white-space: nowrap;
}
.spec-table tbody tr:nth-child(even) { background: #fafafa; }
.spec-table td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fact-table th {
  width: 34%;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-green);
  font-weight: 500;
  background: #fafafa;
}
.fact-table td { color: var(--ink-2); }
.spec-table tbody th {
  font-weight: 700;
  color: var(--ink);
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.spec-table tr:last-child td,
.spec-table tr:last-child th,
.fact-table tr:last-child th,
.fact-table tr:last-child td { border-bottom: 0; }

/* ---------- Category cards (catalog hub) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 8px 0 8px;
}
.cat-card {
  background: #ffffff;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brand-green);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cat-card h3 { margin: 0; font-size: 20px; }
.cat-card h3 a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brand-green); }
.cat-card h3 a:hover { color: var(--brand-green); }
.cat-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.cat-card .cat-meta {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Callouts, notes, disclaimers, sources ---------- */
.callout {
  border-left: 3px solid var(--brand-green);
  background: #f3f7f4;
  padding: 16px 20px;
  margin: 8px 0 22px;
  max-width: 860px;
}
.callout p:last-child { margin-bottom: 0; }
.note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  background: #fafafa;
  border: 1px solid var(--rule);
  padding: 12px 16px;
  margin: 0 0 20px;
  max-width: 860px;
}
.disclaimer {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #ffffff;
  border: 2px solid var(--ink-3);
  padding: 14px 18px;
  margin: 22px 0 20px;
  max-width: 860px;
}
.sources {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 860px;
}
.sources a { color: var(--brand-green); }

/* ---------- Two-column layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  align-items: start;
}

/* ---------- NAP block ---------- */
.nap {
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 18px;
}

/* ---------- Buttons ---------- */
.btn,
.btn-outline {
  display: inline-block;
  padding: 14px 22px;
  font-family: "HelveticaNeue-CondensedBold", "Helvetica Neue", "Arial Narrow Bold", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn { background: var(--brand-green); color: #ffffff; border: 1px solid var(--brand-green); }
.btn:hover { background: var(--brand-green-dark); border-color: var(--brand-green-dark); }
.btn-outline { background: transparent; color: var(--brand-green); border: 1px solid var(--brand-green); }
.btn-outline:hover { background: var(--brand-green); color: #ffffff; }
.content a.btn,
.cta-band a.btn { color: #ffffff; text-decoration: none; }
.content a.btn-outline { text-decoration: none; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brand-green);
  color: #ffffff;
  padding: 56px 0;
}
.cta-band h2 {
  font-family: "HelveticaNeue-CondensedBold", "Helvetica Neue", "Arial Narrow Bold", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 10px;
  color: #ffffff;
}
.cta-band p { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: #e4efe6; max-width: 720px; }
.cta-band .btn { background: #ffffff; color: var(--brand-green); border-color: #ffffff; }
.cta-band a.btn { color: var(--brand-green); }
.cta-band .btn:hover { background: #e4efe6; border-color: #e4efe6; }
.cta-band .btn-outline { color: #ffffff; border-color: rgba(255,255,255,0.7); margin-left: 10px; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.12); color: #ffffff; }
.cta-band a:focus-visible { outline-color: #ffffff; }

/* ---------- FAQ (inner pages reuse site.css .faq-* styles) ---------- */
.content .faq-list { margin-top: 8px; }
.content .faq-q { font-size: 19px; margin: 0 0 10px; color: var(--brand-green); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .page-hero { padding: 30px 0 34px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .cta-band .btn-outline { margin: 12px 0 0; }
  .spec-table, .fact-table { font-size: 14px; }
}
