/* ================================================================
   inaflash.online — premium light theme w/ deep-navy contrast
   ================================================================ */

:root {
  --bg: #fbfcff;
  --bg-2: #f4f7fd;
  --panel: #ffffff;
  --line: #e4eaf4;
  --line-strong: #cfd9ea;
  --text: #0b1530;
  --text-soft: #33405f;
  --muted: #5d6a86;
  --brand: #1e63ff;
  --brand-2: #0a2a6b;
  --brand-3: #3b82f6;
  --accent: #0ea5e9;
  --navy: #070f26;
  --navy-2: #0b1836;
  --radius: 18px;
  --shadow-sm: 0 1px 0 rgba(11, 21, 48, .03), 0 8px 24px -18px rgba(11, 21, 48, .2);
  --shadow-md: 0 1px 0 rgba(11, 21, 48, .03), 0 18px 44px -24px rgba(11, 21, 48, .28);
  --scroll-offset: 82px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset);
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection { background: rgba(30, 99, 255, .18) }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -.02em;
}

.nowrap { white-space: nowrap }

.serif-accent {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  background: linear-gradient(120deg, var(--brand), var(--accent) 70%, var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .08em;
}

.serif-accent-light {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  background: linear-gradient(120deg, #7db4ff, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .08em;
}

/* ================= Scroll progress ================= */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 100;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ================= Reveal animation ================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal[data-delay="1"] { transition-delay: .1s }
.reveal[data-delay="2"] { transition-delay: .2s }
.reveal[data-delay="3"] { transition-delay: .3s }
.reveal[data-delay="4"] { transition-delay: .4s }
.reveal.in { opacity: 1; transform: none }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none }
  html { scroll-behavior: auto }
}

/* ================= Nav ================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 44px;
  min-height: 88px;
  background: rgba(251, 252, 255, .78);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: min-height .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.nav.scrolled {
  min-height: 68px;
  background: rgba(251, 252, 255, .92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(11, 21, 48, .18);
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0 }
.brand img {
  height: 62px;
  width: auto;
  transition: height .3s var(--ease-out);
}
.nav.scrolled .brand img { height: 48px }

.brand-fallback {
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 20px;
  color: var(--brand-2);
}
.brand-fallback .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: #fff;
  font-size: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 14px -6px rgba(30, 99, 255, .6);
}
.brand-fallback em { font-style: normal; color: var(--brand); font-weight: 600 }

.nav nav {
  display: flex;
  gap: 6px;
  margin-left: 12px;
  flex: 1;
}
.nav nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav nav a:hover { color: var(--brand-2); background: rgba(30, 99, 255, .07) }
.nav nav a.active { color: var(--brand); background: rgba(30, 99, 255, .09) }

.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: auto }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-2);
  transition: transform .3s var(--ease-out), opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.nav-toggle.open span:nth-child(2) { opacity: 0 }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

.mobile-menu {
  position: fixed;
  top: 88px;
  left: 16px; right: 16px;
  z-index: 49;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex }
.mobile-menu a {
  padding: 13px 16px;
  border-radius: 12px;
  font-weight: 500;
  color: var(--text-soft);
}
.mobile-menu a:hover { background: var(--bg-2); color: var(--brand-2) }
.mobile-menu .btn { margin-top: 10px; justify-content: center }
.mobile-menu a.btn-primary, .mobile-menu a.btn-primary:hover { color: #fff }

/* ================= Buttons ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .2s var(--ease-out), box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out) }
.btn:hover svg { transform: translateX(3px) }

.btn-sm { padding: 10px 17px; font-size: 13.5px }
.btn-lg { padding: 17px 30px; font-size: 16px; border-radius: 14px }

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(30, 99, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .6s var(--ease-out);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -14px rgba(30, 99, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover::after { transform: translateX(110%) }
.btn-primary:active { transform: translateY(0) }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, .7);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -16px rgba(30, 99, 255, .35);
}

.btn-light {
  background: #fff;
  color: var(--brand-2);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .5);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(0, 0, 0, .55) }

/* ================= Eyebrow ================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk';
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 11.5px;
  color: var(--brand);
  padding: 7px 14px;
  border: 1px solid rgba(30, 99, 255, .22);
  border-radius: 999px;
  background: rgba(30, 99, 255, .05);
  margin-bottom: 22px;
}
.eyebrow-dark {
  color: #8ab6ff;
  border-color: rgba(138, 182, 255, .3);
  background: rgba(138, 182, 255, .08);
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 99, 255, .45) }
  50% { box-shadow: 0 0 0 7px rgba(30, 99, 255, 0) }
}

/* ================= Hero ================= */
.hero {
  position: relative;
  padding: 130px 32px 96px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef4ff 0%, #f7faff 55%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}
.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .6;
  will-change: transform;
  transition: transform .4s ease-out;
}
.orb-1 {
  width: 620px; height: 620px;
  left: -180px; top: -200px;
  background: radial-gradient(circle at 30% 30%, rgba(30, 99, 255, .5), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
.orb-2 {
  width: 720px; height: 720px;
  right: -240px; top: -160px;
  background: radial-gradient(circle at 60% 40%, rgba(14, 165, 233, .42), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 540px; height: 540px;
  left: 32%; bottom: -280px;
  background: radial-gradient(circle at 50% 50%, rgba(124, 92, 255, .32), transparent 70%);
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  from { translate: 0 0 }
  to { translate: 40px 26px }
}
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 42, 107, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 42, 107, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 28%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 28%, #000 25%, transparent 72%);
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero h1 {
  font-weight: 700;
  font-size: clamp(40px, 5.8vw, 74px);
  line-height: 1.04;
  margin: 0 0 24px;
  color: var(--brand-2);
  max-width: 950px;
}
.hero h1 .serif-accent { font-size: 1.04em }

.lead {
  font-size: clamp(16px, 1.45vw, 19.5px);
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 0 34px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 860px;
}
.meta-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), border-color .25s ease, box-shadow .25s ease;
}
.meta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 99, 255, .35);
  box-shadow: 0 18px 36px -20px rgba(30, 99, 255, .3);
}
.meta-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: var(--brand);
  background: linear-gradient(135deg, rgba(30, 99, 255, .1), rgba(14, 165, 233, .1));
  border: 1px solid rgba(30, 99, 255, .16);
}
.meta-icon svg { width: 20px; height: 20px }
.meta-card strong {
  display: block;
  font-family: 'Space Grotesk';
  font-size: 15.5px;
  margin-bottom: 2px;
  color: var(--brand-2);
}
.meta-card span { color: var(--muted); font-size: 13px; line-height: 1.45; display: block }

/* ================= Marquee ================= */
.marquee-band {
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.marquee-label {
  text-align: center;
  margin: 0 0 18px;
  font-family: 'Space Grotesk';
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused }
.marquee-track span {
  flex-shrink: 0;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: 'Space Grotesk';
  font-weight: 500;
  font-size: 14px;
  color: var(--text-soft);
  transition: border-color .2s ease, color .2s ease;
}
.marquee-track span:hover { border-color: var(--brand); color: var(--brand) }
@keyframes marquee {
  from { transform: translateX(0) }
  to { transform: translateX(-50%) }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto }
}

/* ================= Spotlight cards (shared) ================= */
.card-spot {
  position: relative;
  overflow: hidden;
}
.card-spot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(30, 99, 255, .07), transparent 65%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card-spot:hover::before { opacity: 1 }

/* ================= Pillars ================= */
.pillars {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 32px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 99, 255, .38);
  box-shadow: 0 24px 48px -24px rgba(30, 99, 255, .32);
}
.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  margin-bottom: 18px;
  color: var(--brand);
  background: linear-gradient(135deg, rgba(30, 99, 255, .1), rgba(14, 165, 233, .1));
  border: 1px solid rgba(30, 99, 255, .16);
}
.pillar-icon svg { width: 24px; height: 24px }
.pillar h3 { margin: 0 0 10px; font-size: 20px; color: var(--brand-2) }
.pillar p { margin: 0; color: var(--muted); font-size: 15px }

/* ================= Sections ================= */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 32px;
}
.section-head { max-width: 780px; margin-bottom: 54px }
.section-head h2 {
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  margin: 14px 0;
  line-height: 1.12;
  color: var(--brand-2);
}
.section-head p { color: var(--text-soft); margin: 0; font-size: 17px }

.grid { display: grid; gap: 20px }
.services { grid-template-columns: repeat(3, 1fr) }

/* ================= Service cards ================= */
.card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 99, 255, .38);
  box-shadow: 0 28px 52px -26px rgba(30, 99, 255, .3);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin-bottom: 18px;
  color: var(--brand);
  background: linear-gradient(135deg, rgba(30, 99, 255, .1), rgba(14, 165, 233, .1));
  border: 1px solid rgba(30, 99, 255, .16);
  transition: transform .3s var(--ease-out);
}
.card:hover .card-icon { transform: scale(1.07) rotate(-3deg) }
.card-icon svg { width: 22px; height: 22px }
.card h3 { margin: 0 0 10px; font-size: 18px; color: var(--brand-2) }
.card p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; flex: 1 }
.card-tags { display: flex; flex-wrap: wrap; gap: 7px }
.card-tags span {
  font-size: 11.5px;
  font-weight: 500;
  font-family: 'Space Grotesk';
  letter-spacing: .04em;
  color: var(--brand);
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(30, 99, 255, .07);
  border: 1px solid rgba(30, 99, 255, .14);
}

/* ================= Why (dark) ================= */
.section.dark {
  max-width: none;
  padding: 110px 32px;
  background:
    radial-gradient(800px 420px at 85% -10%, rgba(30, 99, 255, .22), transparent 65%),
    radial-gradient(700px 400px at 0% 110%, rgba(14, 165, 233, .14), transparent 65%),
    linear-gradient(180deg, var(--navy), var(--navy-2));
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section.dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 78%);
  pointer-events: none;
}
.dark-inner { max-width: 1180px; margin: 0 auto; position: relative }
.section.dark .section-head h2 { color: #f2f6ff }
.section.dark .section-head p { color: #93a3c4 }

.why { grid-template-columns: repeat(3, 1fr) }
.why-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 26px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(6px);
  transition: transform .3s var(--ease-out), background .3s ease, border-color .3s ease;
}
.why-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(138, 182, 255, .32);
}
.why-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #5eead4;
  background: rgba(94, 234, 212, .1);
  border: 1px solid rgba(94, 234, 212, .25);
}
.why-item h4 { margin: 0 0 7px; font-size: 16px; color: #eaf1ff }
.why-item p { margin: 0; color: #93a3c4; font-size: 14.5px }

/* ================= Steps ================= */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.steps li {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
}
.steps li:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 99, 255, .38);
  box-shadow: 0 24px 46px -24px rgba(30, 99, 255, .3);
}
.steps li::after {
  content: '→';
  position: absolute;
  top: 38px;
  right: -17px;
  z-index: 2;
  color: var(--line-strong);
  font-size: 18px;
  font-weight: 700;
}
.steps li:last-child::after { display: none }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 10px 22px -10px rgba(30, 99, 255, .55);
  margin-bottom: 16px;
}
.steps h4 { margin: 0 0 8px; font-size: 18px; color: var(--brand-2) }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px }

/* ================= Founder ================= */
.founder-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: center;
}
.founder-grid h2 {
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 44px);
  margin: 14px 0 18px;
  line-height: 1.12;
  color: var(--brand-2);
}
.founder-grid p { color: var(--text-soft); font-size: 16.5px }
.founder-grid .btn { margin-top: 16px }

.founder-photo {
  margin: 0;
  max-width: 400px;
  justify-self: end;
  width: 100%;
}
.photo-frame {
  position: relative;
  border-radius: 22px;
  padding: 3px;
  background: linear-gradient(140deg, var(--brand), var(--accent) 55%, rgba(30, 99, 255, .15));
  box-shadow: 0 30px 60px -28px rgba(11, 21, 48, .4);
  transition: transform .4s var(--ease-out), box-shadow .4s ease;
}
.founder-photo:hover .photo-frame {
  transform: translateY(-5px) rotate(-.6deg);
  box-shadow: 0 42px 76px -30px rgba(30, 99, 255, .45);
}
.photo-frame img {
  border-radius: 19px;
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  background: #fff;
}
.founder-placeholder {
  display: none;
  aspect-ratio: 4/5;
  width: 100%;
  border-radius: 19px;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 76px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.founder-photo.no-photo .founder-placeholder { display: flex }
.founder-photo figcaption {
  display: flex;
  flex-direction: column;
  padding: 16px 6px 0;
}
.founder-photo figcaption strong {
  font-family: 'Space Grotesk';
  font-size: 16px;
  color: var(--brand-2);
}
.founder-photo figcaption span { color: var(--muted); font-size: 13.5px }

/* ================= FAQ ================= */
.faq .section-head { margin-bottom: 40px }
.faq-list {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.faq-item:hover, .faq-item[open] {
  border-color: rgba(30, 99, 255, .35);
  box-shadow: 0 16px 34px -22px rgba(30, 99, 255, .3);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: 'Space Grotesk';
  font-weight: 600;
  font-size: 16.5px;
  color: var(--brand-2);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none }
.faq-chevron {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  position: relative;
  transition: transform .3s var(--ease-out), background .2s ease, border-color .2s ease;
}
.faq-chevron::before, .faq-chevron::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  translate: -50% -50%;
  transition: rotate .3s var(--ease-out);
}
.faq-chevron::after { rotate: 90deg }
.faq-item[open] .faq-chevron { background: rgba(30, 99, 255, .08); border-color: rgba(30, 99, 255, .3) }
.faq-item[open] .faq-chevron::after { rotate: 0deg }
.faq-body { padding: 0 24px 22px }
.faq-body p { margin: 0; color: var(--muted); font-size: 15px }

/* ================= CTA ================= */
.cta-wrap {
  max-width: 1060px;
  margin: 20px auto 110px;
  padding: 0 32px;
}
.cta {
  position: relative;
  overflow: hidden;
  padding: 76px 40px;
  text-align: center;
  border-radius: 28px;
  background:
    radial-gradient(700px 340px at 50% -20%, rgba(30, 99, 255, .5), transparent 70%),
    linear-gradient(180deg, var(--navy-2), var(--navy));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 40px 80px -36px rgba(7, 15, 38, .6);
}
.cta-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  pointer-events: none;
}
.cta h2 {
  position: relative;
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 0 0 14px;
  color: #f2f6ff;
}
.cta p { position: relative; color: #93a3c4; margin: 0 0 32px; font-size: 17px }
.cta .btn { position: relative }
.cta .small { margin-top: 20px; margin-bottom: 0; font-size: 13.5px; color: #6f7fa3 }

/* ================= Footer ================= */
footer {
  background: linear-gradient(180deg, var(--navy), #050b1d);
  color: #93a3c4;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.foot-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 32px 36px;
  display: grid;
  grid-template-columns: 1.2fr 1.6fr;
  gap: 44px;
}
.foot-logo-chip {
  display: inline-block;
  padding: 10px 16px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 16px;
}
.foot-logo-chip img { height: 52px; width: auto }
.foot-brand p { margin: 0; max-width: 300px; font-size: 14.5px }
.foot-brand .brand-fallback { margin-bottom: 14px; color: #eaf1ff }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.foot-cols h5 {
  font-family: 'Space Grotesk';
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6f7fa3;
  margin: 0 0 16px;
}
.foot-cols a {
  display: block;
  color: #b5c2dd;
  font-size: 14.5px;
  margin-bottom: 10px;
  transition: color .2s ease, transform .2s ease;
}
.foot-cols a:hover { color: #fff; transform: translateX(3px) }

.foot-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 32px 34px;
  font-size: 13px;
  color: #6f7fa3;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.back-top { color: #93a3c4; transition: color .2s ease }
.back-top:hover { color: #fff }

/* ================= Responsive ================= */
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr }
  .steps li:nth-child(2)::after { display: none }
}

@media (max-width: 900px) {
  .nav { padding: 14px 22px; min-height: 78px }
  .nav nav { display: none }
  .nav-toggle { display: flex }
  .mobile-menu { top: 84px }

  .pillars { grid-template-columns: 1fr; padding-top: 52px }
  .services, .why { grid-template-columns: 1fr 1fr }

  .founder-grid { grid-template-columns: 1fr; gap: 40px }
  .founder-photo { justify-self: start; max-width: 320px }

  .hero-meta { grid-template-columns: 1fr; max-width: 480px }
  .foot-inner { grid-template-columns: 1fr }
}

@media (max-width: 620px) {
  .hero { padding: 84px 20px 60px }
  .section { padding: 72px 20px }
  .section.dark { padding: 84px 20px }

  .services, .why, .steps { grid-template-columns: 1fr }
  .steps li::after { display: none }

  .btn-lg { width: 100%; }
  .hero-cta { flex-direction: column }

  .cta-wrap { padding: 0 16px; margin-bottom: 70px }
  .cta { padding: 56px 24px }

  .foot-inner, .foot-bottom { padding-left: 20px; padding-right: 20px }
  .mobile-menu { left: 12px; right: 12px }
}
