:root {
  color-scheme: light;
  --ink: #151216;
  --paper: #fff6df;
  --paper-hot: #ffe7ae;
  --arcade: #ff4d6d;
  --arcade-dark: #b81d3d;
  --coin: #ffd166;
  --slime: #38e07b;
  --bolt: #15c8ff;
  --bruise: #6d4cff;
  --white: #ffffff;
  --cream: #fff6df;
  --muted: #4b444d;
  --font-display: 'Archivo Black', Impact, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 209, 102, 0.42), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(21, 200, 255, 0.24), transparent 24rem),
    linear-gradient(180deg, var(--paper) 0%, #fffaf0 56%, #f5f1e8 100%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a, label { touch-action: manipulation; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 60;
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
  font-weight: 700;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.focus-ring:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 4px solid var(--bolt);
  outline-offset: 3px;
}

.site-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.halftone {
  background-image: radial-gradient(circle, rgba(21, 18, 22, 0.12) 1px, transparent 1px);
  background-size: 12px 12px;
}

.arcade-border {
  border: 3px solid var(--ink);
  box-shadow: 0 8px 0 var(--ink);
  border-radius: 10px;
}

.arcade-panel {
  background: var(--cream);
  padding: 20px;
  min-width: 0;
}

.arcade-button {
  min-height: 44px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 5px 0 var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 140ms cubic-bezier(0.16, 1, 0.3, 1), background-color 140ms ease;
}
.arcade-button:hover:not(:disabled) { transform: translateY(-1px); }
.arcade-button:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.arcade-button:disabled, .arcade-button.is-locked { opacity: 0.6; cursor: not-allowed; }

.mog-btn-primary, .mog-btn-arcade { background: var(--arcade-dark); color: var(--white); }

.mog-btn-primary:hover:not(:disabled), .mog-btn-arcade:hover:not(:disabled) { background: #9c1632; }
.mog-btn-bolt { background: var(--bolt); color: var(--ink); }
.mog-btn-slime { background: var(--slime); color: var(--ink); }
.mog-btn-coin { background: var(--coin); color: var(--ink); }
.mog-btn-white { background: var(--white); color: var(--ink); }
.mog-btn-cream { background: var(--cream); color: var(--ink); }
.mog-btn-sm { min-height: 44px; padding: 8px 14px; font-size: 14px; }

/* Header & Footer */
.site-header {
  border-bottom: 3px solid var(--ink);
  background: rgba(255, 246, 223, 0.94);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  text-decoration: none;
}
.brand-badge {
  background: var(--arcade-dark);
  color: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 14px;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 4px;
}
.site-nav a:hover { text-decoration: underline; }
.nav-cta { background: var(--coin); color: var(--ink); font-size: 14px; }

.site-footer {
  margin-top: 64px;
  border-top: 3px solid var(--ink);
  background: var(--white);
  padding: 32px 0;
}
.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
}
.footer-brand { font-family: var(--font-display); font-size: 18px; line-height: 1.2; margin: 0 0 8px; }
.footer-copy { margin: 0 0 8px; font-size: 14px; color: var(--muted); max-width: 60ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 18px; list-style: none; padding: 0; margin: 0; }
.footer-links a { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Main & Hero */
.site-main { padding-top: 28px; padding-bottom: 32px; }

.hero-strip {
  margin-bottom: 24px;
}
.page-hero {
  background: var(--white);
  padding: 24px;
  margin-bottom: 32px;
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b81d3d;
}
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-intro {
  margin: 12px 0 0;
  max-width: 70ch;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.hero-cta-row { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; }

.meta-date { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }

/* Tool Grid */
.tool-section { margin-bottom: 48px; }
.mog-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}
.mog-left, .mog-right { min-width: 0; }
.mog-notice {
  margin: 0;
  background: var(--coin);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
}
.mog-consent {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.mog-consent-check { width: 20px; height: 20px; accent-color: var(--arcade); flex-shrink: 0; }
.mog-actions-grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mog-btn { width: 100%; font-size: 15px; font-weight: 700; }

/* Demo Gallery */
.mog-demo-box {
  margin-top: 18px;
  background: var(--white);
  border-radius: 8px;
  padding: 14px;
}
.mog-demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mog-demo-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b81d3d;
}
.mog-demo-pill {
  background: var(--cream);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}
.mog-demo-toggle { display: none; }
.mog-demo-gallery {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mog-demo-card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 8px;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}
.mog-demo-card:hover { background: var(--paper-hot); }
.mog-demo-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}
.mog-demo-label { display: block; margin-top: 8px; font-size: 12px; line-height: 1.35; }
.mog-demo-disclosure { margin: 12px 0 0; font-size: 12px; font-weight: 700; color: var(--muted); }

/* Camera & Messages */
.mog-camera-wrap {
  margin-top: 16px;
  background: var(--ink);
  border-radius: 8px;
  padding: 12px;
}
.mog-camera-video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  background: #000000;
}
.mog-camera-video.is-mirrored { transform: scaleX(-1); }
.mog-cam-actions { margin-top: 12px; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mog-status-msg {
  margin: 14px 0 0;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
}

/* Result & Error Card */
.mog-card { background: var(--coin); overflow: hidden; }

.mog-card-inner { padding: 20px; }
.mog-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mog-card-eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.mog-card-brand { margin: 4px 0 0; font-family: var(--font-display); font-size: 24px; line-height: 1.2; }
.mog-card-demo-tag { margin: 4px 0 0; font-size: 12px; font-weight: 700; text-transform: uppercase; color: #9c1632; }
.mog-mode-badge { background: var(--ink); color: var(--cream); border-radius: 6px; padding: 4px 10px; font-size: 12px; font-weight: 700; }

.mog-card-hero {
  margin-top: 16px;
  display: grid;
  gap: 16px;
  grid-template-columns: 0.9fr 1.1fr;
}
.mog-card-photo-frame {
  min-height: 220px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.mog-card-photo { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.mog-safe-box { padding: 16px; text-align: center; color: var(--cream); }
.mog-safe-title { margin: 0; font-family: var(--font-display); font-size: 44px; line-height: 1.1; color: var(--slime); }
.mog-safe-sub { margin: 6px 0 0; font-size: 14px; font-weight: 700; }

.mog-score-col { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.mog-score-label-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mog-score-eyebrow { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.mog-score-inline { margin: 0; font-family: var(--font-display); font-size: 36px; line-height: 1.1; }
.mog-tier-badge { background: var(--ink); color: var(--cream); border-radius: 5px; padding: 4px 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.mog-score-big { margin: 4px 0 0; font-family: var(--font-display); font-size: 72px; line-height: 1; font-variant-numeric: tabular-nums; }
.mog-status-text { margin: 6px 0 0; font-size: 22px; font-weight: 700; line-height: 1.2; }
.mog-verdict-box { margin: 0; background: var(--cream); border-radius: 8px; padding: 10px 12px; font-size: 14px; font-weight: 600; }

.mog-notes-grid { margin-top: 16px; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mog-note-card { background: var(--white); border-radius: 8px; padding: 12px; }
.mog-note-kicker { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; color: #b81d3d; }
.mog-note-name { margin: 4px 0 0; font-weight: 700; font-size: 15px; }
.mog-note-text { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

.mog-dims-section { margin-top: 18px; }
.mog-dims-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px; }

.mog-dims-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #b81d3d; }
.mog-dims-title { margin: 2px 0 0; font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.mog-dims-note { margin: 0; font-size: 12px; font-weight: 700; max-width: 34ch; }
.mog-dims-grid { margin-top: 12px; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mog-dim-card { background: var(--cream); border-radius: 8px; padding: 12px; }
.mog-dim-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.mog-dim-name { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.mog-dim-weight { background: var(--ink); color: var(--cream); border-radius: 5px; padding: 2px 7px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.mog-dim-val { margin: 8px 0 0; font-family: var(--font-display); font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mog-dim-bar { margin-top: 8px; height: 8px; border-radius: 999px; background: rgba(21, 18, 22, 0.15); overflow: hidden; }
.mog-dim-fill { display: block; height: 100%; border-radius: 999px; background: var(--arcade); }
.mog-dim-comment { margin: 8px 0 0; font-size: 14px; line-height: 1.45; }

.mog-improve-box { margin-top: 14px; background: var(--cream); border-radius: 8px; padding: 14px; }
.mog-improve-title { margin: 0; font-weight: 700; font-size: 16px; }
.mog-improve-focus { margin: 4px 0 0; font-weight: 700; font-size: 14px; }
.mog-improve-copy { margin: 6px 0 0; font-size: 14px; }
.mog-disclaimer { margin: 14px 0 0; font-size: 12px; font-weight: 700; }
.mog-card-actions { margin-top: 14px; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mog-result-actions { margin-top: 16px; display: grid; gap: 12px; }
.mog-mode-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mog-export-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mog-error-box { background: var(--ink); color: var(--cream); padding: 24px; }
.mog-error-kicker { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--bolt); }
.mog-error-title { margin: 8px 0 0; font-family: var(--font-display); font-size: 28px; line-height: 1.2; }
.mog-error-msg { margin: 12px 0 18px; font-size: 15px; font-weight: 600; }

/* History */
.mog-history { margin-top: 24px; background: var(--white); padding: 18px; }
.mog-history-title { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.mog-history-note { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.mog-delta { margin: 12px 0 0; background: var(--coin); border-radius: 8px; padding: 8px 12px; font-size: 14px; font-weight: 700; }

.mog-hist-btns { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.mog-clear-confirm {
  margin-top: 12px;
  background: var(--paper-hot);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.mog-clear-warn { font-size: 14px; font-weight: 700; margin-right: auto; }
.mog-hist-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mog-hist-item { display: flex; justify-content: space-between; background: var(--cream); border-radius: 8px; padding: 10px 12px; font-size: 14px; font-weight: 700; }
.mog-hist-score { font-variant-numeric: tabular-nums; }

/* Content Bands & FAQ */
.content-band { margin-top: 48px; background: var(--white); padding: 24px; }
.content-band h2, .faq-band h2 { margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 1.2; }
.band-lead { margin: 10px 0 0; max-width: 70ch; color: var(--muted); font-size: 16px; }
.band-paragraphs p { margin: 12px 0 0; max-width: 70ch; }
.band-list { margin: 14px 0 0; padding-left: 22px; max-width: 70ch; }
.band-list li { margin-bottom: 8px; }

.band-cards { margin-top: 20px; display: grid; gap: 16px; }
.band-cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.band-cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.band-card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 16px;
}
.band-card.tone-coin { background: var(--coin); }
.band-card.tone-slime { background: #dffce9; }
.band-card.tone-bolt { background: #dff7ff; }
.band-card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.25; }
.band-card p { margin: 0; font-size: 15px; }

.callout-box { margin-top: 18px; background: var(--coin); border: 2px solid var(--ink); border-radius: 8px; padding: 16px; }
.callout-box p { margin: 0; font-weight: 700; max-width: 70ch; }
.band-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.band-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.checklist-box { margin-top: 20px; background: var(--coin); padding: 18px; }
.checklist-items { margin: 10px 0 0; padding-left: 20px; }
.checklist-items li { margin-bottom: 6px; font-weight: 600; }

.faq-band { margin-top: 48px; background: var(--white); padding: 24px; }
.faq-list { margin-top: 18px; display: grid; gap: 12px; }
.faq-item { background: var(--cream); border: 2px solid var(--ink); border-radius: 8px; padding: 12px 16px; }
.faq-item summary { font-weight: 700; cursor: pointer; font-size: 16px; }
.faq-item p { margin: 10px 0 0; max-width: 70ch; font-size: 15px; color: var(--muted); }

/* Progress Scanner (font-size >= 12px everywhere) */

.analysis-progress { position: relative; isolation: isolate; background: var(--ink); color: var(--cream); padding: 20px; }
.analysis-progress__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.analysis-progress__eyebrow { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--coin); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.analysis-progress__live-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--slime); animation: analysis-live 1.1s infinite alternate; }
.analysis-progress__label { margin: 10px 0 0; font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--cream); }
.analysis-progress__detail { margin: 8px 0 0; font-size: 13px; color: rgba(255, 246, 223, 0.78); }
.analysis-progress__counter { margin: 0; padding: 8px 10px; border: 1px solid rgba(255, 246, 223, 0.2); border-radius: 8px; font-size: 12px; font-weight: 700; color: rgba(255, 246, 223, 0.72); white-space: nowrap; }
.analysis-progress__counter strong { color: var(--coin); font-size: 16px; margin: 0 3px; }
.analysis-progress__meter { height: 6px; margin-top: 14px; border-radius: 999px; background: rgba(255, 246, 223, 0.15); overflow: hidden; }
.analysis-progress__meter span { display: block; width: 100%; height: 100%; background: var(--coin); transform-origin: left center; transition: transform 420ms ease; }
.analysis-progress__body { margin-top: 16px; display: grid; gap: 16px; grid-template-columns: 0.85fr 1.15fr; }
.analysis-scan { --analysis-beam-travel: 15rem; position: relative; min-height: 17rem; overflow: hidden; border: 1px solid rgba(255, 246, 223, 0.16); border-radius: 8px; background: rgba(255, 246, 223, 0.04); }
.analysis-scan__corner { position: absolute; width: 20px; height: 20px; }
.analysis-scan__corner--tl { top: 10px; left: 10px; border-top: 2px solid var(--coin); border-left: 2px solid var(--coin); }
.analysis-scan__corner--tr { top: 10px; right: 10px; border-top: 2px solid var(--coin); border-right: 2px solid var(--coin); }
.analysis-scan__corner--bl { bottom: 10px; left: 10px; border-bottom: 2px solid var(--coin); border-left: 2px solid var(--coin); }
.analysis-scan__corner--br { bottom: 10px; right: 10px; border-bottom: 2px solid var(--coin); border-right: 2px solid var(--coin); }
.analysis-scan__axis { position: absolute; background: rgba(255, 246, 223, 0.1); }
.analysis-scan__axis--x { top: 50%; left: 0; right: 0; height: 1px; }
.analysis-scan__axis--y { left: 50%; top: 0; bottom: 0; width: 1px; }
.analysis-scan__beam { position: absolute; top: 12px; left: 12px; right: 12px; height: 2px; background: var(--coin); animation: analysis-scan-beam 2.2s infinite alternate; }

.analysis-scan__face { position: absolute; top: 50%; left: 50%; width: 120px; height: 154px; border: 2px solid rgba(255, 246, 223, 0.8); border-radius: 48% 48% 43% 43%; transform: translate(-50%, -50%); }
.analysis-scan__eye, .analysis-scan__nose, .analysis-scan__mouth { position: absolute; background: rgba(255, 246, 223, 0.8); border-radius: 999px; }
.analysis-scan__eye { top: 48px; width: 16px; height: 5px; }
.analysis-scan__eye--left { left: 24px; }
.analysis-scan__eye--right { right: 24px; }
.analysis-scan__nose { top: 62px; left: 50%; width: 3px; height: 30px; transform: translateX(-50%); }
.analysis-scan__mouth { bottom: 32px; left: 50%; width: 32px; height: 3px; transform: translateX(-50%); }
.analysis-scan__zone { position: absolute; right: 12px; bottom: 10px; font-size: 12px; font-weight: 700; color: rgba(255, 246, 223, 0.6); }
.analysis-region { position: absolute; border: 2px solid var(--coin); background: rgba(255, 209, 102, 0.16); animation: analysis-region-in 920ms infinite alternate; }
.analysis-region--landmarks { inset: 6px; border-style: dashed; border-radius: 48%; }
.analysis-region--symmetry { inset: 8px 50px; border-radius: 999px; }
.analysis-region--jawline { left: 12px; right: 12px; bottom: 10px; height: 58px; border-radius: 36% 36% 48% 48%; }
.analysis-region--ratios { inset: 12px; border-radius: 46%; }
.analysis-region--result { inset: 5px; border-color: var(--slime); border-radius: 48%; background: rgba(56, 224, 123, 0.14); }
.analysis-timeline { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.analysis-step { display: flex; align-items: center; gap: 12px; }
.analysis-step__marker { width: 28px; height: 28px; border-radius: 999px; border: 2px solid rgba(255, 246, 223, 0.3); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.analysis-step[data-state="complete"] .analysis-step__marker { background: var(--slime); border-color: var(--slime); color: var(--ink); }
.analysis-step[data-state="active"] .analysis-step__marker { background: var(--coin); border-color: var(--coin); color: var(--ink); }
.analysis-step__copy { display: grid; }
.analysis-step__label { font-size: 13px; font-weight: 700; color: rgba(255, 246, 223, 0.72); }
.analysis-step[data-state="active"] .analysis-step__label { color: var(--coin); }
.analysis-step[data-state="complete"] .analysis-step__label { color: var(--slime); }
.analysis-step__state { font-size: 12px; color: rgba(255, 246, 223, 0.6); }
.analysis-progress__privacy { margin: 14px 0 0; font-size: 12px; color: rgba(255, 246, 223, 0.78); }
.analysis-progress__privacy span { color: var(--slime); }

@keyframes analysis-live { from { opacity: 0.45; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }

@keyframes analysis-scan-beam { from { transform: translateY(0); } to { transform: translateY(var(--analysis-beam-travel)); } }
@keyframes analysis-region-in { from { opacity: 0.5; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 880px) {
  .mog-grid, .footer-grid, .band-cards.cols-3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 28px; }
  .content-band h2, .faq-band h2 { font-size: 24px; }
  .mog-actions-grid, .mog-card-hero, .mog-notes-grid, .mog-dims-grid, .mog-card-actions, .mog-export-grid, .band-cards.cols-2, .analysis-progress__body {
    grid-template-columns: 1fr;
  }
  .mog-demo-toggle {
    display: flex;
    width: 100%;
    min-height: 44px;
    margin-top: 10px;
    padding: 8px 12px;
    background: var(--coin);
    border: 2px solid var(--ink);
    border-radius: 8px;
    font-weight: 700;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  .mog-demo-gallery, .mog-demo-disclosure { display: none; }
  .mog-demo-box.is-open .mog-demo-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mog-demo-box.is-open .mog-demo-disclosure { display: block; }
  .nav-cta, .mog-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}