:root {
  color-scheme: dark;

  --bg0: #050814;
  --bg1: #07122b;
  --primary: #7ee7ff;
  --accent: #7cffa7;
  --text: #eaf2ff;
  --muted: rgba(234, 242, 255, 0.72);

  /* Subtle glass tokens (used for small UI elements, not the main .glass panels). */
  --glass-lite-blur: blur(10px) saturate(140%);
  --glass-lite-bg: rgba(255, 255, 255, 0.05);
  --glass-lite-border: 1px solid rgba(255, 255, 255, 0.14);
  --glass-lite-inset: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --glass-lite-glow: 0 0 0 1px rgba(126, 231, 255, 0.08);

  --radius: 28px;
  --gutter: clamp(18px, 5vw, 44px);
  --maxw: 1060px;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text);
  background:
    radial-gradient(1200px 900px at 18% 10%, rgba(126, 231, 255, 0.22), transparent 60%),
    radial-gradient(900px 700px at 82% 24%, rgba(124, 255, 167, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0) 64%, #02040b);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(var(--maxw), 100%);
  margin: 0 auto;
  padding: var(--gutter);
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(18px, 3vw, 28px);
}

.wrap--single {
  grid-template-rows: auto 1fr auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  user-select: none;
}

.brand__name {
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.brand__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: var(--glass-lite-border);
  background: var(--glass-lite-bg);
  backdrop-filter: var(--glass-lite-blur);
  -webkit-backdrop-filter: var(--glass-lite-blur);
  box-shadow: var(--glass-lite-inset);
}

.top__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 231, 255, 0.22);
  background: rgba(126, 231, 255, 0.07);
  backdrop-filter: var(--glass-lite-blur);
  -webkit-backdrop-filter: var(--glass-lite-blur);
  box-shadow: var(--glass-lite-inset);
  color: rgba(234, 242, 255, 0.92);
}

.dot {
  opacity: 0.65;
}

.grid {
  display: grid;
  grid-template-columns: 1fr; /* Stacked by default */
  align-items: start;
  gap: clamp(16px, 3vw, 28px);
}

@media (min-width: 921px) {
  .grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

h1 {
  margin: 10px 0 0;
  font-size: clamp(38px, 5.3vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.lead {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(234, 242, 255, 0.86);
}

.subtle {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(234, 242, 255, 0.66);
}

.small {
  font-size: 13px;
}

.tiny {
  font-size: 12px;
}

.muted {
  color: var(--muted);
}

.kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(234, 242, 255, 0.78);
}

.kicker__line {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(126, 231, 255, 0.85), rgba(124, 255, 167, 0.35));
  box-shadow: 0 0 18px rgba(126, 231, 255, 0.25);
}

.hero__chips {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: var(--glass-lite-border);
  background: var(--glass-lite-bg);
  backdrop-filter: var(--glass-lite-blur);
  -webkit-backdrop-filter: var(--glass-lite-blur);
  box-shadow: var(--glass-lite-inset);
  color: rgba(234, 242, 255, 0.86);
}

.glass {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.14);

  background:
    radial-gradient(
      680px 340px at var(--mx, 50%) var(--my, 20%),
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.06) 42%,
      rgba(255, 255, 255, 0.035) 100%
    );

  backdrop-filter: blur(18px) saturate(160%) contrast(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(160%) contrast(1.05);

  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background:
    radial-gradient(1200px 220px at 20% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(900px 340px at 80% 0%, rgba(126, 231, 255, 0.14), transparent 58%),
    radial-gradient(700px 360px at 30% 100%, rgba(124, 255, 167, 0.09), transparent 62%);

  opacity: 0.9;
}

.glass::after {
  content: "";
  position: absolute;
  inset: -30%;
  pointer-events: none;

  background: linear-gradient(
    120deg,
    transparent 12%,
    rgba(255, 255, 255, 0.18) 35%,
    transparent 58%
  );

  opacity: 0.55;
  mix-blend-mode: overlay;
  transform: translateX(-140%) rotate(7deg);
  animation: sheen 14s linear infinite;
}

@keyframes sheen {
  0% {
    transform: translateX(-140%) rotate(7deg);
  }
  50% {
    transform: translateX(40%) rotate(7deg);
  }
  100% {
    transform: translateX(140%) rotate(7deg);
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass {
    background: rgba(7, 18, 43, 0.92);
  }
  .glass::after {
    display: none;
  }
}

.form {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(234, 242, 255, 0.78);
}

.input {
  width: 100%;
  border-radius: 16px;
  border: var(--glass-lite-border);
  background:
    radial-gradient(900px 420px at 40% 0%, rgba(255, 255, 255, 0.06), transparent 55%),
    rgba(7, 18, 43, 0.38);
  color: var(--text);
  padding: 14px 14px;
  font: inherit;
  box-shadow: var(--glass-lite-inset);
  backdrop-filter: var(--glass-lite-blur);
  -webkit-backdrop-filter: var(--glass-lite-blur);
}

.input::placeholder {
  color: rgba(234, 242, 255, 0.42);
}

.input:focus {
  outline: none;
  border-color: rgba(126, 231, 255, 0.38);
  box-shadow:
    0 0 0 4px rgba(126, 231, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(120% 160% at 50% 0%, rgba(255, 255, 255, 0.22), rgba(126, 231, 255, 0.10) 42%,
      rgba(7, 18, 43, 0.70) 100%);
  color: rgba(234, 242, 255, 0.95);
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;

  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);

  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(126, 231, 255, 0.26);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(126, 231, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button:active {
  transform: translateY(0) scale(0.99);
}

.button:focus-visible {
  outline: 3px solid rgba(126, 231, 255, 0.45);
  outline-offset: 3px;
}

.button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.button--ghost {
  width: auto;
  text-decoration: none;
  padding: 12px 14px;
  border: var(--glass-lite-border);
  background: var(--glass-lite-bg);
  backdrop-filter: var(--glass-lite-blur);
  -webkit-backdrop-filter: var(--glass-lite-blur);
  box-shadow: var(--glass-lite-inset);
}

.button--ghost:hover {
  border-color: rgba(126, 231, 255, 0.22);
  box-shadow: var(--glass-lite-glow), var(--glass-lite-inset);
}

.button--ghost:focus-visible {
  outline: 3px solid rgba(126, 231, 255, 0.45);
  outline-offset: 3px;
}

.pill:hover,
.chip:hover,
.brand__tag:hover {
  border-color: rgba(126, 231, 255, 0.20);
  box-shadow: var(--glass-lite-glow), var(--glass-lite-inset);
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px;
}

.single {
  display: grid;
  place-items: center;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ring {
  position: absolute;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  opacity: 0.9;

  background:
    radial-gradient(
      circle at 50% 50%,
      transparent 55%,
      rgba(126, 231, 255, 0.22) 56%,
      rgba(126, 231, 255, 0.08) 60%,
      transparent 69%
    ),
    conic-gradient(
      from 140deg,
      rgba(126, 231, 255, 0.0),
      rgba(126, 231, 255, 0.20),
      rgba(124, 255, 167, 0.16),
      rgba(126, 231, 255, 0.0)
    );

  filter: blur(0.4px);
}

.ring--a {
  width: min(860px, 98vw);
  height: min(860px, 98vw);
  left: 76%;
  top: 28%;
  animation: driftA 30s ease-in-out infinite;
}

.ring--b {
  width: min(720px, 88vw);
  height: min(720px, 88vw);
  left: 18%;
  top: 76%;
  opacity: 0.7;
  animation: driftB 34s ease-in-out infinite;
}

.ring--c {
  width: min(520px, 74vw);
  height: min(520px, 74vw);
  left: 88%;
  top: 78%;
  opacity: 0.55;
  animation: driftC 40s ease-in-out infinite;
}

@keyframes driftA {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% {
    transform: translate(-51%, -49%) rotate(180deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes driftB {
  0% {
    transform: translate(-50%, -50%) rotate(12deg);
  }
  50% {
    transform: translate(-49%, -52%) rotate(200deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(372deg);
  }
}

@keyframes driftC {
  0% {
    transform: translate(-50%, -50%) rotate(-10deg);
  }
  50% {
    transform: translate(-52%, -48%) rotate(160deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(350deg);
  }
}

.spark {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 30%, rgba(126, 231, 255, 0.25), transparent 55%);
  filter: blur(18px);
  opacity: 0.65;
}

.spark--a {
  left: 64%;
  top: 18%;
}

.spark--b {
  left: 12%;
  top: 58%;
  background: radial-gradient(circle at 30% 30%, rgba(124, 255, 167, 0.16), transparent 58%);
  opacity: 0.55;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.06;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Page load stagger */
[data-animate] {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(10px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0ms);
}

body.loaded [data-animate] {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .ring,
  .glass::after {
    animation: none !important;
  }

  [data-animate] {
    transition: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .grain {
    opacity: 0.03;
  }
}
