/* ── Standard Capitals Website — Light theme, blue & red ─────────────────────────────── */
:root {
  /* Brand */
  --blue:        #0b3d91;
  --blue-dk:     #082659;
  --blue-lt:     #1d5fd0;
  --red:         #c8102e;
  --red-dk:      #a30d25;

  /* Light theme surfaces */
  /* Apple-style neutrals */
  --bg:          #ffffff;
  --bg2:         #f5f5f7;
  --surface:     #f5f5f7;
  --surface2:    #ffffff;
  --surface3:    #ececf0;
  --border:      #e3e3e8;
  --border2:     #d2d2d7;

  /* Legacy names used across the pages now point at the brand blue */
  --emerald:     var(--blue);
  --emerald-dk:  var(--blue-dk);
  --emerald-lt:  var(--blue-lt);
  --emerald-xl:  #3b82f6;
  --emerald-xs:  rgba(11,61,145,.07);
  --emerald-glow:rgba(11,61,145,.16);

  --text:        #1d1d1f;
  --text2:       #424245;
  --text3:       #6e6e73;
  --text-inv:    #ffffff;
  --amber:       #f59e0b;
  --nav-h:       72px;
  --radius:      14px;
  --radius-lg:   20px;
  --radius-pill: 980px;
  --shadow:      0 10px 40px rgba(0,0,0,.08);
  --shadow-lg:   0 30px 70px rgba(0,0,0,.12);
  --blur:        saturate(180%) blur(20px);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Segoe UI', Roboto, 'Public Sans', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--emerald); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--emerald-lt); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ── Typography ─────────────────────────────────────────────────────────── */
.grad-text { color: var(--blue); }
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--emerald);
  border-radius: 1px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text2);
  max-width: 580px;
  line-height: 1.7;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; }
.section-center { text-align: center; }
.section-center .section-label { justify-content: center; }
.section-center .section-sub { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--emerald); color: var(--text-inv);
  padding: 13px 28px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  border: none; cursor: pointer;
  transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary:hover {
  background: var(--emerald-lt); color: var(--text-inv);
  box-shadow: 0 6px 20px rgba(11,61,145,.28);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 13px 28px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600;
  border: 1px solid var(--border2); cursor: pointer;
  transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-secondary:hover {
  background: var(--surface2); color: var(--emerald);
  border-color: var(--emerald);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--emerald);
  padding: 10px 22px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--emerald);
  transition: all var(--transition);
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--emerald); color: var(--text-inv);
  box-shadow: 0 4px 12px rgba(11,61,145,.2);
}
.btn-ghost-nav {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(11,61,145,.12); color: var(--emerald);
  padding: 10px 22px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 700;
  border: 1px solid rgba(11,61,145,.25);
  transition: all var(--transition);
  text-decoration: none;
}
.btn-ghost-nav:hover {
  background: var(--emerald); color: var(--text-inv);
}
.btn-primary:active, .btn-secondary:active,
.btn-outline:active, .btn-ghost-nav:active,
.btn-cta:active, .btn-hero-ghost:active { transform: scale(.97); }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-nav.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--emerald-dk), var(--emerald));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: none;
}
.nav-logo-icon svg { color: #fff; }
.nav-logo span {
  font-size: 18px; font-weight: 800; color: var(--text);
  letter-spacing: -.4px; white-space: nowrap;
}
/* "Standard" carries the weight, "Capitals" sits back a step. */
.nav-logo span .e { font-weight: 400; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; flex: 1;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text2);
  font-size: 14px; font-weight: 500;
  transition: all var(--transition);
  display: block;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--emerald-xs);
  color: var(--emerald-lt);
}
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text2); border-radius: 2px;
  transition: all .3s ease;
}
.nav-mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,.99);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  z-index: 999;
  flex-direction: column; gap: 4px;
}
.nav-mobile.open { display: flex; animation: slideDown .25s ease; }
.nav-mobile a {
  padding: 12px 16px; border-radius: 10px;
  color: var(--text2); font-size: 15px; font-weight: 500;
  text-decoration: none; transition: all var(--transition);
  display: block;
}
.nav-mobile a:hover, .nav-mobile a.active {
  background: var(--emerald-xs); color: var(--emerald-lt);
}
.nav-mobile-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: var(--nav-h);
  padding: 76px 0 118px;
  color: #fff;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(255,255,255,.10) 0%, transparent 60%),
    linear-gradient(118deg, var(--blue-dk) 0%, var(--blue) 58%, #124aa8 100%);
  border-bottom: 5px solid var(--red);
}
/* Quiet concentric arcs, the only decoration */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.09);
  pointer-events: none;
}
.hero::before { width: 760px; height: 760px; left: -280px; bottom: -520px; }
.hero::after  { width: 1080px; height: 1080px; left: -440px; bottom: -760px; }
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 400px);
  gap: 72px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: rgba(255,255,255,.82);
  padding-left: 14px;
  border-left: 3px solid var(--red);
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin-bottom: 20px;
  color: #fff;
  text-wrap: balance;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.86);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  padding: 14px 30px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  border: 1.5px solid var(--red);
  transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-cta:hover { background: var(--red-dk); border-color: var(--red-dk); color: #fff; }
.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  padding: 14px 28px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.55);
  transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-hero-ghost:hover { background: #fff; color: var(--blue); border-color: #fff; }
.hero-points {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero-points li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.9);
}
.hero-points svg { color: #fff; opacity: .9; }

/* Sign-in card in the hero */
.hero-signin {
  background: #fff; color: var(--text);
  border-radius: 14px;
  padding: 30px 30px 26px;
  box-shadow: 0 24px 60px rgba(2,6,23,.34);
  border-top: 4px solid var(--red);
}
.hero-signin h2 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.hero-signin-sub { font-size: 14px; color: var(--text2); margin-bottom: 20px; }
.hero-signin .form-group { margin-bottom: 14px; }
.hero-signin .form-label { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.hero-signin .form-control { background: #fff; border-color: var(--border2); border-radius: 8px; }
.hero-signin-btn {
  width: 100%; justify-content: center;
  border-radius: 8px; padding: 13px 20px; margin-top: 6px;
}
.hero-signin-btn:hover { transform: none; }
.hero-signin-error {
  display: none;
  background: rgba(200,16,46,.07); color: var(--red-dk);
  border: 1px solid rgba(200,16,46,.2);
  font-size: 13px; padding: 9px 12px; border-radius: 8px; margin-bottom: 14px;
}
.hero-signin-links {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
  font-size: 13.5px; font-weight: 600;
}
.hero-signin-secure {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--text3); margin-top: 14px;
}

/* Quick links row that overlaps the hero */
.quick-links { position: relative; z-index: 2; margin-top: -56px; }
.quick-links-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quick-link {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 26px 12px 22px;
  color: var(--text); font-size: 14px; font-weight: 600; text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}
.quick-link:last-child { border-right: none; }
.quick-link svg { color: var(--blue); }
.quick-link:hover { background: var(--surface); color: var(--blue); border-bottom-color: var(--red); }

/* Bank card used in hero */
.site-bank-card {
  width: 340px; height: 210px;
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(135deg, #082659 0%, #0b3d91 55%, #1d5fd0 100%);
  position: relative; overflow: hidden;
  box-shadow: 0 24px 48px rgba(2,6,23,.26);
  display: flex; flex-direction: column; justify-content: space-between;
}
.site-bank-card::before {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.site-bank-card::after {
  content: ''; position: absolute;
  bottom: -80px; left: -40px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.sbc-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.sbc-chip {
  width: 36px; height: 28px;
  background: linear-gradient(135deg, #d4a017, #f5c842, #b8860b);
  border-radius: 5px;
}
.sbc-nfc { color: rgba(255,255,255,.5); }
.sbc-mid { position: relative; z-index: 1; font-family: 'Courier New', monospace; font-size: 17px; font-weight: 600; letter-spacing: 3px; color: rgba(255,255,255,.9); }
.sbc-bot { display: flex; justify-content: space-between; align-items: flex-end; position: relative; z-index: 1; }
.sbc-label { font-size: 9px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 2px; }
.sbc-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.9); text-transform: uppercase; letter-spacing: .5px; }
.sbc-exp  { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.9); }
.sbc-network { height: 34px; }

/* ── Feature Cards ───────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all .3s ease;
  cursor: default;
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--emerald-xs) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
}
.feature-card:hover {
  border-color: rgba(11,61,145,.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(2,6,23,.10);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px;
  background: var(--emerald-xs);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald);
  margin-bottom: 18px;
  transition: all .3s ease;
}
.feature-card:hover .feature-icon {
  background: rgba(11,61,145,.2);
  box-shadow: none;
}
.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-desc  { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ── How it works ────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: calc(16.67% + 20px); right: calc(16.67% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-lt), var(--emerald));
  background-size: 200% 100%;
  animation: gradient-shift 3s linear infinite;
}
.step-card {
  text-align: center;
  position: relative;
}
.step-num {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--emerald-dk), var(--emerald));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px; font-weight: 900; color: var(--text-inv);
  box-shadow: none;
  position: relative; z-index: 1;
}
.step-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.step-desc  { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ── Stats ───────────────────────────────────────────────────────────────── */
.stats-section {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(11,61,145,.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(11,61,145,.05) 0%, transparent 60%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative; z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-suffix { color: var(--emerald); }
.stat-label { font-size: 14px; color: var(--text3); font-weight: 500; }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .3s ease;
}
.testimonial-card:hover {
  border-color: rgba(11,61,145,.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.testimonial-stars {
  display: flex; gap: 4px; margin-bottom: 16px;
  color: #f59e0b;
}
.testimonial-text {
  font-size: 15px; line-height: 1.7;
  color: var(--text2); margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-dk), var(--emerald));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #fff;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--text3); margin-top: 2px; }

/* ── CTA Section ─────────────────────────────────────────────────────────── */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #082659 0%, #0b3d91 60%, #124aa8 100%);
}
.cta-bg::before {
  content: ''; position: absolute; inset: 0;
  background: none;
}
.cta-inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 680px; margin: 0 auto;
}
.cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900; letter-spacing: -.04em;
  margin-bottom: 20px;
}
.cta-sub {
  font-size: 1.1rem; color: var(--text2);
  margin-bottom: 40px; line-height: 1.7;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Page hero (inner pages) ─────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 72px;
  position: relative; overflow: hidden;
  text-align: center;
  margin-top: var(--nav-h);
  color: #fff;
  border-bottom: 5px solid var(--red);
}
/* Photographic banner: the page sets --banner to its own image */
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--banner, none) center / cover no-repeat;
  background-color: var(--blue-dk);
}
/* A navy wash keeps the white headline legible over any photo */
.page-hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,38,89,.92) 0%, rgba(8,38,89,.78) 45%, rgba(8,38,89,.55) 100%);
}
.page-hero-bg::after { content: none; }
.page-hero { padding-top: calc(72px); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800; letter-spacing: -.035em;
  line-height: 1.1; margin-bottom: 18px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(2,6,23,.45);
}
.page-hero-title span { color: #fff; }
.page-hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.88);
  max-width: 580px; margin: 0 auto; line-height: 1.7;
}
.page-hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,.5); }
.page-hero .btn-secondary:hover { background: #fff; color: var(--blue); border-color: #fff; }
.page-hero .btn-primary { background: var(--red); }
.page-hero .btn-primary:hover { background: var(--red-dk); box-shadow: none; }

/* ── Account cards ───────────────────────────────────────────────────────── */
.account-cards {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.account-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .3s ease;
  position: relative; overflow: hidden;
}
.account-card.featured {
  border-color: var(--emerald);
  background: linear-gradient(160deg, #eef4ff 0%, #ffffff 60%);
}
.account-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: 20px; right: 20px;
  background: var(--emerald);
  color: var(--text-inv);
  font-size: 10px; font-weight: 800;
  letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
}
.account-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.account-card-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--emerald-xs); color: var(--emerald);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.account-card-name { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.account-card-tagline { font-size: 14px; color: var(--text2); margin-bottom: 24px; line-height: 1.5; }
.account-card-rate {
  font-size: 36px; font-weight: 900; letter-spacing: -.04em;
  margin-bottom: 4px;
}
.account-card-rate-label { font-size: 12px; color: var(--text3); margin-bottom: 24px; }
.account-features { list-style: none; margin-bottom: 28px; }
.account-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text2);
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.account-features li:last-child { border-bottom: none; }
.account-features li svg { color: var(--emerald); flex-shrink: 0; }

/* ── Timeline ────────────────────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 700px; margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute; left: 12px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--emerald), var(--border));
}
.timeline-item {
  position: relative;
  margin-bottom: 48px;
}
.timeline-item::before {
  content: '';
  position: absolute; left: -34px; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: none;
}
.timeline-year {
  font-size: 12px; font-weight: 700; color: var(--emerald);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.timeline-desc { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ── Values grid ─────────────────────────────────────────────────────────── */
.values-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 20px;
}
.value-card {
  display: flex; gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .3s ease;
}
.value-card:hover {
  border-color: rgba(11,61,145,.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.value-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--emerald-xs); color: var(--emerald);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.value-desc  { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* ── Team ────────────────────────────────────────────────────────────────── */
.team-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.team-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  transition: all .3s ease;
}
.team-card:hover {
  border-color: rgba(11,61,145,.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-dk), var(--emerald));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px; font-weight: 900; color: #fff;
  box-shadow: none;
}
.team-name  { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.team-role  { font-size: 13px; color: var(--emerald); font-weight: 600; margin-bottom: 10px; }
.team-bio   { font-size: 13px; color: var(--text3); line-height: 1.6; }

/* ── FAQ accordion ───────────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left;
  padding: 20px 0;
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text); font-size: 16px; font-weight: 600;
  gap: 16px; transition: color var(--transition);
}
.faq-question:hover { color: var(--emerald); }
.faq-question svg { flex-shrink: 0; transition: transform .3s ease; color: var(--text3); }
.faq-item.open .faq-question svg { transform: rotate(45deg); color: var(--emerald); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  font-size: 14px; color: var(--text2); line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ── Contact form ────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start;
}
.contact-info-item {
  display: flex; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.contact-info-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--emerald-xs); color: var(--emerald);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-label { font-size: 12px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px; }
.contact-info-value { font-size: 15px; font-weight: 600; }
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text2); margin-bottom: 8px;
  letter-spacing: 0;
}
.form-control {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px; outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.form-control::placeholder { color: var(--text3); }
.form-control:focus { border-color: var(--emerald); box-shadow: 0 0 0 4px var(--emerald-glow); }
.form-control:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--emerald);
}
textarea.form-control { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Pricing comparison ──────────────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s ease;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pricing-card.featured { border-color: var(--emerald); }
.pricing-head {
  padding: 28px;
  border-bottom: 1px solid var(--border);
}
.pricing-card.featured .pricing-head {
  background: linear-gradient(135deg, rgba(11,61,145,.12), transparent);
}
.pricing-tier { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--emerald); margin-bottom: 8px; }
.pricing-name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.pricing-desc { font-size: 13px; color: var(--text3); }
.pricing-body { padding: 28px; }
.pricing-features { list-style: none; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text2);
  padding: 9px 0; border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg { color: var(--emerald); flex-shrink: 0; margin-top: 2px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand p {
  font-size: 14px; color: var(--text3);
  line-height: 1.75; margin: 16px 0 20px;
  max-width: 260px;
}
.footer-heading {
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text2);
  margin-bottom: 18px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: var(--text3); text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--emerald-lt); }
.footer-bar {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bar p { font-size: 13px; color: var(--text3); }
.footer-bar-links { display: flex; gap: 24px; }
.footer-bar-links a { font-size: 13px; color: var(--text3); text-decoration: none; }
.footer-bar-links a:hover { color: var(--emerald); }

/* ── Scroll reveal animations ────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="up"]    { transform: translateY(36px); }
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}
[data-delay="100"] { transition-delay: .1s; }
[data-delay="200"] { transition-delay: .2s; }
[data-delay="300"] { transition-delay: .3s; }
[data-delay="400"] { transition-delay: .4s; }
[data-delay="500"] { transition-delay: .5s; }
[data-delay="600"] { transition-delay: .6s; }

/* ── Keyframes ───────────────────────────────────────────────────────────── */
@keyframes fadeInUp    { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInDown  { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:translateX(0); } }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33%  { transform: translateY(-12px) rotate(1.5deg); }
  66%  { transform: translateY(-6px) rotate(-1deg); }
}
@keyframes blob {
  0%,100% { border-radius:60% 40% 30% 70%/60% 30% 70% 40%; transform: rotate(0deg); }
  25%  { border-radius:30% 70% 50% 50%/40% 60% 40% 60%; }
  50%  { border-radius:50% 50% 70% 30%/30% 70% 60% 40%; transform: rotate(5deg); }
  75%  { border-radius:70% 30% 40% 60%/50% 40% 60% 50%; }
}
@keyframes gradient-shift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%     { opacity:.5; transform:scale(1.5); }
}
@keyframes slideDown { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }
@keyframes spin-slow { to { transform:rotate(360deg); } }
@keyframes count-up { from { opacity:0; } to { opacity:1; } }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid    { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid{ grid-template-columns: repeat(2,1fr); }
  .team-grid        { grid-template-columns: repeat(2,1fr); }
  .footer-grid      { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .hero-inner     { grid-template-columns: 1fr; }
  .hero-visual    { order: -1; }
  .hero-title     { font-size: 2.4rem; }
  .steps-grid     { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .stats-grid     { grid-template-columns: repeat(2,1fr); }
  .stat-item      { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2n) { border-right: none; }
  .account-cards  { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .pricing-grid   { grid-template-columns: 1fr; }
  .nav-links      { display: none; }
  .nav-actions    { display: none; }
  .nav-toggle     { display: flex; margin-left: auto; }
}
@media (max-width: 600px) {
  .section           { padding: 70px 0; }
  .features-grid     { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid         { grid-template-columns: repeat(2,1fr); }
  .footer-grid       { grid-template-columns: 1fr; }
  .form-row          { grid-template-columns: 1fr; }
  .site-bank-card    { width: 280px; height: 175px; }
  .hero-actions      { flex-direction: column; }
  .hero-actions a    { justify-content: center; }
}

/* ── Light theme overrides ───────────────────────────────────────────────── */
.grad-text {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--blue);
}
.site-nav, .site-nav.scrolled {
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: 0 1px 0 var(--border);
}
.site-nav.scrolled { box-shadow: 0 1px 0 var(--border), 0 6px 20px rgba(0,0,0,.06); }
.nav-links a { color: var(--text); font-weight: 600; }
.nav-links a:hover, .nav-links a.active { background: transparent; color: var(--blue); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.nav-toggle span { background: var(--text); }

/* Logo: navy column capital on a white chip with a red base strip */
.nav-logo-icon {
  position: relative; overflow: hidden;
  background: var(--blue);
  border-radius: 8px;
  box-shadow: none;
}
.nav-logo-icon::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 6px; background: var(--red);
}
.nav-logo-icon svg { position: relative; top: -2px; }

.btn-primary:hover { background: var(--blue-dk); box-shadow: 0 6px 18px rgba(11,61,145,.22); }
.btn-ghost-nav { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-ghost-nav:hover { background: var(--blue-dk); border-color: var(--blue-dk); color: #fff; }
.btn-outline:hover, .btn-secondary:hover { box-shadow: none; }
.btn-secondary:hover { background: var(--surface); }

.feature-card, .testimonial-card, .value-card, .team-card,
.account-card, .pricing-card, .contact-form-card { background: #fff; }
.feature-card:hover .feature-icon { box-shadow: none; }
.step-num, .team-avatar { box-shadow: none; }
.steps-grid::before { background: var(--border2); animation: none; }
.timeline-item::before { box-shadow: 0 0 0 4px var(--bg); }
.stat-suffix { color: var(--red); }
.stats-section { background: var(--bg2); }
.site-footer { background: var(--bg2); }
.form-control { background: #fff; border-color: var(--border2); }

/* The closing call to action sits on brand blue */
.cta-section { border-top: 5px solid var(--red); }
.cta-title, .cta-section .grad-text { color: #fff; }
.cta-sub { color: rgba(255,255,255,.86); }
.cta-section .section-label { color: rgba(255,255,255,.85); }
.cta-section .section-label::before { background: var(--red); }
.cta-section .btn-primary { background: #fff; color: var(--blue); }
.cta-section .btn-primary:hover { background: #eef4ff; color: var(--blue-dk); box-shadow: none; }
.cta-section .btn-secondary { color: #fff; border-color: rgba(255,255,255,.55); }
.cta-section .btn-secondary:hover { background: #fff; color: var(--blue); border-color: #fff; }

@media (max-width: 1024px) {
  .hero-inner { gap: 44px; }
  .quick-links-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-link:nth-child(3n) { border-right: none; }
  .quick-link:nth-child(-n+3) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 900px) {
  .hero { padding: 52px 0 96px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-signin { max-width: 460px; }
}
@media (max-width: 600px) {
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-link { border-right: 1px solid var(--border) !important; border-bottom: 1px solid var(--border) !important; }
  .quick-link:nth-child(2n) { border-right: none !important; }
  .hero-actions a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ── Two-row header: audience tabs and help links above, products below ──── */
:root { --nav-h: 114px; }
html { scroll-padding-top: calc(var(--nav-h) + 16px); }
.nav-utility { height: 42px; background: var(--bg2); border-bottom: 1px solid var(--border); }
.nav-utility-inner {
  max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: stretch; justify-content: space-between;
}
.nav-segments, .nav-utility-links { display: flex; align-items: stretch; }
.nav-segments a, .nav-utility-links a {
  display: flex; align-items: center;
  font-size: 13.5px; font-weight: 600; color: var(--text2);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.nav-segments a { padding: 0 2px; margin-right: 26px; }
.nav-utility-links a { padding: 0 2px; margin-left: 26px; font-weight: 500; }
.nav-segments a:hover, .nav-utility-links a:hover { color: var(--blue); }
.nav-segments a.active { color: var(--text); border-bottom-color: var(--blue); }
.nav-utility-links a.active { color: var(--blue); }
.site-nav .nav-container { height: 72px; gap: 28px; }
.nav-links { gap: 0; }
.nav-links a { padding: 25px 13px; font-size: 14.5px; }
.nav-links a:hover, .nav-links a.active { box-shadow: inset 0 -3px 0 var(--red); }
@media (max-width: 1120px) {
  .nav-links a { padding: 25px 9px; font-size: 13.5px; }
  .site-nav .nav-container { gap: 16px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 72px; }
  .nav-utility { display: none; }
}

/* ── Hero photograph ─────────────────────────────────────────────────────── */
.hero-photo {
  position: absolute; top: 0; bottom: 0;
  /* sits behind the gap between the headline and the sign-in card */
  left: calc(50% - 560px);
  aspect-ratio: 16 / 9;
  background: url('/img/hero-family.jpg') center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 26%, #000 44%, #000 76%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 26%, #000 44%, #000 76%, transparent 100%);
}
.hero::before, .hero::after { z-index: 1; }
.hero-inner { z-index: 2; grid-template-columns: minmax(0, 430px) minmax(0, 390px); justify-content: space-between; }
.hero-title { font-size: clamp(2.2rem, 3.6vw, 3.1rem); text-shadow: 0 1px 3px rgba(2,6,23,.5); }
.hero-sub { text-shadow: 0 1px 2px rgba(2,6,23,.5); }
.hero-points { flex-direction: column; gap: 10px; }
@media (max-width: 1180px) {
  /* not enough room for headline, faces and sign-in side by side */
  .hero-photo { left: 0; right: 0; aspect-ratio: auto; opacity: .22; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-points { flex-direction: row; }
}

/* Keep the two faces in the gap between the headline and the sign-in card */
.hero-photo { left: calc(50% - 62px); transform: translateX(-54%); }
.hero-points { flex-direction: row; }
@media (max-width: 1180px) { .hero-photo { left: 0; transform: none; } }
.hero-photo {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.22) 30%, #000 50%, #000 78%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.22) 30%, #000 50%, #000 78%, transparent 100%);
}
@media (max-width: 1180px) { .hero-photo { -webkit-mask-image: none; mask-image: none; } }

/* ── Inner-page banner: phone width ──────────────────────────────────────── */
@media (max-width: 600px) {
  .page-hero { padding-top: 48px; padding-bottom: 48px; }
  .page-hero-title { font-size: 1.9rem; }
  .page-hero-inner > div[style*="display:flex"] { flex-direction: column; align-items: center; }
  .page-hero-inner .btn-primary,
  .page-hero-inner .btn-secondary { width: 100%; max-width: 320px; justify-content: center; }
}
/* Inline two- and three-column grids on the marketing pages were never
   given a mobile breakpoint; collapse them so nothing overflows the screen. */
@media (max-width: 760px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:repeat(2"],
  [style*="grid-template-columns: repeat(2"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
}

/* ── Inline stat strip (centred-showcase sections) ───────────────────────── */
.inline-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.inline-stats > div { padding: 24px 16px; text-align: center; border-right: 1px solid var(--border); }
.inline-stats > div:last-child { border-right: none; }
.inline-stat-num { font-size: 28px; font-weight: 900; color: var(--blue); letter-spacing: -.02em; line-height: 1; }
.inline-stat-label { font-size: 13px; color: var(--text3); margin-top: 6px; }
@media (max-width: 700px) {
  .inline-stats { grid-template-columns: repeat(2, 1fr); }
  .inline-stats > div:nth-child(2) { border-right: none; }
  .inline-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
/* Horizontal benefit row (check items in columns, not a vertical list) */
.benefit-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; list-style: none; }
.benefit-row li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text2); line-height: 1.5; }
.benefit-row svg { color: var(--blue); flex-shrink: 0; margin-top: 3px; }
@media (max-width: 600px) { .benefit-row { grid-template-columns: 1fr; gap: 12px; } }
