/* ========================================================================
   Birdie - marketing site styles
   ======================================================================== */
:root {
  --purple: #7A1AEA;
  --purple-deep: #5E10B8;
  --purple-soft: #F0E6FF;
  --purple-mist: #F8F4FF;
  --ink: #1A1430;
  --ink-2: #4B4860;
  --ink-3: #6B6880;
  --line: #ECE9F4;
  --bg: #FFFFFF;
  --bg-alt: #FAF8FF;
  --radius: 22px;
  --shadow: 0 20px 60px rgba(58, 20, 120, .12);
  --shadow-sm: 0 6px 24px rgba(58, 20, 120, .08);
  --maxw: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
.skip-link {
  position: absolute; left: 12px; top: -56px; z-index: 1000;
  background: var(--purple); color: #fff; padding: 12px 18px; border-radius: 12px;
  font-weight: 700; text-decoration: none; transition: top .15s ease;
}
.skip-link:focus { top: 12px; outline: 3px solid #fff; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;    /* sticky nav clearance so anchor links don't hide content behind it */
  overflow-x: hidden;          /* fallback for older browsers */
  overflow-x: clip;            /* modern: prevents horizontal bleed WITHOUT breaking sticky nav */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; scroll-margin-top: 80px; }
@media (max-width: 880px) {
  section { padding: 56px 0; scroll-margin-top: 64px; }
  .wrap { padding: 0 20px; }
}
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 14px;
}
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.14; }
h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 620px; }
@media (max-width: 880px) {
  .lead { font-size: 16.5px; }
}
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15.5px; padding: 14px 26px;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  font-family: inherit; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 26px rgba(122,26,234,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(122,26,234,.4); }
.btn-ghost { background: #fff; color: var(--purple); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--purple); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-light:hover { background: rgba(255,255,255,.26); }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand .mark { width: 26px; height: 26px; border-radius: 0; }
.brand .word { font-family: 'Albert Sans', sans-serif; font-weight: 400; font-size: 28px; color: var(--purple); line-height: 1; letter-spacing: -0.025em; text-transform: lowercase; }
.nav .links { display: flex; gap: 22px; margin-left: auto; }
.nav .links a { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav .links a:hover { color: var(--purple); }
.nav .btn { padding: 10px 20px; font-size: 14.5px; }
@media (max-width: 760px) { .nav .links { display: none; } }

/* ---- Hero ---- */
.hero {
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(122,26,234,.14), transparent 60%),
    radial-gradient(700px 420px at 0% 10%, rgba(155,69,255,.10), transparent 55%),
    var(--bg);
  padding: 56px 0 72px;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.hero h1 .hl { color: var(--purple); display: block; }
.hero .lead { margin-top: 18px; font-size: 19px; }
@media (max-width: 880px) {
  .hero .lead { font-size: 17px; }
}
.hero .cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .trust { margin-top: 26px; font-size: 14px; color: var(--ink-3); }
.hero .trust b { color: var(--ink); }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0; }
}

/* ---- Phone mockup (modern iPhone 15/16 proportions) ---- */
.phone-frame {
  width: 270px; height: 580px; margin: 0 auto; position: relative;
  background: #1b1722; border-radius: 42px; padding: 8px;
  box-shadow: 0 26px 60px rgba(26,20,48,.28), inset 0 0 0 2px rgba(255,255,255,.07);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: #F6F6F9; display: flex; flex-direction: column; position: relative;
  text-align: left;
}
/* Dynamic Island pill */
.phone-screen::before {
  content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 14px; background: #0c0a12; border-radius: 999px; z-index: 8;
}

/* Hero phone (desktop): narrower so the whole hero fits in standard laptop viewports.
   Keeps the modern iPhone aspect ratio (1:2.17). */
@media (min-width: 881px) {
  .hero .phone-frame { width: 240px; height: 520px; border-radius: 36px; }
  .hero .phone-screen { border-radius: 28px; }
  .hero .phone-screen::before { width: 42px; height: 12px; top: 8px; }
}
.ps-top {
  background: linear-gradient(135deg, #7A1AEA, #9B45FF); color: #fff;
  padding: 30px 16px 12px;
}
.ps-top .ps-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ps-top .ps-brand { display: flex; align-items: center; gap: 5px; opacity: .92; }
.ps-top .ps-mark { width: 16px; height: 16px; flex-shrink: 0; }
.ps-top .pword { font-family: 'Albert Sans', sans-serif; font-weight: 500; font-size: 16px; letter-spacing: -0.02em; text-transform: lowercase; line-height: 1; }
.ps-top .ps-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.22); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px; letter-spacing: 0;
}
.ps-top h4, .ps-top .ps-hello { font-size: 17px; font-weight: 800; margin-top: 0; line-height: 1.15; }
.ps-top p { font-size: 11px; opacity: .85; margin-top: 3px; line-height: 1.3; }
.ps-appbar { background: linear-gradient(135deg, #7A1AEA, #9B45FF); color: #fff; padding: 42px 16px 14px; }
.ps-appbar .ps-eyebrow { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin-bottom: 4px; }
.ps-appbar .pt { font-weight: 800; font-size: 15px; color: #fff; line-height: 1.2; }
.ps-appbar .ps2 { font-size: 11px; color: rgba(255,255,255,.85); margin-top: 3px; line-height: 1.35; }
/* Live-state pill on Comprehension mock - stays top-right by default; on mobile,
   stack above the eyebrow so it never overlaps the "From Dr. Reid · Cardiology" text. */
@media (max-width: 540px) {
  .ps-appbar .ps-live-pill {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    align-self: flex-start;
    margin-bottom: 6px;
  }
  .ps-appbar:has(.ps-live-pill) { display: flex; flex-direction: column; align-items: flex-start; }
}
.ps-body { padding: 10px 14px 8px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.ps-person {
  display: flex; align-items: center; gap: 9px; background: #fff;
  border-radius: 12px; padding: 9px 11px; box-shadow: 0 3px 12px rgba(31,36,48,.06);
}
.ps-person .pa {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--purple-soft); color: var(--purple);
  display: grid; place-items: center; font-size: 10.5px; font-weight: 700;
}
.ps-person .pn { font-size: 12px; font-weight: 700; }
.ps-person .pr { font-size: 10.5px; color: var(--ink-3); }
/* in-app screen showcase */
.phone-showcase { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.phone-item { width: 290px; }
.phone-cap { margin-top: 20px; text-align: center; }
.phone-cap .pk {
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--purple);
}
.phone-cap h3 { font-size: 18px; font-weight: 700; margin-top: 5px; }
.phone-cap p { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.ps-card {
  background: #fff; border-radius: 13px; padding: 10px 12px;
  box-shadow: 0 3px 12px rgba(31,36,48,.06);
}
.ps-card .t { font-weight: 700; font-size: 12.5px; display: flex; align-items: center; gap: 8px; }
.ps-card .t .e {
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  background: var(--purple-soft); font-size: 13px;
}
.ps-card .t .e.red { background: #FDECEC; }
.ps-card .t .e.green { background: #E7F7EC; }
.ps-card .s { font-size: 11px; color: var(--ink-3); margin-top: 4px; line-height: 1.4; }
.ps-bubble {
  font-size: 11px; line-height: 1.4; padding: 8px 10px; border-radius: 12px; max-width: 92%;
}
.ps-bubble.them { background: #fff; box-shadow: 0 3px 12px rgba(31,36,48,.06); border-bottom-left-radius: 4px; border-left: 3px solid var(--purple); align-self: flex-start; }
.ps-bubble.me { background: var(--purple); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.ps-bubble b { font-size: 10.5px; color: var(--purple); font-weight: 800; letter-spacing: -.01em; }
.ps-bubble.me b { color: rgba(255,255,255,.85); }
.ps-nav {
  margin-top: auto; background: #fff; border-top: 1px solid var(--line);
  display: flex; justify-content: space-around; padding: 8px 0 10px; font-size: 16px;
}
.ps-nav span { opacity: .4; color: var(--ink); display: grid; place-items: center; }
.ps-nav span.on { opacity: 1; color: var(--purple); }

/* ---- Stat band ---- */
.stats { background: var(--ink); color: #fff; padding: 56px 0; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat .n { font-size: clamp(32px, 4vw, 44px); font-weight: 800; color: #C79BFF; letter-spacing: -.03em; }
.stat .l { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 4px; }
@media (max-width: 720px) { .stats .grid { grid-template-columns: 1fr 1fr; gap: 26px; } }

/* ---- Problem ---- */
.problem { background: var(--bg-alt); }
.problem .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 8px; }
.problem-list { display: flex; flex-direction: column; gap: 18px; }
.problem-item { display: flex; gap: 14px; }
.problem-item .x {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: #FDECEC; color: #DC2626; display: grid; place-items: center; font-weight: 800;
}
.problem-item .pi-t { font-weight: 700; font-size: 16px; }
.problem-item .pi-s { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 820px) { .problem .cols { grid-template-columns: 1fr; gap: 32px; } }

/* ---- Features ---- */
.features .grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px;
}
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .15s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 25px; background: var(--purple-soft); margin-bottom: 16px;
}
.feature h3 { font-size: 19px; font-weight: 700; }
.feature p { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; }
@media (max-width: 920px) { .features .grid { grid-template-columns: 1fr; } }

/* ---- Stakeholders ---- */
.stake { background: var(--bg-alt); }

/* Equal-weight 2x2 grid - all four audiences matter, compact size */
.stake .grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px; margin-top: 40px;
}
.stake-card {
  background: #fff; border-radius: var(--radius); padding: 22px 22px;
  border: 1px solid var(--line); position: relative; overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
}
.stake-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--purple), #B176FF);
}
.stake-card .stake-ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--purple-soft); color: var(--purple);
  display: grid; place-items: center; margin-bottom: 12px;
}
.stake-card .stake-ic svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stake-card .tag {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--purple);
}
.stake-card h3 { font-size: 18px; font-weight: 800; margin: 5px 0 10px; line-height: 1.25; letter-spacing: -.005em; }
.stake-card .stake-lead { font-size: 14px; line-height: 1.5; color: var(--ink-2); flex: 1; }
.stake-card .win {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.5;
  color: var(--ink); font-weight: 600;
  min-height: 55px;
  display: flex; align-items: flex-start;
}
@media (max-width: 760px) { .stake .grid { grid-template-columns: 1fr; gap: 14px; } }

/* ---- How it works steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.step { text-align: center; }
.step .n {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--purple); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.step h4 { font-size: 16.5px; font-weight: 700; }
.step p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ---- Waitlist CTA ---- */
.cta {
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(135deg, #7A1AEA, #5E10B8);
  color: #fff;
}
.cta h2 { color: #fff; }
.cta .lead { color: rgba(255,255,255,.86); }
.waitlist {
  margin: 32px auto 0; max-width: 480px; display: flex; gap: 10px;
}
.waitlist input {
  flex: 1; border: none; border-radius: 999px; padding: 15px 22px;
  font-family: inherit; font-size: 15px; outline: none;
}
.waitlist .btn { white-space: nowrap; }
.waitlist-note { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.waitlist-err {
  flex-basis: 100%; margin-top: 12px; font-size: 14px; font-weight: 600;
  color: #FFD2D2; text-align: center;
}
.waitlist button[disabled], .waitlist .btn[disabled] { opacity: .6; cursor: default; }
.waitlist-ok {
  margin: 28px auto 0; max-width: 480px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28); border-radius: 16px; padding: 20px;
  font-size: 15px;
}
@media (max-width: 540px) { .waitlist { flex-direction: column; } .waitlist input { text-align: center; } }

/* ---- Footer ---- */
.footer { background: var(--ink); color: rgba(255,255,255,.66); padding: 54px 0 40px; }
.footer .top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer .brand .word { color: #fff; }
.footer .tag { font-size: 14px; max-width: 320px; margin-top: 12px; }
.footer .cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer .col h5 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.footer .col a, .footer .col span { display: block; font-size: 14px; padding: 10px 0; min-height: 40px; line-height: 1.4; }
.footer .col a:hover { color: #fff; }
.footer .legal {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---- Investor page ---- */
.inv-hero {
  background: linear-gradient(135deg, #7A1AEA, #5E10B8); color: #fff; padding: 84px 0;
}
.inv-hero h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; }
.inv-hero .lead { color: rgba(255,255,255,.88); margin-top: 18px; font-size: 19px; }
.inv-hero .headline {
  margin-top: 26px; font-size: 21px; font-weight: 600; font-style: italic;
  border-left: 4px solid rgba(255,255,255,.5); padding-left: 18px; max-width: 760px;
}
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.proof-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.proof-card .num { font-size: 15px; font-weight: 800; color: var(--purple); }
.proof-card h3 { font-size: 19px; font-weight: 700; margin: 6px 0 12px; }
.proof-card ul { list-style: none; }
.proof-card li { font-size: 14px; color: var(--ink-2); padding-left: 18px; position: relative; margin-bottom: 8px; }
.proof-card li::before { content: "→"; position: absolute; left: 0; color: var(--purple); }
@media (max-width: 920px) { .proof { grid-template-columns: 1fr; } }
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.phase {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  background: var(--bg-alt);
}
.phase .ph { font-size: 13px; font-weight: 800; color: var(--purple); letter-spacing: .04em; }
.phase h3 { font-size: 18px; font-weight: 700; margin: 6px 0 12px; }
.phase p { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
@media (max-width: 920px) { .roadmap { grid-template-columns: 1fr; } }
.docbar { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.doc-link {
  display: flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px;
  transition: transform .12s ease, border-color .2s ease;
}
.doc-link:hover { transform: translateY(-2px); border-color: var(--purple); }
.doc-link .e { font-size: 22px; }
.doc-link .dt { font-weight: 700; font-size: 14.5px; }
.doc-link .ds { font-size: 12.5px; color: var(--ink-3); }

.disclaimer {
  background: var(--purple-mist); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 20px; font-size: 13px; color: var(--ink-2);
  margin-top: 40px;
}

/* ========================================================================
   v2 - Why Birdie · 3 C's · Case studies · Trust · FAQ
   ======================================================================== */

/* ---- Slim solidarity stat strip ---- */
.strip { background: var(--ink); color: #fff; padding: 40px 0; }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.strip .line { font-size: 16px; color: rgba(255,255,255,.78); max-width: 320px; }
.strip .line .strip-big { font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -.02em; }
.strip .nums { display: flex; gap: 36px; flex-wrap: wrap; }
.strip .num { max-width: 215px; }
.strip .num .n { font-size: 34px; font-weight: 800; color: #C79BFF; letter-spacing: -.03em; }
.strip .num .l { font-size: 13px; color: rgba(255,255,255,.62); margin-top: 4px; line-height: 1.45; }

/* ---- Why Birdie - punchy truths ---- */
.why { background: var(--bg-alt); }
.truths {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 22px; margin-top: 44px;
}
.truth {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 28px;
  display: flex; align-items: flex-start; gap: 22px;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.truth:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(122,26,234,.10);
  border-color: rgba(122,26,234,.18);
}
.truth-ic {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--purple-soft); color: var(--purple);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.truth-ic svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.truth-body { flex: 1; min-width: 0; }
.truth-body h3 { font-size: 20px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.truth-body p { font-size: 15px; color: var(--ink-2); margin-top: 10px; line-height: 1.55; }
.why-close {
  margin-top: 36px; text-align: center; font-size: 21px; font-weight: 700;
  color: var(--ink);
}
.why-close b { color: var(--purple); }
@media (max-width: 760px) {
  .truths { grid-template-columns: 1fr; gap: 16px; }
  .truth { padding: 24px 22px; gap: 16px; min-height: 0; }
  .truth-ic { width: 44px; height: 44px; border-radius: 12px; }
  .truth-ic svg { width: 22px; height: 22px; }
}

/* ---- The 3 C's ---- */
.threeC { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.c-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px;
  background: #fff; position: relative; overflow: hidden;
}
.c-card .big {
  font-family: 'Albert Sans', sans-serif; font-weight: 400;
  font-size: 70px; line-height: .8; color: var(--purple-soft);
  position: absolute; top: 14px; right: 20px;
  letter-spacing: -0.025em; text-transform: lowercase;
}
.c-card .k {
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple);
}
.c-card h3 { font-size: 22px; font-weight: 800; margin: 6px 0 12px; position: relative; }
.c-card p { font-size: 14.5px; color: var(--ink-2); position: relative; }
@media (max-width: 880px) { .threeC { grid-template-columns: 1fr; } }

/* ---- Case studies ---- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .15s ease, box-shadow .2s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.case-card .ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; background: var(--purple-soft); margin-bottom: 16px;
}
.case-card .scenario { font-size: 15px; font-weight: 700; }
.case-card h3 { font-size: 18px; font-weight: 700; margin-top: 4px; }
.case-card .with {
  font-size: 14px; color: var(--ink-2); margin-top: 12px;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.case-card .with b { color: var(--purple); }
@media (max-width: 920px) { .cases { grid-template-columns: 1fr; } }

/* ---- Trust cards ---- */
.trust { background: var(--bg-alt); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.trust-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px;
}
.trust-card .ic { font-size: 26px; }
.trust-card h3 { font-size: 16.5px; font-weight: 700; margin: 12px 0 6px; }
.trust-card p { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 920px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 44px auto 0; }
.faq-item {
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  font-size: 16.5px; font-weight: 700; display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--purple); font-size: 24px; font-weight: 700;
  flex-shrink: 0; transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .a {
  padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-2); line-height: 1.65;
}

/* ---- Mission (about) ---- */
.mission-band {
  background:
    radial-gradient(700px 360px at 80% 0%, rgba(122,26,234,.10), transparent 60%),
    var(--bg-alt);
}
.mission-quote {
  font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.35;
  letter-spacing: -.02em; max-width: 820px;
}
.mission-quote .hl { color: var(--purple); }

/* ---- generic two-button CTA row centered ---- */
.cta .waitlist + .or { margin-top: 18px; font-size: 14.5px; color: rgba(255,255,255,.78); }
.cta .or a { color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.5); }

/* ---- SVG line icons (replace emoji) ---- */
.i {
  stroke: currentColor; fill: none; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round; display: block;
}
.feature .ic, .case-card .ic, .expert-card .ic, .trust-card .ic { color: var(--purple); }
.feature .ic .i { width: 26px; height: 26px; }
.case-card .ic .i { width: 25px; height: 25px; }
.expert-card .ic .i { width: 24px; height: 24px; }
.trust-card .ic .i { width: 30px; height: 30px; }
.ps-card .t .e .i { width: 15px; height: 15px; color: var(--purple); }
.ps-nav .i { width: 19px; height: 19px; }

/* ---- How It Works: feature grid sub-block ---- */
.how-inside { margin-top: 60px; }
.inside-title {
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 26px;
}

/* ---- Who It's For: stake cards (icon + lead) ---- */
.stake-card { text-align: left; }
.stake-ic {
  width: 48px; height: 48px; border-radius: 13px; margin-bottom: 16px;
  background: var(--purple-soft); color: var(--purple);
  display: grid; place-items: center;
}
.stake-ic .i { width: 24px; height: 24px; }
.stake-card .stake-lead { font-size: 14.5px; color: var(--ink-2); margin-top: 2px; }

/* ---- What makes Birdie different: patient profile proof ---- */
.profile-proof {
  display: flex; gap: 32px; align-items: center;
  max-width: 880px; margin: 48px auto 0; text-align: left;
}
.profile-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm); flex: 1; min-width: 0;
}
.pc-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 13px; border-bottom: 1px solid var(--line); margin-bottom: 10px;
}
.pc-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple), #9B45FF);
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px;
}
.pc-name { font-weight: 800; font-size: 16px; }
.pc-sub { font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.pc-row { display: flex; gap: 12px; padding: 8px 0; font-size: 13.5px; }
.pc-row + .pc-row { border-top: 1px solid var(--line); }
.pc-k { color: var(--ink-3); font-weight: 700; width: 92px; flex-shrink: 0; }
.pc-v { color: var(--ink); }
.profile-note { flex: 1; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.profile-note b { color: var(--ink); }
@media (max-width: 760px) { .profile-proof { flex-direction: column; gap: 22px; } }

/* ---- Getting Birdie: the two ways in ---- */
.get-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  max-width: 820px; margin: 44px auto 0; text-align: left;
}
.get-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; background: #fff;
}
.get-card.primary { background: var(--purple-mist); border-color: var(--purple-soft); }
.get-tag {
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--purple);
}
.get-card h3 { font-size: 20px; font-weight: 800; margin: 7px 0 8px; }
.get-card p { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 700px) { .get-grid { grid-template-columns: 1fr; } }

/* ---- Founder moment on the homepage ---- */
.founder-quote-block { max-width: 720px; margin: 30px auto 0; }
.founder-quote-block p {
  font-size: 22px; line-height: 1.55; font-weight: 600;
  color: var(--ink); letter-spacing: -.01em;
}
.fq-by { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
.fq-photo {
  width: 86px; height: 86px; border-radius: 50%; object-fit: cover;
  object-position: center 22%;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(26,20,48,.18);
}
.fq-text { text-align: left; }
.fq-name { font-weight: 800; font-size: 15px; }
.fq-title { font-size: 13px; color: var(--ink-3); }
.fq-link { font-size: 13px; color: var(--purple); font-weight: 700; }
.founder-proof {
  max-width: 600px; margin: 28px auto 0; font-size: 14px; color: var(--ink-2);
  padding-top: 22px; border-top: 1px solid var(--line); line-height: 1.6;
}

/* ========================================================================
   v3 - liveness: scroll reveals, animated phone screens, nav depth on scroll
   ======================================================================== */
.nav { transition: box-shadow .25s ease; }
.nav.scrolled { box-shadow: 0 6px 22px rgba(58, 20, 120, .09); }

/* phone: typing indicator (matches the app's chat) */
.ps-typing {
  align-self: flex-start; display: flex; gap: 4px; align-items: center;
  background: #fff; box-shadow: 0 3px 12px rgba(31, 36, 48, .06);
  border-radius: 13px; border-bottom-left-radius: 4px;
  border-left: 3px solid var(--purple); padding: 11px 13px;
}
.ps-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3);
  animation: psblink 1.2s infinite both;
}
.ps-typing span:nth-child(2) { animation-delay: .2s; }
.ps-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes psblink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* scroll reveals - only when JS is on and motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  /* Section headings (eyebrows, h1, h2) are always visible immediately.
     Never wrap them in opacity:0 reveal so users can see what section they are in.
     Only the supporting content (cards, leads, truths) fades in for liveness. */
  .js .lead, .js .strip .line, .js .strip .num,
  .js .truth, .js .why-close, .js .phone-cap, .js .profile-card, .js .profile-note,
  .js .moments-tabs, .js .moments-stage,
  .js .stake-card, .js .trust-card, .js .faq-item, .js .get-card,
  .js .founder-quote-block, .js .founder-proof {
    opacity: 0; transform: translateY(22px);
    transition: opacity .6s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.4, 0, .2, 1);
  }
  .js .reveal-in { opacity: 1 !important; transform: none !important; }
  .js .s1 { transition-delay: .07s; }
  .js .s2 { transition-delay: .14s; }
  .js .s3 { transition-delay: .21s; }
}

/* ========================================================================
   v4 - mobile hamburger menu
   ======================================================================== */
.menu-btn {
  display: none; margin-left: auto;
  width: 44px; height: 44px; padding: 0;
  background: var(--purple-soft); color: var(--purple);
  border: none; border-radius: 12px; cursor: pointer;
  position: relative; flex-shrink: 0;
  transition: background .15s ease, transform .08s ease;
}
.menu-btn:hover { background: #e7d6ff; }
.menu-btn:active { transform: scale(.96); }
.menu-btn:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.menu-btn span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .3s cubic-bezier(.4,0,.2,1),
              opacity .18s ease,
              top .3s cubic-bezier(.4,0,.2,1);
}
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 27px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.menu-panel {
  position: fixed; left: 0; right: 0; top: 70px; bottom: 0;
  background: #fff; z-index: 49;
  display: flex; flex-direction: column;
  padding: 14px 22px calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform .35s cubic-bezier(.4,0,.2,1),
              opacity .25s ease,
              visibility 0s linear .25s;
}
.menu-panel[aria-hidden="false"] {
  transform: translateY(0); opacity: 1; visibility: visible;
  transition: transform .35s cubic-bezier(.4,0,.2,1),
              opacity .25s ease,
              visibility 0s linear 0s;
}
.menu-panel a {
  display: block; padding: 18px 4px; font-size: 22px; font-weight: 700;
  color: var(--ink); border-bottom: 1px solid var(--line); letter-spacing: -.01em;
}
.menu-panel a:active { color: var(--purple); }
.menu-panel a.btn {
  display: flex; align-items: center; justify-content: center;
  border-bottom: none; padding: 16px 22px; font-size: 16.5px;
  margin-top: 22px; letter-spacing: 0;
}

@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav > .wrap > .btn-primary { display: none; }
}
@media (min-width: 761px) {
  .menu-panel { display: none !important; }
}

body.menu-open { overflow: hidden; }

/* ========================================================================
   v5 - Hard Moments: tab-navigated use cases
   ======================================================================== */
.moments-tabs {
  display: flex; gap: 8px; margin-top: 38px; flex-wrap: wrap;
  justify-content: center;
}
.moments-tabs button {
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  font-family: inherit; font-size: 14px; font-weight: 700;
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .08s ease;
}
.moments-tabs button:hover { border-color: var(--purple-soft); color: var(--ink); }
.moments-tabs button:active { transform: scale(.97); }
.moments-tabs button[aria-selected="true"] {
  background: var(--purple); color: #fff; border-color: var(--purple);
  box-shadow: 0 6px 18px rgba(122,26,234,.22);
}
.moments-tabs button:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

/* swipe carousel: cards scroll horizontally, the centered one is in focus */
.moments-stage {
  margin: 32px 0 0;
  padding: 12px max(20px, calc(50% - 350px));
  display: flex; gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  text-align: left;
}
.moments-stage::-webkit-scrollbar { display: none; }
.moment {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px;
  position: relative;
  flex: 0 0 min(700px, calc(100% - 56px));
  scroll-snap-align: center;
  opacity: .35; transform: scale(.96);
  transition: opacity .35s ease, transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 2px 8px rgba(31,36,48,.04);
}
.moment.active {
  opacity: 1; transform: scale(1);
  box-shadow: var(--shadow-sm);
}
.moment-ic {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--purple-soft); color: var(--purple);
  display: grid; place-items: center; margin-bottom: 18px;
}
.moment-ic .i { width: 26px; height: 26px; }
.moment .scenario {
  font-size: 12px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--purple);
}
.moment h3 {
  font-size: 28px; font-weight: 800; margin: 6px 0 18px;
  letter-spacing: -.02em; color: var(--ink);
}
.moment .with {
  font-size: 17px; color: var(--ink-2); line-height: 1.6;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.moment .with b { color: var(--ink); font-weight: 700; }

/* mobile: tabs scroll horizontally with snap if they don't fit */
@media (max-width: 620px) {
  .moments-tabs {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    padding: 4px 24px; margin-left: -24px; margin-right: -24px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }
  .moments-tabs::-webkit-scrollbar { display: none; }
  .moments-tabs button { scroll-snap-align: start; flex-shrink: 0; }
  .moment { padding: 28px 24px; }
  .moment h3 { font-size: 23px; }
  .moment .with { font-size: 15.5px; }
}

/* ---- Founder story (About) ---- */
.founder-story { max-width: 680px; margin-top: 8px; }
.founder-story p {
  font-size: 18px; line-height: 1.7; color: var(--ink-2); margin-bottom: 16px;
}
.founder-story p:first-of-type {
  font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -.01em;
}
.founder-sign {
  font-family: 'Dancing Script', cursive; font-weight: 700;
  font-size: 30px; color: var(--purple); margin: 2px 0 26px;
}
.founder-byline {
  display: flex; align-items: center; gap: 14px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.founder-photo {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
  object-position: center 22%;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(26,20,48,.18);
}
.founder-byline .bn { font-weight: 700; font-size: 15px; }
.founder-byline .bt { font-size: 13.5px; color: var(--ink-2); }
.founder-byline .bc { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
@media (max-width: 820px) {
  .founder-story p:first-of-type { font-size: 21px; }
}

/* ---- Built with experts (About) ---- */
.experts { background: var(--bg-alt); }
.expert-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px;
}
.expert-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.expert-card .ic {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  font-size: 23px; background: var(--purple-soft); margin-bottom: 14px;
}
.expert-card h3 { font-size: 17px; font-weight: 700; }
.expert-card p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 820px) { .expert-row { grid-template-columns: 1fr; } }

/* ============================================================
   Mobile carousel system (How It Works, Who It's For, Real Moments)
   Desktop unchanged. On mobile, sections become swipeable horizontally
   with peek-on-edges and circular chevron arrow buttons on left/right.
   ============================================================ */

.carousel-frame { position: relative; }
.carousel-arrow { display: none; }

@media (max-width: 880px) {
  /* Reserve vertical space below the cards so the arrows have their own zone
     and never overlap card content. */
  .carousel-frame { padding-bottom: 52px; }

  /* Arrow buttons live in that reserved zone, centered as a pair, NOT on the cards */
  .carousel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 6px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 14px rgba(26, 20, 48, 0.12);
    color: var(--ink);
    cursor: pointer;
    z-index: 5;
    padding: 0;
    transition: transform 0.18s ease, background 0.18s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .carousel-arrow:hover, .carousel-arrow:focus-visible { background: #fff; transform: scale(1.06); }
  .carousel-arrow:active { transform: scale(0.96); }
  /* Centered pair: prev sits left of center, next sits right of center, with a 24px gap between them */
  .carousel-arrow.prev { left: calc(50% - 50px); }
  .carousel-arrow.next { right: calc(50% - 50px); }
  .carousel-arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

  /* Phone frame scales down on mobile so it fits with peek room */
  /* Mobile phone keeps the modern iPhone aspect (1:2.17) with proportional notch */
  .phone-frame { width: 240px; height: 520px; border-radius: 36px; }
  .phone-screen { border-radius: 28px; }
  .phone-screen::before { width: 42px; height: 12px; top: 8px; }

  /* How It Works → horizontal swipe carousel on mobile, with peek + dim */
  .phone-showcase {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    margin-top: 22px;
    padding: 12px max(16px, calc(50% - 135px));
    justify-content: flex-start;
  }
  .phone-showcase::-webkit-scrollbar { display: none; }
  .phone-item {
    flex: 0 0 auto;
    width: 270px;
    scroll-snap-align: center;
    transition: opacity .35s ease, transform .35s ease;
  }
  .js .phone-item { opacity: 0.42; transform: scale(0.96); }
  .js .phone-item.is-active { opacity: 1; transform: scale(1); }
  .phone-cap h3 { font-size: 17px; }
  .phone-cap p { font-size: 13px; }

  /* Who It's For → horizontal swipe carousel on mobile */
  .stake .grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    margin-top: 22px;
    padding: 12px max(16px, calc(50% - 145px));
  }
  .stake .grid::-webkit-scrollbar { display: none; }
  .stake-card {
    flex: 0 0 auto;
    width: min(82vw, 290px);
    scroll-snap-align: center;
    padding: 22px 20px;
    transition: opacity .35s ease, transform .35s ease;
  }
  /* !important here to win against the global .reveal-in rule, which would otherwise
     bump opacity back to 1 after the card scrolls into view */
  .js .stake-card { opacity: 0.42 !important; transform: scale(0.96) !important; }
  .js .stake-card.is-active { opacity: 1 !important; transform: scale(1) !important; }
  .stake-card h3 { font-size: 19px; }
  .stake-card .stake-lead { font-size: 14.5px; }

  /* Sections breathe a little less, content stays in its frame */
  .hero { padding: 32px 0 44px; }
  .strip { padding: 28px 0; }
  .strip .nums { gap: 18px; }
  .strip .num .n { font-size: 28px; }
  .strip .num .l { font-size: 12.5px; }
  .why-close { font-size: 17px; margin-top: 24px; }

  /* tighten dense card grids on mobile */
  .trust-card { padding: 22px 20px; }
  .trust-card h3 { font-size: 17px; }
  .trust-card p { font-size: 14px; }
  .faq-item summary { padding: 18px 20px; font-size: 16px; }
  .faq-item .a { padding: 0 20px 18px; font-size: 14.5px; }

  /* footer breathes less on mobile so it doesn't feel floaty */
  .footer { padding: 36px 0 28px; }
  .footer .top { gap: 24px; }
}

/* ---- Scroll progress indicator (subtle, top-of-viewport, sits above sticky nav) ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), #B176FF);
  z-index: 60;
  transition: width 0.08s ease-out;
  will-change: width;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }
}
