:root {
  color-scheme: light;
  --ink: #111414;
  --muted: #5f6b66;
  --line: #d9e1dc;
  --paper: #ffffff;
  --field: #f5f8f6;
  --green: #176b4d;
  --green-dark: #173c2d;
  --green-soft: #e4f4ed;
  --blue: #2457c5;
  --blue-soft: #eaf0ff;
  --coral: #c84c32;
  --coral-soft: #fff0eb;
  --gold: #8b5b00;
  --gold-soft: #fff5db;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fbfcfb;
  color: var(--ink);
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: inherit; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 251, .94);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--green-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a {
  color: #3d4b45;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
}
.nav-links a:hover { color: var(--green); }

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green-dark);
  border-radius: 8px;
  background: var(--green-dark);
  color: #fff;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
}
.button:hover { background: var(--green); border-color: var(--green); }
.button.secondary { background: #fff; color: var(--green-dark); }

.page-hero {
  padding: 76px 0 58px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumbs a { text-underline-offset: 3px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #bcd8ca;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1, h2, h3 { letter-spacing: 0; }
h1 {
  max-width: 880px;
  margin: 18px 0 0;
  font-size: 58px;
  line-height: 1.02;
}
.hero-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: #3d4b45;
  font-size: 13px;
  font-weight: 700;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.section { padding: 58px 0; border-bottom: 1px solid var(--line); }
.section.white { background: #fff; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}
.section-head h2 { margin: 0; font-size: 38px; line-height: 1.08; }
.section-head p { margin: 0; color: var(--muted); line-height: 1.65; }

.summary-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.summary-band > div { padding: 20px; border-right: 1px solid var(--line); }
.summary-band > div:last-child { border-right: 0; }
.summary-band strong { display: block; font-size: 28px; }
.summary-band span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.45; }

.ranking { width: 100%; border-collapse: collapse; border: 1px solid var(--line); background: #fff; }
.ranking th, .ranking td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ranking th { background: var(--field); color: #3d4b45; font-size: 12px; text-transform: uppercase; }
.ranking td { font-size: 14px; line-height: 1.5; }
.ranking tr:last-child td { border-bottom: 0; }

.opportunity-list { display: grid; gap: 22px; }
.opportunity {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.op-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.op-head h2 { margin: 10px 0 0; font-size: 27px; line-height: 1.14; }
.op-head > div:first-child { min-width: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  padding: 0 9px;
  font-size: 11px;
  font-weight: 800;
}
.tag.blue { background: var(--blue-soft); color: var(--blue); }
.tag.coral { background: var(--coral-soft); color: var(--coral); }
.tag.gold { background: var(--gold-soft); color: var(--gold); }
.score { flex: 0 0 72px; text-align: right; }
.score strong { display: block; color: var(--green); font-size: 31px; line-height: 1; }
.score span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.op-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { min-width: 0; padding: 20px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.field:nth-child(2n) { border-right: 0; }
.field:nth-last-child(-n + 2) { border-bottom: 0; }
.field strong { display: block; margin-bottom: 7px; font-size: 13px; }
.field p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.62; overflow-wrap: anywhere; }
.source {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: var(--field);
  color: #3d4b45;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.source a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }

.content { padding: 56px 0 72px; }
.content h2 { margin: 42px 0 12px; font-size: 28px; line-height: 1.2; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin: 26px 0 9px; font-size: 19px; }
.content p, .content li { color: #435149; font-size: 16px; line-height: 1.75; }
.content ul, .content ol { padding-left: 22px; }
.content a { color: var(--blue); text-underline-offset: 3px; }
.note {
  margin: 28px 0;
  border-left: 4px solid var(--green);
  background: var(--green-soft);
  padding: 18px 20px;
  color: #294638;
  line-height: 1.65;
}

.pdf-only { display: none; }

.report-list { display: grid; gap: 14px; }
.report-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
  text-decoration: none;
}
.report-row:hover { border-color: #95b5a6; }
.report-row h2 { margin: 6px 0 0; font-size: 23px; }
.report-row p { margin: 9px 0 0; color: var(--muted); line-height: 1.55; }
.report-row time { color: var(--muted); font-size: 13px; }
.report-row .arrow { color: var(--green); font-size: 26px; }

.cta-band { padding: 48px 0; background: #132019; color: #fff; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: center; }
.cta-inner h2 { margin: 0; font-size: 35px; }
.cta-inner p { max-width: 700px; margin: 12px 0 0; color: #bfd0c8; line-height: 1.6; }
.cta-inner .button { background: #fff; color: var(--green-dark); border-color: #fff; }

.site-footer { border-top: 1px solid var(--line); background: var(--field); padding: 28px 0 32px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.footer-copy { max-width: 480px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.footer-copy strong { display: block; margin-bottom: 4px; color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 16px; }
.footer-links a { color: #3d4b45; font-size: 13px; font-weight: 700; text-decoration: none; }

@media (max-width: 760px) {
  .nav-links a:not(.button) { display: none; }
  .page-hero { padding: 52px 0 42px; }
  h1 { font-size: 39px; }
  .hero-lead { font-size: 17px; }
  .section { padding: 44px 0; }
  .section-head { display: block; }
  .section-head h2 { font-size: 31px; }
  .section-head p { margin-top: 12px; }
  .summary-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-band > div:nth-child(2) { border-right: 0; }
  .summary-band > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .ranking { display: block; overflow-x: auto; }
  .op-head { padding: 20px; }
  .op-grid { grid-template-columns: 1fr; }
  .field { border-right: 0; }
  .field:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .report-row { grid-template-columns: 1fr; gap: 10px; }
  .report-row .arrow { display: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 430px) {
  .wrap, .narrow { width: min(100% - 24px, 1080px); }
  .brand span:last-child { display: none; }
  h1 { font-size: 34px; }
  .summary-band { grid-template-columns: 1fr; }
  .summary-band > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .summary-band > div:last-child { border-bottom: 0; }
  .op-head { display: block; }
  .score { margin-top: 18px; text-align: left; }
  .cta-inner h2 { font-size: 29px; }
}

@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #fff; color: #111; overflow: visible; }
  .topbar, .cta-band, .site-footer, .breadcrumbs, .hero-actions { display: none !important; }
  .wrap, .narrow { width: 100%; max-width: none; }
  .page-hero { padding: 0 0 8mm; border-bottom: 1px solid #ccd5d0; }
  .page-hero h1 { max-width: none; font-size: 34px; }
  .hero-lead { max-width: none; font-size: 14px; }
  .section { padding: 9mm 0; }
  .section-head { margin-bottom: 5mm; }
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 12px; }
  .summary-band, .opportunity, .ranking { break-inside: avoid; box-shadow: none; }
  .opportunity { break-before: auto; }
  .opportunity + .opportunity { break-before: page; }
  .source a { color: #174fb3; }
  .how-to-use { break-before: page; padding-top: 0; }
  .content h2 { break-after: avoid; }
  .pdf-only { display: block; }
}
