/* ANIMA — /learn articles. Builds on legal.css (palette, type, header,
   footer); this file only adds the article-specific pieces. */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--sage); margin: 0 0 12px;
}
.article h1 { font-size: 36px; letter-spacing: -0.6px; margin-bottom: 12px; }
.lede { font-size: 19px; line-height: 1.6; color: var(--ink); margin: 0 0 10px; }
.article h2 { font-size: 22px; margin-top: 44px; }
.article p, .article li { font-size: 17px; line-height: 1.75; }

/* The rhythm strip: one pill per phase, width = seconds, so the shape of the
   breath is visible at a glance (same colours as the orb in the app). */
.rhythm { display: flex; gap: 8px; margin: 26px 0 8px; }
.rhythm span {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  height: 64px; border-radius: 14px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  color: #0a1420; text-transform: uppercase;
}
.rhythm b { font-size: 22px; line-height: 1; letter-spacing: 0; }
.rhythm .in   { background: #7dd3e8; }
.rhythm .hold { background: #e8b088; }
.rhythm .out  { background: #b8a4e8; }
.rhythm-cap { color: var(--muted); font-size: 14px; margin: 0 0 28px; }

ol.steps { padding-left: 0; list-style: none; counter-reset: s; }
ol.steps li { counter-increment: s; position: relative; padding-left: 48px; margin-bottom: 16px; }
ol.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 2px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--sage); color: var(--sage); font-size: 14px; font-weight: 700;
}

.cta-card {
  margin: 48px 0 8px; padding: 28px 26px; border-radius: 20px;
  background: radial-gradient(ellipse at 20% 0%, rgba(125,211,232,.14), transparent 60%), var(--surface);
  border: 1px solid var(--border);
}
.cta-card h3 { margin: 0 0 6px; font-size: 20px; color: var(--ink); }
.cta-card p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; text-decoration: none;
  background: linear-gradient(150deg, #c4ecf6, #8fd6ea); color: #0a1420; font-weight: 700; font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { color: #0a1420; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(125,211,232,.3); }

.related { margin-top: 44px; }
.related a { display: block; padding: 14px 0; border-top: 1px solid var(--border); text-decoration: none; font-weight: 600; }
.related a:last-child { border-bottom: 1px solid var(--border); }

/* /learn index — wider page, 3 cards like the homepage Learn section */
.wrap--wide { max-width: 1120px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.card:hover { border-color: rgba(125,211,232,.45); transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.card:hover img { transform: scale(1.03); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.card .tag { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; color: var(--sage); text-transform: uppercase; }
.card h2 { margin: 0; font-size: 19px; line-height: 1.35; color: var(--ink); }
.card .read { margin: 0; color: var(--muted); font-size: 13px; }
.wrap--wide .lede { max-width: 640px; }
.wrap--wide h1 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.8px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; max-width: 520px; } }

@media (max-width: 560px) {
  .article h1 { font-size: 29px; }
  .lede { font-size: 17px; }
  .article p, .article li { font-size: 16px; }
}

/* Store buttons in the CTA card (replaced "Get the app", 2026-10-31) — same look as the homepage */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.store { min-width: 168px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px 9px 16px; border-radius: 14px; background: #0e1826; border: 1px solid #243449; color: #f4f7fa; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.store:hover { transform: translateY(-2px); border-color: #3a5170; color: #f4f7fa; }
.store span { display: flex; flex-direction: column; font-size: 17px; font-weight: 700; letter-spacing: -.3px; line-height: 1.15; }
.store small { font-size: 10.5px; font-weight: 500; color: #9fb0c6; letter-spacing: 0; }
a:focus:not(:focus-visible) { outline: none; }
