/* ============================================================
   TurnCom360 Plug & Play Phone Systems
   Google Fonts: DM Serif Display (heading) + Source Sans 3 (body)
   Loaded via <link> in base.njk — no self-hosted woff2 needed.
   ============================================================ */

/* =========================================================
   TurnCom360 Phones — Design System
   Brand colors: Red #C0392B / Navy #1a2332 / Off-white #f4f4f4
   ========================================================= */

:root {
  /* Brand palette */
  --red:         #C0392B;   /* primary accent */
  --red-dark:    #96281B;   /* hover / darker red */
  --navy:        #1a2332;   /* dark backgrounds, footer */
  --navy-mid:    #253347;   /* slightly lighter navy */
  --navy-soft:   #344659;   /* softer navy for borders/cards */
  --off-white:   #f4f4f4;   /* section background */
  --white:       #ffffff;

  --ink:         #1a2332;   /* body text on light */
  --ink-soft:    #3d4f63;
  --ink-mute:    #6b7c91;
  --line:        #dde4ed;
  --line-soft:   #ecf0f5;

  /* Typography */
  --serif:  'DM Serif Display', 'Georgia', serif;
  --sans:   'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max:    1180px;
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============ SKIP LINK (a11y) ============ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ============ TOP BAR ============ */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  padding: 7px 0;
  letter-spacing: 0.02em;
}
.top-bar .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.top-bar a {
  color: rgba(255,255,255,0.75);
}
.top-bar a:hover { color: var(--white); }
.top-bar .compliance-badges {
  display: flex;
  gap: 16px;
  align-items: center;
}
.top-bar .badge {
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ============ HEADER / NAV ============ */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.logo-text {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.03em;
  line-height: 1.3;
}
.logo-text strong {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--red);
}
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  border-bottom: none !important;
}
.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
}
.mobile-toggle {
  display: none;
  font-size: 24px;
  color: var(--navy);
  background: none;
}

/* ============ GENERAL SECTIONS ============ */
section { padding: 90px 24px; }
section .wrap {
  max-width: var(--max);
  margin: 0 auto;
}
.section-alt { background: var(--off-white); }
.section-dark {
  background: var(--navy);
  color: var(--white);
}

/* ============ EYEBROW ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--red);
}

/* ============ SECTION HEADERS ============ */
.section-head {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head.left {
  text-align: left;
  margin: 0 0 56px 0;
  max-width: 640px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-dark .section-head h2 { color: var(--white); }
.section-head p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.section-dark .section-head p { color: rgba(255,255,255,0.72); }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 100px 24px 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(192,57,43,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,57,43,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero .eyebrow {
  color: rgba(255,255,255,0.7);
}
.hero .eyebrow::before { background: rgba(255,255,255,0.4); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.07;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: #e8a09a;
}
.hero p.lead {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust {
  margin-top: 40px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}
.hero-trust strong { color: rgba(255,255,255,0.85); }

/* Hero visual box */
.hero-visual {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 36px;
  backdrop-filter: blur(4px);
}
.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hero-stat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
}
.hero-stat .num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 42px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 6px;
}
.hero-stat .lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}
.hero-highlight {
  margin-top: 20px;
  background: var(--red);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  text-align: center;
  font-weight: 400;
}
.hero-highlight strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all .22s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--sans);
  text-decoration: none;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============ TRUST STRIP ============ */
.trust-strip {
  background: var(--off-white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 24px;
}
.trust-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.trust-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1px;
}
.trust-icon {
  width: 36px; height: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
}

/* ============ PATH CARDS (two-up chooser) ============ */
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.path-card {
  display: block;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 40px 36px;
  transition: all .3s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.path-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .3s ease;
}
.path-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -16px rgba(192,57,43,0.2);
  color: inherit;
}
.path-card:hover::after { transform: scaleX(1); }
.path-card .path-icon {
  width: 52px; height: 52px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 22px;
  color: var(--red);
}
.path-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}
.path-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}
.path-card .path-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

/* ============ HOW IT WORKS STEPS ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--serif);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 10px;
}
.step p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ============ PRICING CARDS ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 36px 30px;
  transition: border-color .2s;
}
.pricing-card.featured {
  border-color: var(--red);
  position: relative;
  padding-top: 46px;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 0 0 6px 6px;
}
.pricing-card:hover { border-color: var(--navy-soft); }
.pricing-card.featured:hover { border-color: var(--red); }
.pricing-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.pricing-price {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 52px;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 4px;
}
.pricing-price span {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-mute);
}
.pricing-features {
  list-style: none;
  margin: 22px 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.pricing-features li {
  padding: 8px 0 8px 22px;
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 17px;
  width: 12px; height: 2px;
  background: var(--red);
}
.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.pricing-note strong { color: var(--navy); }

/* ============ TESTIMONIALS ============ */
.testimonials-section { background: var(--navy); color: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 36px 32px;
}
.testimonial-card blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  position: relative;
}
.testimonial-card blockquote::before {
  content: '\201C';
  font-size: 64px;
  line-height: 0;
  position: absolute;
  top: 20px;
  left: -8px;
  color: var(--red);
  font-family: Georgia, serif;
  opacity: 0.6;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 2px;
}
.testimonial-role {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}

/* ============ COMPARISON TABLE ============ */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}
.compare-table th {
  padding: 18px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--line);
  background: var(--off-white);
  color: var(--navy);
}
.compare-table th:first-child { text-align: left; }
.compare-table th.ours {
  background: var(--navy);
  color: var(--white);
}
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
  vertical-align: middle;
}
.compare-table td:first-child {
  color: var(--navy);
  font-weight: 500;
  font-size: 14px;
}
.compare-table td:not(:first-child) { text-align: center; }
.compare-table td.ours {
  background: rgba(192,57,43,0.04);
  color: var(--navy);
  font-weight: 500;
}
.compare-table tr:hover td { background: var(--off-white); }
.compare-table tr:hover td.ours { background: rgba(192,57,43,0.08); }
.compare-table .check { color: #27ae60; font-size: 18px; }
.compare-table .cross { color: #c0392b; font-size: 18px; }
.compare-table .warn  { color: #e67e22; font-size: 18px; }

/* ============ BOTTOM CTA SECTION ============ */
.cta-section {
  background: var(--navy);
  color: var(--white);
  padding: 90px 24px;
  text-align: center;
}
.cta-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.cta-trust {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}
.cta-trust span { padding: 0 12px; border-right: 1px solid rgba(255,255,255,0.2); }
.cta-trust span:last-child { border-right: none; }

/* ============ VIDEO PLACEHOLDER ============ */
.video-placeholder {
  background: var(--navy-mid);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 60px 40px;
  text-align: center;
  color: rgba(255,255,255,0.7);
  position: relative;
}
.video-placeholder .play-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: rgba(255,255,255,0.5);
}
.video-placeholder p {
  font-size: 16px;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.8);
}
.video-placeholder small {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

/* ============ FEARS / FAQ ============ */
.fears-list { max-width: 820px; margin: 0 auto; }
.fear-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.fear-q {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
}
.fear-q::before {
  content: 'Q: ';
  color: var(--red);
  font-style: italic;
}
.fear-a {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-left: 24px;
  border-left: 2px solid var(--off-white);
}

/* ============ COMPETITOR SWITCH CARDS ============ */
.switch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.switch-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}
.switch-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.switch-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ============ LIST SECTION ============ */
.check-list {
  list-style: none;
}
.check-list li {
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 20px;
  width: 18px; height: 2px;
  background: var(--red);
}
.check-list li strong { color: var(--navy); }

/* ============ PAGE HERO (interior) ============ */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 90px 24px 80px;
}
.page-hero .wrap { max-width: var(--max); margin: 0 auto; }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 18px;
  max-width: 780px;
}
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ============ NUMBERED STEPS (upgrading page) ============ */
.migration-steps { list-style: none; }
.migration-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.migration-step:last-child { border-bottom: none; }
.migration-num {
  width: 52px; height: 52px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  flex-shrink: 0;
}
.migration-step h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 6px;
}
.migration-step p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ============ INLINE STAT ROW ============ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 48px 0;
}
.stat-row.dark {
  border-color: rgba(255,255,255,0.12);
}
.stat-item { text-align: center; }
.stat-item .num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 52px;
  line-height: 1;
  color: var(--red);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-row.dark .stat-item .num { color: #e8a09a; }
.stat-item .lbl {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat-row.dark .stat-item .lbl { color: rgba(255,255,255,0.5); }

/* ============ FOOTER ============ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 70px 24px 30px;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-brand span {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.02em;
}
.footer-about {
  font-size: 14px;
  line-height: 1.65;
  max-width: 320px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.footer-contact-row {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.footer-contact-row a {
  color: rgba(255,255,255,0.75);
}
.footer-contact-row a:hover { color: var(--white); }
footer h5 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 9px; }
footer ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: color .2s;
}
footer ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom .compliance {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom .compliance span {
  padding: 3px 9px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============ 404 ============ */
.notfound {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.notfound .code {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 140px;
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.04em;
}
.notfound h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 42px;
  color: var(--navy);
  margin: 16px 0;
}
.notfound p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 30px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .path-grid { grid-template-columns: 1fr; gap: 20px; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .switch-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .trust-strip-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  section { padding: 60px 20px; }
  .nav { padding: 14px 20px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 16px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .mobile-toggle { display: block; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .trust-strip-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stat-grid { grid-template-columns: 1fr 1fr; }
  .cta-trust span { display: block; padding: 2px 0; border-right: none; }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 { animation: fadeUp .65s ease-out backwards; }
.hero p.lead { animation: fadeUp .65s ease-out .12s backwards; }
.hero-cta { animation: fadeUp .65s ease-out .24s backwards; }
.hero-trust { animation: fadeUp .65s ease-out .36s backwards; }
