@import url("../global/reset.css");
@import url("../theme.css");
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --bg-main: #020617;
  --bg-card: #0f172a;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --blue: #0f766e;
  --text-main: #ffffff;
  --text-secondary: #94a3b8;
  --border: #1e293b;

  --bg: var(--bg-main);
  --bg-2: #0b1220;
  --panel: rgba(15, 23, 42, 0.88);
  --panel-2: rgba(15, 23, 42, 0.96);
  --line: rgba(30, 41, 59, 0.96);
  --line-strong: #334155;
  --text: var(--text-main);
  --muted: var(--text-secondary);
  --muted-2: #64748b;
  --brand: var(--primary);
  --brand-2: var(--blue);
  --accent: var(--blue);
  --good: #22c55e;
  --warn: #f59e0b;
  --bad: #fb7185;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 28px 80px rgba(2, 6, 23, 0.48);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(820px 520px at 8% 4%, rgba(59, 130, 246, 0.12), transparent 60%),
    radial-gradient(720px 480px at 96% 8%, rgba(15, 118, 110, 0.14), transparent 62%),
    radial-gradient(760px 560px at 50% 100%, rgba(30, 41, 59, 0.28), transparent 68%),
    linear-gradient(180deg, #020617 0%, #08101f 42%, #020617 100%);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.saas-signup-page {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  padding: 0;
}

.onboarding-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  width: 100%;
}

.saas-bg-grid {
  position: fixed;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 30%, black 35%, transparent 95%);
}

.saas-orb {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
  pointer-events: none;
}

.saas-orb--a { top: -80px; left: -60px; background: rgba(59, 130, 246, 0.7); }
.saas-orb--b { top: 120px; right: -120px; background: rgba(15, 118, 110, 0.68); }
.saas-orb--c { bottom: -120px; left: 35%; background: rgba(30, 41, 59, 0.95); opacity: 0.14; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.text-muted {
  color: var(--text-secondary);
}

.plan-selected {
  background: linear-gradient(180deg, #1e293b, #0f172a);
  border: 1px solid #334155;
}

.saas-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.signup-main {
  display: grid;
  gap: 20px;
}

.signup-hero {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(8, 15, 29, 0.82));
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  background: rgba(59, 130, 246, 0.08);
  color: #dbeafe;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-badge--muted {
  border-color: var(--line);
  background: rgba(148, 163, 184, 0.08);
  color: var(--muted);
}

.signup-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.signup-hero p {
  margin: 0;
  max-width: 70ch;
  color: #cbd5e1;
  line-height: 1.55;
  font-size: 16px;
}

.wizard-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 15, 29, 0.94));
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  gap: 20px;
}

.wizard-overview {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 4px;
}

.wizard-overview__kicker {
  margin: 0 0 8px;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wizard-overview__title {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 2.8vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.wizard-overview__copy {
  margin: 0;
  max-width: 320px;
  color: var(--muted);
  line-height: 1.6;
  text-align: right;
}

.wizard-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step-chip {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.88);
  color: var(--muted);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease, color .18s ease;
}

.step-chip:hover {
  border-color: #475569;
  transform: translateY(-1px);
}

.step-chip__index {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.94);
}

.step-chip__label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.step-chip.is-active,
.step.active {
  color: var(--text);
  border-color: rgba(37, 99, 235, 0.55);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(15, 118, 110, 0.18));
}

.step-chip.is-active .step-chip__index,
.step.active .step-chip__index {
  color: #fff;
  border-color: rgba(37, 99, 235, 0.4);
  background: rgba(37, 99, 235, 0.24);
}

.step-chip.is-done {
  color: #d8fff6;
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(6, 95, 70, 0.11);
}

.step-chip.is-done .step-chip__index {
  color: #052818;
  border-color: transparent;
  background: rgba(52, 211, 153, 0.95);
}

.wizard-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.08);
  overflow: hidden;
}

.wizard-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  transition: width .25s ease;
}

.wizard-panels {
  display: grid;
}

.wizard-panel {
  display: grid;
  gap: 20px;
  border: 1px solid rgba(30, 41, 59, 0.96);
  background: rgba(8, 15, 29, 0.7);
  border-radius: 16px;
  padding: 24px;
}

.section-group {
  margin-bottom: 40px;
}

.wizard-panel.section-group:last-child {
  margin-bottom: 0;
}

.wizard-panel[hidden] {
  display: none !important;
}

.panel-head {
  display: grid;
  gap: 6px;
}

.panel-kicker {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
}

.panel-head h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.panel-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.form-group-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(8, 15, 29, 0.9));
}

.form-group {
  margin-bottom: 28px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group-card__head {
  display: grid;
  gap: 4px;
}

.form-group-card__eyebrow {
  margin: 0;
  color: #93c5fd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.form-group-card__head h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.02em;
}

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

.field {
  display: grid;
  gap: 10px;
}

.field--span-2 {
  grid-column: span 2;
}

.field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  height: 46px;
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-main);
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.field input::placeholder {
  color: #64748b;
}

.field input:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
  background: var(--bg-card);
  outline: none;
}

input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
  outline: none;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 84px;
  height: 46px;
}

.password-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}

.password-toggle:hover {
  color: var(--text);
}

.inline-note {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--muted);
  padding: 12px 14px;
  font-size: 13px;
}

.inline-note[data-tone="error"] { color: #fecdd3; border-color: rgba(251, 113, 133, 0.25); background: rgba(190, 24, 93, 0.08); }
.inline-note[data-tone="success"] { color: #bbf7d0; border-color: rgba(52, 211, 153, 0.24); background: rgba(6, 95, 70, 0.1); }

.field-inline-action {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mini-btn {
  appearance: none;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(59, 130, 246, 0.08);
  color: #dbeafe;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, opacity .18s ease;
}

.mini-btn:hover:not(:disabled) {
  border-color: rgba(59, 130, 246, 0.42);
  background: rgba(59, 130, 246, 0.14);
}

.mini-btn:disabled {
  opacity: .55;
  cursor: wait;
}

.mini-status {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.mini-status[data-tone="loading"] { color: #bfdbfe; }
.mini-status[data-tone="success"] { color: #bbf7d0; }
.mini-status[data-tone="warn"] { color: #fde68a; }
.mini-status[data-tone="error"] { color: #fecdd3; }

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

.plan-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(8, 15, 29, 0.94));
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.plan-card:hover {
  transform: translateY(-2px);
  border-color: #475569;
}

.plan-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-card.is-selected {
  background: linear-gradient(180deg, #1e293b, #0f172a);
  border: 1px solid #334155;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 16px 36px rgba(2, 6, 23, 0.34);
}

.plan-card:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.plan-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.plan-card__name {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
}

.plan-card__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 999px;
  padding: 4px 8px;
}

.plan-card__badge--accent {
  color: #d1fae5;
  border-color: rgba(15, 118, 110, 0.32);
  background: rgba(15, 118, 110, 0.14);
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-card__price strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.plan-card__price span {
  color: var(--muted);
  font-size: 13px;
}

.plan-card__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.plan-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-card__features li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  flex: 0 0 auto;
}

.payment-shell {
  display: grid;
  gap: 18px;
}

.payment-card-preview {
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.14), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(15, 118, 110, 0.16), transparent 45%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(8, 15, 29, 0.96));
  padding: 14px;
  display: grid;
  gap: 14px;
}

.payment-card-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chip-dot {
  width: 34px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffd28c, #b6822d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}

.card-brands {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.brand-pill {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: #d8e0f5;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(148, 163, 184, 0.06);
}

.payment-card-preview__number {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(16px, 2.2vw, 20px);
  letter-spacing: .12em;
  color: #f7fbff;
}

.payment-card-preview__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.label-mini {
  display: block;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.payment-card-preview__foot strong {
  font-size: 12px;
  color: #e9eefc;
  letter-spacing: .06em;
}

.secure-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.9);
  padding: 12px;
}

.secure-row__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.secure-lock {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.secure-lock svg {
  width: 18px;
  height: 18px;
}

.secure-row__left strong {
  display: block;
  font-size: 13px;
}

.secure-row__left p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.secure-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #dbeafe;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.1);
  padding: 6px 10px;
}

.wizard-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.wizard-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.wizard-status[data-tone="error"] { color: #fecdd3; }
.wizard-status[data-tone="success"] { color: #bbf7d0; }

.wizard-footer__right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.btn {
  appearance: none;
  border-radius: 12px;
  padding: 12px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  transition: transform .16s ease, opacity .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}

.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none !important;
}

.btn--ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(15, 23, 42, 0.92);
}

.btn--ghost:hover:not(:disabled) {
  border-color: #475569;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  box-shadow: 0 16px 34px rgba(59, 130, 246, 0.18);
  min-height: 54px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--blue));
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-hover), #0f766e);
}

.btn--primary:hover:not(:disabled) {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--primary-hover), #0f766e);
  box-shadow: 0 18px 36px rgba(59, 130, 246, 0.24);
}

.btn--success {
  background: linear-gradient(135deg, var(--primary), var(--blue));
}

.btn:focus-visible,
.step-chip:focus-visible,
.mini-btn:focus-visible,
.password-toggle:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.wizard-security {
  margin: 0;
  color: #cbd5e1;
  font-size: 12px;
  text-align: center;
}

.wizard-card.is-submitting .btn--success {
  opacity: 0.8;
}

.wizard-simulated-result {
  border-radius: 14px;
  border: 1px solid rgba(52, 211, 153, 0.22);
  background: rgba(6, 95, 70, 0.12);
  padding: 12px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.sim-result__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 211, 153, 0.16);
  color: #bbf7d0;
  font-weight: 800;
}

.wizard-simulated-result strong {
  display: block;
  font-size: 14px;
}

.wizard-simulated-result p {
  margin: 4px 0 0;
  color: #c8f5de;
  font-size: 12px;
  line-height: 1.45;
}

.signup-summary {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
}

.sidebar-plan {
  max-width: 320px;
  width: 100%;
}

.summary-card,
.trust-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 15, 29, 0.94));
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

.summary-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.summary-kicker {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}

.summary-card__head h2 {
  margin: 0;
  color: #fff;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.summary-status {
  font-size: 11px;
  color: #d1fae5;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.25);
  background: rgba(15, 118, 110, 0.12);
  padding: 5px 9px;
  font-weight: 700;
}

.summary-plan {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.94);
  padding: 16px;
  display: grid;
  gap: 8px;
}

.summary-plan--highlight {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(9, 26, 33, 0.96));
  border-color: rgba(37, 99, 235, 0.28);
}

.summary-plan__name {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
}

.summary-plan__specs {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.summary-plan__price {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.summary-feature-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.summary-feature-list li {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  position: relative;
}

.summary-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.summary-feature-list strong {
  color: #fff;
  font-size: 14px;
}

.summary-feature-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.summary-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.12);
  margin: 4px 0;
}

.summary-list {
  display: grid;
  gap: 8px;
}

.summary-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
  align-items: start;
}

.summary-row span {
  color: var(--muted);
  font-size: 12px;
}

.summary-row strong {
  min-width: 0;
  font-size: 12px;
  word-break: break-word;
}

.summary-total {
  margin-top: 4px;
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(15, 23, 42, 0.96);
  padding: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.summary-total span {
  color: #bfd4ff;
  font-size: 12px;
}

.summary-total strong {
  font-size: 19px;
  letter-spacing: -0.03em;
}

.summary-footnote {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .saas-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .signup-summary {
    position: static;
    order: 2;
  }

  .sidebar-plan {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .wizard-overview {
    grid-template-columns: 1fr;
    display: grid;
  }

  .wizard-overview__copy {
    max-width: none;
    text-align: left;
  }

  .wizard-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .wizard-footer {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .wizard-footer__right,
  .wizard-footer__left {
    width: 100%;
  }

  .wizard-footer__right {
    justify-content: stretch;
  }

  .wizard-footer__right .btn,
  .wizard-footer__left .btn {
    width: 100%;
  }

  .wizard-footer__center {
    order: -1;
  }
}

@media (max-width: 680px) {
  .saas-signup-page {
    padding: 0;
  }

  .onboarding-container {
    padding: 20px 12px;
  }

  .signup-hero,
  .wizard-card,
  .summary-card {
    padding: 14px;
    border-radius: 14px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .field--span-2 {
    grid-column: span 1;
  }

  .step-chip {
    padding: 9px 10px;
  }

  .step-chip__label {
    font-size: 12px;
  }
}

.onboarding-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.saas-shell.onboarding-wrapper {
  gap: 32px;
}

.signup-hero h1,
.onboarding-title {
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1.2;
  max-width: 650px;
}

.wizard-stepper,
.stepper {
  gap: 16px;
  margin: 20px 0;
}

.sidebar-plan {
  max-width: 320px;
  padding: 20px;
  height: fit-content;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
