/* Softness — soft night + glow */
:root {
  --bg: #0c0b12;
  --bg-elevated: #15131f;
  --bg-card: #1a1726;
  --bg-soft: #221e30;
  --border: rgba(196, 181, 253, 0.12);
  --border-strong: rgba(196, 181, 253, 0.22);
  --text: #f3eef8;
  --text-muted: #a89bb8;
  --text-soft: #c4b5d8;
  --lavender: #c4b5fd;
  --lavender-deep: #8b7cf0;
  --sage: #a8c5b0;
  --cream: #f5efe6;
  --glow: rgba(139, 124, 240, 0.35);
  --glow-soft: rgba(196, 181, 253, 0.15);
  --success: #7dd3a8;
  --warn: #e8c07a;
  --elevated: #f0a0a8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 720px;
  --max-wide: 960px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(139, 124, 240, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(168, 197, 176, 0.08), transparent 45%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(196, 181, 253, 0.06), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--lavender); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cream); }

img { max-width: 100%; }

/* Layout */
.site-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow { max-width: var(--max); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 11, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    "left brand right"
    "menu menu menu";
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.55rem;
  padding: 0.85rem 0 0.7rem;
}
.nav > .logo {
  grid-area: brand;
  justify-self: center;
  text-align: center;
  font-size: 1.35rem;
}
.nav > .nav-links {
  grid-area: menu;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 0.35rem 1rem;
}
@media (min-width: 768px) {
  .nav > .nav-links {
    padding-top: 0.45rem;
    margin-top: 0.15rem;
    border-top: 1px solid rgba(196, 181, 253, 0.12);
  }
}
.nav > .lang-switch {
  grid-area: right;
  justify-self: end;
}
.nav > .nav-toggle {
  grid-area: right;
  justify-self: end;
}
/* If both lang + toggle share right, stack them horizontally */
.nav > .lang-switch + .nav-toggle {
  /* toggle takes right on small screens; lang hidden below 900 via existing rule */
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender-deep), var(--sage));
  box-shadow: 0 0 16px var(--glow);
  flex-shrink: 0;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 0.50rem 1.25rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.35rem 0;
}

.nav-links a:hover,
.nav-links a.active { color: var(--lavender); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-soft);
  border-radius: 1px;
  transition: 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  list-style: none;
  padding: 0 0 1rem;
  border-top: 1px solid var(--border);
}

.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:hover { color: var(--lavender); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .nav-links a {
    font-size: 0.84rem;
    white-space: nowrap;
    padding: 0.25rem 0.15rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  font-family: inherit;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--lavender-deep), #6b5ce0);
  color: #fff;
  box-shadow: 0 4px 20px var(--glow);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(139, 124, 240, 0.5);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-card);
  color: var(--lavender);
  border-color: var(--lavender);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.btn-ghost:hover { color: var(--lavender); border-color: var(--border); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

.btn-block { width: 100%; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card-hover:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 40px rgba(139, 124, 240, 0.12);
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--cream) 0%, var(--lavender) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

.hero .lead {
  color: var(--text-soft);
  max-width: 36rem;
  margin: 1rem auto 2rem;
  font-size: 1.05rem;
}

/* Cosmic hero — full-bleed universe */
.hero-cosmic {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(88, 70, 160, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(60, 40, 120, 0.4), transparent 55%),
    radial-gradient(ellipse 45% 35% at 90% 20%, rgba(120, 90, 200, 0.22), transparent 50%),
    linear-gradient(180deg, #07060e 0%, #0c0b14 45%, #0c0b12 100%);
  border-bottom: 1px solid var(--border);
}

.hero-cosmic-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-stars {
  position: absolute;
  inset: -20%;
  background-repeat: repeat;
  opacity: 0.85;
}

.hero-stars-a {
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 30% 65%, rgba(196,181,253,0.85), transparent),
    radial-gradient(1.5px 1.5px at 55% 15%, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(245,239,230,0.8), transparent),
    radial-gradient(1.5px 1.5px at 85% 75%, rgba(196,181,253,0.7), transparent),
    radial-gradient(1px 1px at 20% 85%, rgba(255,255,255,0.65), transparent),
    radial-gradient(1px 1px at 45% 50%, rgba(168,197,176,0.55), transparent),
    radial-gradient(2px 2px at 92% 30%, rgba(255,255,255,0.9), transparent);
  background-size: 320px 280px;
  animation: star-twinkle 3.5s ease-in-out infinite alternate, star-drift 45s linear infinite;
}

.hero-stars-b {
  background-image:
    radial-gradient(1px 1px at 15% 40%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1.5px 1.5px at 40% 10%, rgba(196,181,253,0.6), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 80% 55%, rgba(245,239,230,0.55), transparent),
    radial-gradient(2px 2px at 25% 25%, rgba(139,124,240,0.45), transparent),
    radial-gradient(1px 1px at 75% 90%, rgba(255,255,255,0.4), transparent);
  background-size: 420px 360px;
  opacity: 0.65;
  animation: star-twinkle 4.5s ease-in-out infinite alternate-reverse, star-drift 60s linear infinite reverse;
}

.hero-nebula {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 40% 35% at 30% 40%, rgba(139, 124, 240, 0.28), transparent 70%),
    radial-gradient(ellipse 35% 30% at 70% 55%, rgba(100, 80, 180, 0.22), transparent 65%),
    radial-gradient(ellipse 45% 25% at 50% 20%, rgba(168, 197, 176, 0.08), transparent 60%);
  filter: blur(8px);
  animation: nebula-drift 22s ease-in-out infinite alternate;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  mix-blend-mode: screen;
}

.hero-orb-1 {
  width: 10px; height: 10px;
  top: 22%; left: 18%;
  background: radial-gradient(circle, rgba(245,239,230,0.95), rgba(196,181,253,0.2) 60%, transparent);
  box-shadow: 0 0 24px 8px rgba(196,181,253,0.35);
  animation: orb-float 18s ease-in-out infinite;
}

.hero-orb-2 {
  width: 14px; height: 14px;
  top: 58%; right: 22%;
  background: radial-gradient(circle, rgba(168,197,176,0.9), rgba(139,124,240,0.15) 55%, transparent);
  box-shadow: 0 0 28px 10px rgba(168,197,176,0.25);
  animation: orb-float 24s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 8px; height: 8px;
  bottom: 28%; left: 48%;
  background: radial-gradient(circle, rgba(196,181,253,1), transparent 70%);
  box-shadow: 0 0 20px 6px rgba(139,124,240,0.4);
  animation: orb-float 15s ease-in-out infinite 2s;
}

@keyframes star-twinkle {
  0% { opacity: 0.55; }
  50% { opacity: 0.95; }
  100% { opacity: 0.7; }
}

@keyframes star-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-80px, 36px, 0) scale(1.08); }
}

@keyframes nebula-drift {
  from { transform: translate3d(-4%, -2%, 0) scale(1) rotate(0deg); }
  to { transform: translate3d(5%, 3%, 0) scale(1.12) rotate(3deg); }
}

@keyframes orb-float {
  0% { transform: translate3d(0, 0, 0); opacity: 0.4; }
  50% { transform: translate3d(18px, -22px, 0); opacity: 0.75; }
  100% { transform: translate3d(-8px, 12px, 0); opacity: 0.5; }
}

.hero-cosmic-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 2.75rem 1.25rem 3rem;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-cosmic-inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 2rem;
    padding: 3.25rem 1.25rem 3.5rem;
    text-align: left;
  }
  .hero-cosmic .hero-cta-group { justify-content: flex-start; }
  .hero-cosmic .lead { margin-left: 0; margin-right: 0; }
}

.hero-cosmic-figure {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(196, 181, 253, 0.18),
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(139, 124, 240, 0.2);
}

.hero-cosmic-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 6, 14, 0.35) 100%);
  pointer-events: none;
}

.hero-cosmic-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 40%;
}

.hero-cosmic-copy {
  position: relative;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-cosmic-copy { text-align: left; }
}

.hero-cosmic .hero-eyebrow {
  text-shadow: 0 0 20px rgba(139, 124, 240, 0.45);
}

.hero-cosmic h1 {
  text-shadow: 0 0 40px rgba(196, 181, 253, 0.25);
}

.hero-cosmic .lead {
  color: rgba(243, 238, 248, 0.88);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero-cta-group {
  justify-content: center;
  flex-wrap: wrap;
}

/* Quieter $0.50 offer below hero */
.section-quiet-offer {
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
}

.home-offer-quiet {
  text-align: center;
  padding: 1.15rem 1.25rem 1.25rem;
  background: rgba(26, 23, 38, 0.72);
  border-color: rgba(196, 181, 253, 0.14);
  box-shadow: none;
}

.home-offer-quiet h2 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-soft);
}

.home-offer-quiet .hero-eyebrow {
  margin-bottom: 0.35rem;
  opacity: 0.75;
  font-size: 0.72rem;
}

.home-offer-body {
  color: var(--text-muted);
  margin: 0 auto 1rem;
  max-width: 30rem;
  font-size: 0.92rem;
}

.home-offer-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.7rem;
  opacity: 0.85;
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.85rem;
  font-weight: 450;
}

@media (prefers-reduced-motion: reduce) {
  .hero-stars-a,
  .hero-stars-b,
  .hero-nebula,
  .hero-orb-1,
  .hero-orb-2,
  .hero-orb-3 {
    animation: none !important;
  }
  .hero-stars-a,
  .hero-stars-b { opacity: 0.75; }
  .hero-nebula { transform: none; }
}

/* Sections */
.section { padding: 2.5rem 0; }

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--glow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Meditation cards */
.med-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .med-grid { grid-template-columns: repeat(2, 1fr); }
}

.med-card {
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  text-align: left;
  width: 100%;
  font-family: inherit;
  color: inherit;
}

.med-card:hover {
  border-color: var(--lavender);
  transform: translateY(-2px);
}

.med-card.locked { opacity: 0.55; }
.med-card.locked:hover { transform: none; border-color: var(--border); }

.med-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--glow-soft);
  color: var(--lavender);
  border: 1px solid var(--border);
}

.badge-member {
  background: rgba(232, 192, 122, 0.15);
  color: var(--warn);
  border-color: rgba(232, 192, 122, 0.3);
}

.badge-free {
  background: rgba(125, 211, 168, 0.12);
  color: var(--success);
  border-color: rgba(125, 211, 168, 0.50);
}

/* Meditation detail / timer */
.med-detail { display: none; }
.med-detail.active { display: block; }
.med-list.active { display: block; }
.med-list.hidden { display: none; }

.timer-display {
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--lavender);
  margin: 1.5rem 0;
  text-shadow: 0 0 40px var(--glow);
}

.steps-list {
  list-style: none;
  counter-reset: step;
  margin: 1.5rem 0;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 3.25rem;
  margin-bottom: 0.75rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--glow-soft);
  color: var(--lavender);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
}

.steps-list li.active-step {
  border-color: var(--lavender);
  background: rgba(139, 124, 240, 0.08);
}

/* Forms */
label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 0.4rem;
}

input[type="text"],
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--lavender);
  box-shadow: 0 0 0 3px var(--glow-soft);
}

textarea { min-height: 120px; resize: vertical; }

.form-group { margin-bottom: 1.25rem; }

/* Check-in */
.scale-group {
  margin-bottom: 2rem;
}

.scale-question {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.scale-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.scale-btn {
  padding: 0.85rem 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  text-align: center;
  transition: 0.15s;
}

.scale-btn:hover {
  border-color: var(--lavender);
  color: var(--text);
}

.scale-btn.selected {
  background: rgba(139, 124, 240, 0.2);
  border-color: var(--lavender);
  color: var(--lavender);
  box-shadow: 0 0 16px var(--glow-soft);
}

.scale-btn .score-num {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: inherit;
}

.checkin-screen { display: none; }
.checkin-screen.active { display: block; }

.result-band {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 1rem 0;
}

.band-low {
  background: rgba(125, 211, 168, 0.15);
  color: var(--success);
  border: 1px solid rgba(125, 211, 168, 0.3);
}

.band-mild {
  background: rgba(232, 192, 122, 0.15);
  color: var(--warn);
  border: 1px solid rgba(232, 192, 122, 0.3);
}

.band-elevated {
  background: rgba(240, 160, 168, 0.15);
  color: var(--elevated);
  border: 1px solid rgba(240, 160, 168, 0.35);
}

.disclaimer-box {
  background: rgba(240, 160, 168, 0.08);
  border: 1px solid rgba(240, 160, 168, 0.50);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.disclaimer-box strong {
  display: block;
  color: var(--elevated);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.disclaimer-box p {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.crisis-box {
  background: rgba(139, 124, 240, 0.1);
  border: 2px solid var(--lavender-deep);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.crisis-box h3 {
  color: var(--lavender);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.crisis-box p { color: var(--text-soft); margin-bottom: 0.75rem; }

.crisis-box a {
  font-weight: 600;
  font-size: 1.15rem;
}

.exercise-list {
  list-style: none;
  margin: 1rem 0;
}

.exercise-list li {
  padding: 0.85rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.exercise-list li a { font-weight: 500; }

/* Pricing */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--lavender);
  box-shadow: 0 0 40px var(--glow-soft);
}

.price-card .price {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--cream);
  margin: 0.5rem 0;
}

.price-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  flex: 1;
}

.price-features li {
  padding: 0.45rem 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage);
}

.popular-tag {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lavender-deep);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.50rem 0.75rem;
  border-radius: 999px;
}

/* Affirmations */
.affirmation-list {
  list-style: none;
  margin: 1rem 0;
}

.affirmation-list li {
  padding: 1rem 1.25rem;
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, rgba(139, 124, 240, 0.12), rgba(168, 197, 176, 0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--cream);
}

.history-item {
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.history-item .meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.50);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}

@media (min-width: 560px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand .logo { margin-bottom: 0.5rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; }

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  color: var(--text-soft);
  font-size: 0.9rem;
  padding: 0.50rem 0;
}

.footer-col a:hover { color: var(--lavender); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dev-unlock {
  opacity: 0.35;
  font-size: 0.7rem;
  background: none;
  border: 1px dashed var(--border);
  color: var(--text-muted);
  padding: 0.50rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
}

.dev-unlock:hover { opacity: 0.8; }

/* Legal */
.legal-content {
  padding: 2.5rem 0 3rem;
}

.legal-content h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-content .updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.6rem;
  color: var(--lavender);
}

.legal-content p,
.legal-content li {
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.hidden { display: none !important; }

.member-status {
  font-size: 0.75rem;
  color: var(--sage);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(125, 211, 168, 0.1);
  border: 1px solid rgba(125, 211, 168, 0.2);
}

.cta-band {
  text-align: center;
  padding: 3rem 1.5rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, rgba(139, 124, 240, 0.12), rgba(168, 197, 176, 0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { color: var(--text-muted); margin-bottom: 1.5rem; }

.checkin-choice-card {
  text-align: center;
  padding: 2rem 1.5rem;
  transition: border-color 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.checkin-choice-card:hover {
  border-color: var(--lavender);
  color: inherit;
}

.checkin-choice-card h3 { margin: 0.75rem 0 0.4rem; color: var(--text); }
.checkin-choice-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Trust / reviews */
.review-list { display: flex; flex-direction: column; gap: 1rem; }
.review-card p { font-size: 1.05rem; margin-bottom: 0.75rem; }
.review-card footer { color: var(--text-muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.audio-panel { margin: 1.5rem 0 2rem; }
.audio-panel audio { width: 100%; margin-top: 0.75rem; }
.audio-tracks { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 640px) { .audio-tracks { grid-template-columns: 1fr 1fr; } }

/* Teachings */
.teacher-grid { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
@media (min-width: 700px) { .teacher-grid { grid-template-columns: 1fr 1fr; } }
.teacher-card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; color: var(--lavender); }
.teacher-card .era { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.65rem; }
.exercise-card { margin: 1.25rem 0; }
.exercise-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.exercise-steps { margin: 0.75rem 0 1rem; padding-left: 1.15rem; color: var(--text-soft); }
.exercise-steps li { margin-bottom: 0.4rem; }
.exercise-out { margin-top: 1rem; padding: 0.85rem 1rem; background: var(--bg-soft); border-radius: var(--radius-sm); border: 1px solid var(--border); display: none; }
.exercise-out.visible { display: block; }
.quote-soft { font-style: italic; color: var(--text-soft); border-left: 3px solid var(--lavender-deep); padding-left: 0.85rem; margin: 0.75rem 0; }
.attr { font-size: 0.8rem; color: var(--text-muted); font-style: normal; display: block; margin-top: 0.35rem; }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.15rem;
  border-radius: 999px;
  background: rgba(196, 181, 253, 0.08);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.lang-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}
.lang-btn:hover { color: var(--lavender); }
.lang-btn.active,
.lang-btn[aria-pressed="true"] {
  background: rgba(139, 124, 240, 0.28);
  color: var(--cream);
}
.lang-switch-mobile {
  list-style: none;
  padding: 0.75rem 0 0.50rem;
}
.lang-switch-mobile .lang-switch { margin-top: 0.50rem; }
/* Mobile: keep EN/ES/FR visible in header (left of logo), not only inside hamburger */
@media (max-width: 900px) {
  .nav > .lang-switch {
    display: inline-flex;
    grid-area: left;
    justify-self: start;
    align-self: center;
    z-index: 2;
  }
  .nav > .lang-switch .lang-btn {
    font-size: 0.65rem;
    padding: 0.3rem 0.45rem;
  }
  /* Avoid duplicate language control inside the drawer */
  .lang-switch-mobile { display: none !important; }
}
@media (min-width: 901px) {
  .nav > .nav-toggle { display: none; }
  .lang-switch-mobile { display: none; }
}
.ambience-toggle-wrap input { accent-color: var(--lavender-deep); }

.home-offer {
  padding: 1.75rem 1.5rem;
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-card));
}
.home-offer .price-pill {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.50rem 0.75rem;
  border-radius: 999px;
  background: var(--glow-soft);
  color: var(--lavender);
  font-size: 0.85rem;
}



/* Full-page meditating cosmos background (homepage) — LIVE MOTION */
body.page-home {
  background-color: #07060e;
}
body.page-home .site-wrap {
  position: relative;
  z-index: 1;
  background: transparent;
}
body.page-home .site-header {
  background: rgba(12, 11, 18, 0.55);
  backdrop-filter: blur(10px);
}
body.page-home .section .card,
body.page-home .home-offer,
body.page-home .cta-band,
body.page-home .feature-card {
  background: rgba(26, 23, 38, 0.82);
  backdrop-filter: blur(8px);
}
body.page-home .site-footer {
  background: rgba(12, 11, 18, 0.75);
  backdrop-filter: blur(8px);
}

/* Fixed animated galaxy behind entire homepage */
.cosmos-stage {
  display: none;
}
body.page-home .cosmos-stage {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #07060e;
}
.cosmos-photo {
  position: absolute;
  inset: -8%;
  background: url("../images/hero-cosmos.webp") center 40% / cover no-repeat;
  opacity: 0.95;
  animation: galaxy-kenburns 36s ease-in-out infinite alternate;
  will-change: transform;
}
.cosmos-photo-b {
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: galaxy-drift 28s ease-in-out infinite alternate-reverse;
  filter: hue-rotate(12deg) saturate(1.15);
}
.cosmos-energy {
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 0deg at 50% 45%,
      transparent 0deg,
      rgba(139,124,240,0.12) 40deg,
      transparent 80deg,
      rgba(168,197,176,0.08) 140deg,
      transparent 180deg,
      rgba(196,181,253,0.14) 240deg,
      transparent 300deg,
      rgba(139,124,240,0.1) 330deg,
      transparent 360deg);
  animation: energy-spin 60s linear infinite;
  filter: blur(28px);
  opacity: 0.85;
}
.cosmos-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(7,6,14,0.05), rgba(7,6,14,0.42) 65%, rgba(7,6,14,0.62) 100%),
    linear-gradient(180deg, rgba(7,6,14,0.2) 0%, rgba(7,6,14,0.12) 35%, rgba(7,6,14,0.55) 100%);
}
body.page-home .cosmos-stage .hero-stars-a,
body.page-home .cosmos-stage .hero-stars-b {
  opacity: 1;
  z-index: 2;
}
body.page-home .cosmos-stage .hero-nebula {
  opacity: 0.95;
  z-index: 2;
}
body.page-home .cosmos-stage .hero-orb {
  z-index: 3;
  opacity: 0.85;
}

@keyframes galaxy-kenburns {
  0% { transform: scale(1.05) translate3d(0, 0, 0); }
  50% { transform: scale(1.18) translate3d(-2.5%, 1.5%, 0); }
  100% { transform: scale(1.12) translate3d(2%, -2%, 0); }
}
@keyframes galaxy-drift {
  0% { transform: scale(1.2) translate3d(3%, -2%, 0) rotate(-1deg); }
  100% { transform: scale(1.35) translate3d(-4%, 3%, 0) rotate(2deg); }
}
@keyframes energy-spin {
  from { transform: rotate(0deg) scale(1.1); }
  to { transform: rotate(360deg) scale(1.1); }
}

/* Disable old static ::before image so motion shows */
body.page-home::before {
  display: none !important;
  content: none !important;
}

.hero-cosmic {
  min-height: 100vh;
  min-height: 100dvh;
  background: transparent !important;
  border-bottom: none;
}
.hero-photo {
  /* hero-local photo optional; stage carries motion */
  opacity: 0;
}
.hero-photo-veil {
  background:
    radial-gradient(ellipse 55% 50% at 50% 45%, rgba(7,6,14,0.05), rgba(7,6,14,0.25) 70%, rgba(7,6,14,0.35) 100%),
    linear-gradient(180deg, rgba(7,6,14,0.1) 0%, transparent 40%, rgba(7,6,14,0.35) 100%);
}
.hero-cosmic-inner {
  grid-template-columns: 1fr !important;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  justify-items: center;
}
.hero-cosmic .hero-cta-group { justify-content: center !important; }
.hero-cosmic .lead { margin-left: auto !important; margin-right: auto !important; }
.hero-cosmic-figure { display: none !important; }
.hero-cosmic-copy {
  padding: 1rem 0.5rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
@media (prefers-reduced-motion: reduce) {
  .cosmos-photo,
  .cosmos-photo-b,
  .cosmos-energy,
  body.page-home .cosmos-stage .hero-stars-a,
  body.page-home .cosmos-stage .hero-stars-b,
  body.page-home .cosmos-stage .hero-nebula,
  body.page-home .cosmos-stage .hero-orb {
    animation: none !important;
  }
  .cosmos-photo { transform: scale(1.08); }
}



/* —— Expand foundation: progress / guides / forms —— */
.progress-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-top: 1.15rem;
}
.progress-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.2rem;
  border-radius: var(--radius-sm);
  background: rgba(196, 181, 253, 0.04);
  border: 1px solid transparent;
}
.progress-day.active {
  border-color: rgba(196, 181, 253, 0.28);
  background: rgba(139, 124, 240, 0.16);
}
.progress-day-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(168, 155, 184, 0.35);
}
.progress-day.active .progress-day-dot {
  background: var(--lavender);
  box-shadow: 0 0 10px var(--glow);
}
.progress-day-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.progress-stat {
  font-size: 2rem;
  font-weight: 600;
  color: var(--lavender);
  margin: 0.25rem 0 0;
  letter-spacing: -0.02em;
}

.guide-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.guide-card { display: block; text-decoration: none; color: inherit; }
.guide-card h2 { font-size: 1.15rem; margin: 0 0 0.4rem; color: var(--lavender); }
.guide-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

.article-prose h2 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-soft);
}
.article-prose p { margin-bottom: 1rem; color: var(--text-soft); }
.article-prose .steps-list { margin: 0.75rem 0 1.25rem; }

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lavender);
  box-shadow: 0 0 0 3px rgba(139, 124, 240, 0.15);
}

.welcome-status {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  min-height: 1.25em;
}
.welcome-status.ok { color: var(--success); }
.welcome-status.err { color: var(--elevated); }

.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* —— Manifestation paths —— */
.mp-disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.mp-section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-weight: 500;
}
.mp-path-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .mp-path-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .mp-path-grid { grid-template-columns: repeat(4, 1fr); }
}
.mp-path-card {
  text-align: left;
  cursor: pointer;
  width: 100%;
  font: inherit;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.25rem;
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.mp-path-card:hover,
.mp-path-card:focus-visible {
  border-color: var(--border-strong);
  box-shadow: 0 0 28px var(--glow-soft);
  outline: none;
}
.mp-path-card h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.1rem;
  color: var(--lavender);
}
.mp-path-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.mp-path-icon {
  display: inline-block;
  font-size: 1.35rem;
  color: var(--sage);
  line-height: 1;
}
.mp-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--text-soft);
}
.mp-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.mp-counter-wrap {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.mp-goal-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.mp-goal-row .btn.active {
  border-color: var(--lavender);
  color: var(--lavender);
  background: rgba(139, 124, 240, 0.12);
}
.mp-count-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(196, 181, 253, 0.12);
  overflow: hidden;
  max-width: 280px;
  margin: 0 auto;
}
.mp-count-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--lavender-deep), var(--lavender));
  border-radius: 999px;
  transition: width 0.25s ease;
}
.mp-count-label {
  margin: 0.75rem 0 0;
  font-variant-numeric: tabular-nums;
  color: var(--lavender);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.mp-timer {
  font-size: 2.75rem;
  margin: 1rem 0;
}
.mp-complete {
  margin-top: 0.85rem;
  color: var(--sage);
  font-size: 0.95rem;
}
.mp-stories-caveat {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.5;
  padding: 0.85rem 1rem;
  border-left: 3px solid rgba(196, 181, 253, 0.35);
  background: rgba(139, 124, 240, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.mp-stories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mp-story h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--lavender);
}
.mp-story p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}
.mp-last-session {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.mp-last-session p { margin: 0; }
.home-paths-hook {
  margin-top: 1.25rem;
}
.home-paths-hook h2 {
  font-size: 1.2rem;
  margin: 0.35rem 0 0.5rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.manifest-paths-cta {
  margin: 1.25rem 0;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: rgba(139, 124, 240, 0.08);
}
.manifest-paths-cta p {
  margin: 0 0 0.85rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Auth nav */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.auth-email {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-signout {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}
.nav-mobile .nav-auth {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile .auth-email {
  display: block;
  max-width: none;
  margin-bottom: 0.35rem;
}
.welcome-status.err { color: #e8a0a0; }
.welcome-status.ok { color: var(--sage); }


/* Guided step currently spoken aloud */
.steps-list li.speaking {
  background: rgba(140, 180, 150, 0.18);
  border-radius: 0.5rem;
  padding: 0.35rem 0.5rem;
  outline: 1px solid rgba(140, 180, 150, 0.35);
}

/* --- Member gap: packs, routines, progress bars, locked preview, upgrade banner --- */
.med-packs { margin: 1.25rem 0 1.75rem; }
.packs-heading { font-size: 1.15rem; margin: 0 0 0.35rem; }
.packs-sub { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 1rem; }
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.pack-card h3 { font-size: 1.05rem; margin: 0 0 0.75rem; }
.pack-list { list-style: none; padding: 0; margin: 0; }
.pack-item { margin: 0.35rem 0; }
.pack-item.locked { opacity: 0.7; }
.pack-item-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  padding: 0.5rem 0.65rem;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pack-item-btn:hover {
  border-color: var(--border-strong);
  background: rgba(139, 124, 240, 0.06);
}

.locked-step-preview {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0.25rem;
  font-style: italic;
}
.locked-included {
  font-size: 0.8rem;
  color: var(--sage);
  margin: 0.25rem 0 0.5rem;
  font-weight: 600;
}
.med-card.locked { opacity: 0.85; }

.locked-preview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 28, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 1.25rem;
}
.locked-preview-card {
  max-width: 26rem;
  width: 100%;
  margin: 0;
}
.locked-preview-text {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 0.75rem 0 0;
  line-height: 1.5;
}

.upgrade-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid rgba(139, 124, 240, 0.35);
  background: linear-gradient(135deg, rgba(139, 124, 240, 0.1), rgba(140, 180, 150, 0.1));
}
.upgrade-banner p { margin: 0; color: var(--text-soft); font-size: 0.95rem; flex: 1 1 12rem; }

.member-voice-note {
  font-size: 0.8rem;
  color: var(--sage);
  margin: 0.35rem 0 0.5rem;
}
.member-sound-hint.hidden { display: none; }

.routine-card { margin-bottom: 1.25rem; }
.routine-card-head h2 { font-size: 1.2rem; margin: 0.65rem 0 0.35rem; }
.routine-desc { color: var(--text-muted); font-size: 0.92rem; margin: 0 0 0.5rem; }
.routine-progress { font-size: 0.85rem; color: var(--sage); margin: 0; }
.routine-days { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.routine-day {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}
.routine-day-num {
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 3.5rem;
}
.routine-day-link {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}
.routine-day-link:hover { text-decoration: underline; }
.routine-preview { margin-top: 1rem; }
.routine-lock-note { color: var(--sage); font-size: 0.9rem; font-weight: 600; margin: 0.5rem 0 0.75rem; }
.routine-locked { opacity: 0.95; }

.week-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.35rem;
  height: 7rem;
  margin: 0.5rem 0 1rem;
  padding: 0.5rem 0.25rem 0;
}
.week-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 0.35rem;
}
.week-bar-fill {
  width: 70%;
  max-width: 2rem;
  min-height: 4px;
  border-radius: 0.4rem 0.4rem 0.2rem 0.2rem;
  background: linear-gradient(180deg, rgba(139, 124, 240, 0.75), rgba(140, 180, 150, 0.65));
}
.week-bar-label { font-size: 0.7rem; color: var(--text-muted); }
.insight-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}
.insight-list li { margin: 0.25rem 0; }
.progress-insights-gate { text-align: left; }

.journal-tag { font-size: 0.9rem; color: var(--text-muted); margin: 0.35rem 0; }
.history-blur { filter: blur(0); } /* free users see last entry clear */
.remind-banner { margin-bottom: 1rem; }
