:root {
  --color-bg: #fafaf8;
  --color-bg-alt: #f0f2ee;
  --color-text: #1c2321;
  --color-text-muted: #5c655f;
  --color-primary: #1f6f54;
  --color-primary-dark: #17523e;
  --color-accent: #d97a3d;
  --color-border: #e2e5e0;
  --color-card: #ffffff;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --radius: 10px;
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 17px;
}

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

a {
  color: var(--color-primary);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-card);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--color-text);
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--color-primary);
}

/* Hero */

.hero {
  padding: 56px 0 40px;
  text-align: center;
}

.hero h1 {
  font-size: 2.1rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero p.lede {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 1.5em;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--color-primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Cards */

.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

/* Product grid, 3 per row */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}

@media (max-width: 800px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  display: block;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.product-card .thumb {
  aspect-ratio: 1 / 1;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-card .thumb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-card .thumb .placeholder {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-text-muted);
}

.product-card .info {
  padding: 14px 16px;
}

.product-card h3 {
  font-size: 1rem;
  margin: 0 0 4px;
}

.product-card .status {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Badges */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.badge {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

/* Checklist */

.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.checklist li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* Rating */

.rating {
  color: var(--color-accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* Comparison table */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  overflow-x: auto;
  display: block;
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--color-border);
  padding: 12px 14px;
  text-align: left;
  font-size: 0.95rem;
}

.compare-table th {
  background: var(--color-bg-alt);
}

/* Section */

.section {
  padding: 40px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
  margin-top: 40px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-note {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
