:root {
  color-scheme: light;
  --bg: #f5f5f1;
  --ink: #1e2421;
  --muted: #66736b;
  --line: #d7ded8;
  --paper: #fffef9;
  --accent: #166a55;
  --warm: #b76a2b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 54px;
  padding: 8px 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--accent);
}

.hero {
  padding: 42px 28px 34px;
  background: #f8faf7;
  border-bottom: 1px solid var(--line);
}

.hero.compact {
  min-height: 220px;
}

.hero-inner,
.section,
.product-page {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 32px;
  align-items: center;
}

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

.hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.hero-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.hero-preview-card {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.hero-preview-card:nth-child(2) {
  transform: translateY(18px);
}

.hero-preview-card:nth-child(3) {
  transform: translateY(36px);
}

.hero-preview-card img,
.hero-preview-card span {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: #e8ede9;
}

.hero-preview-card span {
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--accent);
  font-weight: 800;
  text-align: center;
}

.hero-preview-card strong {
  padding: 0 10px 12px;
  font-size: 13px;
  line-height: 1.15;
}

.eyebrow {
  margin: 0;
  color: var(--warm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section {
  padding: 30px 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: 28px;
}

.section-head p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
}

.category-grid,
.product-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.category-tile,
.product-card,
.guide-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.hub-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 18px;
}

.hub-card h3 {
  margin: 0 0 14px;
}

.editorial-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.editorial-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent);
  font-weight: 800;
  background: #fff;
}

.guide-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 230px;
  padding: 18px;
}

.guide-image {
  display: block;
  margin: -18px -18px 4px;
}

.guide-image img,
.guide-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  background: #e8ede9;
}

.guide-card h3,
.guide-card p {
  margin: 0;
}

.guide-card h3 {
  font-size: 19px;
  line-height: 1.18;
}

.guide-card p {
  color: var(--muted);
  line-height: 1.5;
}

.text-link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 800;
}

.category-tile {
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
}

.category-tile img,
.product-image img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  background: #e8ede9;
}

.guide-tile img {
  aspect-ratio: 5 / 3;
}

.category-tile span,
.guide-tile span,
.product-image span,
.media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 2 / 3;
  padding: 20px;
  background: #dfe8e2;
  color: var(--accent);
  font-weight: 800;
  text-align: center;
}

.guide-tile span {
  aspect-ratio: 5 / 3;
}

.category-tile strong,
.category-tile small {
  padding: 0 14px;
}

.category-tile small,
.product-copy p,
.meta-row,
.fine-print,
.disclosure {
  color: var(--muted);
}

.product-copy {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.product-copy h3 {
  margin: 0;
  font-size: 17px;
}

.product-copy p {
  margin: 0;
  line-height: 1.45;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.product-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: 32px;
  padding: 34px 24px 56px;
}

.guide-page {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 34px 24px 20px;
}

.guide-hero {
  max-width: 860px;
  padding: 30px 0;
}

.guide-hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
}

.guide-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.guide-cover {
  max-width: 420px;
  margin-bottom: 24px;
}

.guide-cover img {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-content,
.guide-aside {
  display: grid;
  gap: 16px;
}

.guide-section,
.guide-aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 20px;
}

.guide-section h2,
.guide-aside h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.guide-section p,
.guide-section li,
.guide-aside p {
  color: var(--muted);
  line-height: 1.65;
}

.guide-section ul {
  margin: 0;
  padding-left: 20px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  background: #f8faf7;
  font-size: 13px;
  font-weight: 700;
}

.comparison-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.comparison-table th,
.comparison-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--muted);
  font-size: 13px;
}

.disclosure-box {
  background: #f8faf7;
}

.product-media img,
.media-placeholder {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.product-detail {
  display: grid;
  align-content: start;
  gap: 18px;
}

.product-detail h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.product-detail p,
.product-detail li {
  color: var(--muted);
  line-height: 1.65;
}

.product-detail ul {
  margin: 0;
  padding-left: 20px;
}

.buy-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 800;
}

.buy-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
}

.site-footer {
  padding: 24px 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.site-footer p {
  max-width: 1120px;
  margin: 0 auto;
}

@media (max-width: 760px) {
  .section-head,
  .buy-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 12px;
    padding: 8px 16px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .hero {
    padding: 28px 20px 26px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

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

  .hero-preview-card:nth-child(2),
  .hero-preview-card:nth-child(3) {
    transform: none;
  }

  .product-page {
    grid-template-columns: 1fr;
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }
}
