/* =========================================================
   AI Tax Relief — Premium Landing Page (Official Navy theme)
   ========================================================= */

:root {
  --ink: #0b1b33;
  --ink-2: #1c2a3f;
  --text: #2a3a52;
  --muted: #5b6b82;
  --muted-2: #8a99b0;
  --line: #e3e8f0;
  --line-soft: #edf1f6;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-cream: #f5f8fc;
  --white: #ffffff;
  --bg-light: #f6f8fb;

  --gold: #1a4480;
  --gold-2: #005ea2;
  --gold-bright: #73b3e7;
  --gold-soft: #eaf0f8;
  --gold-line: #d5e1ef;

  --mint: #1f6fd1;
  --emerald: #0b56b3;
  --emerald-dark: #0a4590;
  --emerald-soft: #edf4fc;

  --red: #b50909;

  --radius-lg: 22px;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(11, 27, 51, .05);
  --shadow: 0 20px 50px -24px rgba(11, 27, 51, .22);
  --shadow-lg: 0 40px 90px -40px rgba(11, 27, 51, .30);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { color: var(--ink); letter-spacing: -.02em; }
a { text-decoration: none; }
section[id], main section { scroll-margin-top: 120px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 14px 34px -22px rgba(11, 27, 51, .35); }

/* Top call bar */
.topbar {
  background: #112e51;
  border-bottom: 1px solid #0b2340;
  color: #c9d6e6;
  font-size: .86rem;
  font-weight: 500;
  padding: .55rem 0;
}
.topbar-icon { margin-right: .25rem; }
.topbar-link {
  color: #ffffff;
  font-weight: 800;
  margin: 0 .2rem;
  border-bottom: 1px dashed rgba(255, 255, 255, .5);
  transition: color .2s;
}
.topbar-link:hover { color: #c5ddf3 !important; }
.topbar-link:hover { color: #162e51; }

/* Main nav */
.main-nav {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  padding: .85rem 0;
  transition: padding .3s ease, background .3s ease;
}
.site-header.is-scrolled .main-nav { padding: .55rem 0; background: rgba(255, 255, 255, .97); }

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: 0;
  margin: 0;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark { display: inline-flex; filter: drop-shadow(0 8px 14px rgba(0, 94, 162, .25)); transition: transform .3s ease; }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 1.32rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.brand-ai {
  background: linear-gradient(100deg, #2378c3, #1a4480);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-tag {
  margin-top: .25rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* Nav links */
.main-nav .nav-link {
  position: relative;
  color: #3a4a62;
  font-weight: 600;
  font-size: .95rem;
  padding: .5rem 1rem !important;
  transition: color .2s;
}
.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: .2rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-2), var(--emerald));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--ink); }
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after { transform: scaleX(1); }

/* Header call button */
.nav-call {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .4rem 1.1rem .4rem .4rem;
  border-radius: 999px;
  border: 1px solid #c9dcf5;
  background: var(--emerald-soft);
  color: var(--ink);
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.nav-call:hover {
  color: var(--ink);
  background: #dbe8f8;
  border-color: var(--mint);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -16px rgba(11, 86, 179, .6);
}
.nav-call-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a7de1, #0a4590);
  color: #fff;
  font-size: .95rem;
  animation: callPulse 2.4s infinite;
}
@keyframes callPulse {
  0% { box-shadow: 0 0 0 0 rgba(11, 86, 179, .45); }
  70% { box-shadow: 0 0 0 10px rgba(11, 86, 179, 0); }
  100% { box-shadow: 0 0 0 0 rgba(11, 86, 179, 0); }
}
.nav-call-text { flex-direction: column; line-height: 1.1; }
.nav-call-text small { font-size: .66rem; font-weight: 700; color: var(--emerald-dark); letter-spacing: .04em; }
.nav-call-text strong { font-size: 1rem; font-weight: 800; letter-spacing: .01em; }

/* Toggler */
.nav-toggler {
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggler:focus { box-shadow: 0 0 0 3px rgba(115, 179, 231, .35); }
.nav-toggler span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggler[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggler[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: .6rem 0 .4rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #2a7de1, #0a4590);
}
.btn-nav-cta:hover { color: #fff; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 7rem;
  background:
    radial-gradient(900px 520px at 88% -12%, rgba(31, 111, 209, .16), transparent 62%),
    radial-gradient(820px 520px at -6% 8%, rgba(115, 179, 231, .20), transparent 62%),
    linear-gradient(180deg, #fdfdfb 0%, #f6f9fc 100%);
  border-bottom: 1px solid var(--line-soft);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11, 27, 51, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 27, 51, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 72%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .7;
  animation: float 14s ease-in-out infinite;
}
.orb-1 { width: 380px; height: 380px; background: #cfe0f7; top: -140px; right: 6%; }
.orb-2 { width: 320px; height: 320px; background: #d4e3f4; bottom: -160px; left: -80px; animation-delay: -6s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 25px); }
}

.hero-inner { position: relative; max-width: 920px; margin: 0 auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1.15rem;
  border: 1px solid #a9c7e8;
  border-radius: 999px;
  background: rgba(240, 245, 251, .9);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  box-shadow: 0 8px 20px -14px rgba(26, 68, 128, .5);
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 94, 162, .5); }
  70% { box-shadow: 0 0 0 10px rgba(0, 94, 162, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 94, 162, 0); }
}

.hero-title {
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 1.6rem 0 1.4rem;
}
.text-gold {
  background: linear-gradient(100deg, #2378c3 0%, #005ea2 45%, #1a4480 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 700px;
  margin: 0 auto 1.8rem;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #4b5b73;
}

.hero-checks {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
}
.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .85rem .42rem .45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: .88rem;
  color: var(--ink);
  white-space: nowrap;
}
.hero-checks i {
  display: inline-grid;
  place-items: center;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: #e3eefb;
  color: var(--emerald);
  font-size: .8rem;
}

.hero-disclaimer {
  max-width: 640px;
  margin: 1.8rem auto 0;
  font-size: .82rem;
  line-height: 1.6;
  color: #7a8aa2;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1.1rem 2rem;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.08rem;
  color: #fff;
  background: linear-gradient(135deg, #2a7de1 0%, #0b56b3 55%, #0a4590 100%);
  box-shadow:
    0 18px 36px -14px rgba(11, 86, 179, .65),
    inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
  isolation: isolate;
}
.btn-cta::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
  z-index: -1;
}
@keyframes shine {
  0%, 60% { left: -60%; }
  100% { left: 130%; }
}
.btn-cta .arrow { transition: transform .25s ease; }
.btn-cta i.bi-telephone-fill { font-size: .95em; }
.btn-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 24px 44px -14px rgba(11, 86, 179, .75), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-cta:hover .arrow { transform: translateX(4px); }
.btn-cta:focus-visible { outline: 3px solid rgba(11, 86, 179, .45); outline-offset: 3px; }
.btn-cta-lg { padding: 1.25rem 2.5rem; font-size: 1.15rem; }

/* Tap-to-call consent */
.call-consent {
  max-width: 680px;
  margin: 1rem auto 0;
  font-size: .76rem;
  line-height: 1.6;
  color: var(--muted-2);
}
.call-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.call-consent a:hover { color: var(--ink); }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 6rem 0; }
.section-light { background: var(--bg-soft); }
.section-white { background: var(--bg); }

.section-head { max-width: 680px; margin: 0 auto 3.4rem; }
.section-title {
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: .9rem;
}
.section-sub {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
  margin: 0;
}

/* Factor cards — premium */
#factors .row { counter-reset: factor; }
.factor-card {
  --accent: var(--emerald);
  --accent-2: #2f80e4;
  --accent-soft: #eaf2fc;
  --accent-rgb: 11, 86, 179;
  counter-increment: factor;
  position: relative;
  isolation: isolate;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.5rem 2.2rem 2.2rem;
  border-radius: 26px;
  border: 1px solid transparent;
  background:
    linear-gradient(90deg, var(--accent-2), var(--accent)) top / 100% 4px no-repeat padding-box,
    radial-gradient(120% 70% at 100% 0%, rgba(var(--accent-rgb), .07), transparent 55%) padding-box,
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%) padding-box,
    linear-gradient(165deg, rgba(var(--accent-rgb), .32), rgba(11, 27, 51, .07) 35%, rgba(11, 27, 51, .07) 75%, rgba(var(--accent-rgb), .16)) border-box;
  box-shadow:
    0 1px 2px rgba(11, 27, 51, .05),
    0 14px 34px -16px rgba(11, 27, 51, .16),
    0 40px 70px -44px rgba(var(--accent-rgb), .38);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease;
}
.factor-red {
  --accent: var(--red);
  --accent-2: #e04b45;
  --accent-soft: #fdeceb;
  --accent-rgb: 181, 9, 9;
}

/* large outlined index number (decorative) */
.factor-card::after {
  content: counter(factor, decimal-leading-zero);
  position: absolute;
  top: 1.35rem;
  right: 1.6rem;
  z-index: -1;
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--accent-rgb), .16);
  transition: -webkit-text-stroke-color .4s ease, transform .4s ease;
  pointer-events: none;
}

.factor-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 1px 2px rgba(11, 27, 51, .05),
    0 24px 48px -20px rgba(11, 27, 51, .22),
    0 50px 80px -40px rgba(var(--accent-rgb), .45);
}
.factor-card:hover::after {
  -webkit-text-stroke-color: rgba(var(--accent-rgb), .3);
  transform: translateY(-2px);
}

.factor-icon {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  flex-shrink: 0;
  border-radius: 18px;
  font-size: 1.55rem;
  color: #fff;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  box-shadow:
    0 0 0 7px var(--accent-soft),
    0 16px 28px -12px rgba(var(--accent-rgb), .65),
    inset 0 1px 0 rgba(255, 255, 255, .35);
  margin: .45rem 0 1.75rem .45rem;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.factor-card:hover .factor-icon { transform: rotate(-6deg) scale(1.05); }

.factor-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .85rem .42rem .7rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), .14);
  margin-bottom: 1rem;
}
.factor-tag::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18);
}

.factor-title {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.factor-title::after {
  content: "";
  display: block;
  width: 42px; height: 3px;
  margin-top: .95rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), .15));
  transition: width .4s ease;
}
.factor-card:hover .factor-title::after { width: 72px; }

.factor-card p { color: var(--muted); line-height: 1.75; margin-bottom: 1.25rem; }
.factor-card p:last-child { margin-bottom: 0; }
.factor-card p strong {
  color: var(--ink);
  background: linear-gradient(transparent 62%, rgba(var(--accent-rgb), .14) 62%);
  padding: 0 .1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.factor-strong {
  position: relative;
  width: 100%;
  margin-top: auto;
  color: var(--ink) !important;
  font-weight: 700;
  line-height: 1.55 !important;
  padding: 1rem 1.1rem 1rem 3.1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-soft), #f7faff);
  border: 1px solid rgba(var(--accent-rgb), .16);
}
.factor-strong::before {
  content: "";
  position: absolute;
  left: 1.05rem; top: 1.05rem;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  box-shadow: 0 6px 12px -4px rgba(var(--accent-rgb), .55);
}
.factor-strong::after {
  content: "";
  position: absolute;
  left: calc(1.05rem + 8.5px); top: calc(1.05rem + 6px);
  width: 7px; height: 11px;
  border: solid #fff;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
}

/* Steps */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #bccde3 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step-num {
  position: relative;
  width: 68px; height: 68px;
  margin: 0 auto 1.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  background: linear-gradient(180deg, #f8fafd, #e8eef6);
  border: 2px solid #a9c7e8;
  box-shadow: 0 0 0 8px var(--bg), 0 16px 30px -14px rgba(26, 68, 128, .55);
}
.step-title { font-size: 1.2rem; font-weight: 800; margin-bottom: .6rem; }
.step p { color: var(--muted); line-height: 1.65; max-width: 320px; margin: 0 auto; }

/* Not alone box */
.alone-box {
  position: relative;
  background: var(--bg);
  border-radius: 26px;
  padding: 3.2rem;
  border: 1.5px solid #73b3e7;
  box-shadow: 0 30px 70px -36px rgba(26, 68, 128, .4);
  overflow: hidden;
}
.alone-box::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  top: -170px; right: -130px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(115, 179, 231, .22), transparent);
  pointer-events: none;
}
.alone-title {
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.alone-lead { color: var(--muted); font-size: 1.08rem; line-height: 1.7; margin: 0; }

.risk-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}
.risk-list li {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1.05rem 1.1rem;
  background: #fbf8ee;
  border: 1px solid #ebdfb4;
  border-radius: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  transition: transform .25s, box-shadow .25s;
}
.risk-list li:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(138, 106, 0, .4); }
.risk-icon {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: #f8e9b0;
  color: #8a6a00;
  font-size: 1.05rem;
}
.alone-close {
  position: relative;
  margin: 2.2rem 0 0;
  padding: 1.4rem 1.6rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5f8fc, #e9eff7);
  border: 1px solid var(--gold-line);
  border-left: 4px solid var(--gold-2);
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.7;
}

/* Final CTA */
.final-cta {
  position: relative;
  padding: 6.5rem 0;
  overflow: hidden;
  background:
    radial-gradient(800px 420px at 50% -10%, rgba(31, 111, 209, .16), transparent 62%),
    linear-gradient(180deg, #f5f9fe 0%, #ffffff 100%);
  border-top: 1px solid #d6e4f5;
}
.final-bg { position: absolute; inset: 0; pointer-events: none; }
.orb-3 { width: 440px; height: 440px; background: #d4e3f4; bottom: -300px; left: 50%; margin-left: -220px; opacity: .6; }
.final-title {
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.2;
  max-width: 760px;
  margin: 0 auto 1rem;
}
.final-sub { color: var(--muted); font-size: 1.15rem; margin-bottom: 2.2rem; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  color: #9fb0c8;
  padding: 4.8rem 0 2rem;
  font-size: .85rem;
  line-height: 1.7;
  background:
    radial-gradient(700px 320px at 10% 0%, rgba(115, 179, 231, .10), transparent 60%),
    radial-gradient(700px 360px at 95% 100%, rgba(31, 111, 209, .08), transparent 60%),
    linear-gradient(180deg, #112e51 0%, #0b2340 100%);
}
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a4480, #73b3e7 35%, #97c4ea 50%, #73b3e7 65%, #1a4480);
}
.site-footer .container { position: relative; }

.site-footer .brand,
.site-footer .brand:hover,
.site-footer .brand-name { color: #fff; }
.site-footer .brand-ai { background: linear-gradient(100deg, #97c4ea, #2378c3); -webkit-background-clip: text; background-clip: text; }
.site-footer .brand-tag { color: #7f92ad; }

.brand-footer { margin-bottom: 1.2rem; }
.footer-about { color: #a9b8cc; font-size: .95rem; line-height: 1.75; max-width: 430px; margin-bottom: 1.4rem; }
.footer-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-badges li {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .42rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(115, 179, 231, .22);
  background: rgba(115, 179, 231, .06);
  color: #e6ecf5;
  font-weight: 600;
  font-size: .8rem;
}
.footer-badges i { color: var(--gold-bright); }

.footer-heading {
  position: relative;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-bottom: .8rem;
  margin-bottom: 1.2rem;
}
.footer-heading::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 34px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
}
.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-nav a {
  display: inline-flex; align-items: center; gap: .5rem;
  color: #c3cfe0;
  font-weight: 500;
  font-size: .93rem;
  transition: color .2s, transform .2s;
}
.footer-nav a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(115, 179, 231, .45);
  transition: background .2s;
}
.footer-nav a:hover { color: var(--gold-bright); transform: translateX(3px); }
.footer-nav a:hover::before { background: var(--gold-bright); }

.footer-phone {
  display: flex; align-items: center; gap: .85rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(31, 111, 209, .28);
  background: linear-gradient(135deg, rgba(31, 111, 209, .10), rgba(255, 255, 255, .02));
  color: #fff;
  margin-bottom: 1rem;
  transition: border-color .2s, background .2s, transform .2s;
}
.footer-phone:hover {
  color: #fff;
  border-color: var(--mint);
  background: linear-gradient(135deg, rgba(31, 111, 209, .16), rgba(255, 255, 255, .03));
  transform: translateY(-2px);
}
.footer-phone-icon {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a7de1, #0a4590);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(31, 111, 209, .7);
}
.footer-phone strong { display: block; font-size: 1.2rem; font-weight: 800; line-height: 1.2; letter-spacing: .01em; }
.footer-phone small { display: block; color: #9fc2f0; font-size: .75rem; font-weight: 600; }
.footer-cta { color: var(--gold-bright); font-weight: 700; font-size: .9rem; transition: color .2s; }
.footer-cta:hover { color: #c5ddf3; }

.footer-divider {
  height: 1px;
  margin: 3.2rem 0 2rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .12), rgba(255, 255, 255, .02));
}
.footer-legal { max-width: 960px; margin-bottom: 1rem; color: #7f92ad; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-copy { margin: 0; color: #a9b8cc; font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.footer-links a {
  color: #c3cfe0;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(195, 207, 224, .3);
  transition: color .2s, text-decoration-color .2s;
}
.footer-links a:hover { color: var(--gold-bright); text-decoration-color: rgba(115, 179, 231, .6); }
/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 991.98px) {
  .main-nav .navbar-collapse {
    margin-top: .8rem;
    padding: .6rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav .nav-link { padding: .75rem .9rem !important; border-radius: 10px; }
  .main-nav .nav-link::after { display: none; }
  .main-nav .nav-link:hover, .main-nav .nav-link.active { background: var(--bg-soft); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero { padding: 4.5rem 0 5rem; }
  .alone-box { padding: 2.4rem 1.8rem; }
}

@media (max-width: 767.98px) {
  .section { padding: 4.5rem 0; }
  .steps { grid-template-columns: 1fr; gap: 2.6rem; }
  .steps::before {
    top: 34px; bottom: 34px;
    left: 50%; right: auto;
    width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, #bccde3 0 8px, transparent 8px 16px);
    opacity: .7;
  }
  .step { background: var(--bg); }
  .risk-list { grid-template-columns: 1fr; }
  .final-cta { padding: 5rem 0; }
}

@media (max-width: 575.98px) {
  .topbar { font-size: .8rem; }
  .brand-name { font-size: 1.15rem; }
  .brand-mark svg { width: 34px; height: 34px; }
  .nav-call { padding: 0; border: 0; background: none; }
  .nav-call:hover { background: none; box-shadow: none; }
  .site-footer .col-6 { width: 100%; }
  .hero { padding: 3.5rem 0 4rem; }
  .hero-title { font-size: 2.05rem; }
  .hero-lead { font-size: 1.03rem; }
  .hero-checks li { font-size: .88rem; }
  .btn-cta { width: 100%; justify-content: center; padding: 1.05rem 1.2rem; font-size: 1rem; }
  .alone-box { padding: 2rem 1.25rem; border-radius: 22px; }
  .alone-close { padding: 1.2rem 1.2rem; font-size: 1rem; }
  .factor-card { padding: 2.2rem 1.6rem 1.8rem; }
}

/* =========================================================
   Mobile call bar (sticky, phones & tablets)
   ========================================================= */
.mobile-callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1040;
  padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px -18px rgba(11, 27, 51, .35);
  transform: translateY(0);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.mobile-callbar.is-hidden { transform: translateY(110%); }
.mobile-callbar-btn {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: 100%;
  padding: .7rem .9rem .7rem .7rem;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #2a7de1 0%, #0b56b3 55%, #0a4590 100%);
  box-shadow: 0 12px 26px -12px rgba(11, 86, 179, .7);
}
.mobile-callbar-btn:hover, .mobile-callbar-btn:active { color: #fff; }
.mcb-icon {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .2);
  font-size: 1rem;
}
.mcb-icon i { animation: ringSoft 2.6s ease-in-out infinite; display: inline-block; }
@keyframes ringSoft {
  0%, 78%, 100% { transform: rotate(0); }
  82% { transform: rotate(-14deg); }
  86% { transform: rotate(14deg); }
  90% { transform: rotate(-8deg); }
  94% { transform: rotate(8deg); }
}
.mcb-text { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.15; }
.mcb-text strong { font-size: 1.05rem; font-weight: 800; letter-spacing: .01em; }
.mcb-text small { font-size: .74rem; font-weight: 600; color: rgba(255, 255, 255, .88); margin-top: .15rem; }
.mcb-arrow { font-size: 1.2rem; font-weight: 800; }

@media (max-width: 991.98px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* =========================================================
   Phone refinements (≤ 575px)
   ========================================================= */
@media (max-width: 575.98px) {
  .container { padding-left: 20px; padding-right: 20px; }

  /* Header: compact */
  .topbar { padding: .45rem 0; font-size: .78rem; }
  .main-nav { padding: .55rem 0; }
  .site-header.is-scrolled .main-nav { padding: .45rem 0; }
  .brand { gap: .55rem; }
  .brand-tag { font-size: .55rem; letter-spacing: .16em; }
  .nav-call-icon { width: 40px; height: 40px; }
  .nav-toggler { width: 42px; height: 42px; }
  .main-nav .navbar-collapse { margin-top: .6rem; }
  .main-nav .nav-link { font-size: 1rem; }

  /* Hero */
  .hero { padding: 2.6rem 0 3rem; }
  .eyebrow { font-size: .68rem; letter-spacing: .1em; padding: .45rem .9rem; gap: .45rem; }
  .hero-title { font-size: clamp(1.85rem, 8.4vw, 2.2rem); line-height: 1.12; margin: 1.2rem 0 1rem; }
  .hero-lead { font-size: 1rem; line-height: 1.65; margin-bottom: 1.4rem; }
  .hero-checks { gap: .5rem; margin-top: 1.3rem; }
  .hero-checks li { font-size: .84rem; padding: .4rem .8rem .4rem .45rem; }
  .hero-checks i { width: 20px; height: 20px; font-size: .8rem; }
  .hero-disclaimer { font-size: .76rem; margin-top: 1.3rem; }
  .call-consent { font-size: .7rem; }

  /* Buttons */
  .btn-cta, .btn-cta-lg { width: 100%; justify-content: center; padding: 1.05rem 1rem; font-size: 1rem; border-radius: 14px; }

  /* Sections */
  .section { padding: 3.6rem 0; }
  .section-head { margin-bottom: 2.2rem; }
  .section-title { font-size: 1.75rem; }
  .section-sub { font-size: 1rem; }

  .factor-card { padding: 1.9rem 1.35rem 1.6rem; border-radius: 22px; }
  .factor-card::after { font-size: 3.6rem; top: 1.1rem; right: 1.2rem; }
  .factor-icon { width: 54px; height: 54px; font-size: 1.35rem; border-radius: 16px; margin: .4rem 0 1.4rem .4rem; box-shadow: 0 0 0 6px var(--accent-soft), 0 14px 24px -12px rgba(var(--accent-rgb), .6), inset 0 1px 0 rgba(255,255,255,.35); }
  .factor-title { font-size: 1.24rem; }
  .factor-card p { font-size: .95rem; }

  .steps { gap: 2.2rem; }
  .step-num { width: 60px; height: 60px; font-size: 1.3rem; margin-bottom: 1.1rem; }
  .steps::before { top: 30px; bottom: 30px; }
  .step-title { font-size: 1.1rem; }
  .step p { font-size: .95rem; }

  .alone-box { padding: 1.8rem 1.3rem; border-radius: 20px; }
  .alone-title { font-size: 1.6rem; }
  .alone-lead { font-size: 1rem; }
  .risk-list { gap: .7rem; }
  .risk-list li { padding: .85rem .95rem; font-size: .95rem; }
  .risk-icon { width: 34px; height: 34px; font-size: .95rem; }
  .alone-close { margin-top: 1.6rem; padding: 1.1rem 1.15rem; font-size: .98rem; }

  .final-cta { padding: 3.8rem 0 4rem; }
  .final-title { font-size: 1.7rem; }
  .final-sub { font-size: 1rem; margin-bottom: 1.6rem; }

  /* Footer */
  .site-footer { padding: 3.4rem 0 1.6rem; }
  .footer-top { --bs-gutter-y: 2.2rem; }
  .footer-about { font-size: .92rem; }
  .footer-divider { margin: 2.4rem 0 1.6rem; }
  .footer-legal { font-size: .8rem; }
  .footer-links { display: grid; gap: .55rem; }
}

@media (max-width: 374.98px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .brand-name { font-size: 1.05rem; }
  .brand-tag { display: none; }
  .hero-title { font-size: 1.75rem; }
  .mcb-text small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
