/* Public signup uses the light marketing surface independently of the saved
   workspace theme. Both trial requests and direct paid checkout share these controls. */
html:has(body.signup-body) { color-scheme: light !important; background: #f6f8fc; }
html[data-theme] body.signup-body {
  --bill-bg: #f6f8fc; --bill-card: #fff; --bill-soft: #eef1ff;
  --bill-text: #202943; --bill-muted: #59677e; --bill-border: #dce3f0; --bill-accent: #4c4fc4;
  min-height: 100dvh; background: radial-gradient(ellipse at 10% 0, #eaefff 0, transparent 45%), #f6f8fc;
  color: var(--bill-text); color-scheme: light;
}
body.signup-body .signup-shell { max-width: 1040px; padding: 24px clamp(16px, 4vw, 40px) 48px; }
body.signup-body .billing-header { padding: 0 0 22px; border-color: #dce3f0; }
body.signup-body .billing-header > a:last-child { padding: 10px 16px; border: 1px solid #ccd4e9; border-radius: 10px; background: #fff; text-decoration: none; font-weight: 600; }
body.signup-body .billing-brand { color: #242e4c; font-size: 22px; }
body.signup-body .billing-brand img { width: 100px; height: 48px; border-color: #86b4a2; }
body.signup-body .billing-title { margin: 36px 0 28px; }
body.signup-body .billing-title p:not(.billing-eyebrow) { max-width: 660px; line-height: 1.6; }
body.signup-body .signup-journey { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: setup; }
body.signup-body .signup-journey li { display: inline-flex; align-items: center; gap: 8px; counter-increment: setup; color: #59677e; }
body.signup-body .signup-journey li::before { content: counter(setup); display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #cdd6e8; border-radius: 50%; background: #fff; font-size: 12px; }
body.signup-body .signup-journey [aria-current] { color: #4548b8; font-weight: 600; }
body.signup-body .signup-journey [aria-current]::before { background: #5053cf; border-color: #5053cf; color: #fff; }
body.signup-body .signup-form { display: grid; gap: 18px; }
body.signup-body .billing-card { padding: clamp(20px, 3vw, 30px); border: 1px solid #dce3f0; border-radius: 18px; background: #fff; box-shadow: 0 8px 30px #293d6810; }
body.signup-body .billing-card h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
body.signup-body .signup-step { flex: 0 0 32px; width: 32px; height: 32px; margin: 0; background: #eeefff; color: #4c4fc4; border: 1px solid #dadcfb; }
body.signup-body .signup-fields { gap: 20px 24px; }
body.signup-body :is(input, select, textarea) { min-height: 46px; border-color: #cbd5e5; background: #fbfcff; color: #202943; border-radius: 10px; padding: 11px 13px; transition: border-color .18s, box-shadow .18s; }
body.signup-body :is(input, select, textarea):hover { border-color: #9aaaca; }
body.signup-body :is(input, select, textarea):focus { outline: 0; border-color: #6366da; background: #fff; box-shadow: 0 0 0 3px #6366da20; }
body.signup-body input[type=checkbox] { accent-color: #5053cf; }
body.signup-body .billing-card .billing-muted { margin: 16px 0 0; }
body.signup-body .billing-primary { min-height: 46px; padding: 12px 24px; background: #5053cf; border-color: #5053cf; color: #fff; box-shadow: 0 4px 12px #5053cf25; }
body.signup-body .billing-primary:hover { background: #4144b4; }
body.signup-body .billing-error { background: #fff1f2; border-color: #efb3bf; color: #8d2440; }
body.signup-body .billing-footer { text-align: center; }
@layer mobile_readability {
  :root body.signup-body { --gui-text-body: .9375rem !important; --gui-text-control: 1rem !important; --gui-text-label: .8125rem !important; }
  :root body.signup-body #signupTitle { font-size: clamp(26px, 3vw, 36px) !important; line-height: 1.2 !important; letter-spacing: -.025em; margin: 10px 0 14px; }
  :root body.signup-body .billing-card h2 { font-size: 18px !important; font-weight: 600; }
  :root body.signup-body .signup-journey li { font-size: 13px !important; }
}
@media (max-width: 600px) {
  body.signup-body .billing-brand { gap: 10px; font-size: 17px; }
  body.signup-body .billing-brand img { width: 72px; height: 40px; }
  body.signup-body .billing-header { gap: 10px; }
  body.signup-body .billing-header > a:last-child { padding: 8px 10px; font-size: 13px; }
  body.signup-body .signup-journey { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.signup-body .billing-title { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) { body.signup-body :is(input, select, textarea) { transition: none; } }
body.signup-body .signup-field-hint { display: block; color: #53637c; font-size: 13px; font-weight: 400; line-height: 1.5; min-height: 1.5em; }
body.signup-body input[aria-invalid="true"] { border-color: #ba3548 !important; box-shadow: 0 0 0 2px #ba354819; }
body.signup-body .signup-checkout-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
body.signup-body button:disabled { opacity: .65; cursor: wait; }
body.signup-body #signupPlan { min-width: 0 !important; max-width: 100% !important; appearance: none; padding-right: 40px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2353637c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
