@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --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: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; height: 100%; }
html { background: var(--bg); }
body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.bg { position: absolute; inset: 0; overflow: hidden; background: #000; }
.bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.08); pointer-events: none; }
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; z-index: 0; }

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

.header {
  width: min(720px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 28px);
  flex: 0 0 auto;
  z-index: 3;
  animation: slideDown .7s cubic-bezier(.22,1,.36,1) both;
}
.logo-button {
  width: clamp(40px, 4.4vw, 46px);
  height: clamp(40px, 4.4vw, 46px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--nav-shadow);
  transition: transform .25s ease;
}
.logo-button:hover { transform: scale(1.04); }
.logo-button img { width: 72%; height: 72%; object-fit: contain; }
.desktop-nav {
  height: clamp(44px, 5.2vw, 48px);
  max-width: 430px;
  flex: 1 1 430px;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--nav-shadow);
}
.desktop-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(8px, 1.1vw, 14px);
  color: var(--nav-text);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
  letter-spacing: -.01em;
  opacity: .5;
  transition: opacity .2s ease;
  white-space: nowrap;
}
.desktop-nav a:hover { opacity: .75; }
.desktop-nav a.active { opacity: 1; }
.desktop-nav a.active::after,
.menu-sheet a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 3px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #000;
  box-shadow: -5px 0 #000, 5px 0 #000;
}
.sign-in {
  height: clamp(44px, 5.2vw, 48px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 clamp(19px, 2.2vw, 25px);
  border-radius: 999px;
  background: var(--pill-dark);
  box-shadow: var(--nav-shadow);
  color: var(--sign-in-text);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
  transition: transform .22s ease, color .22s ease, background .22s ease;
  white-space: nowrap;
}
.sign-in:hover { background: #323234; color: #fff; transform: translateY(-1px); }
.menu-toggle { display: none; }

.hero {
  flex: 1 1 auto;
  min-height: 0;
  width: min(900px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.trust-row {
  --trust-size: clamp(36px, 4.5vw, 42px);
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(16px, 2.5vh, 26px);
}
.avatars { display: flex; align-items: center; }
.avatar {
  position: relative;
  width: var(--trust-size);
  height: var(--trust-size);
  display: grid;
  place-items: center;
  padding: 5px;
  border: 1px solid var(--trust-border);
  border-radius: 50%;
  background: var(--trust-bg);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.avatar + .avatar { margin-left: calc(var(--trust-size) * -.42); }
.avatar-1 { z-index: 1; }
.avatar-2 { z-index: 2; }
.avatar-3 { z-index: 4; }
.avatar > span { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #111; }
.avatar i { font-size: calc(var(--trust-size) * .34); }
.avatar-1:hover, .avatar-3:hover { transform: translateY(-2px); }
.avatar-2:hover { transform: translateY(-4px); }
.trust-pill {
  height: var(--trust-size);
  display: flex;
  align-items: center;
  margin-left: calc(var(--trust-size) * -.42);
  padding: 0 calc(var(--trust-size) * .42) 0 calc(var(--trust-size) * .58);
  border: 1px solid var(--trust-border);
  border-radius: 999px;
  background: var(--trust-bg);
  color: var(--trust-text);
  font-size: clamp(12px, 1.4vw, 13.5px);
  font-weight: 500;
  white-space: nowrap;
}
.headline { width: 100%; margin: 0; color: #fff; font-family: var(--font-display); font-size: clamp(28px, 6.2vw, 80px); font-weight: 400; letter-spacing: -.04em; line-height: 1.12; }
.headline span { display: block; white-space: nowrap; overflow: hidden; opacity: 0; transform: translateY(14px); animation: headlineFade .85s cubic-bezier(.22,1,.36,1) forwards; }
.headline span:first-child { animation-delay: .12s; }
.headline span:last-child { animation-delay: .3s; }
.subhead { max-width: min(500px, 92%); margin: clamp(14px, 2.3vh, 22px) 0 0; color: #d0d0d0; opacity: .8; font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt)); font-weight: 400; line-height: 1.55; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(18px, 3vh, 28px);
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 0 22px rgba(255,255,255,.32), 0 0 44px rgba(255,255,255,.12);
  transition: transform .25s ease, box-shadow .25s ease;
  animation-name: revealPulse !important;
}
.cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 0 30px rgba(255,255,255,.46), 0 0 55px rgba(255,255,255,.2); }

.stats {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 4vw, 48px);
  flex: 0 0 auto;
}
.stat { min-width: 0; display: grid; grid-template-columns: auto auto; justify-content: center; align-items: baseline; column-gap: clamp(7px, .9vw, 11px); row-gap: 1px; }
.stat-icon { grid-row: 1 / span 2; align-self: center; color: #fff; font-family: var(--font-display); font-size: clamp(22px, 3vw, 33px); line-height: 1; }
.stat-value { color: #fff; font-size: clamp(18px, 2.2vw, 26px); font-weight: 500; letter-spacing: -.025em; line-height: 1.08; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-label { color: var(--muted); font-size: clamp(11px, 1.2vw, 12.5px); line-height: 1.25; white-space: nowrap; }

.anim { opacity: 0; transform: translateY(22px) scale(.98); filter: blur(6px); animation: reveal .85s cubic-bezier(.22,1,.36,1) forwards; animation-delay: var(--d, 0s); }
.mobile-menu { position: fixed; inset: 0; z-index: 10; }
.mobile-menu[hidden] { display: none; }
.menu-overlay { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(0,0,0,.62); backdrop-filter: blur(6px); animation: overlayIn .28s ease both; }
.menu-sheet { position: absolute; top: 82px; left: 50%; width: min(calc(100% - 28px), 390px); transform: translateX(-50%); display: flex; flex-direction: column; gap: 4px; padding: 22px 18px 20px; border-radius: 28px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.45); animation: menuIn .38s cubic-bezier(.22,1,.36,1) both; }
.menu-sheet a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 16px; color: var(--nav-text); font-weight: 500; opacity: 0; animation: linkIn .45s cubic-bezier(.22,1,.36,1) forwards; }
.menu-sheet a:nth-child(1) { animation-delay: .08s; }
.menu-sheet a:nth-child(2) { animation-delay: .12s; }
.menu-sheet a:nth-child(3) { animation-delay: .16s; }
.menu-sheet a:nth-child(4) { animation-delay: .2s; }
.menu-sheet a:nth-child(5) { animation-delay: .24s; }
.menu-sheet a.active::after { bottom: 8px; }
.menu-sheet .mobile-sign-in { margin-top: 10px; min-height: 48px; border-radius: 999px; background: var(--pill-dark); color: #fff; }
body.menu-open { overflow: hidden; }

@keyframes slideDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@keyframes headlineFade { to { opacity: 1; transform: none; } }
@keyframes reveal { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes revealPulse { 0% { opacity: 0; transform: translateY(22px) scale(.98); filter: blur(6px); } 75% { opacity: 1; transform: translateY(-1px) scale(1.025); filter: blur(0); } 100% { opacity: 1; transform: none; filter: blur(0); } }
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes menuIn { from { opacity: 0; transform: translate(-50%,-18px) scale(.96); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes linkIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .page { padding-inline: 14px; }
  .header { width: 100%; justify-content: space-between; }
  .logo-button { width: 48px; height: 48px; }
  .desktop-nav, .desktop-sign-in { display: none; }
  .menu-toggle { width: 48px; height: 48px; display: grid; place-content: center; gap: 5px; padding: 0; border: 0; border-radius: 50%; background: var(--pill-dark); box-shadow: var(--nav-shadow); cursor: pointer; transition: background .25s ease; }
  .menu-toggle span { width: 18px; height: 1.5px; display: block; background: #fff; transition: transform .28s ease, opacity .2s ease, background .2s ease; }
  .menu-toggle[aria-expanded="true"] { background: #fff; }
  .menu-toggle[aria-expanded="true"] span { background: #000; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .headline { font-size: clamp(28px, 10.4vw, 58px); letter-spacing: -.08em; line-height: 1.05; }
  .subhead { line-height: 1.45; }
  .desktop-break { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); column-gap: 12px; row-gap: clamp(10px, 2vh, 16px); }
  .stat { justify-content: center; }
}

@media (max-width: 420px) {
  .trust-row { --trust-size: 34px; }
  .trust-pill { font-size: 12px; padding-right: calc(var(--trust-size) * .32); }
  .headline { font-size: clamp(27px, 10.1vw, 42px); letter-spacing: -.09em; line-height: 1.04; }
  .subhead { font-size: 14px; max-width: 95%; }
  .stat-icon { font-size: 23px; }
  .stat-value { font-size: 18px; }
  .stat-label { font-size: 10.5px; }
}

@media (max-height: 700px) {
  .trust-row { margin-bottom: 10px; }
  .subhead { margin-top: 10px; line-height: 1.38; }
  .cta { margin-top: 12px; }
  .stats { gap: 8px clamp(12px, 3vw, 32px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .anim, .headline span, .menu-sheet a { opacity: 1; transform: none; filter: none; }
}
