/* Public sign-up + welcome + OpenRAROC upsell styles (Task 3.6). */

.signup .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.signup-form-section {
  padding: 1rem 1.5rem 3rem;
}

.signup-plans {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
  padding: 0;
  border: 0;
}

.signup-plans-legend {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
  padding: 0;
}

.signup-plan-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  background: #fff;
  transition: border-color 120ms ease, background 120ms ease;
}

.signup-plan-option:hover {
  border-color: var(--accent);
}

.signup-plan-option.is-selected {
  border-color: var(--accent);
  background: #f1f5fb;
}

.signup-plan-option input[type="radio"] {
  margin-top: 0.25rem;
}

.signup-plan-label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.signup-plan-description {
  font-size: 0.85rem;
  color: var(--muted);
}

.signup-fineprint {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* Welcome page */

.signup-welcome {
  max-width: 720px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.signup-welcome h1 {
  font-size: 2rem;
  margin: 0.25rem 0 0.5rem;
}

.signup-welcome .lede {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

.signup-welcome-steps {
  list-style: none;
  counter-reset: welcome-step;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.signup-welcome-steps > li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.signup-welcome .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  flex: 0 0 auto;
}

.signup-welcome .step-body {
  flex: 1;
}

.signup-welcome .step-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.signup-welcome .step-body p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.signup-welcome-meta {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.primary-button,
.secondary-button {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.primary-button {
  background: var(--accent);
  color: #fff;
}

.primary-button:hover {
  filter: brightness(0.95);
  text-decoration: none;
}

.secondary-button {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}

.secondary-button:hover {
  background: #f1f5fb;
  text-decoration: none;
}

/* Upsell page */

.upsell .upsell-hero,
.upsell .upsell-bullets,
.upsell .upsell-cta-tail {
  max-width: 760px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.upsell-hero h1 {
  font-size: 2.2rem;
  margin: 0.25rem 0 0.5rem;
}

.upsell-hero .lede {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
}

.upsell-cta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}

.upsell-cta-meta {
  font-size: 0.9rem;
}

.upsell-bullet-list {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.upsell-fineprint {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.upsell-cta-tail h2 {
  font-size: 1.6rem;
  margin: 0 0 1rem;
}

/* Trial chip in the top bar */

.trial-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  background: #f1f5fb;
  color: var(--accent);
  border: 1px solid #d6e0ee;
  margin-right: 0.75rem;
  text-decoration: none;
}

.trial-chip[data-state="expired"] {
  background: #fdecea;
  color: #b03a2e;
  border-color: #f5c6c6;
}

.trial-chip[data-state="active"] {
  background: #eaf5ec;
  color: #1b6b3d;
  border-color: #b9dcc4;
}

.trial-chip-label {
  font-weight: 600;
}
