:root {
  --ink: #1b1b18;
  --muted: #626055;
  --paper: #fffaf1;
  --panel: #fffdf8;
  --clay: #9a5a37;
  --clay-dark: #6f3d25;
  --sage: #6f7f52;
  --sage-soft: #eef3df;
  --gold: #f0c36b;
  --line: #e8dcc8;
  --shadow: 0 24px 60px rgba(82, 54, 27, 0.14);
  --radius: 24px;
}

* { box-sizing: border-box; }
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:
    radial-gradient(circle at 10% 0%, rgba(240, 195, 107, 0.25), transparent 28rem),
    radial-gradient(circle at 80% 5%, rgba(111, 127, 82, 0.18), transparent 24rem),
    var(--paper);
  line-height: 1.6;
}

a { color: var(--clay-dark); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--sage); }

.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(255, 250, 241, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--clay);
  color: white;
  box-shadow: 0 8px 20px rgba(154, 90, 55, 0.28);
}

.nav-links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
}
.nav-links a:hover { color: var(--ink); }

.hero { padding: 72px 0 42px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 38px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  color: var(--clay-dark);
  font-weight: 800;
  font-size: 0.86rem;
}

h1, h2, h3 { line-height: 1.05; letter-spacing: -0.04em; margin: 0 0 16px; }
h1 { font-size: clamp(2.8rem, 8vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.42rem; }
h4 { margin: 0 0 8px; }
.lede { font-size: clamp(1.08rem, 2vw, 1.35rem); color: var(--muted); max-width: 68ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.button:hover { transform: translateY(-2px); }
.primary { color: white; background: var(--clay); box-shadow: 0 12px 30px rgba(154, 90, 55, 0.24); }
.primary:hover { color: white; background: var(--clay-dark); }
.secondary { color: var(--ink); background: white; border-color: var(--line); }
.secondary:hover { color: var(--ink); box-shadow: 0 12px 30px rgba(82, 54, 27, 0.1); }

.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,0.92), rgba(238,243,223,0.78));
  padding: 28px;
  box-shadow: var(--shadow);
}
.mess-meter { display: grid; gap: 14px; margin-top: 20px; }
.meter-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; color: var(--muted); font-weight: 800; }
.bar { height: 12px; border-radius: 999px; background: #eadcc4; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sage), var(--gold)); }

.notice {
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff3d2;
  border: 1px solid #f5d58b;
  color: #6b4a10;
  font-size: 0.95rem;
}

.section { padding: 54px 0; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.section-title p { color: var(--muted); max-width: 64ch; margin: 0; }

.grid { display: grid; gap: 18px; }
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-link {
  display: block;
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.62);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(82, 54, 27, 0.08);
}
.card-link:hover { transform: translateY(-3px); color: var(--ink); box-shadow: var(--shadow); }
.card-link .emoji { font-size: 2rem; display: block; margin-bottom: 18px; }
.card-link p { color: var(--muted); margin: 0; }

.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card, .content-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 40px rgba(82, 54, 27, 0.08);
}
.product-topline { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; }
.pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: #465335;
  font-weight: 900;
  font-size: 0.78rem;
}
.asin { color: var(--muted); font-size: 0.82rem; font-weight: 800; }
.best-for { color: var(--clay-dark); }
.why { color: #40382f; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tight ul { padding-left: 18px; margin: 0; color: var(--muted); }
.product-card .button { margin-top: 18px; }
.micro { font-size: 0.82rem; color: var(--muted); }

.callout {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}
.callout p { color: rgba(255,255,255,0.78); }
.callout a { color: #ffe2a1; }

.article-hero { padding: 58px 0 24px; }
.article-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.article-layout { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr); gap: 28px; align-items: start; }
.sidebar { position: sticky; top: 92px; }
.sidebar .content-card { font-size: 0.95rem; }
.sidebar ul { padding-left: 18px; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
table { width: 100%; border-collapse: collapse; min-width: 740px; }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f7ecd9; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
tr:last-child td { border-bottom: 0; }

.checklist { display: grid; gap: 10px; margin-top: 16px; }
.checkitem { padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.75); }

.footer { padding: 38px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }

@media (max-width: 860px) {
  .hero-grid, .article-layout, .two-col { grid-template-columns: 1fr; }
  .category-grid, .product-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .nav { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
