:root {
  --ink: #1d252c;
  --muted: #5f6b73;
  --line: #d7dde2;
  --paper: #ffffff;
  --soft: #f7f8f5;
  --navy: #243447;
  --teal: #22665f;
  --amber: #d99a28;
  --mint: #eef6ef;
  --clay: #8f4f36;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0, #fff 46%, #faf8f2 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 8px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
}

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

.mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
}

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

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

nav a[aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}

nav a:hover,
.card a:hover,
.row-card a:hover,
.sources a:hover {
  color: var(--teal);
}

.notice {
  margin: 0;
  padding: 9px 24px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: 42px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 24px 44px;
}

.hero.compact {
  display: block;
  max-width: 940px;
  padding-bottom: 28px;
}

.eyebrow,
.tag,
.meta {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.meta {
  color: var(--muted);
  text-transform: none;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  font-size: 19px;
  line-height: 1.2;
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.primary {
  background: var(--navy);
  color: #fff;
}

.secondary {
  background: #fff;
  color: var(--navy);
}

.hero-card,
.box,
.panel,
.tool-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(36, 52, 71, 0.04);
}

.hero-card {
  background: var(--mint);
}

.section,
.guide {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

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

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

.card p,
.row-card p,
.copy-block p,
.panel p,
.footer p {
  color: var(--muted);
}

.row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--mint);
  border-top: 1px solid #cfe2da;
  border-bottom: 1px solid #cfe2da;
  max-width: none;
  padding-left: calc((100vw - 1180px) / 2 + 24px);
  padding-right: calc((100vw - 1180px) / 2 + 24px);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.trust-strip div {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 22px;
  background: #fff;
}

.trust-strip span {
  color: var(--muted);
}

.crumbs {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  margin: 24px 0;
}

.copy-block {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-bottom: 22px;
}

.checklist,
.affiliate-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li,
.affiliate-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.checklist li::before {
  content: "";
  width: 9px;
  height: 15px;
  border-right: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(38deg);
  margin: 1px 8px 0 0;
  flex: 0 0 auto;
}

.checklist li {
  justify-content: flex-start;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.pill-list li {
  border: 1px solid #cdd8d4;
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.research-card {
  background: #fbfcf8;
}

.sources ul {
  margin: 0;
  padding-left: 20px;
}

.sources li + li {
  margin-top: 10px;
}

.sources a {
  color: var(--teal);
  font-weight: 800;
}

.affiliate-list a {
  flex: 0 0 auto;
  color: var(--navy);
  font-weight: 800;
}

.disclosure {
  border-left: 4px solid var(--amber);
  padding-left: 12px;
}

.tool-panel {
  max-width: 900px;
  margin: 0 auto 32px;
}

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  font: inherit;
}

.result {
  background: var(--soft);
  border-radius: 8px;
  padding: 18px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding: 28px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer div {
  max-width: 620px;
}

@media (max-width: 820px) {
  .bar,
  .footer,
  .row-card,
  .band {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .split,
  .card-grid,
  .trust-strip,
  form {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 36px;
  }

  .affiliate-list li {
    flex-direction: column;
  }
}