/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale }
body { background: var(--bg); color: var(--text); font-family: var(--font); overflow-x: hidden; line-height: 1.6 }
a { text-decoration: none; color: inherit }
img { max-width: 100%; display: block }
ul, ol { list-style: none }
button { cursor: pointer; font-family: inherit; border: none; background: none }
input, select, textarea { font-family: inherit }

/* ─── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  --bg:          #0A0A0A;
  --bg-raised:   #111111;
  --surface:     rgba(255,255,255,0.03);
  --surface-2:   rgba(255,255,255,0.06);
  --border:      rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.13);
  --blue:        #2563EB;
  --blue-mid:    #3B82F6;
  --blue-light:  #60A5FA;
  --green:       #34D399;
  --white:       #FFFFFF;
  --near-black:  #111111;
  --grey:        #6B7280;
  --text:        rgba(255,255,255,0.87);
  --text-muted:  rgba(255,255,255,0.48);
  --text-faint:  rgba(255,255,255,0.26);

  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   26px;
  --r-2xl:  34px;
  --r-full: 9999px;

  --font: 'Rubik', system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --fluid:    cubic-bezier(0.32, 0.72, 0, 1);

  --pad:   clamp(20px, 5vw, 64px);
  --max-w: 1160px;
}

/* ─── GRAIN OVERLAY ──────────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 9990;
  pointer-events: none; opacity: 0.034;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 132px 132px;
}

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad) }
.section { max-width: var(--max-w); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--pad) }

/* ─── NAV ────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 16px var(--pad) 0;
}
.nav-pill {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; height: 56px;
  background: rgba(8,8,8,0.82);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-full);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 8px 40px rgba(0,0,0,0.55);
  padding: 0 8px 0 24px;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
#nav.scrolled .nav-pill {
  background: rgba(6,6,6,0.94);
  border-color: rgba(255,255,255,0.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 16px 48px rgba(0,0,0,0.65);
}
.logo {
  display: flex; align-items: center;
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.03em; flex-shrink: 0;
}
.logo-h { color: var(--white) }
.logo-c { color: var(--blue) }
.nav-links { display: flex; align-items: center; gap: 2px }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--text-muted);
  padding: 7px 14px; border-radius: var(--r-full);
  transition: color 0.18s, background 0.18s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.07) }
.nav-links a.active { color: var(--white) }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: var(--white);
  font-size: 13.5px; font-weight: 600;
  padding: 10px 10px 10px 18px;
  border-radius: var(--r-full);
  transition: background 0.22s var(--ease-out), transform 0.2s var(--spring), box-shadow 0.22s;
  box-shadow: 0 1px 0 rgba(37,99,235,0.3), inset 0 1px 0 rgba(255,255,255,0.12);
}
.nav-cta:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.4) }
.nav-cta:active { transform: scale(0.97) }
.nav-cta .arr {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.17);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
  transition: transform 0.22s var(--spring), background 0.18s;
}
.nav-cta:hover .arr { background: rgba(255,255,255,0.28); transform: translate(3px,-1px) }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px; margin-right: 4px;
}
.hamburger span {
  display: block; width: 100%; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.28s var(--ease-out), opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px) }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0) }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px) }

.mobile-drawer {
  max-width: var(--max-w); margin: 8px auto 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden; max-height: 0; opacity: 0;
  transition: max-height 0.38s var(--ease-out), opacity 0.28s var(--ease-out);
  display: none;
}
.mobile-drawer.open { max-height: 440px; opacity: 1 }
.mobile-drawer-inner { padding: 16px var(--pad) 24px; display: flex; flex-direction: column; gap: 2px }
.mobile-drawer a { color: rgba(255,255,255,0.65); font-size: 15px; font-weight: 500; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.05) }
.mobile-drawer a:last-of-type { border-bottom: none }
.mobile-drawer .m-cta { margin-top: 14px }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: var(--white);
  font-family: var(--font); font-size: 15px; font-weight: 600;
  padding: 14px 14px 14px 22px; border-radius: var(--r-full);
  border: none; cursor: pointer; text-decoration: none;
  transition: background 0.22s var(--ease-out), transform 0.2s var(--spring), box-shadow 0.22s;
  box-shadow: 0 1px 0 rgba(37,99,235,0.3), inset 0 1px 0 rgba(255,255,255,0.12);
  white-space: nowrap;
}
.btn-primary:hover {
  background: #1d4ed8; transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37,99,235,0.38);
}
.btn-primary:active { transform: scale(0.97) translateY(0) }
.btn-primary .arr {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.17);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
  transition: transform 0.22s var(--spring), background 0.18s;
}
.btn-primary:hover .arr { background: rgba(255,255,255,0.28); transform: translate(4px,-2px) }
.btn-primary.sm { font-size: 13.5px; padding: 10px 10px 10px 18px }
.btn-primary.sm .arr { width: 26px; height: 26px; font-size: 12px }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font); font-size: 15px; font-weight: 500;
  color: var(--text-muted); padding: 14px 22px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,0.1); background: transparent;
  cursor: pointer; text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.btn-ghost:hover {
  color: var(--white); border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.05);
}
.btn-ghost.sm { font-size: 13.5px; padding: 9px 18px }

.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font); font-size: 13.5px; font-weight: 500;
  color: var(--text-muted); padding: 9px 18px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,0.1); background: transparent;
  cursor: pointer; text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.btn-outline-dark:hover {
  color: var(--white); border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--blue);
  font-family: var(--font); font-size: 15px; font-weight: 700;
  padding: 14px 14px 14px 22px;
  border-radius: var(--r-full); border: none; cursor: pointer; text-decoration: none;
  transition: transform 0.2s var(--spring), box-shadow 0.22s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,0.22) }
.btn-white:active { transform: scale(0.97) }
.btn-white .arr {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(37,99,235,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
  transition: transform 0.22s var(--spring);
}
.btn-white:hover .arr { transform: translate(4px,-2px) }

/* ─── SECTION LABELS ─────────────────────────────────────────── */
.sec-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue-light);
  margin-bottom: 16px;
}
.sec-h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.08;
  color: var(--white); margin-bottom: 14px;
}
.sec-sub {
  font-size: 16px; color: var(--text-muted);
  line-height: 1.72; max-width: 52ch; margin-bottom: 40px;
}
.sec-intro {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 40px; flex-wrap: wrap;
}
.sec-intro > div { flex: 1 }
.sec-intro > p {
  color: var(--text-muted); font-size: 15.5px;
  max-width: 340px; line-height: 1.68; flex-shrink: 0;
}

/* ─── EYEBROW PILL ───────────────────────────────────────────── */
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--blue-light);
  background: rgba(37,99,235,0.10); border: 1px solid rgba(37,99,235,0.22);
  border-radius: var(--r-full); padding: 5px 13px; margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
  flex-shrink: 0; animation: dot-pulse 2.6s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%,100% { opacity: 1; transform: scale(1) }
  50%      { opacity: 0.35; transform: scale(0.65) }
}

/* ─── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: clamp(130px,16vw,180px);
  padding-bottom: clamp(56px,7vw,88px);
}
.hero-orb { position: absolute; pointer-events: none; z-index: 0; border-radius: 50% }
.hero-orb-1 {
  top: 0; left: -10%; width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(37,99,235,0.10) 0%, transparent 68%);
  animation: orb-breathe 9s ease-in-out infinite;
}
.hero-orb-2 {
  bottom: -20%; right: -5%; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 65%);
  animation: orb-breathe 13s ease-in-out infinite reverse;
  animation-delay: -4s;
}
@keyframes orb-breathe {
  0%,100% { transform: scale(1); opacity: 0.75 }
  50%      { transform: scale(1.18); opacity: 1 }
}
.hero-dot-grid {
  position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 90% at 70% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 50%, black 30%, transparent 100%);
}
.page-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
}
.page-hero h1 {
  color: var(--white); margin-bottom: 16px;
  font-size: clamp(36px, 5.5vw, 72px); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1.05;
}
.page-hero h1 em { font-style: italic; color: var(--blue); white-space: nowrap }
.page-hero p {
  color: var(--text-muted); font-size: clamp(15px, 1.8vw, 18px);
  max-width: 520px; line-height: 1.72;
}

/* ─── MARQUEE ─────────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden; position: relative;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.018);
  padding: 17px 0;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: ''; position: absolute; top: 0; height: 100%;
  width: 110px; z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, #0A0A0A, transparent) }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left, #0A0A0A, transparent) }
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-track:hover { animation-play-state: paused }
@keyframes marquee {
  from { transform: translateX(0) }
  to   { transform: translateX(-50%) }
}
.m-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 26px; white-space: nowrap;
  font-size: 12.5px; font-weight: 600;
  color: rgba(255,255,255,0.3); letter-spacing: 0.04em;
}
.m-item svg { color: rgba(37,99,235,0.7); flex-shrink: 0 }
.m-sep { color: rgba(37,99,235,0.28); padding: 0 4px; font-size: 16px; line-height: 1 }

/* ─── FOOTER ──────────────────────────────────────────────────── */
#footer {
  background: var(--bg); border-top: 1px solid rgba(255,255,255,0.06);
  padding: clamp(48px,6vw,80px) 0 clamp(24px,3vw,36px);
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr;
  gap: clamp(32px,5vw,80px);
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 28px;
}
.footer-brand .logo { font-size: 19px; margin-bottom: 14px }
.footer-brand p {
  color: rgba(255,255,255,0.28); font-size: 13.5px; line-height: 1.7; max-width: 260px; margin-bottom: 18px;
}
.footer-email {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--blue); font-size: 13.5px; font-weight: 600; transition: color 0.18s;
}
.footer-email:hover { color: #93C5FD }
.footer-col h4 {
  font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,0.25);
  text-transform: uppercase; letter-spacing: 0.10em; margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px }
.footer-links a { color: rgba(255,255,255,0.42); font-size: 13.5px; font-weight: 500; transition: color 0.18s }
.footer-links a:hover { color: var(--white) }
.footer-bot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { color: rgba(255,255,255,0.20); font-size: 12.5px }
.footer-legal { display: flex; gap: 20px }
.footer-legal a { color: rgba(255,255,255,0.20); font-size: 12.5px; transition: color 0.18s }
.footer-legal a:hover { color: rgba(255,255,255,0.48) }

/* ─── MOBILE STICKY BAR ──────────────────────────────────────── */
.sticky-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: rgba(10,10,10,0.97); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px var(--pad); padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.sticky-bar .btn-primary { width: 100%; justify-content: center }

/* ─── SCROLL REVEAL ──────────────────────────────────────────── */
.au {
  opacity: 0; transform: translateY(22px); filter: blur(4px);
  transition: opacity 0.68s var(--ease-out), transform 0.68s var(--ease-out), filter 0.52s var(--ease-out);
}
.au.vis { opacity: 1; transform: none; filter: none }
.d1 { transition-delay: 0.06s } .d2 { transition-delay: 0.12s }
.d3 { transition-delay: 0.18s } .d4 { transition-delay: 0.24s }
@media (prefers-reduced-motion: reduce) { .au { opacity: 1; transform: none; filter: none; transition: none } }

/* ─── CTA BAND (shared inner-page variant) ───────────────────── */
.cta-band {
  position: relative; overflow: hidden;
  padding: clamp(72px,9vw,120px) var(--pad); text-align: center;
}
.cta-band-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(37,99,235,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(37,99,235,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
}
.cta-band h2 {
  font-size: clamp(36px, 5.5vw, 68px); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1.05; color: var(--white);
  margin-bottom: 16px; max-width: 700px; margin-left: auto; margin-right: auto;
}
.cta-band h2 em { font-style: italic; color: var(--blue) }
.cta-band p {
  color: var(--text-muted); font-size: 17px;
  max-width: 460px; margin: 0 auto 32px; line-height: 1.65;
}
.cta-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap }

/* ─── FORM SHARED STYLES ─────────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.fg { margin-bottom: 14px }
.fl { display: block; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.42); margin-bottom: 6px; letter-spacing: 0.01em }
.req { color: var(--blue) }
.fi, .fsel, .fta {
  width: 100%; padding: 11px 14px; min-height: 46px;
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.09);
  border-radius: var(--r-md); font-family: var(--font); font-size: 14px;
  color: var(--white); outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.fi::placeholder, .fta::placeholder { color: rgba(255,255,255,0.2) }
.fi:focus, .fsel:focus, .fta:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.15) }
.fsel {
  background-color: #161620; color: rgba(255,255,255,0.65);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  padding-right: 40px; cursor: pointer;
}
.fsel option { background: #161620 }
.fta { min-height: 90px; resize: vertical; line-height: 1.6 }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none }
  .hamburger { display: flex }
  .mobile-drawer { display: block }
  .footer-grid { grid-template-columns: 1fr 1fr }
  .sticky-bar { display: block }
  body { padding-bottom: 72px }
  .sec-intro { flex-direction: column; align-items: flex-start }
  .form-row { grid-template-columns: 1fr }
  .cta-row { flex-direction: column; align-items: center }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr }
  .footer-bot { flex-direction: column; align-items: flex-start }
}
@media (max-width: 480px) {
  .nav-pill { padding: 0 8px 0 18px }
}
