:root {
  --bg: #f7f9ff;
  --bg-elevated: #ffffff;
  --ink: #1C1F22;
  --ink-soft: #303744;
  --muted: #626d7c;
  --muted-2: #8a93a3;
  --line: #e3e8f3;
  --brand: #1554F4;
  --brand-2: #4d7bf7;
  --brand-dark: #0e3fc0;
  --brand-soft: #edf3ff;
  --yellow: #FFCE55;
  --coral: #F27877;
  --navy: #101424;
  --navy-2: #171d31;
  --radius-xl: 38px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 15px;
  --shadow-soft: 0 24px 70px rgba(28, 31, 34, 0.11);
  --shadow-card: 0 16px 42px rgba(28, 31, 34, 0.08);
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 4%, rgba(21, 84, 244, 0.12), transparent 30rem),
    radial-gradient(circle at 10% 18%, rgba(255, 206, 85, 0.13), transparent 23rem),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 42%, #ffffff 100%);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }

a:not(.button):not(.brand):not(.nav-cta):not(.footer-brand) {
  color: var(--brand-dark);
  font-weight: 780;
}

a:not(.button):not(.brand):not(.nav-cta):not(.footer-brand):hover { color: var(--brand); }

p { margin: 0; }

h1, h2, h3 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: -0.028em;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.4rem, 8.4vw, 7.4rem);
  font-weight: 760;
}

h2 {
  font-size: clamp(2.1rem, 4.8vw, 4.75rem);
  font-weight: 690;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.012em;
  font-weight: 800;
}

img, svg { display: block; max-width: 100%; }

.shell {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 104px 0;
  scroll-margin-top: 92px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  transition: top 180ms ease;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(225, 231, 242, 0.82);
  transition: box-shadow 200ms ease, background 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(28, 31, 34, 0.07);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 150px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #354052;
  font-size: 0.93rem;
  font-weight: 760;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 13px;
}

.site-nav a:hover {
  background: rgba(21, 84, 244, 0.08);
  color: var(--brand-dark);
}

.nav-cta {
  margin-left: 6px;
  background: var(--ink);
  color: white !important;
  box-shadow: 0 10px 24px rgba(28, 31, 34, 0.15);
}

.nav-cta:hover {
  background: var(--brand) !important;
  color: white !important;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  padding: 10px 14px;
  font: inherit;
  font-weight: 800;
}

.hero {
  overflow: hidden;
  padding: 106px 0 92px;
}


.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: 58px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 730px;
  margin-top: 28px;
  color: #374151;
  font-size: clamp(1.13rem, 2.15vw, 1.42rem);
}

.hero-actions,
.proof-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 21px;
  font-weight: 860;
  box-shadow: 0 12px 30px rgba(28, 31, 34, 0.10);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(28, 31, 34, 0.14);
}

.button-primary { background: var(--brand); color: white; }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { background: white; color: var(--ink); border: 1px solid var(--line); }
.button-secondary.on-dark { background: rgba(255,255,255,0.10); color: white; border-color: rgba(255,255,255,0.20); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 760;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  padding: 8px 12px;
}

.hero-meta span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.hero-media { position: relative; }

.hero-image-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: var(--radius-xl);
  background: var(--navy);
  box-shadow: 0 30px 90px rgba(28, 31, 34, 0.22);
}

.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 206, 85, 0.18), transparent 22rem),
    linear-gradient(180deg, rgba(16, 20, 36, 0.02), rgba(16, 20, 36, 0.55));
  pointer-events: none;
}

.hero-image-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}


.why-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-grid,
.proof-grid,
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: start;
}

.why-body {
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: 1.1rem;
}

.why-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  border: 1px solid rgba(21, 84, 244, 0.16);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-soft), #ffffff);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.why-callout strong {
  color: var(--brand);
  font-size: clamp(3.1rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.why-callout span {
  max-width: 340px;
  color: var(--ink);
  font-weight: 820;
  line-height: 1.25;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading p {
  margin-top: 18px;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.technology-section {
  background:
    radial-gradient(circle at 88% 16%, rgba(21, 84, 244, 0.10), transparent 30rem),
    linear-gradient(180deg, #f8fbff, #ffffff);
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tech-card {
  position: relative;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
  padding: 24px;
}

.tech-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-size: 0.8rem;
  font-weight: 900;
}

.tech-card:nth-child(2) span { background: var(--ink); }
.tech-card:nth-child(3) span { background: var(--coral); }
.tech-card:nth-child(4) span { background: var(--yellow); color: var(--ink); }

.tech-card p {
  margin-top: 13px;
  color: var(--muted);
}

.technology-visual {
  display: grid;
  grid-template-columns: 1fr 42px 1.15fr 42px 1fr 42px 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  padding: 24px;
}

.visual-stage {
  display: grid;
  place-items: center;
  min-height: 170px;
  border-radius: 24px;
  background: #f8fbff;
  border: 1px solid #e7ecf6;
  padding: 18px;
  text-align: center;
}

.visual-stage span {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 850;
}

.visual-arrow {
  height: 2px;
  background: linear-gradient(90deg, rgba(21,84,244,0.18), var(--brand));
  position: relative;
}

.visual-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--brand);
  border-right: 2px solid var(--brand);
  transform: translateY(-50%) rotate(45deg);
}

.drop {
  width: 54px;
  height: 70px;
  border-radius: 50% 50% 55% 55%;
  background: linear-gradient(160deg, var(--coral), #ffb5b5);
  transform: rotate(28deg);
  box-shadow: inset 10px -8px 18px rgba(255,255,255,0.30), 0 16px 30px rgba(242,120,119,0.20);
}

.particle-field {
  position: relative;
  width: 156px;
  height: 112px;
  border-radius: 18px;
  background: var(--navy);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

.particle-field::before,
.particle-field::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(111, 219, 188, 0.58);
  border-radius: 50%;
}

.particle-field::before {
  width: 34px;
  height: 34px;
  left: 22px;
  top: 26px;
}

.particle-field::after {
  width: 42px;
  height: 42px;
  right: 24px;
  bottom: 20px;
}

.particle-field i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px rgba(255,206,85,0.7);
}

.particle-field i:nth-child(1) { left: 20px; top: 20px; }
.particle-field i:nth-child(2) { left: 62px; top: 28px; }
.particle-field i:nth-child(3) { left: 114px; top: 25px; }
.particle-field i:nth-child(4) { left: 84px; top: 58px; }
.particle-field i:nth-child(5) { left: 38px; top: 82px; }
.particle-field i:nth-child(6) { left: 124px; top: 77px; }
.particle-field i:nth-child(7) { left: 76px; top: 88px; }
.particle-field i:nth-child(8) { left: 142px; top: 50px; }

.ai-badge {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 26px;
  background: var(--brand);
  color: white;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  box-shadow: 0 18px 38px rgba(21,84,244,0.22);
}

.result-stage strong {
  color: var(--brand);
  font-size: 3.6rem;
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.vision-section { background: #ffffff; }

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.workflow-image-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  padding: 18px;
}

.workflow-image-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  border-radius: 16px;
  background: #ffffff;
}

.proof-section {
  overflow: hidden;
  background: var(--navy);
  color: white;
}

.proof-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(21, 84, 244, 0.24), transparent 34%),
    radial-gradient(circle at 20% 70%, rgba(255, 206, 85, 0.12), transparent 28%);
  pointer-events: none;
}

.proof-grid { position: relative; z-index: 2; align-items: center; }

.proof-copy p {
  color: rgba(255,255,255,0.77);
  margin-top: 18px;
  font-size: 1.06rem;
}

.proof-copy .eyebrow { color: #a9c0ff; }

.proof-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  padding: 18px;
}

.metric {
  min-height: 150px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  padding: 24px;
}

.metric strong {
  display: block;
  color: white;
  font-size: clamp(1.65rem, 3.2vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.032em;
}

.metric span {
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,0.67);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.team-section {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.person-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.headshot {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.person-copy { padding: 24px; }

.person-card p {
  margin-top: 12px;
  color: var(--muted);
}

.role {
  margin-top: 8px !important;
  color: var(--brand) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.advisor-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  padding: 12px 14px;
  color: var(--muted);
  box-shadow: 0 10px 28px rgba(28,31,34,0.05);
}

.advisor-strip span {
  margin-right: 2px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.advisor-strip strong {
  border-radius: 999px;
  background: #f8fbff;
  color: var(--ink);
  padding: 8px 12px;
}

.contact-section { padding-top: 78px; }

.contact-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid rgba(21, 84, 244, 0.16);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff, var(--brand-soft));
  box-shadow: var(--shadow-card);
  padding: 42px;
}

.contact-card p:not(.eyebrow) {
  margin-top: 16px;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}

.footer-brand img { width: 132px; height: auto; }
.footer-grid p { margin-top: 10px; color: var(--muted); }
.footer-contact { align-self: center; }

.footer-note {
  grid-column: 1 / -1;
  color: var(--muted-2) !important;
  font-size: 0.82rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

body.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

body.js-enabled .reveal.is-visible { opacity: 1; transform: translateY(0); }
body.js-enabled .reveal-group .reveal:nth-child(2) { transition-delay: 90ms; }
body.js-enabled .reveal-group .reveal:nth-child(3) { transition-delay: 180ms; }
body.js-enabled .reveal-group .reveal:nth-child(4) { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.js-enabled .reveal { opacity: 1; transform: none; transition: none; }
  .button:hover { transform: none; }
  .hero-image-card { transform: none; }
}

@media (max-width: 1040px) {
  .section { padding: 82px 0; }
  .hero { padding-top: 74px; }
  .hero-grid,
  .why-grid,
  .proof-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }
  .hero-grid { gap: 42px; }
  .hero-image-card img { height: 430px; }
  .technology-grid,
  .workflow-grid,
  .team-grid { grid-template-columns: 1fr; }
  .technology-visual {
    grid-template-columns: 1fr;
  }
  .visual-arrow {
    width: 2px;
    height: 38px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(21,84,244,0.18), var(--brand));
  }
  .visual-arrow::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -2px;
    transform: translateX(-50%) rotate(135deg);
  }
  .contact-card { gap: 24px; }
  .contact-actions { margin-top: 0; }
}

@media (max-width: 760px) {
  .nav-shell { min-height: 68px; }
  .brand img { width: 126px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 68px 12px auto 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow-soft);
    padding: 12px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 14px; }
  .nav-cta { margin-left: 0; text-align: center; }
  .shell { width: min(100% - 28px, var(--max)); }
  .hero-actions, .proof-actions, .contact-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-image-card { transform: none; border-radius: 28px; }
  .hero-image-card img { height: 360px; }
  .proof-panel { grid-template-columns: 1fr; }
  .workflow-image-card,
  .contact-card { padding: 24px; }
  .metric { min-height: 126px; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .why-callout { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 52px; }
  .advisor-strip { border-radius: 22px; }
  .technology-visual { padding: 16px; }
}
