/* ============================================================
   SEEN — Onboarding Flow
   File: public/css/onboarding.css
   ============================================================ */

/* ── Base page ─────────────────────────────────────────────── */
.ob-
    min-height: 100vh;
    background: #f2f0eb;
    font-family: 'Inter', sans-serif;
    color: #1a1b4e;
    overflow-x: hidden;
}

/* ── Screen switcher ────────────────────────────────────────── */
.ob-screen {
    min-height: 100vh;
    animation: obFadeIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ob-screen--hidden {
    display: none !important;
}

@keyframes obFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ── Step visibility ────────────────────────────────────────── */
.ob-step {
    animation: obFadeIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
    margin: 45px 65px 0px;
    justify-items: center;
}
.ob-step--hidden {
    display: none !important;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.ob-topbar {
    display: flex;
    align-items: center;
}

/* ── Role screen top bar ── */
.ob-topbar--plain {
    justify-content: space-between;
    padding: 20px 28px 0;
    position: relative;
}

.ob-logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ob-logo-text {
    font-family: 'Poppins';
    font-size: 17px;
    font-weight: 700;
    color: #1a1b4e;
    letter-spacing: 0.5px;
}

/* ── Form screens top bar ── */
.ob-topbar--form {
    justify-content: space-between;
    padding: 18px 25px 18px;
    align-items: center;
    background: rgba(250, 248, 244, 0.9);
    border-bottom: 1.185px solid rgba(229, 231, 235, 0.6);
}

/* ── Back button ── */
.ob-back-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    border: 1.2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1b4e;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 1.501px 6.004px 0 rgba(0, 0, 0, 0.06);
    text-decoration: none; /* for <a> back buttons */
}

.ob-back-btn:hover {
    background: #f9f9fc;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* ── Step label ── */
.ob-step-label {
    font-size: 14px;
    font-weight: 400;
    font-family: 'Montserrat';
    letter-spacing: 1.8px;
    color: #5c6672;
    text-transform: uppercase;
    text-align: right;
    margin-right: 35px;
}

/* ── Dot indicators ── */
.ob-step-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 5px;
}

.ob-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: background 0.3s, width 0.3s;
}

.ob-dot--active {
    background: #1a1b4e;
    width: 28px;
    height: 6px;
    border-radius: 5px;
}

.ob-dot--done {
    background: rgba(26, 27, 78, 0.8);
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.ob-step-dots--form .ob-dot {
    width: 7px;
}
.ob-step-dots--form .ob-dot--active {
    width: 28px;
    height: 6px;
    background: #1a1b4e;
}
.ob-step-dots--form .ob-dot--done {
    background: #e5e7eb;
}

/* ============================================================
   ROLE SELECTION SCREEN
   ============================================================ */
.ob-role-wrap {
    max-width: 75%;
    margin: 0 auto;
    padding: 0 28px 60px;
    text-align: center;
}

.ob-role-title {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: #1a1b4e;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin: 28px 0 14px;
}

.ob-role-sub {
    font-family: 'Noto Sans';
    font-size: 15px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto 40px;
}

/* ── Role grid ── */
.ob-role-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: left;
    /* display: flex;
    justify-content: center;
    align-items: center;
    width: 75%; */
}

.ob-role-card {
    background: #fff;
    border: 1.5px solid #e9ebf0;
    border-radius: 18px;
    padding: 0;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none; /* for <a> cards */
    color: inherit; /* for <a> cards */
}

.ob-role-card:hover {
    box-shadow: 0 8px 32px rgba(26, 27, 78, 0.12);
    transform: translateY(-3px);
}

#role-content-btn:hover {
    border-color: #1fa58a;
}
#role-brand-btn:hover {
    border-color: #d9a441;
}
#role-agency-btn:hover {
    border-color: #1a1b4e;
}

.ob-role-card:focus-visible {
    outline: 2.5px solid #d9a441;
    outline-offset: 2px;
}

/* Top row: icon + badge + arrow */
.ob-role-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 20px 0;
}

.ob-role-arrow {
    margin-left: auto;
    color: #1a1b4e;
    background-color: #f4f6f8;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.ob-role-card:hover .ob-role-arrow {
    transform: translateX(3px);
}

/* Role icons */
.ob-role-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ob-role-icon--teal {
    background: rgba(31, 165, 138, 0.1);
    color: #1fa58a;
    border: 1.201px solid rgba(31, 165, 138, 0.18);
}
.ob-role-icon--gold {
    background: rgba(217, 164, 65, 0.1);
    color: #d9a441;
    border: 1.201px solid rgba(217, 164, 65, 0.2);
}
.ob-role-icon--purple {
    background: rgba(26, 27, 78, 0.08);
    color: #1a1b4e;
    border: 1.201px solid rgba(26, 27, 78, 0.14);
}

/* Role badges */
.ob-role-badge {
    font-size: 9px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
}

.ob-role-badge--teal {
    background: rgba(31, 165, 138, 0.1);
    color: #1fa58a;
    border: 1.201px solid rgba(31, 165, 138, 0.22);
}
.ob-role-badge--gold {
    background: rgba(217, 164, 65, 0.1);
    color: #d9a441;
    border: 1.201px solid rgba(217, 164, 65, 0.22);
}
.ob-role-badge--purple {
    background: rgba(26, 27, 78, 0.07);
    color: #1a1b4e;
    border: 1.201px solid rgba(26, 27, 78, 0.16);
}

/* Card body */
.ob-role-card-body {
    padding: 14px 20px 22px;
    flex: 1;
}

.ob-role-name {
    font-family: 'Nunito';
    font-size: 18px;
    font-weight: 700;
    color: #1a1b4e;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.ob-role-tagline {
    font-family: 'Noto Sans';
    font-size: 13.5px;
    font-weight: 400;
    color: #6b7280;
    margin-bottom: 10px;
}

.ob-role-desc {
    font-family: 'Noto Sans';
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 14px;
}

.ob-role-divider {
    border: none;
    border-top: 1.2px solid #e5e7eb;
    margin: 0 0 14px;
}

.ob-role-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ob-role-features li {
    font-family: 'Noto Sans';
    font-size: 13px;
    color: #6b7280;
    padding-left: 16px;
    position: relative;
}

.ob-role-features-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1fa58a;
}

.ob-role-features-brands li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d9a441;
}

.ob-role-features-agency li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1a1b4e;
}

.ob-role-footnote {
    font-family: 'Noto Sans';
    font-size: 12px;
    color: #6b7280;
    margin-top: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

/* ============================================================
   TWO-COLUMN SHELL (Brand onboarding steps 1–4)
   ============================================================ */
.ob-shell {
    display: flex;
    min-height: 100vh;
}

/* ── Left sidebar ── */
.ob-sidebar {
    width: 30%;
    flex-shrink: 0;
    background: linear-gradient(
        160deg,
        #060e18 8.49%,
        #0e2a47 58.3%,
        #1a3d6b 91.51%
    );
    display: flex;
    flex-direction: column;
    /* padding: 28px 28px 32px; */
    padding: 2rem 1.75rem;

    position: sticky;
    top: 0;
    height: 100vh;
}

.ob-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ob-sidebar-logo-name {
    font-family: 'Poppins';
    font-size: 16px;
    font-weight: 700;
    color: #f3e8d6;
    letter-spacing: 4px;
}

.ob-sidebar-spacer {
    flex: 1;
}

.ob-sidebar-quote {
    margin-bottom: 28px;
}

.ob-sidebar-quote-text {
    font-family: 'Montserrat';
    font-size: 20px;
    font-weight: 400;
    color: rgba(243, 232, 214, 0.5);
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ob-sidebar-quote-sub {
    font-family: 'Noto Sans';
    font-weight: 400;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ob-sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ob-sidebar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(243, 232, 214, 0.15);
    color: #f3e8d6;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ob-sidebar-user-name {
    font-family: 'Montserrat';
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.7px;
    color: rgba(243, 232, 214, 0.4);
}

/* ── Right main area ── */
.ob-main {
    flex: 1;
    background: #faf8f4;
    padding: 0 0 60px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* ── Welcome: full-width main, no sidebar ── */
.ob-screen--welcome {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ob-main--welcome {
    flex: 1;
    background: #faf8f4;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.ob-main--welcome .ob-step {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ============================================================
   FORM STEPS
   ============================================================ */
.ob-form-header {
    margin-bottom: 28px;
}

.ob-form-title {
    font-family: 'Nunito';
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 700;
    color: #1a1b4e;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 6px;
}

.ob-form-sub {
    font-family: 'Noto Sans';
    font-size: 16px;
    color: rgba(26, 27, 78, 0.6);
    font-weight: 400;
}

.ob-form-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 90%;
    width: 90%;
}

/* ── Field ── */
.ob-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ob-label {
    font-family: 'Noto Sans';
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(26, 27, 78, 0.6);
}

/* ── Text inputs ── */
.ob-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1.186px solid rgba(26, 27, 78, 0.1);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: #1a1b4e;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.ob-input::placeholder {
    color: rgba(15, 23, 32, 0.25);
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
}

.ob-input:focus {
    border-color: #1a1b4e;
    box-shadow: 0 0 0 3px rgba(26, 27, 78, 0.08);
}

/* ── Select ── */
.ob-select-wrap {
    position: relative;
}

.ob-select {
    width: 100%;
    height: 48px;
    padding: 0 40px 0 16px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14.5px;
    color: #000;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ob-select:focus {
    border-color: #d9a441;
    box-shadow: 0 0 0 3px rgba(26, 27, 78, 0.08);
}

.ob-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #000;
    display: flex;
    align-items: center;
}

/* ── Logo upload ── */
.ob-logo-upload-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ob-logo-upload-box {
    width: 72px;
    height: 72px;
    border: 1.8px dashed #d1d5db;
    border-radius: 14px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

#logo-preview {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 14px;
    display: none;
}

.ob-logo-upload-box:hover {
    border-color: #d9a441;
    background: rgba(217, 164, 65, 0.04);
}

.ob-logo-input {
    display: none;
}

.ob-upload-btn {
    height: 40px;
    padding: 0 20px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.ob-upload-btn:hover {
    background: #f9f9fc;
    border-color: #d1d5db;
}

/* ── Tag pills (Preferences) ── */
.ob-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ob-tag {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1.186px solid rgba(26, 27, 78, 0.1);
    background: #fff;
    font-family: 'Noto Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(26, 27, 78, 0.6);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.15s;
    user-select: none;
}

.ob-tag:hover {
    border-color: #c0c5d0;
}

.ob-tag.ob-tag--selected {
    background: linear-gradient(90deg, #d9a441 0%, #d0b889 100%);
    color: #fff;
    border: 1.186px solid rgba(26, 27, 78, 0.1);
    box-shadow: 0 2px 8px rgba(26, 27, 78, 0.18);
}

/* ── Checkbox items (Budget goals) ──
   FIX: Clicking the label text did not toggle the checkbox because
   the JS handler called `e.preventDefault()` equivalent by returning
   early when e.target was the input. In addition the custom
   appearance: none input didn't propagate clicks from the label text
   reliably cross-browser.

   Solution:
   1. Each input has a unique id; the wrapping <label> has `for="that-id"`.
   2. The browser's native label↔input binding handles click-anywhere.
   3. pointer-events: none is removed from .ob-checkbox-label so it
      does not swallow events.
   4. No JavaScript needed for toggling.
*/
.ob-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ob-checkbox-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
}

.ob-checkbox-item:hover {
    border-color: #c0c5d0;
    background: #fafafa;
}

.ob-checkbox-input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 6px;
    border: 2.402px solid rgba(26, 27, 78, 0.2);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
    /* Ensure the input is always clickable and doesn't block label events */
    pointer-events: auto;
}

.ob-checkbox-input:checked {
    background: #d9a441 !important;
    border: 2.402px solid #d9a441 !important;
}

.ob-checkbox-input:checked::before {
    content: '✓';
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ob-checkbox-label {
    font-family: 'Noto Sans';
    font-size: 14px;
    font-weight: 500;
    color: #1a1b4e;
    flex: 1;
    /* Do NOT set pointer-events: none — it would prevent label from
     forwarding clicks to the associated <input> */
}

/* Checked item highlight */
.ob-checkbox-item:has(.ob-checkbox-input:checked) {
    background: rgba(217, 164, 65, 0.1);
    border: 1.201px solid #d9a441;
}

/* ── Continue button ── */
.ob-continue-btn {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    background: rgba(90, 90, 130, 0.55);
    color: #fff;
    font-family: 'Nunito';
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.2px;
}

.ob-continue-btn:hover {
    background: #1a1b4e;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 27, 78, 0.22);
}

.ob-continue-btn:active {
    transform: translateY(0);
}

/* ============================================================
   WELCOME SCREEN
   ============================================================ */
.ob-welcome-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 480px;
    gap: 0;
}

.ob-welcome-check {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(217, 164, 65, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: obWelcomeCheck 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes obWelcomeCheck {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.ob-welcome-title {
    font-family: 'Nunito';
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: #1a1b4e;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 12px;
}

.ob-welcome-sub {
    font-family: 'Noto Sans';
    font-size: 14.5px;
    color: rgba(26, 27, 78, 0.6);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Next steps card */
.ob-next-steps-card {
    width: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 24px 28px;
    text-align: left;
    box-shadow: 0 2px 16px rgba(26, 27, 78, 0.07);
    margin-bottom: 28px;
}

.ob-next-steps-heading {
    font-family: 'Nunito';
    font-size: 15px;
    font-weight: 700;
    color: #1a1b4e;
    margin-bottom: 18px;
}

.ob-next-step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
}

.ob-next-step-item + .ob-next-step-item {
    border-top: 1px solid #f3f4f6;
}

.ob-next-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(217, 164, 65, 0.2);
    color: #d9a441;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.ob-next-step-title {
    font-family: 'Noto Sans';
    font-size: 14px;
    font-weight: 600;
    color: #1a1b4e;
    margin-bottom: 2px;
}

.ob-next-step-desc {
    font-family: 'Noto Sans';
    font-size: 12.5px;
    color: rgba(26, 27, 78, 0.6);
}

/* Explore button */
.ob-explore-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(90deg, #1a1b4e 0%, #3c3eb4 100%);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(26, 27, 78, 0.28);
}

.ob-explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26, 27, 78, 0.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Tablet (≤ 900px): sidebar collapses ── */
@media (max-width: 900px) {
    .ob-sidebar {
        display: none;
    }
    .ob-main {
        padding: 0 32px 60px;
    }
    .ob-topbar--form {
        padding: 20px 0 28px;
    }
    p.ob-step-label {
        display: none;
    }
    span.ob-step-label {
      visibility: hidden;
    }
}

/* ── Mobile (≤ 640px): role cards stack ── */
@media (max-width: 640px) {
    .ob-role-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .ob-role-wrap {
        padding: 0 20px 48px;
    }
    .ob-topbar--plain {
        padding: 16px 20px 0;
    }
    .ob-role-title {
        margin-top: 20px;
        font-size: 34px;
    }
    .ob-role-sub {
        font-size: 14px;
        margin-bottom: 28px;
    }
    .ob-main {
        padding: 0 20px 48px;
    }
    .ob-form-title {
        font-size: 28px;
    }
    .ob-form-body {
        max-width: 100%;
    }
    .ob-continue-btn {
        height: 50px;
    }
    .ob-next-steps-card {
        padding: 20px;
    }
    .ob-welcome-title {
        font-size: 28px;
    }
    .ob-step {
        margin: 30px 20px 0;
    }
    .ob-step-dots .ob-dot:nth-child(n + 7) {
        display: none;
    }
}

/* ── Small mobile (≤ 400px) ── */
@media (max-width: 400px) {
    .ob-role-title {
        font-size: 30px;
    }
    .ob-form-title {
        font-size: 25px;
    }
    .ob-tag {
        font-size: 12.5px;
        padding: 7px 14px;
    }
}
rm { padding: 20px 0 28px; }
  p.ob-step-label{display: none;}
  span.ob-step-label{visibility: hidden;}


/* ── Mobile (≤ 640px): role cards stack ── */
@media (max-width: 640px) {
  .ob-role-grid { grid-template-columns: 1fr; gap: 14px; }
  .ob-role-wrap { padding: 0 20px 48px; }
  .ob-topbar--plain { padding: 16px 20px 0; }
  .ob-role-title { margin-top: 20px; font-size: 34px; }
  .ob-role-sub { font-size: 14px; margin-bottom: 28px; }
  .ob-main { padding: 0 20px 48px; }
  .ob-form-title { font-size: 28px; }
  .ob-form-body { max-width: 100%; }
  .ob-continue-btn { height: 50px; }
  .ob-next-steps-card { padding: 20px; }
  .ob-welcome-title { font-size: 28px; }
  .ob-step { margin: 30px 20px 0; }
  .ob-step-dots .ob-dot:nth-child(n+7) {
    display: none;
  }
}

/* ── Small mobile (≤ 400px) ── */
@media (max-width: 400px) {
  .ob-role-title { font-size: 30px; }
  .ob-form-title { font-size: 25px; }
  .ob-tag { font-size: 12.5px; padding: 7px 14px; }
}