/* ==========================================================================
   Click Media | Become an Influencer page + application modal
   Loads after app.css. Prefixes: cm-cr- (page), cm-apply / form parts (modal)
   ========================================================================== */

/* ---------- HERO ---------- */
.cm-cr-hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding: calc(var(--cm-header-h) + 40px) 0 70px; min-height: 100svh; display: flex; align-items: center;
}
.cm-cr-hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--cm-bg); }
.cm-cr-hero__bg::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(13, 11, 31, .07) 1px, transparent 1px); background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.cm-cr-hero__blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .6; animation: cm-drift 16s ease-in-out infinite alternate; }
.cm-cr-hero__blob--a { width: 420px; height: 420px; background: #FFC2CF; top: -80px; right: 5%; }
.cm-cr-hero__blob--b { width: 360px; height: 360px; background: #CFC4FF; bottom: -60px; right: 30%; animation-delay: -6s; }
.cm-cr-hero__blob--c { width: 260px; height: 260px; background: #B6F5E6; top: 30%; left: -100px; animation-delay: -10s; }

.cm-cr-hero__grid { display: grid; gap: 50px; align-items: center; width: 100%; }
.cm-cr-hero__title { font-size: clamp(38px, 9.4vw, 68px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; }
.cm-cr-hero__lead { font-size: clamp(17px, 2.4vw, 19px); max-width: 560px; margin-bottom: 30px; }
.cm-cr-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.cm-cr-hero__ctas .cm-btn { flex: 1 1 auto; }
.cm-cr-hero__trust { display: flex; align-items: center; gap: 14px; }
.cm-cr-hero__trust p { margin: 0; font-size: 15px; }
.cm-cr-hero__trust strong { color: var(--cm-ink); }
.cm-cr-hero__trust .cm-avatars img { width: 34px; height: 34px; }

/* Rotating words */
.cm-cr-rotator { display: grid; }
.cm-cr-rotator__word {
    grid-area: 1 / 1; background: var(--cm-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    opacity: 0; transform: translateY(40%); filter: blur(6px);
    transition: opacity .6s var(--cm-ease), transform .6s var(--cm-ease), filter .6s var(--cm-ease);
}
.cm-cr-rotator__word.is-active { opacity: 1; transform: none; filter: none; }
.cm-cr-rotator__word.is-leaving { opacity: 0; transform: translateY(-40%); filter: blur(6px); }

/* Collage */
.cm-cr-collage { position: relative; height: 480px; max-width: 520px; width: 100%; margin: 0 auto; }
.cm-cr-post {
    position: absolute; border-radius: 26px; overflow: hidden; background: var(--cm-surface);
    box-shadow: var(--cm-shadow-lg); border: 6px solid #fff; transition: transform .6s var(--cm-ease);
}
.cm-cr-post img { width: 100%; height: 100%; object-fit: cover; }
.cm-cr-post__bar {
    position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px;
    padding: 6px 10px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px);
    font-size: 12px; font-weight: 700; color: var(--cm-ink);
}
.cm-cr-post__badge { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; }
.cm-cr-post__badge--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.cm-cr-post__badge--tt { background: #111; }
.cm-cr-post__badge--yt { background: #FF0000; }
.cm-cr-post--a { width: 44%; aspect-ratio: 4 / 5; left: 0; top: 14%; rotate: -7deg; animation: cm-float 8s ease-in-out infinite; }
.cm-cr-post--b { width: 52%; aspect-ratio: 7 / 10; left: 24%; top: 2%; z-index: 2; rotate: 2deg; animation: cm-float 7s ease-in-out infinite -2s; }
.cm-cr-post--c { width: 40%; aspect-ratio: 4 / 5; right: 0; bottom: 4%; rotate: 8deg; animation: cm-float 9s ease-in-out infinite -4s; }

.cm-cr-like {
    position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center; background: #fff; color: var(--cm-coral); font-size: 18px; box-shadow: var(--cm-shadow);
    transition: transform .3s var(--cm-ease);
}
.cm-cr-like:hover { transform: scale(1.1); }
.cm-cr-like.is-pop { animation: cm-cr-pop .45s var(--cm-ease); }
.cm-cr-heart { position: absolute; z-index: 5; pointer-events: none; color: var(--cm-coral); font-size: 16px; animation: cm-cr-heart 1.6s ease-out forwards; }

.cm-cr-toast {
    position: absolute; z-index: 4; left: -2%; bottom: 10%; display: flex; align-items: center; gap: 12px;
    padding: 12px 16px 12px 12px; border-radius: 18px; min-width: 240px;
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); box-shadow: var(--cm-shadow);
    transition: opacity .4s var(--cm-ease), transform .4s var(--cm-ease);
}
.cm-cr-toast.is-out { opacity: 0; transform: translateY(10px) scale(.96); }
.cm-cr-toast__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--cm-primary); color: #fff; flex: none; }
.cm-cr-toast small { display: block; font-size: 11px; color: var(--cm-muted); font-weight: 700; }
.cm-cr-toast strong { display: block; font-size: 14px; color: var(--cm-ink); line-height: 1.3; }

.cm-cr-chip {
    position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 700; background: #fff; color: var(--cm-ink); box-shadow: var(--cm-shadow); transition: transform .5s var(--cm-ease);
}
.cm-cr-chip--paid { top: 0; right: 2%; }
.cm-cr-chip--paid i { color: var(--cm-mint); }
.cm-cr-chip--deal { top: 48%; right: -2%; }
.cm-cr-chip--deal i { color: var(--cm-sun); }

/* ---------- PLATFORM STRIP ---------- */
.cm-cr-strip { padding: 10px 0 30px; }
.cm-cr-strip__track { gap: 14px; animation-duration: 30s; }
.cm-cr-strip__item {
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; white-space: nowrap;
    background: var(--cm-surface); box-shadow: inset 0 0 0 1px var(--cm-line); font-weight: 700; color: var(--cm-ink);
}
.cm-cr-strip__item i { font-size: 18px; }
.cm-cr-strip__item--instagram i { color: #E1306C; }
.cm-cr-strip__item--tiktok i { color: #111; }
.cm-cr-strip__item--facebook i { color: #1877F2; }
.cm-cr-strip__item--youtube i { color: #FF0000; }
.cm-cr-strip__item--snapchat i { color: #F7C600; }
.cm-cr-strip__item--linkedin i { color: #0A66C2; }

/* ---------- PERKS ---------- */
.cm-cr-perks__grid { display: grid; gap: 16px; }
.cm-cr-perk {
    position: relative; overflow: hidden; padding: 28px; border-radius: var(--cm-r-lg); background: var(--cm-surface);
    box-shadow: var(--cm-shadow-sm), inset 0 0 0 1px var(--cm-line); transition: transform .5s var(--cm-ease), box-shadow .5s var(--cm-ease);
}
.cm-cr-perk:hover { transform: translateY(-6px); box-shadow: var(--cm-shadow); }
.cm-cr-perk h3 { font-size: 20px; margin-bottom: 8px; }
.cm-cr-perk p { margin: 0; font-size: 15.5px; }
.cm-cr-perk__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; margin-bottom: 20px; transition: transform .5s var(--cm-ease); }
.cm-cr-perk:hover .cm-cr-perk__icon { transform: rotate(-8deg) scale(1.08); }
.cm-cr-perk__icon--violet { background: var(--cm-primary-soft); color: var(--cm-primary); }
.cm-cr-perk__icon--coral { background: var(--cm-coral-soft); color: var(--cm-coral); }
.cm-cr-perk__icon--mint { background: var(--cm-mint-soft); color: #0A9C80; }
.cm-cr-perk__icon--sun { background: var(--cm-sun-soft); color: #C27C00; }
.cm-cr-perk__icon--dark { background: var(--cm-ink); color: #fff; }
.cm-cr-perk__icon--wa { background: #DCF8E8; color: #128C4B; }

/* ---------- HOW ---------- */
.cm-cr-how { background: linear-gradient(180deg, transparent, var(--cm-bg-2) 50%, transparent); }
.cm-cr-how__grid { display: grid; gap: 40px; }
.cm-cr-how__intro h2 { font-size: clamp(30px, 6vw, 46px); }
.cm-cr-timeline { position: relative; display: grid; gap: 14px; counter-reset: none; }
.cm-cr-timeline::before { content: ''; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--cm-primary), var(--cm-coral)); opacity: .35; }
.cm-cr-timeline li {
    position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--cm-r-lg);
    background: var(--cm-surface); box-shadow: var(--cm-shadow-sm), inset 0 0 0 1px var(--cm-line);
}
.cm-cr-timeline__dot {
    flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-left: -4px;
    background: var(--cm-grad); color: #fff; font-family: var(--cm-display); font-weight: 800; box-shadow: 0 0 0 6px var(--cm-bg);
}
.cm-cr-timeline h3 { font-size: 19px; margin-bottom: 4px; }
.cm-cr-timeline p { margin: 0; font-size: 15px; }

/* ---------- WHO ---------- */
.cm-cr-who__panel {
    position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 30px;
    padding: 40px 24px; border-radius: var(--cm-r-xl); background: #1B1250; color: rgba(255, 255, 255, .8);
}
.cm-cr-who__panel::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(500px 360px at 0% 100%, rgba(255, 77, 109, .5), transparent 60%), radial-gradient(500px 360px at 100% 0%, rgba(139, 92, 246, .6), transparent 60%);
    animation: cm-mesh 14s ease-in-out infinite alternate;
}
.cm-cr-who__copy h2 { color: #fff; font-size: clamp(28px, 5.5vw, 42px); }
.cm-cr-who__copy p:last-child { margin: 0; }
.cm-cr-niches { display: flex; flex-wrap: wrap; gap: 10px; align-content: center; }
.cm-cr-niches li {
    padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: #fff;
    background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
    transition: background .3s, transform .4s var(--cm-ease), color .3s; cursor: default;
}
.cm-cr-niches li:hover { background: #fff; color: var(--cm-ink); transform: translateY(-3px) rotate(-2deg); }
.cm-cr-who__panel.is-in .cm-cr-niches li { animation: cm-cr-chip-in .6s var(--cm-ease) both; animation-delay: calc(var(--i) * 45ms); }

/* ---------- STICKY MOBILE CTA ---------- */
.cm-cr-sticky {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(13, 11, 31, .92); backdrop-filter: blur(14px); color: #fff;
    box-shadow: var(--cm-shadow-lg); transform: translateY(140%); transition: transform .5s var(--cm-ease);
}
.cm-cr-sticky.is-visible { transform: none; }
.cm-cr-sticky p { margin: 0; line-height: 1.25; font-size: 14px; }
.cm-cr-sticky strong { display: block; }
.cm-cr-sticky span { font-size: 12px; opacity: .7; }

/* ==========================================================================
   APPLICATION MODAL
   ========================================================================== */
body.cm-modal-open { overflow: hidden; }
.cm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cm-apply {
    padding: 0; border: 0; margin: 0; max-width: 100vw; max-height: 100dvh; width: 100%; height: 100dvh;
    background: transparent; color: var(--cm-ink-2); overflow: visible;
}
.cm-apply::backdrop { background: rgba(13, 11, 31, .5); backdrop-filter: blur(6px); }
.cm-apply[open] { animation: cm-apply-in .5s var(--cm-ease); }
.cm-apply[open]::backdrop { animation: cm-fade .4s ease; }
.cm-apply.is-closing { animation: cm-apply-out .3s var(--cm-ease) forwards; }

.cm-apply__shell { display: grid; height: 100%; background: var(--cm-surface); overflow: hidden; }
.cm-apply__side { display: none; }
.cm-apply__main { display: flex; flex-direction: column; min-height: 0; height: 100%; }

.cm-apply__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 20px 14px; }
.cm-apply__counter { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cm-primary); }
.cm-apply__title { margin: 0; font-size: clamp(22px, 5vw, 28px); }
.cm-apply__close { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--cm-bg); font-size: 18px; transition: background .25s, transform .4s var(--cm-ease); }
.cm-apply__close:hover { background: var(--cm-ink); color: #fff; transform: rotate(90deg); }
.cm-apply__progress { height: 4px; margin: 0 20px; border-radius: 4px; background: var(--cm-bg-2); overflow: hidden; }
.cm-apply__progress span { display: block; height: 100%; width: 20%; border-radius: inherit; background: var(--cm-grad); transition: width .6s var(--cm-ease); }

.cm-apply__form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cm-apply__body { flex: 1; overflow-y: auto; padding: 22px 20px 26px; overscroll-behavior: contain; }
.cm-apply__intro { margin-bottom: 20px; font-size: 15.5px; }

.cm-step-pane { border: 0; padding: 0; margin: 0; min-width: 0; }
.cm-step-pane.is-active { animation: cm-step-in .5s var(--cm-ease); }
.cm-step-pane.is-back { animation: cm-step-in-back .5s var(--cm-ease); }

.cm-apply__foot {
    display: flex; align-items: center; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--cm-line); background: var(--cm-surface);
}
.cm-apply__foot .cm-btn--primary { margin-left: auto; }
.cm-apply__saved { font-size: 12px; color: var(--cm-muted); }
.cm-apply__saved:empty { display: none; }

/* ---------- Form fields ---------- */
.cm-row { display: grid; gap: 0 14px; }
.cm-field { margin-bottom: 18px; min-width: 0; }
.cm-field label, .cm-label { display: block; font-size: 14px; font-weight: 700; color: var(--cm-ink); margin: 0 0 7px; }
.cm-optional { font-weight: 500; font-size: 12px; color: var(--cm-muted); margin-left: 4px; }
.cm-field input[type="text"], .cm-field input[type="email"], .cm-field input[type="tel"], .cm-field select, .cm-field textarea {
    width: 100%; font: inherit; font-size: 16px; color: var(--cm-ink); background-color: var(--cm-bg);
    border: 1.5px solid transparent; border-radius: 14px; padding: 13px 15px; outline: none;
    transition: border-color .25s, background .25s, box-shadow .25s; -webkit-appearance: none; appearance: none;
}
.cm-field select {
    padding-right: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2385829E' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center;
}
.cm-field textarea { resize: vertical; min-height: 96px; }
.cm-field input::placeholder, .cm-field textarea::placeholder { color: #B3B0C8; }
.cm-field input:focus, .cm-field select:focus, .cm-field textarea:focus { background-color: #fff; border-color: var(--cm-primary); box-shadow: 0 0 0 4px rgba(91, 61, 245, .12); }
.cm-field.has-error input, .cm-field.has-error select, .cm-field.has-error textarea { border-color: var(--cm-coral); background-color: #FFF6F8; }
.cm-field__error { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: #E11D48; display: flex; gap: 6px; align-items: center; }
.cm-field__error:empty { display: none; }
.cm-field__error::before { content: '\f06a'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 12px; }
.cm-field__hint { margin: 6px 0 0; font-size: 12.5px; color: var(--cm-muted); }
.cm-field__hint--right { text-align: right; }

.cm-input-icon { position: relative; }
.cm-input-icon i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--cm-muted); pointer-events: none; transition: color .25s; }
.cm-field .cm-input-icon input { padding-left: 44px; }
.cm-input-icon:focus-within i { color: var(--cm-primary); }
.cm-input-icon--wa i { color: #25D366 !important; font-size: 18px; }

.cm-prefix { display: flex; align-items: stretch; border-radius: 14px; background: var(--cm-bg); border: 1.5px solid transparent; transition: border-color .25s, background .25s, box-shadow .25s; overflow: hidden; }
.cm-prefix span { display: flex; align-items: center; padding: 0 2px 0 14px; font-size: 14px; color: var(--cm-muted); white-space: nowrap; }
.cm-field .cm-prefix input { border: 0; background: transparent; padding-left: 2px; box-shadow: none !important; min-width: 0; }
.cm-prefix:focus-within { background: #fff; border-color: var(--cm-primary); box-shadow: 0 0 0 4px rgba(91, 61, 245, .12); }
.cm-field.has-error .cm-prefix { border-color: var(--cm-coral); background: #FFF6F8; }

/* Toggle */
.cm-toggle { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; cursor: pointer; font-weight: 600; color: var(--cm-ink); font-size: 15px; }
.cm-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.cm-toggle__track { flex: none; position: relative; width: 46px; height: 28px; border-radius: 999px; background: var(--cm-line-2); transition: background .3s; }
.cm-toggle__track span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .4s var(--cm-ease); }
.cm-toggle input:checked + .cm-toggle__track { background: var(--cm-primary); }
.cm-toggle input:checked + .cm-toggle__track span { transform: translateX(18px); }
.cm-toggle input:focus-visible + .cm-toggle__track { outline: 2px solid var(--cm-primary); outline-offset: 3px; }
.cm-field--reveal:not([hidden]) { animation: cm-step-in .4s var(--cm-ease); }

/* Platform cards */
.cm-platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 6px; }
.cm-platform { position: relative; cursor: pointer; }
.cm-platform input { position: absolute; opacity: 0; pointer-events: none; }
.cm-platform__card {
    --pc: var(--cm-primary);
    position: relative; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px;
    background: var(--cm-bg); border: 1.5px solid transparent; font-weight: 700; color: var(--cm-ink); font-size: 14px;
    transition: border-color .25s, background .25s, transform .3s var(--cm-ease), box-shadow .3s;
}
.cm-platform:hover .cm-platform__card { transform: translateY(-2px); }
.cm-platform__icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #fff; color: var(--pc); font-size: 17px; flex: none; transition: background .25s, color .25s; }
.cm-platform__name { flex: 1; min-width: 0; line-height: 1.2; }
.cm-platform__tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; background: var(--pc); transform: scale(0); transition: transform .35s var(--cm-ease); flex: none; }
.cm-platform input:checked + .cm-platform__card { background: #fff; border-color: var(--pc); box-shadow: 0 8px 20px -10px var(--pc); }
.cm-platform input:checked + .cm-platform__card .cm-platform__icon { background: var(--pc); color: #fff; }
.cm-platform input:checked + .cm-platform__card .cm-platform__tick { transform: scale(1); }
.cm-platform input:focus-visible + .cm-platform__card { outline: 2px solid var(--cm-primary); outline-offset: 2px; }
.cm-platform--instagram .cm-platform__card { --pc: #E1306C; }
.cm-platform--tiktok .cm-platform__card { --pc: #111111; }
.cm-platform--facebook .cm-platform__card { --pc: #1877F2; }
.cm-platform--twitter .cm-platform__card { --pc: #111111; }
.cm-platform--youtube .cm-platform__card { --pc: #FF0000; }
.cm-platform--snapchat .cm-platform__card { --pc: #E5B800; }
.cm-platform--threads .cm-platform__card { --pc: #333333; }
.cm-platform--linkedin .cm-platform__card { --pc: #0A66C2; }

.cm-handles { display: grid; gap: 12px; margin-top: 16px; }
.cm-handle { display: flex; gap: 12px; padding: 16px; border-radius: 18px; background: var(--cm-bg); }
.cm-handle:not([hidden]) { animation: cm-step-in .45s var(--cm-ease); }
.cm-handle__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fff; flex: none; font-size: 17px; color: var(--cm-ink); box-shadow: var(--cm-shadow-sm); }
.cm-handle--instagram .cm-handle__icon { color: #E1306C; }
.cm-handle--facebook .cm-handle__icon { color: #1877F2; }
.cm-handle--youtube .cm-handle__icon { color: #FF0000; }
.cm-handle--linkedin .cm-handle__icon { color: #0A66C2; }
.cm-handle--snapchat .cm-handle__icon { color: #E5B800; }
.cm-handle__fields { flex: 1; display: grid; gap: 0 12px; min-width: 0; }
.cm-handle .cm-field { margin-bottom: 6px; }
.cm-handle .cm-field input, .cm-handle .cm-field select, .cm-handle .cm-prefix { background-color: #fff; }

/* Chips */
.cm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-chip { position: relative; cursor: pointer; }
.cm-chip input { position: absolute; opacity: 0; pointer-events: none; }
.cm-chip span {
    display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 600;
    background: var(--cm-bg); color: var(--cm-ink-2); border: 1.5px solid transparent; transition: all .25s var(--cm-ease);
}
.cm-chip:hover span { border-color: var(--cm-line-2); }
.cm-chip input:checked + span { background: var(--cm-primary); color: #fff; transform: scale(1.03); }
.cm-chip input:checked + span::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 11px; }
.cm-chip input:disabled + span { opacity: .4; cursor: not-allowed; }
.cm-chip input:focus-visible + span { outline: 2px solid var(--cm-primary); outline-offset: 2px; }
.cm-chips--soft .cm-chip input:checked + span { background: var(--cm-coral-soft); color: #C0123A; border-color: var(--cm-coral); }
.cm-chips.is-shake { animation: cm-shake .4s; }

/* Checkbox */
.cm-check-box { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14.5px; color: var(--cm-ink); margin-top: 14px; line-height: 1.5; }
.cm-check-box input { position: absolute; opacity: 0; pointer-events: none; }
.cm-check-box__mark { flex: none; width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--cm-line-2); display: grid; place-items: center; color: #fff; font-size: 12px; transition: all .25s var(--cm-ease); margin-top: 1px; }
.cm-check-box__mark i { transform: scale(0); transition: transform .3s var(--cm-ease); }
.cm-check-box input:checked + .cm-check-box__mark { background: var(--cm-primary); border-color: var(--cm-primary); }
.cm-check-box input:checked + .cm-check-box__mark i { transform: scale(1); }
.cm-check-box input:focus-visible + .cm-check-box__mark { outline: 2px solid var(--cm-primary); outline-offset: 2px; }
.cm-check-box a { color: var(--cm-primary); font-weight: 700; }
.cm-check-box + .cm-field__error { margin-left: 36px; }

/* Review */
.cm-review { display: grid; gap: 10px; margin-bottom: 8px; }
.cm-review__block { padding: 14px 16px; border-radius: 16px; background: var(--cm-bg); }
.cm-review__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cm-review__head h4 { margin: 0; font-family: var(--cm-font); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--cm-muted); }
.cm-review__edit { font-size: 13px; font-weight: 700; color: var(--cm-primary); }
.cm-review__edit:hover { text-decoration: underline; }
.cm-review p { margin: 0; font-size: 14.5px; color: var(--cm-ink); line-height: 1.55; word-break: break-word; }
.cm-review__socials { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-review__socials span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--cm-ink); }

.cm-apply__alert { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: #FFF1F3; color: #BE123C; font-size: 14px; font-weight: 600; }

/* Submit spinner */
.cm-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: cm-spin .7s linear infinite; }
.cm-btn.is-loading { pointer-events: none; }
.cm-btn.is-loading .cm-spinner { display: inline-block; }
.cm-btn.is-loading .cm-btn__label { opacity: .7; }

/* Success */
.cm-success { position: relative; text-align: center; padding: 30px 6px 10px; }
.cm-success__badge {
    width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; color: #fff;
    background: var(--cm-grad); box-shadow: 0 20px 40px -12px rgba(91, 61, 245, .6); animation: cm-cr-pop .7s var(--cm-ease) both;
}
.cm-success h3 { font-size: clamp(24px, 5vw, 30px); outline: none; }
.cm-success p { max-width: 440px; margin-inline: auto; }
.cm-success__ref { display: inline-block; padding: 10px 16px; border-radius: 12px; background: var(--cm-bg); font-size: 14px; }
.cm-success__ref strong { color: var(--cm-primary); letter-spacing: .04em; }
.cm-success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.cm-success__confetti { position: absolute; inset: -20px 0 auto; height: 0; pointer-events: none; }
.cm-confetti { position: absolute; top: 0; width: 9px; height: 14px; border-radius: 3px; animation: cm-confetti 1.9s cubic-bezier(.2, .6, .4, 1) forwards; }

/* Desktop modal */
@media (min-width: 900px) {
    .cm-apply { width: min(980px, calc(100vw - 48px)); height: min(720px, calc(100dvh - 48px)); margin: auto; }
    .cm-apply__shell { grid-template-columns: 300px 1fr; border-radius: var(--cm-r-xl); box-shadow: 0 40px 120px -20px rgba(13, 11, 31, .45); }
    .cm-apply__side {
        position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 32px 28px;
        background: #1B1250; color: rgba(255, 255, 255, .75);
    }
    .cm-apply__side-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px 300px at 0% 0%, rgba(139, 92, 246, .7), transparent 65%), radial-gradient(320px 300px at 100% 100%, rgba(255, 77, 109, .55), transparent 65%); }
    .cm-apply__side-brand { font-family: var(--cm-display); font-weight: 800; color: #fff; font-size: 17px; margin-bottom: 26px; }
    .cm-apply__side-brand span { color: #C4B5FD; }
    .cm-apply__side-title { color: #fff; font-size: 24px; line-height: 1.2; margin-bottom: 30px; }
    .cm-apply__steps-list { display: grid; gap: 6px; }
    .cm-apply__steps-list li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; font-weight: 600; font-size: 14.5px; transition: background .3s, color .3s; }
    .cm-apply__steps-list li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: rgba(255, 255, 255, .1); transition: background .3s, color .3s; }
    .cm-apply__steps-list li.is-current { background: rgba(255, 255, 255, .1); color: #fff; }
    .cm-apply__steps-list li.is-current span { background: #fff; color: var(--cm-primary); }
    .cm-apply__steps-list li.is-done span { background: var(--cm-mint); color: #fff; font-size: 0; }
    .cm-apply__steps-list li.is-done span::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 12px; }
    .cm-apply__side-note { margin: auto 0 0; font-size: 13px; line-height: 1.5; }
    .cm-apply__side-note i { margin-right: 6px; color: var(--cm-mint); }
    .cm-apply__head { padding: 28px 32px 16px; }
    .cm-apply__progress { margin: 0 32px; }
    .cm-apply__body { padding: 26px 32px 30px; }
    .cm-apply__foot { padding: 16px 32px; }
}

/* ---------- Breakpoints ---------- */
@media (min-width: 520px) {
    .cm-row--2 { grid-template-columns: 1fr 1fr; }
    .cm-platforms { grid-template-columns: repeat(4, 1fr); }
    .cm-platform__card { flex-direction: column; text-align: center; padding: 16px 8px 14px; }
    .cm-platform__tick { position: absolute; top: 8px; right: 8px; }
    .cm-handle__fields { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 600px) {
    .cm-cr-hero__ctas .cm-btn { flex: 0 0 auto; }
    .cm-cr-perks__grid { grid-template-columns: repeat(2, 1fr); }
    .cm-cr-who__panel { padding: 56px 44px; }
    .cm-cr-collage { height: 560px; }
}

@media (min-width: 900px) {
    .cm-cr-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 40px; }
    .cm-cr-collage { height: 600px; max-width: none; }
    .cm-cr-perks__grid { grid-template-columns: repeat(3, 1fr); }
    .cm-cr-how__grid { grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
    .cm-cr-how__intro { position: sticky; top: 110px; }
    .cm-cr-who__panel { grid-template-columns: 1fr 1.1fr; padding: 70px 64px; gap: 60px; }
    .cm-cr-sticky { display: none; }
}

/* ---------- Keyframes ---------- */
@keyframes cm-apply-in { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes cm-apply-out { to { opacity: 0; transform: translateY(20px) scale(.98); } }
@keyframes cm-fade { from { opacity: 0; } }
@keyframes cm-step-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes cm-step-in-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes cm-shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
@keyframes cm-spin { to { transform: rotate(360deg); } }
@keyframes cm-cr-pop { 0% { transform: scale(.4); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes cm-cr-heart { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--hx, 0), -160px) scale(1.2) rotate(var(--hr, 0deg)); } }
@keyframes cm-cr-chip-in { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes cm-confetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--cx), var(--cy)) rotate(var(--cr)); } }

@media (prefers-reduced-motion: reduce) {
    .cm-cr-rotator__word { transition: none; }
}

/* Small phones: keep the footer bar to the two buttons */
@media (max-width: 419px) {
    .cm-apply__saved { display: none; }
}
.cm-apply__saved { white-space: nowrap; }
