/* ──────────────────────────────────────────────────────────────────────────
   Vayu — design system
   calm · embodied · slightly sacred · poetic · nervous-system aware
   ──────────────────────────────────────────────────────────────────────── */

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  /* Color — warm neutrals, misty blues, muted lavender */
  --bg:            #F7F5F2;
  --bg-card:       #FFFFFF;
  --bg-subtle:     #F0EDE8;
  --bg-deep:       #1A1714;

  --fg:            #1C1917;
  --fg-muted:      #4A4340;
  --fg-faint:      #7A7068;
  --fg-inverse:    #FAF8F5;

  --accent:        #7C6E9B;   /* muted lavender */
  --accent-hover:  #6559823;
  --accent-hover:  #5E5278;
  --accent-light:  #EDE9F5;
  --accent-warm:   #A07060;   /* clay tone */
  --accent-warm-light: #F2EAE5;

  --mist:          #8BA8B5;   /* misty blue */
  --mist-light:    #E8F0F4;
  --sage:          #7A9B8A;   /* misty green */
  --sage-light:    #E8F2EC;

  --border:        #E2DDD8;
  --border-soft:   #ECEAE6;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.06), 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow:    0 1px 2px rgba(28, 25, 23, 0.04), 0 8px 24px rgba(28, 25, 23, 0.07);
  --shadow-lg: 0 2px 6px rgba(28, 25, 23, 0.05), 0 24px 60px -12px rgba(28, 25, 23, 0.11);
  --shadow-glow: 0 0 40px rgba(124, 110, 155, 0.18), 0 0 80px rgba(124, 110, 155, 0.08);

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Layout */
  --max-w:        680px;
  --max-w-wide:   960px;
  --max-w-narrow: 520px;

  /* Fluid spacing */
  --space-1:  clamp(0.4rem, 0.4vw + 0.3rem, 0.55rem);
  --space-2:  clamp(0.6rem, 0.5vw + 0.5rem, 0.85rem);
  --space-3:  clamp(0.9rem, 0.6vw + 0.75rem, 1.15rem);
  --space-4:  clamp(1.15rem, 0.8vw + 1rem, 1.5rem);
  --space-5:  clamp(1.5rem, 1.2vw + 1.25rem, 2rem);
  --space-6:  clamp(2rem, 2vw + 1.5rem, 2.75rem);
  --space-7:  clamp(2.5rem, 3vw + 2rem, 4rem);
  --space-8:  clamp(3.5rem, 4vw + 2.5rem, 5.5rem);
  --space-9:  clamp(5rem, 6vw + 3rem, 7.5rem);

  /* Fluid type */
  --text-xs:   clamp(0.72rem, 0.05vw + 0.7rem, 0.78rem);
  --text-sm:   clamp(0.82rem, 0.05vw + 0.8rem, 0.88rem);
  --text-base: clamp(0.95rem, 0.1vw + 0.92rem, 1.02rem);
  --text-md:   clamp(1.05rem, 0.2vw + 1rem, 1.14rem);
  --text-lg:   clamp(1.15rem, 0.4vw + 1.05rem, 1.3rem);
  --text-xl:   clamp(1.3rem, 0.7vw + 1.1rem, 1.55rem);
  --text-2xl:  clamp(1.6rem, 1.2vw + 1.25rem, 2rem);
  --text-3xl:  clamp(2rem, 2.2vw + 1.4rem, 2.7rem);
  --text-4xl:  clamp(2.5rem, 4vw + 1.4rem, 3.8rem);

  /* Typography */
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Motion */
  --t-fast: 120ms;
  --t:      200ms;
  --t-slow: 400ms;
  --ease:   cubic-bezier(0.32, 0.72, 0.42, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 60% at 50% -5%, rgba(124, 110, 155, 0.07), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(139, 168, 181, 0.05), transparent 70%),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(122, 155, 138, 0.04), transparent 60%);
  background-attachment: fixed;
  color: var(--fg);
  line-height: 1.65;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

::selection { background: var(--accent-light); color: var(--fg); }

main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 0.18em;
  transition: color var(--t-fast) var(--ease);
}
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

button { font: inherit; color: inherit; cursor: pointer; }

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: var(--text-3xl); letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-size: var(--text-2xl); letter-spacing: -0.015em; line-height: 1.18; }
h3 { font-size: var(--text-xl); letter-spacing: -0.01em; }
h4 { font-size: var(--text-lg); font-family: var(--font-sans); font-weight: 500; letter-spacing: 0; }

p { margin-bottom: 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.serif { font-family: var(--font-serif); }
.serif--italic { font-family: var(--font-serif); font-style: italic; }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container--narrow {
  max-width: var(--max-w-narrow);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container--mid {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: var(--space-8); }
.section--sm { padding-block: var(--space-6); }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: var(--max-w-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.nav__logo:hover { color: var(--accent); }

.nav__logo-glyph { flex-shrink: 0; }
.nav__logo-glyph .logo-outer { fill: none; stroke: var(--fg); stroke-width: 1.5; transition: stroke var(--t-fast); }
.nav__logo-glyph .logo-inner { fill: var(--accent); opacity: 0.8; transition: opacity var(--t-fast); }
.nav__logo:hover .logo-outer { stroke: var(--accent); }
.nav__logo:hover .logo-inner { opacity: 1; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__link {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  text-decoration: none;
}
.nav__link:hover { color: var(--accent); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-soft);
  padding-block: var(--space-5);
  margin-top: var(--space-8);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  max-width: var(--max-w-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-faint);
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  text-decoration: none;
}
.footer__logo:hover { color: var(--accent); }

.footer__tagline {
  font-size: var(--text-xs);
  color: var(--fg-faint);
  font-style: italic;
  margin: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.2;
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--t) var(--ease),
    color var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    transform var(--t) var(--ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

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

.btn--primary {
  background: var(--fg);
  color: var(--bg);
  box-shadow: 0 1px 2px rgba(28, 24, 20, 0.18);
}
.btn--primary:hover {
  background: #2A241F;
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(28, 24, 20, 0.18);
  text-decoration: none;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(94, 82, 120, 0.25);
}
.btn--accent:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(94, 82, 120, 0.22);
  text-decoration: none;
}

.btn--outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--fg-muted);
  border-color: transparent;
}
.btn--ghost:hover {
  color: var(--accent);
  background: var(--accent-light);
  text-decoration: none;
}

.btn--sm   { padding: 0.5rem 1.1rem; font-size: var(--text-xs); }
.btn--lg   { padding: 0.9rem 1.8rem; font-size: var(--text-base); }
.btn--full { width: 100%; }

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2vw + 1rem, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.card--lift { box-shadow: var(--shadow); }
.card--lift-lg { box-shadow: var(--shadow-lg); }

.card--subtle {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  box-shadow: none;
}

.card--accent-border { border-left: 3px solid var(--accent); }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.75rem; }

label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

input, textarea, select {
  display: block;
  width: 100%;
  padding: 0.72rem 1rem;
  font-size: var(--text-base);
  font-family: var(--font-sans);
  background: var(--bg-card);
  color: var(--fg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 110, 155, 0.12);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(4rem, 8vw + 1rem, 7rem) 0 clamp(3rem, 6vw + 1rem, 5.5rem);
  text-align: center;
  overflow: hidden;
}

.hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw + 1rem, 4.2rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: var(--space-5);
  max-width: 14ch;
  margin-inline: auto;
}

.hero__sub {
  font-size: var(--text-lg);
  color: var(--fg-muted);
  max-width: 44ch;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.hero__cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ── Logo SVG ────────────────────────────────────────────────────────────── */
.vayu-logo {
  display: block;
  margin-inline: auto;
}

/* ── Progress bar ────────────────────────────────────────────────────────── */
.progress-bar {
  height: 2px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-6);
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--mist));
  border-radius: var(--radius-full);
  transition: width 0.4s var(--ease-out);
}

/* ── Intake step ─────────────────────────────────────────────────────────── */
.intake-step {
  min-height: calc(100dvh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--space-7);
}

.intake-step__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  width: 100%;
}

.intake-step__meta {
  font-size: var(--text-xs);
  color: var(--fg-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.intake-step__question {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw + 1rem, 2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.intake-step__hint {
  font-size: var(--text-sm);
  color: var(--fg-faint);
  font-style: italic;
  margin-bottom: var(--space-5);
  line-height: 1.5;
}

/* ── Choice grid ─────────────────────────────────────────────────────────── */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.choice-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.choice-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 480px) {
  .choice-grid--3col { grid-template-columns: repeat(2, 1fr); }
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.1rem 0.75rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg-muted);
  transition:
    border-color var(--t) var(--ease),
    background var(--t) var(--ease),
    color var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    transform var(--t) var(--ease);
  line-height: 1.3;
  user-select: none;
}

.choice-card:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.choice-card.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 110, 155, 0.12);
}

.choice-card__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.choice-card__label {
  font-size: var(--text-sm);
}

/* Time choice — wider */
.choice-grid--time {
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}

/* ── Text input intake ───────────────────────────────────────────────────── */
.intake-text-wrap {
  position: relative;
  margin-bottom: var(--space-5);
}

.intake-text-input {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-style: italic;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-card);
}

.intake-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-3);
}

.chip {
  padding: 0.35rem 0.85rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--fg-muted);
  cursor: pointer;
  transition: all var(--t-fast);
}

.chip:hover, .chip.selected {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Nav actions row ─────────────────────────────────────────────────────── */
.intake-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-4);
}

/* ── Loading ─────────────────────────────────────────────────────────────── */
.loading-screen {
  min-height: calc(100dvh - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-5);
}

.loading-orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(124, 110, 155, 0.5), rgba(124, 110, 155, 0.15));
  box-shadow: var(--shadow-glow);
  animation: orb-pulse 3s ease-in-out infinite;
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 1; }
}

.loading-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--fg-muted);
}

.loading-subtext {
  font-size: var(--text-sm);
  color: var(--fg-faint);
}

/* ── Recommendation ──────────────────────────────────────────────────────── */
.recommendation {
  padding-block: var(--space-8);
}

.lineage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--accent-light);
  border: 1px solid rgba(124, 110, 155, 0.25);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.lineage-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.lineage-section {
  margin-bottom: var(--space-4);
}

.lineage-inspired-by {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--space-2);
}

.practice-header {
  margin-bottom: var(--space-5);
}

.practice-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw + 1rem, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 0.4rem;
}

.practice-subtitle {
  font-size: var(--text-md);
  color: var(--fg-muted);
  font-style: italic;
  font-family: var(--font-serif);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.meta-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.state-shift {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: linear-gradient(135deg, var(--mist-light), var(--accent-light));
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.state-from, .state-to {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-md);
}

.state-from { color: var(--fg-muted); }
.state-to { color: var(--accent); }

.state-arrow {
  color: var(--fg-faint);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.breath-pattern-card {
  background: var(--bg-deep);
  color: var(--fg-inverse);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
}

.breath-pattern-label {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.45);
  margin-bottom: var(--space-3);
}

.breath-segments {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.breath-segment {
  text-align: center;
}

.breath-segment__count {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 1;
  color: var(--fg-inverse);
}

.breath-segment__label {
  font-size: var(--text-xs);
  color: rgba(250, 248, 245, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

.breath-segment__divider {
  align-self: center;
  color: rgba(250, 248, 245, 0.2);
  font-size: 1.5rem;
  padding-top: 0.25rem;
}

.cycle-desc {
  margin-top: var(--space-3);
  font-style: italic;
  font-size: var(--text-sm);
  color: rgba(250, 248, 245, 0.55);
  font-family: var(--font-serif);
}

.instructions-list {
  list-style: none;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.instructions-list li {
  display: flex;
  gap: var(--space-3);
  counter-increment: steps;
  font-size: var(--text-base);
  color: var(--fg-muted);
  line-height: 1.55;
}

.instructions-list li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-top: 0.1rem;
}

.visualization-block {
  padding: var(--space-4);
  background: var(--sage-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--sage);
  font-style: italic;
  font-family: var(--font-serif);
  font-size: var(--text-base);
  color: var(--fg-muted);
  line-height: 1.7;
}

.somatic-block {
  padding: var(--space-4);
  background: var(--accent-warm-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent-warm);
  font-size: var(--text-base);
  color: var(--fg-muted);
  line-height: 1.6;
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: var(--space-2);
}

.cta-block {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-soft);
}

/* ── Practice player ─────────────────────────────────────────────────────── */
.practice-screen {
  min-height: 100dvh;
  background: var(--bg-deep);
  color: var(--fg-inverse);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  text-align: center;
  position: relative;
}

.practice-screen nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
}

.practice-screen .nav__logo { color: var(--fg-inverse); opacity: 0.6; }
.practice-screen .nav__logo:hover { opacity: 1; }
.practice-screen .nav__logo-glyph .logo-outer { stroke: var(--fg-inverse); }
.practice-screen .nav__logo-glyph .logo-inner { fill: var(--accent); }

/* Breath orb */
.breath-orb-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

.breath-orb {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%,
    rgba(124, 110, 155, 0.9),
    rgba(124, 110, 155, 0.5) 50%,
    rgba(80, 70, 110, 0.25));
  box-shadow:
    0 0 30px rgba(124, 110, 155, 0.3),
    0 0 80px rgba(124, 110, 155, 0.12),
    inset 0 0 30px rgba(255, 255, 255, 0.05);
  transition: transform 0.05s linear, box-shadow 0.1s;
  will-change: transform;
}

.breath-orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(124, 110, 155, 0.2);
  animation: ring-pulse 4s ease-in-out infinite;
}

.breath-orb-ring:nth-child(1) { width: 160px; height: 160px; animation-delay: 0s; }
.breath-orb-ring:nth-child(2) { width: 185px; height: 185px; animation-delay: 0.5s; }
.breath-orb-ring:nth-child(3) { width: 215px; height: 215px; animation-delay: 1s; }

@keyframes ring-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.1; transform: scale(1.05); }
}

.breath-phase-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--fg-inverse);
  min-height: 2rem;
  margin-bottom: var(--space-2);
  transition: opacity 0.3s;
}

.breath-cue {
  font-size: var(--text-sm);
  color: rgba(250, 248, 245, 0.5);
  min-height: 1.4rem;
  font-style: italic;
  transition: opacity 0.3s;
  margin-bottom: var(--space-5);
}

.practice-timer {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: rgba(250, 248, 245, 0.7);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-4);
}

.practice-controls {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: center;
}

.btn--practice {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(250, 248, 245, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.4rem;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--t);
  backdrop-filter: blur(4px);
}

.btn--practice:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--fg-inverse);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn--practice-primary {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  padding: 0.75rem 2rem;
  font-size: var(--text-base);
}

.btn--practice-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.practice-progress {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  width: min(240px, 70vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.practice-progress__fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: width 1s linear;
}

/* ── Completion screen ───────────────────────────────────────────────────── */
.completion-screen {
  min-height: calc(100dvh - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-7) var(--space-5);
}

.completion-glyph {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, var(--accent-light), rgba(124, 110, 155, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-5);
  box-shadow: 0 0 20px rgba(124, 110, 155, 0.2);
}

.completion-reflection {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--fg-muted);
  max-width: 38ch;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.completion-prompts {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

.completion-prompt {
  padding: var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  font-size: var(--text-base);
  color: var(--fg-muted);
  text-align: left;
  font-style: italic;
  font-family: var(--font-serif);
  box-shadow: var(--shadow-xs);
}

/* ── Error state ─────────────────────────────────────────────────────────── */
.error-state {
  min-height: calc(100dvh - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-7) var(--space-5);
  gap: var(--space-4);
}

.error-glyph {
  font-size: 2.5rem;
  opacity: 0.5;
}

/* ── Divider ─────────────────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin-block: var(--space-6);
}

/* ── Feature grid ────────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.feature-item {
  padding: var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.feature-item__icon {
  font-size: 1.6rem;
  margin-bottom: var(--space-3);
}

.feature-item__title {
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: 0.3rem;
  color: var(--fg);
}

.feature-item__desc {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Eyebrow / label ─────────────────────────────────────────────────────── */
.eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fade-up 0.5s var(--ease-out) both;
}

.animate-fade-up--delay-1 { animation-delay: 0.08s; }
.animate-fade-up--delay-2 { animation-delay: 0.16s; }
.animate-fade-up--delay-3 { animation-delay: 0.24s; }
.animate-fade-up--delay-4 { animation-delay: 0.32s; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .choice-grid--2col { grid-template-columns: repeat(2, 1fr); }
  .meta-row { gap: var(--space-2); }
  .breath-segments { gap: var(--space-2); }
  .state-shift { flex-direction: column; gap: var(--space-2); align-items: flex-start; }
}
