/* AURA marketing surface.
   Palette, motion timing and glass treatment are inherited from the product's
   design tokens so the page and the app read as one thing. The only addition
   is a display serif, used at large sizes to soften a palette that is
   otherwise quite clinical. */

:root {
  --void: #0B0F1A;
  --void-2: #0E1424;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-line: rgba(255, 255, 255, 0.09);
  --text: #E7ECF6;
  --text-2: rgba(231, 236, 246, 0.72);
  --text-3: rgba(231, 236, 246, 0.48);
  --inhale: #60A5FA;
  --hold: #A78BFA;
  --exhale: #34D399;
  --brand-a: #7C3AED;
  --brand-b: #22D3EE;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --measure: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--brand-b);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: var(--measure); margin: 0 auto; padding: 0 24px; }

.serif {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- Ambient field ---------- */
.field {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(124, 58, 237, 0.16), transparent 70%),
    radial-gradient(45% 40% at 85% 30%, rgba(34, 211, 238, 0.10), transparent 70%),
    radial-gradient(50% 50% at 10% 70%, rgba(52, 211, 153, 0.07), transparent 70%),
    var(--void);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(11, 15, 26, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--glass-line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.mark {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.22em;
  text-decoration: none;
}
.mark-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.55);
}
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-links a { font-size: 14px; white-space: nowrap; text-decoration: none; color: var(--text-2); padding: 8px 12px; border-radius: 10px; transition: color 200ms var(--ease), background 200ms var(--ease); }
.nav-links a:hover { color: var(--text); background: var(--glass); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none;
  font-family: inherit; font-size: 14px; font-weight: 500; white-space: nowrap;
  padding: 11px 20px; border-radius: 12px;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}
.btn-primary {
  color: #06101C;
  background: linear-gradient(135deg, var(--brand-b), #67E8F9);
  box-shadow: 0 6px 24px rgba(34, 211, 238, 0.24);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(34, 211, 238, 0.34); }
.btn-ghost { color: var(--text); background: var(--glass); border: 1px solid var(--glass-line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-lg { font-size: 15px; padding: 14px 26px; border-radius: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; text-align: center; }

.stage { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.orb-holder { position: relative; width: 240px; height: 240px; display: grid; place-items: center; }

.orb {
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.30), transparent 52%),
              radial-gradient(circle at 50% 52%, var(--phase, var(--inhale)), rgba(11, 15, 26, 0.35) 78%);
  box-shadow: 0 0 90px -10px var(--phase, var(--inhale)), inset 0 0 46px rgba(255, 255, 255, 0.08);
  filter: blur(0.3px);
  /* 4000ms is the product's breathe transition; the page inherits it so the
     motion on the marketing site is the motion in the app. */
  transition: transform 4000ms var(--ease), background 1200ms linear, box-shadow 1200ms linear;
  transform: scale(0.72);
}
.orb.is-inhale { transform: scale(1); }
.orb.is-hold { transform: scale(1); }
.orb.is-exhale { transform: scale(0.72); }

.orb-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.orb-ring::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--phase, var(--inhale));
  opacity: 0.30;
  transition: border-color 1200ms linear;
}

.phase {
  font-size: 12px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--phase, var(--inhale));
  transition: color 1200ms linear;
  min-height: 18px;
}

.hero h1 { margin: 12px 0 0; font-size: clamp(44px, 8.4vw, 84px); }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(115deg, var(--brand-b), var(--hold)); -webkit-background-clip: text; background-clip: text; }
.hero-sub { margin: 18px auto 0; max-width: 460px; font-size: 16px; color: var(--text-2); }

.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.breath-count {
  margin-top: 18px; min-height: 22px;
  font-size: 13px; color: var(--text-3);
  opacity: 0; transition: opacity 700ms var(--ease);
}
.breath-count.is-on { opacity: 1; }
.breath-count strong { color: var(--exhale); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head h2 { margin: 12px 0 0; font-size: clamp(30px, 4.4vw, 46px); }
.section-head p { margin: 16px 0 0; color: var(--text-2); }

/* The three columns are the three phases of a breath, in order. The colour of
   each column is the colour the orb is actually showing during that phase. */
.phases { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.phase-card {
  position: relative;
  padding: 30px 26px 28px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  overflow: hidden;
}
.phase-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--tint);
}
.phase-card .tag {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--tint);
}
.phase-card h3 { margin: 14px 0 10px; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.phase-card p { margin: 0; font-size: 14.5px; color: var(--text-2); }

/* ---------- Library ---------- */
.intents { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  font-size: 13px; padding: 8px 16px; border-radius: 999px; text-decoration: none;
  background: var(--glass); border: 1px solid var(--glass-line); color: var(--text-2);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.2); }
.programs { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.program {
  padding: 20px 22px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--glass-line);
  transition: border-color 260ms var(--ease), transform 260ms var(--ease);
}
.program:hover { border-color: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
.program .pattern {
  font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: 0.1em;
  color: var(--brand-b);
}
.program h4 { margin: 8px 0 6px; font-size: 16px; font-weight: 600; }
.program p { margin: 0; font-size: 13.5px; color: var(--text-3); }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  padding: 28px 26px; border-radius: 20px;
  background: var(--glass); border: 1px solid var(--glass-line);
}
.plan.is-featured {
  border-color: rgba(34, 211, 238, 0.36);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.10), 0 18px 50px -24px rgba(34, 211, 238, 0.5);
}
.plan .name { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.plan .price { margin: 16px 0 4px; font-size: 40px; line-height: 1; }
.plan .price span { font-size: 14px; color: var(--text-3); font-family: Inter, sans-serif; }
.plan .yearly { font-size: 13px; color: var(--text-3); min-height: 20px; }
/* The feature lists differ in length, so the calls to action are pinned to the
   bottom of the card rather than floating at three different heights. */
.plan ul { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; align-content: start; flex: 1; }
.plan li { position: relative; padding-left: 24px; font-size: 14px; color: var(--text-2); }
.plan li::before {
  content: ''; position: absolute; left: 4px; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--exhale);
}
.plan .btn { width: 100%; }

/* ---------- Closing ---------- */
.closer { text-align: center; padding: 110px 0 96px; }
.closer h2 { margin: 0 0 20px; font-size: clamp(32px, 5.4vw, 56px); }
.closer p { margin: 0 auto 30px; max-width: 420px; color: var(--text-2); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--glass-line); padding: 34px 0 46px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.foot-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { font-size: 13.5px; color: var(--text-3); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot small { font-size: 13px; color: var(--text-3); }

.disclaimer {
  margin-top: 22px; padding: 14px 16px; border-radius: 12px;
  background: rgba(251, 191, 36, 0.06); border: 1px solid rgba(251, 191, 36, 0.2);
  font-size: 12.5px; line-height: 1.6; color: rgba(251, 191, 36, 0.92);
}

/* ---------- Long-form legal ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 60px 24px 90px; }
.legal h1 { font-size: clamp(34px, 6vw, 52px); margin: 10px 0 8px; }
.legal .updated { font-size: 13px; color: var(--text-3); margin-bottom: 40px; }
.legal h2 { font-size: 19px; font-weight: 600; margin: 40px 0 12px; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 15px; color: var(--text-2); }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--brand-b); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .phases, .programs, .plans { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .nav-links a.hide-sm { display: none; }
}

/* On a phone the bar keeps only what a visitor needs from it: who this is,
   the way back in, and the way to start. */
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .nav-links { gap: 2px; }
  .nav-links a { font-size: 13px; padding: 8px 10px; }
  .nav-links a.hide-xs { display: none; }
  .btn { padding: 10px 16px; }
  .mark { font-size: 14px; letter-spacing: 0.18em; }
  .hero { padding: 32px 0 24px; }
  .orb-holder { width: 200px; height: 200px; }
  .orb { width: 128px; height: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .orb-ring::after, .phase, .reveal, .btn { transition: none !important; }
  .orb { transform: scale(0.88) !important; }
  .reveal { opacity: 1; transform: none; }
}
