/* The app's tokens (breathflow_app/lib/theme/): AppColors, AppGradients.hero, AppFonts. */
:root {
  --text: #23252A;          /* AppColors.textPrimary */
  --text-2: #454850;        /* textSecondary */
  --text-3: #70747E;        /* textTertiary */
  --lavender: #AEBFED;      /* brand lavender */
  --sky: #C5E0FF;
  --surface: #F6F7FC;
  --border: #E5E7ED;
  --white: #FFFFFF;
  --link: #3167FB;
  --tint-indigo: #D5DFFB;
  --tint-pink: #FFE5EE;
  --tint-cyan: #D8F1FA;
  --tint-peach: #FFEFE5;
  --tint-green: #D9E8CB;
  --hero: linear-gradient(40deg, var(--lavender) 0%, var(--sky) 50%, var(--tint-pink) 100%);
  --heading: 'Merriweather Sans', system-ui, sans-serif;
  --body: 'Open Sans', system-ui, sans-serif;
  --gutter: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; letter-spacing: 0; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.12; }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.2; }
h3 { font-size: 18px; line-height: 1.3; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---- Top bar ------------------------------------------------------------ */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font: 700 22px/1 var(--heading); letter-spacing: -0.02em; }
.brand-small { font-size: 16px; gap: 8px; }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--lavender); color: var(--text); text-decoration: none;
  font: 600 16px/1 var(--heading);
}
.pill-small { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* ---- Hero --------------------------------------------------------------- */
.hero { background: var(--hero); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 56px; }
.hero-copy { align-self: center; }
.lead { margin-top: 20px; font-size: 18px; color: var(--text-2); max-width: 30em; }

.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 12px; }
/* The stores' own artwork, unlinked until the listings are live, its "Download on the" / "Get it on"
   line taken out under "Coming soon on:" (the user, 2026-10-10; badge-*-name.*, from the official files).
   Google's PNG carries 41 of 250 px of transparent margin a side: at 74 tall its badge shows 50,
   so it stays at least as large as Apple's 48 (Google's rule), the margin pulled back in. */
.badge-apple { height: 48px; width: auto; }
.badge-google { height: 74px; width: auto; margin: -12px; }
.stores-note { margin-top: 32px; font: 600 14px/1.3 var(--heading); color: var(--text-2); }

.hero-art { position: relative; justify-self: center; width: min(100%, 380px); }
.oval { border-radius: 999px 999px 40px 40px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 24px 60px rgba(35, 37, 42, 0.18); }
.oval img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }

.phone {
  background: var(--text); padding: 8px; border-radius: 36px;
  box-shadow: 0 20px 50px rgba(35, 37, 42, 0.22);
}
.phone img { border-radius: 28px; width: 100%; }
.phone-float { position: absolute; width: 44%; left: -10%; bottom: -10%; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; padding-top: 80px; padding-bottom: 96px; }
  .hero-art { justify-self: end; }
}
@media (max-width: 899px) {
  .hero-art { margin-bottom: 40px; }
  .phone-float { left: 0; }
}

/* ---- Sections ----------------------------------------------------------- */
.section { padding: 72px 0; }
.section-surface { background: var(--surface); }
.section-lead { margin-top: 12px; font-size: 18px; color: var(--text-2); max-width: 36em; }

.cards { display: grid; gap: 16px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.card { border-radius: 24px; padding: 24px; }
.card h3 { margin-top: 16px; }
.card p { margin-top: 8px; font-size: 15px; color: var(--text-2); }
.card-icon { width: 44px; height: 44px; padding: 8px; border-radius: 50%; background: var(--white); }
.tint-indigo { background: var(--tint-indigo); }
.tint-pink { background: var(--tint-pink); }
.tint-cyan { background: var(--tint-cyan); }
.tint-peach { background: var(--tint-peach); }
.tint-green { background: var(--tint-green); }

.screens {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 24px;
  margin-top: 36px; padding-bottom: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory;
}
.screens figure { margin: 0; scroll-snap-align: start; }
.screens figcaption { margin-top: 14px; text-align: center; font: 600 15px/1.3 var(--heading); color: var(--text-2); }
@media (max-width: 599px) {
  .screens { grid-auto-columns: 62%; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
}

/* ---- Closing ------------------------------------------------------------ */
.closing { padding: 72px 0; background: var(--hero); }
.closing-grid { display: grid; gap: 32px; align-items: center; }
.closing-photo { border-radius: 32px; overflow: hidden; }
@media (min-width: 900px) { .closing-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---- Contact (the address from illuminaspace.com, the user, 2026-10-10) -- */
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-links .pill { max-width: 100%; overflow-wrap: anywhere; }
.pill-outline { background: var(--white); border: 1px solid var(--lavender); }

/* ---- Not found (404.html) ------------------------------------------------ */
.notfound { min-height: 100vh; display: flex; align-items: center; }
.notfound h1 { margin-top: 40px; }
.notfound .pill { margin-top: 32px; }

/* ---- Footer ------------------------------------------------------------- */
.footer { padding: 28px 0; border-top: 1px solid var(--border); }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.footer p { font-size: 14px; color: var(--text-3); }
