/* ==========================================================================
   Breath Break: Pranayama — marketing site
   Design language: "slow exhale" — warm ivory, deep forest ink, sage + diya
   gold, soft halos, organic curves, a breathing orb. Everything unhurried.
   ========================================================================== */

:root {
  --ivory: #FAF7EC;
  --ivory-deep: #F1ECDB;
  --card: #FFFFFF;
  --ink: #22423C;
  --ink-soft: #52685F;
  --ink-faint: #7E938A;

  --forest: #2E5C50;
  --forest-deep: #22423C;
  --sage: #7FA96B;
  --sage-deep: #5F8A4E;
  --leaf: #DCE9CE;
  --leaf-edge: #C2D8AE;
  --mist: #E4EFE6;
  --gold: #D9A441;
  --gold-soft: #F3E3C0;
  --blush: #F5E4D7;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Mulish", "Gill Sans", sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 18px 40px -18px rgba(34, 66, 60, 0.25);
  --shadow-card: 0 10px 30px -14px rgba(34, 66, 60, 0.18);
  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--ivory);
  background-image:
    radial-gradient(720px 480px at 85% -6%, rgba(127, 169, 107, 0.16), transparent 65%),
    radial-gradient(640px 420px at -10% 30%, rgba(217, 164, 65, 0.10), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- type ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--forest-deep);
}

h1 { font-size: clamp(2.5rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.28rem; font-weight: 600; }

h1 em, h2 em {
  font-style: italic;
  color: var(--sage-deep);
}

p { max-width: 66ch; }

a { color: var(--forest); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--sage-deep); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--sage);
}

.lede { font-size: 1.19rem; color: var(--ink-soft); }

/* ---------- layout ---------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 780px; }

section { padding: 5.75rem 0; }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 3.4rem; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 26px; height: 1.5px; background: var(--sage); }
.section-head p { margin: 1rem auto 0; color: var(--ink-soft); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.02rem;
  padding: 0.95rem 2.1rem;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn--forest {
  color: var(--ivory);
  background: var(--forest);
  box-shadow: var(--shadow-soft);
}
.btn--forest:hover { background: var(--forest-deep); color: var(--ivory); transform: translateY(-2px); }
.btn--ghost {
  color: var(--forest-deep);
  background: transparent;
  border: 1.5px solid rgba(34, 66, 60, 0.28);
}
.btn--ghost:hover { border-color: var(--forest); color: var(--forest-deep); background: rgba(127,169,107,0.08); }

.play-badge img { height: 62px; width: auto; }
.play-badge:hover { opacity: 0.9; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 236, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 66, 60, 0.09);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  margin-right: auto;
}
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 2px 10px rgba(34,66,60,0.25); }
.brand em { font-style: italic; color: var(--sage-deep); }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a {
  font-weight: 800;
  font-size: 0.96rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.site-nav a:hover { color: var(--forest); }
.site-nav .btn { padding: 0.55rem 1.4rem; font-size: 0.94rem; }

@media (max-width: 760px) {
  .site-nav a:not(.btn) { display: none; }
}

/* ---------- hero ---------- */

.hero { padding: 4.75rem 0 5.25rem; position: relative; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-copy .lede { margin: 1.4rem 0 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.hero-note { margin-top: 1.1rem; font-size: 0.93rem; color: var(--ink-faint); font-weight: 700; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.9rem; padding: 0; list-style: none; }
.trust-chips li {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--forest-deep);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--mist);
  border: 1px solid rgba(34, 66, 60, 0.1);
}

/* hero visual: phone + breathing orb halo */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-visual::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 169, 107, 0.22) 0%, rgba(217, 164, 65, 0.10) 45%, transparent 70%);
  animation: halo 9s ease-in-out infinite;
}
@keyframes halo {
  0%, 100% { transform: scale(0.92); opacity: 0.8; }
  50% { transform: scale(1.06); opacity: 1; }
}

.phone {
  width: min(292px, 76vw);
  border: 9px solid var(--forest-deep);
  border-radius: 42px;
  box-shadow: 0 30px 60px -22px rgba(34, 66, 60, 0.45);
  overflow: hidden;
  background: var(--forest-deep);
  position: relative;
  z-index: 2;
}
.phone img { border-radius: 31px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .hero-ctas, .trust-chips { justify-content: center; }
  .hero-visual::before { width: 420px; height: 420px; }
}

/* ---------- breathing orb (interactive demo) ---------- */

.breathe-demo {
  padding: 0 0 1.5rem;
}
.breathe-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-deep) 100%);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  padding: 3.6rem 2rem 3.4rem;
  text-align: center;
  color: var(--ivory);
}
.breathe-card h2 { color: var(--ivory); }
.breathe-card > p { margin: 0.8rem auto 2.6rem; color: #CBDCCB; }
.orb-stage {
  position: relative;
  width: 240px; height: 240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb, .orb-ring {
  position: absolute;
  border-radius: 50%;
}
.orb {
  width: 140px; height: 140px;
  background: radial-gradient(circle at 34% 30%, #F6EFD8, var(--gold) 78%);
  box-shadow: 0 0 60px rgba(217, 164, 65, 0.55);
  animation: orb 12s ease-in-out infinite;
}
.orb-ring {
  border: 1.5px solid rgba(250, 247, 236, 0.35);
  animation: ring 12s ease-in-out infinite;
}
.orb-ring:nth-child(2) { width: 180px; height: 180px; }
.orb-ring:nth-child(3) { width: 220px; height: 220px; animation-delay: 0.35s; }
/* 12s cycle ≈ inhale 4s → hold 2s → exhale 6s */
@keyframes orb {
  0%   { transform: scale(0.62); }
  33%  { transform: scale(1); }
  50%  { transform: scale(1); }
  100% { transform: scale(0.62); }
}
@keyframes ring {
  0%   { transform: scale(0.7); opacity: 0.25; }
  33%  { transform: scale(1.06); opacity: 0.75; }
  50%  { transform: scale(1.06); opacity: 0.75; }
  100% { transform: scale(0.7); opacity: 0.25; }
}
.orb-label {
  position: relative;
  z-index: 2;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--forest-deep);
}
.breathe-card .hint { margin-top: 2.2rem; font-size: 0.95rem; color: #A9C3A9; }
.breathe-card .hint a { color: var(--gold-soft); }

/* ---------- stats band ---------- */

.stats-band { padding: 0 0 1rem; }
.stats-band .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.stat {
  text-align: center;
  background: var(--card);
  border: 1px solid rgba(34, 66, 60, 0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.5rem 1rem 1.3rem;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--forest);
}
.stat span { font-size: 0.92rem; font-weight: 700; color: var(--ink-soft); }
@media (max-width: 760px) { .stats-band .wrap { grid-template-columns: repeat(2, 1fr); } }

/* ---------- feature cards ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.feature-card {
  background: var(--card);
  border: 1px solid rgba(34, 66, 60, 0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.9rem 1.7rem;
}
.feature-card .glyph {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  border-radius: 50%;
  background: var(--leaf);
  margin-bottom: 1rem;
}
.feature-card:nth-child(3n+2) .glyph { background: var(--gold-soft); }
.feature-card:nth-child(3n) .glyph { background: var(--mist); }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.98rem; color: var(--ink-soft); }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- screenshots ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  align-items: start;
}
.shot { text-align: center; }
.shot .phone {
  width: 100%;
  border-width: 6px;
  border-radius: 32px;
  box-shadow: 0 22px 44px -20px rgba(34, 66, 60, 0.4);
}
.shot .phone img { border-radius: 25px; }
.shot:nth-child(even) { transform: translateY(1.7rem); }
.shot figcaption {
  margin-top: 1.05rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
}
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, 1fr); } }

/* ---------- how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(34, 66, 60, 0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.7rem 1.8rem;
}
.step .step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--sage);
  display: block;
  margin-bottom: 0.8rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.98rem; color: var(--ink-soft); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- guides ---------- */

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--card);
  border: 1px solid rgba(34, 66, 60, 0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.7rem 1.6rem 1.5rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(34, 66, 60, 0.3);
  color: var(--ink);
}
.guide-card .guide-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.24rem 0.75rem;
  border-radius: 999px;
}
.guide-card h3 { font-size: 1.15rem; }
.guide-card p { font-size: 0.95rem; color: var(--ink-soft); flex-grow: 1; }
.guide-card .more {
  font-weight: 800;
  font-size: 0.93rem;
  color: var(--forest);
}
.guide-card:hover .more { color: var(--sage-deep); }
.tag--leaf  { background: var(--leaf); color: var(--sage-deep); }
.tag--gold  { background: var(--gold-soft); color: #A2731E; }
.tag--mist  { background: var(--mist); color: var(--forest); }
.tag--blush { background: var(--blush); color: #B0764C; }
@media (max-width: 900px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .guides-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 0.9rem; }
.faq-item {
  background: var(--card);
  border: 1px solid rgba(34, 66, 60, 0.1);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--forest-deep);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "";
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 2px solid var(--sage-deep);
  border-bottom: 2px solid var(--sage-deep);
  transform: rotate(-45deg);
  transition: transform 0.25s ease;
  margin-left: 0.2rem;
}
.faq-item[open] summary::before { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.5rem 1.35rem 3rem; color: var(--ink-soft); font-size: 1rem; }
.faq-item .faq-body a { font-weight: 800; }
@media (max-width: 620px) { .faq-item .faq-body { padding-left: 1.5rem; } }

/* ---------- CTA band ---------- */

.cta-band { padding: 5.5rem 0; }
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-deep) 100%);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  padding: 4.2rem 2rem;
  color: var(--ivory);
}
.cta-card h2 { color: var(--ivory); }
.cta-card p { margin: 1rem auto 2.2rem; color: #CBDCCB; font-size: 1.12rem; }
.cta-card::before, .cta-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(250, 247, 236, 0.14);
}
.cta-card::before { width: 380px; height: 380px; top: -190px; left: -120px; }
.cta-card::after { width: 460px; height: 460px; bottom: -260px; right: -140px; }
.cta-card .hero-note { color: #A9C3A9; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--forest-deep);
  color: #BFD2C4;
  padding: 3.8rem 0 2.4rem;
  font-size: 0.97rem;
}
.site-footer a { color: #F3F0E2; text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.8rem;
}
.footer-brand .brand { color: #F3F0E2; margin-bottom: 0.8rem; }
.footer-brand .brand em { color: var(--gold); }
.footer-brand p { font-size: 0.94rem; color: #9BB3A1; }
.footer-grid h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8AA391;
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-legal {
  border-top: 1px solid rgba(243, 240, 226, 0.14);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #8AA391;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- guide article pages ---------- */

.article-hero { padding: 3.6rem 0 2.6rem; }
.breadcrumb {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-faint);
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--forest); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article-hero .lede { margin-top: 1.1rem; }
.article-meta { margin-top: 1rem; font-size: 0.9rem; font-weight: 700; color: var(--ink-faint); }

.article {
  background: var(--card);
  border: 1px solid rgba(34, 66, 60, 0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(1.8rem, 4.5vw, 3.2rem);
  margin-bottom: 3rem;
}
.article > * + * { margin-top: 1.15rem; }
.article h2 { margin-top: 2.6rem; font-size: 1.65rem; }
.article h3 { margin-top: 1.9rem; }
.article ul, .article ol { padding-left: 1.4rem; }
.article li { margin-bottom: 0.45rem; }
.article li::marker { color: var(--sage-deep); font-weight: 800; }

.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  margin-top: 1.3rem;
}
.article th {
  font-family: var(--font-body);
  font-weight: 800;
  text-align: left;
  background: var(--mist);
  color: var(--forest-deep);
  padding: 0.65rem 0.9rem;
}
.article th:first-child { border-radius: 10px 0 0 10px; }
.article th:last-child { border-radius: 0 10px 10px 0; }
.article td { padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--ivory-deep); }
.table-scroll { overflow-x: auto; }

/* "Try it in the app" callout */
.app-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--mist);
  border: 1px solid rgba(34, 66, 60, 0.12);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.4rem;
  margin-top: 2rem;
}
.app-callout img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 2px 10px rgba(34,66,60,0.25); }
.app-callout strong { font-family: var(--font-display); font-size: 1.08rem; display: block; margin-bottom: 0.2rem; color: var(--forest-deep); }
.app-callout p { font-size: 0.97rem; color: var(--ink-soft); }
.app-callout a { font-weight: 800; }

/* health disclaimer */
.disclaimer {
  font-size: 0.88rem;
  color: var(--ink-faint);
  border-left: 3px solid var(--gold);
  padding: 0.2rem 0 0.2rem 1rem;
  margin-top: 2.2rem;
}

.related { padding: 0 0 4.5rem; }
.related h2 { text-align: center; margin-bottom: 2rem; }

/* ---------- reveal-on-scroll (JS adds .js to <html>) ---------- */

html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .orb-ring, .hero-visual::before { animation: none; }
  html { scroll-behavior: auto; }
}
