@font-face {
  font-family: "Geist Pixel Circle";
  src: url("/fonts/GeistPixel-Circle.woff2") format("woff2");
  font-style: normal;
  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;
}

* {
  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;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a,
button {
  font: inherit;
}

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

button {
  border: 0;
  padding: 0;
  cursor: pointer;
}

.bg {
  position: absolute;
  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;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding: clamp(16px, 2.4vh, 28px) clamp(14px, 3vw, 32px);
}

.site-header,
.hero,
.stats,
.mobile-menu {
  position: relative;
  z-index: 1;
}

.site-header {
  z-index: 30;
  width: min(100%, 720px);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 28px);
  animation: slideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-mark {
  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 0.25s ease;
}

.brand-mark:hover {
  transform: scale(1.04);
}

.brand-mark img {
  display: block;
  width: 72%;
  height: 72%;
  object-fit: contain;
}

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

.nav-pill a {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 0 clamp(7px, 1vw, 12px);
  color: var(--nav-text);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

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

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

.nav-pill a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #000;
  transform: translateX(-50%);
  box-shadow: -5px 0 0 #000, 5px 0 0 #000;
}

.sign-in {
  height: clamp(44px, 5.2vw, 48px);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(18px, 2vw, 24px);
  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;
  letter-spacing: -0.01em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

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

.menu-toggle {
  display: none;
}

.hero {
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-inner {
  width: min(100%, 900px);
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-row {
  --trust-size: clamp(36px, 4.5vw, 42px);
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(16px, 2.5vh, 26px);
}

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

.trust-avatar {
  position: relative;
  width: var(--trust-size);
  height: var(--trust-size);
  flex: 0 0 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 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.trust-avatar span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
}

.trust-avatar i {
  color: #111;
  font-size: calc(var(--trust-size) * 0.34);
  line-height: 1;
}

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

.trust-avatar.a2 {
  z-index: 2;
  margin-left: calc(var(--trust-size) * -0.42);
}

.trust-avatar.a3 {
  z-index: 4;
  margin-left: calc(var(--trust-size) * -0.42);
}

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

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

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

.trust-pill {
  height: var(--trust-size);
  display: inline-flex;
  align-items: center;
  margin-left: calc(var(--trust-size) * -0.42);
  padding: 0 calc(var(--trust-size) * 0.42) 0 calc(var(--trust-size) * 0.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;
  line-height: 1;
  white-space: nowrap;
}

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

.headline-line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.headline .line-1 {
  animation-delay: 0.12s;
}

.headline .line-2 {
  animation-delay: 0.3s;
}

.subhead {
  --final-opacity: 0.8;
  width: min(500px, 92%);
  max-width: min(500px, 92%);
  margin: clamp(16px, 2.4vh, 24px) auto 0;
  color: #d0d0d0;
  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(16px, 2.6vh, 26px);
  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;
  line-height: 1;
  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.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.cta:hover,
.cta.anim:hover {
  animation-name: none;
  opacity: 1;
  filter: none;
  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.46),
    0 0 56px rgba(255, 255, 255, 0.2);
}

.stats {
  width: min(100%, 920px);
  max-width: 920px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 44px);
  align-items: end;
}

.stat {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 3px;
  text-align: center;
}

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

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

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

.anim {
  --final-opacity: 1;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(22px) scale(0.98);
  animation: reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

.subhead.anim {
  --final-opacity: 0.8;
}

.cta.anim {
  animation-name: revealPulse;
}

.mobile-menu[hidden] {
  display: none !important;
}

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

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

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

@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: translate(-50%, -12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

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

@media (max-width: 720px) {
  .page {
    padding-inline: 14px;
  }

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

  .desktop-nav,
  .desktop-sign-in {
    display: none;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .menu-toggle {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    background: var(--pill-dark);
    box-shadow: var(--nav-shadow);
    transition: background 0.25s ease, transform 0.25s ease;
  }

  .menu-toggle span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 1.5px;
    border-radius: 999px;
    background: #fff;
    transform-origin: center;
    transition:
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.2s ease,
      background 0.2s ease;
  }

  .menu-toggle span:nth-child(1) {
    transform: translate(-50%, -6.5px);
  }

  .menu-toggle span:nth-child(2) {
    transform: translate(-50%, 0);
  }

  .menu-toggle span:nth-child(3) {
    transform: translate(-50%, 6.5px);
  }

  .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: translate(-50%, 0) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translate(-50%, 0) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 20;
  }

  .mobile-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: overlayIn 0.28s ease both;
  }

  .mobile-sheet {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: calc(clamp(16px, 2.4vh, 28px) + 62px);
    width: min(calc(100% - 28px), 430px);
    padding: 22px 18px 20px;
    display: grid;
    gap: 4px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    animation: menuIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .mobile-sheet a {
    position: relative;
    min-height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--nav-text);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    opacity: 0;
    animation: linkIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .mobile-sheet a:nth-child(1) { animation-delay: 0.06s; }
  .mobile-sheet a:nth-child(2) { animation-delay: 0.1s; }
  .mobile-sheet a:nth-child(3) { animation-delay: 0.14s; }
  .mobile-sheet a:nth-child(4) { animation-delay: 0.18s; }
  .mobile-sheet a:nth-child(5) { animation-delay: 0.22s; }

  .mobile-sheet a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #000;
    transform: translateX(-50%);
    box-shadow: -5px 0 0 #000, 5px 0 0 #000;
  }

  .mobile-sheet .mobile-sign-in {
    min-height: 48px;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--pill-dark);
    color: #fff;
  }

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

  .subhead-break {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 2vh, 18px) clamp(12px, 5vw, 36px);
  }
}

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

  .trust-pill {
    padding-right: calc(var(--trust-size) * 0.34);
    font-size: 12px;
  }

  .headline {
    font-size: clamp(28px, 8.4vw, 35px);
    line-height: 1.04;
    letter-spacing: -0.09em;
  }
}

@media (max-height: 700px) {
  .page {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .trust-row {
    margin-bottom: 10px;
  }

  .headline {
    font-size: clamp(28px, 5.6vw, 66px);
  }

  .subhead {
    margin-top: 10px;
    line-height: 1.4;
  }

  .cta {
    margin-top: 12px;
  }

  .stats {
    gap: 8px 20px;
  }

  .stat-icon {
    font-size: clamp(19px, 2.5vw, 27px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .anim,
  .headline-line {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .subhead {
    opacity: 0.8 !important;
  }

  .headline {
    color: #fff !important;
  }
}

/* Jane handwritten brand wordmark replaces the old circular homepage symbol. */
.brand-mark{width:clamp(66px,6.8vw,80px);height:clamp(45px,4.5vw,54px);flex:0 0 auto;border-radius:0;background:transparent;box-shadow:none}
.brand-mark img{width:100%;height:100%;object-fit:contain;filter:invert(1) drop-shadow(0 2px 8px rgba(0,0,0,.32))}
@media(max-width:720px){.brand-mark{width:78px;height:49px}}
