:root {
  --midnight: #0B1220;
  --ink: #101828;
  --cobalt: #3157E4;
  --azure: #5E7BFF;
  --paper: #F7F8FB;
  --white: #FFFFFF;
  --slate: #667085;
  --hairline: #E4E7EC;
  --success: #0E7C66;
  --warning: #B54708;
  --danger: #B42318;
  --max: 1180px;
  --radius: 16px;
  --shadow: 0 18px 48px rgba(16, 24, 40, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cobalt); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(49,87,228,.35); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin: 0 auto; }
.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--midnight); color: var(--white); }
.eyebrow {
  color: var(--cobalt);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.section-dark .eyebrow { color: #9FB0FF; }
.lede { color: var(--slate); font-size: 20px; max-width: 760px; }
.section-dark .lede { color: #C9D2E3; }
.muted { color: var(--slate); }
.small { font-size: 14px; }

h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 800; max-width: 980px; }
h2 { font-size: clamp(34px, 4.5vw, 46px); font-weight: 760; }
h3 { font-size: 24px; font-weight: 730; }
h4 { font-size: 18px; font-weight: 720; }
p { margin: 0 0 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,18,32,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.wordmark { color: var(--white); display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 760; letter-spacing: -.045em; line-height: 1; }
.wordmark:hover { color: var(--white); }
.brand-mark { display: block; flex: none; object-fit: contain; }
.brand-mark-header { width: 30px; height: 30px; max-width: 30px; max-height: 30px; }
.wordmark span { display: block; transform: translateY(-1px); }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 25px; }
.primary-nav a { color: #D7DEEB; font-size: 14px; font-weight: 650; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--white); }
.nav-cta { padding: 10px 15px; border: 1px solid rgba(255,255,255,.17); border-radius: 10px; }
.nav-cta.primary { border-color: var(--cobalt); background: var(--cobalt); color: var(--white); }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 0; color: white; width: 42px; height: 42px; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 108px;
  color: var(--white);
  background: linear-gradient(128deg, #0B1220 0%, #142247 62%, #1E3A8A 140%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  right: -220px;
  bottom: -390px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.018);
  pointer-events: none;
}
.hero .eyebrow { color: #AAB8F9; }
.hero-copy { position: relative; z-index: 1; }
.hero p { color: #D7DEEB; font-size: clamp(18px, 2.2vw, 22px); max-width: 800px; margin-top: 27px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { font-size: 14px !important; color: #AAB4C6 !important; margin-top: 22px !important; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border-radius: 11px; border: 1px solid transparent; font-weight: 720; font-size: 15px; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cobalt); color: var(--white); }
.btn-primary:hover { color: var(--white); background: #294CCB; }
.btn-secondary { border-color: var(--hairline); background: var(--white); color: var(--ink); }
.btn-secondary:hover { color: var(--ink); border-color: #C9D0DB; }
.btn-dark-outline { border-color: rgba(255,255,255,.22); color: var(--white); background: rgba(255,255,255,.04); }
.btn-dark-outline:hover { color: var(--white); background: rgba(255,255,255,.08); }
.btn-arrow::after { content: "→"; margin-left: 9px; transition: transform .18s ease; }
.btn-arrow:hover::after { transform: translateX(2px); }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.statement { font-size: clamp(27px, 3vw, 38px); line-height: 1.18; letter-spacing: -.03em; font-weight: 690; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 2px rgba(16,24,40,.02); }
.card h3 { margin-bottom: 11px; }
.card p:last-child { margin-bottom: 0; }
.card-link { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #CDD5E1; color: var(--ink); }
.card-link .text-link { display: inline-block; margin-top: 11px; color: var(--cobalt); font-weight: 700; font-size: 15px; }
.number { font-size: 13px; font-weight: 760; color: var(--cobalt); margin-bottom: 36px; }

.process { margin-top: 44px; border-top: 1px solid var(--hairline); }
.process-step { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(280px, .9fr); gap: 28px; padding: 29px 0; border-bottom: 1px solid var(--hairline); align-items: start; }
.process-step .num { color: var(--cobalt); font-weight: 760; font-size: 14px; }
.process-step p { color: var(--slate); margin: 0; }

.operating-map { border: 1px solid rgba(255,255,255,.13); border-radius: 18px; padding: 30px; margin-top: 46px; background: rgba(255,255,255,.035); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.flow > div { position: relative; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 20px; background: rgba(255,255,255,.035); }
.flow strong { display: block; font-size: 15px; margin-bottom: 6px; }
.flow span { display: block; color: #B9C4D5; font-size: 13px; line-height: 1.45; }

.vertical-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.vertical-card { padding: 24px; border: 1px solid var(--hairline); border-radius: 14px; min-height: 200px; display: flex; flex-direction: column; background: var(--white); }
.vertical-card .vertical-tag { font-size: 12px; font-weight: 760; color: var(--slate); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; }
.vertical-card h3 { font-size: 22px; margin-bottom: 10px; }
.vertical-card p { color: var(--slate); font-size: 15px; }
.vertical-card .text-link { margin-top: auto; color: var(--cobalt); font-size: 14px; font-weight: 720; }

.product-panel { display: grid; grid-template-columns: 1.05fr .95fr; gap: 38px; align-items: stretch; margin-top: 44px; border: 1px solid var(--hairline); border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.product-copy { padding: 42px; }
.product-copy h3 { font-size: 32px; }
.product-copy .product-kicker { font-size: 14px; color: var(--cobalt); font-weight: 750; margin-bottom: 12px; }
.product-visual { background: var(--midnight); color: var(--white); padding: 35px; display: flex; flex-direction: column; justify-content: center; }
.metric-line { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.metric-line:last-child { border-bottom: 0; }
.metric-line span { color: #B8C3D5; font-size: 13px; }
.metric-line strong { font-size: 20px; }

.quote-block { border-left: 3px solid var(--cobalt); padding-left: 25px; font-size: 25px; line-height: 1.38; letter-spacing: -.02em; }

.page-hero { padding: 90px 0 76px; background: var(--paper); border-bottom: 1px solid var(--hairline); }
.page-hero h1 { color: var(--ink); font-size: clamp(42px, 6vw, 68px); }
.page-hero .lede { margin-top: 22px; font-size: 20px; }
.breadcrumbs { font-size: 13px; color: var(--slate); margin-bottom: 24px; }
.breadcrumbs a { color: var(--cobalt); }

.opportunity-list { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hairline); }
.opportunity-list li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; border-bottom: 1px solid var(--hairline); padding: 22px 0; }
.opportunity-list .marker { width: 24px; height: 24px; border: 1px solid #BCC7DB; border-radius: 50%; display: grid; place-items: center; color: var(--cobalt); font-size: 12px; font-weight: 800; }
.opportunity-list strong { display: block; margin-bottom: 4px; }
.opportunity-list span { color: var(--slate); font-size: 15px; }

.callout { border-radius: 18px; padding: 36px; background: var(--paper); border: 1px solid var(--hairline); }
.callout-dark { background: var(--midnight); color: var(--white); border-color: var(--midnight); }
.callout-dark p { color: #C9D2E3; }

.form-shell { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.form-card { padding: 34px; border: 1px solid var(--hairline); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #CDD5E1; border-radius: 10px; background: var(--white); color: var(--ink); padding: 12px 13px; }
.field textarea { min-height: 150px; resize: vertical; }
.field-note { color: var(--slate); font-size: 12px; margin-top: 6px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 28px; margin-top: 14px; font-size: 14px; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

.legal h2 { font-size: 29px; margin: 44px 0 16px; }
.legal h3 { font-size: 21px; margin: 28px 0 11px; }
.legal ul { padding-left: 22px; }

.site-footer { background: var(--midnight); color: #C7D0DE; padding: 62px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 45px; }
.footer-wordmark { color: var(--white); display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 760; letter-spacing: -.04em; line-height: 1; margin-bottom: 15px; }
.footer-wordmark:hover { color: var(--white); }
.brand-mark-footer { width: 32px; height: 32px; max-width: 32px; max-height: 32px; }
.footer-wordmark span { display: block; transform: translateY(-1px); }
.footer-copy { max-width: 330px; color: #9EABBE; font-size: 14px; }
.social-links { display: flex; align-items: center; gap: 8px; margin-top: 18px; min-height: 32px; }
.social-link { box-sizing: border-box; width: 32px; height: 32px; min-width: 32px; max-width: 32px; min-height: 32px; max-height: 32px; overflow: hidden; flex: 0 0 32px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #AEB9C9; line-height: 1; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.social-link:hover { color: var(--white); border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.05); }
.social-link:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.social-link svg { display: block; width: 16px !important; height: 16px !important; max-width: 16px !important; max-height: 16px !important; flex: 0 0 16px; fill: currentColor; }
.footer-col h4 { color: var(--white); font-size: 13px; letter-spacing: .02em; margin-bottom: 15px; }
.footer-col a { display: block; font-size: 14px; color: #B9C4D5; margin: 8px 0; }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; color: #8997AB; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .primary-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 16px 20px 24px; background: var(--midnight); border-top: 1px solid rgba(255,255,255,.08); flex-direction: column; align-items: stretch; gap: 4px; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 10px; }
  .nav-toggle { display: block; }
  .intro-grid, .product-panel, .form-shell { grid-template-columns: 1fr; gap: 34px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .vertical-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-step { grid-template-columns: 54px 1fr; }
  .process-step p { grid-column: 2; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 68px 0; }
  .hero { padding: 84px 0 76px; }
  .page-hero { padding: 65px 0 56px; }
  .grid-2, .grid-3, .grid-4, .vertical-grid, .flow, .form-row { grid-template-columns: 1fr; }
  .card, .product-copy, .product-visual, .form-card, .callout { padding: 24px; }
  .process-step { grid-template-columns: 1fr; gap: 8px; }
  .process-step p { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
