:root {
  color-scheme: light;
}

html,
body {
  min-height: 100%;
  background: #ffffff;
}

.launch-auth {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #ffffff;
  color: #111713;
}

.launch-auth__topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid #e5ebe7;
}

.launch-auth__back,
.launch-auth__login {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #246f2d;
  font-weight: 700;
  text-decoration: none;
}

.launch-auth__logo {
  display: block;
  width: min(190px, 44vw);
  height: 68px;
  object-fit: contain;
}

.launch-auth__main {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(32px, 7vh, 72px) 20px 40px;
}

.launch-auth__main--narrow {
  width: min(100%, 620px);
}

.launch-auth__brand {
  text-align: center;
  margin-bottom: 42px;
}

.launch-auth__brand .launch-auth__logo {
  width: min(230px, 64vw);
  height: 96px;
  margin: 0 auto;
}

.launch-auth__tagline {
  margin: 2px 0 0;
  color: #23852f;
  font-weight: 800;
}

.launch-auth__eyebrow {
  margin: 0 0 8px;
  color: #23852f;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.launch-auth h1 {
  margin: 0;
  color: #111713;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

.launch-auth__intro {
  margin: 12px 0 28px;
  color: #58645e;
  font-size: 17px;
  line-height: 1.55;
}

.launch-auth__choices {
  display: grid;
  gap: 14px;
}

.launch-auth__choice {
  min-height: 88px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid #23852f;
  border-radius: 8px;
  color: #111713;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.launch-auth__choice--primary {
  border-color: #42df32;
  background: #42df32;
}

.launch-auth__choice:hover,
.launch-auth__choice:focus-visible {
  outline: none;
  box-shadow: 0 8px 24px rgba(17, 23, 19, 0.12);
  transform: translateY(-1px);
}

.launch-auth__choice-icon,
.launch-auth__status-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eaf9e8;
  color: #23852f;
  font-size: 22px;
}

.launch-auth__choice--primary .launch-auth__choice-icon {
  background: rgba(255, 255, 255, 0.58);
  color: #111713;
}

.launch-auth__choice-copy {
  min-width: 0;
}

.launch-auth__choice-copy strong,
.launch-auth__choice-copy span {
  display: block;
}

.launch-auth__choice-copy strong {
  margin-bottom: 3px;
  font-size: 18px;
}

.launch-auth__choice-copy span {
  color: #58645e;
  font-size: 14px;
  line-height: 1.4;
}

.launch-auth__choice--primary .launch-auth__choice-copy span {
  color: #243026;
}

.launch-auth__form {
  display: grid;
  gap: 22px;
}

.launch-auth__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.launch-auth__field {
  min-width: 0;
}

.launch-auth__field--full {
  grid-column: 1 / -1;
}

.launch-auth__field label,
.launch-auth__legend {
  display: block;
  margin-bottom: 7px;
  color: #111713;
  font-size: 14px;
  font-weight: 750;
}

.launch-auth__field input,
.launch-auth__field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cbd8cf;
  border-radius: 8px;
  background: #ffffff;
  color: #111713;
  font: inherit;
}

.launch-auth__field input:focus,
.launch-auth__field select:focus {
  outline: 3px solid rgba(66, 223, 50, 0.2);
  border-color: #23852f;
}

.launch-auth__field small {
  display: block;
  margin-top: 6px;
  color: #66736c;
  line-height: 1.4;
}

.launch-auth__segments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.launch-auth__segment {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #cbd8cf;
  border-radius: 8px;
  background: #ffffff;
  color: #233027;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.launch-auth__segment[aria-checked="true"] {
  border-color: #23852f;
  background: #23852f;
  color: #ffffff;
}

.launch-auth__password {
  position: relative;
}

.launch-auth__password input {
  padding-right: 52px;
}

.launch-auth__password button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #445149;
  cursor: pointer;
}

.launch-auth__check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #334139;
  font-size: 14px;
  line-height: 1.45;
}

.launch-auth__check input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: #23852f;
}

.launch-auth__check a {
  color: #1c7028;
  font-weight: 700;
}

.launch-auth__notice,
.launch-auth__error {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.launch-auth__notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #87d381;
  background: #eefbee;
  color: #24442a;
}

.launch-auth__error {
  display: none;
  border: 1px solid #efb6b6;
  background: #fff1f1;
  color: #a32121;
}

.launch-auth__error.is-visible {
  display: block;
}

.launch-auth__submit,
.launch-auth__secondary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.launch-auth__submit {
  border: 1px solid #23852f;
  background: #23852f;
  color: #ffffff;
}

.launch-auth__submit:disabled {
  cursor: wait;
  opacity: 0.66;
}

.launch-auth__secondary-button {
  border: 1px solid #cbd8cf;
  background: #ffffff;
  color: #111713;
  text-decoration: none;
}

.launch-auth__footer {
  padding: 18px 20px 24px;
  border-top: 1px solid #eef1ef;
  color: #66736c;
  font-size: 13px;
  text-align: center;
}

.launch-auth__footer a {
  color: #246f2d;
  font-weight: 700;
}

.launch-auth__status {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.launch-auth__status .launch-auth__logo {
  width: min(210px, 62vw);
  height: 88px;
  margin-bottom: 26px;
}

.launch-auth__status-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  font-size: 32px;
}

.launch-auth__status h1 {
  font-size: clamp(28px, 5vw, 36px);
}

.launch-auth__status-copy {
  max-width: 500px;
  margin: 10px auto 24px;
  color: #58645e;
  font-size: 16px;
  line-height: 1.55;
}

.launch-auth__details {
  width: 100%;
  margin: 20px 0;
  border-top: 1px solid #dfe6e1;
  border-bottom: 1px solid #dfe6e1;
}

.launch-auth__detail {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 2px;
}

.launch-auth__detail + .launch-auth__detail {
  border-top: 1px solid #eef1ef;
}

.launch-auth__detail span {
  color: #66736c;
}

.launch-auth__detail strong {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.launch-auth__status-actions {
  width: 100%;
  display: grid;
  gap: 10px;
}

.launch-auth__logout {
  min-height: 46px;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #66736c;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 640px) {
  .launch-auth__topbar {
    min-height: 64px;
    padding: 8px 16px;
  }

  .launch-auth__topbar .launch-auth__logo {
    width: 128px;
    height: 52px;
  }

  .launch-auth__back span,
  .launch-auth__login span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .launch-auth__main {
    padding: 28px 16px 32px;
  }

  .launch-auth__brand {
    margin-bottom: 30px;
  }

  .launch-auth__form-grid,
  .launch-auth__segments {
    grid-template-columns: minmax(0, 1fr);
  }

  .launch-auth__field--full {
    grid-column: auto;
  }
}
