/* compmusic.org — marketing site
   Static port of the COMP design-system marketing page (apps/web-app/src/pages).
   Dark theme, Space Mono display + system sans body. */

/* ===== FONTS ===== */
@font-face {
  font-family: 'Space Mono';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/SpaceMono-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Space Mono';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('fonts/SpaceMono-Italic.ttf') format('truetype');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/SpaceMono-Bold.ttf') format('truetype');
}

/* ===== TOKENS ===== */
:root {
  --font-display: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --font-sans:    'SF Pro Text', -apple-system, system-ui, 'Segoe UI', sans-serif;

  --space-void: #08070D;
  --bg:         #0D1117;
  --surface:    #161B22;
  --border:     #30363D;

  --fg:        #E6EDF3;
  --fg-muted:  #8B949E;
  --fg-faint:  #6E7681;

  --comp:        #4D089A;
  --comp-light:  #FFFFFF;
  --comp-wash:   rgba(77, 8, 154, 0.18);
  --comp-ring:   rgba(124, 58, 237, 0.45);

  --blue:      #090C9B;
  --blue-wash: rgba(9, 12, 155, 0.18);
  --raspberry:      #A20054;
  --raspberry-wash: rgba(162, 0, 84, 0.18);

  --success: #3FB950;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --maxw: 1100px;
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--fg); text-decoration: none; }

/* ===== Starfield background ===== */
.stars-bg, .stars-veil { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stars-bg {
  background:
    radial-gradient(110% 70% at 50% -5%, rgba(77,8,154,0.30), transparent 55%),
    url('assets/textures/stars-background.png') center/cover no-repeat fixed,
    var(--space-void);
}
.stars-veil { background: linear-gradient(180deg, rgba(8,7,13,0.2), rgba(8,7,13,0.86)); }

/* everything above the starfield */
.site-header, main, .site-footer { position: relative; z-index: 1; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.comp-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-muted);
}

/* ===== Header ===== */
.site-header { border-bottom: 1px solid transparent; padding: 16px 0; }
.site-header .inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.site-header .logo { justify-self: start; }
.site-header nav { justify-self: center; }
.site-header .btn-app-store { justify-self: end; }
.site-header .logo img { height: 30px; display: block; }
.site-header nav ul {
  display: flex; gap: 26px; margin: 0; padding: 0; list-style: none;
  font-size: 14px; color: var(--fg-muted);
}
.site-header nav a:hover { color: var(--fg); }

@media (max-width: 480px) {
  .site-header .container { padding: 0 16px; }
  .site-header .inner { gap: 10px; }
  .site-header nav ul { gap: 10px; font-size: 11.5px; white-space: nowrap; }
  .site-header .btn-app-store.btn-sm { padding: 7px 10px; }
  .site-header .btn-app-store.btn-sm .btn-app-store__text strong { font-size: 12.5px; }
}

/* ===== App Store buttons ===== */
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-app-store {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #000; border-radius: 12px; padding: 11px 20px;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 0 24px rgba(124,58,237,0.18);
}
.btn-app-store:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(124,58,237,0.32); }
.btn-app-store .apple-logo { width: 24px; height: 28px; flex: none; }
.btn-app-store__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-app-store__text small { font-size: 11px; }
.btn-app-store__text strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }

.btn-app-store.btn-sm { padding: 8px 14px; border-radius: 10px; box-shadow: none; }
.btn-app-store.btn-sm .apple-logo { width: 15px; height: 18px; }
.btn-app-store.btn-sm .btn-app-store__text { flex-direction: row; }
.btn-app-store.btn-sm .btn-app-store__text small { display: none; }
.btn-app-store.btn-sm .btn-app-store__text strong { font-size: 14px; }

/* ===== Hero ===== */
/* Stacked layout: phone + tablet (up to 1099px) */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 28px 64px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 680px;
}

.hero .logo-mark {
  width: clamp(160px, 38vw, 280px);
  margin-bottom: 28px;
  filter: drop-shadow(0 14px 40px rgba(0,0,0,0.55));
}

.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 7vw, 54px); letter-spacing: -0.03em; line-height: 1.02;
  margin: 0 0 16px; color: #fff;
}

.hero .tagline {
  color: #A9B2BD; font-size: clamp(16px, 2.5vw, 20px); line-height: 1.5;
  margin: 0 auto 32px; max-width: 540px;
}

.hero-phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 44px;
  width: 100%;
}

.hero-phones img {
  width: clamp(260px, 62vw, 440px);
  height: auto;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.70));
}

/* Desktop: 2-column grid — text left, single large profile phone right */
@media (min-width: 1100px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 64px;
    column-gap: 48px;
    align-items: center;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    max-width: none;
  }

  .hero .logo-mark {
    width: min(320px, 26vw);
    margin-bottom: 44px;
  }

  .hero h1 {
    font-size: clamp(24px, 2.8vw, 38px);
    margin: 0 0 12px;
  }

  .hero .tagline {
    font-size: clamp(17px, 1.5vw, 20px);
    margin: 0 0 24px;
    max-width: 460px;
  }

  .hero-content .cta-row {
    justify-content: center;
  }

  .hero-phones {
    margin-top: 0;
    overflow: hidden;
    justify-content: center;
    align-items: center;
  }

  .hero-phones img {
    width: min(640px, 52vw);
    transform: rotate(-3deg);
  }
}

/* ===== Section scaffolding ===== */
.section { max-width: 1000px; margin: 0 auto; padding: 24px 24px 80px; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; margin: 10px 0 0; color: var(--fg);
}

/* feature grid */
.feature-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
@media (min-width: 560px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}
.feature {
  background: rgba(22,27,34,0.55); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg); padding: 24px;
}
.feature .ficon {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--comp-wash); border: 1px solid var(--comp-ring);
  display: flex; align-items: center; justify-content: center;
  color: var(--comp-light); margin-bottom: 14px;
}
.feature h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 6px; color: var(--fg); }
.feature p { color: var(--fg-muted); font-size: 14px; line-height: 1.55; margin: 0; }

/* ===== Download band ===== */
.download-band { text-align: center; padding: 64px 24px; }
.download-band h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; margin: 0 0 12px; color: var(--fg);
}
.download-band p { color: var(--fg-muted); margin: 0 auto 28px; max-width: 480px; }
.download-band .cta-row.show-mobile-only {
  flex-direction: column; align-items: stretch; width: fit-content; margin: 0 auto;
}
.download-band .cta-row.show-mobile-only .btn-secondary,
.download-band .cta-row.show-mobile-only .btn-app-store {
  width: 100%;
}

/* ===== App gallery carousel ===== */
@keyframes carousel-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ws-carousel { overflow: hidden; width: 100%; }
.ws-track { display: flex; width: max-content; animation: carousel-scroll 28s linear infinite; padding: 8px 24px 24px; }
.ws-track.is-paused { animation-play-state: paused; }
.gallery-figure { flex: none; width: 196px; margin: 0 20px 0 0; }
.gallery-figure .frame {
  border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 50px rgba(0,0,0,0.55), 0 0 32px rgba(77,8,154,0.16); background: #000;
}
.gallery-figure img { width: 100%; display: block; }
.gallery-figure figcaption { text-align: center; margin-top: 14px; }
.gallery-figure .cap-label { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--fg); }
.gallery-figure .cap-note { font-size: 12.5px; color: var(--fg-muted); margin-top: 2px; }

/* ===== Feature video tiles (autoplay-loop when in view, transparent app footage) ===== */
.feature-tile {
  position: relative; width: 100%; max-width: 320px; margin: 0 auto; display: block;
}
.feature-tile img, .feature-tile video {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.60));
}
.feature-tile video { position: absolute; inset: 0; opacity: 0; }
.feature-tile.is-playing img { opacity: 0; }
.feature-tile.is-playing video { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .feature-tile video { display: none; }
}

/* ----- Note pills (Express step + COMPCASH "spend it on" tier) ----- */
.note-pills-group { margin-top: 22px; }
.note-pills {
  display: grid; grid-template-columns: repeat(3, minmax(0, 100px)); gap: 10px;
  max-width: 320px; margin: 0 auto;
}
@media (min-width: 640px) {
  .note-pills { grid-template-columns: repeat(5, minmax(0, 100px)); max-width: 540px; }
}
.note-pill {
  width: 100%; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--fg);
  background: rgba(22,27,34,0.7); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-pill); padding: 10px 8px; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.note-pill:hover { border-color: rgba(255,255,255,0.25); }
.note-pill.is-active { background: var(--comp-wash); border-color: var(--comp-ring); color: #fff; }

.note-pill--priced {
  flex-direction: column; gap: 2px; cursor: default; min-height: 58px;
}
.note-pill-name { font-size: 13px; }
.note-pill-price { font-size: 12px; font-weight: 700; color: var(--raspberry); }

.note-reveal {
  display: none; max-width: 320px; margin: 18px auto 0; text-align: center;
  animation: note-reveal-in 0.25s ease;
}
.note-reveal.is-open { display: block; }
@keyframes note-reveal-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.note-reveal-label {
  font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--fg);
  margin-top: 14px;
}
.note-reveal-desc { color: var(--fg-muted); font-size: 13.5px; margin-top: 4px; }

/* ----- Streaming service logos (Listen step) ----- */
.stream-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 20px 28px; margin-top: 24px; padding: 0 8px;
}
.stream-logos .logo { width: 38px; height: 38px; }
.stream-logos .logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.stream-logos-more {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600;
  color: var(--fg-faint); letter-spacing: 0.04em;
}

/* ===== About / page body ===== */
.page-body { max-width: 720px; margin: 0 auto; padding: 72px 24px 40px; }
.page-body h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4.5vw, 48px); letter-spacing: -0.03em; line-height: 1.05;
  margin: 12px 0 24px; color: var(--fg);
}
.page-body .lead { color: #C2CAD3; font-size: 18px; line-height: 1.6; margin: 0 0 18px; }
.page-body .lead b { color: var(--fg); }
.page-body p { color: var(--fg-muted); font-size: 16px; line-height: 1.6; }
.page-body h2 { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 6px; color: var(--fg); }
.value { padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.value .vk { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--fg); margin-bottom: 4px; }
.value .vv { color: var(--fg-muted); font-size: 14.5px; line-height: 1.55; }

/* ===== Panel download band (home final CTA) ===== */
.download-band--panel {
  background: rgba(13, 17, 23, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 48px 40px;
}
@media (max-width: 640px) {
  .download-band--panel { padding: 32px 22px; margin: 0 16px 40px; }
}

/* ===== Our Story readability panels ===== */
.about-page main { padding: 40px 16px 0; }
.about-page .page-body,
.about-page .download-band {
  background: rgba(13, 17, 23, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  max-width: 760px;
  margin: 0 auto 24px;
}
.about-page .page-body { padding: 48px 40px; }
.about-page .download-band { padding: 48px 40px; }

@media (max-width: 640px) {
  .about-page .page-body,
  .about-page .download-band { padding: 32px 22px; }
}

/* ===== For Artists page ===== */
.artists-page main { padding: 40px 16px 0; }

.artists-hero {
  max-width: 760px; margin: 0 auto; padding: 56px 24px 32px; text-align: center;
}
.artists-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 5vw, 50px); letter-spacing: -0.03em; line-height: 1.05;
  margin: 12px 0 20px; color: #fff;
}
.artists-hero .lead { color: #C2CAD3; font-size: 18px; line-height: 1.6; margin: 0 0 8px; }
.artists-hero .lead-strong { color: var(--fg); font-weight: 600; font-size: 18px; margin: 0 0 28px; }
.artists-hero .cta-row { margin-bottom: 22px; }

.stat-chip {
  /* inline-block, not flex: flex turned the text nodes around <strong> into
     separate items that stacked into columns when the chip wrapped on mobile */
  display: inline-block; text-align: center; line-height: 1.5;
  background: var(--comp-wash); border: 1px solid var(--comp-ring);
  border-radius: var(--r-pill); padding: 8px 18px; margin: 0 auto 28px;
  font-size: 14px; color: var(--fg-muted);
}
.stat-chip strong { font-family: var(--font-display); color: #fff; font-size: 18px; margin: 0 4px; }

.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 12px; font-size: 15px; font-weight: 600;
  text-align: center; line-height: 1.3;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: #fff; color: #000; box-shadow: 0 0 24px rgba(124,58,237,0.18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(124,58,237,0.32); }
.btn-secondary {
  background: transparent; color: var(--fg); border: 1px solid rgba(255,255,255,0.18);
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

/* Quiz CTA: short label by default, full sentence on the widest screens */
.btn-quiz-cta .cta-long { display: none; }
@media (min-width: 1280px) {
  .btn-quiz-cta .cta-long { display: inline; }
  .btn-quiz-cta .cta-short { display: none; }
}

.artists-page .panel {
  background: rgba(13, 17, 23, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 48px 40px;
}
@media (max-width: 640px) {
  .artists-page .panel { padding: 32px 22px; }
}
.artists-page .panel h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; margin: 0 0 14px; color: var(--fg);
  text-align: center;
}
.artists-page .panel .key-line {
  color: #C2CAD3; font-size: 16px; line-height: 1.6; text-align: center;
  max-width: 620px; margin: 24px auto 0;
}
.artists-page .panel .key-line b { color: var(--fg); }

/* Flywheel — circular diagram (desktop) */
.flywheel-circle {
  display: none;
  position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1;
  margin: 32px auto 8px;
}
.flywheel-arcs { position: absolute; inset: 0; width: 100%; height: 100%; }
.flywheel-arc { fill: none; stroke: rgba(255,255,255,0.16); stroke-width: 2.5; }
.flywheel-arrowhead { fill: rgba(255,255,255,0.3); }
.flywheel-trace {
  fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 90 1490; transform-origin: 320px 320px;
  filter: drop-shadow(0 0 6px currentColor);
  opacity: 0.9;
  animation: flywheel-trace-spin 7s linear infinite, flywheel-trace-color 6s linear infinite;
}
@keyframes flywheel-trace-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes flywheel-trace-color {
  0%   { color: #4d089a; }
  25%  { color: #090c9b; }
  50%  { color: #a20054; }
  75%  { color: #218246; }
  100% { color: #4d089a; }
}
@media (prefers-reduced-motion: reduce) {
  .flywheel-trace { animation: none; }
}
.flywheel-node {
  position: absolute; transform: translate(-50%, -50%);
  width: 168px; text-align: center;
  background: rgba(22,27,34,0.9); border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-md); padding: 14px 12px; font-size: 13px; line-height: 1.35; color: var(--fg);
}
.flywheel-node--top    { left: 50%; top: 11%; }
.flywheel-node--right  { left: 89%; top: 50%; }
.flywheel-node--bottom { left: 50%; top: 89%; }
.flywheel-node--left   { left: 11%; top: 50%; }
.flywheel-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 168px; height: 168px;
  display: flex; align-items: center; justify-content: center;
}
.flywheel-center img { width: 84px; height: 84px; object-fit: contain; }

/* Flywheel — stacked fallback (mobile): nodes in a column, arrows pointing
   down between them */
.flywheel-flow {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; margin-top: 24px;
}
.flywheel-step {
  background: rgba(22,27,34,0.65); border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-md); padding: 10px 18px; font-size: 13.5px; color: var(--fg);
  max-width: 260px; text-align: center;
}
.flywheel-arrow { color: var(--fg-faint); font-size: 16px; transform: rotate(90deg); line-height: 1; }
.flywheel-loop { color: var(--fg-muted); font-size: 13px; text-align: center; margin-top: 14px; }

@media (min-width: 700px) {
  .flywheel-circle { display: block; }
  .flywheel-flow, .flywheel-loop { display: none; }
}

/* Revenue calculator */
.calculator-panel {
  border-color: var(--comp-ring);
  box-shadow: 0 0 60px rgba(77,8,154,0.20);
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 28px; }
@media (max-width: 720px) { .calc-grid { grid-template-columns: 1fr; gap: 32px; } }

.calc-field { margin-bottom: 22px; }
.calc-field-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 13.5px; color: var(--fg-muted); margin-bottom: 8px;
}
.calc-field-head label { flex: 1; }
.calc-field input[type="range"] {
  width: 100%; accent-color: var(--comp);
}
.calc-num-wrap { display: flex; align-items: center; gap: 6px; color: var(--fg-muted); font-size: 13px; }
.calc-num {
  width: 74px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px; padding: 5px 8px; color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: 14px; text-align: right;
}
.calc-num:focus { outline: none; border-color: var(--comp-ring); }
.calc-num { -moz-appearance: textfield; appearance: textfield; }
.calc-num::-webkit-inner-spin-button, .calc-num::-webkit-outer-spin-button {
  -webkit-appearance: none; margin: 0;
}

.calc-outputs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 14px; align-content: start;
}
.calc-output {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md); padding: 18px 16px; text-align: center;
}
.calc-output .co-label {
  display: flex; align-items: center; justify-content: center;
  min-height: 2.6em; line-height: 1.3; margin-bottom: 8px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint);
}
.calc-output .co-value {
  margin-top: auto;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2.7vw, 25px); color: #fff;
}
.calc-revenue-row {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.calc-output--full { grid-column: 1 / -1; }
.calc-output.highlight, .calc-output.highlight-green { padding: 24px 16px; }
.calc-output.highlight { background: var(--comp-wash); border-color: var(--comp-ring); }
.calc-output.highlight-green { background: rgba(33,130,70,0.18); border-color: rgba(33,130,70,0.45); }
.calc-output.highlight .co-value,
.calc-output.highlight-green .co-value { font-size: clamp(20px, 3.6vw, 34px); }

/* Missing layer comparison — stacked, COMP sits on top */
.layer-stack { margin-top: 32px; }
.layer-comp-card {
  position: relative; z-index: 2;
  max-width: 640px; margin: 0 auto -26px; margin-inline: auto;
  background: var(--comp-wash); border: 1px solid var(--comp-ring);
  border-radius: var(--r-lg); padding: 20px 20px 26px; text-align: center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.5), 0 0 40px rgba(77,8,154,0.35);
}
.layer-comp-card .lc-what {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 6px;
}
.layer-comp-card .lc-role { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; }

.layer-base-row {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px;
  padding-top: 48px;
}
.layer-card {
  background: rgba(22,27,34,0.5); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-md); padding: 20px 16px; text-align: center;
}
.layer-card .lc-what { font-size: 13px; color: var(--fg-faint); margin-bottom: 6px; }
.layer-card .lc-role { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--fg); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 56px 48px 40px; }
.site-footer .inner { max-width: 1100px; margin: 0 auto; display: flex; gap: 48px; flex-wrap: wrap; }
.site-footer .brand { flex: 0 0 auto; min-width: 180px; }
.site-footer .brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.site-footer .brand-row img { height: 32px; opacity: 0.9; }
.site-footer .brand-row span { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--fg); }
.site-footer .copy { color: var(--fg-faint); font-size: 12px; }
.site-footer .spacer { flex: 1; }
.footer-col .col-head { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--fg-muted); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--fg); }

/* ===== Desktop / mobile CTA split ===== */
.show-mobile-only { display: flex; }
.show-desktop-only { display: none; }
@media (min-width: 1100px) {
  .show-mobile-only { display: none; }
  .show-desktop-only { display: flex; }
}

/* ===== How COMP works — storyboard ===== */
.storyboard-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px; padding: 0 24px;
  max-width: 620px; margin: 0 auto;
}
.storyboard-panel {
  position: relative;
  background: rgba(22,27,34,0.65); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg); padding: 28px 24px 24px;
}
.storyboard-panel .sb-num {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-display); font-size: 13px; color: var(--fg-faint);
}
.storyboard-panel .sb-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--comp-wash); border: 1px solid var(--comp-ring);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--comp-light); margin-bottom: 16px;
}
.storyboard-panel h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 8px; color: var(--fg); }
.storyboard-panel p { color: var(--fg-muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* ===== Benefit sections ===== */
.benefit-section { padding: 8px 24px 56px; }
.benefit-card {
  max-width: 620px; margin: 0 auto; text-align: center;
  border-radius: var(--r-lg); padding: 40px 32px;
  background: rgba(22,27,34,0.5); border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--benefit-accent, var(--comp));
}
.benefit-card .comp-eyebrow { color: var(--benefit-accent, var(--comp-light)); margin-bottom: 12px; }
.benefit-card h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; line-height: 1.2;
  margin: 0 0 14px; color: #fff;
}
.benefit-card p { color: var(--fg-muted); font-size: 16px; line-height: 1.6; margin: 0; }
.benefit--purple { --benefit-accent: var(--comp-light); }
.benefit--blue    { --benefit-accent: #7C82F0; }
.benefit--green   { --benefit-accent: var(--success); }
.benefit--purple .benefit-card { border-left-color: var(--comp); }
.benefit--blue .benefit-card    { border-left-color: var(--blue); }
.benefit--green .benefit-card   { border-left-color: var(--success); }

/* ===== Resonance / founder story ===== */
.resonance-section { padding: 8px 24px 56px; }
.resonance-card {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: rgba(13, 17, 23, 0.72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg); padding: 48px 36px;
}
.resonance-card .comp-eyebrow { margin-bottom: 18px; }
.resonance-quote { margin: 0; }
.resonance-quote p {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(18px, 2.6vw, 24px); line-height: 1.55; color: #fff;
  margin: 0 0 18px;
}
.resonance-quote p:last-child { margin-bottom: 0; }
.resonance-attr { margin-top: 22px; color: var(--fg-muted); font-size: 14px; }

/* ===== Journal artifacts ===== */
.journal-artifacts-section .section-sub {
  color: var(--fg-muted); font-size: 15px; margin-top: 10px;
  max-width: 460px; margin-left: auto; margin-right: auto;
}
.journal-artifacts-section { overflow-x: clip; }
.artifact-grid {
  display: flex; justify-content: center; align-items: center;
  gap: 24px; margin: 36px auto 0; max-width: none;
}
.artifact-card {
  container-type: inline-size;
  margin: 0; text-align: center; flex: 0 1 262px;
  transition: transform .28s ease, filter .28s ease;
}
.artifact-card img {
  width: 100%; height: auto; display: block;
  /* The card art is a JPG (no alpha); clip the small square black wedges
     left in each corner so only the rounded card face shows. */
  border-radius: 10px;
  border-radius: 3.4cqw;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.60)) drop-shadow(0 0 32px rgba(77,8,154,0.16));
}
.artifact-card figcaption {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-muted);
  margin-top: 16px;
}

/* Phone: fan the three artifacts into an overlapping card stack. */
@media (max-width: 719px) {
  .artifact-grid { gap: 0; }
  .artifact-card { flex: 0 0 30vw; }
  .artifact-card figcaption { display: none; }
  .artifact-card:nth-child(1) { transform: rotate(-8deg) translateY(16px); transform-origin: bottom right; margin-right: -8vw; z-index: 1; }
  .artifact-card:nth-child(2) { transform: scale(1.05); z-index: 3; }
  .artifact-card:nth-child(3) { transform: rotate(8deg) translateY(16px); transform-origin: bottom left; margin-left: -8vw; z-index: 1; }
}

/* Wider screens: a gentle fan that straightens on hover. */
@media (min-width: 720px) {
  .artifact-card:nth-child(1) { transform: rotate(-3deg); }
  .artifact-card:nth-child(3) { transform: rotate(3deg); }
  .journal-artifacts-section .artifact-card:hover {
    transform: rotate(0) translateY(-6px) scale(1.03); z-index: 4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .artifact-card { transition: none; }
}

/* ===== COMPCASH visualization (surprise section) ===== */
.compcash-section .compcash-sub { color: var(--fg-muted); font-size: 15px; margin-top: 10px; }
.compcash-flow { max-width: 480px; margin: 0 auto; padding: 0 24px; }
.compcash-tier-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-muted); text-align: center; margin-bottom: 12px;
}
.compcash-sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: stretch; }
.compcash-src {
  background: rgba(22,27,34,0.65); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md); padding: 14px 8px; text-align: center;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  min-height: 84px;
}
.compcash-src .name { font-family: var(--font-display); font-size: 12.5px; font-weight: 600; color: var(--fg); line-height: 1.25; white-space: nowrap; }
.compcash-src .how { font-size: 11.5px; color: var(--fg-muted); line-height: 1.35; }

.compcash-pipe { position: relative; height: 56px; display: flex; justify-content: center; }
.compcash-pipe .rail { width: 2px; height: 100%; background: rgba(255,255,255,0.10); border-radius: 2px; }
.compcash-pipe .coin {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  animation: compcash-fall 2.2s linear infinite, compcash-cycle-color 6s linear infinite;
}
.compcash-pipe .coin.c2 { animation-delay: 0.75s, -1.5s; }
.compcash-pipe .coin.c3 { animation-delay: 1.5s, -3s; }
@keyframes compcash-fall {
  0% { top: -8px; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: calc(100% - 6px); opacity: 0; }
}
@keyframes compcash-cycle-color {
  0%   { background: var(--comp); box-shadow: 0 0 10px rgba(77,8,154,0.65); }
  25%  { background: var(--blue); box-shadow: 0 0 10px rgba(9,12,155,0.65); }
  50%  { background: var(--raspberry); box-shadow: 0 0 10px rgba(162,0,84,0.65); }
  75%  { background: var(--success); box-shadow: 0 0 10px rgba(63,185,80,0.65); }
  100% { background: var(--comp); box-shadow: 0 0 10px rgba(77,8,154,0.65); }
}

.compcash-wallet {
  background: linear-gradient(135deg, var(--comp), var(--blue));
  border-radius: var(--r-lg); padding: 18px; text-align: center;
  box-shadow: 0 8px 32px rgba(77,8,154,0.35);
}
.compcash-wallet .ico { width: 30px; height: 30px; display: block; margin: 0 auto; }
.compcash-wallet .label { font-size: 13px; font-weight: 700; color: #fff; margin-top: 8px; }

.compcash-gap { height: 26px; }

.compcash-fan { position: relative; height: 64px; margin-top: 8px; }
.compcash-fan svg { width: 100%; height: 100%; display: block; }
.compcash-fan path { stroke: rgba(255,255,255,0.10); stroke-width: 2; fill: none; }
.compcash-fan .dot { animation: compcash-cycle-fill 6s linear infinite; filter: drop-shadow(0 0 6px rgba(77,8,154,0.6)); }
.compcash-fan .dot:nth-child(2) { animation-delay: -1.5s; }
.compcash-fan .dot:nth-child(3) { animation-delay: -3s; }
@keyframes compcash-cycle-fill {
  0%   { fill: var(--comp); }
  25%  { fill: var(--blue); }
  50%  { fill: var(--raspberry); }
  75%  { fill: var(--success); }
  100% { fill: var(--comp); }
}

.compcash-artists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.compcash-artist {
  background: rgba(22,27,34,0.65); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md); padding: 14px 6px; text-align: center;
}
.compcash-artist .face {
  width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center; font-size: 15px; color: #fff;
}
.compcash-artist .a1 { background: linear-gradient(135deg, var(--comp), var(--raspberry)); }
.compcash-artist .a2 { background: linear-gradient(135deg, var(--blue), var(--comp)); }
.compcash-artist .a3 { background: linear-gradient(135deg, var(--raspberry), var(--blue)); }
.compcash-artist .name { font-size: 12.5px; font-weight: 600; color: var(--fg); }
.compcash-artist .paid { font-size: 11.5px; color: var(--success); margin-top: 3px; font-weight: 600; }

.compcash-split { margin-top: 26px; }
.compcash-split-bar {
  display: flex; min-height: 42px; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.compcash-split-bar .half {
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 12px; font-weight: 600; padding: 8px 4px; line-height: 1.25;
}
.compcash-split-bar .artist-half { width: 62%; background: linear-gradient(135deg, var(--raspberry), #c4297d); color: #fff; }
.compcash-split-bar .comp-half { width: 38%; background: rgba(22,27,34,0.8); color: var(--fg-muted); }
@media (min-width: 420px) {
  .compcash-split-bar .half { font-size: 13px; }
}
.compcash-caption { text-align: center; font-size: 13.5px; color: var(--fg-muted); margin-top: 12px; line-height: 1.55; }

@media (prefers-reduced-motion: reduce) {
  .compcash-pipe .coin, .compcash-fan .dot { animation: none !important; display: none; }
}

/* ===== Artists page: money-flow line + Maya vignette ===== */
.money-flow-line {
  color: var(--fg-muted); font-size: 14.5px; line-height: 1.6; text-align: center;
  max-width: 560px; margin: 14px auto 0;
}
.vignette-panel .vignette-body { max-width: 640px; margin: 0 auto; }
.vignette-panel p { color: #C2CAD3; font-size: 16px; line-height: 1.65; margin: 0 0 16px; }
.vignette-panel p:last-child { margin-bottom: 0; }
.vignette-panel strong { color: #fff; }
.vignette-panel .vignette-highlight {
  background: var(--comp-wash); border: 1px solid var(--comp-ring);
  border-radius: var(--r-md); padding: 16px 20px; text-align: center;
}

/* ===== Artists page: waitlist form ===== */
.waitlist-panel { max-width: 640px; }
.waitlist-form { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.waitlist-form[hidden] { display: none; }
.waitlist-field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.waitlist-field label { font-size: 13px; color: var(--fg-muted); }
.waitlist-field .req { color: var(--raspberry); }
.waitlist-field .opt { color: var(--fg-faint); font-weight: 400; }
.waitlist-field input {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 13px 16px; color: var(--fg); font-size: 14px; font-family: var(--font-sans);
}
.waitlist-field input::placeholder { color: var(--fg-faint); }
.waitlist-field input:focus { outline: none; border-color: var(--comp-ring); }
.waitlist-error { color: var(--raspberry); font-size: 13.5px; text-align: left; }
.waitlist-form .btn-primary { align-self: center; margin-top: 4px; }
.waitlist-success { text-align: center; padding: 12px 0 4px; }
.waitlist-success p { color: var(--fg-muted); font-size: 15px; margin: 6px 0 0; }

/* ===== Quiz page ===== */
.quiz-page main { padding: 40px 16px 0; }
.quiz-shell {
  --result-accent: var(--comp);
  max-width: 560px; margin: 0 auto 64px;
  background: rgba(13, 17, 23, 0.72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 44px 32px;
  text-align: center;
}
@media (max-width: 640px) { .quiz-shell { padding: 32px 20px; } }

.quiz-mascot-stage { display: flex; align-items: center; justify-content: center; margin-bottom: 20px; min-height: 150px; }

.quiz-shell h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 4vw, 32px); letter-spacing: -0.02em; margin: 8px 0 10px; color: #fff;
}
.quiz-sub { color: var(--fg-muted); font-size: 15px; margin: 0 0 28px; }
.quiz-shell #btn-start { width: 100%; max-width: 320px; }

.quiz-progress { margin-bottom: 8px; }
.quiz-progress-track {
  width: 100%; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.09); overflow: hidden;
}
.quiz-progress-fill { height: 100%; background: var(--comp); transition: width .3s ease; }
.quiz-progress-label { font-size: 12px; color: var(--fg-faint); margin-top: 8px; letter-spacing: 0.06em; text-transform: uppercase; }

.quiz-question {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(19px, 3vw, 24px); line-height: 1.35; letter-spacing: -0.01em;
  margin: 18px 0 22px; color: #fff;
}
.quiz-answers { display: flex; flex-direction: column; gap: 10px; }
.quiz-answer {
  text-align: left; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md); padding: 15px 18px; color: var(--fg); font-size: 14.5px; line-height: 1.45;
  font-family: var(--font-sans); cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.quiz-answer:focus-visible { border-color: var(--comp-ring); background: var(--comp-wash); outline: none; }
@media (hover: hover) and (pointer: fine) {
  .quiz-answer:hover { border-color: var(--comp-ring); background: var(--comp-wash); }
}

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.quiz-email-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.quiz-email-row input {
  flex: 1; min-width: 200px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 13px 18px; color: var(--fg); font-size: 14px; font-family: var(--font-sans);
}
.quiz-email-row input::placeholder { color: var(--fg-faint); }
.quiz-email-row input:focus { outline: none; border-color: var(--comp-ring); }
.quiz-email-error { color: var(--raspberry); font-size: 13.5px; margin-top: 10px; }

.result-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 4vw, 32px); letter-spacing: -0.02em; margin: 8px 0 16px;
  color: var(--result-accent);
}
.result-body { color: #C2CAD3; font-size: 16px; line-height: 1.65; margin: 0 0 16px; }
.result-body i { color: #fff; }
.result-card-wrap { margin: 0 0 20px; }
.result-card-wrap img { max-width: 100%; border-radius: var(--r-md); border: 1px solid var(--border); }
/* Primary row: the two download actions, same footprint */
.result-cta-row {
  display: flex; gap: 14px; justify-content: center; align-items: stretch;
  flex-wrap: wrap; margin-top: 4px;
}
/* Secondary row: the pass upsell, centered underneath */
.result-pass-row { display: flex; justify-content: center; margin-top: 14px; }
.result-pass {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; color: var(--fg);
  background: rgba(255,255,255,0.05); border: 1px solid var(--result-accent);
  border-radius: 12px; padding: 11px 20px; margin: 0;
}
