:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #172033;
  background: #f7f7fa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

button,
input {
  font: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: #4938a8;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: grid;
  gap: 2px;
  font-size: 13px;
}

.brand-copy strong {
  font-weight: 650;
}

.brand-copy span {
  color: #738096;
  font-size: 11px;
}

.product-label {
  padding: 8px 12px;
  border: 1px solid #e1e4ec;
  border-radius: 999px;
  color: #59657a;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
}

.product-label span {
  padding: 0 3px;
  color: #9aa2b1;
}

.content-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  align-items: center;
  gap: 88px;
  padding: 38px 0 62px;
}

.intro {
  max-width: 510px;
  padding-bottom: 8px;
}

.eyebrow,
.card-kicker,
.command-label {
  margin: 0;
  color: #4938a8;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 500px;
  margin: 18px 0 0;
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 630;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.intro-copy {
  max-width: 430px;
  margin: 20px 0 0;
  color: #5f6a7d;
  font-size: 15px;
  line-height: 1.75;
}

.layer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.layer-list li {
  padding: 7px 11px;
  border: 1px solid #e1e4ec;
  border-radius: 6px;
  color: #58647a;
  background: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 600;
}

.launch-card {
  padding: 27px;
  border: 1px solid #e2e5ed;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 24px 60px -42px rgba(29, 37, 58, 0.35);
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #4938a8;
  background: #f0edff;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.card-kicker {
  color: #798398;
  font-size: 9px;
  letter-spacing: 0.12em;
}

h2 {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.status-pill {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #e6e8ed;
  border-radius: 999px;
  color: #707b8d;
  background: #fafbfc;
  font-size: 9px;
  font-weight: 650;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aab2c0;
}

.status-pill[data-state="ready"] {
  border-color: #c8ebd8;
  color: #087343;
  background: #f1fbf5;
}

.status-pill[data-state="ready"] .status-dot {
  background: #16a266;
}

.status-pill[data-state="checking"] .status-dot {
  background: #6b59cb;
  animation: pulse 1.2s ease-in-out infinite;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 21px;
  padding: 15px 0;
  border-top: 1px solid #eff0f4;
  border-bottom: 1px solid #eff0f4;
}

.step-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-number {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border-radius: 50%;
  color: #4f42a9;
  background: #f0edff;
  font-size: 10px;
  font-weight: 700;
}

.step-row p {
  margin: 0;
  color: #59657a;
  font-size: 11px;
  line-height: 1.45;
}

.command-label {
  margin-top: 16px;
  color: #7b8597;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.command {
  display: block;
  margin-top: 7px;
  padding: 10px 11px;
  overflow-wrap: anywhere;
  border-radius: 7px;
  color: #eff0ff;
  background: #202337;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  line-height: 1.6;
}

.launch-form {
  display: grid;
  gap: 8px;
  margin-top: 17px;
}

.launch-form label {
  color: #384357;
  font-size: 11px;
  font-weight: 650;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #d9deea;
  border-radius: 7px;
  background: #fff;
}

.input-wrap:focus-within {
  border-color: #7565d2;
  box-shadow: 0 0 0 3px rgba(117, 101, 210, 0.13);
}

.input-wrap input {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
  color: #243047;
  background: transparent;
  font-size: 11px;
}

.input-wrap input::placeholder {
  color: #9aa3b2;
}

.text-button {
  padding: 5px 2px;
  border: 0;
  color: #4e40a5;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin-top: 4px;
  padding: 0 13px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #4938a8;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: background 130ms ease, transform 130ms ease;
}

.primary-button:hover:not(:disabled) {
  background: #3d2d97;
  transform: translateY(-1px);
}

.primary-button:focus-visible,
.text-button:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(117, 101, 210, 0.35);
  outline-offset: 3px;
}

.primary-button:disabled {
  cursor: not-allowed;
  background: #b8b4d4;
}

.primary-button svg {
  width: 16px;
  height: 16px;
}

.error-message {
  margin: 2px 0 0;
  color: #b42318;
  font-size: 11px;
  line-height: 1.5;
}

.auth-note {
  margin: 15px 0 0;
  padding-top: 12px;
  border-top: 1px solid #eff0f4;
  color: #798398;
  font-size: 10px;
  line-height: 1.6;
}

.footer {
  padding: 18px 0 22px;
  border-top: 1px solid #e5e7ed;
  color: #7d8797;
  font-size: 10px;
  line-height: 1.5;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 44px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 32px, 520px);
  }

  .topbar {
    padding: 20px 0;
  }

  .product-label {
    font-size: 9px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 45px 0 38px;
  }

  .intro {
    padding: 0;
  }

  h1 {
    max-width: 420px;
    font-size: 42px;
  }

  .launch-card {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .page-shell {
    width: calc(100% - 24px);
  }

  .product-label {
    padding: 7px 9px;
  }

  .launch-card {
    padding: 18px;
  }

  .card-heading-row {
    display: grid;
  }
}
