:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #5b665f;
  --line: #d9dfd7;
  --paper: #fbfcf8;
  --white: #ffffff;
  --green: #1f6f4a;
  --yellow: #f2c94c;
  --blue: #2864a6;
  --soft: #eef4ed;
  --shadow: 0 14px 35px rgba(23, 33, 27, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: var(--green);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  font-weight: 800;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

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

nav a {
  color: var(--ink);
  text-decoration: none;
}

main {
  padding: 34px 0 48px;
}

section {
  margin: 0 0 34px;
}

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

.home-hero {
  min-height: 360px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2 {
  line-height: 1.12;
  margin: 0 0 14px;
}

h1 {
  font-size: 44px;
  max-width: 800px;
}

h2 {
  font-size: 25px;
}

p {
  margin: 0 0 14px;
}

.answer {
  font-size: 21px;
  max-width: 760px;
}

.quick-box,
.result-card,
.shop-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-box {
  padding: 20px;
}

.home-help p {
  color: var(--muted);
  margin-top: 8px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.quick-links a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--soft);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

dl {
  margin: 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

dl div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.search-box {
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin-top: 22px;
}

input,
button {
  font: inherit;
  border-radius: 8px;
}

input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 13px 14px;
  background: var(--white);
}

button {
  border: 0;
  background: var(--green);
  color: var(--white);
  padding: 13px 18px;
  font-weight: 700;
}

.content-band {
  padding: 24px;
  background: var(--soft);
  border-radius: 8px;
}

.steps,
.checks {
  padding-left: 22px;
}

.steps li,
.checks li {
  margin: 9px 0;
}

.card-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.result-card a,
.link-grid a {
  display: block;
  min-height: 100%;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
}

.result-card span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.result-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.result-card small {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.link-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.shop-note {
  padding: 22px;
  border-left: 6px solid var(--yellow);
}

.affiliate-ready {
  display: grid;
  gap: 14px;
}

.affiliate-ready .eyebrow {
  margin-bottom: -4px;
}

.affiliate-disclosure {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

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

.product-option {
  display: grid;
  gap: 8px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 14px;
}

.product-option small {
  color: var(--muted);
}

.buy-link {
  display: inline-flex;
  justify-content: center;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  padding: 10px 12px;
  text-decoration: none;
  font-weight: 700;
}

.buy-link.pending {
  background: var(--soft);
  color: var(--muted);
}

.page-title {
  padding: 30px 0 12px;
}

.page-title p,
.prose {
  max-width: 760px;
}

.search-page {
  margin-bottom: 20px;
}

.search-page-box {
  margin-top: 18px;
}

.search-status {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  margin-right: 14px;
}

@media (max-width: 780px) {
  .site-header,
  .hero,
  .search-box {
    display: block;
  }

  nav {
    margin-top: 16px;
  }

  h1 {
    font-size: 34px;
  }

  .answer {
    font-size: 18px;
  }

  .quick-box {
    margin-top: 22px;
  }

  .search-box input,
  .search-box button {
    width: 100%;
    margin-top: 10px;
  }

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