.beta-body {
  min-height: 100vh;
}

.beta-topbar {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.beta-pill {
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 7px 14px;
  color: #f8d8d7;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.beta-shell {
  width: min(1240px, calc(100% - 48px));
  margin: clamp(48px, 8vw, 100px) auto 64px;
}

.beta-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.beta-hero h1 {
  max-width: 760px;
  margin: 10px 0 18px;
  color: var(--wine-950);
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.beta-intro {
  max-width: 650px;
  margin-bottom: 30px;
  color: #624b50;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.45;
}

.beta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.beta-actions .primary-action,
.beta-actions .secondary-action {
  min-width: 184px;
  padding: 0 22px;
}

.setup-status {
  padding: clamp(26px, 4vw, 38px);
}

.setup-status h2,
.beta-note h2 {
  margin: 7px 0 24px;
  color: var(--wine-950);
  font-size: clamp(28px, 4vw, 40px);
}

.status-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.status-line strong {
  display: block;
  color: var(--wine-900);
  font-family: var(--serif);
  font-size: 19px;
}

.status-line p {
  margin: 4px 0 0;
  color: var(--muted);
}

.status-dot {
  width: 13px;
  height: 13px;
  margin-top: 6px;
  border-radius: 50%;
  background: #c7a65d;
  box-shadow: 0 0 0 6px rgba(199, 166, 93, 0.13);
}

.status-dot.is-ready {
  background: #3d8a61;
  box-shadow: 0 0 0 6px rgba(61, 138, 97, 0.13);
}

.status-dot.is-error {
  background: #b52d4d;
  box-shadow: 0 0 0 6px rgba(181, 45, 77, 0.13);
}

.status-details {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
}

.status-details div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}

.status-details dt {
  color: var(--muted);
}

.status-details dd {
  margin: 0;
  color: var(--wine-900);
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.status-next {
  margin: 22px 0 0;
  border-left: 3px solid var(--rose-300);
  padding: 12px 14px;
  background: var(--rose-050);
  color: #6d3543;
}

.beta-note {
  max-width: 760px;
  margin-top: clamp(52px, 8vw, 96px);
  padding: clamp(24px, 4vw, 36px);
}

.beta-note p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.review-dialog-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 30px;
}

@media (max-width: 860px) {
  .beta-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: 22px;
  }

  .beta-pill { display: none; }

  .beta-hero {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .beta-shell {
    width: min(100% - 32px, 720px);
    margin-top: 48px;
  }
}

@media (max-width: 520px) {
  .brand-name { font-size: 20px; }
  .account-button span:not(.avatar) { display: none; }
  .beta-shell { width: min(100% - 24px, 720px); }
  .beta-hero h1 { font-size: clamp(48px, 16vw, 70px); }
  .beta-intro { font-size: 19px; }
  .beta-actions { display: grid; }
  .beta-actions button { width: 100%; }
  .setup-status { padding: 24px 20px; }
}

.beta-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
