/* ── Design tokens ── */
:root {
  --navy: #0d1f3c;
  --navy-deep: #070f1e;
  --cyan: #00c2e0;
  --blue: #1a56a0;
  --blue-mid: #2e8bc0;
  --yellow: #ffd84d;
  --bg-light: #f7f9fc;
  --bg-tint: #e8f4fb;
  --border: #d0e4f0;
  --text-dark: #1a2b40;
  --text-muted: #5a6e84;
  --green: #1a7a3a;
  --green-bg: #e2f4ea;
  --red: #e24b4a;
  --font-heading: Georgia, serif;
  --font-body: Arial, Helvetica, sans-serif;

  /* ── Theme-aware surface/text tokens (light mode defaults) ── */
  --surface-1: #ffffff;        /* white sections, feature/quote/compare/price cards */
  --surface-2: var(--bg-light);/* light-tint sections, alternate table rows */
  --surface-tint: var(--bg-tint);
  --card-bg: #ffffff;
  --card-border: var(--border);
  --text-heading: var(--navy);
  --text-body: var(--text-dark);
  --text-secondary: var(--text-muted);
  --check-bg: var(--green-bg);
  --price-good-bg: #e2f4ea;
}

/* ── Dark mode overrides (matches forced-dark rendering) ── */
@media (prefers-color-scheme: dark) {
  :root {
    --surface-0: #0a0c11;   /* page background, behind everything */
    --surface-1: #1b1b1b;   /* section-white */
    --surface-2: #474747;   /* section-light, slightly darker than surface-1 */
    --surface-tint: #303030;
    --card-bg: #181818;     /* cards sit a shade lighter than their section for contrast */
    --card-border: rgba(255, 255, 255, 0.12);
    --border: rgba(255, 255, 255, 0.12);
    --text-heading: #ffffff;
    --text-body: #e7ebf2;
    --text-secondary: rgba(255, 255, 255, 0.62);
    --check-bg: rgba(26, 122, 58, 0.18);
    --price-good-bg: rgba(26, 122, 58, 0.15);
  }
  body { background-color: var(--surface-0); }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.5;
}
h1, h2 { font-family: var(--font-heading); margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ── Nav ── */
.nav {
  background-color: var(--navy);
  padding: 16px 5%;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 100%;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img { width: 70px; height: 70px; }
.nav-brand {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: bold;
  margin-left: 12px;
}
.nav-logo .nav-brand-main { color: #ffffff; }
.nav-logo .nav-brand-msp { color: #00AEEF; }
.nav-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.nav-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background-color: var(--cyan);
  padding: 6px 10px;
  border-radius: 5px;
  white-space: nowrap;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
}

@media (max-width: 905px) {
  .nav-hamburger { display: block; flex-shrink: 0; }
  .nav-logo { flex-shrink: 1; min-width: 0; }
  .nav-brand {
    white-space: nowrap;
  }
  .nav-links {
    display: none;
    flex-basis: 100%;   /* forces links onto their own full-width row when open */
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  .nav-links.nav-open { display: flex; }
  .nav-btn { width: 70%; text-align: center; box-sizing: border-box; }
}

/* ── Hero ── */
.hero {
  background-color: var(--navy);
  padding: 80px 5% 60px;
}
.hero-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 16px;
}
.eyebrow-light {
  color: var(--cyan);
  background-color: rgba(0, 194, 224, 0.12);
  border: 1px solid rgba(0, 194, 224, 0.3);
  border-radius: 100px;
  padding: 5px 14px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  color: #fff;
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: -0.5px;
}
.hero h1 em { font-style: italic; color: var(--yellow); }
.hero-sub {
  font-size: 16px;
  color: #fff;
  margin: 0 0 28px;
  line-height: 1.6;
}
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-weight: bold;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
}
.btn-primary { background-color: var(--cyan); color: var(--navy); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.25); color: #fff; font-weight: 500; }
.btn-outline-blue {
  display: block;
  width: 100%;
  text-align: center;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  padding: 12px;
}

/* ── Stats bar ── */
.stats-bar { background-color: var(--blue); padding: 28px 5%; }
.stats-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.stat { text-align: center; flex: 1 1 220px; }
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  color: #fff;
  margin-bottom: 4px;
}
.stat-num .highlight { color: var(--yellow); }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ── Sections ── */
.section { padding: 80px 5%; }
.section-white { background-color: var(--surface-1); }
.section-light { background-color: var(--surface-2); }
.section-navy { background-color: var(--navy); }
.section-blue-tint { background-color: var(--surface-tint); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.center { text-align: center; }
.section h2 {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--text-heading);
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}
.section-navy h2 { color: #ffffff; }
.section-navy p { color: rgba(255,255,255,0.6) !important; }
.text-white { color: #fff; }
.text-white-soft { color: rgba(255,255,255,0.6); }
.narrow { max-width: 100%; margin-left: auto; margin-right: auto; }
.intro-text { margin: 0 auto 16px; max-width: 100%; text-align: center; }
.section > .section-inner > p { margin: 0 0 32px; font-size: 17px; color: var(--text-heading); }

/* ── Card grids ── */
.card-grid { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.card-grid-3 .feature-card,
.card-grid > * { flex: 1 1 260px; }
.card-grid-4 > * { flex: 1 1 220px; }

.quote-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--cyan);
  border-radius: 10px;
  padding: 20px 22px;
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  text-align: left;
  margin: 0;
  color: var(--text-body);
}
.quote-card::before {
  content: '"';
  display: block;
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 4px;
  font-style: normal;
}

.feature-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background-color: var(--surface-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.feature-title { font-weight: bold; font-size: 16px; color: var(--text-heading); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

.step-card {
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: left;
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue-mid));
  color: var(--navy);
  font-weight: bold;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-title { font-weight: 600; font-size: 15px; color: #fff; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ── Comparison ── */
.compare-row {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.compare-card { flex: 1 1 320px; background-color: var(--card-bg); border: 1px solid var(--card-border); border-radius: 10px; padding: 18px; }
.compare-bad { border-top: 3px solid var(--red); }
.compare-good { border-top: 3px solid var(--green); }
.compare-label { font-size: 11px; font-weight: bold; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.compare-label-bad { color: var(--red); }
.compare-label-good { color: var(--green); }
.compare-list div { padding: 6px 0; border-bottom: 1px solid var(--card-border); font-size: 13px; color: var(--text-secondary); }
.compare-list div:last-child { border-bottom: none; }
.compare-list dt { display: inline; font-weight: bold; color: var(--text-body); }
.compare-list dt::after { content: " — "; font-weight: normal; color: var(--text-secondary); }
.compare-list dd { display: inline; margin: 0; }
.compare-vs {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background-color: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* ── Pricing ── */
.pricing-grid { display: flex; flex-wrap: wrap; gap: 16px; text-align: left; margin-top: 24px; }
.price-card { flex: 1 1 260px; background-color: var(--card-bg); border: 1.5px solid var(--card-border); border-radius: 14px; padding: 32px 26px; }
.price-card-featured { background-color: var(--navy); border-color: var(--blue); position: relative; }
.price-badge {
  display: inline-block;
  background-color: var(--yellow);
  color: var(--navy);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.price-tier { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--blue-mid); margin-bottom: 12px; }
.price-tier-light { color: var(--cyan); }
.price-amount { font-family: var(--font-heading); font-size: 42px; color: var(--text-heading); line-height: 1; margin-bottom: 4px; }
.price-amount-light { color: #fff; }
.price-unit { font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; }
.price-unit-light { color: rgba(255,255,255,0.55); }
.price-features { list-style: none; margin: 0 0 28px; padding: 0; }
.price-features li { font-size: 14px; color: var(--text-body); margin-bottom: 8px; padding-left: 26px; position: relative; }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-mid); font-weight: bold; }
.price-features-light li { color: rgba(255,255,255,0.8); }
.price-features-light li::before { color: var(--cyan); }
.fine-print { font-size: 13px; color: var(--text-secondary); font-style: italic; text-align: center; margin-top: 24px !important; }

/* ── Includes ── */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
  text-align: left;
  margin-top: 32px;
}
.include-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--card-border); }
.include-item .check {
  min-width: 22px; height: 22px;
  border-radius: 50%;
  background-color: var(--check-bg);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  margin-top: 2px;
  flex-shrink: 0;
}
.include-item strong { display: block; font-size: 15px; color: var(--text-body); line-height: 1.5; font-weight: normal; }
.include-item span { display: block; font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

/* ── Contact ── */
.contact-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; margin-top: 8px; }
.contact-row span { font-size: 14px; color: rgba(255,255,255,0.6); margin: 0 16px; }
.contact-row a { color: rgba(255,255,255,0.9); text-decoration: none; }

/* ── Footer ── */
.site-footer { background-color: var(--navy-deep); padding: 24px 5%; text-align: center; }
.site-footer p { font-size: 13px; color: rgba(255,255,255,0.3); }
.site-footer a { display: inline-block; vertical-align: middle; margin: 0 20px; }

/* ── Page content (About, etc.) ── */
.page-content { max-width: 1200px; text-align: left; }
.page-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text-heading);
  margin: 0 0 32px;
}
.page-content h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--text-heading);
  margin: 40px 0 12px;
}
.page-content h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: bold;
  color: var(--blue);
  margin: 28px 0 10px;
}
.page-content p { font-size: 16px; color: var(--text-body); line-height: 1.7; margin: 0 0 16px !important; }
.page-content a { color: var(--blue-mid); text-decoration: underline; }
.page-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.page-content th, .page-content td { padding: 8px 12px; border: 1px solid var(--card-border); font-size: 14px; }
.page-content th { background-color: var(--surface-2); font-weight: bold; color: var(--text-heading); }

/* ── Responsive ── */
@media (max-width: 905px) {
  .includes-grid { grid-template-columns: 1fr; }
  .compare-row { flex-direction: column; }
  .compare-vs { margin: 0; }
  .btn-row { flex-direction: column; align-items: center; width: 100%; }
  .btn-row .btn { width: 70%; text-align: center; box-sizing: border-box; }
  .step-card { padding: 16px 14px; }
  .card-grid { gap: 10px; }
  .tbl-wrap { overflow-x: auto; }
}

/* ── Comparison table ── */
.tbl-wrap { border: 1px solid var(--card-border); border-radius: 8px; overflow: visible; margin: 24px 0; }
.tbl-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl-wrap table { width: 100%; border-collapse: collapse; }
.tbl-wrap thead tr { background: var(--navy); }
.tbl-wrap thead th { font-size: 13px; font-weight: 600; color: #ffffff; padding: 10px 14px; text-align: left; }
.tbl-wrap thead th:not(:first-child) { text-align: center; }
.tbl-wrap tbody tr:nth-child(even) { background: var(--surface-2); }
.tbl-wrap tbody tr:nth-child(odd) { background: var(--card-bg); }
.tbl-wrap tbody td { padding: 10px 14px; font-size: 14px; color: var(--text-body); }
.tbl-wrap tbody td:not(:first-child) { text-align: center; }
.price-bad { color: #B03030; font-weight: 700; }
.price-good { color: var(--green); font-weight: 700; }
.price-good-bg { background: var(--price-good-bg) !important; }
.tbl-note td { font-size: 12px; color: var(--text-secondary); font-style: italic; padding: 8px 14px; background: var(--surface-2) !important; border-top: 1px solid var(--card-border); }
.tbl-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── Documents ── */
