:root {
  --bg: #050908;
  --fg: #eef3f4;
  --mute: #6a8a82;
  --teal: #2ec4b6;
  --green: #1fa87a;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --display: "Unbounded", system-ui, sans-serif;
  --display-weight: 700;
  --name-tracking: -0.03em;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

body { overflow-x: hidden; }

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #040807;
}

.bg-wash {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 85% 60% at 50% 108%, rgba(31, 168, 122, 0.4), transparent 58%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(46, 196, 182, 0.26), transparent 55%),
    radial-gradient(ellipse 48% 36% at 12% 28%, rgba(24, 120, 90, 0.14), transparent 62%),
    radial-gradient(ellipse 42% 32% at 88% 18%, rgba(46, 196, 182, 0.09), transparent 65%);
  will-change: transform;
  animation: fieldDrift 28s var(--ease) infinite alternate;
}

.bg-nebula {
  position: absolute;
  inset: -10%;
  opacity: 0.65;
  background:
    radial-gradient(circle at 28% 72%, rgba(31, 168, 122, 0.13), transparent 30%),
    radial-gradient(circle at 72% 38%, rgba(62, 222, 154, 0.06), transparent 24%);
  will-change: opacity, transform;
  animation: nebulaPulse 16s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

.bg-glow {
  position: absolute;
  top: -8%;
  left: 50%;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  margin-left: calc(min(70vw, 640px) / -2);
  background: radial-gradient(circle, rgba(46, 196, 182, 0.16) 0%, transparent 68%);
  opacity: 0.85;
  will-change: opacity, transform;
  animation: glowBreathe 11s ease-in-out infinite alternate;
}

.bg-dots { position: absolute; inset: 0; width: 100%; height: 100%; }

.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 68% 55% at 50% 42%, transparent 38%, rgba(0,0,0,0.58) 100%);
}

@keyframes fieldDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(1.1%, -1.8%, 0) scale(1.035); }
}
@keyframes nebulaPulse {
  from { opacity: 0.5; transform: translate3d(-0.7%, 0.7%, 0); }
  to { opacity: 0.78; transform: translate3d(0.9%, -0.9%, 0); }
}
@keyframes glowBreathe {
  from { opacity: 0.65; transform: scale(1); }
  to { opacity: 0.95; transform: scale(1.07); }
}

.wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px 48px;
}

.logo {
  display: block;
  width: 74px;
  height: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 0 14px rgba(46, 196, 182, 0.36));
  will-change: transform, filter;
  animation: knotBreathe 6s ease-in-out infinite;
  transform-origin: 50% 18%;
  /* force crisp vector scaling */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.logo svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  shape-rendering: geometricPrecision;
}

@keyframes knotBreathe {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    filter: drop-shadow(0 0 12px rgba(46, 196, 182, 0.3));
  }
  50% {
    transform: translate3d(0, -3px, 0) rotate(-0.5deg);
    filter: drop-shadow(0 0 20px rgba(62, 222, 154, 0.48));
  }
}

.soon {
  font-size: 11px;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 16px;
  letter-spacing: 0.14em;
}

.u {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
}

.u::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 196, 182, 0.85), rgba(62, 222, 154, 0.7), transparent);
  transform-origin: center;
  animation: underlineDraw 1s var(--ease) 0.45s both, underlinePulse 3.8s ease-in-out 1.5s infinite;
}

.u--soft::after {
  background: linear-gradient(90deg, transparent, rgba(46, 196, 182, 0.35), transparent);
  animation-delay: 0.7s, 1.8s;
}

@keyframes underlineDraw {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes underlinePulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.name {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(48px, 11vw, 88px);
  line-height: 0.95;
  letter-spacing: var(--name-tracking);
  font-synthesis: none;
}

.name span {
  color: var(--teal);
}

.line {
  margin-top: 20px;
  font-size: clamp(15px, 2.4vw, 18px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(238, 243, 244, 0.9);
}

.sub {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--mute);
}

.claim {
  margin-top: 44px;
  width: min(420px, 100%);
}

.claim-lab {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 450;
  letter-spacing: 0.04em;
  color: var(--mute);
}

/* round shell again — wsp dark field + hairline */
.claim-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 5px 5px 5px 18px;
  border-radius: 9999px;
  background: rgba(10, 16, 14, 0.88);
  border: 1px solid rgba(238, 243, 244, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s linear, box-shadow 0.2s linear;
}

.claim-row.is-focus {
  border-color: rgba(46, 196, 182, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(46, 196, 182, 0.1);
}

.claim-pre {
  font-size: 13px;
  font-weight: 500;
  color: rgba(238, 243, 244, 0.45);
  white-space: nowrap;
  user-select: none;
}

.claim-in {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fg);
  font: 500 14px/1.2 var(--font);
  padding: 8px 4px;
}

.claim-in::placeholder { color: rgba(106, 138, 130, 0.45); }

/* bleed.bot CTA: rounded-full, solid fill, linear 200ms hover */
.claim-go {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 9999px;
  cursor: pointer;
  overflow: hidden;
  font: 600 13px/1 var(--font);
  letter-spacing: -0.01em;
  color: #03140f;
  background: #2ec4b6;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: background 0.2s linear, box-shadow 0.2s linear, transform 0.2s linear, opacity 0.2s linear;
  transform: translate3d(0, 0, 0);
}

.claim-go span { position: relative; z-index: 1; }

.claim-go::before,
.claim-go::after {
  content: none;
  display: none;
}

.claim-go:hover {
  background: #3ad4c5;
  box-shadow: 0 8px 22px rgba(46, 196, 182, 0.28);
  transform: translate3d(0, -1px, 0);
  filter: none;
}

.claim-go:hover::before,
.claim-go:hover::after {
  content: none;
  animation: none;
}

.claim-go:active {
  background: #27b3a6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transform: translate3d(0, 0, 0);
  opacity: 0.96;
  filter: none;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}


/* bottom-left credit — clean, quiet */
.credit {
  position: fixed;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  font-family: "Syne", var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  color: rgba(238, 243, 244, 0.38);
  text-decoration: none;
  transition: color 0.2s linear;
}

.credit span {
  color: rgba(46, 196, 182, 0.72);
  transition: color 0.2s linear;
}

.credit:hover {
  color: rgba(238, 243, 244, 0.72);
}

.credit:hover span {
  color: #2ec4b6;
}

@media (max-width: 520px) {
  .credit {
    left: 16px;
    bottom: 14px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-wash, .bg-nebula, .bg-glow, .logo, .name, .claim-row, .u::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .u::after { transform: none; opacity: 1; }
}

@media (max-width: 420px) {
  .logo { width: 64px; }
  .claim-pre { font-size: 12px; }
  .claim-go { padding: 0 16px; height: 40px; }
  .claim-row { padding-left: 14px; }
}
