/** Shopify CDN: Minification failed

Line 35:0 All "@import" rules must come first

**/
/* IM8 quiz — shared design tokens & helpers */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* IM8 palette */
  --burgundy: #50000B;
  --dark-burgundy: #3D0010;
  --red-algae: #A40011;
  --flamingo: #FF9693;
  --blush: #E1CBB9;
  --cream: #F5EDE0;
  --gold: #C5973B;
  --off-white: #FAF6F2;
  --deep-maroon: #5A000B;
  --near-black: #1A0508;
  --warm-gray: #8C7A6E;

  /* Type — Aeonik substitute (Inter-ish), Arizona Flare substitute (serif) */
  --display: 'ABC Arizona Flare', 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Aeonik', 'Inter', -apple-system, system-ui, sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;
}

/* Arizona Flare substitute via fontsource-ish CDN — fall back to Cormorant */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,500&display=swap');

* { box-sizing: border-box; }

.im8-app {
  font-family: var(--sans);
  color: var(--near-black);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-algae);
}

.h-display {
  font-family: var(--display);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--deep-maroon);
}

.h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--deep-maroon);
}

.h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
  color: var(--deep-maroon);
}

.body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  color: var(--near-black);
}

.small {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--warm-gray);
}

.micro {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--burgundy); color: #fff;
  border: none; border-radius: var(--r-pill);
  padding: 16px 24px;
  font-family: var(--sans); font-weight: 700; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
}
.btn-primary:hover { background: #3D0010; }
.btn-primary:disabled { opacity: 0.35; cursor: not-allowed; }

.btn-on-dark {
  background: #fff; color: var(--burgundy);
}
.btn-on-dark:hover { background: var(--cream); }

.btn-outline {
  background: transparent; color: var(--burgundy);
  border: 1.5px solid var(--burgundy);
}

/* Card surfaces */
.card-cream { background: var(--cream); border-radius: var(--r-lg); }
.card-blush { background: var(--blush); border-radius: var(--r-lg); }
.card-burgundy { background: var(--burgundy); color: #fff; border-radius: var(--r-lg); }
.card-white { background: #fff; border-radius: var(--r-lg); border: 1px solid rgba(90,0,11,0.06); }

/* Phone screen baseline */
.screen {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  display: flex; flex-direction: column;
  /* iOS status bar (status bar ~52px + dynamic island) */
  padding-top: 56px;
}

.scroll-y { overflow-y: auto; flex: 1; }
.scroll-y::-webkit-scrollbar { width: 0; display: none; }

/* Star row */
.stars { color: var(--gold); letter-spacing: 1px; font-size: 13px; }

/* Subtle stripe placeholder for portraits we don't have */
.placeholder-stripes {
  background:
    repeating-linear-gradient(135deg, rgba(90,0,11,0.07) 0 8px, transparent 8px 18px),
    var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  color: var(--warm-gray); letter-spacing: 0.1em;
  text-transform: uppercase; text-align: center; padding: 12px;
}

/* Progress bar */
.progress-track {
  height: 3px; background: rgba(90,0,11,0.08); border-radius: 999px; overflow: hidden;
}
.progress-fill {
  height: 100%; background: var(--burgundy); transition: width 0.5s cubic-bezier(.6,.05,.3,1);
}

/* Tap targets */
.option-card {
  background: #fff; border: 1.5px solid rgba(90,0,11,0.1);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer; min-height: 60px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  font-family: var(--sans); font-size: 16px; color: var(--near-black);
  text-align: left;
}
.option-card:hover { border-color: var(--burgundy); }
.option-card.selected {
  border-color: var(--burgundy); background: rgba(80,0,11,0.04);
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.45s cubic-bezier(.6,.05,.3,1) both; }

@keyframes shine {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 1.2s linear infinite; }

/* IM8 logo wordmark */
.im8-wordmark {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 14px;
  color: currentColor;
}
