:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f6fa;
  color: #142033;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: #f3f6fa;
}

.signup-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 28px 18px 48px;
}

.signup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.signup-header img {
  display: block;
  width: min(360px, 72vw);
  height: auto;
}

.login-link {
  color: #1765ad;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.signup-panel {
  padding: 28px;
  border: 1px solid #d3dbe6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(20, 32, 51, 0.09);
}

.product-label {
  margin: 0 0 6px;
  color: #1765ad;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.05;
}

.intro {
  margin: 12px 0 24px;
  color: #536174;
  font-size: 17px;
  line-height: 1.5;
}

.confirmation-message {
  margin-bottom: 0;
  padding: 18px 20px;
  border-left: 4px solid #ff5426;
  background: #f6f8fb;
  color: #34445a;
  font-weight: 700;
}

.plan-options {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.plan-options legend {
  margin-bottom: 9px;
  color: #34445a;
  font-size: 14px;
  font-weight: 800;
}

.plan-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 72px;
  padding: 12px 15px;
  border: 1px solid #bdc8d6;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.plan-option:has(input:checked) {
  border-color: #1765ad;
  outline: 3px solid rgba(23, 101, 173, 0.12);
  background: #f5f9fd;
}

.plan-option input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: #1765ad;
}
.plan-option > span { display: grid; gap: 2px; }
.plan-option strong { color: #142033; font-size: 16px; }
.plan-option small { color: #667589; font-size: 13px; font-weight: 600; }
.plan-option > b { color: #1765ad; font-size: 22px; white-space: nowrap; }
.plan-option > b small { font-size: 12px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: #34445a;
  font-size: 14px;
  font-weight: 700;
}

label.full { grid-column: 1 / -1; }

input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #bdc8d6;
  border-radius: 6px;
  background: #fff;
  color: #142033;
  font: inherit;
  font-size: 16px;
}

input:focus {
  border-color: #1765ad;
  outline: 3px solid rgba(23, 101, 173, 0.14);
}

.plan-option input:focus { outline: none; }

.submit-button {
  width: 100%;
  min-height: 52px;
  margin-top: 22px;
  border: 0;
  border-radius: 6px;
  background: #ff5426;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.submit-button:disabled { cursor: wait; opacity: 0.7; }

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: #536174;
  font-size: 14px;
  font-weight: 700;
}

.form-status.error { color: #c53535; }

.fine-print {
  margin: 10px 0 0;
  color: #6a7788;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 620px) {
  .signup-shell { padding: 18px 12px 36px; }
  .signup-header { align-items: flex-start; flex-direction: column; }
  .signup-panel { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  label.full { grid-column: auto; }
  .plan-option { grid-template-columns: auto minmax(0, 1fr); }
  .plan-option > b { grid-column: 2; }
}
