:root{
  --color-bg: #050607;
  --color-bg-2: #07090a;
  --color-text: rgba(255, 255, 255, 0.94);
  --color-muted: rgba(255, 255, 255, 0.72);
  --color-muted-2: rgba(255, 255, 255, 0.62);
  --color-border: rgba(255, 255, 255, 0.12);
  --color-panel: rgba(255, 255, 255, 0.06);
  --color-panel-2: rgba(255, 255, 255, 0.04);
  --color-green: #49d896;
  --green-rgb: 73 216 150;
  --green-rgb-2: 52 201 139;
  --color-green-dim: rgb(var(--green-rgb) / 0.55);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 0 1px rgb(var(--green-rgb) / 0.2), 0 0 28px rgb(var(--green-rgb) / 0.22);
  --container: 1060px;
  --gutter: 24px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 28px;
  --space-6: 40px;
  --space-7: 56px;
  --space-8: 80px;
}

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

html,
body{
  height: 100%;
}

body{
  margin: 0;
  color: var(--color-text);
  background:
    radial-gradient(1100px 640px at 50% -10%, rgb(var(--green-rgb) / 0.08), transparent 58%),
    radial-gradient(900px 520px at 50% 10%, rgba(255, 255, 255, 0.05), transparent 60%),
    radial-gradient(1200px 900px at 50% 60%, rgba(255, 255, 255, 0.03), transparent 60%),
    radial-gradient(1400px 1200px at 50% 110%, rgba(0, 0, 0, 0.75), transparent 55%),
    linear-gradient(var(--color-bg), var(--color-bg-2));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: clip;
}

body::before{
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.13;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

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

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.site-header{
  padding: 28px 0 8px;
  isolation: isolate;
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 0;
  user-select: none;
  flex: 0 0 auto;
}

  .brand__mark{
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 0;
    --mark-h: 59px;
    mix-blend-mode: screen;
    flex: 0 0 auto;
  }

.brand__mark::before{
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: calc(var(--mark-h) * 1.05);
  height: calc(var(--mark-h) * 1.05);
  transform: translateY(-50%);
  background: radial-gradient(circle at 42% 50%, rgb(var(--green-rgb) / 0.26), rgb(var(--green-rgb) / 0.12) 48%, transparent 74%);
  filter: blur(14px);
  opacity: 0.8;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity 240ms ease;
}

.brand__logo{
  height: var(--mark-h);
  width: auto;
  max-width: 420px;
  display: block;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: none;
  flex: 0 0 auto;
}

.profile{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.hero{
  padding: 48px 0 var(--space-8);
}

.hero__inner{
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero__title{
  margin: 58px 0 10px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero__subtitle{
  margin: 0 auto;
  max-width: 52ch;
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-muted);
}

.signup{
  margin-top: var(--space-5);
  position: relative;
}

.signup__form{
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.input{
  flex: 1;
  min-width: 220px;
  height: 54px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgb(var(--green-rgb) / 0.5);
  background: rgba(10, 12, 12, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  outline: none;
  box-shadow: var(--shadow-glow);
}

.input::placeholder{
  color: rgba(255, 255, 255, 0.44);
}

.input:focus{
  border-color: rgb(var(--green-rgb) / 0.9);
  box-shadow: 0 0 0 1px rgb(var(--green-rgb) / 0.32), 0 0 0 4px rgb(var(--green-rgb) / 0.12), 0 0 34px rgb(var(--green-rgb) / 0.22);
}

.input.is-charged{
  border-color: rgb(var(--green-rgb) / 0.98);
  box-shadow:
    0 0 0 1px rgb(var(--green-rgb) / 0.46),
    0 0 0 6px rgb(var(--green-rgb) / 0.16),
    0 0 44px rgb(var(--green-rgb) / 0.38);
  animation: inputCharge 700ms ease-out forwards;
}

@keyframes inputCharge{
  0%{ transform: translateY(0); }
  35%{ transform: translateY(-1px); }
  100%{ transform: translateY(0); }
}

.button{
  height: 54px;
  padding: 0 26px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.28);
  background: linear-gradient(180deg, rgb(var(--green-rgb) / 0.96), rgb(var(--green-rgb-2) / 0.96));
  color: rgba(0, 0, 0, 0.88);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgb(var(--green-rgb) / 0.16), 0 10px 26px rgba(0, 0, 0, 0.45);
}

.button:hover{
  filter: brightness(1.05);
}

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

.button:disabled,
.input:disabled{
  opacity: 0.75;
  cursor: not-allowed;
}

.signup__success{
  margin: 22px auto 0;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.signup__error{
  margin: 18px auto 0;
  max-width: 64ch;
  color: rgba(255, 160, 160, 0.92);
  font-size: 16px;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.hero__copy{
  margin: 22px auto 0;
  max-width: 70ch;
  color: var(--color-muted-2);
  font-size: 18px;
  line-height: 1.75;
}

.hero__copy p{
  margin: 0;
}

.hero__copy--spaced{
  margin-top: 18px !important;
  color: rgba(255, 255, 255, 0.82);
}

.working{
  padding: 0 0 var(--space-7);
}

.working__title{
  margin: 0;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 3.2vw, 34px);
}

.logo-bar{
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px;
  min-height: 112px;
  max-width: 980px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  position: relative;
}

.logo-bar::before{
  content: "";
  position: absolute;
  inset: -60px -40px;
  background:
    radial-gradient(600px 220px at 50% 50%, rgba(255, 255, 255, 0.06), transparent 66%),
    radial-gradient(320px 240px at 12% 40%, rgb(var(--green-rgb) / 0.06), transparent 60%),
    radial-gradient(340px 260px at 88% 40%, rgb(var(--green-rgb) / 0.04), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.logo-bar__item{
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-bar__item--left{
  justify-content: flex-start;
}

.logo-bar__item--right{
  justify-content: flex-end;
}

.logo-bar img{
  max-height: 54px;
  width: auto;
  max-width: 100%;
  opacity: 0.95;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.55));
}

.text-logo{
  text-align: center;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.02;
}

.text-logo__top{
  font-size: clamp(28px, 3vw, 38px);
}

.text-logo__bottom{
  font-size: clamp(28px, 3vw, 38px);
}

.site-footer{
  padding: 34px 0 56px;
}

.footer__inner{
  display: flex;
  justify-content: center;
}

.footer__nav{
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
}

.footer__link:hover{
  color: rgba(255, 255, 255, 0.92);
}

.footer__icon{
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
}

.spark{
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 44px;
  height: 44px;
  pointer-events: auto;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.92;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.6));
  transition: transform 160ms ease, opacity 160ms ease, filter 160ms ease;
}

.spark::before,
.spark::after{
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  background: rgb(var(--green-rgb) / 0.82);
  transform: rotate(45deg);
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgb(var(--green-rgb) / 0.25),
    0 0 18px rgb(var(--green-rgb) / 0.22);
}

.spark::after{
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 0 0 8px rgb(var(--green-rgb) / 0.18);
}

.spark:hover{
  opacity: 1;
  transform: translateY(-1px);
  filter:
    drop-shadow(0 18px 32px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 22px rgb(var(--green-rgb) / 0.28));
}

.spark:active{
  transform: translateY(0);
}

.spark:focus-visible{
  outline: 2px solid rgb(var(--green-rgb) / 0.75);
  outline-offset: 4px;
}

/* Recalibration FX */
/* Input spark */
.input-spark{
  position: absolute;
  z-index: 0;
  width: 1px;
  height: 1px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.input-spark::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 24px rgb(var(--green-rgb) / 0.75);
  opacity: 0;
  animation: sparkCore 520ms ease-out forwards;
}

.input-spark__particle{
  position: absolute;
  left: 0;
  top: 0;
  width: var(--pw, 3px);
  height: var(--ph, 3px);
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgb(var(--green-rgb) / 0.75));
  box-shadow:
    0 0 16px rgb(var(--green-rgb) / 0.75),
    0 0 34px rgb(var(--green-rgb) / 0.22);
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  opacity: 0;
  animation: particleFly var(--dur, 760ms) ease-out forwards;
  animation-delay: var(--pd, 0ms);
}

@keyframes sparkCore{
  0%{ opacity: 0; transform: translate(-50%, -50%) scale(0.55); }
  16%{ opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  32%{ opacity: 0.35; transform: translate(-50%, -50%) scale(0.92); }
  44%{ opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
  100%{ opacity: 0; transform: translate(-50%, -50%) scale(1.7); }
}

@keyframes particleFly{
  0%{
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(0.8);
  }
  18%{
    opacity: 1;
  }
  70%{
    opacity: 0.75;
  }
  100%{
    opacity: 0;
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) rotate(var(--rot, 0deg)) scale(0.55);
  }
}


.signup__success.is-glowing{
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 0 18px rgb(var(--green-rgb) / 0.34);
}

.signup__success.is-glowing::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(720px, 92vw);
  height: 88px;
  transform: translate(-50%, -50%);
  background: radial-gradient(520px 120px at 50% 50%, rgb(var(--green-rgb) / 0.16), transparent 70%);
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: -1;
  opacity: 0;
  animation: successGlow 3000ms ease-out forwards;
}

@keyframes successGlow{
  0%{ opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
  20%{ opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100%{ opacity: 0.35; transform: translate(-50%, -50%) scale(1.03); }
}

@keyframes markGlow{
  0%, 100%{
    filter: blur(14px);
    transform: translateY(-50%) scale(0.98);
  }
  50%{
    filter: blur(18px);
    transform: translateY(-50%) scale(1.04);
  }
}

@keyframes logoPulse{
  0%, 100%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(-1px);
  }
}

.hero.is-highlighted{
  position: relative;
}

.hero.is-highlighted::after{
  content: "";
  position: absolute;
  inset: -10px 0 -12px;
  background: radial-gradient(520px 260px at 50% 35%, rgb(var(--green-rgb) / 0.12), transparent 70%);
  animation: heroHighlight 1.25s ease-out forwards;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}

@keyframes heroHighlight{
  0%{ opacity: 0; }
  25%{ opacity: 1; }
  100%{ opacity: 0; }
}

/* Responsive */
@media (max-width: 720px){
  :root{
    --gutter: 18px;
  }

  .site-header{
    padding: 18px 0 6px;
  }

  .brand__logo{
    max-width: 280px;
  }

  .brand__mark{
    --mark-h: 50px;
  }

  .hero{
    padding: 26px 0 56px;
  }

  .hero__title{
    margin: 34px 0 8px;
    font-size: clamp(36px, 10.5vw, 52px);
  }

  .hero__subtitle{
    font-size: 16px;
    line-height: 1.55;
    max-width: 40ch;
  }

  .signup{
    margin-top: 18px;
  }

  .signup__form{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 420px;
  }

  .input{
    height: 60px;
    padding: 0 18px;
    font-size: 16px;
    line-height: 1.1;
    min-width: 0;
    -webkit-appearance: none;
    appearance: none;
  }

  .button{
    width: 100%;
    max-width: 420px;
    align-self: center;
    height: 60px;
    padding: 0 22px;
    font-size: 16px;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 12px 26px rgb(var(--green-rgb) / 0.12), 0 10px 22px rgba(0, 0, 0, 0.38);
  }

  .signup__success{
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.55;
    max-width: 420px;
    text-align: center;
  }

  .hero__copy{
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.6;
    max-width: 44ch;
    text-align: left;
  }

  .hero__copy p{
    position: relative;
    padding-left: 18px;
    text-wrap: pretty;
  }

  .hero__copy p:not(.hero__copy--spaced)::before{
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: rgb(var(--green-rgb) / 0.65);
  }

  .hero__copy--spaced{
    padding-left: 0;
    font-weight: 700;
  }

  .hero__copy p + p{
    margin-top: 10px;
  }

  .logo-bar{
    margin-top: 16px;
    padding: 18px 16px;
    min-height: unset;
    gap: 14px 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "center center"
      "left right";
    justify-items: center;
    align-items: center;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
  }

  .logo-bar__item{
    flex: initial;
    width: 100%;
  }

  .logo-bar__item--center{
    grid-area: center;
  }

  .logo-bar__item--left{
    grid-area: left;
    justify-content: center;
  }

  .logo-bar__item--right{
    grid-area: right;
    justify-content: center;
  }

  .logo-bar img{
    max-height: 42px;
    opacity: 0.92;
  }

  .text-logo__top,
  .text-logo__bottom{
    font-size: 28px;
  }

  .spark{
    right: 18px;
    bottom: 18px;
    opacity: 0.55;
    transform: scale(0.85);
  }
}

@media (max-width: 480px){
  .site-header{
    padding: 16px 0 6px;
  }

  .profile{
    width: 34px;
    height: 34px;
  }

  .brand__logo{
    max-width: 240px;
  }

  .hero{
    padding: 18px 0 48px;
  }

  .hero__title{
    margin: 28px 0 8px;
    font-size: clamp(34px, 9.5vw, 44px);
  }

  .hero__subtitle{
    font-size: 16px;
    line-height: 1.55;
    max-width: 38ch;
  }

  .signup{
    margin-top: 18px;
  }

  .signup__form{
    gap: 12px;
    max-width: 420px;
  }

  .input{
    height: 64px;
    padding: 0 20px;
    font-size: 17px;
    line-height: 1.1;
    -webkit-appearance: none;
    appearance: none;
  }

  .button{
    height: 64px;
    padding: 0 24px;
    font-size: 17px;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 420px;
    min-width: 0;
    box-shadow: 0 12px 24px rgb(var(--green-rgb) / 0.1), 0 10px 20px rgba(0, 0, 0, 0.34);
  }

  .signup__success{
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.55;
    max-width: 420px;
  }

  .hero__copy{
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.65;
    max-width: 46ch;
  }

  .hero__copy p + p{
    margin-top: 10px;
  }

  .hero__copy--spaced{
    margin-top: 12px !important;
  }

  .working{
    padding-bottom: 52px;
  }

  .working__title{
    font-size: 22px;
    letter-spacing: -0.015em;
  }

  .logo-bar{
    margin-top: 16px;
    padding: 18px 16px;
    min-height: unset;
    gap: 14px 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "center center"
      "left right";
    justify-items: center;
    align-items: center;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
  }

  .logo-bar__item{
    flex: initial;
    width: 100%;
  }

  .logo-bar__item--center{
    grid-area: center;
  }

  .logo-bar__item--left{
    grid-area: left;
    justify-content: center;
  }

  .logo-bar__item--right{
    grid-area: right;
    justify-content: center;
  }

  .logo-bar img{
    max-height: 42px;
    opacity: 0.92;
  }

  .text-logo__top,
  .text-logo__bottom{
    font-size: 28px;
  }
}

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