@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist/Geist%5Bwght%5D.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist/Geist-Italic%5Bwght%5D.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono/GeistMono%5Bwght%5D.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono/GeistMono-Italic%5Bwght%5D.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --color-text: #0a1a2f;
  --color-text-secondary: #33455c;
  --color-text-muted: #677a90;
  --color-border: rgba(10, 26, 47, 0.09);
  --color-bg: #ffffff;
  --color-bg-subtle: #f3f8fd;

  --color-brand: #0a83c3;
  --color-brand-light: #28adde;
  --color-brand-dark: #005a87;

  --radius: 20px;
  --radius-lg: 32px;

  --shadow-soft: 0 1px 2px rgba(10, 26, 47, 0.04), 0 12px 40px -12px rgba(10, 26, 47, 0.14);
  --shadow-float: 0 2px 6px rgba(10, 26, 47, 0.06), 0 30px 80px -20px rgba(8, 48, 110, 0.35);

  --container: 1240px;
  --container-wide: 1360px; /* nav + hero only */
  --gutter: clamp(16px, 4vw, 40px);
  --gutter-wide: clamp(16px, 4vw, 48px);

  --nav-h: 112px;
  --nav-h-scrolled: 86px;
  --nav-offset: 18px;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(.2, .7, .2, 1);

  --photo: url("../img/hero-building-2400.jpg");
}

/* Keep in sync with the preloads in index.html */
@supports (background-image: image-set(url("x.webp") type("image/webp"))) {
  :root { --photo: image-set(url("../img/hero-building-2400.webp") type("image/webp"), url("../img/hero-building-2400.jpg") type("image/jpeg")); }
}
@media (min-width: 901px) and (min-resolution: 1.75dppx), (min-width: 2400px) {
  :root { --photo: url("../img/hero-building-3570.jpg"); }
  @supports (background-image: image-set(url("x.webp") type("image/webp"))) {
    :root { --photo: image-set(url("../img/hero-building-3570.webp") type("image/webp"), url("../img/hero-building-3570.jpg") type("image/jpeg")); }
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

::selection { background: rgba(40, 173, 222, 0.28); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--wide {
  max-width: calc(var(--container-wide) + var(--gutter-wide) * 2);
  padding: 0 var(--gutter-wide);
}

.mono { font-family: var(--font-mono); font-feature-settings: "zero" 1; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 2px solid var(--color-brand-light); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  font: 500 16px/1 var(--font-sans);
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-white { background: #fff; color: var(--color-text); box-shadow: 0 10px 30px -10px rgba(5, 40, 90, .35); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(5, 40, 90, .45); }

.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }

.btn-dark { background: var(--color-text); color: #fff; }
.btn-dark:hover { background: #13335a; transform: translateY(-2px); }

.btn-sm { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: var(--nav-offset);
  transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease, padding-top .45s var(--ease-out);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  transition: height .45s var(--ease-out);
}
.nav-brand {
  position: relative; display: block; width: 196px; height: 68px;
  transform-origin: left center;
  transition: transform .45s var(--ease-out);
}
.nav-brand img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s ease; }
.nav-brand .logo-color { opacity: 0; }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a:not(.btn) {
  padding: 8px 0;
  color: #fff;
  font-weight: 550;
  font-size: 16px;
  letter-spacing: -0.01em;
  transition: color .25s ease;
}
.nav-links a:not(.btn):hover { color: var(--color-text); }
.nav-divider { width: 1px; height: 28px; background: rgba(255, 255, 255, .55); transition: background-color .35s ease; }

.nav.is-scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--color-border);
  padding-top: 0;
}
.nav.is-scrolled .nav-inner { height: var(--nav-h-scrolled); }
.nav.is-scrolled .nav-brand { transform: scale(.86); }
.nav.is-scrolled .logo-white { opacity: 0; }
.nav.is-scrolled .logo-color { opacity: 1; }
.nav.is-scrolled .nav-links a:not(.btn) { color: var(--color-text); }
.nav.is-scrolled .nav-links a:not(.btn):hover { color: var(--color-brand); }
.nav.is-scrolled .nav-divider { background: var(--color-border); }
.nav.is-scrolled .btn-white { background: var(--color-brand); color: #fff; box-shadow: none; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  font: 500 15px/1 var(--font-sans);
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(5, 40, 90, .35);
}
.nav-toggle svg { width: 18px; height: 18px; }
/* Hamburger to X */
.nav-toggle path { transform-box: fill-box; transform-origin: center; transition: transform .45s var(--ease-out), opacity .2s ease; }
.nav-toggle .bar-3 { transform: translate(-3px, 0) rotate(0) scaleX(.625); }
.nav.is-open .nav-toggle .bar-1 { transform: translate(0, 5px) rotate(45deg); }
.nav.is-open .nav-toggle .bar-2 { opacity: 0; transform: scaleX(0); }
.nav.is-open .nav-toggle .bar-3 { transform: translate(0, -5px) rotate(-45deg) scaleX(1); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(6, 22, 44, .45);
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
}
.nav.is-open + .nav-scrim { opacity: 1; visibility: visible; transition: opacity .4s ease; }
html.nav-locked { overflow: hidden; }
@keyframes nav-item-in { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(920px, 100svh);
  padding-top: var(--nav-h);
  --hero-pb: clamp(28px, 4vh, 48px);
  padding-bottom: var(--hero-pb);
  color: #fff;
  /* clip sideways only */
  clip-path: inset(0 0 -300px 0);
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  --photo-pos: 100% 85%; /* also used by the mask */
  background-color: #28b6ea;
  background-image: var(--photo);
  background-size: cover;
  background-position: var(--photo-pos);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1000px 700px at 0% 0%, rgba(4, 72, 150, .42), rgba(4, 72, 150, 0) 70%),
    linear-gradient(90deg, rgba(6, 80, 160, .22) 0%, rgba(6, 80, 160, 0) 55%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, .009) 47.5%,
    rgba(255, 255, 255, .058) 55%,
    rgba(255, 255, 255, .163) 62.5%,
    rgba(255, 255, 255, .317) 70%,
    rgba(255, 255, 255, .5) 77.5%,
    rgba(255, 255, 255, .683) 85%,
    rgba(255, 255, 255, .837) 92.5%,
    rgba(255, 255, 255, .942) 100%,
    rgba(255, 255, 255, .991) 107.5%,
    #fff 115%);
  --sky-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='2400' height='1920'%3e%3clinearGradient id='f'%3e%3cstop offset='.14'/%3e%3cstop offset='.176' stop-opacity='.93'/%3e%3cstop offset='.23' stop-opacity='.78'/%3e%3cstop offset='.284' stop-opacity='.55'/%3e%3cstop offset='.338' stop-opacity='.3'/%3e%3cstop offset='.392' stop-opacity='.12'/%3e%3cstop offset='.446' stop-opacity='.03'/%3e%3cstop offset='.5' stop-opacity='0'/%3e%3c/linearGradient%3e%3crect width='2400' height='1920' fill='url(%23f)'/%3e%3c/svg%3e");
  -webkit-mask: var(--sky-mask) var(--photo-pos) / cover no-repeat;
  mask: var(--sky-mask) var(--photo-pos) / cover no-repeat;
}

.hero-content {
  position: relative;
  padding-top: clamp(36px, 7vh, 100px);
  padding-bottom: 44px;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
}
.pulse { position: relative; width: 7px; height: 7px; margin-left: 4px; border-radius: 50%; background: #fff; }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid #fff; opacity: 0; animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

.hero h1 {
  margin-top: 28px;
  font-size: clamp(2.7rem, 4.9vw, 4.6rem);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 2px 50px rgba(0, 60, 130, .25);
}
.hero h1 b { font-weight: 600; letter-spacing: -0.05em; }
.hero h1 .line { display: block; animation: title-line-in .9s var(--ease-out) both; }
.hero h1 .line:nth-child(1) { animation-delay: .1s; }
.hero h1 .line:nth-child(2) { animation-delay: .22s; }
.hero h1 .line:nth-child(3) { animation-delay: .34s; }
.hero h1 .line:nth-child(4) { animation-delay: .46s; }

@keyframes title-line-in {
  from { opacity: 0; transform: translateY(.4em); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero h1 + .hero-actions { margin-top: 46px; animation: title-line-in .9s var(--ease-out) .62s both; }

/* ---------- Stats ---------- */

.stats-stage {
  --photo-end: 50%; /* from the card's top */
  --photo-fade: 260px;
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 2 * var(--gutter)));
  margin: auto auto 0;
}
.stats-stage::before {
  /* white fade behind the card */
  content: ""; position: absolute; z-index: -1;
  top: calc(var(--photo-end) - var(--photo-fade)); bottom: calc(-1 * var(--hero-pb));
  left: 50%; width: 100vw; translate: -50% 0;
  /* eased stops to avoid banding */
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, .03) calc(var(--photo-fade) * .15),
    rgba(255, 255, 255, .12) calc(var(--photo-fade) * .3),
    rgba(255, 255, 255, .3) calc(var(--photo-fade) * .45),
    rgba(255, 255, 255, .55) calc(var(--photo-fade) * .6),
    rgba(255, 255, 255, .78) calc(var(--photo-fade) * .75),
    rgba(255, 255, 255, .93) calc(var(--photo-fade) * .9),
    #fff var(--photo-fade));
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 48px clamp(20px, 3vw, 48px) 38px;
  text-align: center;
  color: var(--color-text);
  background:
    radial-gradient(520px 150px at 50% 0%, rgba(40, 173, 222, .11), rgba(40, 173, 222, 0) 72%),
    #fff;
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(10, 26, 47, .04),
    0 2px 6px rgba(10, 26, 47, .04),
    0 44px 110px -34px rgba(8, 48, 110, .42);
}

.stats-tab {
  position: absolute;
  z-index: 2;
  top: 0; left: 50%;
  translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 14px;
  border-radius: 999px;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(120deg, var(--color-brand-dark), var(--color-brand) 55%, var(--color-brand-light));
  box-shadow: 0 10px 24px -10px rgba(0, 90, 135, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.stats-tab::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.stat {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 clamp(14px, 2.4vw, 36px);
}
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 4%; bottom: 4%; width: 1px;
  background: linear-gradient(180deg, rgba(10, 26, 47, 0), rgba(10, 26, 47, .11) 30%, rgba(10, 26, 47, .11) 70%, rgba(10, 26, 47, 0));
}

.stat-icon {
  position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: var(--color-brand);
  background: radial-gradient(circle at 32% 26%, #fff 0%, #e4f3fc 58%, #cde6f9 100%);
  box-shadow: inset 0 0 0 1px rgba(10, 131, 195, .14), 0 10px 22px -10px rgba(10, 131, 195, .55);
}
.stat-icon::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid rgba(10, 131, 195, .1);
}
.stat-icon svg { position: relative; width: 20px; height: 20px; }

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(2.9rem, 4.6vw, 4.1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}
.stat-value [data-count] {
  background: linear-gradient(180deg, #0a1a2f 35%, #1b4a78 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-value .punct { margin: 0 -.12em; }
.stat-value .unit {
  display: inline-block;
  font-size: .56em;
  vertical-align: .62em;
  margin-left: .06em;
  color: var(--color-brand);
}
.stat-value::after {
  content: ""; display: block; width: 28px; height: 2px; margin: 16px auto 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-brand-light));
}

.stat p {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-muted);
  text-wrap: balance;
}
.stat p strong { color: var(--color-text); font-weight: 600; }

/* ---------- Stats hover ---------- */

.stats::after {
  /* --mx/--my are set in main.js */
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(40, 173, 222, .13), rgba(40, 173, 222, 0) 70%);
  opacity: 0;
  transition: opacity .45s ease;
}
.stat-icon::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, var(--color-brand-light) 0%, var(--color-brand) 60%, var(--color-brand-dark) 100%);
  opacity: 0;
  transition: opacity .4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .stats {
    transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  }
  .stats:hover {
    transform: translateY(-3px);
    box-shadow:
      0 0 0 1px rgba(10, 26, 47, .05),
      0 2px 6px rgba(10, 26, 47, .05),
      0 56px 120px -36px rgba(8, 48, 110, .5);
  }
  .stats:hover::after { opacity: 1; }

  .stats-tab {
    background-size: 180% 100%;
    transition: background-position .7s var(--ease-out), translate .4s var(--ease-out);
  }
  .stats-tab:hover { background-position: 100% 0; translate: -50% calc(-50% - 2px); }
  .stats-tab:hover::before { animation: tab-ping 1.1s ease-out infinite; }

  .stat-icon { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), color .3s ease, box-shadow .4s ease; }
  .stat:hover .stat-icon {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(10, 131, 195, .2), 0 14px 26px -10px rgba(10, 131, 195, .7);
  }
  .stat:hover .stat-icon::before { opacity: 1; }
  .stat:hover .stat-icon::after { animation: halo-ripple 1s ease-out; }

  .stat-value { transition: transform .5s var(--ease-out); }
  .stat:hover .stat-value { transform: translateY(-2px); }
  .stat:hover .stat-value .unit { animation: unit-hop .55s cubic-bezier(.34, 1.56, .64, 1); }
  .stat-value::after { transition: width .5s var(--ease-out); }
  .stat:hover .stat-value::after { width: 64px; }

  .stat p, .stat p strong { transition: color .35s ease; }
  .stat:hover p { color: var(--color-text-secondary); }
  .stat:hover p strong { color: var(--color-brand-dark); }
}

@keyframes tab-ping {
  from { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
  to { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}
@keyframes halo-ripple {
  0% { transform: scale(1); opacity: 1; border-color: rgba(10, 131, 195, .35); }
  65% { transform: scale(1.55); opacity: 0; }
  66% { transform: scale(.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes unit-hop {
  0% { transform: none; }
  40% { transform: translateY(-.28em) scale(1.12); }
  100% { transform: none; }
}

/* ---------- Sections ---------- */

.section {
  --section-pad: clamp(88px, 12vw, 160px);
  padding: var(--section-pad) 0;
  position: relative;
  scroll-margin-top: max(0px, var(--nav-h-scrolled) + 28px - var(--section-pad)); /* clears the fixed nav */
}

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-brand);
}
.kicker::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }

.h2 {
  margin-top: 20px;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.lede { margin-top: 20px; font-size: 18.5px; line-height: 1.6; color: var(--color-text-secondary); max-width: 560px; }

.text-sky {
  background: linear-gradient(100deg, var(--color-brand-dark) 0%, var(--color-brand) 40%, var(--color-brand-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Specializations ---------- */

.spec-head { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 40px 80px; }
.spec-head .lede { margin-bottom: 8px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.spec-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease-out), box-shadow .4s ease;
}
.spec-visual {
  position: relative;
  height: 250px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.spec-card:nth-child(1) .spec-visual { background: linear-gradient(180deg, #1597dc 0%, #52c1ee 60%, #cdeefb 100%); }
.spec-card:nth-child(2) .spec-visual { background: linear-gradient(180deg, #06223f 0%, #0b4a7e 60%, #1597dc 100%); }
.spec-visual img { position: relative; width: 150px; filter: drop-shadow(0 24px 30px rgba(0, 40, 90, .35)); transition: transform .6s var(--ease-out); }
@media (hover: hover) {
  .spec-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
  .spec-card:hover .spec-visual img { transform: translateY(-6px) rotate(-4deg) scale(1.03); }
}
.spec-visual.is-tilted img { transform: translateY(-6px) rotate(-4deg) scale(1.03); }
.spec-visual::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 65%);
}
.spec-card:nth-child(2) .spec-visual::before { background: radial-gradient(circle, rgba(94, 190, 240, .45), rgba(94, 190, 240, 0) 65%); }
.spec-visual .grid-lines {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .35) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
.spec-body { padding: 36px clamp(26px, 3.4vw, 44px) 40px; }
.spec-num { font: 500 13px/1 var(--font-mono); color: var(--color-text-muted); letter-spacing: .06em; }
.spec-body h3 { margin-top: 14px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.spec-body > p { margin-top: 14px; color: var(--color-text-secondary); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--color-text-secondary); }
.checks svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--color-brand); }

/* ---------- How it works ---------- */

.flow {
  margin: 0 clamp(8px, 1.6vw, 24px);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.flow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: clamp(24px, 3vw, 44px);
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 60%),
    linear-gradient(160deg, #0a78c4 0%, #1ea3e3 50%, #72cdf3 100%);
}
.flow .kicker { color: #fff; }
.flow .lede { color: rgba(255, 255, 255, .9); }
.flow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 72px;
}
.flow-step {
  position: relative;
  padding: 32px 30px 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.flow-step-top { display: flex; align-items: center; justify-content: space-between; }
.flow-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: #fff; color: var(--color-brand); box-shadow: 0 12px 30px -10px rgba(0, 40, 100, .4);
}
.flow-icon svg { width: 24px; height: 24px; }
.flow-step .mono { font-size: 13px; opacity: .8; letter-spacing: .06em; }
.flow-step h3 { margin-top: 30px; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.flow-step p { margin-top: 10px; font-size: 16px; color: rgba(255, 255, 255, .9); }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 58px; right: -24px; width: 24px; height: 1px;
  background: rgba(255, 255, 255, .6);
}

/* ---------- Supported by ---------- */

.support { padding: 72px 0; border-bottom: 1px solid var(--color-border); }
.support-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.support-label { font: 500 13px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); }
.support-logos { display: flex; align-items: center; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.support-logos img { height: 48px; width: auto; }

/* ---------- Contact ---------- */

.contact { overflow: hidden; isolation: isolate; }
.contact-bg {
  position: absolute; inset: 0; z-index: -1;
  --fade: 300px;
  --tint: linear-gradient(90deg, rgba(4, 72, 150, .3), rgba(4, 72, 150, 0) 55%);
  background: #24bbed;
}
.contact-bg::before {
  /* photo, faded at the top and left */
  content: ""; position: absolute; right: 0; bottom: 0;
  width: calc(86% + 120px);
  aspect-ratio: 5 / 4;
  translate: 0 25%;
  background: var(--photo) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%), linear-gradient(90deg, transparent, #000 14%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent, #000 20%), linear-gradient(90deg, transparent, #000 14%);
  mask-composite: intersect;
}
.contact-bg::after {
  /* fade from the white section above */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      #fff 0,
      rgba(255, 255, 255, .93) calc(var(--fade) * .1),
      rgba(255, 255, 255, .78) calc(var(--fade) * .25),
      rgba(255, 255, 255, .55) calc(var(--fade) * .4),
      rgba(255, 255, 255, .3) calc(var(--fade) * .55),
      rgba(255, 255, 255, .12) calc(var(--fade) * .7),
      rgba(255, 255, 255, .03) calc(var(--fade) * .85),
      rgba(255, 255, 255, 0) var(--fade)) top / 100% var(--fade) no-repeat,
    var(--tint);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact-copy { color: #fff; }
.contact-copy .lede { color: rgba(255, 255, 255, .92); }
.contact-copy .kicker { color: #fff; }

.form-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-float);
}
.form-card h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.form-card > p { margin-top: 6px; color: var(--color-text-muted); font-size: 15.5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--color-text-secondary); }
.field input,
.field textarea {
  width: 100%;
  font: 400 16px/1.4 var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 14px 16px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa9ba; }
.field input:focus,
.field textarea:focus { outline: none; background: #fff; border-color: var(--color-brand-light); box-shadow: 0 0 0 4px rgba(40, 173, 222, .16); }
.form-card .btn { margin-top: 22px; }

/* ---------- Footer ---------- */

.footer { background: #06162a; color: rgba(255, 255, 255, .7); padding: 80px 0 40px; font-size: 15px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand img { width: 210px; }
.footer-brand p { margin-top: 20px; max-width: 340px; font-size: 16px; color: rgba(255, 255, 255, .8); }
.footer-cols { display: flex; gap: clamp(40px, 8vw, 120px); flex-wrap: wrap; }
.footer-cols h4 { margin: 0 0 16px; font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.footer-cols a, .footer-cols span { display: block; margin-top: 10px; color: rgba(255, 255, 255, .82); transition: color .2s ease; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 13.5px; color: rgba(255, 255, 255, .5); }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }

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

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero-bg { --photo-pos: 78% 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-bg::before { width: 160%; }
  .flow-steps { grid-template-columns: 1fr; gap: 16px; }
  .flow-step:not(:last-child)::after { display: none; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; --nav-offset: 24px; --nav-h-scrolled: calc(var(--nav-h) + 2 * var(--nav-offset)); }
  .nav-toggle { display: inline-flex; height: 44px; padding: 0 18px 0 16px; gap: 8px; font-size: 14.5px; }
  .nav.is-open .nav-toggle, .nav.is-scrolled .nav-toggle { background: var(--color-text); color: #fff; box-shadow: none; }
  .nav.is-scrolled .nav-brand { transform: none; }
  .nav { padding-top: 0; }
  .nav-inner { height: var(--nav-h-scrolled); }
  .nav-brand { width: 138px; height: 48px; }

  .nav.is-open { background: #fff; box-shadow: 0 20px 40px -20px rgba(10, 26, 47, .25); }
  .nav.is-open .logo-white { opacity: 0; }
  .nav.is-open .logo-color { opacity: 1; }

  /* Mobile menu */
  .nav-links {
    flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    padding: 8px var(--gutter-wide) 24px; box-shadow: 0 24px 40px -24px rgba(10, 26, 47, .3);
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .4s var(--ease-out), visibility 0s linear .4s;
  }
  .nav.is-open .nav-links { visibility: visible; clip-path: inset(0 0 -64px 0); transition: clip-path .55s var(--ease-out); }
  .nav-links a:not(.btn), .nav.is-scrolled .nav-links a:not(.btn) { color: var(--color-text); padding: 16px 0; border-bottom: 1px solid var(--color-border); font-size: 17px; }
  .nav-links a:not(.btn):hover, .nav.is-scrolled .nav-links a:not(.btn):hover { color: var(--color-brand); }
  .nav-divider { display: none; }
  .nav-links .btn { margin-top: 20px; background: var(--color-brand); color: #fff; }
  .nav.is-open .nav-links > * { animation: nav-item-in .5s var(--ease-out) backwards; }
  .nav.is-open .nav-links > :nth-child(1) { animation-delay: .1s; }
  .nav.is-open .nav-links > :nth-child(2) { animation-delay: .16s; }
  .nav.is-open .nav-links > :nth-child(3) { animation-delay: .22s; }
  .nav.is-open .nav-links > :nth-child(5) { animation-delay: .3s; }

  .hero { min-height: 0; padding-top: var(--nav-h-scrolled); }
  .hero-content { padding-top: clamp(24px, 4vh, 48px); padding-bottom: 300px; }
  .stats-stage { margin-top: -120px; --photo-end: 120px; }

  .stats {
    grid-template-columns: 1fr;
    padding: 34px 22px 4px;
    text-align: left;
    box-shadow:
      0 0 0 1px rgba(10, 26, 47, .04),
      0 2px 6px rgba(10, 26, 47, .04),
      0 30px 70px -30px rgba(8, 48, 110, .4);
  }
  .stat { display: grid; grid-template-columns: 5.9rem 1fr; column-gap: 20px; align-items: center; padding: 20px 0; }
  .stat + .stat::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; background: var(--color-border); }
  .stat-icon, .stat-value::after { display: none; }
  .stat-value { font-size: 2.35rem; }
  .stat p { margin: 0; max-width: none; font-size: 14.5px; line-height: 1.5; text-wrap: pretty; }

  /* Hero photo above the stats card; the error page keeps the full-cover photo */
  .hero:has(> .stats-stage) { display: grid; grid-template-rows: auto auto; }
  .hero:has(> .stats-stage) .hero-bg { grid-row: auto / 2; bottom: -20px; background-image: none; }
  .hero:has(> .stats-stage) .hero-bg::after {
    --photo-w: min(100vw + 160px, 1000px);
    z-index: -1; /* below the tint */
    inset: auto 0 calc(140px - var(--photo-w) * .2824) auto; /* aligns the steps with the card */
    width: var(--photo-w);
    aspect-ratio: 5 / 4;
    background: var(--photo) center / cover no-repeat;
    -webkit-mask: linear-gradient(180deg, transparent, #000 25%), linear-gradient(90deg, transparent, #000 14%);
    -webkit-mask-composite: source-in;
    mask: linear-gradient(180deg, transparent, #000 25%), linear-gradient(90deg, transparent, #000 14%);
    mask-composite: intersect;
  }

  .spec-grid, .spec-head { grid-template-columns: 1fr; }
  .spec-head { gap: 0; }
  .spec-grid { gap: 16px; margin-top: 48px; }

  .flow-steps { gap: 36px; margin-top: 44px; }
  .flow-step {
    display: grid; grid-template-columns: 44px 1fr; column-gap: 18px;
    padding: 0;
    background: none; border: 0;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .flow-step-top { display: contents; }
  .flow-icon { grid-row: span 3; width: 44px; height: 44px; border-radius: 14px; }
  .flow-icon svg { width: 20px; height: 20px; }
  .flow-step .mono { font-size: 12px; line-height: 1; padding-top: 3px; }
  .flow-step h3 { margin-top: 8px; font-size: 22px; line-height: 1.15; }
  .flow-step p { margin-top: 6px; font-size: 15.5px; line-height: 1.55; }
  .flow-step:not(:last-child)::after {
    display: block; top: 54px; bottom: -26px; left: 21.5px; right: auto; width: 1px; height: auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .15));
  }

  .contact { padding-bottom: calc(var(--section-pad) + 140px); }
  .contact-bg { --fade: 160px; --tint: linear-gradient(180deg, rgba(4, 72, 150, .35), rgba(4, 72, 150, 0) 60%); }
  .contact-bg::before { translate: 0 10%; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; line-height: 1.55; }

  .eyebrow { padding: 6px 12px 6px 8px; font-size: 13px; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.7rem); }
  .hero h1 + .hero-actions { margin-top: 32px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; height: 52px; padding: 0 16px; gap: 8px; font-size: 15px; }
  .hero-actions .btn svg { width: 16px; height: 16px; }
  .hero:has(> .stats-stage) .hero-bg::after { --photo-w: min(153vw, 640px); }
  .stats { padding: 34px 20px 4px; }
  .stat { column-gap: 18px; }

  .section { --section-pad: 72px; }
  .spec-head .h2, .flow .h2 { margin-top: 16px; }
  .spec-head .h2 br { display: none; }
  .spec-head .lede, .flow .lede { margin-top: 16px; font-size: 17px; line-height: 1.55; }

  .spec-body { padding: 28px 22px 30px; }
  .spec-body > p { font-size: 16px; }
  .checks { margin-top: 22px; gap: 10px; }
  .checks li { font-size: 15px; }

  .flow { --section-pad: 52px; }
  .flow .container { padding: 0 18px; }

  .contact { --section-pad: 88px; line-height: 1.6; }

  .support { padding: 44px 0; }
  .support-inner { flex-direction: column; justify-content: center; gap: 22px; }
  .support-logos { flex-wrap: nowrap; justify-content: center; gap: 36px; }
  .support-logos img { height: 32px; filter: grayscale(1); opacity: .75; }

  .footer { padding: 64px 0 32px; }
  .footer-top { flex-direction: column; gap: 36px; padding-bottom: 36px; }
  .footer-brand img { width: 150px; }
  .footer-brand p { margin-top: 16px; font-size: 15.5px; }
  .footer-cols { gap: 24px 56px; }
  .footer-cols h4 { margin-bottom: 4px; }
  .footer-cols a, .footer-cols span { margin-top: 0; padding: 10px 0; }
}

/* ---------- Error page ---------- */

.error-page { min-height: 100svh; padding-bottom: 0; justify-content: center; }
.error-page .hero-content { padding: 0 0 96px; }
.error-page .nav-brand { margin-bottom: 72px; }
.error-page h1 { margin-top: 26px; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 600; line-height: .98; letter-spacing: -0.05em; }
.error-page p { margin-top: 22px; max-width: 440px; font-size: 19px; color: rgba(255, 255, 255, .92); }
