/* Account surfaces retain the app's purple controls; the approved mark is blue. */
:root {
 color-scheme: dark;
 font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
 color: #f5f5f7;
 background: #030304;
 --surface: #111113;
 --line: #303036;
 --muted: #a9a9b4;
 --accent: #6956df;
 --focus: #c4baff;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 48px, 576px); margin: clamp(32px, 7vh, 80px) auto 48px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; font-size: 25px; font-weight: 650; letter-spacing: -.035em; text-decoration: none; }
.brand img { display: block; flex: none; }
section { margin: 48px 0 32px; }
h1 { max-width: 16ch; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -.035em; font-weight: 600; margin: 0 0 20px; text-wrap: balance; }
h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.02em; font-weight: 600; }
p, footer { color: var(--muted); }
.intro { margin: 0 0 28px; max-width: 50ch; }
form { display: grid; gap: 10px; margin-top: 28px; }
label { font-size: 14px; font-weight: 600; }
input, .billing select { width: 100%; min-height: 52px; background: var(--surface); border: 1px solid #505058; border-radius: 10px; padding: 13px 16px; color: inherit; font: inherit; caret-color: var(--focus); }
input { margin-bottom: 12px; }
input:hover:not(:disabled), .billing select:hover { border-color: #777780; }
button { min-height: 48px; font: inherit; color: inherit; background: #19191d; border: 1px solid #505058; border-radius: 10px; padding: 12px 20px; cursor: pointer; transition: background-color 140ms ease-out, border-color 140ms ease-out; }
button:hover:not(:disabled) { background: #242429; border-color: #85858f; }
.primary { background: var(--accent); border-color: #9383f0; font-weight: 600; margin-top: 12px; }
.primary:hover:not(:disabled) { background: #7865ed; border-color: #b2a4ff; }
button:disabled, input:disabled { opacity: .6; cursor: wait; }
.text { background: none; border: 0; padding: 16px 0; color: var(--focus); text-align: left; text-underline-offset: 4px; }
.text:hover:not(:disabled) { background: none; text-decoration: underline; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.allowance { padding: 20px 0; border-block: 1px solid var(--line); margin: 28px 0; font-variant-numeric: tabular-nums; }
.error { color: #ffb0bd; padding: 16px 0; }
footer { font-size: 13px; line-height: 1.6; border-top: 1px solid var(--line); padding-top: 24px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
h1:focus { outline: none; }
::selection { background: var(--accent); color: white; }
.billing { margin: 28px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.billing select { display: block; margin: 10px 0 18px; }
.billing .primary { margin-top: 0; }
.signup-steps { display: flex; gap: 16px; list-style: none; padding: 20px 0; margin: 28px 0; border-block: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.signup-steps li { display: flex; align-items: center; gap: 8px; flex: 1; }
.signup-steps span { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border: 1px solid #505058; border-radius: 50%; font-variant-numeric: tabular-nums; }
.signup-steps [aria-current="step"] { color: #f5f5f7; font-weight: 600; }
.signup-steps [aria-current="step"] span { background: var(--accent); border-color: #9383f0; }
.email-confirmation strong { color: #f5f5f7; overflow-wrap: anywhere; }
.email-confirmation .primary { width: 100%; }
.email-help, .signup-help { font-size: 13px; line-height: 1.6; }
.signup-help { margin: 0; }
@media (max-width: 480px) {
 main { width: calc(100% - 40px); margin-top: 28px; }
 section { margin-top: 36px; }
 .signup-steps { gap: 8px; font-size: 12px; }
 .signup-steps li { align-items: flex-start; flex-direction: column; gap: 10px; }
 .actions button { flex: 1; }
 .billing .actions { flex-direction: column; }
 .billing .actions button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { button { transition: none; } }

/* Sales-page rhythm, with the recording app's established purple actions. */
main { width: min(100% - 48px, 640px); margin-top: clamp(32px, 6vh, 72px); }
.brand { font-size: 24px; gap: 10px; }
.account-panel { margin-top: 40px; padding: clamp(24px, 4vw, 40px); border: 1px solid #23252b; border-radius: 20px; background: #09090b; }
h1 { letter-spacing: -.055em; line-height: 1.06; font-size: clamp(34px, 4vw, 46px); }
.intro { font-size: 15px; line-height: 1.65; }
.plan-note { font-size: 13px; line-height: 1.65; padding: 16px 0; border-block: 1px solid var(--line); }
input { background: #111113; border-color: #3b3b43; }
.primary { background: linear-gradient(150deg, #7867ed, #604dcc); box-shadow: inset 0 1px 0 #ffffff20; }
.primary:hover:not(:disabled) { background: linear-gradient(150deg, #8574f6, #6d59df); }
.signup-steps { margin: 24px 0; }
.error { border-left: 1px solid #ffb0bd; padding: 0 0 0 14px; font-size: 14px; }
footer { border-top: 0; padding: 0 20px; text-align: center; }
@media (max-width: 480px) {
 main { width: calc(100% - 32px); margin-top: 24px; }
 .account-panel { padding: 24px 20px; margin-top: 28px; border-radius: 16px; }
 h1 { font-size: 34px; }
 .signup-steps { gap: 6px; }
 .text { font-size: 14px; }
}

.browser-authorization .primary { margin-top: 0; }
@media (max-width: 480px) { .browser-authorization .actions { flex-direction: column; } }
