/* ============================================================
   Hines Financial - modern "trust-tech" design system
   Deep navy + electric azure/teal. Sora (display) + Inter (body).
   Vanilla CSS, no framework. Animations are CSS + IntersectionObserver.
   ============================================================ */

:root {
  /* Brand */
  --navy-900: #081527;
  --navy-800: #0B1F3A;
  --navy-700: #12294D;
  --navy-600: #1C3A66;
  --azure: #2F6BFF;
  --azure-bright: #5B8CFF;
  --teal: #22B8C4;
  --grad: linear-gradient(135deg, #2F6BFF 0%, #22B8C4 100%);
  --grad-soft: linear-gradient(135deg, rgba(47,107,255,0.12) 0%, rgba(34,184,196,0.12) 100%);

  /* Neutrals (light surfaces) */
  --ink: #0C1526;
  --slate: #4A5A73;
  --slate-light: #8A97AC;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FE;
  --bg-mist: #EEF3FC;
  --border: #E3EAF6;
  --white: #FFFFFF;

  --success: #17B26A;
  --error: #F04438;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(12, 21, 38, 0.06), 0 6px 16px rgba(12, 21, 38, 0.05);
  --shadow: 0 2px 6px rgba(12, 21, 38, 0.06), 0 26px 60px rgba(12, 21, 38, 0.14);
  --shadow-glow: 0 10px 24px rgba(47, 107, 255, 0.30), 0 4px 8px rgba(47, 107, 255, 0.16);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azure);
}
.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(47,107,255,0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-3px); }
.btn-dark {
  background: var(--navy-800);
  color: #fff;
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-lg { padding: 18px 38px; font-size: 16px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: padding 0.35s var(--ease), background 0.35s, box-shadow 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 16px rgba(47,107,255,0.35); }
.brand-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: #fff; transition: color 0.35s; }
.brand-name b { font-weight: 700; }
.brand-name span { font-weight: 400; opacity: 0.85; }
.nav.scrolled .brand-name { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.88);
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--slate); }
.nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-weight: 600; font-size: 15px; color: #fff; transition: color 0.35s; }
.nav.scrolled .nav-phone { color: var(--ink); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1100; }
.menu-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s var(--ease); }
.nav.scrolled .menu-toggle span { background: var(--ink); }
.menu-toggle.open span { background: var(--ink); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 80% 0%, var(--navy-700) 0%, var(--navy-900) 60%);
  color: #fff;
  padding: 190px 0 130px;
  overflow: hidden;
  isolation: isolate;
}
.aurora { position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: -1; filter: blur(70px); opacity: 0.75; }
.aurora span { position: absolute; border-radius: 50%; }
.aurora .a1 { width: 520px; height: 520px; background: #2F6BFF; top: -120px; left: 8%; animation: float1 16s var(--ease) infinite; }
.aurora .a2 { width: 460px; height: 460px; background: #22B8C4; top: 40px; right: 6%; animation: float2 19s var(--ease) infinite; }
.aurora .a3 { width: 360px; height: 360px; background: #6A4BFF; top: 220px; left: 42%; opacity: 0.6; animation: float3 22s var(--ease) infinite; }
@keyframes float1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(60px,50px) scale(1.12)} }
@keyframes float2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-50px,40px) scale(0.9)} }
@keyframes float3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(30px,-40px) scale(1.1)} }
.hero-grid-lines { position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%); }

.hero-content { max-width: 760px; }
.hero .badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
}
.pill svg { width: 15px; height: 15px; color: var(--teal); }
.hero h1 { font-size: clamp(38px, 6vw, 68px); color: #fff; margin-bottom: 22px; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,0.82); max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 14px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--teal); }

/* Floating stat cards under hero */
.stats-strip {
  position: relative;
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 26px 24px;
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), background 0.4s;
}
.stat:hover { transform: translateY(-6px); background: rgba(255,255,255,0.12); }
.stat .num { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 40px; color: #fff; line-height: 1; }
.stat .num .suffix { color: var(--teal); }
.stat .lbl { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,0.72); }

/* ---------- Section shells ---------- */
section { position: relative; }
.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: radial-gradient(120% 120% at 20% 0%, var(--navy-700), var(--navy-900)); color: #fff; }
.section-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 16px; }
.section-head p { font-size: 18px; color: var(--slate); }
.section-dark .section-head p { color: rgba(255,255,255,0.72); }
.section-dark .section-head h2 { color: #fff; }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.feature::before {
  content: ''; position: absolute; inset: 0; padding: 1px; border-radius: var(--radius);
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s;
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.feature:hover::before { opacity: 1; }
.feature .icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--azure); margin-bottom: 22px;
}
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { color: var(--slate); font-size: 15px; }

/* ---------- Product / coverage cards ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.product {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product.featured { background: radial-gradient(120% 120% at 50% 0%, var(--navy-700), var(--navy-900)); color: #fff; border-color: transparent; }
.product .tag { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--grad-soft); color: var(--azure); margin-bottom: 18px; }
.product.featured .tag { background: var(--grad); color: #fff; }
.product .ribbon { position: absolute; }
.product h3 { font-size: 24px; margin-bottom: 8px; }
.product.featured h3 { color: #fff; }
.product .desc { color: var(--slate); font-size: 15px; margin-bottom: 22px; }
.product.featured .desc { color: rgba(255,255,255,0.8); }
.product ul { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 12px; }
.product li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); align-items: flex-start; }
.product.featured li { color: rgba(255,255,255,0.92); }
.product li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--teal); }
.product .btn { margin-top: auto; width: 100%; }

/* ---------- Process timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.timeline::before { content:''; position: absolute; top: 32px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent); }
.step { text-align: center; position: relative; }
.step .dot {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center;
  font-family: 'Sora'; font-weight: 700; font-size: 22px; color: #fff;
  background: var(--grad); box-shadow: var(--shadow-glow); position: relative; z-index: 1;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15px; }

/* ---------- Trust / testimonials ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.quote .stars { color: #F5B851; letter-spacing: 2px; margin-bottom: 16px; }
.quote p { font-size: 16px; color: var(--ink); margin-bottom: 20px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-family: 'Sora'; font-weight: 700; }
.quote .who b { display: block; font-size: 15px; }
.quote .who span { font-size: 13px; color: var(--slate-light); }

/* logos / assurances row */
.assurances { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
.assurance { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.8); font-weight: 500; font-size: 15px; }
.assurance svg { width: 22px; height: 22px; color: var(--teal); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px; font-family: 'Sora'; font-weight: 600; font-size: 18px; color: var(--ink);
}
.faq-q .chev { width: 22px; height: 22px; flex-shrink: 0; transition: transform 0.35s var(--ease); color: var(--azure); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 4px 24px; color: var(--slate); font-size: 16px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 64px; text-align: center; color: #fff;
  background: radial-gradient(120% 160% at 50% 0%, var(--navy-700), var(--navy-900)); }
.cta-band .aurora { filter: blur(60px); opacity: 0.6; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); color: #fff; margin-bottom: 16px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 72px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer .brand-name { color: #fff; }
.footer-about { font-size: 14px; line-height: 1.7; margin-top: 18px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-family: 'Sora'; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer a, .footer li { font-size: 14px; color: rgba(255,255,255,0.7); transition: color 0.3s; }
.footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a { margin-left: 22px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .aurora span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Forms / contact ---------- */
.page-top { padding: 150px 0 0; background: radial-gradient(120% 120% at 80% 0%, var(--navy-700), var(--navy-900)); color: #fff; position: relative; overflow: hidden; }
.page-top .container { position: relative; z-index: 1; }
.page-top h1 { font-size: clamp(34px, 5vw, 54px); color: #fff; margin: 16px 0 14px; }
.page-top p { color: rgba(255,255,255,0.8); font-size: 18px; max-width: 560px; }
.page-top .inner { padding-bottom: 90px; }

.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 30px; margin-top: -70px; position: relative; z-index: 2; }
.contact-side { background: radial-gradient(120% 120% at 20% 0%, var(--navy-700), var(--navy-800)); color: #fff; border-radius: var(--radius); padding: 40px; }
.contact-side h3 { color: #fff; font-size: 24px; margin-bottom: 24px; }
.contact-side .ci { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.contact-side .ci .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.1); display: grid; place-items: center; flex-shrink: 0; }
.contact-side .ci .ic svg { width: 20px; height: 20px; color: var(--teal); }
.contact-side .ci h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); margin-bottom: 4px; font-family: 'Sora'; }
.contact-side .ci a, .contact-side .ci p { color: #fff; font-size: 15px; font-weight: 500; }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; display: flex; flex-direction: column; }
.field label { font-size: 14px; font-weight: 600; margin-bottom: 8px; font-family: 'Sora'; }
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; padding: 13px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); background: var(--bg-soft); transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--azure); background: #fff; box-shadow: 0 0 0 4px rgba(47,107,255,0.12);
}
.field input.error, .field select.error, .field textarea.error { border-color: var(--error); }
.err-msg { color: var(--error); font-size: 13px; margin-top: 6px; display: none; }
.err-msg.show { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--azure); flex-shrink: 0; }
.check span { font-size: 13.5px; color: var(--slate); line-height: 1.55; }
.check a { color: var(--azure); font-weight: 600; }
.fine { font-size: 12.5px; color: var(--slate-light); line-height: 1.6; margin-bottom: 22px; }
.fine a { color: var(--azure); font-weight: 600; }
.btn-submit { width: 100%; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; top: 22px; right: 22px; z-index: 9999; display: flex; flex-direction: column; gap: 12px; }
.toast { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 16px 20px;
  box-shadow: var(--shadow); border-left: 4px solid var(--success); min-width: 300px; max-width: 420px;
  transform: translateX(480px); opacity: 0; transition: all 0.4s var(--ease); }
.toast.show { transform: none; opacity: 1; }
.toast.err { border-left-color: var(--error); }
.toast svg { width: 22px; height: 22px; color: var(--success); flex-shrink: 0; }
.toast.err svg { color: var(--error); }
.toast p { font-size: 14.5px; font-weight: 500; }

/* ---------- Legal pages ---------- */
.legal { background: var(--bg-soft); padding: 60px 0 100px; }
.legal-card { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 56px; box-shadow: var(--shadow-sm); }
.legal-card h1 { font-size: 38px; margin-bottom: 12px; }
.legal-card .dates { color: var(--slate-light); font-size: 15px; margin-bottom: 30px; }
.legal-card h2 { font-size: 24px; margin: 36px 0 14px; }
.legal-card h3 { font-size: 18px; margin: 24px 0 10px; }
.legal-card p, .legal-card li { color: var(--slate); line-height: 1.8; margin-bottom: 14px; }
.legal-card ul { margin: 0 0 16px 22px; }
.legal-card a { color: var(--azure); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links, .nav-phone { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.mobile {
    display: flex; flex-direction: column; position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    background: #fff; padding: 100px 32px 32px; gap: 24px; transform: translateX(100%);
    transition: transform 0.4s var(--ease); box-shadow: -20px 0 60px rgba(12,21,38,0.2);
  }
  .nav-links.mobile.open { transform: none; }
  .nav-links.mobile a { color: var(--ink); font-size: 18px; }
  .features, .products, .timeline, .trust-grid, .footer-top { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 28px; }
  .legal-card { padding: 36px 24px; }
}
@media (max-width: 560px) {
  .stats-strip { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .hero { padding: 150px 0 90px; }
}

/* ============================================================
   Polish pass — depth, motion, typographic detail, a11y
   ============================================================ */

/* Nicer line breaks on headings + lead copy */
h1, h2, h3, .display { text-wrap: balance; }
.hero p.lead, .section-head p, .feature p, .product .desc { text-wrap: pretty; }

/* Heavier, more confident hero headline */
.hero h1 { font-weight: 800; }

/* Sticky-nav offset so in-page anchors aren't hidden under the bar */
section[id] { scroll-margin-top: 96px; }

/* Selection + tasteful custom scrollbar */
::selection { background: rgba(47, 107, 255, 0.18); color: var(--ink); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #C3D0E6; border-radius: 10px; border: 3px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--azure); }

/* Accessible focus ring (keyboard only) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--azure); outline-offset: 3px; border-radius: 8px;
}

/* Counters shouldn't jitter width while animating */
.stat .num, .num .val { font-variant-numeric: tabular-nums; }

/* Softer, more refined aurora glow */
.aurora { opacity: 0.58; filter: blur(86px); }

/* Slow shimmer across the gradient headline */
.gradient-text { background-size: 220% 100%; animation: sheen 9s linear infinite; }
@keyframes sheen { to { background-position: 220% 0; } }

/* Give cards a resting depth (not just on hover) */
.feature, .product, .quote { box-shadow: var(--shadow-sm); }
.product.featured {
  box-shadow: 0 24px 60px rgba(11, 31, 58, 0.38), 0 0 0 1px rgba(47, 107, 255, 0.22);
}

/* Feature icon fills with the brand gradient on hover */
.feature .icon { transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease); }
.feature:hover .icon { background: var(--grad); color: #fff; transform: translateY(-2px); }

/* Logo lifts slightly on hover */
.brand img { transition: transform 0.3s var(--ease); }
.brand:hover img { transform: scale(1.06) rotate(-2deg); }

/* Primary button: subtle light sheen sweep on hover + crisp active state */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, transparent 32%, rgba(255,255,255,0.28) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform 0.7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(-1px) scale(0.99); }

/* Step dots get a soft halo ring */
.step .dot::before {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
}

/* CTA band: faint inner border for definition */
.cta-band { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }

/* Honor reduced-motion for the new animated bits too */
@media (prefers-reduced-motion: reduce) {
  .gradient-text { animation: none; }
  .btn-primary::after { display: none; }
}

/* Frame the navy logo tile so it stays defined on dark backgrounds */
.nav:not(.scrolled) .brand img { box-shadow: 0 0 0 1px rgba(255,255,255,0.14), 0 6px 18px rgba(47,107,255,0.35); }
.footer .brand img { box-shadow: 0 0 0 1px rgba(255,255,255,0.12); }
