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

:root {
  --ink: #16211f;
  --ink-soft: #41514d;
  --muted: #687874;
  --line: #d9e2de;
  --paper: #f8fbf8;
  --panel: #ffffff;
  --leaf: #27715f;
  --leaf-dark: #184f43;
  --mint: #dff1e8;
  --clay: #b75638;
  --sun: #f0c46a;
  --sky: #dbeaf4;
  --shadow: 0 18px 60px rgba(22, 33, 31, 0.1);
  --radius: 8px;
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: var(--leaf-dark);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--clay);
}

p {
  margin: 0 0 1.05rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.45rem, 7vw, 5.6rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  margin-top: 3.2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.45rem;
}

ul,
ol {
  padding-left: 1.35rem;
  margin-top: 0.4rem;
  margin-bottom: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: #edf6f1;
  color: var(--leaf-dark);
  font-weight: 800;
}

td {
  background: rgba(255, 255, 255, 0.72);
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(22, 33, 31, 0.1);
  background: rgba(248, 251, 248, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: #fff;
  background: var(--leaf);
  font-size: 0.92rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1rem;
  font-size: 0.92rem;
  font-weight: 750;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--leaf);
}

.hero {
  background: linear-gradient(180deg, #edf6f1 0%, var(--paper) 100%);
}

.home-page {
  background:
    linear-gradient(180deg, #f4faf7 0%, #f8fbf8 34%, #eef6f8 68%, #f8fbf8 100%);
}

.home-page .hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(223, 241, 232, 0.92) 0%, rgba(219, 234, 244, 0.74) 54%, rgba(240, 196, 106, 0.28) 100%);
}

.home-page .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(39, 113, 95, 0.45), transparent);
}

.home-page .hero-inner {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.home-page h1 {
  max-width: 10.5ch;
}

.home-page .hero-media {
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 30px 90px rgba(22, 33, 31, 0.18);
  transform: rotate(1deg);
}

.home-page .hero-media img {
  filter: saturate(1.04) contrast(1.03);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  padding: 3.4rem 1rem 2rem;
}

.home-hero .hero-inner,
.pillar-hero .hero-inner {
  grid-template-columns: 1fr;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  color: var(--leaf-dark);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lede {
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.hero-media img {
  min-height: 280px;
  object-fit: cover;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--leaf-dark);
  border-radius: var(--radius);
  background: var(--leaf-dark);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--leaf-dark);
}

.button:hover {
  border-color: var(--clay);
  background: var(--clay);
  color: #fff;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.6rem 1rem;
}

.section.tight {
  padding-top: 1.25rem;
}

.section-heading {
  display: grid;
  gap: 0.7rem;
  max-width: 760px;
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  margin-top: 0;
}

.article-grid {
  display: grid;
  gap: 1.1rem;
}

.article-card,
.product-card,
.note-card,
.faq-item,
.method-card,
.source-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(22, 33, 31, 0.06);
}

.article-card {
  overflow: hidden;
  display: grid;
}

.home-page .article-grid {
  gap: 1.35rem;
}

.home-page .article-card {
  position: relative;
  min-height: 300px;
  border: 0;
  background: #10201c;
  box-shadow: 0 22px 55px rgba(22, 33, 31, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-page .article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(22, 33, 31, 0.2);
}

.home-page .article-card .article-card-link {
  position: relative;
  display: grid;
  min-height: 300px;
  height: 100%;
  color: #fff;
  text-decoration: none;
}

.home-page .article-card .article-card-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.home-page .article-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.home-page .article-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.1) contrast(1.05);
}

.home-page .article-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 32, 28, 0.04) 0%, rgba(16, 32, 28, 0.36) 45%, rgba(16, 32, 28, 0.88) 100%);
  pointer-events: none;
}

.article-card .card-body {
  display: grid;
  gap: 0.75rem;
  padding: 1.15rem;
}

.home-page .article-card .card-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  gap: 0.65rem;
  padding: 1.15rem;
}

.article-card h2,
.article-card h3 {
  margin: 0;
  font-size: 1.55rem;
}

.home-page .article-card h2,
.home-page .article-card h3 {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.article-card p {
  color: var(--ink-soft);
  margin: 0;
}

.home-page .article-card p,
.home-page .article-card .tag-row {
  display: none;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--leaf-dark);
  font-size: 0.76rem;
  font-weight: 850;
}

.article-shell {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  padding: 2rem 1rem 3.5rem;
}

.article-layout {
  display: grid;
  gap: 2rem;
}

.content {
  min-width: 0;
}

.content > :first-child {
  margin-top: 0;
}

.content img {
  margin: 1.1rem 0 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.toc {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1rem;
}

.toc strong {
  display: block;
  margin-bottom: 0.5rem;
}

.toc a {
  display: block;
  padding: 0.3rem 0;
  color: var(--ink-soft);
  text-decoration: none;
}

.toc a:hover {
  color: var(--leaf);
}

.summary-panel {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem;
  border-left: 6px solid var(--leaf);
  border-radius: var(--radius);
  background: #edf6f1;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(22, 33, 31, 0.06);
}

.comparison-wrap table {
  min-width: 850px;
}

.product-card {
  display: grid;
  gap: 1rem;
  margin: 1.6rem 0;
  overflow: hidden;
}

.product-card > img {
  background: linear-gradient(180deg, #f6f8f5 0%, #ffffff 100%);
  object-fit: contain;
  object-position: center;
}

.product-card .product-body {
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem;
}

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

.rating {
  display: inline-flex;
  width: fit-content;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid #ead59c;
  border-radius: var(--radius);
  background: #fff7e6;
  color: #5a4520;
  font-size: 0.95rem;
}

.rating .stars {
  color: #d28a00;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.rating strong {
  color: var(--ink);
}

.shopping-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.amazon-button {
  width: fit-content;
  border-color: #c26a00;
  background: #f3a51d;
  color: #1f1400;
}

.amazon-button:hover {
  border-color: #184f43;
  background: #184f43;
  color: #fff;
}

.shopping-note {
  padding: 0.85rem 1rem;
  border: 1px solid #ead59c;
  border-radius: var(--radius);
  background: #fff7e6;
  color: #5a4520;
  font-size: 0.95rem;
}

.top-picks {
  overflow: hidden;
  margin: 1.6rem 0 2.2rem;
  border: 1px solid #0c1020;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 50px rgba(22, 33, 31, 0.11);
}

.top-picks-header {
  padding: 1rem;
  background: #080b1a;
  color: #fff;
}

.top-picks-header h2 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0;
}

.top-picks-header span {
  display: inline-block;
  padding: 0.08rem 0.35rem;
  background: #d33b37;
  color: #fff;
  text-transform: uppercase;
}

.pick-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid #a6adb7;
}

.pick-row:first-of-type {
  border-top: 0;
}

.pick-image {
  display: grid;
  align-items: center;
}

.pick-image img {
  margin: 0;
  min-height: 90px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.pick-copy {
  display: grid;
  gap: 0.35rem;
}

.pick-award {
  color: #d33b37;
  font-size: 0.85rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.pick-copy h3 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.18;
}

.pick-stars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  color: #d33b37;
  font-size: 1rem;
  line-height: 1;
}

.pick-stars strong {
  color: #333844;
  font-size: 0.9rem;
}

.pick-copy p {
  margin: 0;
  color: #424853;
  font-size: 0.95rem;
  line-height: 1.35;
}

.read-more {
  width: fit-content;
  color: #1b1f2d;
  font-weight: 900;
  text-decoration: none;
}

.read-more::after {
  content: " ▾";
  font-size: 0.86em;
}

.pick-actions {
  display: grid;
  grid-column: 2;
  gap: 0.45rem;
  align-content: start;
}

.pick-price {
  display: block;
  color: #1b1f2d;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.15;
  text-align: left;
}

.pick-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.7rem 0.9rem;
  border-radius: 5px;
  background: #d33b37;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.pick-buy:hover {
  background: #8d1713;
  color: #fff;
}

.price-note {
  margin: 0;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid #a6adb7;
  color: #5e6673;
  font-size: 0.82rem;
  line-height: 1.4;
}

.metric {
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfb;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  font-size: 1rem;
}

.verdict {
  padding: 0.95rem;
  border-radius: var(--radius);
  background: #fff7e6;
  border: 1px solid #ead59c;
}

.pros-cons {
  display: grid;
  gap: 1rem;
}

.pros-cons > div {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.note-grid,
.method-grid,
.source-grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 1.4rem;
}

.note-card,
.method-card,
.source-card {
  padding: 1rem;
}

.note-card h3,
.method-card h3,
.source-card h3 {
  margin-top: 0;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.faq-item {
  padding: 1rem;
}

.faq-item h3 {
  margin-top: 0;
}

.callout-band {
  margin: 2rem 0;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--leaf-dark);
  color: #fff;
}

.callout-band h2,
.callout-band h3 {
  color: #fff;
  margin-top: 0;
}

.callout-band a {
  color: #fff;
  font-weight: 850;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #10201c;
  color: #d8e5df;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
  padding: 2.4rem 1rem;
}

.footer-inner a {
  color: #ffffff;
}

.footer-lede {
  max-width: 48rem;
  color: #d8e5df;
}

.footer-grid {
  display: grid;
  gap: 1.3rem;
}

.footer-column {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-column h2,
.footer-column h3 {
  margin: 0 0 0.25rem;
  color: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  color: #d8e5df;
  font-size: 0.94rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(216, 229, 223, 0.16);
}

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

.site-footer .small {
  color: #adc0ba;
}

@media (min-width: 680px) {
  .hero-inner {
    padding: 4.4rem 1.25rem 2.5rem;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-picks-header {
    padding: 1rem 1.2rem;
  }

  .pick-row {
    grid-template-columns: 150px minmax(0, 1fr) 166px;
    align-items: start;
    padding: 1rem 1.2rem;
  }

  .pick-image img {
    min-height: 130px;
  }

  .pick-actions {
    grid-column: auto;
    justify-content: stretch;
  }

  .pick-price {
    text-align: center;
  }

  .pick-buy {
    width: 100%;
  }

  .product-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pros-cons,
  .note-grid,
  .method-grid,
  .source-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .home-hero .hero-inner,
  .pillar-hero .hero-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.72fr);
    align-items: center;
  }

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

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .toc {
    position: sticky;
    top: 5.4rem;
  }

  .product-card {
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
    align-items: start;
    overflow: visible;
  }

  .product-card > img {
    position: sticky;
    top: 5.4rem;
    align-self: start;
    height: auto;
    max-height: calc(100vh - 7rem);
    min-height: 0;
    object-fit: contain;
    object-position: center;
    padding: 1rem;
    margin: 0;
    border-right: 1px solid var(--line);
    border-radius: var(--radius) 0 0 var(--radius);
    box-shadow: none;
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media print {
  .site-header,
  .toc,
  .site-footer,
  .cta-row {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .article-shell,
  .section {
    max-width: none;
    padding: 0;
  }
}
