*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html {
  width: 100%;
  background: #0b1011;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: transparent;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@keyframes stars-haze {
  0% { transform: translate3d(-2%, -1%, 0) scale(1.03); opacity: 0.62; }
  50% { transform: translate3d(2%, 1%, 0) scale(1.08); opacity: 0.82; }
  100% { transform: translate3d(-2%, -1%, 0) scale(1.03); opacity: 0.62; }
}


.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: #020405;
  overflow: hidden;
}

.bg::before {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(circle at 18% 22%, rgba(119, 154, 164, 0.24), transparent 26%),
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.10), transparent 25%),
    radial-gradient(circle at 52% 88%, rgba(74, 106, 115, 0.28), transparent 34%);
  filter: blur(10px);
  animation: stars-haze 24s ease-in-out infinite;
  will-change: transform, opacity;
}

.gravity-stars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.92;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05), transparent 38%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.26) 50%, rgba(0, 0, 0, 0.62)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  z-index: 1;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6vh 24px;
  gap: 3vh;
}

.brand {
  text-align: center;
}

.headline {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  max-width: 100%;
  text-align: center;
}

.logo-lockup {
  width: min(100%, 440px);
  gap: clamp(12px, 2vh, 18px);
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  user-select: none;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.08));
}

.workmore-wordmark {
  width: min(72vw, 360px);
}

.neordinary-wordmark {
  width: min(82vw, 430px);
}

.logo-divider {
  display: inline-block;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(21px, 3.4vw, 32px);
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.manifesto {
  width: 100%;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.55;
  letter-spacing: 0.005em;
  color: #fff;
  text-align: center;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: keep-all;
}

.manifesto p + p { margin-top: 1.1em; }

.signup {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.cta,
.submit-button,
input,
select,
textarea,
.done {
  width: 100%;
  min-height: 56px;
  line-height: 54px;
  padding: 0 24px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: none;
  text-align: center;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  vertical-align: middle;
}

.cta,
.submit-button,
.done { font-size: 13px; }

.cta,
.submit-button {
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.cta:hover,
.cta:focus-visible,
.submit-button:hover,
.submit-button:focus-visible {
  background: #fff;
  color: #000;
  outline: none;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 10;
}

.bottom-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 11;
  transform: translateX(-50%);
  width: min(520px, 100%);
  max-height: 100dvh;
  overflow: auto;
  border: 1px solid #fff;
  border-bottom: 0;
  background: #000;
  padding: 24px;
}

.close-button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 20px;
  line-height: 28px;
  cursor: pointer;
}

.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;
}

.apply-form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: none;
}

input,
select,
textarea {
  font-size: 16px;
  outline: none;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: none;
  height: 56px;
}

textarea {
  min-height: 112px;
  line-height: 1.45;
  padding-top: 16px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.18em;
  text-transform: none;
  font-size: 13px;
}

input:focus,
select:focus,
textarea:focus { border-color: #fff; }

.consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  text-align: left;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.55;
}

.consent input {
  width: 20px;
  min-width: 20px;
  min-height: 20px;
  height: 20px;
  padding: 0;
  margin-top: 1px;
  border-radius: 0;
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: checkbox;
  accent-color: #fff;
}

.consent input:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 3px;
}

.form-message {
  min-height: 20px;
  color: #fff;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.form-message.is-error { color: #ff3b30; }
.form-message.is-success { color: #fff; }
.submit-button:disabled { opacity: 0.5; cursor: default; }

@media (prefers-reduced-motion: reduce) {
  .bg::before,
  .shimmering-text {
    animation: none;
  }
  .shimmering-text {
    color: #fff;
    background-image: none;
    -webkit-text-fill-color: #fff;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 6vh 20px 3vh;
    gap: 4vh;
  }
  .headline {
    font-size: clamp(23px, 6.2vw, 28px);
    letter-spacing: 0.035em;
    gap: 0.24em;
  }
  .manifesto {
    font-size: 14px;
    line-height: 1.55;
  }
  .bottom-sheet {
    padding: 24px 20px;
  }
}
