:root {
  color-scheme: light dark;
  --bg: #f5efe2;
  --bg-2: #efe5d4;
  --text: #14201a;
  --muted: rgba(20, 32, 26, 0.66);
  --surface: rgba(255, 250, 240, 0.74);
  --surface-strong: rgba(255, 250, 240, 0.94);
  --ink-panel: rgba(20, 32, 26, 0.94);
  --border: rgba(20, 32, 26, 0.14);
  --border-strong: rgba(20, 32, 26, 0.28);
  --sage: #316b55;
  --sage-2: #d8ead7;
  --violet: #6157c7;
  --stone: #d9ccb9;
  --gold: #b88b42;
  --button: #316b55;
  --button-text: #fffaf0;
  --danger: #8f1d2c;
  --danger-bg: rgba(143, 29, 44, 0.1);
  --shadow: rgba(28, 26, 20, 0.14);
  --mouse-x: 50vw;
  --mouse-y: 50vh;
  --drift-x: 0;
  --drift-y: 0;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --pointer-energy: 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d120f;
    --bg-2: #171611;
    --text: #f5efe2;
    --muted: rgba(245, 239, 226, 0.68);
    --surface: rgba(245, 239, 226, 0.07);
    --surface-strong: rgba(245, 239, 226, 0.11);
    --ink-panel: rgba(245, 239, 226, 0.08);
    --border: rgba(245, 239, 226, 0.14);
    --border-strong: rgba(245, 239, 226, 0.28);
    --sage: #8de0aa;
    --sage-2: #26372d;
    --violet: #9b91ff;
    --stone: #35352b;
    --gold: #d6b160;
    --button: #8de0aa;
    --button-text: #07100b;
    --danger: #f0a8b1;
    --danger-bg: rgba(240, 168, 177, 0.12);
    --shadow: rgba(0, 0, 0, 0.42);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), color-mix(in srgb, var(--sage) 13%, transparent), transparent 22rem),
    linear-gradient(145deg, var(--bg), var(--bg-2));
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100svh;
}

button,
input {
  font: inherit;
}

.page-shell {
  height: 100svh;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.context-field {
  height: 100%;
  inset: 0;
  opacity: 0.66;
  pointer-events: none;
  position: absolute;
  transform: translate3d(calc(var(--drift-x) * 18px), calc(var(--drift-y) * 14px), 0);
  transition: opacity 420ms ease;
  width: 100%;
  z-index: 0;
}

body.joined .context-field {
  opacity: 0.12;
}

.page-shell::before {
  background-image:
    linear-gradient(color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px);
  background-size: 68px 68px;
  content: "";
  inset: 0;
  mask-image: radial-gradient(circle at var(--mouse-x) var(--mouse-y), #000, transparent 72%);
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.cursor-glow {
  background: radial-gradient(circle, color-mix(in srgb, var(--sage) 24%, transparent), transparent 68%);
  border-radius: 999px;
  filter: blur(4px);
  height: 180px;
  left: var(--mouse-x);
  mix-blend-mode: screen;
  opacity: 0.48;
  pointer-events: none;
  position: fixed;
  top: var(--mouse-y);
  transform: translate(-50%, -50%);
  width: 180px;
  z-index: 8;
}

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

.ambient-blob {
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.42;
  position: absolute;
  transform: translate3d(calc(var(--drift-x) * 42px), calc(var(--drift-y) * 42px), 0);
}

.blob-one {
  animation: blobDrift 13s ease-in-out infinite;
  background: color-mix(in srgb, var(--sage) 36%, transparent);
  height: 24rem;
  left: 34%;
  top: 21%;
  width: 24rem;
}

.blob-two {
  animation: blobDrift 16s ease-in-out -4s infinite reverse;
  background: color-mix(in srgb, var(--violet) 24%, transparent);
  height: 18rem;
  right: 8%;
  top: 8%;
  width: 18rem;
}

.blob-three {
  animation: blobDrift 18s ease-in-out -7s infinite;
  background: color-mix(in srgb, var(--sage-2) 18%, transparent);
  bottom: 0;
  height: 22rem;
  left: 12%;
  width: 22rem;
}

.mesh-line {
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--text) 16%, transparent), transparent);
  height: 1px;
  opacity: 0.76;
  position: absolute;
  transform-origin: center;
  width: 44rem;
}

.mesh-line-one {
  animation: lineSweep 8s ease-in-out infinite;
  right: -8rem;
  top: 27%;
  transform: rotate(-18deg);
}

.mesh-line-two {
  animation: lineSweep 10s ease-in-out -3s infinite reverse;
  bottom: 22%;
  left: -10rem;
  transform: rotate(24deg);
}

.landing-state,
.success-state {
  display: grid;
  height: 100svh;
  inset: 0;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 2.5rem);
  position: absolute;
  transition: opacity 520ms ease, filter 520ms ease, transform 520ms ease;
  width: 100%;
}

.landing-state {
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.72fr);
  align-items: center;
  column-gap: clamp(1.5rem, 4.5vw, 4.5rem);
  opacity: 1;
  z-index: 2;
}

.success-state {
  align-items: center;
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), color-mix(in srgb, var(--sage) 11%, transparent), transparent 24rem),
    linear-gradient(145deg, var(--bg), var(--bg-2));
  justify-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
  z-index: 3;
}

body.joined .landing-state {
  filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
}

body.joined .success-state {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.brand {
  animation: riseIn 700ms ease both;
  align-items: center;
  display: flex;
  gap: 0.72rem;
  left: clamp(1rem, 3vw, 2.5rem);
  position: absolute;
  top: clamp(1rem, 3vw, 2.1rem);
  z-index: 4;
}

.brand-mark {
  align-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 14px 36px var(--shadow);
  color: var(--text);
  display: grid;
  font-size: 1rem;
  font-weight: 900;
  height: 2.4rem;
  place-items: center;
  width: 2.4rem;
}

.brand-logo {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.brand-name {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 850;
}

.hero-copy {
  animation: riseIn 820ms 90ms ease both;
  max-width: 45rem;
  min-width: 0;
  padding-top: 2.8rem;
  position: relative;
  transform: translate3d(calc(var(--drift-x) * -10px), calc(var(--drift-y) * -8px), 0);
  z-index: 3;
}

.kicker {
  color: var(--sage);
  font-size: clamp(0.74rem, 1.2vw, 0.82rem);
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--text);
  font-size: clamp(3.1rem, 6.6vw, 6rem);
  letter-spacing: -0.045em;
  line-height: 0.9;
  margin: 0;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.35rem, 6vw, 5rem);
  max-width: 12ch;
}

.subheadline,
.success-copy p:not(.kicker) {
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  font-weight: 560;
  line-height: 1.55;
  margin: 1.25rem 0 0;
  max-width: 40rem;
}

.waitlist-form {
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
  max-width: 35rem;
}

.input-shell {
  animation: riseIn 820ms 190ms ease both;
  align-items: center;
  backdrop-filter: blur(14px);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 18px 60px var(--shadow);
  display: flex;
  gap: 0.5rem;
  padding: 0.42rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.input-shell:focus-within {
  border-color: color-mix(in srgb, var(--sage) 62%, transparent);
  box-shadow: 0 28px 90px var(--shadow), 0 0 0 4px color-mix(in srgb, var(--sage) 16%, transparent);
  transform: translateY(-1px);
}

input {
  background: transparent;
  border: 0;
  color: var(--text);
  flex: 1;
  font-size: 1rem;
  font-weight: 650;
  min-height: 3.18rem;
  min-width: 0;
  outline: none;
  padding: 0 1rem;
}

input::placeholder {
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}

button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  min-height: 3.18rem;
  overflow: hidden;
  padding: 0 1.25rem;
  position: relative;
}

.waitlist-form button,
.secondary-button {
  background: linear-gradient(135deg, var(--button), color-mix(in srgb, var(--button) 72%, var(--sage)));
  box-shadow: 0 18px 44px color-mix(in srgb, var(--button) 20%, transparent);
  color: var(--button-text);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.waitlist-form button::after,
.secondary-button::after {
  background: linear-gradient(110deg, transparent 10%, rgba(255, 255, 255, 0.42), transparent 90%);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.waitlist-form button:hover,
.secondary-button:hover {
  box-shadow: 0 26px 60px color-mix(in srgb, var(--sage) 26%, transparent);
  transform: translateY(-2px);
}

.waitlist-form button:hover::after,
.secondary-button:hover::after {
  transform: translateX(120%);
}

.form-error {
  color: var(--danger);
  font-size: 0.86rem;
  font-weight: 720;
  min-height: 1.1rem;
  margin: 0.7rem 0 0;
}

.form-error.is-visible {
  background: var(--danger-bg);
  border: 1px solid color-mix(in srgb, var(--danger) 24%, transparent);
  border-radius: 8px;
  padding: 0.68rem 0.8rem;
}

.trust-line {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
  margin: 1rem 0 0;
}

.access-strip {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: color-mix(in srgb, var(--muted) 90%, var(--text));
  display: grid;
  font-size: 0.68rem;
  font-weight: 850;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  letter-spacing: 0.06em;
  margin-top: 1.25rem;
  max-width: 40rem;
  overflow: hidden;
  text-transform: uppercase;
}

.access-strip span {
  background: color-mix(in srgb, var(--surface-strong) 80%, transparent);
  min-width: 0;
  padding: 0.72rem 0.8rem;
  text-align: center;
  white-space: nowrap;
}

.waitlist-panel {
  align-self: center;
  backdrop-filter: blur(22px);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 88%, transparent), color-mix(in srgb, var(--surface) 72%, transparent));
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 24px 84px var(--shadow);
  color: var(--text);
  display: grid;
  justify-self: center;
  max-width: 31rem;
  padding: clamp(1rem, 2.2vw, 1.55rem);
  position: relative;
  transform: translate3d(calc(var(--drift-x) * 8px), calc(var(--drift-y) * 8px), 0);
  width: 100%;
  z-index: 4;
}

.panel-logo {
  align-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 14px 36px var(--shadow);
  display: grid;
  height: 3rem;
  margin-bottom: 1rem;
  place-items: center;
  width: 3rem;
}

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

.panel-eyebrow {
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 0.55rem;
  text-transform: uppercase;
}

.waitlist-panel h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 11ch;
}

.panel-copy {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 620;
  line-height: 1.45;
  margin: 0.95rem 0 0;
}

.waitlist-panel .waitlist-form {
  margin-top: 1.15rem;
  max-width: none;
}

.waitlist-panel .access-strip {
  margin-top: 0.95rem;
  max-width: none;
}

.context-board {
  align-self: center;
  backdrop-filter: blur(18px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 22px 70px var(--shadow);
  color: var(--text);
  justify-self: stretch;
  max-width: 32rem;
  overflow: hidden;
  transform: translate3d(calc(var(--drift-x) * 8px), calc(var(--drift-y) * 8px), 0);
}

.board-header {
  align-items: center;
  background: color-mix(in srgb, var(--sage) 12%, transparent);
  border-bottom: 1px solid var(--border);
  display: flex;
  font-size: 0.72rem;
  font-weight: 850;
  justify-content: space-between;
  letter-spacing: 0.08em;
  padding: 1rem;
  text-transform: uppercase;
}

.board-header strong {
  color: var(--sage);
  font-size: 0.72rem;
}

.context-list {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
}

.context-list li {
  align-items: start;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 1rem;
  grid-template-columns: 3rem 1fr;
  padding: 1rem;
}

.context-list span {
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.context-list p {
  color: var(--text);
  font-size: 1rem;
  font-weight: 690;
  line-height: 1.35;
  margin: 0;
}

.board-note {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.35;
  margin: 0;
  padding: 1rem;
}

.network-stage {
  aspect-ratio: 1;
  justify-self: center;
  max-height: min(74svh, 42rem);
  max-width: 42rem;
  min-width: 20rem;
  position: relative;
  transform: translate3d(calc(var(--drift-x) * 18px), calc(var(--drift-y) * 16px), 0);
  animation: stageEntrance 1100ms 170ms cubic-bezier(0.2, 0.8, 0.2, 1) both, stageFloat 8s ease-in-out 1.2s infinite;
  width: min(48vw, 42rem);
  z-index: 2;
}

.network-stage::before {
  background:
    linear-gradient(90deg, transparent 49%, color-mix(in srgb, var(--text) 14%, transparent) 49% 51%, transparent 51%),
    linear-gradient(color-mix(in srgb, var(--text) 8%, transparent) 1px, transparent 1px);
  background-size: 100% 100%, 100% 3.2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  content: "";
  inset: 8%;
  opacity: 0.7;
  position: absolute;
  transform: rotate(-2deg);
}

.signal-grid {
  background:
    radial-gradient(circle, color-mix(in srgb, var(--sage) 26%, transparent) 1px, transparent 1.5px);
  background-size: 26px 26px;
  border-radius: 999px;
  inset: 11%;
  mask-image: radial-gradient(circle, #000 0 38%, transparent 72%);
  opacity: 0.4;
  position: absolute;
  transform: rotate(calc(var(--drift-x) * 16deg));
}

.stage-glow {
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--sage) 28%, transparent), transparent 34%),
    radial-gradient(circle at 62% 34%, color-mix(in srgb, var(--violet) 17%, transparent), transparent 26%);
  border-radius: 999px;
  filter: blur(10px);
  inset: 4%;
  opacity: 0.52;
  position: absolute;
  transform: scale(calc(1 + var(--pointer-energy) * 0.08));
}

.orbit {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  inset: 18%;
  position: absolute;
}

.orbit-one {
  animation: spin 17s linear infinite;
}

.orbit-two {
  border-style: dashed;
  inset: 9%;
  opacity: 0.74;
  animation: spin 24s linear reverse infinite;
}

.orbit-three {
  border-color: color-mix(in srgb, var(--violet) 42%, transparent);
  inset: 30%;
  transform: rotate(18deg) scaleX(1.28);
  animation: breathe 4.8s ease-in-out infinite;
}

.connection-lines {
  inset: 0;
  overflow: visible;
  position: absolute;
  width: 100%;
}

.trail {
  fill: none;
  stroke: color-mix(in srgb, var(--sage) 64%, transparent);
  stroke-dasharray: 8 16;
  stroke-linecap: round;
  stroke-width: 1.4;
  animation: dash 4.8s linear infinite;
}

.trail-two,
.trail-four {
  stroke: color-mix(in srgb, var(--violet) 48%, transparent);
  animation-duration: 10s;
}

.hub {
  align-items: center;
  background: var(--ink-panel);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  box-shadow: 0 34px 90px color-mix(in srgb, var(--sage) 34%, transparent);
  color: #fffdf8;
  display: grid;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  height: 16%;
  left: 42%;
  place-items: center;
  position: absolute;
  top: 42%;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(calc(var(--drift-x) * -26px), calc(var(--drift-y) * -24px), 0);
  width: 16%;
  z-index: 3;
}

.hub span {
  animation: softBlink 2.7s ease-in-out infinite;
}

.hub::before,
.hub::after {
  border: 1px solid color-mix(in srgb, var(--sage) 42%, transparent);
  border-radius: 999px;
  content: "";
  inset: -38%;
  opacity: 0.82;
  position: absolute;
  z-index: -1;
  animation: pulse 2.8s ease-in-out infinite;
}

.hub::after {
  animation-delay: 1.1s;
  inset: -62%;
}

.node,
.particle {
  border-radius: 999px;
  position: absolute;
}

.node {
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  box-shadow: 0 16px 50px var(--shadow), inset 0 0 0 4px color-mix(in srgb, var(--sage) 16%, transparent);
  height: 3.8%;
  animation: nodePulse 2.8s ease-in-out infinite;
  width: 3.8%;
}

.node-one { left: 16%; top: 43%; animation-delay: -0.4s; }
.node-two { right: 16%; top: 29%; animation-delay: -1.1s; }
.node-three { bottom: 16%; left: 28%; animation-delay: -1.7s; }
.node-four { bottom: 23%; right: 18%; animation-delay: -2.4s; }
.node-five { left: 48%; top: 8%; animation-delay: -3s; }

.particle {
  background: color-mix(in srgb, var(--sage) 70%, white);
  filter: blur(0.3px);
  height: 0.45rem;
  opacity: 0.66;
  width: 0.45rem;
  animation: float 6s ease-in-out infinite;
}

.particle-one { left: 22%; top: 20%; }
.particle-two { right: 20%; top: 50%; animation-delay: -1.4s; }
.particle-three { bottom: 18%; left: 52%; animation-delay: -2.2s; }
.particle-four { right: 36%; top: 12%; animation-delay: -3.2s; }
.particle-five { left: 12%; bottom: 29%; animation-delay: -4.1s; }
.particle-six { right: 10%; bottom: 14%; animation-delay: -5.3s; }

.context-card {
  backdrop-filter: blur(22px);
  background: color-mix(in srgb, var(--surface-strong) 82%, transparent);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 18px 52px var(--shadow);
  display: grid;
  gap: 0.35rem;
  min-width: 10.2rem;
  padding: 0.88rem 1rem;
  position: absolute;
  transition: border-color 180ms ease, transform 180ms ease;
  z-index: 4;
}

.context-card:hover {
  border-color: color-mix(in srgb, var(--sage) 42%, transparent);
}

.context-card span {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  font-weight: 830;
  text-transform: uppercase;
}

.context-card strong {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.1;
}

.system-panel {
  backdrop-filter: blur(24px);
  background: var(--ink-panel);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  box-shadow: 0 28px 80px var(--shadow);
  color: var(--bg-2);
  display: grid;
  gap: 1px;
  left: 15%;
  overflow: hidden;
  position: absolute;
  top: 16%;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(calc(var(--drift-x) * -16px), calc(var(--drift-y) * 12px), 0);
  width: min(72%, 25rem);
  z-index: 5;
}

.panel-head,
.system-row {
  align-items: center;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 3rem 1fr auto;
  min-width: 0;
  padding: 0.78rem 0.9rem;
}

.panel-head {
  background: color-mix(in srgb, var(--sage) 20%, transparent);
  color: color-mix(in srgb, var(--bg-2) 90%, transparent);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-head span {
  grid-column: 1 / 3;
}

.panel-head strong {
  color: var(--sage);
  font-size: 0.68rem;
  grid-column: 3;
  text-transform: uppercase;
}

.system-row {
  background: color-mix(in srgb, var(--bg-2) 5%, transparent);
  font-size: 0.84rem;
}

.system-row span,
.system-row em {
  color: color-mix(in srgb, var(--bg-2) 62%, transparent);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.system-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-one {
  left: -1%;
  top: 24%;
  animation: cardFloat 6s ease-in-out infinite;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(calc(var(--drift-x) * 12px), calc(var(--drift-y) * -18px), 0);
}

.card-two {
  right: -4%;
  top: 47%;
  animation: cardFloat 7s ease-in-out -1.6s infinite;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(calc(var(--drift-x) * -18px), calc(var(--drift-y) * 12px), 0);
}

.card-three {
  bottom: 7%;
  left: 16%;
  animation: cardFloat 8s ease-in-out -2.8s infinite;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(calc(var(--drift-x) * 16px), calc(var(--drift-y) * 18px), 0);
}

.success-atmosphere {
  height: min(72vw, 34rem);
  left: 50%;
  opacity: 0.82;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) translate3d(calc(var(--drift-x) * 34px), calc(var(--drift-y) * 28px), 0);
  width: min(72vw, 34rem);
}

.success-ring {
  border: 1px solid color-mix(in srgb, var(--sage) 26%, transparent);
  border-radius: 999px;
  inset: 10%;
  position: absolute;
  animation: spin 34s linear infinite;
}

.ring-b {
  border-color: color-mix(in srgb, var(--violet) 22%, transparent);
  inset: 26%;
  animation-direction: reverse;
}

.success-line {
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sage) 32%, transparent), transparent);
  height: 1px;
  left: 2%;
  position: absolute;
  width: 96%;
}

.success-line-one {
  top: 34%;
  transform: rotate(-18deg);
}

.success-line-two {
  bottom: 31%;
  transform: rotate(22deg);
}

.success-node {
  background: color-mix(in srgb, var(--sage) 68%, white);
  border: 4px solid color-mix(in srgb, var(--sage) 18%, transparent);
  border-radius: 999px;
  box-shadow: 0 18px 60px color-mix(in srgb, var(--sage) 26%, transparent);
  height: 16px;
  position: absolute;
  width: 16px;
  animation: nodePulse 3.2s ease-in-out infinite;
}

.success-node-one {
  left: 20%;
  top: 30%;
}

.success-node-two {
  right: 18%;
  top: 43%;
  animation-delay: -1.1s;
}

.success-node-three {
  bottom: 25%;
  left: 42%;
  animation-delay: -2.2s;
}

.success-copy {
  backdrop-filter: blur(24px);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 28px 90px var(--shadow);
  display: grid;
  justify-items: start;
  max-width: min(42rem, calc(100vw - 2rem));
  padding: clamp(1.25rem, 4vw, 2.4rem);
  position: relative;
  text-align: left;
  z-index: 2;
}

.success-mark {
  align-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 20px 52px color-mix(in srgb, var(--sage) 28%, transparent);
  display: grid;
  height: 3.2rem;
  margin-bottom: 1.1rem;
  place-items: center;
  width: 3.2rem;
}

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

.success-copy h2 {
  font-size: clamp(2.05rem, 5vw, 3.55rem);
  line-height: 0.98;
  margin-inline: 0;
  max-width: 13ch;
}

.success-copy p:not(.kicker) {
  margin-inline: 0;
  max-width: 34rem;
}

.success-message {
  background: color-mix(in srgb, var(--surface-strong) 74%, transparent);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-weight: 680;
  padding: 1rem;
}

.success-ledger {
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  font-size: 0.7rem;
  font-weight: 850;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  letter-spacing: 0.05em;
  margin-top: 1.35rem;
  overflow: hidden;
  text-transform: uppercase;
  width: 100%;
}

.success-ledger span {
  background: color-mix(in srgb, var(--surface-strong) 80%, transparent);
  color: var(--muted);
  padding: 0.72rem 0.8rem;
  text-align: center;
}

.secondary-button {
  justify-self: stretch;
  margin-top: 1.8rem;
  min-width: min(18rem, 100%);
  padding-inline: 1.4rem;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

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

@keyframes riseIn {
  from {
    transform: translate3d(0, 14px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes stageEntrance {
  from {
    transform: translate3d(28px, 18px, 0) scale(0.94);
  }
  to {
    transform: translate3d(calc(var(--drift-x) * 18px), calc(var(--drift-y) * 16px), 0) scale(1);
  }
}

@keyframes stageFloat {
  0%, 100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.18);
  }
}

@keyframes blobDrift {
  0%, 100% {
    transform: translate3d(calc(var(--drift-x) * 42px), calc(var(--drift-y) * 42px), 0) scale(1);
  }
  50% {
    transform: translate3d(calc(var(--drift-x) * 58px + 16px), calc(var(--drift-y) * 58px - 18px), 0) scale(1.12);
  }
}

@keyframes lineSweep {
  0%, 100% {
    opacity: 0.25;
    translate: -4rem 0;
  }
  50% {
    opacity: 0.82;
    translate: 4rem 0;
  }
}

@keyframes breathe {
  0%, 100% {
    opacity: 0.52;
    transform: rotate(18deg) scaleX(1.18) scaleY(0.96);
  }
  50% {
    opacity: 0.92;
    transform: rotate(18deg) scaleX(1.34) scaleY(1.04);
  }
}

@keyframes softBlink {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 0 transparent;
  }
  50% {
    opacity: 0.86;
    text-shadow: 0 0 22px rgba(255, 253, 248, 0.58);
  }
}

@keyframes nodePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.42);
  }
}

@keyframes cardFloat {
  0%, 100% {
    margin-top: 0;
  }
  50% {
    margin-top: -10px;
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.22;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.08);
  }
}

@keyframes float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0.5rem, -0.8rem, 0);
  }
}

@media (max-width: 820px) {
  .landing-state {
    align-items: start;
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .hero-copy {
    align-self: start;
    max-width: 100%;
    padding-top: 5.35rem;
    width: calc(100vw - 2rem);
  }

  .network-stage {
    display: none;
  }

  .system-panel {
    display: none;
  }

  .access-strip {
    display: none;
  }

  .waitlist-panel {
    align-self: end;
    margin-top: 0.9rem;
    max-width: calc(100vw - 2rem);
    padding: 0.78rem;
    transform: none;
  }

  .panel-logo,
  .panel-copy,
  .panel-eyebrow {
    display: none;
  }

  .waitlist-panel h2 {
    font-size: 1.28rem;
    letter-spacing: -0.02em;
    line-height: 1.08;
    max-width: none;
  }

  .input-shell {
    align-items: stretch;
    flex-direction: column;
  }

  input,
  .waitlist-form button {
    width: 100%;
  }

  input,
  button {
    min-height: 3rem;
  }

  h1 {
    font-size: clamp(2.15rem, 9vw, 2.85rem);
    letter-spacing: -0.045em;
    line-height: 0.96;
  }

  .subheadline {
    font-size: 0.92rem;
    line-height: 1.45;
    max-width: min(21.5rem, calc(100vw - 2rem));
    overflow-wrap: break-word;
  }

  .waitlist-form {
    margin-top: 0.75rem;
    max-width: calc(100vw - 2rem);
    width: 100%;
  }

  .waitlist-panel .waitlist-form {
    margin-top: 0.72rem;
  }

  .trust-line {
    font-size: 0.78rem;
    line-height: 1.35;
    max-width: 21rem;
  }

  .context-board {
    display: none;
  }

  .success-copy {
    text-align: left;
  }

  .success-ledger {
    grid-template-columns: 1fr;
  }

  .ambient-blob {
    opacity: 0.42;
  }

  .mesh-line {
    opacity: 0.38;
  }

  .success-copy {
    max-width: calc(100vw - 2rem);
  }

  .success-atmosphere {
    height: 34rem;
    width: 34rem;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-height: 640px) {
  .kicker {
    margin-bottom: 0.65rem;
  }

  .subheadline,
  .success-copy p:not(.kicker) {
    margin-top: 0.85rem;
  }

  .waitlist-form {
    margin-top: 1rem;
  }

  .trust-line {
    margin-top: 0.72rem;
  }

  .access-strip {
    display: none;
  }

  .context-board {
    display: none;
  }
}

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

  .cursor-glow {
    display: none;
  }
}
