:root {
  --ink: #16202a;
  --muted: #59636f;
  --line: #d9e0e5;
  --paper: #ffffff;
  --wash: #f4f6f3;
  --sage: #2f5f53;
  --clay: #9e4b35;
  --gold: #b58b43;
  --blue: #204c73;
  --shadow: 0 18px 40px rgba(22, 32, 42, 0.08);
  color-scheme: light;
}

* {
  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.55;
}

a {
  color: var(--blue);
}

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

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

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 760;
  min-width: 0;
}

.brand img {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
  line-height: 1.05;
}

.brand-name {
  font-weight: 820;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-kicker {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 680;
  white-space: nowrap;
}

.brand span {
  overflow-wrap: normal;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.text-link {
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  border-bottom-color: var(--ink);
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
  text-align: center;
}

.button {
  background: var(--sage);
  color: #fff;
  border: 1px solid var(--sage);
}

.button:hover {
  background: #264d43;
  border-color: #264d43;
}

.button-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button-secondary:hover {
  border-color: var(--ink);
}

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

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

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 42px;
  padding: 68px 0 56px;
  align-items: center;
}

.eyebrow {
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 790;
  text-transform: uppercase;
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 4.25rem);
  max-width: 940px;
}

h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.35rem);
}

h3 {
  font-size: 1.12rem;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  color: var(--muted);
  max-width: 760px;
  margin: 20px 0 0;
}

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

.trust-line {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 18px;
}

.decision-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.panel-title {
  font-weight: 800;
  margin: 0 0 14px;
}

.decision-grid {
  display: grid;
  gap: 10px;
}

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

.decision-item strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.decision-item span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: #f7f9fb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 38px;
  align-items: start;
}

.answer-box {
  border-left: 5px solid var(--sage);
  background: #eef5f1;
  padding: 20px;
  border-radius: 8px;
}

.answer-box p {
  margin: 0;
  font-size: 1.04rem;
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

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

.card p,
.source-list p {
  color: var(--muted);
  margin: 8px 0 0;
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  padding-left: 30px;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

.comparison {
  overflow-x: auto;
  margin-top: 20px;
}

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

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

th {
  background: #edf2ef;
  font-size: 0.94rem;
}

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

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

.advisor img {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

summary {
  cursor: pointer;
  font-weight: 780;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 54px 0;
}

.cta-band .lead,
.cta-band .trust-line {
  color: rgba(255, 255, 255, 0.76);
}

.cta-band .button-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: #fff;
}

.footer-inner {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.not-found {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding: 32px;
  width: min(760px, 100%);
}

@media (max-width: 860px) {
  .hero-inner,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 46px 0 40px;
  }

  .card-grid,
  .split-list {
    grid-template-columns: 1fr;
  }

  .nav {
    min-height: auto;
    padding: 12px 0;
    align-items: center;
  }

  .brand span {
    line-height: 1.15;
  }

  .brand-copy {
    max-width: 136px;
  }

  .brand-name {
    font-size: 0.93rem;
  }

  .brand-kicker {
    font-size: 0.72rem;
  }

  .nav-actions .text-link {
    display: none;
  }
}

@media (max-width: 560px) {
  .nav {
    width: min(100% - 24px, 1120px);
    gap: 12px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-copy {
    display: none;
  }

  .nav-actions {
    flex: 1 1 auto;
    width: auto;
    justify-content: flex-end;
  }

  .nav-actions .button-secondary {
    width: auto;
    min-height: 48px;
    padding: 12px 16px;
    white-space: nowrap;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button,
  .hero-actions .button-secondary {
    width: 100%;
  }

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