/* ============================================
   MUSIC'S MYWAY — design system
   Red + white + ink, waveform as signature motif
   ============================================ */

:root {
  --red: #C8102E;
  --red-dark: #96001C;
  --red-tint: #FDECEC;
  --ink: #17171B;
  --ink-soft: #3A3A40;
  --gray: #6B6B72;
  --line: #E7E5E5;
  --paper: #FFFFFF;
  --paper-dim: #FDF1F1;
  --white: #FFFFFF;

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius: 6px;
  --radius-lg: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  line-height: 1.05;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1 { font-size: clamp(42px, 7vw, 84px); }
h2 { font-size: clamp(30px, 4.5vw, 52px); }
h3 { font-size: clamp(20px, 2.6vw, 26px); }

p { margin: 0 0 18px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-block;
}

.lede {
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 620px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost-white:hover { background: var(--white); color: var(--ink); }
.btn-block { width: 100%; justify-content: center; }

/* top utility bar */
.top-bar {
  background: var(--ink);
  color: rgba(255,255,255,0.82);
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 9px 0;
}
.top-bar .wrap { display: flex; justify-content: flex-end; gap: 22px; }
.top-bar a { color: rgba(255,255,255,0.82); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.top-bar a:hover { color: #fff; }
@media (max-width: 560px) {
  .top-bar .wrap { justify-content: center; }
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,249,246,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(250,249,246,0.98);
  box-shadow: 0 4px 24px rgba(23,23,27,0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height 0.25s ease;
}
.site-header.is-scrolled .wrap { height: 68px; }
.site-header .logo-img { height: 40px; width: auto; transition: height 0.25s ease; }
.site-header.is-scrolled .logo-img { height: 32px; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 15px;
}
.nav-links a {
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle .bar {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: max-height 0.3s ease;
}
.mobile-menu.open { max-height: 420px; }
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  display: block;
  padding: 12px 4px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .mobile-cta { padding: 8px 4px 0; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: block; }
}

/* fade-up entrance, respects reduced motion */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { animation: none; opacity: 1; transform: none; }
}

/* section rhythm */
section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--white); }
.bg-ink .gray-text { color: rgba(255,255,255,0.68); }
.bg-red { background: var(--red); color: var(--white); }
.bg-red h1, .bg-red h2, .bg-red h3 { color: var(--white); }
.bg-red .gray-text { color: rgba(255,255,255,0.85); }
.bg-red .eyebrow { color: var(--white); }
.bg-dim { background: var(--paper-dim); }

.gray-text { color: var(--gray); }

hr.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* hero visual: pulsing rings + glowing core, the signature hero effect */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}
.hero-visual .ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--red);
  opacity: 0.4;
  width: 140px;
  height: 140px;
  animation: ripple 3.6s ease-out infinite;
}
.hero-visual .ring:nth-child(2) { animation-delay: 1.2s; }
.hero-visual .ring:nth-child(3) { animation-delay: 2.4s; }
@keyframes ripple {
  0% { width: 140px; height: 140px; opacity: 0.45; }
  100% { width: 420px; height: 420px; opacity: 0; }
}
.hero-visual .core {
  position: relative;
  z-index: 2;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 70px rgba(200, 16, 46, 0.32);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.hero-visual .core:hover { transform: scale(1.03); box-shadow: 0 0 90px rgba(200, 16, 46, 0.42); }
.hero-visual .core:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.hero-visual .core svg { width: 60%; height: 60%; position: absolute; }
.hero-visual .core .icon-playing { display: none; }
.hero-visual .core.is-playing .icon-idle { display: none; }
.hero-visual .core.is-playing .icon-playing { display: block; }
.hero-visual .float-bars {
  position: absolute;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
  opacity: 0.75;
}
.hero-visual .float-bars.top-left { top: 18px; left: 10px; }
.hero-visual .float-bars.bottom-right { bottom: 24px; right: 6px; }
.hero-visual .float-bars i {
  width: 5px;
  border-radius: 2px;
  background: var(--red);
  animation: wf 2.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual .ring { animation: none; opacity: 0.2; }
  .hero-visual .float-bars i { animation: none; height: 60% !important; }
}
.waveform {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
}
.waveform .bar {
  width: 8px;
  background: var(--red);
  border-radius: 3px;
  transform-origin: bottom;
  animation: wf 2.4s ease-in-out infinite;
}
.waveform.on-dark .bar { background: var(--white); }
@keyframes wf {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .waveform .bar { animation: none; }
}

/* hero */
.hero {
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero-meta {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray);
  flex-wrap: wrap;
}
.hero-meta strong { color: var(--ink); }

/* grid helpers */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.problem-card { padding: 32px 28px; }
.problem-card .num {
  font-family: var(--font-mono);
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

/* process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step .step-num {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--red-tint);
  -webkit-text-stroke: 1.5px var(--red);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}

/* pricing */
.tier-card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tier-card.featured {
  border-color: var(--red);
  box-shadow: 0 12px 32px rgba(200,16,46,0.14);
  transform: translateY(-8px);
}
.tier-name { font-family: var(--font-display); font-size: 26px; letter-spacing: 0.5px; }
.tier-price {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 700;
  color: var(--red);
  margin: 6px 0 4px;
}
.tier-price span { font-size: 15px; color: var(--gray); font-weight: 500; }
.tier-for { color: var(--gray); font-size: 14px; margin-bottom: 20px; }
.tier-list { list-style: none; margin: 0 0 28px; padding: 0; font-size: 15px; }
.tier-list li { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; }
.tier-list li:last-child { border-bottom: none; }
.tier-list li::before { content: "\2713"; color: var(--red); font-weight: 700; }

/* meter bars, scope indicator */
.meter { display: flex; gap: 4px; margin: 14px 0 20px; }
.meter i { width: 14px; height: 22px; border-radius: 2px; background: var(--line); }
.meter i.lit { background: var(--red); }

/* testimonial */
.testimonial-card {
  background: var(--white);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 28px 30px;
}
.testimonial-card .quote { font-size: 18px; font-family: var(--font-body); }
.testimonial-card .who { font-family: var(--font-mono); font-size: 13px; color: var(--gray); margin-top: 12px; }

/* forms */
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.field .hint { font-size: 13px; color: var(--gray); margin-top: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--white);
  color: var(--ink);
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); }
.radio-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .radio-tiles { grid-template-columns: 1fr; } }
.radio-tile {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  position: relative;
}
.radio-tile input { position: absolute; opacity: 0; }
.radio-tile.checked { border-color: var(--red); background: var(--red-tint); }
.radio-tile .t-name { font-weight: 700; }
.radio-tile .t-price { font-family: var(--font-mono); color: var(--red); font-weight: 700; }

.dropzone {
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  background: var(--white);
  cursor: pointer;
}
.dropzone.drag { border-color: var(--red); background: var(--red-tint); }
.file-list { margin-top: 16px; font-family: var(--font-mono); font-size: 13px; }
.file-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }

.upload-toggle { display: flex; gap: 10px; margin-bottom: 18px; }
.toggle-btn {
  flex: 1;
  padding: 12px;
  text-align: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}
.toggle-btn.active { border-color: var(--red); color: var(--red); background: var(--red-tint); }

/* footer */
footer.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a { text-decoration: none; color: rgba(255,255,255,0.7); }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-row { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.badge {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

.scarcity-strip {
  background: var(--ink);
  color: var(--white);
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: center;
}
.scarcity-strip .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3EDD6B; margin-right: 10px; }

/* before/after A-B audio player */
.ab-player {
  max-width: 460px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  text-align: center;
}
.ab-toggle {
  display: inline-flex;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 16px;
}
.ab-btn {
  border: none;
  background: transparent;
  padding: 8px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  color: var(--gray);
  font-family: var(--font-body);
  transition: background 0.15s ease, color 0.15s ease;
}
.ab-btn.active { background: var(--red); color: var(--white); }
.ab-audio { width: 100%; height: 40px; }

.audio-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.audio-row:last-child { border-bottom: none; }
.audio-row .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--paper-dim);
  color: var(--gray);
}
.audio-row .tag.after { background: var(--red-tint); color: var(--red); }
audio { width: 100%; height: 36px; }

.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
}

.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { margin-bottom: 8px; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 18px; font-weight: 700; }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.small-note { font-size: 13px; color: var(--gray); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
