.signup-main {
  padding-bottom: 0;
}

.signup-hero {
  padding: 3.25rem 0 1.5rem;
}

.signup-eyebrow {
  margin: 0 0 0.75rem;
  color: #e11d48;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.signup-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.days-badge {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border-radius: 12px;
  padding: 0.1em 0.35em 0.15em;
  margin: 0 0.1em;
  font-size: 0.92em;
  vertical-align: middle;
}

.signup-sub {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.signup-body {
  padding: 1.5rem 0 4rem;
}

.signup-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.75rem;
  align-items: start;
}

.aside-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #0b1220 0%, #152238 55%, #0f1a2e 100%);
  color: #e2e8f0;
  border-radius: 24px;
  padding: 1.75rem 1.6rem 1.5rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
}

.aside-accent {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fbbf24;
  opacity: 0.95;
}

.aside-card h2 {
  position: relative;
  color: #fff;
  font-size: 1.55rem;
  margin-bottom: 0.55rem;
}

.aside-card > p {
  position: relative;
  color: #94a3b8;
  margin: 0 0 1.25rem;
}

.aside-list {
  position: relative;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.aside-list li {
  padding-left: 2rem;
  position: relative;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.aside-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.aside-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.aside-stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  color: #fbbf24;
  letter-spacing: -0.03em;
}

.aside-stats span {
  color: #94a3b8;
  font-size: 0.78rem;
}

.aside-quote {
  position: relative;
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.35);
}

.aside-quote p {
  margin: 0 0 0.9rem;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.55;
}

.aside-quote footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.aside-quote strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}

.aside-quote small {
  color: #94a3b8;
}

.stars {
  margin-left: auto;
  color: #fbbf24;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.next-steps {
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
}

.next-label {
  margin: 0 0 0.85rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.next-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.next-steps li {
  display: grid;
  gap: 0.2rem;
  padding-left: 2.4rem;
  position: relative;
}

.next-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

.next-steps strong {
  font-family: var(--display);
}

.next-steps span {
  color: var(--muted);
  font-size: 0.92rem;
}

.signup-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.75rem 1.6rem 1.75rem;
  box-shadow: var(--shadow);
}

.signup-form-wrap > h2 {
  margin: 0 0 1.25rem;
  font-size: 1.55rem;
}

.signup-form fieldset {
  border: 0;
  margin: 0 0 1.35rem;
  padding: 0;
}

.signup-form legend {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
  padding: 0;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.field > span:first-child {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.field-control {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 0.75rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field-control:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(29, 110, 245, 0.12);
}

.field-icon {
  color: #94a3b8;
  font-size: 0.95rem;
  width: 1.1rem;
  text-align: center;
  flex-shrink: 0;
}

.field-control input,
.field-control select {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0.85rem 0;
  min-width: 0;
  color: var(--ink);
}

.field-control select {
  cursor: pointer;
}

.toggle-pass {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.25rem 0.15rem;
}

.hint {
  color: var(--muted);
  font-size: 0.82rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.field-row-3 {
  grid-template-columns: 1.2fr 1fr 0.8fr;
}

.signup-billing {
  justify-content: flex-start;
  margin: 0 0 1rem;
}

.plan-options {
  display: grid;
  gap: 0.65rem;
}

.plan-option {
  cursor: pointer;
}

.plan-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  position: relative;
  transition: 0.15s ease;
}

.plan-option input:checked + .plan-card {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 1px var(--brand);
}

.plan-badge {
  position: absolute;
  top: -0.55rem;
  right: 0.85rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.plan-name {
  font-weight: 700;
  font-family: var(--display);
}

.plan-price {
  color: var(--muted);
  font-weight: 600;
}

.plan-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.agree {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.25rem 0 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.agree input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand);
}

.agree a {
  color: var(--brand);
  font-weight: 600;
}

.btn-lg {
  padding: 0.95rem 1.25rem;
  font-size: 1rem;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.form-status {
  margin: 0.85rem 0 0;
  text-align: center;
  font-weight: 600;
  color: var(--brand-dark);
}

@media (max-width: 960px) {
  .signup-layout,
  .field-row,
  .field-row-3,
  .aside-stats {
    grid-template-columns: 1fr;
  }

  .stars {
    margin-left: 0;
  }

  .aside-quote footer {
    flex-wrap: wrap;
  }
}

/* Subdomain field: fixed ".trackzen.us" suffix inside the control. */
.field-control-suffix { display: flex; align-items: center; }
.field-control-suffix input { flex: 1 1 auto; min-width: 0; }
.field-suffix { padding: 0 12px; color: #64748b; font-weight: 500; white-space: nowrap; }
.form-status.is-error { color: #dc2626; }
