:root {
  color-scheme: light;
  --ink: #14201b;
  --muted: #5d6d66;
  --line: #dfe7e2;
  --paper: #fbfdfb;
  --soft: #eef7f1;
  --panel: #ffffff;
  --green: #13764a;
  --green-dark: #0b3f2a;
  --gold: #bd8a25;
  --gold-soft: #f5ead4;
  --danger: #8f321f;
  --shadow: 0 20px 60px rgba(17, 37, 27, 0.12);
  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: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 4rem);
  background: rgba(251, 253, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 0.9rem;
  color: var(--ink);
  font: inherit;
}

.site-nav {
  position: absolute;
  inset: 100% 1rem auto 1rem;
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 0.8rem;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus {
  background: var(--soft);
  color: var(--green-dark);
}

.hero {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.4rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem) 2rem;
  overflow: hidden;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 0.65rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 9vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 930px;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.6rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  line-height: 1.2;
}

.hero-text {
  color: #33433d;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 680px;
}

.hero-actions,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 800;
  line-height: 1.1;
}

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

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-dark);
}

.button.full {
  width: 100%;
}

.trust-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0.45rem 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.snapshot,
.section {
  padding: clamp(2.2rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem);
}

.snapshot {
  display: grid;
  gap: 1rem;
  background: #fff;
  border-block: 1px solid var(--line);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.fact-grid article,
.category-card,
.safety-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 1rem;
}

.fact-grid span,
.category-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.fact-grid strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.98rem;
  line-height: 1.25;
}

.split {
  display: grid;
  gap: 1.4rem;
}

.reverse .tool-panel {
  order: 2;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 0.65rem;
  padding-left: 1.45rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.tool-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.tool-panel.muted {
  display: grid;
  gap: 0.6rem;
  background: var(--soft);
  box-shadow: none;
}

.tool-panel.muted a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(20, 32, 27, 0.12);
  color: var(--green-dark);
  font-weight: 800;
}

dl {
  margin: 0 0 1rem;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.microcopy {
  margin: 0.75rem 0 0;
  color: var(--danger);
  font-size: 0.84rem;
}

.section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.text-link {
  flex: 0 0 auto;
  color: var(--green);
  font-weight: 850;
}

.category-grid,
.safety-grid {
  display: grid;
  gap: 0.8rem;
}

.ranking-section {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.ranking-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ranking-table [role="row"] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}

.ranking-table [role="row"]:first-child {
  background: var(--green-dark);
  color: #fff;
  font-weight: 850;
}

.ranking-table [role="row"]:last-child {
  border-bottom: 0;
}

.ranking-table span:nth-child(2) {
  color: var(--gold);
  font-weight: 850;
}

.category-card {
  min-height: 210px;
}

.category-card span {
  margin-bottom: 1.4rem;
  color: var(--gold);
}

.category-card p,
.safety-grid p,
.section p {
  color: var(--muted);
}

.mini-metrics {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.mini-metrics span {
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  padding: 0.75rem;
  border-radius: 0 8px 8px 0;
}

.mini-metrics strong {
  display: block;
  font-size: 1.6rem;
  color: var(--ink);
}

.safety-band {
  background: var(--green-dark);
  color: #fff;
}

.safety-band .section-kicker,
.safety-band p {
  color: #cce9db;
}

.safety-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.safety-grid p {
  margin-bottom: 0;
}

.update-log {
  background: #fff;
  border-block: 1px solid var(--line);
}

.update-log ol {
  margin: 0;
  padding-left: 1.2rem;
}

.update-log li {
  margin-bottom: 0.75rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.95rem 1rem;
}

.faq details + details {
  margin-top: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
}

.faq p {
  margin: 0.7rem 0 0;
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem) 5.2rem;
  background: #101815;
  color: #fff;
}

.site-footer p {
  margin: 0.35rem 0 0;
  color: #b7c7bf;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-footer a {
  color: #d8e8df;
}

.mobile-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 0.6rem;
  padding: 0.65rem;
  background: rgba(251, 253, 251, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
    align-items: center;
  }

  .snapshot {
    grid-template-columns: 0.45fr 1fr;
    align-items: start;
  }

  .fact-grid,
  .category-grid,
  .safety-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ranking-table [role="row"] {
    grid-template-columns: 0.9fr 0.35fr 1.4fr;
    align-items: center;
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    align-items: start;
  }

  .reverse {
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  }

  .reverse .tool-panel {
    order: 0;
  }

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

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-bottom: 2rem;
  }

  .mobile-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
