/* JCS Casting — applicant app */
:root {
  --accent: #c8a96a;
  --bg: #0d0d0f;
  --surface: #17171a;
  --surface-2: #1f1f23;
  --line: rgba(255, 255, 255, .12);
  --text: #f4f1ea;
  --muted: rgba(244, 241, 234, .66);
  --danger: #ff8a7a;
  --radius: 16px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
[data-theme="light"] {
  --bg: #faf8f4; --surface: #fff; --surface-2: #f1eee7; --line: rgba(0, 0, 0, .12);
  --text: #16151a; --muted: rgba(22, 21, 26, .62); --danger: #c0392b;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }

.jcs { position: fixed; inset: 0; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; }
@media (min-width: 720px) {
  body { display: grid; place-items: center; background: radial-gradient(1200px 600px at 50% -10%, rgba(200, 169, 106, .10), transparent), var(--bg); }
  .jcs { position: relative; inset: auto; width: 520px; height: min(860px, 94vh); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--bg); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
}

/* top bar */
.jcs-top { display: flex; align-items: center; gap: 12px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; }
.jcs-back { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--text); flex: none; }
.jcs-back:active { background: var(--surface-2); }
.jcs-progress { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.jcs-progress-fill { height: 100%; width: 4%; background: var(--accent); border-radius: 3px; transition: width .4s cubic-bezier(.2, .8, .2, 1); }
.jcs-brand { font-size: 13px; letter-spacing: .02em; color: var(--muted); white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.is-welcome .jcs-progress, .is-done .jcs-progress { visibility: hidden; }

/* stage and screens */
.jcs-stage { position: relative; flex: 1; overflow: hidden; }
.jcs-screen { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; opacity: 0; transform: translateX(28px); transition: opacity .28s ease, transform .32s cubic-bezier(.2, .8, .2, 1); }
.jcs-screen.from-left { transform: translateX(-28px); }
.jcs-screen.is-active { opacity: 1; transform: none; }
.jcs-screen.to-left { opacity: 0; transform: translateX(-28px); }
.jcs-screen.to-right { opacity: 0; transform: translateX(28px); }
.jcs-boot .jcs-screen, .jcs-boot .jcs-welcome { position: relative; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .jcs-screen { transition: opacity .15s linear; transform: none !important; } }
.jcs-inner { padding: 12px 24px 32px; min-height: 100%; display: flex; flex-direction: column; justify-content: center; }
.jcs-center { text-align: center; align-items: center; }

/* type */
.jcs-eyebrow { margin: 0 0 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.jcs-h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 9vw, 42px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -.01em; outline: none; }
.jcs-h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 6.6vw, 30px); line-height: 1.18; margin: 0 0 10px; outline: none; }
.jcs-h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; font-weight: 600; }
.jcs-lead { font-size: 17px; color: var(--muted); margin: 0 0 14px; }
.jcs-help { color: var(--muted); margin: 0 0 18px; }
.jcs-body { margin: 0 0 12px; color: var(--text); opacity: .9; }
.jcs-tag { color: var(--accent); margin: 0 0 14px; font-size: 14px; }
.jcs-fineprint { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.jcs-error { color: var(--danger); font-size: 14px; margin: 10px 0 0; min-height: 1px; }
.jcs-error:empty { display: none; }

/* welcome */
.jcs-hero { height: clamp(280px, 112vw, 64vh); min-height: 280px; margin: -12px -24px 22px; background: center top/cover no-repeat; position: relative; }
.jcs-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 90%, var(--bg)); }
.is-welcome .jcs-inner { justify-content: flex-end; }
.jcs-trust { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.jcs-trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.jcs-trust li::before, .jcs-reqs li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.jcs-consent-bar { margin-top: 20px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; color: var(--muted); }
.jcs-consent-bar p { margin: 0 0 10px; }
.jcs-row { display: flex; gap: 8px; }
.jcs-chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; cursor: pointer; }

/* footer button */
.jcs-footer { padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 70%, transparent); }
.jcs-footer:empty { display: none; }
.jcs-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; border-radius: 999px; border: 0; padding: 0 22px; font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; transition: transform .12s ease, opacity .2s; }
.jcs-btn:active { transform: scale(.985); }
.jcs-btn-primary { background: var(--accent); color: #141210; }
.jcs-btn-primary:disabled { opacity: .35; cursor: default; }
.jcs-btn.is-loading { position: relative; color: transparent !important; }
.jcs-btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #141210; border-right-color: transparent; animation: jcs-spin .7s linear infinite; }
@keyframes jcs-spin { to { transform: rotate(360deg); } }
.jcs-btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.jcs-btn-wa { background: #25d366; color: #062b14; }
.jcs-end-actions { display: grid; gap: 12px; width: 100%; margin-top: 18px; }
.jcs-link { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 14px 0 0; cursor: pointer; font-size: 14px; align-self: flex-start; }

/* options */
.jcs-options, .jcs-cards { display: grid; gap: 10px; }
.jcs-options.is-yesno { grid-template-columns: 1fr 1fr; }
.jcs-option, .jcs-card { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px 18px; min-height: 58px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; }
.jcs-option.is-on, .jcs-card.is-on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.jcs-dot, .jcs-box, .jcs-check { flex: none; width: 22px; height: 22px; border: 2px solid var(--line); border-radius: 50%; transition: all .15s; }
.jcs-box, .jcs-check { border-radius: 7px; }
.is-on > .jcs-dot { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 12px var(--accent); }
.is-on > .jcs-box, .is-on > .jcs-check { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.jcs-card { align-items: flex-start; padding: 18px; }
.jcs-card .jcs-check { margin-top: 2px; }
.jcs-card-body { display: grid; gap: 4px; }
.jcs-card-title { font-size: 17px; line-height: 1.3; }
.jcs-card-tag { font-size: 13px; color: var(--accent); }
.jcs-card-all { border-style: dashed; }
.jcs-card-all .jcs-card-title { color: var(--accent); }
.jcs-card-text { font-size: 14px; color: var(--muted); }
.jcs-consent { align-items: flex-start; font-size: 15px; }
.jcs-consent .jcs-box { margin-top: 2px; }

/* project intro */
.jcs-reqs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.jcs-reqs li { display: flex; gap: 10px; }
.jcs-disclose { margin-top: 22px; padding: 4px 16px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.jcs-disclose ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 15px; }
.jcs-s-project_intro .jcs-inner, .jcs-s-project_select .jcs-inner { justify-content: flex-start; padding-top: 16px; }

/* inputs */
.jcs-input { width: 100%; min-height: 56px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-size: 18px; outline: none; transition: border-color .15s; -webkit-appearance: none; appearance: none; }
textarea.jcs-input { min-height: 140px; resize: vertical; font-size: 16px; }
select.jcs-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23999' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.jcs-input:focus { border-color: var(--accent); }
.jcs-stack { display: grid; gap: 10px; }
.jcs-date { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: 8px; }
.jcs-date .jcs-input { font-size: 16px; padding-left: 12px; }
.jcs-unit { position: relative; }
.jcs-unit span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }

/* uploads */
.jcs-file-input { display: none; }
.jcs-upload { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 120px; border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-weight: 600; }
.jcs-upload-plus { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #141210; display: grid; place-items: center; font-size: 22px; line-height: 1; }
.jcs-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.jcs-thumbs:empty { display: none; }
.jcs-thumb { position: relative; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.jcs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jcs-thumb-doc { display: grid; place-items: center; height: 100%; font-weight: 700; color: var(--muted); }
.jcs-thumb-bar { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 4px; border-radius: 4px; background: rgba(0, 0, 0, .45); overflow: hidden; }
.jcs-thumb-bar span { display: block; height: 100%; background: var(--accent); transition: width .2s; }
.jcs-thumb-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }

/* ending */
.jcs-badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; margin: 0 auto 18px; }
.jcs-badge.is-ok { background: var(--accent); color: #141210; }
.jcs-badge.is-soft { background: var(--surface-2); color: var(--accent); }

/* misc */
.jcs-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.jcs-toast { position: absolute; left: 16px; right: 16px; bottom: calc(90px + env(safe-area-inset-bottom)); padding: 12px 16px; border-radius: 12px; background: #2a1a18; color: #ffd6cf; border: 1px solid rgba(255, 138, 122, .4); opacity: 0; transform: translateY(8px); transition: all .25s; z-index: 5; }
[data-theme="light"] .jcs-toast { background: #fff0ee; color: #7a1d12; }
.jcs-toast.is-on { opacity: 1; transform: none; }
.jcs-preview-badge { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); background: #b35c00; color: #fff; font-size: 11px; padding: 2px 10px; border-radius: 999px; z-index: 9; text-transform: uppercase; letter-spacing: .06em; }
.jcs-turnstile { margin-top: 16px; }

.jcs-count { margin: 0 0 12px; font-size: 15px; color: var(--muted); font-weight: 600; }
.jcs-count.is-ok { color: var(--accent); }
.jcs-thumb-doc { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 13px; font-weight: 700; color: var(--muted); }

/* ---- fit every screen on one phone screen, at any size ---- */
.jcs-inner { padding: clamp(6px, 1.6dvh, 12px) 22px clamp(10px, 2.4dvh, 24px); }
.jcs-h1 { font-size: clamp(26px, min(8vw, 5.4dvh), 42px); margin-bottom: clamp(8px, 1.8dvh, 16px); }
.jcs-h2 { font-size: clamp(20px, min(6.2vw, 3.7dvh), 30px); margin-bottom: clamp(6px, 1.2dvh, 10px); }
.jcs-lead { font-size: clamp(14px, 2.3dvh, 17px); margin-bottom: clamp(8px, 1.6dvh, 14px); }
.jcs-help { font-size: clamp(13px, 2.2dvh, 16px); margin-bottom: clamp(8px, 1.8dvh, 18px); }
.jcs-options, .jcs-cards { gap: clamp(6px, 1.3dvh, 10px); }
.jcs-option, .jcs-card { padding: clamp(9px, 1.8dvh, 16px) 16px; min-height: clamp(44px, 7dvh, 58px); gap: 12px; font-size: clamp(15px, 2.4dvh, 17px); }
.jcs-input { min-height: clamp(46px, 7dvh, 56px); padding-top: 10px; padding-bottom: 10px; }
textarea.jcs-input { min-height: 0; height: clamp(96px, 22dvh, 170px); }
.jcs-btn { min-height: clamp(46px, 7dvh, 54px); }
.jcs-footer { padding-top: 8px; padding-bottom: calc(clamp(10px, 2dvh, 16px) + env(safe-area-inset-bottom)); }
.jcs-badge { width: clamp(48px, 8dvh, 64px); height: clamp(48px, 8dvh, 64px); margin-bottom: clamp(10px, 2dvh, 18px); }
.jcs-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
.jcs-thumb { aspect-ratio: 1; border-radius: 10px; }
.jcs-upload { min-height: clamp(60px, 11dvh, 110px); }
.jcs-count { margin-bottom: 8px; }
.jcs-trust { gap: 6px; } .jcs-trust li { font-size: clamp(13px, 2.1dvh, 15px); }

/* casting choice + casting summary: short text, everything visible at once */
.jcs-compact .jcs-card { align-items: center; padding: clamp(8px, 1.5dvh, 12px) 14px; min-height: 0; }
.jcs-compact .jcs-card-body { min-width: 0; gap: 1px; }
.jcs-compact .jcs-card-title { font-size: clamp(15px, 2.4dvh, 17px); line-height: 1.25; }
.jcs-compact .jcs-card-tag, .jcs-compact .jcs-card-text { font-size: 12.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jcs-compact .jcs-check { margin-top: 0; }
.jcs-s-project_select .jcs-inner { justify-content: center; }
.jcs-cookie .jcs-fineprint { margin-top: 10px; font-size: 11.5px; }
.jcs-cookie .jcs-consent-bar { margin-top: 10px; padding: 10px; font-size: 12.5px; }
.jcs-tag { font-size: 13.5px; margin-bottom: 8px; }
.jcs-reqs { gap: 6px; font-size: clamp(13.5px, 2.2dvh, 15px); }
.jcs-reqs li::before, .jcs-trust li::before { width: 16px; height: 16px; margin-top: 2px; }
.jcs-disclose { margin-top: 12px; padding: 10px 14px; }
.jcs-disclose ul { font-size: clamp(12.5px, 2dvh, 14px); gap: 4px; }
.jcs-more { margin-top: 10px; font-size: 14px; }
.jcs-more summary { cursor: pointer; color: var(--accent); }
.jcs-more .jcs-body { margin: 8px 0 0; font-size: 13.5px; }
.jcs-s-project_intro .jcs-inner { padding-top: 10px; }
.jcs-link { padding-top: 10px; }

@media (max-height: 640px) {
  .jcs-top { padding-top: calc(4px + env(safe-area-inset-top)); padding-bottom: 4px; }
  .jcs-back { width: 34px; height: 34px; }
  .jcs-inner { padding-left: 18px; padding-right: 18px; }
  .jcs-footer { padding-left: 16px; padding-right: 16px; }
  .jcs-eyebrow { margin-bottom: 6px; font-size: 11px; }
}
@media (max-width: 340px) { .jcs-inner { padding-left: 14px; padding-right: 14px; } .jcs-date { gap: 6px; } }

/* the casting choice is a single choice (round marks) */
.jcs-compact .jcs-cards .jcs-check { border-radius: 50%; }

/* ---------- Polish v2: ambient glow, staggered entrances, tactile taps ---------- */
.jcs-stage::before { content: ""; position: absolute; inset: -20% -30% auto -30%; height: 70%; pointer-events: none; z-index: 0;
  background: radial-gradient(40% 55% at 30% 40%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), radial-gradient(35% 45% at 75% 20%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
  filter: blur(18px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 65%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 65%, transparent); animation: jcs-drift 14s ease-in-out infinite alternate; }
.jcs-screen { z-index: 1; }
@keyframes jcs-drift { from { transform: translate3d(-3%, 0, 0) scale(1); } to { transform: translate3d(4%, 6%, 0) scale(1.12); } }
@keyframes jcs-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.jcs-screen.is-active .jcs-inner > * { animation: jcs-rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.jcs-screen.is-active .jcs-inner > *:nth-child(2) { animation-delay: .05s; }
.jcs-screen.is-active .jcs-inner > *:nth-child(3) { animation-delay: .1s; }
.jcs-screen.is-active .jcs-inner > *:nth-child(4) { animation-delay: .15s; }
.jcs-screen.is-active .jcs-inner > *:nth-child(5) { animation-delay: .2s; }
.jcs-screen.is-active .jcs-inner > *:nth-child(n+6) { animation-delay: .25s; }
.jcs-option, .jcs-card { transition: transform .12s ease, border-color .15s, background .15s, box-shadow .2s; }
.jcs-option:active, .jcs-card:active { transform: scale(.975); }
.jcs-option.is-on, .jcs-card.is-on { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent), 0 10px 28px -12px color-mix(in srgb, var(--accent) 55%, transparent); }
.is-on > .jcs-dot, .is-on > .jcs-box, .is-on > .jcs-check { animation: jcs-pop .28s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes jcs-pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
.jcs-progress { height: 4px; }
.jcs-progress-fill { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 70%, #fff), var(--accent)); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 65%, transparent); }
.jcs-btn-primary { position: relative; overflow: hidden; box-shadow: 0 12px 30px -14px color-mix(in srgb, var(--accent) 80%, transparent); transition: transform .12s ease, box-shadow .2s, opacity .2s; }
.jcs-btn-primary:not(:disabled):active { transform: scale(.98); }
.jcs-btn-primary:not(:disabled)::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-18deg); animation: jcs-shine 4.5s ease-in-out 1.2s infinite; }
@keyframes jcs-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.jcs-btn.is-loading::after { top: auto; bottom: auto; left: auto; transform: none; background: none; width: 20px; height: 20px; border: 2px solid #141210; border-right-color: transparent; animation: jcs-spin .7s linear infinite; }
.jcs-input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
.jcs-badge.is-ok { animation: jcs-badge 0.7s cubic-bezier(.3, 1.5, .5, 1) both, jcs-ring 2.4s ease-out .5s infinite; }
@keyframes jcs-badge { 0% { transform: scale(0) rotate(-30deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes jcs-ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 100% { box-shadow: 0 0 0 28px transparent; } }
@media (prefers-reduced-motion: reduce) {
  .jcs-stage::before, .jcs-btn-primary::after, .jcs-badge.is-ok { animation: none !important; }
  .jcs-screen.is-active .jcs-inner > * { animation: none !important; }
}

/* Landing hero video */
.jcs-hero.has-video { height: clamp(280px, 112vw, 64vh); min-height: 280px; overflow: hidden; background-color: #000; }
.jcs-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 0; transition: opacity .8s ease; filter: saturate(.9) contrast(1.02); }
.jcs-hero video.is-ready { opacity: 1; }
.jcs-hero.has-video::after { background: linear-gradient(to bottom, rgba(10, 10, 12, .25) 0%, transparent 30%, transparent 88%, var(--bg) 99%); }

/* ---- Landing welcome: everything above the fold on any phone, no scrolling to the button ---- */
.jcs-s-welcome { overflow: hidden; }
.jcs-s-welcome .jcs-inner { height: 100%; min-height: 0; padding: 0 20px clamp(6px, 1.4dvh, 14px); justify-content: flex-start; overflow: hidden; }
.jcs-s-welcome .jcs-hero, .jcs-s-welcome .jcs-hero.has-video { flex: 1 1 0; height: auto; min-height: 96px; max-height: 150vw; margin: 0 -20px clamp(6px, 1.4dvh, 12px); }
.jcs-s-welcome .jcs-eyebrow { flex: none; margin: 0 0 4px; font-size: clamp(10px, 1.5dvh, 12px); }
.jcs-s-welcome .jcs-h1 { flex: none; font-size: clamp(21px, min(6.6vw, 3.9dvh), 32px); line-height: 1.1; margin: 0 0 clamp(4px, 1dvh, 10px); }
.jcs-s-welcome .jcs-lead { flex: none; font-size: clamp(12.5px, 1.95dvh, 15.5px); line-height: 1.38; margin: 0 0 clamp(4px, 1dvh, 10px); }
.jcs-s-welcome .jcs-trust { flex: none; gap: clamp(3px, .8dvh, 6px); margin-top: 2px; }
.jcs-s-welcome .jcs-trust li { font-size: clamp(12px, 1.75dvh, 14px); line-height: 1.3; }
.jcs-s-welcome .jcs-trust li::before { width: 14px; height: 14px; margin-top: 2px; }
.jcs-s-welcome .jcs-fineprint { flex: none; font-size: 11px; margin: clamp(4px, .9dvh, 8px) 0 0; }
@media (max-height: 640px) { .jcs-s-welcome .jcs-eyebrow { display: none; } }
@media (max-height: 560px) { .jcs-s-welcome .jcs-trust li:nth-child(n+2) { display: none; } }

/* Optional code verification screen */
.jcs-code { text-align: center; font-size: 28px; letter-spacing: .5em; font-variant-numeric: tabular-nums; padding-left: .5em; }
.jcs-links { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-top: 10px; }
.jcs-link { background: none; border: 0; padding: 8px 2px; color: var(--muted, #aaa); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.jcs-link:disabled { opacity: .55; text-decoration: none; cursor: default; }
