/* Onboarding: the sign-in page's look (auth.css), in a wider box. Unlike the
   sign-in pages it's an ordinary page that scrolls, since some screens
   (Screen 20) are taller than the window; auth.css fixes the body's height
   and hides overflow, and centres the box absolutely. */

body.onboarding { height: auto; min-height: 100%; overflow-y: auto; }
.onboarding .login-wrap { position: static; display: block; width: 720px; max-width: 100%; max-height: none; margin: 40px auto; }
.onboarding .login-inside { position: relative; overflow: visible; border-color: var(--opalBlue4); }
.onboarding .logo, .onboarding #onboarding, .onboarding .ob-progress, .onboarding .ob-footer { position: relative; }

.ob-progress { height: 6px; margin-top: 24px; background-color: var(--gray3); border-radius: 3px; overflow: hidden; }
/* Hidden for now; the page still sets its width, so removing this shows it. */
.onboarding .ob-progress { display: none; }
.ob-progress-bar { height: 100%; width: 0; background-color: var(--opalBlue4); transition: width .25s ease; }

#onboarding { margin-top: 24px; }
.ob-footer { margin-top: 30px; }

.ob-lead { font-size: 16px; line-height: 1.5; margin-bottom: 12px; }
.ob-question { font-size: 22px; line-height: 1.3; font-weight: 700; margin-bottom: 20px; }
.ob-help { font-size: 15px; line-height: 1.5; color: var(--gray9); margin: -10px 0 16px; }
.ob-text { font-size: 16px; line-height: 1.5; margin-bottom: 16px; }

.ob-options { display: flex; flex-direction: column; gap: 10px; }
.ob-options button.button.ob-option { width: 100%; text-align: left; font-weight: 500; line-height: 1.4; white-space: normal; }
.ob-options button.button.ob-option.selected { border-color: var(--opalBlue4); background-color: var(--opalBlue7); }

.ob-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ob-chips button.button.ob-chip { font-weight: 500; }
.ob-chips button.button.ob-chip.selected { border-color: var(--opalBlue4); background-color: var(--opalBlue7); }

.ob-input { width: 100%; font-size: 18px; }
.ob-photo { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ob-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gray7); background-color: var(--white); }
.ob-fields { display: flex; flex-direction: column; gap: 12px; }
.ob-url { margin-top: 10px; font-size: 14px; color: var(--gray9); word-break: break-all; }
.ob-url strong { color: var(--primaryTextColor); }
.ob-url .ok { color: var(--opalGreen3); }
.ob-url .bad { color: var(--opalRed4); }
.ob-url button.button { margin-left: 8px; }

.ob-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.ob-actions .spacer { flex: 1; }
button.ob-back { background: none; border: 0; padding: 0; color: var(--linkBlue); font-size: 15px; cursor: pointer; }
button.ob-back:hover { color: var(--gray8); }
.button.disabled, button.button:disabled { opacity: .5; pointer-events: none; }

.ob-error { color: var(--opalRed4); margin-top: 12px; font-size: 14px; }
.ob-notice { margin-bottom: 16px; padding: 10px 14px; background-color: var(--opalYellow6); border: 1px solid var(--opalYellow4); font-size: 14px; }

#ob-turnstile { margin-top: 16px; }

/* /join: what was shared, when there's more than one */
.ob-shared-list { margin-left: 18px; list-style: disc; }
.ob-shared-list li { margin: 4px 0; }

/* Screen 20 */
.ob-plan-headline { font-size: 26px; line-height: 1.25; font-weight: 700; margin-bottom: 10px; }
.ob-because { font-size: 16px; line-height: 1.5; margin-bottom: 10px; }
.ob-note { font-size: 13px; color: var(--gray9); margin-bottom: 6px; }

/* The plan cards are the app's (app.html), so these follow the plans panel's
   rules in style.css. The page widens for them; the recommended plan comes
   first, a little larger, trimmed in its plan's colour. */
.onboarding.ob-plan-screen .login-wrap { width: 1180px; }
.ob-pricing { margin-top: 30px; }
.ob-pricing .columns { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 30px; align-items: stretch; }
.ob-pricing .column { display: flex; width: 100%; overflow: hidden; padding: 30px; border: 1px solid var(--gray7); border-radius: 1px;
    background-color: rgba(0,0,0,.055); box-shadow: var(--inboxBoxShadow); }
.ob-pricing .column-inside { width: 100%; padding-bottom: 60px; }
.ob-pricing .column-inside .button-wrap { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; }
.ob-pricing .pricing-subtitle { font-weight: 300; font-size: 18px; letter-spacing: -.03em; }
.ob-pricing .prices-wrap { display: grid; grid-template-columns: 1fr; gap: 15px; }
.ob-pricing .price-wrap { margin-top: 30px; display: flex; gap: 5px; align-items: center; padding-left: 15px; width: 100%; }
.ob-pricing .price-wrap.yearly { margin-top: 0; }
.ob-pricing .price-dollar-sign { font-size: 20px; font-weight: 300; position: absolute; top: 8px; left: 0; }
.ob-pricing .price-value { font-weight: bold; font-size: 50px; line-height: 1em; flex-shrink: 0; letter-spacing: -.04em; }
.ob-pricing .price-wrap.yearly .price-value { font-size: 30px; }
.ob-pricing .price-text { font-size: 12px; line-height: 1.3em; }
.ob-pricing ul.price-list { margin: 30px 0 0; padding: 0; }
.ob-pricing ul.price-list li { list-style-type: none; margin: 7px 0; padding-left: 30px; }
.ob-pricing ul.price-list li svg.icon { width: 20px; height: 20px; position: absolute; top: 2px; left: 0; }

.ob-pricing .column.recommended { margin: -12px 0; padding: 42px 34px; border-width: 2px; z-index: 1; }
.ob-pricing .column.recommended[data-family="workshop"] { border-color: var(--opalPurple4); }
.ob-pricing .column.recommended[data-family="studio"] { border-color: var(--opalBlue4); }
.ob-pricing .column.recommended[data-family="dayDesk"] { border-color: var(--opalYellow4); }

/* Narrower screens: the cards stack, each wide enough for both prices side by side. */
@media (max-width: 1100px) {
    .ob-pricing .columns { grid-template-columns: minmax(0, 1fr); }
    .ob-pricing .column.recommended { margin: 0; }
    .ob-pricing .prices-wrap { grid-template-columns: 1fr 1fr; }
    .ob-pricing .price-wrap.yearly { margin-top: 30px; }
}

@media (max-width: 600px) {
    .ob-pricing .prices-wrap { grid-template-columns: 1fr; }
    .ob-pricing .price-wrap.yearly { margin-top: 0; }
    .onboarding .login-wrap { padding: 12px; }
    .onboarding .login-inside { padding: 20px; }
    .ob-question { font-size: 19px; }
    .ob-plan-headline { font-size: 22px; }
}
