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

@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  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;
  --trust-size: clamp(36px, 4.5vw, 42px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #000;
  z-index: 0;
}

.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;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(16px, 2.4vh, 28px) clamp(14px, 3vw, 32px) 0;
}

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

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

.logo-btn {
  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);
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease);
}

.logo-btn img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.logo-btn:hover {
  transform: scale(1.04);
}

.nav-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  max-width: 430px;
  height: clamp(44px, 5.2vw, 48px);
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--nav-shadow);
}

.nav-pill a {
  position: relative;
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  color: var(--nav-text);
  opacity: 0.5;
  padding: 8px 6px 14px;
  transition: opacity 0.2s ease;
}

.nav-pill a:hover {
  opacity: 0.75;
}

.nav-pill a.is-active {
  opacity: 1;
}

.nav-pill a.is-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 {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 18px;
  border-radius: 999px;
  background: var(--pill-dark);
  color: var(--sign-in-text);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  box-shadow: var(--nav-shadow);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}

.sign-in:hover {
  background: #323234;
  color: #fff;
  transform: translateY(-1px);
}

.burger {
  display: none;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pill-dark);
  box-shadow: var(--nav-shadow);
  position: relative;
}

.burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  margin-left: -9px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.28s var(--ease), background 0.2s ease, opacity 0.2s ease;
}

.burger span:nth-child(1) {
  transform: translateY(-6.5px);
}

.burger span:nth-child(2) {
  transform: translateY(0);
}

.burger span:nth-child(3) {
  transform: translateY(6.5px);
}

.burger.is-open {
  background: #fff;
}

.burger.is-open span {
  background: #000;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* ---------- hero ---------- */
.hero-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: calc(100dvh - 88px);
  padding-bottom: 20px;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.trust {
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(16px, 2.5vh, 26px);
  --d: 0.05s;
}

.trust-avatars {
  display: flex;
  align-items: center;
}

.trust-ring {
  width: var(--trust-size);
  height: var(--trust-size);
  border-radius: 50%;
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  padding: 5px;
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease);
}

.trust-ring + .trust-ring,
.trust-pill {
  margin-left: calc(var(--trust-size) * -0.42);
}

.trust-ring .inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: #111;
}

.trust-ring .inner i {
  font-size: calc(var(--trust-size) * 0.34);
  line-height: 1;
}

.trust-ring.a1 {
  z-index: 1;
}

.trust-ring.a2 {
  z-index: 2;
}

.trust-ring.a3 {
  z-index: 4;
}

.trust:hover .a1 {
  transform: translateY(-2px);
}

.trust:hover .a2 {
  transform: translateY(-4px);
}

.trust:hover .a3 {
  transform: translateY(-2px);
}

.trust-pill {
  z-index: 3;
  display: flex;
  align-items: center;
  height: var(--trust-size);
  padding: 0 16px 0 calc(var(--trust-size) * 0.58);
  border-radius: 999px;
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  color: var(--trust-text);
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 13.5px);
  white-space: nowrap;
}

.headline {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 6.2vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #fff;
}

.headline.anim {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}

.headline span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  animation: headlineFade 0.85s var(--ease) both;
}

.headline span:nth-child(1) {
  animation-delay: 0.12s;
}

.headline span:nth-child(2) {
  animation-delay: 0.3s;
}

.subhead {
  margin: 0 0 22px;
  max-width: min(500px, 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;
  opacity: 0.8;
  --d: 0.28s;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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.25s var(--ease), box-shadow 0.25s ease;
  --d: 0.4s;
  animation-name: revealPulse;
}

.cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 28px rgba(255, 255, 255, 0.45),
    0 0 56px rgba(255, 255, 255, 0.18);
}

/* ---------- stats ---------- */
.stats {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 12px;
  width: 100%;
  max-width: 920px;
  padding-top: 8px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.stat-icon {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 33px);
  color: #fff;
  line-height: 1;
}

.stat-value {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: -0.025em;
  color: #fff;
  font-weight: 500;
}

.stat-label {
  color: var(--muted);
  font-size: clamp(11px, 1.2vw, 12.5px);
  font-weight: 400;
}

.stat:nth-child(1) {
  --d: 0.5s;
}

.stat:nth-child(2) {
  --d: 0.58s;
}

.stat:nth-child(3) {
  --d: 0.66s;
}

.stat:nth-child(4) {
  --d: 0.74s;
}

/* ---------- shared 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);
}

/* ---------- mobile overlay / sheet ---------- */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
  animation: overlayIn 0.28s ease both;
}

.mobile-menu {
  display: none;
  position: fixed;
  z-index: 3;
  left: 50%;
  top: 88px;
  width: min(420px, calc(100% - 28px));
  transform: translateX(-50%);
  background: #fff;
  color: var(--nav-text);
  border-radius: 28px;
  padding: 22px 18px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  animation: menuIn 0.38s var(--ease) both;
}

.mobile-menu a {
  display: block;
  position: relative;
  padding: 14px 10px 18px;
  font-weight: 500;
  font-size: 16px;
  color: var(--nav-text);
  opacity: 0.55;
  animation: linkIn 0.4s var(--ease) both;
}

.mobile-menu a:nth-child(1) {
  animation-delay: 0.06s;
}

.mobile-menu a:nth-child(2) {
  animation-delay: 0.1s;
}

.mobile-menu a:nth-child(3) {
  animation-delay: 0.14s;
}

.mobile-menu a:nth-child(4) {
  animation-delay: 0.18s;
}

.mobile-menu a:nth-child(5) {
  animation-delay: 0.22s;
}

.mobile-menu a.is-active,
.mobile-menu .sign-in {
  animation-name: linkInSolid;
}

.mobile-menu a.is-active {
  opacity: 1;
}

.mobile-menu a.is-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 .sign-in {
  width: 100%;
  margin-top: 8px;
  height: 48px;
  opacity: 1;
  color: var(--sign-in-text);
}

body.menu-open .menu-overlay,
body.menu-open .mobile-menu {
  display: block;
}

/* ---------- keyframes ---------- */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes revealPulse {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    filter: blur(6px);
  }
  72% {
    opacity: 1;
    transform: translateY(0) scale(1.03);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes headlineFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes overlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes linkIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 0.55;
    transform: translateY(0);
  }
}

@keyframes linkInSolid {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- breakpoints ---------- */
@media (max-width: 720px) {
  .nav-pill,
  .header > .sign-in {
    display: none;
  }

  .header {
    justify-content: space-between;
    max-width: none;
  }

  .logo-btn {
    width: 48px;
    height: 48px;
  }

  .burger {
    display: block;
  }

  .headline {
    letter-spacing: -0.08em;
    line-height: 1.05;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .trust-pill {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  :root {
    --trust-size: 34px;
  }

  .headline {
    letter-spacing: -0.09em;
    line-height: 1.04;
  }
}

@media (max-height: 700px) {
  .trust {
    margin-bottom: 12px;
  }

  .headline {
    margin-bottom: 10px;
  }

  .subhead {
    margin-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .anim,
  .headline span,
  .cta,
  .header,
  .mobile-menu a {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .headline {
    color: #fff;
  }
}

/* ---------- scroll content ---------- */
.band {
  position: relative;
  z-index: 1;
  width: calc(100% + 2 * clamp(14px, 3vw, 32px));
  margin-left: calc(-1 * clamp(14px, 3vw, 32px));
  margin-right: calc(-1 * clamp(14px, 3vw, 32px));
  background: #070708;
  padding: 72px clamp(14px, 3vw, 32px) 88px;
}

.band--alt {
  background: #0e0e10;
}

.band--page {
  flex: 1;
  width: 100%;
  margin: 0;
  background: transparent;
  padding: 36px 0 88px;
}

.band-inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

.band-inner--narrow {
  max-width: 640px;
}

.kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.page-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  font-weight: 400;
}

.band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
}

.band-lead {
  margin: 0 0 32px;
  max-width: 62ch;
  color: #c4c2c3;
  font-size: 15.5px;
  line-height: 1.6;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px 18px 18px;
  background: rgba(255, 255, 255, 0.03);
}

.info-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #111;
  margin-bottom: 12px;
  font-size: 14px;
}

.info-card h3,
.feature-list h3,
.story-card h2 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 600;
}

.info-card p,
.feature-list p,
.story-card p {
  margin: 0;
  color: #b8b6b7;
  font-size: 14.5px;
  line-height: 1.55;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.feature-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 18px;
}

.feature-list__n {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  line-height: 1.2;
}

.story-list {
  display: grid;
  gap: 16px;
}

.story-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.03);
}

.story-card h2 {
  font-size: 1.15rem;
}

.band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
}

button.cta {
  appearance: none;
}

.cta--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.inline-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form {
  margin-top: 8px;
}

.form label,
.form #intent-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
}

.form input,
.form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: #141416;
  color: #fff;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: #fff;
}

.form .row {
  margin-bottom: 14px;
}

.form .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.intents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intents label {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.intents input {
  width: auto;
  accent-color: #fff;
}

.note {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.note--ok {
  background: #ecfdf3;
  color: #1a7f4d;
}

.note--err {
  background: #fff1f0;
  color: #b42318;
}

body.is-inner .page {
  background: #070708;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .feature-list li {
    grid-template-columns: 36px 1fr;
  }
}
