/* ============================================================
   InstantCard Unified Form Styles
   Used site-wide across all IC forms (leadgen, message, pricing,
   sample, design).
   ============================================================ */

:root {
    --IC-p-font: 'Raleway', sans-serif;
    --IC-h-font: 'Barlow', sans-serif;
    --IC-h1-size: 36px;
    --IC-color-primary: #4B2CE0;
    --IC-color-secondary: #4e526d;
}

/* ── Layout / View transitions ─────────────────────────────── */

.IC-form {
    overflow: hidden;
    transition: max-height 1.5s ease-in-out;
}

/* ── Typography ────────────────────────────────────────────── */

.IC-form label,
.IC-form legend {
    font-family: var(--IC-p-font);
    padding-bottom: 5px;
}

.IC-form p {
    font-family: var(--IC-p-font);
}

.IC-h2 {
    font-family: var(--IC-h-font);
    font-size: var(--IC-h1-size);
    color: var(--IC-color-secondary);
    text-align: center;
    margin-bottom: 10px;
}

.IC-form h2 {
    font-family: var(--IC-h-font);
    font-size: var(--IC-h1-size);
    color: var(--IC-color-secondary);
    text-align: center;
    margin-bottom: 10px;
}

.IC-form h3 {
    font-family: var(--IC-h-font);
    font-size: calc(var(--IC-h1-size) - 12px);
    color: var(--IC-color-primary);
}

.IC-form h4,
.IC-alerts,
#IC-alerts {
    font-family: var(--IC-h-font);
    font-size: calc(var(--IC-h1-size) - 17px);
    color: var(--IC-color-secondary);
}

.IC-note {
    font-family: var(--IC-p-font);
    font-size: 13px;
    color: var(--IC-color-secondary);
    margin: 2px 0px 2px 0px !important;
}

/* ── Breadcrumbs ───────────────────────────────────────────── */

.IC-breadcrumbs {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
}

.IC-breadcrumbs__item,
.IC-breadcrumbs-separator {
    font-family: var(--IC-p-font);
    font-size: 12px;
    padding: 0 2px;
}

.IC-breadcrumbs__item:hover {
    cursor: pointer;
    text-decoration: underline;
}

.IC-breadcrumbs__item--active {
    font-weight: bold;
    color: var(--IC-color-primary);
}

/* ── Form grid ─────────────────────────────────────────────── */

.IC-form-row {
    display: flex;
    flex-wrap: wrap;
}

.IC-form-item {
    margin-bottom: 15px;
}

.IC-form-row > .IC-col-2 {
    flex: 1 1 50%;
    box-sizing: border-box;
}

.IC-form-row > .IC-col-2:first-child {
    padding-right: 15px;
}

.IC-form-row > .IC-col-3 {
    flex: 1 1 33.33%;
    box-sizing: border-box;
}

.IC-form-row > .IC-col-3:nth-child(-n+2) {
    padding-right: 15px;
}

/* ── Inputs ────────────────────────────────────────────────── */

.IC-form input,
.IC-form select {
    width: 100%;
    box-sizing: border-box;
    height: 35px;
}

.IC-form textarea {
    width: 100%;
    box-sizing: border-box;
    height: 100px;
}

.IC-form input[type="radio"],
.IC-form input[type="checkbox"] {
    height: 15px;
    margin-right: 10px;
    width: 15px;
}

.IC-radio-group,
.IC-checkbox-group {
    padding-top: 5px;
}

/* ── Buttons ───────────────────────────────────────────────── */

.IC-button {
    background-color: var(--IC-color-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin: 10px 0;
    transition: background-color 0.3s ease;
}

.IC-button:hover {
    background-color: var(--IC-color-secondary);
    /* Pin the text color: theme link styles (e.g. Avada's a:hover, purple)
       outrank .IC-button's base color on hover and recolor the label. */
    color: white;
    transition: background-color 0.3s ease;
}

/* Order-cards CTA (onboarding hub): green success button. Its own hover
   keeps the green family — without this, the generic hover above would flash
   it brand-purple. Locked state is applied inline by ic-design.js (gray +
   pointer-events:none), which correctly overrides these. */
.IC-button--order {
    background-color: #059669;
}
.IC-button--order:hover {
    background-color: #047857;
    color: white;
}

.IC-button--secondary {
    background-color: var(--IC-color-secondary);
}

.IC-button--secondary:hover {
    background-color: #3b3f57;
}

/* Also style plain <button> inside forms for backwards compat */
.IC-form button {
    background-color: var(--IC-color-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin: 10px 0;
    transition: background-color 0.3s ease;
}

.IC-form button:hover {
    background-color: var(--IC-color-secondary);
    transition: background-color 0.4s ease;
}

/* ── Alerts / Validation ───────────────────────────────────── */

.IC-alerts,
#IC-alerts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
    color: red;
}

.IC-req {
    border-color: red !important;
    border-width: 2px;
    border-radius: 1px;
}

.IC-req-label > label:first-of-type,
.IC-req-label > legend:first-of-type {
    color: red;
}

/* ── Design-form style selectors ───────────────────────────── */

.IC-style-select {
    background-color: #ececec;
    border-radius: 12px;
    margin: 15px 0px;
    padding: 5px 15px;
    border: #ececec solid 2px;
    transition: border 0.5s ease-in-out, transform 0.3s ease-in-out;
    text-align: center;
    align-content: center;
}

.IC-style-select:hover {
    z-index: 200;
    overflow: visible;
    border: #4e526d solid 2px;
    cursor: pointer;
    transform: scale(1.03);
    transition: border 0.5s ease-in-out, transform 0.3s ease-in-out;
}

.IC-style-chosen {
    border: #4e526d solid 2px;
    z-index: 300;
    overflow: visible;
    transform: scale(1.03);
    transition: transform 0.3s ease-in-out;
}

.IC-style-select img {
    border-radius: 10px;
    max-width: min(99%, 300px);
}

/* ── Sample-form customization / cropper ───────────────────── */

.IC-customize {
    margin-top: 5px;
}

.IC-customize__note {
    margin: 4px 0 10px;
    font-size: 14px;
    color: var(--IC-color-secondary);
}

.IC-customize__fields {
    padding: 10px 0;
}

.IC-crop-container {
    margin-bottom: 10px;
    position: relative;
}

.IC-crop-container .cr-viewport {
    position: relative;
}

.IC-crop-upload-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
    position: relative;
    z-index: 20;
}

.IC-upload-portrait-button {
    padding: 12px 20px;
    font-size: 18px;
    line-height: 1.1;
    margin: 0;
}

.IC-upload-portrait-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.IC-crop-container.IC-req {
    border: 2px solid red;
    border-radius: 4px;
    padding: 6px;
}

.IC-crop-container .IC-crop-upload-prompt {
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    padding: 10px;
    font-family: var(--IC-p-font);
    font-size: 14px;
    color: var(--IC-color-secondary);
    background: rgba(255, 255, 255, 0.75);
    z-index: 10;
    pointer-events: none;
}

.IC-customize__name-row .IC-form-item {
    margin-bottom: 0;
}

/* ── Pricing calculator extras ─────────────────────────────── */

.IC-form input[type="checkbox"].IC-pricing-checkbox {
    width: 18px;
    height: 18px;
    margin: 6px 10px 6px 5px !important;
}

/* ── Signup form extras ───────────────────────────────────── */

.IC-signup-breadcrumbs {
    font-family: var(--IC-p-font);
    font-size: 12px;
    color: #888;
    text-align: center;
    margin: 0 auto 20px;
}

.IC-signup-bc-item {
    border-bottom: 1px dotted #888;
    cursor: default;
    padding: 0 2px;
}

.IC-signup-bc-sep {
    padding: 0 4px;
    color: #888;
}

.IC-signup-bc-active {
    font-weight: 700;
    color: #5a6c92;
}

.IC-signup-required {
    color: red;
    margin-left: 2px;
}

.IC-signup-payment-card {
    border-radius: 15px;
    padding: 15px 25px;
    background-color: #D9E3ED;
    margin-bottom: 15px;
}

.IC-signup-iaf-form input,
.IC-signup-iaf-form select {
    width: 100%;
    box-sizing: border-box;
    height: 35px;
}

.IC-signup-iaf-form label {
    color: #4d4d4d;
}

.IC-signup-iaf-form input {
    border-radius: 3px;
    margin-bottom: 5px;
}

.IC-signup-modal {
    display: none;
    position: fixed;
    z-index: 15000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.IC-signup-modal-content {
    background: #fff;
    margin: 100px auto;
    padding: 30px 20px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    font-family: var(--IC-p-font);
    display: flex;
    flex-direction: column;
    z-index: 16000;
}

.IC-signup-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
}

.IC-signup-modal-close:hover {
    color: var(--IC-color-primary);
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 668px) {
    .IC-h2,
    .IC-form h2 {
        font-size: calc(var(--IC-h1-size) - 6px);
    }

    .IC-form h3 {
        font-size: calc(var(--IC-h1-size) - 14px);
    }

    .IC-form h4,
    .IC-alerts,
    #IC-alerts {
        font-size: calc(var(--IC-h1-size) - 19px);
    }

    .IC-breadcrumbs__item,
    .IC-breadcrumbs-separator {
        font-size: 11px;
    }

    .IC-form-row > .IC-col-2 {
        flex: 1 1 100%;
    }

    .IC-form-row > .IC-col-2:first-child {
        padding-right: 0px;
    }

    .IC-form-row > .IC-col-3 {
        flex: 1 1 50%;
    }

    .IC-form-row > .IC-col-3:nth-child(3) {
        flex: 1 1 100%;
    }

    .IC-form-row > .IC-col-3:nth-child(2) {
        padding-right: 0px;
        max-width: 33%;
    }
}

/* ── Amount row + tier presets / indicator / upgrade carrot (v2) ─── */

.IC-amount-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 24px;
    margin: 12px 0 6px;
}

.IC-amount-col {
    display: flex;
    flex-direction: column;
}

.IC-amount-input-wrap {
    display: flex;
    align-items: center;
}

.IC-amount-prefix {
    font-size: 18px;
    font-weight: 600;
    margin-right: 6px;
}

.IC-amount-input-wrap input {
    width: 110px;
    font-size: 16px;
}

.IC-amount-info {
    flex: 1 1 auto;
    min-width: 220px;
}

.IC-amount-info h3,
.IC-form .IC-amount-info h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    padding-bottom: 0;
}

.IC-amount-info p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.IC-tier-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 0;
    width: 100%;
}

.IC-tier-preset {
    flex: 1 1 0;
    min-width: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    padding: 10px 14px;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    transition: filter 150ms ease, transform 150ms ease;
}

.IC-tier-preset:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.IC-tier-preset-amount {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.IC-tier-preset-name {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.95;
}

.IC-tier-indicator {
    margin: 14px 0 14px;
    padding: 14px 16px;
    border-radius: 15px;
    background: #EEF3F8;
    border: 1px solid #D9E3ED;
    text-align: center;
}

.IC-form p.IC-iaf-intro,
body .IC-form p.IC-iaf-intro {
    margin: 0 0 8px !important;
}

.IC-processing-warning {
    margin: 12px auto 8px;
    padding: 10px 14px;
    max-width: 460px;
    background: #fff5e6;
    border: 1px solid #f0c275;
    color: #7a4b00;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
}

.IC-tier-line {
    font-size: 16px;
    line-height: 1.4;
}

.IC-tier-cost {
    margin-top: 4px;
    color: #4B2CE0;
    font-weight: 600;
}

.IC-tier-cost-suffix {
    color: #555;
    font-weight: 400;
    font-size: 14px;
}

.IC-tier-sub {
    color: #555;
    font-weight: 400;
    font-size: 14px;
    margin-top: 2px;
}

.IC-tier-pricing-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: #4B2CE0;
    text-decoration: underline;
    cursor: pointer;
}

.IC-tier-pricing-link:hover {
    color: #3a1fbd;
}

.IC-tier-upgrade-wrap {
    margin: 14px 0 10px;
}

button.IC-tier-upgrade,
.IC-form button.IC-tier-upgrade {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--IC-color-secondary) !important;
    background: #fff !important;
    background-color: #fff !important;
    color: var(--IC-color-secondary) !important;
    font-size: 15px;
    font-family: inherit;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    line-height: 1.35;
    transition: background 150ms ease, transform 150ms ease;
}

button.IC-tier-upgrade:hover,
.IC-form button.IC-tier-upgrade:hover {
    background: #f5f5f7 !important;
    background-color: #f5f5f7 !important;
    color: var(--IC-color-secondary) !important;
    transform: translateY(-1px);
}

.IC-tier-upgrade-line {
    display: block;
}

.IC-tier-upgrade-sub {
    font-size: 13px;
    opacity: 0.92;
    margin-top: 2px;
}

/* Gift-pending nudge above submit button */
.IC-gift-pending-wrap {
    margin: 12px 0 8px;
}

button.IC-gift-pending,
.IC-form button.IC-gift-pending {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #D9E3ED !important;
    background: #EEF3F8 !important;
    color: var(--IC-color-secondary) !important;
    font-size: 14px;
    font-family: inherit;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    line-height: 1.4;
    transition: background 150ms ease;
}

button.IC-gift-pending:hover,
.IC-form button.IC-gift-pending:hover {
    background: #E2EAF2 !important;
}

.IC-gift-pending-link {
    text-decoration: underline;
    margin-left: 4px;
    white-space: nowrap;
}

.IC-tier-upgrade-reveal {
    animation: IC-tier-fadeup 300ms ease forwards;
}

@keyframes IC-tier-fadeup {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Upgrade modal (v2) ────────────────────────────────── */

.IC-modal {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2147483647;
    padding: 20px;
}

.IC-modal-inner {
    background: #fff;
    border-radius: 8px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    padding: 24px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.IC-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.IC-modal-close:hover { color: #000; }

.IC-upgrade-pitch {
    font-size: 16px;
    margin: 8px 0 12px;
}

.IC-upgrade-benefits {
    margin: 12px 0;
    padding-left: 22px;
}

.IC-upgrade-benefits li {
    margin: 6px 0;
    font-size: 15px;
}

.IC-upgrade-gift {
    margin: 16px 0;
    padding: 14px;
    background: #f9fafb;
    border-radius: 6px;
    text-align: center;
}

.IC-upgrade-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.IC-button-primary {
    background: #4B2CE0;
    color: #fff;
}

.IC-button-primary:hover {
    background-color: var(--IC-color-secondary);
    color: #fff;
}

.IC-button-ghost {
    background: transparent;
    color: #555;
    border: 1px solid #ccc;
}

.IC-button-ghost:hover {
    background-color: var(--IC-color-secondary);
    color: #fff;
    border-color: var(--IC-color-secondary);
}

/* ── Onboarding chooser cards (design form, step 0) ────────── */
/* Scoped under .IC-onboarding-cards so nothing leaks to other forms.
   Ported from the approved onboarding-cards mock; font-family is
   inherited from the site / the vars above — never hardcoded. */

.IC-onboarding-cards {
    --IC-onb-navy: #343963;
    --IC-onb-slate: #656989;
    --IC-onb-green: #059669;
    --IC-onb-green-dark: #047857;
    --IC-onb-border: #e4e6f0;
    max-width: 880px;
    margin: 0 auto;
}

.IC-onboarding-cards .IC-onb-sub {
    text-align: center;
    color: var(--IC-onb-slate);
    font-size: 15.5px;
    margin: 0 0 30px;
}

/* Compact identity row — email + company side by side */

.IC-onboarding-cards .IC-onb-idrow {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.IC-onboarding-cards .IC-onb-idrow .IC-form-item {
    flex: 1 1 260px;
    margin-bottom: 8px;
}

.IC-onboarding-cards .IC-onb-idrow label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    padding-bottom: 0;
}

.IC-onboarding-cards .IC-onb-idrow label strong {
    color: var(--IC-color-primary);
}

.IC-onboarding-cards .IC-onb-idrow input {
    height: auto;
    padding: 10px 12px;
    font-size: 14.5px;
    border: 1px solid var(--IC-onb-border);
    border-radius: 6px;
    background: #fbfbfe;
}

.IC-onboarding-cards .IC-onb-idnote {
    font-family: var(--IC-p-font);
    font-size: 12.5px;
    color: var(--IC-onb-slate);
    margin: 0 0 28px;
}

/* Returning customer: "Designing for <company> · <email>  Not you?" */

.IC-onboarding-cards .IC-onb-identity {
    font-family: var(--IC-p-font);
    font-size: 14px;
    line-height: 1.45;
    color: var(--IC-onb-slate);
    margin: 0 0 24px;
    padding: 10px 14px;
    background: #fbfbfe;
    border: 1px solid var(--IC-onb-border);
    border-radius: 6px;
}

.IC-onboarding-cards .IC-onb-identity strong {
    color: var(--IC-color-primary);
}

.IC-onboarding-cards .IC-onb-identity-switch {
    margin-left: 6px;
    color: var(--IC-color-primary);
    text-decoration: underline;
    white-space: nowrap;
    cursor: pointer;
}

/* Card grid */

.IC-onboarding-cards .IC-onb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.IC-onboarding-cards .IC-onb-card {
    position: relative;
    border: 1.5px solid var(--IC-onb-border);
    border-radius: 12px;
    padding: 26px 24px 22px;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.IC-onboarding-cards .IC-onb-card:hover {
    box-shadow: 0 10px 28px rgba(52, 57, 99, 0.13);
    transform: translateY(-2px);
}

.IC-onboarding-cards .IC-onb-card--primary {
    border-color: var(--IC-color-primary);
    box-shadow: 0 4px 18px rgba(75, 44, 224, 0.10);
}

.IC-onboarding-cards .IC-onb-badge {
    position: absolute;
    top: -11px;
    left: 22px;
    background: var(--IC-color-primary);
    color: #fff;
    font-family: var(--IC-p-font);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 99px;
}

.IC-onboarding-cards .IC-onb-badge--green {
    background: var(--IC-onb-green);
}

.IC-onboarding-cards .IC-onb-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.IC-onboarding-cards .IC-onb-icon svg {
    width: 24px;
    height: 24px;
}

.IC-onboarding-cards .IC-onb-icon--brand {
    background: rgba(75, 44, 224, 0.09);
}

.IC-onboarding-cards .IC-onb-icon--navy {
    background: rgba(52, 57, 99, 0.09);
}

.IC-onboarding-cards .IC-onb-icon--green {
    background: rgba(5, 150, 105, 0.10);
}

.IC-onboarding-cards .IC-onb-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--IC-onb-navy);
    margin: 0 0 4px;
}

.IC-onboarding-cards .IC-onb-free {
    color: var(--IC-onb-green);
    font-size: 15px;
}

.IC-onboarding-cards .IC-onb-tagline {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--IC-color-primary);
    margin: 0 0 12px;
}

.IC-onboarding-cards .IC-onb-card--designers .IC-onb-tagline {
    color: var(--IC-onb-slate);
}

/* Bullets with the little brand squares */

.IC-onboarding-cards .IC-onb-card ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    flex: 1;
}

.IC-onboarding-cards .IC-onb-card li {
    font-family: var(--IC-p-font);
    font-size: 14px;
    line-height: 1.45;
    color: #3d4166;
    padding-left: 22px;
    position: relative;
    margin-bottom: 9px;
}

.IC-onboarding-cards .IC-onb-card li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--IC-color-primary);
    opacity: 0.55;
}

.IC-onboarding-cards .IC-onb-card--designers li::before {
    background: var(--IC-onb-slate);
}

.IC-onboarding-cards .IC-onb-card li em {
    font-style: normal;
    font-weight: 600;
}

/* CTAs — scoped so the generic .IC-form button rules don't repaint them */

.IC-onboarding-cards .IC-onb-cta {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 700;
    padding: 13px 18px;
    border: none;
    border-radius: 8px;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.IC-onboarding-cards .IC-onb-cta--brand {
    background-color: var(--IC-color-primary);
    color: #fff;
}

.IC-onboarding-cards .IC-onb-cta--brand:hover {
    background-color: #3a22b3;
    color: #fff;
}

.IC-onboarding-cards .IC-onb-cta--ghost {
    background-color: #fff;
    color: var(--IC-onb-navy);
    border: 1.5px solid var(--IC-onb-navy);
}

.IC-onboarding-cards .IC-onb-cta--ghost:hover {
    background-color: var(--IC-onb-navy);
    color: #fff;
}

.IC-onboarding-cards .IC-onb-cta--green {
    background-color: var(--IC-onb-green);
    color: #fff;
}

.IC-onboarding-cards .IC-onb-cta--green:hover {
    background-color: var(--IC-onb-green-dark);
    color: #fff;
}

/* Locked (no approved design yet) — declared after --green so toggling
   the class in ic-design.js wins without inline styles. */
.IC-onboarding-cards .IC-onb-cta--locked,
.IC-onboarding-cards .IC-onb-cta--locked:hover {
    background-color: #b9bdd0;
    color: #fff;
    cursor: not-allowed;
}

/* Designers card sub-choice row */

.IC-onboarding-cards .IC-onb-subchoice {
    display: flex;
    gap: 10px;
}

.IC-onboarding-cards .IC-onb-subchoice .IC-onb-cta {
    font-size: 13.5px;
    font-weight: 600;
    padding: 11px 8px;
}

/* Signup pointer under the Studio CTA (anonymous visitors only) */

.IC-onboarding-cards .IC-onb-signup {
    text-align: center;
    font-size: 13px;
    color: var(--IC-onb-slate);
    margin: 10px 0 0;
}

.IC-onboarding-cards .IC-onb-signup a {
    color: var(--IC-color-primary);
    font-weight: 600;
}

/* Order strip spans full width under the two paths */

.IC-onboarding-cards .IC-onb-card--order {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    padding: 22px 24px;
}

.IC-onboarding-cards .IC-onb-card--order .IC-onb-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.IC-onboarding-cards .IC-onb-order-body {
    flex: 1;
}

.IC-onboarding-cards .IC-onb-order-body h3 {
    margin-bottom: 2px;
}

.IC-onboarding-cards .IC-onb-order-body p {
    font-size: 13.5px;
    color: var(--IC-onb-slate);
    margin: 0;
}

.IC-onboarding-cards .IC-onb-card--order .IC-onb-cta {
    width: auto;
    padding: 12px 26px;
    flex-shrink: 0;
}

.IC-onboarding-cards .IC-onb-card--locked {
    opacity: 0.85;
}

.IC-onboarding-cards .IC-onb-footnote {
    text-align: center;
    font-size: 13px;
    color: var(--IC-onb-slate);
    margin: 22px 0 0;
}

@media (max-width: 720px) {
    .IC-onboarding-cards .IC-onb-grid {
        grid-template-columns: 1fr;
    }

    .IC-onboarding-cards .IC-onb-card--order {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .IC-onboarding-cards .IC-onb-card--order .IC-onb-icon {
        margin: 0 auto;
    }
}
