/* ==========================================================================
   SOFA2SLUGGER — VISUAL OVERHAUL (v2.1)
   Target: Invisible, Audio-First, Dark Mode
   Philosophy: The page should feel like a paused state of the product
   ========================================================================== */

:root {
  /* Core Palette - Dark Mode */
  --bg-core: #0d0d0d;
  --bg-warm: #111110;
  --bg-surface: #1a1a19;

  /* Typography Colors - Softer contrast */
  --text-primary: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.5);
  --text-tertiary: rgba(255, 255, 255, 0.3);
  --text-disabled: rgba(255, 255, 255, 0.15);

  /* Single Accent - Warm Grey (Monochrome conformance) */
  --accent: #a09d96;
  /* Slightly brighter for Nav readability */
  --accent-subtle: rgba(160, 157, 150, 0.15);
  --accent-glow: rgba(160, 157, 150, 0.08);

  /* Typography */
  --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 450;

  /* Spacing - Generous rhythm */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --space-3xl: 128px;

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background:
    /* Subtle grain texture */
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E"),
    /* Vertical gradient - near-black to warmer charcoal */
    linear-gradient(180deg, var(--bg-core) 0%, var(--bg-warm) 50%, var(--bg-core) 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-stack);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

main {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: var(--space-lg);
  padding-bottom: var(--space-3xl);
  display: flex;
  flex-direction: column;
}

/* Landing page layout */
.landing {
  max-width: 100%;
  padding: 0;
}

/* ==========================================================================
   TYPOGRAPHY - Restrained, calm
   ========================================================================== */

h1 {
  font-size: 1.75rem;
  font-weight: var(--font-weight-light);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* Hero Tagline */
.hero-tagline {
  font-size: 1rem;
  font-weight: var(--font-weight-regular);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Primary Button - Minimal, confident */
.btn-primary,
button.btn-primary,
.btn-overhaul-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-lg);
  background-color: var(--text-primary);
  color: var(--bg-core);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-medium);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: opacity 0.15s ease;
  text-decoration: none;
}

.btn-primary:hover,
.btn-overhaul-primary:hover {
  opacity: 0.85;
}

.btn-primary:active,
.btn-overhaul-primary:active {
  opacity: 0.75;
}

.btn-primary:disabled {
  background-color: var(--text-disabled);
  color: var(--text-tertiary);
  cursor: not-allowed;
}

/* Secondary Button */
.btn-overhaul-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: transparent;
  color: var(--text-tertiary);
  border: 1px solid var(--text-disabled);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: var(--space-md);
  width: 100%;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.btn-overhaul-secondary:hover {
  border-color: var(--text-tertiary);
  color: var(--text-secondary);
}

/* Back Link */
.back {
  display: inline-block;
  color: var(--text-tertiary);
  font-size: 0.85rem;
  margin-bottom: var(--space-xl);
  transition: color 0.15s;
}

.back:hover {
  color: var(--text-secondary);
}

/* ==========================================================================
   SESSION LIST (GYM)
   ========================================================================== */

.sessions {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--text-disabled);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.session-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-core);
  padding: var(--space-md) var(--space-md);
  cursor: pointer;
  transition: background 0.15s ease;
}

.session-card:hover:not(.locked) {
  background: var(--bg-surface);
}

.session-card.locked {
  opacity: 0.35;
  cursor: default;
}

.session-card.active {
  background: var(--accent-glow);
}

.session-info {
  display: flex;
  gap: var(--space-md);
  align-items: baseline;
}

.session-info-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.session-header-row {
  display: flex;
  gap: var(--space-md);
  align-items: baseline;
}

.session-num {
  font-family: monospace;
  color: var(--text-secondary);
  /* Increased visibility from disabled */
  font-size: 0.85rem;
}

.session-name {
  color: var(--text-primary);
  font-weight: var(--font-weight-regular);
  font-size: 0.95rem;
}

.session-tags {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.session-card button {
  background: transparent;
  border: 1px solid var(--text-disabled);
  color: var(--text-secondary);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.15s ease;
}

.session-card:hover button {
  opacity: 1;
  transform: translateX(0);
}

.session-card.locked button {
  display: none;
}

/* ==========================================================================
   THE PLAYER - Fullscreen, immersive
   ========================================================================== */

.player {
  position: fixed;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E"),
    var(--bg-core);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.player.hidden {
  transform: translateY(100vh);
  opacity: 0;
  pointer-events: none;
}

/* Header Context */
.player-header {
  position: absolute;
  top: var(--space-lg);
  width: 100%;
  text-align: center;
}

#session-title {
  display: block;
  font-size: 0.75rem;
  font-weight: var(--font-weight-regular);
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Main Timer Display */
.timer-digits,
#timer-display {
  font-size: clamp(72px, 22vw, 160px);
  font-weight: var(--font-weight-light);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* Instruction / Phase */
.instruction-container {
  margin-top: var(--space-lg);
  text-align: center;
  max-width: 500px;
  min-height: 2rem;
}

#phase {
  font-size: 1.1rem;
  font-weight: var(--font-weight-regular);
  color: var(--text-secondary);
}

/* Audio Player Container */
.audio-player-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  padding: var(--space-lg);
}

#session1-audio {
  width: 100%;
}

/* Controls */
.player-controls {
  position: absolute;
  bottom: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

/* Hide auxiliary buttons */
#btn-prev,
#btn-next,
#btn-stop {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

/* Play/Pause Button */
.ctrl-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: var(--space-md);
  font-size: 1.75rem;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.ctrl-btn:hover {
  opacity: 1;
}

.ctrl-btn:active {
  opacity: 0.6;
}

.ctrl-btn.hidden {
  display: none;
}

/* ==========================================================================
   NAVIGATION - Demoted, quiet
   ========================================================================== */

.main-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(0deg, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0) 100%);
  z-index: 100;
}

.nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-disabled);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  transition: color 0.15s;
  padding: var(--space-sm);
}

.nav-card:hover {
  color: var(--text-tertiary);
}

/* Active nav state - uses accent */
.nav-card.active,
.nav-card[aria-current="page"] {
  color: var(--accent);
}

.nav-title {
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-desc {
  display: none;
}

/* ==========================================================================
   LANDING PAGE - Sequence of visual beats
   ========================================================================== */

/* Splash Screen - Static, no animation */
.splash {
  position: fixed;
  inset: 0;
  background: var(--bg-core);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.splash.fade-out {
  opacity: 0;
  pointer-events: none;
}

.splash-title {
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: var(--font-weight-light);
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.splash-subtitle {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
}

.splash-enter {
  position: absolute;
  bottom: var(--space-xl);
  font-size: 0.7rem;
  color: var(--text-disabled);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hero Section - First visual beat */
.hero-fold {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  /* No border - spacing creates structure */
}

.hero-fold header {
  margin-bottom: var(--space-lg);
}

.hero-fold h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: var(--font-weight-light);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.hero-visual {
  margin-bottom: var(--space-xl);
  max-width: 320px;
  position: relative;
  /* Anchor for vignette */
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px 10px var(--bg-core);
  pointer-events: none;
  border-radius: var(--radius-sm);
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  /* Removed grayscale, added slight contrast for depth */
  filter: contrast(1.1) saturate(0.9);
  display: block;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  max-width: 280px;
}

.scroll-hint {
  position: absolute;
  bottom: var(--space-lg);
  color: var(--text-disabled);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* Detail Fold - Second visual beat */
.detail-fold {
  max-width: 480px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

/* Content Sections - Breathing room */
.content-section {
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: 1.1rem;
  font-weight: var(--font-weight-regular);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.feature-list,
.check-list {
  list-style: none;
  padding: 0;
  color: var(--text-secondary);
}

.feature-list li {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
  font-size: 0.9rem;
  line-height: 1.7;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 4px;
  height: 1px;
  background: var(--text-disabled);
}

/* Intro Card - Subtle surface */
.intro-card {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
}

.intro-lead {
  font-size: 1rem;
  font-weight: var(--font-weight-regular);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.intro-list {
  list-style: none;
  padding: 0;
}

.intro-list li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
  position: relative;
}

.intro-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}

.intro-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9rem;
}

/* Emotional hook */
.emotional-hook {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
  padding: 0 var(--space-md);
}

/* Why audio */
.why-audio {
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.why-audio p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Pricing */
.pricing-anchor {
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.value-anchor {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.value-anchor strong {
  color: var(--text-primary);
  font-size: 1rem;
}

/* Testimonial */
.testimonial {
  text-align: center;
  color: var(--text-tertiary);
  font-style: italic;
  margin: var(--space-xl) 0;
  padding: 0 var(--space-lg);
  font-size: 0.9rem;
  line-height: 1.7;
}

.testimonial-quote::before,
.testimonial-quote::after {
  color: var(--text-disabled);
}

/* Reassurance */
.reassurance {
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.reassurance-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Red accent - "The inserted 2" */
.red-2 {
  display: inline-block;
  color: #9e2a2b;
  /* Deep, muted, physical red */
  position: relative;
  top: 0.12em;
  /* Deliberately lower - feels heavy/placed */
  margin: 0 0.04em;
  /* Slight isolation */
}

/* Manifesto status */
#manifesto-status {
  color: var(--text-tertiary);
  font-size: 0.75rem;
}

/* Grain overlay (global) */
.grain-overlay {
  display: none;
  /* Using body background instead */
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.hidden {
  display: none !important;
}

.invisible-ui {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 480px) {
  :root {
    --space-xl: 48px;
    --space-2xl: 72px;
  }

  .main-nav {
    gap: var(--space-lg);
    padding: var(--space-sm) var(--space-md);
  }

  .nav-card {
    font-size: 0.65rem;
  }

  .hero-fold {
    padding: var(--space-lg);
  }

  .hero-fold {
    padding: var(--space-lg);
  }

  .hero-fold {
    padding: var(--space-lg);
  }

  .detail-fold {
    padding: var(--space-xl) var(--space-md);
  }
}

/* ==========================================================================
   VISUAL REFINEMENT - NAVIGATION & PLAYER & GYM
   ========================================================================== */

/* 1. Main Navigation - Brighter, clearer */
.main-nav {
  background: var(--bg-core);
  /* Solid background for clarity */
  border-top: 1px solid var(--text-disabled);
  padding-bottom: max(var(--space-md), env(safe-area-inset-bottom));
}

.nav-card {
  opacity: 0.7;
  /* Default visible state */
  color: var(--text-secondary);
}

.nav-card.active,
.nav-card[aria-current="page"] {
  opacity: 1;
  color: var(--text-primary);
  /* Use primary white, not accent color */
}

/* 2. Player - In-place "Bottom Sheet" style */
.player {
  /* Reset previous fullscreen styles */
  position: fixed;
  inset: auto 0 0 0;
  /* Bottom anchored */
  top: auto;
  height: auto;
  min-height: 50vh;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  border-top: 1px solid var(--text-disabled);
  background: var(--bg-surface);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(110%);
  /* Hidden state */
  z-index: 200;
  /* Above nav if desired, or below? usually above */
  padding-bottom: max(var(--space-xl), env(safe-area-inset-bottom));
}

.player.hidden {
  transform: translateY(110%);
  opacity: 1;
  /* Opacity handled by transform hide */
  pointer-events: none;
}

/* Adjust player visuals for compact space */
.player-header {
  position: relative;
  top: 0;
  margin-bottom: var(--space-lg);
}

.timer-digits {
  font-size: clamp(64px, 15vw, 120px);
}

.player-controls {
  position: relative;
  bottom: 0;
  margin-top: var(--space-lg);
}

/* 3. Gym - Visual Locking */
.session-card.locked {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(1);
}

.session-card.locked .session-info-col {
  position: relative;
}

/* Padlock Icon using CSS shapes/emoji or simple ASCII for now */
.session-card.locked::after {
  content: '🔒';
  /* Simple lock icon */
  font-size: 1.2rem;
  color: var(--text-tertiary);
  margin-left: var(--space-md);
  opacity: 0.5;
}

/* Splash Pulse Animation for image interactivity hint */
.visual-pulse {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
  animation: pulse-white 2s infinite;
  pointer-events: none;
}

@keyframes pulse-white {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* ==========================================================================
   FIGHT IQ (VISUAL OVERHAUL)
   Target: Archival, elite training manual, calm structure
   ========================================================================== */

/* Page layout */
.fightiq-page h1 {
  margin-bottom: var(--space-xs);
}

.subtitle {
  color: var(--text-tertiary);
  font-size: 0.95rem;
  margin-bottom: var(--space-2xl);
  font-weight: var(--font-weight-regular);
}

/* Glossary Container */
.glossary {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
  /* Generous spacing between groups */
  position: relative;
  padding-left: var(--space-lg);
}

/* Vertical structural line */
.glossary::before {
  content: '';
  position: absolute;
  left: 0;
  top: var(--space-xs);
  bottom: var(--space-xs);
  width: 1px;
  background: var(--text-disabled);
  opacity: 0.3;
}

/* Term groupings provided by structural layout in HTML */
.term-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Category Anchor */
.iq-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-md);
  display: block;
}

/* Term Item */
.term-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.term-name {
  font-size: 1.25rem;
  font-weight: var(--font-weight-light);
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xs);
}

/* Definiton Sections (What/Why/How) */
.term-section {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-md);
  align-items: baseline;
}

.term-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: right;
  line-height: 1.7;
  /* Match p line-height */
}

.term-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Mobile Adjustment for definition layout */
@media (max-width: 400px) {
  .term-section {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }

  .term-label {
    text-align: left;
    margin-top: var(--space-sm);
  }
}

/* ==========================================================================
   TALE OF THE TAPE (VISUAL OVERHAUL)
   Target: Instrument panel, calmness, structural progress
   ========================================================================== */

/* 1. Instrument Panel Readout */
.tape-level {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-md) 0;
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid var(--text-disabled);
}

.level-label {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: var(--font-weight-regular);
  letter-spacing: -0.01em;
}

.level-sessions {
  font-family: monospace;
  /* Technical feel */
  font-size: 0.8rem;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* 2. Phases Container - The Timeline */
.tape-phases {
  position: relative;
  padding-left: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
  /* Increased vertical spacing for rest */
}

/* Vertical structural line */
.tape-phases::before {
  content: '';
  position: absolute;
  left: 0;
  top: var(--space-xs);
  bottom: var(--space-xs);
  width: 1px;
  background: var(--text-disabled);
  opacity: 0.3;
}

/* 3. Phase States */
.phase {
  position: relative;
  transition: opacity 0.3s ease, color 0.3s ease;
}

/* State: Future (Default) */
.phase {
  opacity: 0.4;
  /* Recessed */
}

.phase-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* Tighter internal grouping */
  margin-bottom: var(--space-md);
}

.category-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-xs);
}

.phase-name {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: var(--font-weight-light);
}

.phase-range {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

.phase-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 420px;
  margin-bottom: var(--space-md);
}

/* State: Active (Current Focus) */
.phase.active {
  opacity: 1;
  /* Full presence */
}

.phase.active .phase-name {
  font-weight: var(--font-weight-medium);
  /* Subtly heavier */
}

/* Active Marker on the vertical line */
.phase.active::before {
  content: '';
  position: absolute;
  left: calc(var(--space-lg) * -1 - 1px);
  /* Align with line */
  top: 0.4em;
  width: 3px;
  height: 1.2em;
  background: var(--text-secondary);
  /* Neutral marker */
  border-radius: 1px;
}

/* State: Done (Settled) */
.phase.done {
  opacity: 0.6;
  /* Quiet, settled */
}

.phase.done .phase-name {
  text-decoration: none;
  /* No strikethrough, just quiet */
}

/* 4. Progress Ticks (Pips) - Minimalist */
.phase-sessions {
  display: flex;
  gap: 4px;
  /* Tight grouping */
  margin-top: var(--space-sm);
}

.pip {
  display: block;
  width: 2px;
  height: 6px;
  background: var(--text-disabled);
  opacity: 0.3;
  transition: background 0.2s;
}

/* Completed sessions - slightly darker/filled, but neutral */
.pip.complete {
  opacity: 1;
  background: var(--text-secondary);
}

.phase.active .pip {
  height: 8px;
  /* Slightly taller in active phase */
}

/* ==========================================================================
   VISIBILITY TWEAKS (User Feedback: "Numbers and padlocks too faint")
   ========================================================================== */

.session-num {
  color: rgba(255, 255, 255, 0.75) !important;
  /* Clearly visible but not quite primary */
}

.session-card.locked {
  opacity: 0.8 !important;
  /* Much less faded to ensure readability */
}

.session-card.locked::after {
  opacity: 1 !important;
  /* Full opacity padlock */
  color: var(--text-secondary) !important;
  /* Brighter icon */
}

/* ==========================================================================
   MANIFESTO BLOCK
   ========================================================================== */

.manifesto-block {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  text-align: center;
  border: 1px solid var(--text-disabled);
}

.manifesto-intro {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.btn-manifesto {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: transparent;
  border: 1px solid var(--text-secondary);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-manifesto:hover {
  background: var(--accent-subtle);
  border-color: var(--text-primary);
}

.manifesto-icon {
  font-size: 0.85rem;
}

.manifesto-status {
  color: var(--text-tertiary);
  font-size: 0.75rem;
  margin-top: var(--space-md);
  min-height: 1.2em;
}

/* ==========================================================================
   GYM CTAs
   ========================================================================== */

.gym-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.cta-session1 {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-size: 1rem;
}

.btn-secondary,
.cta-unlock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: transparent;
  border: 1px solid var(--text-tertiary);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-secondary:hover,
.cta-unlock:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.orientation-cue {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

/* ==========================================================================
   NEW PLAYER - Bottom Sheet with Ring Card Design
   ========================================================================== */

.player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-top: 1px solid var(--text-disabled);
  box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  padding: var(--space-lg);
  padding-bottom: max(var(--space-xl), env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.player.hidden {
  transform: translateY(110%);
  pointer-events: none;
}

/* Round Card Holder - Ring Girl Style */
.round-card-holder {
  position: relative;
  margin-bottom: var(--space-md);
  perspective: 800px;
}

.round-card {
  background: linear-gradient(145deg, #f5f5f5 0%, #e0e0e0 100%);
  border: 3px solid #333;
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-xl);
  text-align: center;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: rotateX(5deg);
  position: relative;
}

/* Subtle "hands" holding the card */
.round-card::before,
.round-card::after {
  content: '';
  position: absolute;
  bottom: -8px;
  width: 20px;
  height: 24px;
  background: linear-gradient(to bottom, #d4a574 0%, #c4956a 100%);
  border-radius: 4px 4px 8px 8px;
  z-index: -1;
}

.round-card::before {
  left: 15%;
  transform: rotate(-5deg);
}

.round-card::after {
  right: 15%;
  transform: rotate(5deg);
}

.round-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.round-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
  font-family: 'Georgia', serif;
}

/* Player Title */
.player-title {
  font-size: 1rem;
  font-weight: var(--font-weight-regular);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  text-align: center;
}

/* Progress Container */
.progress-container {
  width: 100%;
  max-width: 400px;
  margin-bottom: var(--space-lg);
}

.progress-bar {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--text-disabled);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--text-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.progress-bar::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--text-primary);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.time-display {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-sm);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-family: monospace;
}

/* Player Controls */
.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
}

.ctrl-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: var(--space-md);
  border-radius: 50%;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ctrl-btn:hover {
  background: var(--accent-subtle);
}

.ctrl-btn:active {
  transform: scale(0.95);
}

.ctrl-icon {
  font-size: 1.25rem;
  font-weight: bold;
}

.ctrl-btn-main {
  width: 64px;
  height: 64px;
  background: var(--text-primary);
  color: var(--bg-core);
}

.ctrl-btn-main:hover {
  background: rgba(255, 255, 255, 0.9);
}

.ctrl-btn-main .ctrl-icon {
  font-size: 1.5rem;
}

/* Close Button */
.btn-close-player {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-sm);
  line-height: 1;
  transition: color 0.15s ease;
}

.btn-close-player:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 400px) {
  .round-card {
    padding: var(--space-sm) var(--space-lg);
  }

  .round-number {
    font-size: 2rem;
  }

  .player-controls {
    gap: var(--space-lg);
  }

  .ctrl-btn-main {
    width: 56px;
    height: 56px;
  }
}

/* ==========================================================================
   PRE-LAUNCH CLARITY PASS - Format & Conversion Elements
   ========================================================================== */

/* Format Clarity Statement - Near CTA */
.format-clarity {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: var(--space-md) 0;
  padding: var(--space-md);
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--text-tertiary);
}

/* Outcome Statement */
.outcome-statement {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: var(--space-lg) 0;
  font-style: italic;
}

/* Pricing Clarification */
.pricing-clarify {
  color: var(--text-tertiary);
  font-size: 0.8rem;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
}

/* Trust Anchor */
.trust-anchor {
  color: var(--text-tertiary);
  font-size: 0.8rem;
  margin-top: var(--space-lg);
  font-style: italic;
}

/* Session Status Labels */
.session-status {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: var(--space-sm);
}

.session-free {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.session-locked {
  color: var(--text-tertiary);
  background: transparent;
  border: 1px solid var(--text-disabled);
}

.session-unlocked {
  color: var(--text-secondary);
  background: transparent;
}

/* Post-Session 1 Conversion Block */
.session1-complete-block {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  text-align: center;
  border: 1px solid var(--text-disabled);
}

.session1-complete-block.hidden {
  display: none;
}

.complete-heading {
  font-size: 1.25rem;
  font-weight: var(--font-weight-regular);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.complete-reassure {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.complete-forward {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.complete-cta {
  display: inline-block;
  text-decoration: none;
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
}

/* ========================================
   SESSION CARD LOCKED STATE
======================================== */

.session-card.locked {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.session-card.locked::before {
  content: "🔒";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.session-card.coming-soon::before {
  content: "⏳";
}

.session-card.locked .session-play {
  background: #666;
  cursor: not-allowed;
}

.session-status.session-locked {
  color: #999;
  font-weight: normal;
}

.session-status.session-unlocked {
  color: var(--red-2);
  font-weight: bold;
}