:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #5e6b78;
  --soft: #eef3f6;
  --line: #d7e1e7;
  --panel: #ffffff;
  --navy: #14213d;
  --teal: #087e8b;
  --teal-dark: #06626c;
  --amber: #f4a261;
  --green: #2f855a;
  --red: #b42318;
  --shadow: 0 18px 50px rgba(16, 24, 32, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

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

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

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

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: grid;
  place-items: center;
  color: white;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
}

.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--teal-dark); }

.button,
.sticky-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--teal);
  color: white;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(8, 126, 139, .22);
}

.button.secondary {
  background: white;
  color: var(--navy);
  border-color: var(--line);
  box-shadow: none;
}

.button:hover,
.sticky-cta:hover { background: var(--teal-dark); color: white; }

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  background: var(--navy);
  color: white;
  overflow: visible;
  padding-bottom: 40px;
}

.hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: 34px;
  align-items: center;
  padding: 58px 0 32px;
}

.eyebrow {
  color: var(--amber);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0 0 14px;
}

h1 { font-size: clamp(36px, 5vw, 68px); max-width: 720px; }
h2 { font-size: clamp(26px, 3vw, 40px); }
h3 { font-size: 21px; }

p { margin: 0 0 16px; }

.hero p { color: #d8e7ed; font-size: 18px; max-width: 660px; }

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

.hero-media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
}

.hero-media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.hero-media figcaption {
  padding: 10px 12px;
  font-size: 13px;
  color: #dce8ee;
  background: rgba(0,0,0,.28);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trust-row div {
  background: white;
  padding: 18px;
}

.trust-row strong {
  display: block;
  font-size: 20px;
  color: var(--navy);
}

.trust-row span {
  color: var(--muted);
  font-size: 14px;
}

main section {
  padding: 72px 0;
}

main section:first-child {
  padding-top: 68px;
}

.section-alt { background: white; border-block: 1px solid var(--line); }

.intro {
  max-width: 780px;
  margin-bottom: 28px;
}

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

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(16, 24, 32, .04);
}

.card h3 a { color: var(--navy); text-decoration: none; }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--teal-dark);
  background: #e3f5f6;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.warning {
  border-left: 4px solid var(--amber);
  background: #fff8ef;
  padding: 18px 20px;
  border-radius: 8px;
}

.risk {
  border-left-color: var(--red);
  background: #fff5f4;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 15px;
}

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

th {
  color: var(--navy);
  background: #eef5f7;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

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

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

.checklist li { margin: 8px 0; }

.comparison-note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}

.cta-band {
  color: white;
  background: linear-gradient(135deg, var(--navy), #0b4950);
  border-radius: 8px;
  padding: 34px;
}

.cta-band p { color: #dbe9ee; max-width: 760px; }

.faq details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

.faq details + details { margin-top: 12px; }

.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
}

.sources {
  font-size: 14px;
  color: var(--muted);
}

.sources li { margin: 8px 0; }

.keyword-cloud,
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-pill,
.related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.related-links a {
  background: rgba(255,255,255,.12);
  color: white;
  border-color: rgba(255,255,255,.24);
}

.related-links a:hover {
  background: white;
  color: var(--navy);
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
}

.footer {
  background: #0d1724;
  color: #dce7ed;
  padding: 44px 0 76px;
}

.footer a { color: white; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 28px;
}

.small { font-size: 14px; color: var(--muted); }
.footer .small { color: #adbbc6; }

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
  .nav-links { justify-content: flex-start; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 42px; }
  .trust-row { grid-template-columns: repeat(2, 1fr); transform: none; margin-top: 24px; }
  .grid.two, .grid.three, .grid.four, .footer-grid { grid-template-columns: 1fr; }
  main section { padding: 54px 0; }
}

@media (max-width: 560px) {
  .container, .nav { width: min(100% - 24px, 1160px); }
  .nav-links { gap: 10px 14px; }
  .hero p { font-size: 16px; }
  .trust-row { grid-template-columns: 1fr; }
  .cta-band { padding: 24px; }
  .sticky-cta { left: 14px; right: 14px; bottom: 14px; width: auto; }
}
