:root {
  --ink: #172018;
  --muted: #596257;
  --paper: #f7f4ec;
  --white: #fffdf8;
  --line: #d9d2c4;
  --green: #245c3b;
  --red: #b5483b;
  --gold: #c98b2c;
  --blue: #2f5f8f;
  --shadow: 0 18px 45px rgba(31, 32, 28, 0.12);
}

* { 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: var(--paper);
  line-height: 1.5;
}
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(12px);
}
.brand {
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}
.nav { display: flex; align-items: center; gap: 16px; font-weight: 760; font-size: 0.94rem; }
.nav a { text-decoration: none; color: #2d352d; }
.nav a:hover { color: var(--green); }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--white); padding: 9px 12px; border-radius: 6px; font-weight: 800; color: var(--ink); }
.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(36, 92, 59, 0.10), transparent 40%),
    linear-gradient(20deg, rgba(201, 139, 44, 0.16), transparent 46%),
    var(--paper);
}
.hero-grid {
  min-height: min(780px, calc(100vh - 74px));
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 56px;
  align-items: center;
  padding: 72px 0;
}
.kicker {
  margin: 0 0 14px;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}
h1, h2, h3 { line-height: 1.04; margin: 0; letter-spacing: 0; }
h1 { max-width: 880px; font-size: clamp(3rem, 7vw, 6.7rem); }
h2 { font-size: clamp(2rem, 4.5vw, 4rem); }
h3 { font-size: 1.25rem; }
.lead { color: #394037; font-size: clamp(1.08rem, 2.1vw, 1.42rem); max-width: 760px; }
.hero-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-radius: 6px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 850;
}
.button.primary { background: var(--ink); color: var(--white); }
.button.secondary { background: transparent; }
.disclaimer { color: var(--muted); font-size: 0.95rem; margin-top: 20px; max-width: 620px; }
.decision-panel {
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  gap: 10px;
}
.decision-panel > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #f0eadf;
  border: 1px solid var(--line);
  min-height: 54px;
}
.decision-panel .panel-head {
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}
.decision-panel b { color: var(--ink); }
.decision-panel span:last-child { font-weight: 840; color: var(--green); }
.section { padding: 76px 0; }
.section.paper { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 850px; margin-bottom: 28px; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 1.08rem; }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(31, 32, 28, 0.06);
}
table { border-collapse: collapse; width: 100%; min-width: 760px; }
th, td { padding: 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--ink); color: var(--white); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; }
td small { color: var(--muted); }
.card-grid, .provider-grid, .link-grid, .source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card, .provider-card, .link-card, .source-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(31, 32, 28, 0.05);
}
.card span {
  display: block;
  width: 34px;
  height: 6px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--red));
  margin-bottom: 18px;
}
.card p, .provider-card p, .link-card span, .source-card span { color: var(--muted); }
.provider-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.provider-card .mini { color: var(--red); text-transform: uppercase; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; margin: 0 0 10px; }
.provider-card ul { margin: 16px 0; padding-left: 18px; color: #374037; }
.provider-card a, .link-card, .source-card {
  font-weight: 850;
  text-decoration: none;
}
.link-card, .source-card { display: flex; flex-direction: column; gap: 8px; }
.faq-list { display: grid; gap: 12px; }
details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}
summary { cursor: pointer; font-weight: 900; font-size: 1.05rem; }
details p { color: var(--muted); margin-bottom: 0; }
.footer {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 56px max(20px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: var(--white);
}
.footer a { display: block; color: #f5e8cc; text-decoration: none; margin: 8px 0; }
.footer p { color: #d8d2c4; }
.fineprint { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 20px; font-size: 0.9rem; }

@media (max-width: 940px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 20px;
    right: 20px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; min-height: auto; padding: 48px 0; }
  .card-grid, .provider-grid, .link-grid, .source-grid, .footer { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1180px); }
  h1 { font-size: clamp(2.55rem, 14vw, 4.2rem); }
  .site-header { padding-inline: 14px; }
  .decision-panel > div { grid-template-columns: 1fr; }
  table { min-width: 0; }
  thead { display: none; }
  tr, td { display: block; }
  tr { border-bottom: 1px solid var(--line); }
  td { border: 0; padding: 12px 16px; }
  td::before { content: attr(data-label); display: block; color: var(--green); font-weight: 900; font-size: 0.75rem; text-transform: uppercase; margin-bottom: 4px; }
}
