:root {
  color-scheme: light;
  --ink: #20231f;
  --muted: #62685f;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dedbd2;
  --sage: #7d947c;
  --sage-dark: #40543f;
  --coral: #d87558;
  --amber: #efb857;
  --blue: #466a86;
  --shadow: 0 18px 45px rgba(54, 45, 35, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(32, 35, 31, 0.08);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 20px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--sage-dark), var(--coral));
  font-size: 17px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
}

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

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-size: 22px;
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1f251d;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 24, 20, 0.78), rgba(20, 24, 20, 0.38) 48%, rgba(20, 24, 20, 0.08));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 76px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: #f2d8bd;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
}

h1 {
  margin: 0;
  max-width: 770px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.button.light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.button.amazon {
  background: #232f3e;
  color: #fff;
}

.button:hover {
  transform: translateY(-1px);
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 66px 20px;
}

.section.compact {
  padding-top: 38px;
}

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

.section-title h2,
.page-title h1 {
  margin: 0;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.04;
}

.section-title p,
.page-title p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
}

.band {
  background: #f0eee7;
  border-block: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(54, 45, 35, 0.06);
}

.kit-card {
  min-height: 280px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.kit-card h3 {
  margin: 12px 0 8px;
  font-size: 23px;
  line-height: 1.1;
}

.kit-card p {
  margin: 0;
  color: var(--muted);
}

.kit-card .link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--sage-dark);
  border-radius: 8px;
  background: var(--sage-dark);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.kit-card .link:hover {
  background: var(--ink);
  border-color: var(--ink);
}

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

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf1e9;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 800;
}

.pill.warning {
  background: #fff0e8;
  color: #8b3d28;
}

.pill.blue {
  background: #e9f0f5;
  color: #315773;
}

.finder {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: stretch;
}

.finder-panel {
  padding: 26px;
}

.finder-panel h2 {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.04;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}

.choice strong {
  display: block;
  font-size: 15px;
}

.choice span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.choice.active {
  border-color: var(--sage-dark);
  box-shadow: 0 0 0 3px rgba(125, 148, 124, 0.22);
}

.result-box {
  padding: 24px;
  min-height: 100%;
  background: #20231f;
  color: #fff;
}

.result-box p {
  color: rgba(255, 255, 255, 0.76);
}

.scoreboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.score {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.score span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.score strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.page-hero {
  background: #f0eee7;
  border-bottom: 1px solid var(--line);
}

.page-title {
  max-width: 1160px;
  margin: 0 auto;
  padding: 58px 20px 38px;
}

.kit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
}

.content-block {
  margin-bottom: 28px;
}

.content-block h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

.content-block h3 {
  margin: 20px 0 8px;
}

.content-block p {
  color: var(--muted);
}

.content-block ul,
.content-block ol {
  color: var(--muted);
}

.product-list {
  display: grid;
  gap: 12px;
}

.product {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.product h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.product p {
  margin: 0 0 14px;
}

.product-media {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.product-media img.is-missing {
  display: none;
}

.image-fallback {
  padding: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
}

.article-shell .content-block {
  margin-bottom: 34px;
}

.quick-nav {
  padding: 18px;
}

.quick-nav a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
}

.quick-nav a:hover {
  color: var(--ink);
}

.kit-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.kit-table th {
  background: #f0eee7;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.kit-table tr:last-child td {
  border-bottom: 0;
}

.callout {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.callout.warning {
  border-color: #f1c9b7;
  background: #fff7f2;
}

.callout h2,
.callout h3 {
  margin-top: 0;
}

.amazon-widget {
  padding: 18px;
  overflow: hidden;
}

.amazon-widget-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.amazon-widget-header strong {
  color: var(--ink);
}

.product h3 span {
  color: var(--muted);
  font-weight: 600;
}

.internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.internal-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration: none;
}

.sidebar {
  position: sticky;
  top: 86px;
  align-self: start;
  padding: 20px;
}

.sidebar h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.sidebar ul {
  padding-left: 19px;
  color: var(--muted);
}

.disclosure {
  padding: 14px 16px;
  border-left: 4px solid var(--amber);
  background: #fff7e6;
  color: #59411a;
  border-radius: 0 8px 8px 0;
}

.empty-state,
.roadmap-list {
  padding: 24px;
}

.empty-state h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.roadmap-list ul {
  columns: 2;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.footer {
  background: #20231f;
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  color: #fff;
}

@media (max-width: 860px) {
  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 64px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    min-height: 620px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(20, 24, 20, 0.45), rgba(20, 24, 20, 0.86));
  }

  .grid.three,
  .grid.two,
  .finder,
  .kit-layout,
  .scoreboard,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .roadmap-list ul {
    columns: 1;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 520px) {
  .nav {
    padding-inline: 14px;
  }

  .hero-inner,
  .section,
  .page-title {
    width: auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-inner {
    padding-bottom: 48px;
  }

  h1 {
    font-size: 42px;
  }

  .section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

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

  .product-media {
    max-width: 180px;
  }
}
