:root {
  --bg: #050c14;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }
html, body { margin: 0; }

body {
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Background */
.bg { position: absolute; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; background: var(--bg); overflow: hidden; }
.bg-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(4, 10, 16, 0.68), transparent 78%),
    linear-gradient(180deg, rgba(8, 20, 32, 0.62) 0%, rgba(8, 24, 36, 0.34) 30%, rgba(6, 14, 22, 0.55) 62%, rgba(5, 12, 20, 0.9) 88%, var(--bg) 100%),
    linear-gradient(120deg, rgba(109, 196, 199, 0.16), transparent 45%);
}
.bg-waves { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(70px, 12vh, 130px); z-index: 0; pointer-events: none; overflow: hidden; }
.wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.wave.w1 { fill: rgba(60, 150, 190, 0.22); animation: waveMove 22s linear infinite; }
.wave.w2 { fill: rgba(20, 60, 90, 0.55); animation: waveMove 16s linear infinite reverse; }
.wave.w3 { fill: var(--bg); animation: waveMove 11s linear infinite; }
@keyframes waveMove { to { transform: translateX(-50%); } }
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(0.92) contrast(1.05) brightness(0.9);
  pointer-events: none;
  z-index: 0;
}

/* Ambient background below the hero video */
body::before {
  content: "";
  position: absolute;
  top: 100vh;
  top: 100dvh;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(48% 520px at 6% 22%, rgba(60, 140, 230, 0.38), transparent 72%) 0 0 / 100% 2200px repeat-y,
    radial-gradient(44% 480px at 96% 58%, rgba(80, 200, 225, 0.30), transparent 72%) 0 0 / 100% 2200px repeat-y,
    radial-gradient(40% 380px at 30% 80%, rgba(109, 196, 199, 0.22), transparent 72%) 0 0 / 100% 2200px repeat-y;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 420px, #000 calc(100% - 260px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 420px, #000 calc(100% - 260px), transparent 100%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

/* Page */
.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(16px, 2.4vh, 28px) clamp(14px, 3vw, 32px);
}

main { min-width: 0; display: flex; flex-direction: column; align-items: center; width: 100%; }

.hero, .mobile-menu { z-index: 1; }

/* Header */
.header {
  position: sticky;
  top: clamp(16px, 2.4vh, 28px);
  z-index: 4;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 28px);
  width: 100%;
  max-width: 720px;
  animation: slideDown 0.7s var(--ease) both;
}

.logo {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: clamp(40px, 4.4vw, 46px);
  height: clamp(40px, 4.4vw, 46px);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--nav-shadow);
  transition: transform 0.3s var(--ease);
}
.logo:hover { transform: scale(1.04); }
.logo img { width: 72%; height: 72%; object-fit: contain; display: block; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  max-width: 500px;
  height: clamp(44px, 5.2vw, 48px);
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--nav-shadow);
}
.nav a {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 0 clamp(8px, 1.4vw, 14px);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  color: var(--nav-text);
  opacity: 0.5;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}
.nav a:hover { opacity: 0.75; }
.nav a.active { opacity: 1; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: #000;
  box-shadow: -5px 0 0 #000, 5px 0 0 #000;
}

.sign-in {
  display: inline-flex;
  align-items: center;
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 clamp(18px, 2.4vw, 24px);
  border-radius: 999px;
  background: var(--pill-dark);
  color: var(--sign-in-text);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  box-shadow: var(--nav-shadow);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.sign-in:hover { background: #323234; color: #fff; transform: translateY(-1px); }

.burger, .overlay, .mobile-menu { display: none; }

/* Hero */
.hero {
  min-width: 0;
  min-height: calc(100dvh - 90px);
  padding: clamp(48px, 8vh, 90px) 0 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  text-align: center;
}

.brand-mark {
  display: block;
  width: clamp(210px, 30vw, 400px);
  height: auto;
  margin-bottom: clamp(18px, 3vh, 30px);
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45));
}

.headline {
  max-width: 100%;
  margin: 0 0 clamp(14px, 2.2vh, 22px);
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.65), 0 0 2px rgba(0, 0, 0, 0.45);
  font-size: clamp(30px, 5.6vw, 80px);
  letter-spacing: -0.02em;
  line-height: 1.04;
  padding-bottom: 0.08em;
  text-wrap: balance;
}
.headline .hl {
  font-style: normal;
  background: linear-gradient(100deg, #7ee0c8, #5fb8f5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.55));
}
.headline .line {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
.headline.anim { opacity: 1; transform: none; filter: none; animation: none; }

.subhead {
  margin: 0 0 clamp(20px, 3vh, 30px);
  max-width: min(580px, 92%);
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  line-height: 1.55;
  font-weight: 400;
  color: #d0d0d0;
  --o: 0.8;
}

.cta {
  display: inline-block;
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 0 22px rgba(255,255,255,0.32), 0 0 44px rgba(255,255,255,0.12);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25), 0 0 30px rgba(255,255,255,0.5), 0 0 60px rgba(255,255,255,0.22);
}


/* SOS typing demo */
.sos-demo {
  width: min(600px, 92%);
  min-height: 104px;
  margin: 0 0 clamp(20px, 3vh, 30px);
  padding: 14px 18px;
  border-radius: 24px;
  text-align: left;
  background: rgba(20, 20, 22, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.sos-row { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; }
.sos-tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(109, 196, 199, 0.18);
  border: 1px solid rgba(109, 196, 199, 0.55);
  color: #9be3e5;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.sos-dot { width: 6px; height: 6px; border-radius: 50%; background: #6dc4c7; box-shadow: 0 0 8px #6dc4c7; animation: sosBlink 1.2s ease-in-out infinite; }
.sos-msg { margin: 2px 0 0; font-size: 15px; line-height: 1.5; color: #f2f2f2; }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.17em; background: #fff; animation: caretBlink 1s steps(1) infinite; }
.sos-bar { height: 3px; margin-top: 10px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.sos-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #6dc4c7, #7ee0a8); transition: width 1s var(--ease); }
.sos-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  font-size: 13px;
  color: #9be3e5;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}
.sos-status.show { opacity: 1; transform: none; }
.note-caret { display: none; margin-left: -4px; width: 1.5px; background: #9be3e5; }
.sos-status.typing .note-caret { display: inline-block; }
@keyframes caretBlink { 50% { opacity: 0; } }
@keyframes sosBlink { 50% { opacity: 0.25; } }

/* Hero actions */
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-ghost {
  display: inline-block;
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  border-radius: 999px;
  background: var(--pill-dark);
  border: 1px solid var(--trust-border);
  color: #fff;
  font-weight: 500;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  transition: transform 0.3s var(--ease), background 0.25s ease;
}
.cta-ghost:hover { background: #3a3a3d; transform: translateY(-2px); }

/* Partner logo marquee */
.logos {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin-top: clamp(72px, 12vh, 130px);
  padding: clamp(52px, 8.5vh, 88px) 0;
}
.logos > * { position: relative; }
/* One even, pale glow band that melts into the black page at its top and bottom */
.logos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 90% at 50% 50%, rgba(255, 255, 255, 0.22), transparent 80%),
    linear-gradient(90deg, rgba(196, 214, 226, 0.88), rgba(206, 210, 232, 0.88) 50%, rgba(196, 214, 226, 0.88));
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.25) 12%, rgba(0, 0, 0, 0.7) 28%, #000 42%, #000 58%, rgba(0, 0, 0, 0.7) 72%, rgba(0, 0, 0, 0.25) 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.25) 12%, rgba(0, 0, 0, 0.7) 28%, #000 42%, #000 58%, rgba(0, 0, 0, 0.7) 72%, rgba(0, 0, 0, 0.25) 88%, transparent 100%);
}
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  gap: clamp(44px, 6vw, 84px);
  min-width: 100%;
  margin: 0;
  padding: 0 clamp(22px, 3vw, 42px);
  list-style: none;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-item { display: grid; place-items: center; flex-shrink: 0; height: 60px; }
.logo-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: clamp(110px, 12vw, 160px);
  max-height: clamp(30px, 3.4vw, 44px);
  object-fit: contain;
  transition: transform 0.35s var(--ease), filter 0.35s ease;
}
.logo-item:hover img { transform: scale(1.08); filter: drop-shadow(0 6px 14px rgba(40, 60, 90, 0.25)); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Sections */
.section {
  width: 100%;
  max-width: 1080px;
  padding-top: clamp(72px, 12vh, 130px);
  scroll-margin-top: 70px;
}
.section-head { text-align: center; margin-bottom: clamp(28px, 5vh, 48px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  color: var(--trust-text);
  font-weight: 500;
  font-size: 12.5px;
}
.section h2, .final-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 54px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: 28px;
  transition: transform 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); }
.card h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; }
.card.dark {
  background: rgba(10, 28, 44, 0.68);
  border: 1px solid rgba(155, 227, 229, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card.dark p { color: #d0d0d0; }
.card.light {
  --c: 109, 196, 199;
  color: #fff;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(var(--c), 0.30), transparent 70%),
    rgba(10, 28, 44, 0.68);
  border: 1px solid rgba(var(--c), 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card.light:nth-child(2) { --c: 70, 160, 235; }
.card.light:nth-child(3) { --c: 126, 224, 200; }
.card.light p { color: #d0d0d0; }
.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  border-radius: 50%;
  font-size: 18px;
}
.dark .card-icon { background: #fff; color: #111; }
.light .card-icon { background: linear-gradient(135deg, rgb(var(--c)), rgba(var(--c), 0.55)); color: #0b0b0d; box-shadow: 0 8px 22px rgba(var(--c), 0.35); }
.card.dark > p:only-of-type { color: #fff; font-size: 17px; font-weight: 500; line-height: 1.45; }
.card.dark h3 + p { color: #d0d0d0; font-size: 15px; font-weight: 400; }

/* Phones */
.phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(8px, 3vw, 40px);
  margin-top: clamp(40px, 7vh, 72px);
}
.phones { position: relative; isolation: isolate; }
.phones::before {
  content: "";
  position: absolute;
  inset: -12% 4% -4%;
  z-index: -1;
  background:
    radial-gradient(50% 55% at 50% 55%, rgba(109, 196, 199, 0.28), transparent 70%),
    radial-gradient(40% 45% at 30% 40%, rgba(60, 140, 230, 0.30), transparent 70%),
    radial-gradient(40% 45% at 72% 60%, rgba(80, 200, 225, 0.24), transparent 70%);
  filter: blur(18px);
}
.phone { margin: 0; text-align: center; flex: 0 1 240px; }
.phone img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5)); }
.phone figcaption { margin-top: 14px; color: var(--trust-text); font-size: 13.5px; font-weight: 500; }
.p-main { flex-basis: 290px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.step {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 28px;
  background: rgba(10, 28, 44, 0.68);
  border: 1px solid rgba(155, 227, 229, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.step-num { display: block; margin-bottom: 18px; font-weight: 700; font-family: var(--font-display); font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -0.04em; }
.step h3 { margin: 0 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin: 0; color: #d0d0d0; font-size: 15px; line-height: 1.55; }
.step + .step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(clamp(12px, 1.6vw, 20px) * -1);
  width: clamp(12px, 1.6vw, 20px);
  border-top: 1px dashed rgba(255, 255, 255, 0.5);
}

/* Partnership */
.sub-head { margin: clamp(44px, 7vh, 72px) 0 22px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: -0.03em; line-height: 1.2; }
.section-head + .sub-head { margin-top: 0; }
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.partner-card { grid-column: span 2; }
.partner-card:nth-child(n + 4) { grid-column: span 3; }
.partner-card p { color: #d0d0d0; }
.partner-card:nth-child(n + 4) { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 18px; }
.partner-card:nth-child(n + 4) .card-icon { margin: 0; }
.partner-card:nth-child(n + 4) h3 { flex: 1 1 calc(100% - 70px); }
.partner-card:nth-child(n + 4) p { flex: 1 1 100%; }

.get-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(44px, 7vh, 72px);
  padding: clamp(28px, 4.5vw, 52px);
  border-radius: 36px;
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(60, 140, 230, 0.28), transparent 70%),
    radial-gradient(60% 90% at 100% 100%, rgba(109, 196, 199, 0.2), transparent 70%),
    rgba(10, 28, 44, 0.68);
  border: 1px solid rgba(155, 227, 229, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.get-intro .sub-head { margin: 0 0 14px; }
.sub-head.left { text-align: left; }
.get-intro p { margin: 0 0 24px; max-width: 360px; color: #d0d0d0; font-size: 15px; line-height: 1.6; }
.get-list { list-style: none; margin: 0; padding: 0; }
.get-list li { display: flex; align-items: center; gap: 14px; padding: 15px 0; font-size: 16px; line-height: 1.45; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.get-list li:first-child { border-top: 0; }
.get-list li em { color: #9a9a9f; font-style: normal; }
.get-list i { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #6dc4c7, #4da3f0); color: #fff; font-size: 12px; }

/* Trust */
.trust-panel, .final-panel {
  padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 56px);
  border-radius: 36px;
  text-align: center;
  background: rgba(10, 28, 44, 0.68);
  border: 1px solid rgba(155, 227, 229, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.trust-list { list-style: none; margin: 28px auto 0; padding: 0; max-width: 620px; display: grid; gap: 14px; text-align: left; }
.trust-list li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 20px; background: rgba(0, 0, 0, 0.3); color: #d8d8d8; font-size: 15px; line-height: 1.5; }
.trust-list i { flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #111; font-size: 15px; }

/* Team */
.section-wide { max-width: 1200px; }
.section-sub { max-width: 560px; margin: 16px auto 0; color: #c8c8c8; font-size: 16px; line-height: 1.6; }
.section h2 .muted { color: #7a7a80; }
.team-row { margin-top: clamp(36px, 6vh, 60px); --gap: clamp(12px, 1.6vw, 22px); display: flex; justify-content: center; gap: var(--gap); }
.member { flex: 1 1 0; min-width: 0; max-width: 232px; text-align: center; }
.member-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  background: none;
  border: 0;
}
/* soft water-blue glow behind each person instead of a card */
.member-frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 8% -6% -4%;
  pointer-events: none;
  background:
    radial-gradient(55% 50% at 50% 55%, rgba(77, 163, 240, 0.30), transparent 70%),
    radial-gradient(50% 18% at 50% 96%, rgba(126, 224, 200, 0.35), transparent 75%);
  filter: blur(8px);
  opacity: 0.65;
  transition: opacity 0.5s ease;
}
.member-frame img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  filter: brightness(1.1) contrast(1.08) saturate(1.05) drop-shadow(0 12px 16px rgba(0, 0, 0, 0.45));
  /* dissolve the waist cut into the page */
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 84%, rgba(0, 0, 0, 0.45) 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 84%, rgba(0, 0, 0, 0.45) 100%);
  transform: scale(1.3);
  transform-origin: 50% 100%;
  transition: transform 0.6s var(--ease), filter 0.4s ease;
}
.member:hover .member-frame img, .member:focus-within .member-frame img { transform: scale(1.35); filter: brightness(1.14) contrast(1.1) saturate(1.06) drop-shadow(0 14px 20px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 22px rgba(126, 224, 200, 0.25)); }
.member-frame.tilt::after { display: none; }
.member-li {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(16, 16, 22, 0.55);
  border: 1px solid rgba(155, 227, 229, 0.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 26px rgba(109, 196, 199, 0.16);
  opacity: 0;
  translate: -50% 18px;
  transition: opacity 0.3s ease, translate 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.member-li > i:first-child {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6dc4c7, #4da3f0);
  color: #fff;
  font-size: 13px;
}
.member-li > i:last-child { font-size: 11px; color: #9be3e5; transition: transform 0.3s var(--ease); }
.member-li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.member-li:hover {
  background: linear-gradient(90deg, rgba(109, 196, 199, 0.38), rgba(70, 160, 235, 0.38));
  border-color: rgba(155, 227, 229, 0.85);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 34px rgba(109, 196, 199, 0.4);
}
.member-li:hover > i:last-child { transform: translateX(3px); color: #fff; }
.member-li:hover::after { transform: translateX(120%); transition: transform 0.7s var(--ease); }
.member:hover .member-li, .member:focus-within .member-li { opacity: 1; translate: -50% 0; }
.member h3 { margin: 18px 0 4px; font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; letter-spacing: -0.02em; }
.member-role { display: block; color: #9be3e5; font-size: 13.5px; font-weight: 500; line-height: 1.4; }
.team-close { max-width: 640px; margin: clamp(40px, 7vh, 64px) auto 0; text-align: center; }
.team-close p { margin: 0 0 24px; font-weight: 700; font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 30px); line-height: 1.25; letter-spacing: -0.03em; text-wrap: balance; }

@media (max-width: 900px) {
  .team-row { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 8px; margin: 0 -4px; scrollbar-width: none; }
  .team-row::-webkit-scrollbar { display: none; }
  .member { flex: 0 0 min(62%, 240px); scroll-snap-align: center; }
}
@media (hover: none) {
  .member-li { opacity: 1; translate: -50% 0; height: 36px; padding: 0 12px 0 5px; bottom: 10px; font-size: 12.5px; }
  .member-li > i:first-child { width: 26px; height: 26px; }
}

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 22px; background: rgba(10, 28, 44, 0.68); border: 1px solid rgba(155, 227, 229, 0.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 500; font-size: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-family: var(--font-display); font-size: 24px; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 22px; color: #c8d6da; font-size: 15px; line-height: 1.7; }

/* Final CTA */
.final-panel p { max-width: 520px; margin: 18px auto 28px; color: #d0d0d0; font-size: 16px; line-height: 1.55; }

/* Footer */
.footer { display: flex; align-items: center; gap: 12px; margin-top: clamp(56px, 9vh, 96px); padding-bottom: 8px; color: var(--muted); font-size: 13px; }
.footer-logo { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.footer-logo img { width: 74%; height: 74%; object-fit: contain; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 0.09s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .grid, .steps { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-card, .partner-card:nth-child(n + 4) { grid-column: auto; }
  .get-panel { grid-template-columns: 1fr; }
  .get-intro { text-align: center; }
  .get-intro p { margin-left: auto; margin-right: auto; }
  .sub-head.left { text-align: center; }
  .step + .step::before { display: none; }
  .phones { gap: 6px; }
  .p-side { flex-basis: 30%; }
  .p-main { flex-basis: 38%; }
  .phone figcaption { font-size: 11.5px; }
}

/* Entrance */
.anim {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: reveal 0.85s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
.anim.pulse { animation-name: revealPulse; }

@keyframes reveal {
  to { opacity: var(--o, 1); transform: none; filter: blur(0); }
}
@keyframes revealPulse {
  0% { opacity: 0; transform: translateY(22px) scale(0.98); filter: blur(6px); }
  70% { opacity: 1; transform: translateY(0) scale(1.03); filter: blur(0); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes headlineFade { to { opacity: 1; transform: none; } }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: none; }
}
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes linkIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Mobile */
@media (max-width: 720px) {
  .nav, .header > .sign-in { display: none; }
  .header { justify-content: space-between; max-width: none; }
  .logo { width: 48px; height: 48px; }
  .hero { padding-top: 40px; }

  .header { top: 16px; }
  .burger {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--pill-dark);
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .burger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: #fff;
    transition: transform 0.3s var(--ease), opacity 0.2s ease, background 0.3s ease;
  }
  .burger[aria-expanded="true"] { background: #fff; }
  .burger[aria-expanded="true"] span { background: #000; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 5;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: overlayIn 0.28s ease both;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: fixed;
    z-index: 6;
    top: calc(clamp(16px, 2.4vh, 28px) + 48px + 12px);
    left: clamp(14px, 3vw, 32px);
    right: clamp(14px, 3vw, 32px);
    padding: 22px 18px 20px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    animation: menuIn 0.38s var(--ease) both;
  }
  .overlay[hidden], .mobile-menu[hidden] { display: none; }
  .mobile-menu a:not(.sign-in-mobile) {
    position: relative;
    padding: 12px 0 18px;
    text-align: center;
    font-weight: 500;
    font-size: 17px;
    color: var(--nav-text);
    opacity: 0.5;
    animation: linkIn 0.4s var(--ease) both;
  }
  .mobile-menu a.active { opacity: 1; }
  .mobile-menu a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 3px;
    height: 3px;
    margin-left: -1.5px;
    border-radius: 50%;
    background: #000;
    box-shadow: -5px 0 0 #000, 5px 0 0 #000;
  }
  .mobile-menu a:nth-child(1) { animation-delay: 0.08s; }
  .mobile-menu a:nth-child(2) { animation-delay: 0.13s; }
  .mobile-menu a:nth-child(3) { animation-delay: 0.18s; }
  .mobile-menu a:nth-child(4) { animation-delay: 0.23s; }
  .mobile-menu a:nth-child(5) { animation-delay: 0.28s; }
  .sign-in-mobile {
    margin-top: 8px;
    padding: 14px 0;
    border-radius: 999px;
    background: var(--pill-dark);
    color: var(--sign-in-text);
    text-align: center;
    font-weight: 500;
    font-size: 15px;
    animation: linkIn 0.4s var(--ease) 0.33s both;
  }

  .headline { font-size: 9.2vw; }
}

@media (max-width: 420px) {
}

@media (max-height: 700px) {
  .headline { margin-bottom: 10px; }
  .subhead { margin-bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .sos-status { opacity: 1; transform: none; }
  .caret { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anim { opacity: var(--o, 1); transform: none; filter: none; }
  .headline .line { opacity: 1; transform: none; }
  .headline { color: #fff; }
  .overlay, .mobile-menu, .header { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}


/* Hero parallax (uses the individual `translate` property so it composes with entrance animations) */
.hero [data-depth] {
  translate: calc(var(--px, 0) * var(--depth, 0) * 1px) calc(var(--py, 0) * var(--depth, 0) * 1px);
  transition: translate 0.5s var(--ease);
}
.bg-video { scale: 1.06; translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -8px); transition: translate 0.8s var(--ease); }

/* 3D tilt on cards / steps / phones */
.tilt { position: relative; transform-style: preserve-3d; }
.tilt.in, .member-frame.tilt {
  transform: perspective(900px) translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.tilt.tilting { transition: transform 0.12s linear, opacity 0.8s var(--ease), box-shadow 0.3s ease; }
.tilt.in:not(.tilting), .member-frame.tilt:not(.tilting) { transition: transform 0.6s var(--ease), opacity 0.8s var(--ease), box-shadow 0.3s ease; }
.card.tilt:hover, .step.tilt:hover { --lift: -6px; }
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.16), transparent 65%);
}
.tilt:hover::after { opacity: 1; }
.card.dark.tilt:hover, .step.tilt:hover { border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(109, 196, 199, 0.12); }
.card.light.tilt:hover { border-color: rgba(var(--c), 0.8); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 46px rgba(var(--c), 0.28); }

/* Phones float gently and tilt deeper */
.phone.tilt::after { display: none; }
.phone { animation: floaty 6s ease-in-out infinite; }
.phone:nth-child(2) { animation-delay: -2s; animation-duration: 7s; }
.phone:nth-child(3) { animation-delay: -4s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.phone.tilt:hover img { filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(109, 196, 199, 0.3)); }

@media (hover: none) {
  .tilt::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .phone { animation: none; }
  .hero [data-depth], .bg-video { translate: none; }
}


/* Interactive flood gauge: scroll = rising water. Click a mark to jump, drag the life ring to scrub. */
.gauge {
  --p: 0;
  --c: 74, 222, 128;
  position: fixed;
  right: clamp(26px, 2.6vw, 40px);
  top: 50%;
  z-index: 3;
  width: 14px;
  height: clamp(260px, 46vh, 440px);
  translate: 0 -50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.gauge.on { opacity: 1; }
.gauge.on > * { pointer-events: auto; }
.gauge[data-state="moderate"] { --c: 251, 191, 36; }
.gauge[data-state="severe"] { --c: 248, 113, 113; }
.gauge[data-state="critical"] { --c: 167, 139, 250; }
.gauge[data-state="rescued"] { --c: 126, 224, 200; }

.gauge-track {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(155, 227, 229, 0.1);
  border: 1px solid rgba(155, 227, 229, 0.3);
  overflow: hidden;
  cursor: pointer;
}
.gauge-fill {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--p) * 100%);
  background: linear-gradient(180deg, rgba(var(--c), 0.95), rgba(60, 140, 230, 0.9) 45%, rgba(20, 70, 140, 0.95));
  transition: height 0.15s linear;
}
.gauge-fill::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -5px;
  height: 7px;
  background: radial-gradient(circle at 50% 100%, rgba(var(--c), 0.95) 55%, transparent 58%) 0 0 / 14px 7px repeat-x;
  animation: gaugeWave 1.6s linear infinite;
}
@keyframes gaugeWave { to { background-position-x: 14px; } }

.gauge-scale span {
  position: absolute;
  right: 26px;
  bottom: calc(var(--t) * 100%);
  translate: 0 50%;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.gauge-scale span::after { content: ""; position: absolute; left: calc(100% + 6px); top: 50%; width: 8px; border-top: 1px solid rgba(255, 255, 255, 0.35); }

.gauge-ring {
  position: absolute;
  left: 50%;
  bottom: calc(var(--p) * 100%);
  translate: -50% 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(var(--c), 0.85);
  background: rgba(6, 16, 26, 0.88);
  color: rgb(var(--c));
  font-size: 16px;
  cursor: grab;
  box-shadow: 0 0 0 4px rgba(var(--c), 0.14), 0 8px 22px rgba(0, 0, 0, 0.5), 0 0 22px rgba(var(--c), 0.35);
  transition: bottom 0.15s linear, border-color 0.3s ease, color 0.3s ease, scale 0.25s var(--ease);
  touch-action: none;
}
.gauge-ring i { animation: ringBob 3.2s ease-in-out infinite; }
@keyframes ringBob { 0%, 100% { rotate: -14deg; translate: 0 -1px; } 50% { rotate: 14deg; translate: 0 2px; } }
.gauge-ring:hover, .gauge-ring:focus-visible { scale: 1.12; outline: none; }
.gauge.dragging .gauge-ring { cursor: grabbing; scale: 1.18; transition: border-color 0.3s ease, color 0.3s ease, scale 0.25s var(--ease); }
.gauge.dragging .gauge-fill { transition: none; }

.gauge-chip {
  position: absolute;
  right: 36px;
  bottom: calc(var(--p) * 100%);
  translate: 0 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(6, 16, 26, 0.78);
  border: 1px solid rgba(var(--c), 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  transition: bottom 0.15s linear, border-color 0.3s ease, opacity 0.25s ease;
}
.gauge-dot { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 10px rgb(var(--c)); }
.gauge-depth { font-variant-numeric: tabular-nums; font-weight: 600; }
.gauge-state { color: rgb(var(--c)); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 10.5px; }
.gauge:hover .gauge-chip:not(.keep), .gauge:focus-within .gauge-chip:not(.keep) { opacity: 0; }
.gauge.dragging .gauge-chip { opacity: 1 !important; transition: border-color 0.3s ease; }

.gauge-mark {
  position: absolute;
  left: 50%;
  bottom: calc(var(--m) * 100%);
  translate: -50% 50%;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.gauge-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 2px rgba(6, 16, 26, 0.9);
  transition: scale 0.25s var(--ease), background 0.25s ease;
}
.gauge-mark.past::before { background: #fff; }
.gauge-mark.now::before { background: rgb(var(--c)); scale: 1.5; }
.gauge-mark:hover::before, .gauge-mark:focus-visible::before { scale: 1.9; background: #fff; }
.gauge-mark span {
  position: absolute;
  right: 28px;
  top: 50%;
  translate: 8px -50%;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 16, 26, 0.88);
  border: 1px solid rgba(155, 227, 229, 0.3);
  color: #e8f4f4;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, translate 0.3s var(--ease);
}
.gauge:hover .gauge-mark span, .gauge:focus-within .gauge-mark span { opacity: 0.65; translate: 0 -50%; }
.gauge-mark:hover span, .gauge-mark:focus-visible span { opacity: 1 !important; }

@media (max-width: 900px) { .gauge { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .wave, .gauge-fill::before, .gauge-ring i { animation: none; }
  .gauge-fill, .gauge-ring, .gauge-chip { transition: none; }
}


/* Impact stats */
.stats-sec { padding-top: clamp(40px, 7vh, 80px); max-width: 1200px; }
.stats-head { text-align: center; margin-bottom: clamp(18px, 3vh, 28px); }
.stats-head .eyebrow { margin-bottom: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.stat {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: clamp(210px, 24vw, 280px);
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: 30px;
  background: rgba(10, 28, 44, 0.68);
  border: 1px solid rgba(155, 227, 229, 0.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
/* Realistic water inside each card: layered moving waves, depth gradient, glints and bubbles */
.stat > .stat-icon, .stat > .stat-num, .stat > .stat-label { position: relative; z-index: 2; }
.water {
  position: absolute;
  z-index: 0;
  left: 0; right: 0; bottom: 0;
  height: 0;
  transition: height 1.9s var(--ease);
  pointer-events: none;
}
.stat.in .water { height: calc(var(--lvl) * 100%); }
.stat.in:hover .water { height: 90%; transition-duration: 1.3s; }
.water-body {
  position: absolute;
  inset: 12px 0 0;
  background:
    radial-gradient(60% 40% at 25% 0%, rgba(190, 240, 255, 0.28), transparent 70%),
    linear-gradient(180deg, rgba(104, 196, 240, 0.5) 0%, rgba(44, 120, 205, 0.68) 38%, rgba(16, 58, 128, 0.9) 100%);
}
/* drifting light caustics */
.water-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 14% at 20% 30%, rgba(200, 245, 255, 0.16), transparent 70%),
    radial-gradient(34% 12% at 70% 55%, rgba(200, 245, 255, 0.12), transparent 70%),
    radial-gradient(30% 10% at 45% 78%, rgba(200, 245, 255, 0.1), transparent 70%);
  background-size: 160% 100%;
  animation: causticDrift 7s ease-in-out infinite alternate;
}
@keyframes causticDrift { from { background-position: 0 0; } to { background-position: 60% 0; } }
.wave-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 200%;
  height: 26px;
  overflow: visible;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 100%);
}
.wave-layer path.fill { fill: var(--wf); }
.wave-layer path.crest { fill: none; stroke: rgba(225, 250, 255, 0.85); stroke-width: 1.4; stroke-linecap: round; }
.wave-back { --wf: rgba(110, 200, 240, 0.35); animation: waveMove 9s linear infinite reverse; }
.wave-front { --wf: rgba(104, 196, 240, 0.5); animation: waveMove 6s linear infinite; }
.bubble {
  position: absolute;
  bottom: 6px;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  border: 1px solid rgba(220, 248, 255, 0.55);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.05) 60%);
  opacity: 0;
  animation: bubbleUp var(--d) ease-in infinite;
  animation-delay: var(--dl);
}
@keyframes bubbleUp {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  12% { opacity: 0.9; }
  100% { transform: translateY(calc(var(--rise, 120px) * -1)) translateX(var(--dx, 8px)) scale(1); opacity: 0; }
}
.stat-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7ee0c8, #4da3f0);
  color: #07121c;
  font-size: 17px;
  box-shadow: 0 8px 22px rgba(77, 163, 240, 0.35);
}
.stat-num {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(54px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 30%, #bfeaf0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.4));
}
.stat-label { margin: 0; color: #d6e6ea; font-size: clamp(14px, 1.3vw, 16px); font-weight: 500; line-height: 1.35; }

@media (max-width: 900px) { .stat { min-height: 200px; } }
@media (max-width: 420px) { .stats-grid { gap: 10px; } .stat { padding: 18px; border-radius: 24px; } .stat-num { font-size: clamp(46px, 15vw, 64px); } }
@media (prefers-reduced-motion: reduce) { .water { transition: none; } .wave-layer, .bubble, .water-body::after { animation: none; } .bubble { display: none; } }

/* Hero stat: full-width on top, the other three sit below */
.stat-hero { grid-column: 1 / -1; align-items: center; text-align: center; min-height: clamp(230px, 24vw, 320px); }
.stat-hero .stat-icon { position: absolute; top: clamp(22px, 2.4vw, 30px); left: clamp(22px, 2.4vw, 30px); }
.stat-hero .stat-num { font-size: clamp(64px, 12.5vw, 188px); }
.stat-hero .stat-label { font-size: clamp(16px, 1.6vw, 21px); }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat-hero { min-height: 200px; } }
@media (max-width: 520px) { .stats-grid { grid-template-columns: 1fr; } }


/* Problem cards: illustration on top, text below */
.problem-card { padding: 0; gap: 0; overflow: hidden; }
.problem-img { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.problem-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.problem-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 16, 26, 0) 45%, rgba(10, 28, 44, 0.9) 100%);
  pointer-events: none;
}
.problem-card:hover .problem-img img { transform: scale(1.06); }
.problem-img .card-icon {
  position: absolute;
  z-index: 1;
  left: clamp(18px, 2vw, 24px);
  bottom: -2px;
  margin: 0;
  width: 44px;
  height: 44px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}
.problem-card > p { padding: clamp(24px, 2.6vw, 30px) clamp(18px, 2vw, 24px) clamp(22px, 2.4vw, 28px); font-size: clamp(16px, 1.45vw, 18px); }

/* Inline wordmark inside a heading */
.h2-logo { display: inline-block; height: 0.92em; width: auto; vertical-align: -0.13em; margin-left: 0.06em; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45)); }

/* Solution cards: same frame as the problem cards */
.card.light.solution-card {
  background: rgba(10, 28, 44, 0.68);
  border: 1px solid rgba(155, 227, 229, 0.16);
  padding: 0;
  gap: 0;
  overflow: hidden;
}
.card.light.solution-card.tilt:hover { border-color: rgba(155, 227, 229, 0.3); box-shadow: none; }
.solution-card .problem-img { aspect-ratio: 4 / 3; border-bottom: 0; }
.solution-card .problem-img img { object-position: 50% 30%; }
.solution-card .problem-img .card-icon { background: #fff; color: #111; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45); bottom: -2px; }
.solution-body { display: flex; flex-direction: column; gap: 8px; padding: clamp(24px, 2.6vw, 30px) clamp(18px, 2vw, 24px) clamp(22px, 2.4vw, 28px); }
.solution-body h3 { font-size: clamp(16px, 1.45vw, 18px); }

.problem-card > p, .solution-body { padding-top: clamp(20px, 2.2vw, 26px); }


/* Awards & recognition */
.awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.award {
  --a: 245, 196, 81;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: clamp(280px, 26vw, 340px);
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: 30px;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(var(--a), 0.22), transparent 70%),
    rgba(10, 28, 44, 0.68);
  border: 1px solid rgba(var(--a), 0.35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}
.award.tier-silver { --a: 196, 212, 228; }
.award:hover { transform: translateY(-6px); border-color: rgba(var(--a), 0.8); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 46px rgba(var(--a), 0.22); }
/* big engraved numeral */
.award-place {
  position: absolute;
  z-index: -1;
  right: 14px;
  top: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(84px, 9.5vw, 128px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--a), 0.3);
}
.award-medal {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: clamp(48px, 6vw, 84px);
  border-radius: 50%;
  background: linear-gradient(145deg, rgb(var(--a)), rgba(var(--a), 0.55));
  color: #1b1405;
  font-size: 22px;
  box-shadow: 0 10px 28px rgba(var(--a), 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.award.tier-silver .award-medal { color: #0e1824; }
.award h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.03em; line-height: 1.05; color: rgb(var(--a)); }
.award-name { margin: 0; font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; line-height: 1.3; color: #fff; }
.award-org { color: #b9cbd2; font-size: 14px; }
.award-year { margin-top: auto; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: rgba(var(--a), 0.16); border: 1px solid rgba(var(--a), 0.4); color: rgb(var(--a)); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
/* gentle shine sweep */
.award::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.award:hover::after { transform: translateX(120%); transition: transform 0.9s var(--ease); }

/* Press */
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.press {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(10, 28, 44, 0.68);
  border: 1px solid rgba(155, 227, 229, 0.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}
.press:hover { transform: translateY(-5px); border-color: rgba(155, 227, 229, 0.45); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.5), 0 0 38px rgba(77, 163, 240, 0.18); }
.press-img { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(70% 90% at 30% 20%, rgba(77, 163, 240, 0.35), transparent 70%), linear-gradient(135deg, #123049, #0a1c2c); color: rgba(255, 255, 255, 0.28); font-size: 40px; }
.press-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.press:hover .press-img img { transform: scale(1.05); }
.press-body { display: flex; flex-direction: column; gap: 8px; padding: clamp(18px, 2vw, 24px); }
.press-outlet { color: #9be3e5; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; }
.press-body strong { font-size: clamp(16px, 1.45vw, 18px); font-weight: 600; line-height: 1.35; color: #fff; }
.press-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: #c8d9de; font-size: 13.5px; font-weight: 500; }
.press-link i { font-size: 11px; transition: transform 0.3s var(--ease); }
.press:hover .press-link i { transform: translate(2px, -2px); }

@media (max-width: 820px) { .awards-grid, .press-grid { grid-template-columns: 1fr; } .award { min-height: 240px; } }
@media (prefers-reduced-motion: reduce) { .award, .press { transition: none; } .award::after { display: none; } }

