/* ============================================================
   ADAR — Financial Solutions & Mortgage Consulting
   Brand (2026): Deep navy/black + electric blue (#233DFF) + white
   ============================================================ */

:root {
  /* Brand colors — from new logo */
  --navy:       #0A1232;   /* logo wordmark */
  --navy-700:   #0E1A4D;
  --navy-900:   #050823;
  --navy-ink:   #050823;
  --gray-brand: #6C7390;
  --gray-700:   #4A5070;

  /* Accent (mapped to --gold* aliases to preserve existing rules) */
  --blue:       #233DFF;
  --blue-soft:  #5468FF;
  --blue-deep:  #1A2DBF;
  --gold:       var(--blue);
  --gold-soft:  var(--blue-soft);
  --gold-deep:  var(--blue-deep);

  /* Surfaces — cool, modern */
  --cream:      #F5F7FB;   /* page background — cool off-white */
  --cream-2:    #E9EDF7;
  --paper:      #FFFFFF;
  --ink:        #0A1232;
  --ink-soft:   #2A3260;
  --muted:      #6C7390;
  --line:       rgba(10, 18, 50, 0.10);
  --line-strong:rgba(10, 18, 50, 0.20);

  /* Semantic */
  --ok:         #2F8F5A;
  --warn:       #C0524A;

  /* Type */
  --font-display: "Assistant", "Arial", sans-serif;
  --font-body:    "Assistant", "Arial", sans-serif;
  --font-mono:    "Assistant", ui-monospace, monospace;

  /* Geometry */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(5,8,35,0.06), 0 2px 6px rgba(5,8,35,0.04);
  --shadow-md: 0 6px 18px rgba(5,8,35,0.08), 0 1px 3px rgba(5,8,35,0.05);
  --shadow-lg: 0 18px 50px rgba(5,8,35,0.14), 0 4px 10px rgba(5,8,35,0.06);
  --shadow-gold: 0 14px 32px rgba(35,61,255,0.34);

  --max-w: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--navy); color: var(--cream); }

/* Subtle paper texture — warm grain on cream */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(35,61,255,0.06) 0, transparent 38%),
    radial-gradient(circle at 88% 88%, rgba(10,18,50,0.05) 0, transparent 42%);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-ink);
  letter-spacing: -0.015em;
  line-height: 1.14;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a {
  color: var(--navy);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--gold-deep); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============= Layout helpers ============= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  position: relative;
  z-index: 1;
}

.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
}

.h-display { font-size: clamp(38px, 5.6vw, 76px); font-weight: 800; }
.h-1 { font-size: clamp(32px, 4.2vw, 54px); }
.h-2 { font-size: clamp(26px, 3vw, 38px); }
.h-3 { font-size: clamp(20px, 2vw, 26px); }

.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 56ch;
}

/* ============= Buttons ============= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-gold {
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(35,61,255,0.45); color: #fff; }
.btn-navy {
  background: var(--navy);
  color: var(--cream);
}
.btn-navy:hover { background: var(--navy-700); color: var(--cream); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--navy); background: rgba(10,18,50,0.04); }

.btn .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(-4px); }

/* ============= Top Nav — Liquid Glass ============= */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Liquid-glass: strong blur + saturation + subtle tint */
  -webkit-backdrop-filter: blur(22px) saturate(180%);
          backdrop-filter: blur(22px) saturate(180%);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.28)),
    radial-gradient(120% 200% at 0% 0%, rgba(35,61,255,0.10), transparent 55%),
    radial-gradient(120% 200% at 100% 0%, rgba(35,61,255,0.06), transparent 55%);
  /* Bottom hairline + inner top highlight to read as glass edge */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(10,18,50,0.06),
    0 1px 0 rgba(10,18,50,0.04);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, background .25s ease, backdrop-filter .25s ease;
  isolation: isolate;
}
/* Glossy specular highlight that runs along the top edge */
.nav-wrap::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 60%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0) 70%);
  mix-blend-mode: overlay;
  opacity: 0.7;
  z-index: 0;
}
/* Faint chromatic bloom that lives "inside" the glass */
.nav-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 120% at 20% 100%, rgba(35,61,255,0.10), transparent 60%),
    radial-gradient(50% 120% at 85% 0%,   rgba(84,104,255,0.10), transparent 60%);
  opacity: 0.9;
  z-index: -1;
}
.nav-wrap.scrolled {
  -webkit-backdrop-filter: blur(28px) saturate(200%);
          backdrop-filter: blur(28px) saturate(200%);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.70), rgba(255,255,255,0.42)),
    radial-gradient(120% 200% at 0% 0%, rgba(35,61,255,0.12), transparent 55%),
    radial-gradient(120% 200% at 100% 0%, rgba(35,61,255,0.08), transparent 55%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.70),
    inset 0 -1px 0 rgba(10,18,50,0.08),
    0 8px 24px rgba(10,18,50,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
  position: relative;
  z-index: 1;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
}
.nav-links a:hover { color: var(--navy); background: rgba(10,18,50,0.05); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.nav-phone-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(47,143,90,0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(47,143,90,0.18); }
  50%     { box-shadow: 0 0 0 8px rgba(47,143,90,0.06); }
}
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; color: var(--navy); }
.burger:hover { background: rgba(10,18,50,0.06); }

/* ============= Hero ============= */
.hero {
  position: relative;
  padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 120px);
  overflow: hidden;
  background-image:
    linear-gradient(to right,  rgba(10,18,50,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,18,50,0.045) 1px, transparent 1px),
    linear-gradient(to right,  rgba(35,61,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(35,61,255,0.05) 1px, transparent 1px);
  background-size:
    48px 48px,
    48px 48px,
    240px 240px,
    240px 240px;
  background-position: 0 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(80% 60% at 50% 40%, transparent 0%, rgba(245,247,251,0.55) 60%, rgba(245,247,251,0.92) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero-eyebrow {
  margin-bottom: 22px;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero h1 .accent {
  color: var(--navy);
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  inset-inline: -2px;
  bottom: 4px;
  height: 14px;
  background: rgba(35,61,255,0.32);
  z-index: -1;
  border-radius: 2px;
}

/* Hero two-line headline: line 1 is a light setup, line 2 is the bold answer */
.hero h1 .hero-line {
  display: block;
}
.hero h1 .hero-line-1 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  white-space: nowrap;
  margin-bottom: 18px;
  line-height: 1;
}
.hero h1 .hero-line-2 {
  font-weight: 800;
  line-height: 1;
  display: block;
}

/* Risk accent — color only, no underline, no strike-through */
.hero h1 .accent-risk {
  color: #E63946;
  position: relative;
  white-space: nowrap;
  font-weight: 600;
}
.hero h1 .accent-risk::after,
.hero h1 .accent-risk::before {
  content: none;
}

/* Solution accent — coordinated green, no glow */
.hero h1 .accent-solution {
  color: #0EA968;
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent-solution::after { content: none; }
.hero-lede {
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 36px;
}
.hero-trust {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px dashed var(--line-strong);
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-trust-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--navy);
  line-height: 1;
}
.hero-trust-label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Hero decorative monogram */
.hero-bg-mark {
  position: absolute;
  inset-inline-start: -8%;
  top: -10%;
  width: 60%;
  pointer-events: none;
  opacity: 0.04;
  z-index: 0;
}

/* ============= Lead Form ============= */
.lead-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.lead-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(180deg, rgba(35,61,255,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.lead-card-ribbon {
  position: absolute;
  top: -12px;
  inset-inline-end: 28px;
  background: var(--navy);
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}
.lead-title {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy-ink);
  line-height: 1.18;
  margin-bottom: 8px;
}
.lead-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 13px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
  direction: rtl;
  text-align: right;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(10,18,50,0.1);
}
.field.err input,
.field.err select { border-color: var(--warn); }
.field-err {
  font-size: 12px;
  color: var(--warn);
  margin-top: 2px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lead-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 17px;
  margin-top: 6px;
}
.lead-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  justify-content: center;
}
.lead-success {
  text-align: center;
  padding: 14px 6px;
}
.lead-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(47,143,90,0.12);
  color: var(--ok);
  display: grid; place-items: center;
  margin: 0 auto 14px;
}

/* ============= Partner strip ============= */
.partner-strip {
  background: var(--paper);
  border-block: 1px solid var(--line);
  padding-block: clamp(28px, 4vw, 44px);
  position: relative;
}
.partner-head {
  text-align: center;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.partner-head-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}
.partner-head-tag::before,
.partner-head-tag::after {
  content: "";
  width: 24px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.partner-head-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  color: var(--navy-ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.partner-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 0;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  position: relative;
  filter: grayscale(40%);
  opacity: 0.85;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.partner-logo:not(:first-child)::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--line);
}
.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}
.partner-logo img {
  max-height: 38px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
/* Default: only the static grid shows; marquee is mobile-only */
.partner-marquee { display: none; }

@media (max-width: 720px) {
  .partner-list { grid-template-columns: repeat(2, 1fr); gap: 4px 0; }
  .partner-logo { padding: 18px 12px; }
  .partner-logo:nth-child(odd):not(:last-child)::after { display: block; }
  .partner-logo:nth-child(even)::after { display: none; }
  .partner-logo img { max-height: 32px; }
}
@media (max-width: 720px) {
  /* Hide the static grid; show the marquee instead */
  .partner-list { display: none; }
  .partner-marquee {
    display: block;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    padding-block: 6px;
  }
  .partner-marquee-track {
    display: flex;
    align-items: center;
    gap: 36px;
    width: max-content;
    animation: partnerMarquee 22s linear infinite;
  }
  .partner-marquee-track .partner-logo {
    flex: 0 0 auto;
    padding: 10px 6px;
    filter: grayscale(30%);
    opacity: 0.9;
  }
  .partner-marquee-track .partner-logo::after { display: none !important; }
  .partner-marquee-track .partner-logo img { max-height: 30px; max-width: 110px; }
  @keyframes partnerMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(50%); }
  }
}

/* ============= Pain section ============= */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.section-head .lede { margin: 14px auto 0; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before, .section-head .eyebrow::after {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pain-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 22px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pain-card:hover {
  transform: translateY(-3px);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}
.pain-quote {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--navy-ink);
  line-height: 1.35;
  margin-bottom: 10px;
}
.pain-tag {
  font-size: 13px;
  color: var(--gold-deep);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pain-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gray-brand);
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}

/* ============= Services section ============= */
.services-wrap {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.services-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 90% 0%, rgba(35,61,255,0.18), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(126,125,138,0.18), transparent 60%);
  pointer-events: none;
}
.services-wrap .section-head { color: var(--cream); }
.services-wrap h2 { color: var(--cream); }
.services-wrap .lede { color: rgba(245,247,251,0.74); }
.services-wrap .eyebrow { color: var(--gold-soft); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.service-card:hover {
  border-color: var(--gold-soft);
  background: rgba(255,255,255,0.06);
  transform: translateY(-3px);
}
.service-card-num {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: rgba(35,61,255,0.55);
  position: absolute;
  inset-inline-end: 24px;
  top: 18px;
}
.service-card h3 {
  color: var(--cream);
  font-size: 26px;
  line-height: 1.2;
  max-width: 80%;
}
.service-card p {
  color: rgba(245,247,251,0.74);
  font-size: 16px;
  line-height: 1.6;
}
.service-card .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.chip {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(35,61,255,0.16);
  color: var(--gold-soft);
  border: 1px solid rgba(35,61,255,0.28);
  letter-spacing: 0.02em;
}

/* ============= Founder ============= */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  max-width: 820px;
}
.founder-portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(10,18,50,0.07) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, var(--cream-2), var(--cream));
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 22px;
}
.founder-portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  z-index: 0;
}
.founder-portrait > .founder-portrait-name { position: relative; z-index: 1; }
.founder-portrait-tag {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-brand);
  background: var(--paper);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.founder-portrait-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  text-align: center;
  background: var(--paper);
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.founder-portrait-name span {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.founder-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  color: var(--navy-ink);
  margin: 16px 0 22px;
  position: relative;
  padding-inline-start: 22px;
  border-inline-start: 3px solid var(--gold);
}
.founder-sig {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-strong);
}
.founder-sig-mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.founder-sig-info {
  font-size: 14px;
  color: var(--muted);
}
.founder-sig-info strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}

/* ============= Process ============= */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  counter-reset: step;
}
.process-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 24px;
  position: relative;
  transition: border-color .2s ease, transform .2s ease;
}
.process-step:hover { border-color: var(--navy); transform: translateY(-3px); }
.process-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.process-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(35,61,255,0.10), rgba(35,61,255,0.04));
  border: 1px solid rgba(35,61,255,0.15);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 2px 8px rgba(35,61,255,0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.process-step-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}
.process-step:hover .process-step-icon {
  transform: translateY(-2px) rotate(-2deg);
  border-color: rgba(35,61,255,0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 8px 18px rgba(35,61,255,0.16);
}
.process-step-num {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--blue);
  opacity: 0.45;
  font-weight: 700;
  margin-bottom: 0;
}
.process-step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.process-step p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}
.process-step::after {
  content: "←";
  position: absolute;
  inset-inline-start: -22px;
  top: 36px;
  color: var(--gold);
  font-size: 26px;
  font-weight: 300;
  opacity: 0.5;
}
.process-step:first-child::after { display: none; }

/* ============= Stats ============= */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 36px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.stat {
  text-align: center;
  padding: 14px 22px;
  border-inline-end: 1px solid var(--line);
}
.stat:last-child { border-inline-end: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num small {
  font-size: 0.55em;
  color: var(--gold-deep);
  vertical-align: super;
  margin-inline-start: 2px;
}
.stat-label {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ============= Testimonials ============= */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.test-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 30px;
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.test-quote {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.45;
  color: var(--navy-ink);
}
.test-stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 18px;
}
.test-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.test-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
  display: grid;
  place-items: center;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 18px;
}
.test-name { font-weight: 600; font-size: 15px; }
.test-meta { font-size: 13px; color: var(--muted); }

/* ============= FAQ ============= */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.faq-aside h2 { margin-bottom: 16px; }
.faq-aside .lede { margin-bottom: 24px; }
.faq-aside .btn { margin-top: 8px; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.open { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: right;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--navy-ink);
  line-height: 1.3;
}
.faq-toggle {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream);
  display: grid; place-items: center;
  color: var(--navy);
  font-size: 20px;
  transition: transform .25s ease, background .2s ease;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 320px; }

/* ============= Final CTA ============= */
.final-cta {
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(35,61,255,0.22), transparent 60%),
    linear-gradient(180deg, var(--navy-700), var(--navy-900));
  color: var(--cream);
  border-radius: var(--r-xl);
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.final-cta::after {
  content: "";
  position: absolute;
  inset-inline-start: -10%;
  bottom: -40%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(35,61,255,0.15), transparent 60%);
  pointer-events: none;
}
.final-cta .eyebrow { color: var(--gold-soft); }
.final-cta h2 { color: var(--cream); font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 18px; }
.final-cta p { color: rgba(245,247,251,0.78); }
.final-cta ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.final-cta li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: rgba(245,247,251,0.92);
}
.final-cta li::before {
  content: "";
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  background-image:
    linear-gradient(45deg, transparent 45%, var(--navy-ink) 45% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--navy-ink) 45% 55%, transparent 55%);
  background-size: 8px 8px, 12px 12px;
  background-position: 6px 8px, 6px 8px;
  background-repeat: no-repeat;
  /* Simple check mark using box */
  display: grid;
  place-items: center;
}
.final-cta li::before {
  content: "✓";
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  background-image: none;
}

/* ============= Footer ============= */
.footer {
  background: var(--navy-900);
  color: rgba(245,247,251,0.7);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: rgba(245,247,251,0.7); font-size: 15px; }
.footer a:hover { color: var(--gold-soft); }
.footer-brand img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.88;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 38ch; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}
.footer-contact-item svg { color: var(--gold-soft); flex-shrink: 0; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(245,247,251,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  flex-wrap: wrap;
  color: rgba(245,247,251,0.5);
}

/* ============= Sticky mobile CTA (mobile only) ============= */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  z-index: 60;
  gap: 8px;
  box-shadow: 0 -8px 24px rgba(5,8,35,0.08);
}
.mobile-cta a { flex: 1; justify-content: center; padding: 12px; font-size: 15px; }

/* ============= Reveal animation ============= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1),
              transform .9s cubic-bezier(.2,.7,.2,1),
              filter .9s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
}
.reveal-stagger.in > *  { opacity: 1; transform: none; filter: blur(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }

/* ============= Preloader ============= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition: opacity .7s ease, visibility .7s ease;
}
.preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.preloader-logo {
  width: 110px;
  height: 110px;
  position: relative;
}
.preloader-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  animation: logoFade 1.4s ease infinite alternate;
}
@keyframes logoFade {
  from { opacity: 0.55; transform: scale(0.96); }
  to   { opacity: 1;    transform: scale(1.02); }
}
.preloader-bar {
  width: 180px;
  height: 2px;
  background: rgba(10,18,50,0.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.preloader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: barSlide 1.4s linear infinite;
}
@keyframes barSlide {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}
.preloader-label {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-700);
  font-weight: 600;
}

/* ============= Scroll progress bar ============= */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
  transform-origin: right center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-deep));
  box-shadow: 0 1px 4px rgba(35,61,255,0.35);
  transition: transform .08s linear;
}

/* ============= Hero ascending trend chart (decorative backdrop) ============= */
.hero-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  mask-image:
    linear-gradient(180deg, transparent 0, #000 22%, #000 100%),
    linear-gradient(90deg,  transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0, #000 22%, #000 100%),
    linear-gradient(90deg,  transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

/* Digital dot-grid pattern */
.hero-chart-pattern { opacity: 0.55; }

/* Horizontal grid lines */
.hero-chart-grid line {
  stroke: rgba(10, 18, 50, 0.05);
  stroke-width: 1;
  stroke-dasharray: 2 10;
  vector-effect: non-scaling-stroke;
}

/* Secondary soft trend line (dashed) */
.hero-chart-line-2 {
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 4 8;
  animation: hcDashDrift 18s linear infinite;
  opacity: 0.55;
}
@keyframes hcDashDrift {
  to { stroke-dashoffset: -200; }
}

/* Main trend line — continuously fills from start to end, then loops.
   Uses dash-offset on a path normalized to length 1.
   The "fade" pass after the draw keeps the visual gentle. */
.hero-chart-line {
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: hcDrawLoop 7s cubic-bezier(.55,.1,.35,.95) 0.4s infinite;
}
@keyframes hcDrawLoop {
  0%   { stroke-dashoffset: 1;   opacity: 0;   }
  10%  {                          opacity: 0.6; }
  70%  { stroke-dashoffset: 0;   opacity: 0.85;}
  85%  { stroke-dashoffset: 0;   opacity: 0.85;}
  100% { stroke-dashoffset: 0;   opacity: 0;   }
}

/* Area fill below main line — breathes with the line */
.hero-chart-area {
  opacity: 0;
  animation: hcAreaLoop 7s ease-in-out 0.4s infinite;
}
@keyframes hcAreaLoop {
  0%   { opacity: 0; }
  35%  { opacity: 0.55; }
  85%  { opacity: 0.55; }
  100% { opacity: 0; }
}

/* Static data points along the climb */
.hero-chart-dots circle {
  fill: rgba(35, 61, 255, 0.45);
  opacity: 0;
  animation: hcDotLoop 7s ease-in-out 0.4s infinite;
}
.hero-chart-dots circle:nth-child(1) { animation-delay: 1.2s; }
.hero-chart-dots circle:nth-child(2) { animation-delay: 1.9s; }
.hero-chart-dots circle:nth-child(3) { animation-delay: 2.6s; }
.hero-chart-dots circle:nth-child(4) { animation-delay: 3.3s; }
.hero-chart-dots circle:nth-child(5) { animation-delay: 4.0s; }
.hero-chart-dots circle:nth-child(6) { animation-delay: 4.7s; }
@keyframes hcDotLoop {
  0%   { opacity: 0; }
  10%  { opacity: 0.55; }
  70%  { opacity: 0.55; }
  90%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Up-trend chevron marks — small ascending arrows scattered */
.hero-chart-chevrons path {
  fill: none;
  stroke: rgba(14, 169, 104, 0.55);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  animation: hcChevLoop 7s ease-in-out 0.4s infinite;
}
.hero-chart-chevrons path:nth-child(1) { animation-delay: 1.4s; }
.hero-chart-chevrons path:nth-child(2) { animation-delay: 2.1s; }
.hero-chart-chevrons path:nth-child(3) { animation-delay: 2.8s; }
.hero-chart-chevrons path:nth-child(4) { animation-delay: 3.5s; }
.hero-chart-chevrons path:nth-child(5) { animation-delay: 4.2s; }
@keyframes hcChevLoop {
  0%   { opacity: 0; transform: translateY(4px); }
  10%  { opacity: 0.7; transform: translateY(0); }
  70%  { opacity: 0.7; }
  100% { opacity: 0; }
}

/* Keep legacy particle classes harmless if referenced elsewhere */
.hero { position: relative; }

/* Hero ambient glow (mouse-follow) — disabled */
.hero-glow { display: none; }
.hero-grid { position: relative; z-index: 2; }

/* Hero headline staggered reveal */
.hero h1 .reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  animation: wordIn 0.9s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes wordIn {
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* ============= Services section: cursor glow + grain ============= */
.services-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(
      500px circle at var(--mx, 50%) var(--my, 50%),
      rgba(35,61,255,0.14),
      transparent 60%);
  transition: background-image .15s ease;
}
.services-wrap .container { position: relative; z-index: 1; }

/* Service card 3D tilt */
.service-card {
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
}
.service-card .service-card-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  transform: translateZ(0);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background: radial-gradient(
    320px circle at var(--cx, 50%) var(--cy, 50%),
    rgba(35,61,255,0.14),
    transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }

/* ============= Section divider ornament ============= */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-block: 0;
  margin-inline: auto;
  max-width: 320px;
  color: var(--gold);
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.divider-mark {
  width: 10px; height: 10px;
  transform: rotate(45deg);
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 0 4px rgba(35,61,255,0.12);
}

/* ============= Pulse on number reveal ============= */
.num-anim {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ============= Marquee for partner logos ============= */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

/* Improved pain card with corner mark */
.pain-card::after {
  content: "";
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.35;
  transition: opacity .2s ease, transform .25s ease;
}
.pain-card:hover::after {
  opacity: 1;
  transform: scale(1.4);
  box-shadow: 0 0 0 6px rgba(35,61,255,0.18);
}

/* Process step shimmer line */
.process-list::before {
  content: "";
  position: absolute;
  top: 60px;
  inset-inline: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
  z-index: 0;
}
.process-step { z-index: 1; }
@media (max-width: 1024px) {
  .process-list::before { display: none; }
}

/* Hero CTA pulse */
.btn-gold {
  position: relative;
  overflow: hidden;
}
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-150%);
}
.btn-gold:hover::after { transform: translateX(150%); transition: transform .9s ease; }

/* Soft pop for stat numbers when in view */
.stats-row.in .stat-num { animation: statPop .8s cubic-bezier(.2,.7,.2,1); }
@keyframes statPop {
  0%   { transform: translateY(10px) scale(0.96); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ============= Responsive ============= */
@media (max-width: 1024px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .test-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-inline-end: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .final-cta { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-portrait { max-width: 420px; margin-inline: auto; aspect-ratio: 4/3.2; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .nav-phone span { display: none; }
  .nav-logo img { height: 40px; }
  .pain-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; padding: 12px 0; }
  .stat { border-inline-end: none; border-bottom: 1px solid var(--line); padding: 18px; }
  .stat:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 80px; }
  .lead-card { padding: 22px 18px; border-radius: 18px; }
  .lead-title { font-size: 22px; }
  .nav-cta .btn { display: none; }

  /* Section padding rhythm */
  .section { padding-block: clamp(48px, 12vw, 72px); }

  /* Hero — fill the viewport on mobile so the copy + CTAs + trust strip
     live entirely above the fold; the lead form lives BELOW the fold. */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-block: 20px 24px;
    display: flex;
    align-items: stretch;
    background-size: 32px 32px, 32px 32px, 160px 160px, 160px 160px;
  }
  .hero .container.hero-grid {
    width: 100%;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    align-content: stretch;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* The copy block alone fills the viewport height above the form */
    min-height: calc(100vh - 96px);
    min-height: calc(100svh - 96px);
    padding-block: 8px 16px;
  }
  .hero-form {
    margin-top: 0;
    padding-top: 8px;
  }
  .hero-eyebrow { margin-bottom: 14px; font-size: 11px; letter-spacing: 0.12em; }
  .hero h1 { margin-bottom: 18px; }

  /* Top line allowed to wrap on mobile so it fits */
  .hero h1 .hero-line-1 {
    white-space: normal;
    font-size: clamp(20px, 6.6vw, 28px);
    margin-bottom: 8px;
    line-height: 1.15;
  }
  .hero h1 .hero-line-2 {
    font-size: clamp(34px, 11vw, 52px);
    line-height: 1.02;
  }
  /* Solution period dot — keep inline */
  .hero h1 .hero-line-2 .reveal-word:last-child { display: none; }

  .hero-lede { font-size: 15px; line-height: 1.55; margin-bottom: 24px; }
  .hero-actions { gap: 10px; margin-bottom: 26px; }
  .hero-actions .btn { padding: 13px 20px; font-size: 15px; }
  .hero-actions .btn-ghost { font-variant-numeric: tabular-nums; }

  /* Trust strip on mobile — 3 columns, compact */
  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 22px;
  }
  .hero-trust-item { gap: 2px; }
  .hero-trust-num { font-size: 22px; }
  .hero-trust-label { font-size: 11px; line-height: 1.3; letter-spacing: 0.01em; }

  /* Pain section — bigger touch targets, cleaner spacing */
  .pain-card { padding: 22px 18px; }
  .pain-quote { font-size: 17px; }
  .pain-num { font-size: 12px; margin-bottom: 12px; }

  /* Services */
  .service-card { padding: 26px 22px; border-radius: 18px; }
  .service-card-num { font-size: 42px; inset-inline-end: 18px; top: 14px; }
  .service-card h3 { font-size: 22px; max-width: 100%; padding-inline-end: 56px; }
  .service-card p { font-size: 15px; }

  /* Founder */
  .founder-portrait { aspect-ratio: 5/4; max-width: 100%; }
  .founder-portrait-name { font-size: 18px; padding: 12px 18px; }
  .founder-quote { font-size: 19px; padding-inline-start: 16px; }

  /* Process steps */
  .process-list { grid-template-columns: 1fr; gap: 12px; }
  .process-step { padding: 22px 20px; }
  .process-step::after { display: none; }
  .process-list::before { display: none; }
  .process-step-icon { width: 44px; height: 44px; border-radius: 12px; }
  .process-step-icon svg { width: 26px; height: 26px; }
  .process-step h3 { font-size: 18px; }
  .process-step p { font-size: 14px; }

  /* Testimonials */
  .test-card { padding: 24px 20px; }
  .test-quote { font-size: 17px; }

  /* FAQ */
  .faq-q { padding: 16px 18px; font-size: 16px; }
  .faq-a-inner { padding: 0 18px 18px; font-size: 14px; }

  /* Final CTA */
  .final-cta {
    padding: 32px 24px;
    border-radius: 22px;
  }
  .final-cta h2 { font-size: 26px; margin-bottom: 12px; }
  .final-cta p { font-size: 15px; }
  .final-cta li { font-size: 15px; }

  /* Footer */
  .footer { padding: 40px 0 20px; }
  .footer-grid { gap: 28px; margin-bottom: 28px; }
  .footer-brand img { height: 52px; }

  /* Partner strip tighter */
  .partner-strip { padding-block: 24px; }
  .partner-head-title { font-size: 16px; }
  .partner-logo img { max-height: 28px; }

  /* Section heads */
  .section-head { margin-bottom: 32px; }
  .section-head .lede { font-size: 15px; line-height: 1.55; }

  /* Nav liquid glass — slightly tighter on mobile */
  .nav { padding-block: 10px; }

  /* Mobile CTA — refined */
  .mobile-cta {
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }
  .mobile-cta a { padding: 13px; font-size: 14px; min-height: 46px; }

  /* Reveal animations — slightly faster on mobile so users on small viewports feel snappier */
  .reveal { transition-duration: 0.7s; }
  .reveal-stagger > * { transition-duration: 0.55s; }

  /* Disable expensive CSS effects on small screens for jank-free scrolling */
  .service-card { transform-style: flat; }
  .service-card::before { display: none; }
}

/* Very small phones (≤ 380px) */
@media (max-width: 380px) {
  .hero h1 .hero-line-1 { font-size: 18px; }
  .hero h1 .hero-line-2 { font-size: clamp(28px, 10vw, 40px); }
  .hero-trust { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .hero-trust-num { font-size: 19px; }
  .hero-trust-label { font-size: 10px; }
  .lead-card { padding: 20px 16px; }
  .lead-title { font-size: 20px; }
  .nav-logo img { height: 36px; }
}

/* Mobile-only: enable a soft entrance animation on every section so the page feels alive on small screens too */
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .section, .partner-strip {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
  }
  .section.in, .partner-strip.in {
    opacity: 1;
    transform: none;
  }
}

/* ============= Mobile menu drawer ============= */
.drawer {
  position: fixed;
  inset: 0;
  background: rgba(5,8,35,0.5);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
}
.drawer.open { display: block; }
.drawer-panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(360px, 84vw);
  background: var(--cream);
  padding: 22px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-lg);
}
.drawer-panel a {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  color: var(--navy-ink);
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.drawer-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
  color: var(--navy);
}
.drawer-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.drawer-cta .btn { justify-content: center; }


/* ============================================================
   ACCESSIBILITY WIDGET + GLOBAL ACCESSIBILITY ADJUSTMENTS
   ============================================================ */

/* Floating Action Button */
.acc-fab {
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;  /* RTL: left visually */
  z-index: 9000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 8px 22px rgba(35,61,255,0.42), 0 2px 6px rgba(5,8,35,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.acc-fab:hover { transform: scale(1.06); background: var(--blue-deep); }
.acc-fab:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(35,61,255,0.4);
}

/* Slide-up panel (anchored bottom-left) */
.acc-panel {
  position: fixed;
  bottom: 86px;
  inset-inline-start: 22px;
  z-index: 9001;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 110px);
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(5,8,35,0.28), 0 4px 12px rgba(5,8,35,0.12);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  pointer-events: none;
  transition: opacity .2s ease, transform .22s cubic-bezier(.2,.7,.3,1);
}
.acc-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.acc-panel-head {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.acc-panel-title { font-size: 17px; font-weight: 700; line-height: 1.2; }
.acc-panel-sub   { font-size: 13px; opacity: .78; margin-top: 2px; }
.acc-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.acc-close:hover { background: rgba(255,255,255,0.22); }
.acc-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.acc-panel-body {
  padding: 16px 18px 18px;
  overflow-y: auto;
}

.acc-group { margin-bottom: 14px; }
.acc-group-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

/* Font row */
.acc-font-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
}
.acc-font-btn {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease, border-color .15s ease;
}
.acc-font-btn:hover:not(:disabled) { background: var(--blue); color: #fff; border-color: var(--blue); }
.acc-font-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.acc-font-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.acc-font-level {
  flex: 1;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

/* Tile grid */
.acc-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.acc-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
  text-align: start;
  font-family: inherit;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.acc-tile:hover { border-color: var(--line-strong); background: #fff; }
.acc-tile:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.acc-tile.is-on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.acc-tile-icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--blue);
  transition: color .15s ease;
}
.acc-tile.is-on .acc-tile-icon { color: #fff; }
.acc-tile-label { font-weight: 600; font-size: 13.5px; line-height: 1.25; }
.acc-tile-state {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.65;
  letter-spacing: 0.04em;
}
.acc-tile.is-on .acc-tile-state { opacity: 0.9; }

/* Bottom actions */
.acc-actions {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.acc-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.acc-reset:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.acc-reset:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.acc-statement-link {
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue) !important;
  text-decoration: none;
  padding: 4px;
}
.acc-statement-link:hover { text-decoration: underline; }

.acc-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .acc-fab { width: 48px; height: 48px; bottom: 78px; }
  .acc-panel { bottom: 78px; width: calc(100vw - 24px); inset-inline-start: 12px; }
}

/* ============================================================
   ACCESSIBILITY APPLIED CLASSES (on <html>)
   ============================================================ */

/* Font scale — applied to body font-size base */
html.acc-font--1 body { font-size: 15px; }
html.acc-font-0  body { font-size: 17px; }  /* default */
html.acc-font-1  body { font-size: 19px; }
html.acc-font-2  body { font-size: 22px; line-height: 1.7; }

/* Readable font — force a tall, simple stack and remove italic */
html.acc-readable, html.acc-readable body, html.acc-readable * {
  font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
  font-style: normal !important;
  letter-spacing: 0.01em;
}

/* High contrast — strong black/yellow scheme */
html.acc-contrast body {
  background: #000 !important;
  color: #fff !important;
}
html.acc-contrast,
html.acc-contrast .section,
html.acc-contrast .nav,
html.acc-contrast .hero,
html.acc-contrast .footer,
html.acc-contrast .partner-strip,
html.acc-contrast main,
html.acc-contrast body::before { background: #000 !important; }
html.acc-contrast h1, html.acc-contrast h2, html.acc-contrast h3,
html.acc-contrast h4, html.acc-contrast h5, html.acc-contrast p,
html.acc-contrast li, html.acc-contrast span, html.acc-contrast div,
html.acc-contrast strong, html.acc-contrast small, html.acc-contrast label {
  color: #fff !important;
  background-color: transparent !important;
}
html.acc-contrast a, html.acc-contrast .btn-link, html.acc-contrast a:hover {
  color: #FFEA00 !important;
  text-decoration: underline !important;
}
html.acc-contrast .btn, html.acc-contrast button:not(.acc-tile):not(.acc-font-btn):not(.acc-close):not(.acc-reset):not(.acc-fab) {
  background: #FFEA00 !important;
  color: #000 !important;
  border: 2px solid #FFEA00 !important;
  box-shadow: none !important;
}
html.acc-contrast img, html.acc-contrast svg { filter: brightness(1.1) contrast(1.1); }
html.acc-contrast .card, html.acc-contrast .service-card, html.acc-contrast .pain-card,
html.acc-contrast .testimonial-card, html.acc-contrast .faq-item {
  background: #111 !important;
  border: 2px solid #FFEA00 !important;
}

/* Dark mode — softer inverted theme */
html.acc-dark body {
  background: #0A1232 !important;
  color: #F5F7FB !important;
}
html.acc-dark,
html.acc-dark .section,
html.acc-dark .partner-strip,
html.acc-dark main,
html.acc-dark body::before { background: #0A1232 !important; }
html.acc-dark .nav { background: rgba(10,18,50,0.92) !important; }
html.acc-dark h1, html.acc-dark h2, html.acc-dark h3, html.acc-dark h4,
html.acc-dark p, html.acc-dark li, html.acc-dark span:not(.acc-tile-state),
html.acc-dark div:not(.acc-tile):not(.acc-panel):not(.acc-panel-head),
html.acc-dark strong, html.acc-dark label {
  color: #F5F7FB !important;
}
html.acc-dark .card, html.acc-dark .service-card, html.acc-dark .pain-card,
html.acc-dark .testimonial-card, html.acc-dark .faq-item, html.acc-dark .stat {
  background: #0E1A4D !important;
  border-color: rgba(245,247,251,0.15) !important;
}
html.acc-dark a:not(.btn):not(.acc-statement-link) { color: #8EA0FF !important; }

/* Highlight links — strong underline + outline on hover */
html.acc-links a:not(.acc-tile):not(.acc-fab) {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
  outline: 1px dashed currentColor;
  outline-offset: 2px;
  padding: 1px 3px;
  border-radius: 3px;
}
html.acc-links a:hover {
  background: #FFEA00 !important;
  color: #000 !important;
  outline-color: #000 !important;
}

/* Stop animations */
html.acc-no-anim *, html.acc-no-anim *::before, html.acc-no-anim *::after {
  animation-duration: 0.001ms !important;
  animation-delay: 0ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  transition-delay: 0ms !important;
}
html.acc-no-anim .reveal, html.acc-no-anim .reveal-stagger,
html.acc-no-anim .section, html.acc-no-anim .partner-strip {
  opacity: 1 !important;
  transform: none !important;
}

/* Big cursor */
html.acc-cursor, html.acc-cursor * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><path d='M5 3l8 28 4-12 12-4z' fill='black' stroke='white' stroke-width='2'/></svg>") 4 4, auto !important;
}
html.acc-cursor a, html.acc-cursor button, html.acc-cursor [role="button"], html.acc-cursor input, html.acc-cursor select, html.acc-cursor textarea {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><circle cx='20' cy='20' r='9' fill='black' stroke='white' stroke-width='2'/></svg>") 20 20, pointer !important;
}

/* Skip-to-content link (hidden until focused) */
.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 12px;
  background: var(--blue);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 10000;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; outline: 3px solid #fff; outline-offset: 2px; }


/* ============================================================
   Globes interview link (FounderSection)
   ============================================================ */
.globes-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--ink-soft) !important;
  text-decoration: none !important;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  transition: color .15s ease;
}
.globes-link-icon {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  flex-shrink: 0;
  display: block;
}
.globes-link-text {
  text-decoration: underline;
  text-decoration-color: rgba(5,8,35,0.25);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .15s ease, color .15s ease;
}
.globes-link:hover .globes-link-text {
  color: var(--navy);
  text-decoration-color: var(--navy);
}
.globes-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (max-width: 480px) {
  .globes-link { font-size: 14px; }
  .globes-link-icon { width: 22px; height: 22px; }
}
