/* funnel.css — Coursiv Design System for CubeSolver Funnel */

/* ══════════════════════════════════════════════
   RESET & VARIABLES — Coursiv Design System
   ══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand: #5653fe;
  --brand-light: #d8e1ff;
  --brand-super-light: #eeeeff;
  --brand-disabled: #aba9ff;
  --bg-page: #ffffff;
  --bg-card: #f3f5f6;
  --bg-card-selected: #eeeeff;
  --bg-container: #ffffff;
  --text-primary: #100018;
  --text-secondary: #565b66;
  --text-disabled: #a6aab3;
  --text-white: #ffffff;
  --border-primary: #cfcfcf;
  --border-secondary: #ececec;
  --border-accent: #5653fe;
  --red: #ff441f;
  --green: #53bf65;
  --green-soft: rgba(83,191,101,0.1);
  --orange: #ff7b37;
  --yellow: #ffb800;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 100px;
  --font: 'Inter', sans-serif;
  --screen-transition: 400ms;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font); color: var(--text-primary); background: var(--bg-page); line-height: 1.5; overflow-x: hidden; min-height: 100dvh; min-height: 100vh; }

.icon { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; fill: none; flex-shrink: 0; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 32px; height: 32px; }
.card-icon-wrap { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--brand); background: var(--brand-super-light); }
.card-icon-wrap.green { color: var(--green); background: var(--green-soft); }
.card-icon-wrap.blue { color: #4F7DF3; background: rgba(79,125,243,0.1); }
.card-icon-wrap.muted { color: var(--text-secondary); background: rgba(0,0,0,0.04); }

.funnel-wrap { position: relative; width: 100%; min-height: 100dvh; min-height: 100vh; overflow: hidden; }
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 24px; padding-top: 60px; padding-bottom: 24px; opacity: 0; pointer-events: none; transform: translateX(60px); transition: opacity var(--screen-transition) cubic-bezier(.4,0,.2,1), transform var(--screen-transition) cubic-bezier(.4,0,.2,1); will-change: opacity, transform; overflow-y: auto; -webkit-overflow-scrolling: touch; z-index: 1; }
.screen.active { opacity: 1; pointer-events: auto; transform: translateX(0); z-index: 2; }
.screen.exit-left { opacity: 0; transform: translateX(-60px); pointer-events: none; z-index: 1; }
.screen-inner { width: 100%; max-width: 580px; margin: 0 auto; display: flex; flex-direction: column; min-height: calc(100dvh - 84px); min-height: calc(100vh - 84px); }
.screen-inner .screen-headline { flex-shrink: 0; }
.screen-inner .screen-content { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 24px; }
.screen-inner .btn-primary { flex-shrink: 0; margin-top: 0; }
.screen-btn-footer { position: sticky; bottom: 0; z-index: 10; flex-shrink: 0; margin: 0 -24px; padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 12px); pointer-events: none; }
.screen-btn-footer .btn-primary { pointer-events: auto; margin: 0; }

.progress-wrap { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 4px; background: var(--bg-card); z-index: 100; opacity: 0; transition: opacity 300ms; border-radius: var(--radius-xl); }
.progress-wrap.visible { opacity: 1; }
.progress-bar { height: 100%; background: var(--brand); border-radius: 0 var(--radius-xl) var(--radius-xl) 0; transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

.step-counter { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 20px; font-size: 12px; font-weight: 600; color: var(--text-secondary); z-index: 101; opacity: 0; transition: opacity 300ms; }
.step-counter.visible { opacity: 1; }
.step-counter .current-step { color: var(--brand); }

.back-btn { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 8px); left: 12px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--text-primary); z-index: 101; opacity: 0; pointer-events: none; transition: opacity 300ms; -webkit-tap-highlight-color: transparent; }
.back-btn.visible { opacity: 1; pointer-events: auto; }
.back-btn svg { width: 22px; height: 22px; stroke: var(--text-primary); stroke-width: 2; fill: none; }

.live-counter { display: inline-flex; align-items: center; align-self: center; gap: 8px; padding: 6px 14px; background: var(--green-soft); border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; color: var(--green); margin-bottom: 32px; }
.live-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(83,191,101,0.4); } 50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(83,191,101,0); } }

.screen-headline { font-family: var(--font); font-weight: 800; font-size: 28px; line-height: 1.3; letter-spacing: -0.3px; text-align: center; margin-bottom: 24px; color: var(--text-primary); }
.screen-headline .accent { color: var(--brand); }
.screen-subtitle { font-size: 16px; color: var(--text-secondary); text-align: center; margin-bottom: 8px; font-weight: 400; }

.card-grid { display: grid; gap: 12px; width: 100%; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-secondary { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 420px) { .card-grid.cols-secondary { grid-template-columns: repeat(5, 1fr); } }

.select-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px 12px; min-height: 80px; background: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: var(--radius); cursor: pointer; transition: all 200ms cubic-bezier(.4,0,.2,1); text-align: center; -webkit-tap-highlight-color: transparent; user-select: none; }
@media (hover: hover) { .select-card:hover { background: var(--bg-card-selected); border-color: var(--brand); } }
.select-card:active { transform: scale(0.98); }
.select-card.selected { background: var(--bg-card-selected); border-color: var(--brand); }
.select-card .card-label { font-size: 15px; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.select-card .card-sub { font-size: 12px; color: var(--text-secondary); font-weight: 400; }
.select-card.row-card { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 0 20px; min-height: 80px; text-align: left; }
.select-card.featured { grid-column: 1 / -1; flex-direction: column; padding: 24px 20px; min-height: 140px; gap: 8px; justify-content: center; align-items: center; background: var(--bg-card); border-color: var(--border-secondary); position: relative; }
.select-card.featured.selected { background: var(--bg-card-selected); border-color: var(--brand); }
.select-card.featured .card-label { font-size: 16px; }
.select-card.featured .featured-icon { width: 100px; height: 100px; margin-bottom: 4px; }
.featured-badge { font-size: 11px; font-weight: 700; color: var(--brand); background: rgba(86,83,254,0.12); padding: 4px 10px; border-radius: var(--radius-pill); letter-spacing: 0.3px; text-transform: uppercase; position: absolute; top: 12px; right: 12px; }

/* Radio dot — circular toggle for single-select grids */
.radio-dot { position: absolute; top: 10px; left: 10px; width: 20px; height: 20px; border: 2px solid var(--border-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 200ms; }
.select-card.selected .radio-dot { border-color: var(--brand); }
.radio-dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); transform: scale(0); transition: transform 200ms; }
.select-card.selected .radio-dot::after { transform: scale(1); }
.select-card.has-radio { position: relative; }

.check-card { display: flex; align-items: center; gap: 12px; padding: 0 20px; min-height: 80px; background: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: var(--radius); cursor: pointer; transition: all 200ms cubic-bezier(.4,0,.2,1); -webkit-tap-highlight-color: transparent; user-select: none; }
@media (hover: hover) { .check-card:hover { background: var(--bg-card-selected); border-color: var(--brand); } }
.check-card.selected { background: var(--bg-card-selected); border-color: var(--brand); }
.check-box { width: 22px; height: 22px; border: 2px solid var(--border-primary); border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 200ms; }
.check-card.selected .check-box { background: var(--brand); border-color: var(--brand); }
.check-box svg { width: 14px; height: 14px; stroke: white; stroke-width: 2.5; fill: none; opacity: 0; transform: scale(0.5); transition: all 200ms; }
.check-card.selected .check-box svg { opacity: 1; transform: scale(1); }
.check-label { font-size: 15px; font-weight: 600; color: var(--text-primary); }

.dynamic-response { margin-top: 20px; padding: 16px 20px; background: var(--brand-super-light); border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; font-weight: 500; color: var(--text-primary); line-height: 1.55; font-style: italic; opacity: 0; transform: translateY(8px); animation: responseReveal 500ms 200ms cubic-bezier(.4,0,.2,1) forwards; }
@keyframes responseReveal { to { opacity: 1; transform: translateY(0); } }

.btn-primary { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; padding: 12px 24px; background: var(--brand); color: var(--text-white); font-family: var(--font); font-size: 16px; font-weight: 600; border: none; border-radius: var(--radius); cursor: pointer; transition: all 250ms cubic-bezier(.4,0,.2,1); letter-spacing: 0; -webkit-tap-highlight-color: transparent; margin-top: 24px; }
.btn-primary:hover { background: #4845e6; }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { background: var(--brand-disabled); cursor: not-allowed; transform: none; }

.reinforcement-visual { position: relative; width: 100%; max-width: 320px; margin: 0 auto 36px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.cube-state { width: 100px; height: 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 4px; background: var(--bg-card); border-radius: 10px; flex-shrink: 0; }
.cube-state span { border-radius: 3px; }
.cube-state.scrambled span:nth-child(1) { background: #ff441f; }
.cube-state.scrambled span:nth-child(2) { background: #4F7DF3; }
.cube-state.scrambled span:nth-child(3) { background: #ffb800; }
.cube-state.scrambled span:nth-child(4) { background: #53bf65; }
.cube-state.scrambled span:nth-child(5) { background: #ff7b37; }
.cube-state.scrambled span:nth-child(6) { background: #f3f5f6; }
.cube-state.scrambled span:nth-child(7) { background: #ffb800; }
.cube-state.scrambled span:nth-child(8) { background: #ff441f; }
.cube-state.scrambled span:nth-child(9) { background: #4F7DF3; }
.cube-state.solved span { background: var(--brand); }
.arrow-between { color: var(--brand); flex-shrink: 0; animation: arrowPulse 1.5s ease-in-out infinite; }
@keyframes arrowPulse { 0%, 100% { opacity: 0.5; transform: translateX(0); } 50% { opacity: 1; transform: translateX(4px); } }

.bridge-copy { font-size: 18px; font-weight: 500; line-height: 1.6; color: var(--text-primary); text-align: center; margin-bottom: 32px; }

.processing-cube { width: 80px; height: 80px; margin: 0 auto 40px; position: relative; }
.processing-cube::before { content: ''; position: absolute; inset: -30px; background: radial-gradient(circle, rgba(86,83,254,0.15) 0%, transparent 70%); border-radius: 50%; animation: glowPulse 3s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
.processing-cube-inner { width: 100%; height: 100%; position: relative; background: var(--brand); border-radius: 16px; animation: processingRotate 3s cubic-bezier(.4,0,.2,1) infinite; box-shadow: 0 0 40px rgba(86,83,254,0.3); }
@keyframes processingRotate { 0% { transform: rotate(0deg) scale(1); border-radius: 16px; } 25% { transform: rotate(90deg) scale(0.85); border-radius: 24px; } 50% { transform: rotate(180deg) scale(1); border-radius: 16px; } 75% { transform: rotate(270deg) scale(0.85); border-radius: 24px; } 100% { transform: rotate(360deg) scale(1); border-radius: 16px; } }

.processing-steps { text-align: left; max-width: 300px; margin: 0 auto 32px; }
.processing-step { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14px; font-weight: 500; color: var(--text-secondary); opacity: 0; transform: translateY(8px); }
.processing-step.visible { animation: stepReveal 400ms cubic-bezier(.4,0,.2,1) forwards; }
.processing-step.done { color: var(--green); }
.processing-step .step-indicator { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.processing-step .spinner-ring { width: 18px; height: 18px; border: 2px solid var(--border-secondary); border-top-color: var(--brand); border-radius: 50%; animation: spin 800ms linear infinite; }
.processing-step.done .spinner-ring { display: none; }
.processing-step .check-icon { display: none; color: var(--green); font-size: 16px; }
.processing-step.done .check-icon { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes stepReveal { to { opacity: 1; transform: translateY(0); } }

.reciprocity-hook { margin-top: 16px; padding: 18px 20px; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border-secondary); font-size: 14px; line-height: 1.65; color: var(--text-secondary); opacity: 0; transition: opacity 500ms; }
.reciprocity-hook.visible { opacity: 1; }
.reciprocity-hook strong { color: var(--text-primary); font-weight: 600; }

.stats-header { text-align: center; margin-bottom: 28px; }
.stats-header h2 { font-family: var(--font); font-weight: 800; font-size: 28px; color: var(--text-primary); letter-spacing: -0.3px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.stat-card { padding: 20px 16px; background: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: var(--radius); text-align: center; opacity: 0; transform: translateY(12px); }
.stat-card.visible { animation: statReveal 500ms cubic-bezier(.4,0,.2,1) forwards; }
@keyframes statReveal { to { opacity: 1; transform: translateY(0); } }
.stat-value { font-family: var(--font); font-weight: 800; font-size: 28px; color: var(--brand); letter-spacing: -1px; margin-bottom: 4px; }
.stat-label { font-size: 12px; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.authority-line { padding: 16px 18px; background: var(--bg-card); border-radius: var(--radius); font-size: 14px; line-height: 1.55; color: var(--text-secondary); margin-bottom: 16px; border-left: 3px solid var(--brand); }
.identity-line { font-size: 16px; font-weight: 500; color: var(--text-primary); text-align: center; line-height: 1.55; margin-bottom: 24px; }
.transition-cta { font-family: var(--font); font-weight: 700; font-size: 20px; color: var(--text-primary); text-align: center; line-height: 1.35; letter-spacing: -0.3px; margin-bottom: 8px; }
.transition-cta .accent { color: var(--brand); }

.email-icon-wrap { width: 56px; height: 56px; background: var(--brand-super-light); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: var(--brand); }
.email-input-wrap { width: 100%; position: relative; margin-top: 8px; }
.email-input { width: 100%; padding: 16px 20px; font-family: var(--font); font-size: 16px; font-weight: 400; color: var(--text-primary); background: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: var(--radius); outline: none; transition: border-color 200ms, box-shadow 200ms; -webkit-appearance: none; }
.email-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(86,83,254,0.12); }
.email-input::placeholder { color: var(--text-disabled); font-weight: 400; }
.email-bonus { margin-top: 12px; font-size: 14px; color: var(--text-secondary); text-align: center; }
.email-bonus .accent { color: var(--brand); font-weight: 600; }

.paywall-recap { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; background: var(--brand-super-light); border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 16px; }
.paywall-timer { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; background: #ffe3de; border: 1px solid rgba(255,68,31,0.2); border-radius: var(--radius); font-size: 13px; font-weight: 600; color: #db3012; margin-bottom: 20px; }
.pricing-card { width: 100%; padding: 28px 24px; background: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: var(--radius); text-align: center; margin-bottom: 16px; }
.price-original { font-size: 18px; color: var(--text-disabled); text-decoration: line-through; margin-right: 8px; }
.price-current { font-family: var(--font); font-weight: 800; font-size: 48px; color: var(--text-primary); letter-spacing: -2px; }
.price-note { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.value-stack { width: 100%; margin-bottom: 16px; }
.value-item { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 14px; font-weight: 500; color: var(--text-primary); }
.value-check { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.value-check svg { width: 16px; height: 16px; stroke: var(--green); stroke-width: 2.5; fill: none; }
.testimonial-card { width: 100%; padding: 18px 20px; background: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: var(--radius); margin-bottom: 12px; }
.testimonial-stars { color: var(--yellow); font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.testimonial-text { font-size: 14px; font-style: italic; color: var(--text-primary); line-height: 1.6; margin-bottom: 6px; }
.testimonial-author { font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.competitor-anchor { text-align: center; font-size: 12px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.5; }
.guarantee-line { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--text-secondary); font-weight: 500; }
.guarantee-line svg { width: 14px; height: 14px; stroke: var(--green); stroke-width: 2; fill: none; flex-shrink: 0; }

.sticky-cta { display: none; }
@media (max-width: 600px) {
  .sticky-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 20px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--border-secondary); z-index: 50; opacity: 0; pointer-events: none; transition: opacity 200ms; }
  .sticky-cta.visible { opacity: 1; pointer-events: auto; }
  .sticky-cta .btn-primary { margin-top: 0; font-size: 15px; height: 52px; }
}

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity 300ms; }
.modal-overlay.visible { opacity: 1; pointer-events: auto; }
.modal-content { width: 100%; max-width: 420px; background: var(--bg-page); border-radius: var(--radius-xl); padding: 36px 28px; text-align: center; transform: translateY(20px) scale(0.95); transition: transform 300ms cubic-bezier(.4,0,.2,1); box-shadow: 0 24px 80px rgba(0,0,0,0.15); }
.modal-overlay.visible .modal-content { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: none; background: var(--bg-card); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text-secondary); transition: background 200ms; -webkit-tap-highlight-color: transparent; }
.modal-close:hover { background: var(--border-secondary); }
.modal-headline { font-family: var(--font); font-weight: 800; font-size: 24px; color: var(--text-primary); letter-spacing: -0.3px; margin-bottom: 12px; }
.modal-body { font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.modal-step { padding: 16px 18px; background: var(--brand-super-light); border-radius: var(--radius); border-left: 3px solid var(--brand); text-align: left; margin-bottom: 24px; }
.modal-step-label { font-size: 11px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.modal-step-text { font-size: 14px; color: var(--text-primary); font-weight: 500; line-height: 1.5; }

.coming-soon-icon { width: 72px; height: 72px; background: var(--brand); border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; color: white; }
.coming-soon-bullets { width: 100%; margin: 24px 0; }
.cs-bullet { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; font-size: 14px; font-weight: 500; color: var(--text-primary); }
.cs-bullet .icon { flex-shrink: 0; margin-top: 1px; }
.cheat-sheet { width: 100%; margin: 20px 0; padding: 20px; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border-secondary); text-align: left; }
.cheat-sheet-title { font-family: var(--font); font-weight: 700; font-size: 16px; color: var(--text-primary); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.cheat-sheet-title .icon { color: var(--brand); }
.cheat-step { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-secondary); }
.cheat-step:last-child { border-bottom: none; }
.cheat-step-num { width: 24px; height: 24px; background: var(--brand-super-light); color: var(--brand); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.cheat-step-text { font-size: 13px; line-height: 1.5; color: var(--text-primary); }
.cheat-step-text strong { font-weight: 600; }

.payment-loading { text-align: center; }
.payment-spinner { width: 36px; height: 36px; border: 3px solid var(--border-secondary); border-top-color: var(--brand); border-radius: 50%; animation: spin 700ms linear infinite; margin: 0 auto 16px; }
.payment-loading-text { font-size: 14px; color: var(--text-secondary); font-weight: 500; }

.text-center { text-align: center; }
.fade-in { opacity: 0; transform: translateY(12px); animation: fadeIn 600ms cubic-bezier(.4,0,.2,1) forwards; }
.fade-in-delay-1 { animation-delay: 100ms; }
.fade-in-delay-2 { animation-delay: 200ms; }
.fade-in-delay-3 { animation-delay: 300ms; }
.fade-in-delay-4 { animation-delay: 400ms; }
.fade-in-delay-5 { animation-delay: 500ms; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
.cards-enter { opacity: 0; transform: translateY(8px); animation: cardsIn 350ms 80ms cubic-bezier(.4,0,.2,1) forwards; }
@keyframes cardsIn { to { opacity: 1; transform: translateY(0); } }
.screen.locked .select-card, .screen.locked .check-card { pointer-events: none; opacity: 0.6; }

@media (max-width: 400px) {
  .select-card { padding: 12px 8px; }
  .select-card .card-label { font-size: 13px; }
  .select-card.row-card { padding: 0 14px; min-height: 70px; }
  .check-card { padding: 0 14px; min-height: 70px; }
  .stat-card { padding: 14px 12px; }
  .stat-value { font-size: 24px; }
  .screen-headline { font-size: 24px; }
}
@media (min-width: 480px) { .screen { padding: 32px; padding-top: 60px; } .screen-btn-footer { margin: 0 -32px; padding-left: 32px; padding-right: 32px; } }
@supports (padding-bottom: env(safe-area-inset-bottom)) { .screen { padding-bottom: calc(24px + env(safe-area-inset-bottom)); } }
