@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);
}

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

html,
body {
  height: 100%;
}

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

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

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

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

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.bg-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 38%, rgba(0, 0, 0, 0.42) 68%, rgba(0, 0, 0, 0.78) 100%),
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.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,
.hero,
.stats,
.mobile-sheet,
.overlay {
  z-index: 1;
}

/* ---------- Header ---------- */
.header {
  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 cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo {
  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;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

.nav-link {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  color: #2e2e2e;
  opacity: 0.5;
  padding: 8px 10px;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.75;
}

.nav-link.is-active {
  opacity: 1;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  background: #000;
  border-radius: 50%;
  box-shadow: -5px 0 0 #000, 5px 0 0 #000;
}

.sign-in {
  flex-shrink: 0;
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #28282a;
  color: #c8c8c8;
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 14.5px);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s 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: #28282a;
  box-shadow: var(--nav-shadow);
  position: relative;
}

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

.burger span:nth-child(1) {
  top: calc(50% - 6.5px);
}
.burger span:nth-child(2) {
  top: 50%;
  margin-top: -0.75px;
}
.burger span:nth-child(3) {
  top: calc(50% + 5px);
}

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

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

.burger.is-open span:nth-child(1) {
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

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

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

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

.avatar {
  width: var(--trust-size);
  height: var(--trust-size);
  border-radius: 50%;
  background: #28282a;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 5px;
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

.avatar.a2,
.avatar.a3 {
  margin-left: calc(var(--trust-size) * -0.42);
}

.avatar.a1 {
  z-index: 1;
}
.avatar.a2 {
  z-index: 2;
}
.avatar.a3 {
  z-index: 4;
}

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

.trust-pill {
  height: var(--trust-size);
  margin-left: calc(var(--trust-size) * -0.42);
  padding: 0 16px 0 calc(var(--trust-size) * 0.58);
  display: inline-flex;
  align-items: center;
  background: #28282a;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #c4c2c3;
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 13.5px);
  white-space: nowrap;
  z-index: 3;
}

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

.headline .line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  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 {
  max-width: min(500px, 92%);
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  color: #d0d0d0;
  opacity: 0.8;
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: clamp(22px, 3.2vh, 32px);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  border-radius: 999px;
  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 {
  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.48),
    0 0 60px rgba(255, 255, 255, 0.2);
}

/* ---------- Stats ---------- */
.stats {
  flex-shrink: 0;
  width: 100%;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
  text-align: center;
  padding-top: clamp(8px, 1.4vh, 16px);
}

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

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

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

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

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

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

/* ---------- Mobile menu ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  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: fixed;
  z-index: 21;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, calc(100% - 28px));
  background: #fff;
  color: #111;
  border-radius: 28px;
  padding: 22px 18px 20px;
  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-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-link {
  position: relative;
  display: block;
  padding: 14px 12px 16px;
  font-weight: 500;
  font-size: 16px;
  color: #2e2e2e;
  opacity: 0;
  animation: linkIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mobile-link:nth-child(1) {
  animation-delay: 0.08s;
}
.mobile-link:nth-child(2) {
  animation-delay: 0.14s;
}
.mobile-link:nth-child(3) {
  animation-delay: 0.2s;
}
.mobile-link:nth-child(4) {
  animation-delay: 0.26s;
}

.mobile-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  background: #000;
  border-radius: 50%;
  box-shadow: -5px 0 0 #000, 5px 0 0 #000;
}

.mobile-signin {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 999px;
  background: #28282a;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  opacity: 0;
  animation: linkIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.32s forwards;
}

body.menu-open {
  overflow: hidden;
}

.panel {
  position: fixed;
  z-index: 22;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 28px));
  max-height: min(78vh, 640px);
  overflow: auto;
  background: #fff;
  color: #161616;
  border-radius: 28px;
  padding: 28px 24px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  animation: panelIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.panel-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #efefef;
  color: #111;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.panel-close:hover {
  background: #e4e4e4;
}

.panel-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8e8e8e;
  margin-bottom: 6px;
}

.panel h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
  color: #111;
  margin-bottom: 14px;
}

.panel-lead {
  color: #444;
  line-height: 1.5;
  margin-bottom: 18px;
  font-size: 15px;
}

.panel-note {
  margin-top: 16px;
  color: #8e8e8e;
  font-size: 13px;
  line-height: 1.45;
}

.panel-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  height: 48px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
}

.panel-cta:hover {
  background: #2a2a2a;
}

.service-list,
.work-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-list li,
.work-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 16px;
  background: #f4f4f5;
}

.service-list i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-list strong,
.work-steps strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.service-list span,
.work-steps span {
  display: block;
  color: #555;
  font-size: 13.5px;
  line-height: 1.45;
}

.work-steps {
  counter-reset: step;
}

.work-steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: #f4f4f5;
  color: #111;
}

.contact-card:hover {
  background: #ececed;
}

.contact-card i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-card strong {
  display: block;
  font-size: 14.5px;
}

.contact-card span {
  display: block;
  color: #555;
  font-size: 13px;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 12px)) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

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

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

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

@keyframes headlineFade {
  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: 1;
    transform: translateY(0);
  }
}

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

  .header {
    justify-content: space-between;
    max-width: 100%;
    gap: 12px;
  }

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

  .burger {
    display: block;
  }

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 10px;
  }

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

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

  .headline {
    letter-spacing: -0.09em;
    line-height: 1.04;
    font-size: clamp(26px, 9.2vw, 36px);
  }
}

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

  .headline {
    margin-bottom: 10px;
  }

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

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

  .anim,
  .headline .line,
  .header,
  .cta.anim {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .headline {
    color: #fff;
  }
}
