
:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #172026;
  --muted: #5e6a72;
  --line: #d9e0e5;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --warn: #8a4b08;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--accent-dark);
}

.site-header,
.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

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

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px 56px;
}

.hero,
.article-header,
.disclosure-banner,
.guide-card,
.product-card,
.table-wrap,
.split > div,
.narrow {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 24px;
  padding: 34px;
}

.hero h1,
.article h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.lede {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-panel {
  border-left: 4px solid var(--accent);
  padding-left: 22px;
}

.metric {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

.metric-label,
.card-meta,
.product-meta,
.article-meta,
.note {
  color: var(--muted);
  font-size: 0.95rem;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.disclosure-banner {
  margin: 18px 0;
  padding: 14px 16px;
  color: #4e3420;
  background: #fff7ed;
  border-color: #fed7aa;
}

.guide-grid,
.product-grid,
.split {
  display: grid;
  gap: 16px;
}

.guide-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.guide-card {
  padding: 20px;
}

.guide-card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.guide-card h2 a {
  color: var(--text);
  text-decoration: none;
}

.article {
  display: grid;
  gap: 22px;
}

.article-header,
.article section {
  padding: 24px;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.rank {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  width: 36px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #fff;
  background: var(--accent-dark);
  font-weight: 800;
}

.product-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f0f3f5;
  border-radius: 6px;
  overflow: hidden;
}

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

.image-placeholder {
  color: var(--muted);
  font-weight: 700;
}

.product-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

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

th {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.split {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.compact-list {
  margin: 0;
  padding-left: 18px;
}

.faq h3 {
  margin-bottom: 4px;
}

.faq p {
  margin-top: 0;
}

.narrow {
  max-width: 780px;
  padding: 28px;
}

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

@media (max-width: 760px) {
  .site-header,
  .hero {
    align-items: flex-start;
  }

  .site-header,
  .hero {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
  }

  .hero,
  .article-header,
  .article section {
    padding: 20px;
  }

  .hero h1,
  .article h1 {
    font-size: 2.25rem;
  }
}
