/* Sign-in and onboarding mockup. Builds on styles.css tokens. */

.step { padding-bottom: 20px; }
.step h1 { margin-top: 18px; }
.back { padding-left: 0; margin-top: 14px; min-height: 40px; }
.step-label { font-size: 14px; font-weight: 800; color: var(--muted); margin: 0; }

.saved-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--blue-50);
}
.mini-ring {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--blue) 74%, #ffffff 0);
}
.mini-ring span {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-50);
  font-weight: 900;
  font-size: 20px;
}
.saved-card .kicker { margin: 0; }
.saved-sounds { margin: 2px 0 0; font-weight: 800; }

.perks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.perks li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.dot { flex: none; width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.d-blue { background: var(--blue); }
.d-yellow { background: var(--yellow); }
.d-red { background: var(--red); }

.link {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.providers { display: grid; gap: 12px; margin-top: 8px; }
.provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
}
.provider:hover { border-color: var(--muted); }
.provider svg { width: 22px; height: 22px; fill: currentColor; }

.divider { display: flex; align-items: center; gap: 12px; margin: 26px 0 18px; color: var(--muted); font-size: 14px; font-weight: 700; }
.divider::before, .divider::after { content: ""; flex: 1; height: 2px; background: var(--line); }

#email-form label { display: block; font-weight: 800; font-size: 15px; margin-bottom: 6px; }
#email-form input, .code input {
  font: inherit;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
}
#email-form input { width: 100%; min-height: 54px; padding: 12px 16px; margin-bottom: 14px; }
#email-form input[aria-invalid="true"], .code input[aria-invalid="true"] { border-color: var(--red); }
#email-form .error { margin: -6px 0 12px; }

.code { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 18px 0 14px; }
.code input { min-height: 60px; text-align: center; font-size: 26px; font-weight: 900; padding: 0; }
.code input:focus { border-color: var(--blue); outline: none; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 22px; }
.choices.single { grid-template-columns: 1fr; }
.choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 92px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
  text-align: left;
  font-size: 24px;
}
.choice span { font-size: 15px; font-weight: 800; line-height: 1.3; }
.choice.wide { min-height: 0; font-size: 17px; }
.choice.wide strong { font-weight: 900; }
.choice.wide span { font-weight: 600; color: var(--muted); }
.choice[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue); }

.ready-badge {
  width: 84px; height: 84px;
  margin: 34px auto 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-size: 42px;
  font-weight: 900;
  box-shadow: 0 0 0 10px var(--yellow-50);
}
.plan-preview { display: grid; gap: 10px; margin: 8px 0 24px; padding: 18px; border-radius: 20px; background: var(--gray-50); }
.plan-preview p { display: flex; align-items: center; gap: 10px; margin: 0; }
.as-button { display: flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 999px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: min(90vw, 420px);
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  z-index: 10;
}

.timeline { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 16px; }
.timeline li { display: flex; gap: 14px; align-items: flex-start; }
.timeline .dot { margin-top: 6px; width: 14px; height: 14px; }
.timeline strong { display: block; font-weight: 900; }
.timeline span:not(.dot) { color: var(--muted); line-height: 1.45; }

.plans { display: grid; gap: 12px; margin: 18px 0 22px; }
.plan-option {
  position: relative;
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 18px;
  border-radius: 20px;
  border: 2px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  text-align: left;
}
.plan-option[aria-checked="true"] { border-color: var(--blue); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue); }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 18px; }
.plan-top strong { font-weight: 900; }
.plan-price { font-weight: 900; font-size: 22px; white-space: nowrap; }
.plan-price small { font-size: 14px; font-weight: 700; color: var(--muted); }
.plan-sub { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan-badge {
  position: absolute;
  top: -12px;
  left: 16px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

/* Real sign-in (login.html) */
.auth-form label, .account-form label { display: block; font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.auth-form input, .account-form input {
  font: inherit;
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  margin-bottom: 14px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
}
.auth-form input:focus, .account-form input:focus { outline: none; border-color: var(--blue); }
.auth-form .error, .account-form .error { margin: -6px 0 12px; }

.auth-form .code-input { font-size: 30px; }
.auth-form label + input, .auth-form label + .password-field { margin-top: 0; }
