:root {
  --brand: #005be2;
  --brand-2: #0aaaff;
  --brand-3: #7bc9ff;
  --ink: #0b1020;
  --ink-2: #2a3246;
  --muted: #5b647a;
  --bg: #ffffff;
  --bg-soft: #f4f7ff;
  --line: rgba(11, 16, 32, 0.08);
  --line-strong: rgba(11, 16, 32, 0.14);
  --shadow: 0 18px 48px -18px rgba(0, 91, 226, 0.22);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow-x: hidden;
}

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

/* background */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 15% 10%, rgba(10, 170, 255, 0.18), transparent 60%),
    radial-gradient(60% 50% at 90% 90%, rgba(0, 91, 226, 0.16), transparent 60%),
    linear-gradient(180deg, #f7fbff 0%, #eef4ff 45%, #e6eeff 100%);
}

.bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 24s ease-in-out infinite alternate;
}

.bg .blob-1 {
  width: 520px;
  height: 520px;
  left: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(0, 91, 226, 0.35), transparent 70%);
}

.bg .blob-2 {
  width: 620px;
  height: 620px;
  right: -160px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(102, 163, 255, 0.35), transparent 70%);
  animation-delay: -10s;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(3%, -3%, 0);
  }
}

/* nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: block;
  height: 32px;
  width: auto;
}

.brand-word {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 8px 22px -8px rgba(0, 91, 226, 0.55);
}

.btn-primary:hover {
  background: var(--brand-2);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 32px 40px;
}

.hero-copy {
  max-width: 620px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  margin: 0 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 91, 226, 0.22);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(10, 170, 255, 0.2);
}

h1 {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: var(--ink);
  font-variation-settings: "opsz" 72;
}

h1 .accent {
  color: var(--brand);
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 48ch;
}

/* form */
form {
  margin: 0 0 20px;
}

.hp {
  position: absolute;
  left: -9999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.field {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field:focus-within {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(0, 91, 226, 0.12), var(--shadow);
}

.field input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
}

.field input::placeholder {
  color: #98a0b3;
}

.field button {
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 10px;
  padding: 12px 22px;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
  white-space: nowrap;
}

.field button:hover {
  background: var(--brand-2);
}

.field button:active {
  transform: translateY(1px);
}

.field button:disabled {
  opacity: 0.6;
  cursor: default;
}

.status {
  min-height: 1.25em;
  margin: 8px 2px 0;
  font-size: 13px;
  color: var(--muted);
}

.status.ok {
  color: #0a8a4a;
}

.status.err {
  color: #c2272d;
}

.proof {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.proof strong {
  color: var(--ink);
  font-weight: 700;
}

.proof .dot {
  margin: 0 8px;
  color: var(--brand);
}

/* hero visual — orbital avatars */
.hero-visual {
  display: grid;
  place-items: center;
  min-height: 420px;
}

.orbit {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1 / 1;
  animation: rise 800ms cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(0, 91, 226, 0.22);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}

.ring-1 {
  inset: 0;
}

.ring-2 {
  inset: 14%;
  animation-duration: 45s;
  animation-direction: reverse;
}

.ring-3 {
  inset: 28%;
  animation-duration: 32s;
  border-style: solid;
  border-color: rgba(0, 91, 226, 0.08);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 28%;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 48px -14px rgba(0, 91, 226, 0.45), 0 0 0 1px rgba(0, 91, 226, 0.14), 0 0 0 6px #ffffff;
}

.core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar,
.icon-pill {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 82px;
  height: 82px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px -10px rgba(11, 16, 32, 0.28), 0 0 0 3px #fff, 0 0 0 4px rgba(0, 91, 226, 0.15);
  animation: float 5.5s ease-in-out infinite;
  will-change: transform;
}

.avatar.size-l {
  width: 92px;
  height: 92px;
}

.avatar.size-m {
  width: 76px;
  height: 76px;
}

.icon-pill {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: linear-gradient(180deg, #ffffff, #eaf4ff);
  overflow: visible;
}

.icon-pill.i1 {
  animation-delay: -1.2s;
}

.icon-pill.i2 {
  animation-delay: -3.4s;
}

.icon-pill.i3 {
  animation-delay: -2.1s;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar.a1 {
  animation-delay: -0.2s;
  animation-duration: 6s;
}

.avatar.a2 {
  animation-delay: -1.6s;
  animation-duration: 5s;
}

.avatar.a3 {
  animation-delay: -2.8s;
  animation-duration: 6.4s;
}

.avatar.a4 {
  animation-delay: -0.8s;
  animation-duration: 5.4s;
}

.avatar.a5 {
  animation-delay: -2.2s;
  animation-duration: 5.8s;
}

.avatar.a6 {
  animation-delay: -3.6s;
  animation-duration: 6.2s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(-50%, -50%) translate(0, 0);
  }

  50% {
    transform: translate(-50%, -50%) translate(0, -14px);
  }
}

/* footer */
footer {
  padding: 18px 32px 24px;
}

.foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: color .2s, border-color .2s, transform .2s;
}

.socials a:hover {
  color: var(--brand);
  border-color: var(--brand-3);
  transform: translateY(-1px);
}

/* responsive */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 8px;
    padding-bottom: 24px;
    text-align: center;
  }

  .hero-copy {
    display: contents;
  }

  .pill {
    order: 1;
    margin-left: auto;
    margin-right: auto;
  }

  h1 {
    order: 2;
  }

  .hero-visual {
    order: 3;
    min-height: 0;
    width: 100%;
    margin: 15px auto 10px;
  }

  .hero-visual .orbit {
    width: min(320px, 78vw);
  }

  .sub {
    order: 4;
    margin-left: auto;
    margin-right: auto;
  }

  form {
    order: 5;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .proof {
    order: 6;
    margin-left: auto;
    margin-right: auto;
  }

  .orbit {
    width: min(340px, 82%);
  }
}

@media (max-width: 560px) {
  .nav {
    padding: 16px 18px;
  }

  .brand-mark {
    height: 22px;
  }

  .hero {
    padding: 8px 18px 24px;
  }

  .field {
    flex-direction: column;
    padding: 8px;
  }

  .field button {
    width: 100%;
    padding: 13px;
  }

  .foot-inner {
    flex-direction: column;
    gap: 10px;
  }

  .avatar {
    width: 60px;
    height: 60px;
  }

  .avatar.size-l {
    width: 68px;
    height: 68px;
  }

  .avatar.size-m {
    width: 54px;
    height: 54px;
  }

  .icon-pill {
    width: 48px;
    height: 48px;
  }

  .icon-pill svg {
    width: 18px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .bg .blob,
  .ring,
  .avatar,
  .icon-pill,
  .orbit {
    animation: none;
  }
}