:root {
  --pmr-ink: #17231f;
  --pmr-muted: #5a6862;
  --pmr-paper: #ffffff;
  --pmr-soft: #f4f7f5;
  --pmr-line: #d8e0dc;
  --pmr-green: #28644f;
  --pmr-green-dark: #174737;
  --pmr-coral: #b95345;
  --pmr-gold: #c48a25;
  --pmr-blue: #386778;
  --pmr-shadow: 0 10px 28px rgba(20, 41, 33, .09);
}

html { scroll-behavior: smooth; }
body {
  color: var(--pmr-ink);
  background: var(--pmr-paper);
  letter-spacing: 0;
}
body, button, input, select, textarea { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1, h2, h3, h4, p, li, a, button, span, strong { letter-spacing: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { line-height: 1.72; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  transform: translateY(-180%);
  padding: 10px 14px;
  background: #fff;
  color: var(--pmr-ink);
  border: 2px solid var(--pmr-green);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 10px max(22px, calc((100vw - 1240px) / 2));
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--pmr-line);
  box-shadow: none;
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--pmr-ink);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--pmr-green);
  font-size: .78rem;
  font-weight: 900;
}
.brand strong { display: block; font-size: 1.02rem; line-height: 1.1; }
.brand em { display: block; margin-top: 3px; color: var(--pmr-muted); font-size: .72rem; font-style: normal; }
.site-nav {
  position: static;
  inset: auto;
  display: flex;
  width: auto;
  max-height: none;
  align-items: center;
  gap: 2px;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.site-nav a {
  padding: 10px 9px;
  border-radius: 4px;
  color: #30423b;
  font-size: .85rem;
  font-weight: 720;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active { color: var(--pmr-green-dark); background: #eaf2ee; }
.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--pmr-line);
  border-radius: 4px;
  background: #fff;
  color: var(--pmr-ink);
  font-weight: 800;
}

.shell, .article-shell, .guide-inner { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 72px 0; }
.section.compact { padding: 44px 0; }
.section.tint, .tinted { background: var(--pmr-soft); }
.section.dark-band { color: #fff; background: var(--pmr-ink); }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head h2 { margin: 8px 0 10px; font-size: clamp(1.85rem, 3vw, 3rem); line-height: 1.08; }
.section-head p { margin: 0; color: var(--pmr-muted); font-size: 1.05rem; }
.dark-band .section-head p { color: #cfdbd6; }
.eyebrow {
  display: block;
  color: var(--pmr-coral);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home-hero {
  position: relative;
  min-height: min(600px, calc(100vh - 140px));
  display: flex;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #25372f center 56% / cover no-repeat;
}
.home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,24,19,.88) 0%, rgba(10,24,19,.66) 48%, rgba(10,24,19,.12) 78%), linear-gradient(0deg, rgba(10,24,19,.55), transparent 50%);
}
.home-hero-copy { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 48px; color: #fff; }
.home-hero-copy > * { max-width: 760px; }
.home-hero .eyebrow { color: #f6ca73; }
.home-hero h1 { margin: 14px 0 18px; font-size: clamp(2.5rem, 5.4vw, 4.65rem); line-height: 1; }
.home-hero p { margin: 0; color: #edf4f0; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--pmr-green); }
.btn-primary:hover { background: var(--pmr-green-dark); }
.btn-secondary { color: var(--pmr-ink); background: #fff; border-color: var(--pmr-line); }
.btn-ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.6); }

.quick-strip { border-bottom: 1px solid var(--pmr-line); background: #fff; }
.quick-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.quick-strip a { padding: 18px; color: var(--pmr-ink); border-right: 1px solid var(--pmr-line); text-decoration: none; }
.quick-strip a:first-child { border-left: 1px solid var(--pmr-line); }
.quick-strip span { display: block; color: var(--pmr-muted); font-size: .79rem; }
.quick-strip strong { display: block; margin-top: 3px; font-size: .96rem; }

.topic-grid, .guide-grid, .feature-grid, .record-grid, .species-grid { display: grid; gap: 20px; }
.topic-grid { grid-template-columns: repeat(3, 1fr); }
.guide-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.record-grid { grid-template-columns: repeat(2, 1fr); }
.species-grid { grid-template-columns: repeat(2, 1fr); }
.topic-link {
  display: grid;
  min-height: 180px;
  align-content: end;
  padding: 24px;
  border: 1px solid var(--pmr-line);
  border-top: 5px solid var(--pmr-green);
  border-radius: 6px;
  color: var(--pmr-ink);
  background: #fff;
  text-decoration: none;
}
.topic-link:nth-child(2n) { border-top-color: var(--pmr-coral); }
.topic-link:nth-child(3n) { border-top-color: var(--pmr-gold); }
.topic-link h3 { margin: 6px 0; font-size: 1.35rem; }
.topic-link p { margin: 0; color: var(--pmr-muted); font-size: .94rem; }

.guide-card {
  overflow: hidden;
  border: 1px solid var(--pmr-line);
  border-radius: 6px;
  color: var(--pmr-ink);
  background: #fff;
  box-shadow: none;
  text-decoration: none;
}
.guide-card:hover { border-color: #9bb5aa; box-shadow: var(--pmr-shadow); }
.guide-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #e7ece9; }
.guide-card-body { padding: 20px; }
.guide-card-body span { color: var(--pmr-coral); font-size: .74rem; font-weight: 900; text-transform: uppercase; }
.guide-card h3 { margin: 8px 0; font-size: 1.25rem; line-height: 1.18; }
.guide-card p { margin: 0; color: var(--pmr-muted); font-size: .92rem; }

.editorial-promise { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.promise-list { display: grid; gap: 0; border-top: 1px solid var(--pmr-line); }
.promise-item { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--pmr-line); }
.promise-number { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--pmr-coral); border-radius: 50%; font-weight: 900; }
.promise-item h3 { margin: 0 0 4px; font-size: 1rem; }
.promise-item p { margin: 0; color: var(--pmr-muted); font-size: .91rem; }

.guide-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: end;
  isolation: isolate;
  color: #fff;
  background: #273b33 center 42% / cover no-repeat;
}
.guide-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,24,19,.9), rgba(10,24,19,.58) 58%, rgba(10,24,19,.18)), linear-gradient(0deg, rgba(10,24,19,.65), transparent 52%);
}
.guide-hero-copy { max-width: 850px; padding: 72px 0 58px; }
.guide-hero .eyebrow { color: #f6ca73; }
.guide-hero h1 { margin: 12px 0 15px; font-size: clamp(2.25rem, 5.5vw, 4.7rem); line-height: 1; }
.guide-hero p { max-width: 720px; margin: 0; color: #eef5f1; font-size: clamp(1.05rem, 1.8vw, 1.24rem); }
.photo-credit { margin-top: 18px; color: #d7e3dd; font-size: .76rem; }
.photo-credit a { color: inherit; }

.trust-bar { border-bottom: 1px solid var(--pmr-line); background: #fff; }
.trust-bar-inner { display: flex; flex-wrap: wrap; gap: 14px 30px; padding: 16px 0; color: var(--pmr-muted); font-size: .82rem; }
.trust-bar strong { color: var(--pmr-ink); }

.guide-layout { display: grid; grid-template-columns: minmax(0, 760px) 270px; gap: 64px; align-items: start; }
.guide-body { min-width: 0; }
.guide-body > p:first-child { font-size: 1.16rem; line-height: 1.75; }
.guide-body h2 { margin: 2.2em 0 .55em; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.12; }
.guide-body h3 { margin: 1.8em 0 .45em; font-size: 1.22rem; line-height: 1.25; }
.guide-body p, .guide-body li { color: #35443e; }
.guide-body a:not(.btn) { color: #1c5f72; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.guide-body ul, .guide-body ol { padding-left: 1.35rem; }
.guide-body li + li { margin-top: .52rem; }
.toc {
  position: sticky;
  top: 92px;
  padding: 18px;
  border: 1px solid var(--pmr-line);
  border-radius: 5px;
  background: #fff;
}
.toc strong { display: block; margin-bottom: 10px; }
.toc a { display: block; padding: 7px 0; color: #42524b; border-top: 1px solid #edf0ee; font-size: .84rem; text-decoration: none; }
.toc a:hover { color: var(--pmr-green); }

.answer-box, .warning-box, .tip-box, .cost-total {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 5px solid var(--pmr-green);
  border-radius: 4px;
  background: #edf5f1;
}
.warning-box { border-left-color: var(--pmr-coral); background: #fff1ee; }
.tip-box { border-left-color: var(--pmr-gold); background: #fff8e9; }
.cost-total { border-left-color: var(--pmr-blue); background: #edf5f8; }
.answer-box > :first-child, .warning-box > :first-child, .tip-box > :first-child, .cost-total > :first-child { margin-top: 0; }
.answer-box > :last-child, .warning-box > :last-child, .tip-box > :last-child, .cost-total > :last-child { margin-bottom: 0; }

.article-figure { margin: 30px 0; }
.article-figure img { display: block; width: 100%; max-height: 610px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 5px; background: #e6ebe8; }
.article-figure img.contain { object-fit: contain; background: #f4f5f4; }
.article-figure figcaption { padding-top: 9px; color: var(--pmr-muted); font-size: .77rem; line-height: 1.45; }
.article-figure figcaption a { color: inherit; }
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0; }
.figure-pair .article-figure { margin: 0; }
.figure-pair img { aspect-ratio: 4 / 3; }

.comparison-table, .cost-table { width: 100%; margin: 24px 0 32px; border-collapse: collapse; font-size: .9rem; }
.comparison-table th, .comparison-table td, .cost-table th, .cost-table td { padding: 13px 12px; border: 1px solid var(--pmr-line); text-align: left; vertical-align: top; }
.comparison-table th, .cost-table th { color: #fff; background: var(--pmr-green-dark); }
.comparison-table tr:nth-child(even), .cost-table tr:nth-child(even) { background: var(--pmr-soft); }

.step-list { counter-reset: pmr-step; display: grid; gap: 18px; margin: 28px 0; }
.step-card { position: relative; padding: 20px 20px 20px 70px; border: 1px solid var(--pmr-line); border-radius: 5px; background: #fff; }
.step-card::before { counter-increment: pmr-step; content: counter(pmr-step); position: absolute; top: 18px; left: 18px; display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: #fff; background: var(--pmr-green); font-weight: 900; }
.step-card h3 { margin: 0 0 6px; }
.step-card p { margin: 0; }

.product-support { margin: 34px 0; padding: 24px; border: 1px solid var(--pmr-line); border-radius: 6px; background: #fff; box-shadow: var(--pmr-shadow); }
.product-support-header { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; }
.product-support-header img { width: 100%; max-height: 180px; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.product-support .rank-label { color: var(--pmr-coral); font-size: .76rem; font-weight: 900; text-transform: uppercase; }
.product-support h3 { margin: 5px 0 8px; }
.product-name-link { color: inherit !important; text-decoration-color: #9bb5aa !important; }
.product-support .hero-actions { margin-top: 14px; }
.product-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.product-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border: 1px solid var(--pmr-line); border-radius: 4px; background: #fff; }
.product-gallery.two { grid-template-columns: repeat(2, 1fr); }

.record-card, .species-card, .feature-card {
  overflow: hidden;
  border: 1px solid var(--pmr-line);
  border-radius: 6px;
  background: #fff;
}
.record-card img, .species-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.record-card-body, .species-card-body, .feature-card { padding: 21px; }
.record-card h3, .species-card h3, .feature-card h3 { margin: 0 0 8px; }
.record-card p, .species-card p, .feature-card p { margin: 0; color: var(--pmr-muted); }

.faq-list { margin-top: 28px; border-top: 1px solid var(--pmr-line); }
.faq-list details { border-bottom: 1px solid var(--pmr-line); }
.faq-list summary { cursor: pointer; padding: 18px 34px 18px 0; font-weight: 850; }
.faq-list details p { margin: 0; padding: 0 0 18px; }
.source-list, .photo-list { padding: 20px 0 0; border-top: 1px solid var(--pmr-line); }
.source-list li, .photo-list li { font-size: .88rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { padding: 18px; border: 1px solid var(--pmr-line); border-radius: 5px; color: var(--pmr-ink); background: #fff; text-decoration: none; }
.related-card span { display: block; margin-bottom: 5px; color: var(--pmr-coral); font-size: .72rem; font-weight: 900; text-transform: uppercase; }

.site-footer { padding: 56px 0 0; color: #e8f0ec; background: #15231d; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 44px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 42px; }
.site-footer strong { color: #fff; }
.site-footer p { margin: 10px 0 0; color: #bfcfc7; font-size: .88rem; }
.site-footer a { color: #e8f0ec; }
.footer-links { display: grid; gap: 8px; margin-top: 10px; }
.affiliate-disclosure { padding: 18px max(20px, calc((100vw - 1180px) / 2)); border-top: 1px solid #30423a; color: #bfcfc7; background: #101a16; font-size: .78rem; line-height: 1.55; }

/* Bring older pages into the same quieter design without rewriting their useful content. */
.product-card, .article-card, .query-card, .video-card, .fact-card, .related-card, .side-card, .purchase-box, .video-frame { border-radius: 6px !important; box-shadow: none !important; }
.product-card:hover, .article-card:hover, .query-card:hover, .video-card:hover { box-shadow: var(--pmr-shadow) !important; }
.purchase-box { background: #fff8e9 !important; }
.announcement { display: none !important; }
.fresh-badge, .badge { border-radius: 3px !important; }

@media (max-width: 1040px) {
  .site-header { padding-inline: 20px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    position: absolute;
    top: 70px;
    right: 14px;
    left: 14px;
    width: auto;
    max-height: calc(100vh - 92px);
    overflow: auto;
    display: none;
    padding: 10px;
    border: 1px solid var(--pmr-line);
    border-radius: 5px;
    background: #fff;
    box-shadow: var(--pmr-shadow);
  }
  .site-nav.open { display: grid; grid-template-columns: repeat(2, 1fr); }
  .site-nav a { padding: 12px; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .toc { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
  .toc strong { grid-column: 1 / -1; }
  .topic-grid, .guide-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .brand em { display: none; }
  .site-nav.open { grid-template-columns: 1fr; max-height: calc(100vh - 92px); overflow: auto; }
  .home-hero { min-height: 580px; background-position: 52% 56%; }
  .home-hero::after, .guide-hero::after { background: linear-gradient(0deg, rgba(10,24,19,.94) 0%, rgba(10,24,19,.72) 68%, rgba(10,24,19,.28)); }
  .home-hero-copy { padding-bottom: 46px; }
  .home-hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .guide-hero { min-height: 540px; background-position: 58% center; }
  .guide-hero h1 { font-size: clamp(2.2rem, 11vw, 3.5rem); }
  .quick-strip-inner { grid-template-columns: 1fr 1fr; }
  .quick-strip a:nth-child(odd) { border-left: 1px solid var(--pmr-line); }
  .quick-strip a { border-bottom: 1px solid var(--pmr-line); }
  .section { padding: 54px 0; }
  .topic-grid, .guide-grid, .feature-grid, .record-grid, .species-grid, .related-grid, .editorial-promise { grid-template-columns: 1fr; }
  .figure-pair { grid-template-columns: 1fr; }
  .toc { grid-template-columns: 1fr; }
  .product-support-header { grid-template-columns: 1fr; }
  .product-support-header img { max-height: 230px; }
  .product-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-table, .cost-table { display: block; overflow-x: auto; white-space: normal; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 420px) {
  .product-gallery, .product-gallery.two { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
