/* Launch gate splash.
 *
 * Set on the brand dark rather than the site's usual --neutral-10 page
 * background: it is the one screen that should not be mistaken for the real
 * site, and it lets the white wordmark (the only logo asset that exists) sit
 * on the surface it was cut for. Everything else follows the guide — sharp
 * corners, no shadows, Instrument Sans display against Spline Sans body, mono
 * reserved for the eyebrow.
 *
 * Removed together with the rewrites in vercel.json at launch. See
 * docs/launch-gate.md.
 */

.cs-body {
  margin: 0;
  background: var(--main);
  color: var(--neutral-06);
}

.cs {
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: var(--space-block) var(--space-gutter);
}
@media (max-width: 1023px) {
  .cs { padding: var(--space-loose) var(--space-gutter-phone); }
}

.cs__inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.cs__logo {
  display: block;
  width: 161px;
  height: auto;
  margin: 0 0 var(--space-block) 0;
}

.cs__eyebrow {
  margin: 0 0 var(--space-gap) 0;
  color: var(--accent-display);
}

/* Not .text-h1: that preset is bound to --neutral-02 and to the 69px display
   step, which overpowers a page carrying one sentence. This sits at the H2
   step and clamps down to the phone size the guide gives for H1. */
.cs__heading {
  margin: 0 0 var(--space-gap) 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.2em;
  letter-spacing: -1px;
  color: var(--neutral-01);
  text-wrap: balance;
}

.cs__body {
  margin: 0 0 var(--space-block) 0;
  max-width: 560px;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.6em;
  color: var(--neutral-06);
}
@media (max-width: 767px) {
  .cs__body { font-size: 16px; }
}

/* ---------------------------------------------------------------- */
/* Signup form                                                       */
/* ---------------------------------------------------------------- */

.cs-form {
  margin: 0 0 var(--space-block) 0;
  padding: var(--space-loose) 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.cs-form__label {
  display: block;
  margin: 0 0 var(--space-row) 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6em;
  color: var(--neutral-01);
}

.cs-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-tight);
  max-width: 520px;
}

.cs-form__input {
  flex: 1 1 260px;
  min-width: 0;
  box-sizing: border-box;
  padding: 14px var(--space-row);
  border: 1px solid var(--neutral-08);
  border-radius: var(--radius);
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4em;
  color: var(--neutral-01);
  transition: border-color var(--motion-state) var(--ease);
}
.cs-form__input::placeholder { color: var(--neutral-05); }
.cs-form__input:hover { border-color: var(--neutral-06); }
.cs-form__input:focus-visible {
  outline: 2px solid var(--accent-display);
  outline-offset: 2px;
  border-color: transparent;
}
.cs-form[data-invalid="true"] .cs-form__input { border-color: var(--accent-display); }

.cs-form__submit {
  flex: 0 0 auto;
  padding: 14px var(--space-gap);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4em;
  color: var(--neutral-01);
  cursor: pointer;
  transition: background-color var(--motion-state) var(--ease),
              border-color var(--motion-state) var(--ease);
}
.cs-form__submit:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.cs-form__submit:focus-visible {
  outline: 2px solid var(--neutral-01);
  outline-offset: 2px;
}
.cs-form__submit:disabled { opacity: 0.6; cursor: default; }

/* Always in the flow, never conditionally rendered, so a message arriving
   cannot shift the footer under someone's cursor. */
.cs-form__status {
  margin: var(--space-row) 0 0 0;
  min-height: 1.5em;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5em;
  color: var(--neutral-05);
}
.cs-form__status[data-state="ok"] { color: var(--neutral-01); }
.cs-form__status[data-state="error"] { color: var(--accent-display); }
.cs-form__status a { color: inherit; }

/* ---------------------------------------------------------------- */
/* Foot                                                              */
/* ---------------------------------------------------------------- */

.cs__foot {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5em;
  color: var(--neutral-05);
}

.cs__foot-line { margin: 0 0 var(--space-row) 0; }
.cs__foot a { color: var(--neutral-06); }
.cs__foot a:hover { color: var(--neutral-01); }

.cs__legal {
  list-style: none;
  margin: 0 0 var(--space-row) 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-row);
}

.cs__company { margin: 0; }
