/* Breathing-technique guide pages (box-breathing/, breathwork/, …). */

.guide .lede { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.guide .steps li { margin-bottom: 8px; }
.guide .note {
  border-left: 3px solid var(--accent);
  padding: 10px 16px;
  background: var(--surface);
  border-radius: 6px;
  color: var(--muted);
  font-size: 15px;
}
.guide .refs { font-size: 14px; color: var(--muted); }
.guide .refs li { margin-bottom: 6px; }
.guide details { border-bottom: 1px solid var(--border); padding: 12px 0; }
.guide summary { cursor: pointer; font-weight: 600; }

.guide .cta-box { margin-top: 40px; text-align: center; }
/* Same Play button as the homepage (.cta.primary lives inline in index.html). */
.cta {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  transition: transform .15s ease;
}
.cta:hover { transform: translateY(-1px); }
.cta.primary {
  background: linear-gradient(135deg, #7c5ce5 0%, #5b4ae8 100%);
  color: #fff;
}

.guide-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.guide-links a {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: 14px;
}
.guide-links a:hover { border-color: var(--accent); color: var(--accent); }

/* ── breathe-along timer (port of the app's Circle animation) ──── */
.breath-timer {
  position: relative;
  margin: 8px 0 32px;
  padding: 28px 16px 22px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}
.bt-stage { position: relative; width: 300px; height: 300px; margin: 0 auto; }
.bt-circle {
  position: absolute; left: 10px; top: 10px; width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(.5714);
  will-change: transform;
}
.bt-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
  pointer-events: none;
}
.bt-phase { font-size: 24px; font-weight: 700; }
.bt-count { font-size: 16px; opacity: .9; font-variant-numeric: tabular-nums; min-height: 22px; }
.bt-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
.bt-controls {
  display: flex; gap: 14px; justify-content: center; align-items: center;
  flex-wrap: wrap; margin-top: 18px; font-size: 15px;
}
.bt-len { padding: 6px 10px; border-radius: 8px; font-size: 15px; }
.bt-go {
  padding: 10px 28px; border-radius: 999px; border: 0;
  background: linear-gradient(135deg, #7c5ce5 0%, #5b4ae8 100%);
  color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
}
.bt-left { font-variant-numeric: tabular-nums; color: var(--muted); min-width: 44px; }

@media (max-width: 520px) {
  .bt-stage { transform: scale(.86); margin: -20px auto; }
}
