/* Homepage hero — right-hand phone + floating widgets only.
   Left column, nav, and everything below the hero are untouched. */

.hero-stage{
  position:relative;
  width:100%;
  height:852px;
  min-width:0;
  justify-self:stretch;
  isolation:isolate;
}
.hero-glow{
  position:absolute;
  z-index:0;
  left:50%;
  top:46%;
  width:min(640px,130%);
  height:720px;
  transform:translate(-50%,-52%);
  pointer-events:none;
  background:
    radial-gradient(circle at 42% 42%, rgba(91,110,245,.34), transparent 58%),
    radial-gradient(circle at 68% 58%, rgba(236,72,153,.28), transparent 52%),
    radial-gradient(circle at 50% 48%, rgba(168,85,247,.26), transparent 62%);
  /* The radials are still colored at this box, so the left and right edges
     read as hard vertical lines. Feather those edges into the page. */
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.hero-phone{
  position:absolute;
  z-index:2;
  left:calc(50% + 62px);
  top:10px;
  /* iPhone 16/17 Pro Max screen is 440×956pt (19.5:9). Outer frame keeps that ratio. */
  width:392px;
  height:824px;
  transform:translateX(-50%);
  padding:12px;
  border-radius:52px;
  background:linear-gradient(160deg,#2a2a36,#0c0c12 42%,#16161f);
  box-shadow:
    0 40px 80px rgba(60,40,110,.30),
    0 12px 28px rgba(60,40,110,.16),
    inset 0 0 0 1px rgba(255,255,255,.14),
    inset 0 1px 0 rgba(255,255,255,.28);
}
.hero-screen{
  position:relative;
  height:100%;
  overflow:hidden;
  border-radius:42px;
  background:#f4f2fa;
  container-type:inline-size;
}
.dash-scaler{
  position:absolute;
  top:0;
  left:0;
  width:390px;
  transform-origin:top left;
  /* Dashboard is authored at 390px. Scale it to the screen on the first
     frame — a later JS write is what made the screen grow in on load. */
  transform:scale(calc(100cqw / 390px));
}
.dash-track{
  width:390px;
  --shift:0px;
  /* Cards finish landing at ~1.5s. Scroll starts on the next beat, then loops. */
  animation:dash-scroll 32s linear 1.7s infinite;
  will-change:transform;
}
@keyframes dash-scroll{
  0%{transform:translate3d(0,0,0)}
  62%{transform:translate3d(0,var(--shift),0)}
  74%{transform:translate3d(0,var(--shift),0)}
  100%{transform:translate3d(0,0,0)}
}

/* ----- in-phone dashboard, designed at 390px ----- */
.d{
  padding:14px 14px 8px;
  font-family:'Poppins',sans-serif;
  color:#1c1c28;
  background:#f3f1f8;
}
.d-top{
  display:flex;
  align-items:center;
  gap:8px;
  padding:2px 2px 12px;
}
.d-logo{height:26px;width:auto}
.d-photo{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:8px;
  background:#fff;
  border-radius:999px;
  padding:5px 12px 5px 5px;
  box-shadow:0 6px 16px rgba(80,60,120,.08);
}
.d-photo img{width:28px;height:28px;border-radius:8px}
.d-photo span{font-weight:700;font-size:13px;color:#7c3aed;white-space:nowrap}
.d-bell{width:28px;height:32px;object-fit:contain}
.d-ava{width:36px;height:36px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #fff}

.d-card{
  background:#fff;
  border-radius:22px;
  box-shadow:0 8px 22px rgba(70,50,110,.06);
  margin-bottom:10px;
}
.d-score{padding:14px 14px 16px}
.d-score-h{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  font-size:16px;
  letter-spacing:-.2px;
}
.d-info{
  width:18px;height:18px;border-radius:50%;
  background:#f1eef6;color:#9a94a8;
  font-style:normal;font-weight:700;font-size:11px;
  display:inline-flex;align-items:center;justify-content:center;
}
.d-score-body{display:flex;gap:14px;align-items:center;margin-top:12px}
.d-ring{
  --p:78;
  width:112px;height:112px;flex:none;
  border-radius:50%;
  background:conic-gradient(from -90deg,#f5922f,#ec4899 28%,#8b5cf6 58%,#5b6ef5 calc(var(--p)*1%),#eceaf3 0);
  display:grid;place-items:center;
}
.d-ring div{
  width:86px;height:86px;border-radius:50%;background:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  line-height:1;
}
.d-ring b{font-size:32px;font-weight:800;letter-spacing:-1px}
.d-ring small{margin-top:3px;font-size:10px;font-weight:700;color:#16a34a}
.d-score-copy strong{display:block;font-size:15px;font-weight:800;margin-bottom:4px}
.d-score-copy p{font-size:12px;line-height:1.45;color:#5e5e6e;font-weight:500}
.d-score-copy em{display:block;margin-top:8px;font-style:normal;font-size:11px;font-weight:700;color:#8b5cf6}

.d-duo{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}
.d-cycle,.d-quote{position:relative;overflow:hidden;aspect-ratio:1/1.02;min-height:0;margin:0;border-radius:18px;box-shadow:none}
.d-cycle{background:#fff}
.d-cycle-photo{
  position:absolute;right:0;top:0;height:100%;width:64%;
  object-fit:cover;object-position:right center;
  pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.25) 22%,#000 58%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.25) 22%,#000 58%);
}
.d-cycle::after{
  content:"";
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.9) 18%,rgba(255,255,255,.5) 36%,rgba(255,255,255,.16) 54%,rgba(255,255,255,0) 74%);
}
.d-cycle-chev{position:absolute;top:8px;right:7px;z-index:3;line-height:0}
.d-cycle-chev svg{width:7px;height:11px;display:block}
.d-cycle-copy{position:relative;z-index:2;padding:8px 18px 36px 9px;box-sizing:border-box}
.d-cycle-top{display:flex;align-items:center;gap:6px;min-width:0}
.d-cal{
  width:22px;height:22px;border-radius:7px;background:#fde8c8;
  display:inline-flex;align-items:center;justify-content:center;flex:none;
}
.d-cal svg{width:13px;height:13px}
.d-cycle-k{font-size:10px;font-weight:600;color:#6a7380;line-height:1.15;white-space:nowrap}
.d-cycle-phase{margin-top:5px;font-size:17px;font-weight:800;color:#e3941a;letter-spacing:-.35px;line-height:1.05}
.d-cycle-day{margin-top:4px;font-size:11.5px;font-weight:800;color:#e3941a;line-height:1.15;white-space:nowrap}
.d-cycle-note{margin:4px 0 0;max-width:11.6em;font-size:9px;font-weight:500;color:#8b93a0;line-height:1.32}
.d-phase{
  position:absolute;left:7px;right:7px;bottom:7px;z-index:2;
  display:flex;align-items:center;gap:5px;
  background:#fff;border-radius:999px;padding:5px 8px;
  box-shadow:0 5px 12px rgba(80,50,90,.12);
}
.d-phase-track{
  position:relative;flex:1;height:5px;border-radius:99px;
  background:linear-gradient(90deg,#f9a8c4 0%,#e879f9 48%,#8b5cf6 100%);
}
.d-phase-track i{
  position:absolute;left:70%;top:50%;width:13px;height:13px;border-radius:50%;
  background:#7c3aed;border:2px solid #fff;transform:translate(-50%,-50%);
  box-shadow:0 1px 4px rgba(124,58,237,.4);
}
.d-quote{color:#fff;background:#3a1830}
.d-quote img.d-quote-bg{
  position:absolute;inset:0;width:100%;height:100%;max-width:none;
  object-fit:cover;object-position:right center;
}
.d-quote-copy{position:relative;z-index:1;max-width:86%;padding:10px 4px 34px 10px}
.d-quote-k{font-size:10px;font-weight:600;line-height:1.2}
.d-quote-copy blockquote{margin:4px 0 0;font-size:10.5px;font-weight:700;line-height:1.18;letter-spacing:-.3px}
.d-quote-copy cite{display:block;margin-top:5px;font-style:normal;font-size:11px;font-weight:600;line-height:1.2}
.d-quote-acts{position:absolute;left:7px;right:7px;bottom:7px;z-index:2;display:flex;gap:5px}
.d-quote-acts > span{
  display:flex;align-items:center;justify-content:center;gap:3px;
  height:22px;border-radius:999px;border:1px solid rgba(255,255,255,.82);
  font-size:8.5px;font-weight:600;background:rgba(20,8,20,.22);color:#fff;
  white-space:nowrap;padding:0 7px;box-sizing:border-box;min-width:0;
  box-shadow:none;outline:none;
}
.d-quote-acts > span:first-child{flex:1.25}
.d-quote-acts > span:last-child{flex:.9}
.d-quote-acts > span svg{width:10px;height:10px;flex:none;display:block}
.d-quote-acts > span span{border:0;background:transparent;padding:0;margin:0;height:auto;box-shadow:none;font:inherit;color:inherit;line-height:1}

.d-fast{display:flex;flex-direction:column;gap:2px;padding:11px 12px 12px}
.d-fast-h{display:flex;align-items:center;gap:8px}
.d-fast-h img{width:34px;height:34px;border-radius:11px}
.d-fast-h strong{font-size:16px;font-weight:800}
.d-fast-state{margin-left:auto;font-size:14px;font-weight:800;letter-spacing:-.2px;white-space:nowrap}
.d-fast-bot{display:flex;align-items:center;gap:8px}
.d-fast-gauge{display:flex;align-items:center;gap:8px;flex:none}
.d-gauge{position:relative;width:74px;height:48px;flex:none}
.d-gauge svg{width:74px;height:46px;display:block}
.d-gauge figcaption{position:absolute;left:4px;right:4px;top:10px;text-align:center}
.d-gauge figcaption b{display:block;font-size:6.5px;line-height:1.05;letter-spacing:.1px;color:#9aa0ab;font-weight:700}
.d-gauge figcaption strong{display:block;margin-top:1px;font-size:13px;font-weight:800;letter-spacing:-.4px;line-height:1}
.d-gauge figcaption small{display:block;margin-top:1px;font-size:8px;color:#8a8a98;font-weight:600}
.d-fast-ticks{display:flex;gap:4px;align-items:center}
.d-fast-ticks i{display:block;width:3px;height:22px;border-radius:99px;background:#d5d5e0}
.d-fast-note{flex:1;min-width:0;max-width:108px;margin:0 auto;text-align:center;color:#8b909c;font-size:11px;font-weight:600;line-height:1.15}
.d-end{
  display:inline-flex;align-items:center;gap:4px;flex:none;
  background:#f3e8ff;color:#7c3aed;font-weight:800;font-size:12px;
  border-radius:14px;padding:8px 10px;
}
.d-end svg{width:16px;height:16px;flex:none}

.d-water{
  display:grid;
  grid-template-columns:auto auto 48px 1fr;
  align-items:center;
  column-gap:8px;
  padding:10px 12px 12px;
}
.d-water img.ic{width:36px;height:36px;border-radius:12px;grid-row:1;grid-column:1}
.d-water > strong{grid-row:1;grid-column:2;font-size:17px;font-weight:800}
.d-bottle{grid-row:1;grid-column:3;width:44px;height:72px;object-fit:contain}
.d-water-stats{grid-row:1;grid-column:4;min-width:0}
.d-water-stats .amt{font-size:15px;font-weight:800;letter-spacing:-.3px;line-height:1.1}
.d-water-stats .amt span{font-weight:600;color:#9a9aa6;font-size:13px}
.d-water-barline{display:flex;align-items:center;gap:6px;margin-top:6px}
.d-bar{flex:1;height:6px;border-radius:99px;background:#eceaf3;overflow:hidden}
.d-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#7dd3fc,#3b82f6)}
.d-pct{font-weight:800;font-size:13px;color:#3b82f6;white-space:nowrap}
.d-water-row{display:flex;align-items:center;gap:6px;margin-top:8px}
.d-chip{
  display:inline-flex;align-items:center;gap:4px;
  border-radius:12px;padding:6px 8px;font-size:10px;font-weight:700;white-space:nowrap;
}
.d-chip.blue{background:#e7f1ff;color:#3b82f6}
.d-chip.violet{background:#f3e8ff;color:#7c3aed}
.d-chip svg{width:12px;height:14px;flex:none}

.d-macros{padding:12px 12px 10px}
.d-macros-h{display:flex;align-items:center;gap:8px}
.d-macros-h img{width:34px;height:34px;border-radius:11px}
.d-macros-h strong{font-size:17px;font-weight:800}
.d-mac-body{display:flex;gap:8px;align-items:center;margin-top:8px}
.d-bowl{width:52px;height:52px;border-radius:50%;object-fit:cover;flex:none}
.d-lines{flex:1;min-width:0;display:flex;flex-direction:column}
.d-line{display:flex;align-items:baseline;gap:4px;padding:4px 0 5px;border-bottom:1px solid #efeaf6;font-size:11px;font-weight:700}
.d-line .lab{font-weight:700;color:#1c1c28}
.d-line .lab i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px}
.d-line .nums{margin-left:auto;font-weight:800}
.d-line .nums span{font-weight:600;color:#9a9aa6}
.d-line .pct{min-width:30px;text-align:right;font-weight:800}
.p-pro{color:#f43f8e}
.p-carb{color:#f59e0b}
.p-fat{color:#8b5cf6}
.d-line .lab i.p-pro{background:#f43f8e}
.d-line .lab i.p-carb{background:#f59e0b}
.d-line .lab i.p-fat{background:#8b5cf6}
.d-add{display:flex;flex-direction:column;gap:6px;flex:none}
.d-add .cam,.d-add .plan{
  width:64px;border-radius:14px;color:#fff;font-family:inherit;
  font-weight:800;font-size:8.5px;line-height:1.15;padding:8px 5px;text-align:center;
}
.d-add .cam{background:#ec4899}
.d-add .plan{background:#22c55e}
.d-add svg{width:16px;height:16px;display:block;margin:0 auto 3px}
.d-macros-foot{
  display:flex;gap:6px;align-items:center;
  margin-top:8px;font-size:10px;font-weight:700;color:#3a3a48;
}
.d-macros-foot span{display:inline-flex;align-items:center;gap:3px;min-width:0}
.d-macros-foot b{color:#1c1c28}
.d-macros-foot .sep{width:1px;height:12px;background:#e6e2ee;flex:none}
.d-macros-foot svg{width:12px;height:12px;flex:none}

.d-row{display:flex;align-items:center;gap:8px;padding:11px 12px;min-height:58px}
.d-row > img{width:34px;height:34px;border-radius:11px;flex:none}
.d-row > strong{font-size:15px;font-weight:800}
.d-row .grow{min-width:0;flex:1}
.d-row .grow strong{display:block;font-size:15px;font-weight:800;line-height:1.15}
.d-row .sub{font-size:11px;color:#8a8a98;font-weight:600;margin-top:1px;line-height:1.25}
.d-mid{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;white-space:nowrap}
.d-mid.pur{color:#7c3aed}
.d-mid.grn{color:#16a34a}
.d-mid.mute{color:#8a8a98}
.d-link{margin-left:8px;font-weight:800;font-size:13px;display:inline-flex;align-items:center;gap:2px;white-space:nowrap}
.d-link.pur{color:#7c3aed}
.d-link.grn{color:#16a34a}
.d-link.ora{color:#1c1c28}
.d-chev{color:#c5c5d2;font-weight:500;font-size:16px;line-height:1}
.d-dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex:none}
.d-act{align-items:center}
.d-act .sub{max-width:150px}
.d-config{
  margin-left:auto;
  border:1.5px solid #86efac;color:#16a34a;background:#f0fdf4;
  font-weight:800;font-size:12px;border-radius:999px;padding:7px 10px;white-space:nowrap;
}

.d-mind{display:flex;align-items:center;gap:6px;padding:11px 8px 10px}
.d-mind > img{width:32px;height:32px;border-radius:11px;flex:none}
.d-mind .grow{min-width:78px;flex:1 1 78px}
.d-mind .grow strong{display:block;font-size:13px;font-weight:800;line-height:1.1}
.d-mind .sub{font-size:10px;line-height:1.2}
.d-moods{display:grid;grid-template-columns:repeat(5,32px);width:164px;max-width:164px;flex:0 0 164px;margin-left:auto;justify-content:end}
.d-moods figure{width:34px;text-align:center}
.d-moods img{width:22px!important;height:22px!important;max-width:22px;border-radius:50%;object-fit:cover;margin:0 auto;display:block}
.d-moods figcaption{font-size:6px;font-weight:600;color:#9a9aa6;margin-top:1px;line-height:1.05}
.d-moods figure.on img{box-shadow:0 0 0 2px #fff,0 0 0 3.5px #4ade80}
.d-moods figure.on figcaption{color:#16a34a;font-weight:800}

.d-sym{padding:11px 10px 12px}
.d-sym-main{display:flex;align-items:center;gap:4px}
.d-sym-main > img.ic{width:32px;height:32px;border-radius:11px;flex:none;align-self:flex-start}
.d-sym-copy{min-width:0;flex:1 1 90px}
.d-sym h3{font-size:13px;line-height:1.05;font-weight:800}
.d-sym .q{font-size:9.5px;color:#8a8a98;font-weight:600;margin-top:3px;line-height:1.25}
.d-syms{display:grid;grid-template-columns:repeat(4,36px);width:148px;flex:0 0 148px;justify-content:end}
.d-syms figure{width:38px;text-align:center}
.d-syms img{width:28px!important;height:28px!important;max-width:28px;border-radius:10px;margin:0 auto;display:block;object-fit:cover;background:#ffe4ef}
.d-syms figcaption{font-size:7px;font-weight:600;color:#8a8a98;margin-top:2px;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.d-syms figure.on img{box-shadow:0 0 0 2px #f472b6}
.d-syms figure.on figcaption{color:#db2777;font-weight:800}
.d-mild{
  display:inline-flex;align-items:center;gap:4px;margin-top:6px;
  background:#dcfce7;color:#15803d;font-weight:800;font-size:11px;
  border-radius:999px;padding:4px 8px;
}
.d-sym .d-chev{align-self:center;margin-left:2px}

.d-habits{display:flex;align-items:center;gap:8px;padding:11px 10px}
.d-habits > img{width:34px;height:34px;border-radius:11px;flex:none}
.d-habits .grow{min-width:0}
.d-habits .grow strong{display:block;font-size:15px;font-weight:800}
.d-habits .lead{font-size:10px;color:#8a8a98;font-weight:600;margin-top:1px;line-height:1.25;max-width:120px}
.d-slots{margin-left:auto;display:flex;gap:4px;align-items:center}
.d-slot{
  display:inline-flex;align-items:center;gap:3px;
  border:1.5px solid #eceaf2;border-radius:999px;padding:5px 6px;
  font-size:10px;font-weight:700;color:#3a3a48;background:#fff;
}
.d-slot span{max-width:34px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.d-slot.on{background:#fff7ed;border-color:#fdba74;color:#c2410c}
.d-slot i{font-style:normal;font-size:11px}
.d-pad{height:108px}

/* fixed tab bar, sized to the visible phone */
.dash-nav{
  position:absolute;left:10px;right:10px;bottom:8px;z-index:5;
  height:62px;border-radius:26px;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 28px rgba(40,30,70,.16);
  display:flex;align-items:flex-end;justify-content:space-around;
  padding:6px 4px 7px;
  font-family:'Poppins',sans-serif;
}
.dash-nav span{
  display:flex;flex-direction:column;align-items:center;gap:2px;
  font-size:9px;font-weight:700;color:#8b8b9c;min-width:46px;
}
.dash-nav svg{width:18px;height:18px;stroke:#8b8b9c;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dash-nav .mark{
  width:48px;height:48px;border-radius:16px;margin-top:-22px;
  box-shadow:0 8px 16px rgba(236,72,153,.28);
  object-fit:cover;
}

/* ----- flying cards ----- */
.fly{
  position:absolute;
  z-index:4;
  background:rgba(255,255,255,.78);
  -webkit-backdrop-filter:blur(16px) saturate(1.3);
  backdrop-filter:blur(16px) saturate(1.3);
  border:1px solid rgba(255,255,255,.92);
  border-radius:22px;
  box-shadow:
    0 18px 40px rgba(70,50,120,.16),
    0 2px 0 rgba(255,255,255,.8) inset;
  font-family:'Poppins',sans-serif;
  color:#1c1c28;
  animation:
    hero-in .85s cubic-bezier(.16,1,.3,1) both,
    hero-float 6.8s ease-in-out calc(var(--d) + .9s) infinite;
  animation-delay:var(--d), calc(var(--d) + .9s);
}
@keyframes hero-in{
  from{opacity:0;transform:translate3d(var(--ix),var(--iy),0) scale(.92)}
  to{opacity:1;transform:none}
}
@keyframes hero-float{
  0%,100%{translate:0 0}
  50%{translate:0 -9px}
}
.fly-score{left:-18px;top:14px;width:184px;padding:12px;box-sizing:border-box;animation-duration:.85s,7.2s}
.fly-water{right:-24px;top:548px;width:164px;padding:12px 12px 12px;animation-duration:.85s,6.4s}
.fly-recipe{right:-78px;top:248px;width:142px;padding:8px;animation-duration:.9s,7.6s}
.fly-sleep{right:-4px;bottom:36px;width:176px;padding:12px 12px 12px;animation-duration:.9s,6.1s}
.fly-steps{left:0;bottom:72px;width:154px;padding:12px 12px 12px;animation-duration:.85s,7.8s}

.fly-k{font-size:10px;font-weight:800;letter-spacing:.8px;color:#8b5cf6}
.fly-score .fly-k{letter-spacing:.3px;line-height:1.2}
.fly-score-row{display:flex;align-items:center;gap:8px;margin-top:8px}
.fly-score-copy{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:2px}
.fly-ring{
  width:48px;height:48px;border-radius:50%;flex:none;
  background:conic-gradient(from -90deg,#f5922f,#ec4899 30%,#8b5cf6 60%,#5b6ef5 78%,#eceaf3 0);
  display:grid;place-items:center;
}
.fly-ring span{
  width:36px;height:36px;border-radius:50%;background:#fff;
  display:grid;place-items:center;font-weight:800;font-size:14px;
}
.fly-score-row b{display:block;font-size:12px;font-weight:800;line-height:1.15}
.fly-score-row small{color:#16a34a;font-weight:700;font-size:10px;line-height:1.2}
.fly-h{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:800}
.fly-h img{width:22px;height:22px;border-radius:7px}
.fly-big{font-size:26px;font-weight:800;letter-spacing:-.6px;line-height:1.1;margin-top:2px}
.fly-sub{font-size:11px;color:#8a8a98;font-weight:600}
.fly-track{height:7px;border-radius:99px;background:#eeeaf3;margin-top:8px;overflow:hidden}
.fly-track i{display:block;height:100%;border-radius:99px}
.fly-track.blue i{width:70%;background:linear-gradient(90deg,#7dd3fc,#3b82f6)}
.fly-track.ora i{width:79%;background:linear-gradient(90deg,#fdba74,#f97316)}
.fly-recipe img.pic{width:100%;height:78px;object-fit:cover;border-radius:14px}
.fly-recipe .cap{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 4px 2px}
.fly-recipe .cap span{font-size:12px;font-weight:800;line-height:1.2}
.fly-recipe .heart{color:#ec4899;font-size:14px}
.fly-kcal{font-size:10px;font-weight:700;color:#16a34a;padding:0 4px 4px}
.fly-bars{display:flex;align-items:flex-end;gap:5px;height:40px;margin-top:8px}
.fly-bars i{flex:1;border-radius:3px;background:#c9d4fb;display:block}
.fly-bars i:nth-child(2){background:#a9baf8}
.fly-bars i:nth-child(4){background:#7c8ff2}
.fly-bars i:nth-child(5){background:#a9baf8}
.fly-bars i:nth-child(6){background:#5b6ef5}

@media (max-width:1100px) and (min-width:901px){
  .hero-stage{height:760px}
  .hero-phone{width:332px;height:694px;left:calc(50% + 24px)}
  .fly-score{width:180px;top:100px;left:-36px}
  .fly-steps{width:140px}
  .fly-water{width:142px;top:400px;right:-8px}
  .fly-recipe{width:136px;top:210px;right:-10px}
  .fly-sleep{width:158px}
  .fly-big{font-size:22px}
}
@media (max-width:900px){
  .hero-stage{height:820px;width:100%;max-width:480px;margin:8px auto 0;justify-self:center;overflow:visible}
  /* The glow is wider than the stage. The old overflow:hidden cut it on a
     straight line beside the phone; keep the fade inside the page edges. */
  .hero-glow{
    -webkit-mask-image:linear-gradient(90deg, transparent 0%, transparent 7%, #000 20%, #000 80%, transparent 93%, transparent 100%);
    mask-image:linear-gradient(90deg, transparent 0%, transparent 7%, #000 20%, #000 80%, transparent 93%, transparent 100%);
  }
  .hero-phone{width:320px;height:668px;top:92px;left:50%}
  .fly-recipe,.fly-steps{display:none}
  .fly-score{left:6px;top:0;width:168px}
  .fly-water{right:6px;top:86px;width:146px}
  .fly-sleep{left:6px;right:auto;bottom:8px;width:168px}
}
@media (max-width:430px){
  .hero-stage{height:730px}
  .hero-phone{width:286px;height:594px;top:80px;left:50%}
  .fly-score{width:156px;padding:10px}
  .fly-water{width:118px;top:392px;right:4px;padding:8px 10px 10px}
  .fly-sleep{width:142px;padding:8px 10px}
  .fly-big{font-size:20px}
  .fly-ring{width:42px;height:42px}
  .fly-ring span{width:32px;height:32px;font-size:13px}
}

@media (prefers-reduced-motion:reduce){
  .dash-track,.fly{animation:none!important}
  .fly{opacity:1;transform:none}
  .hero-stage.is-off .dash-track,.hero-stage.is-off .fly{animation-play-state:paused}
}
.hero-stage.is-off .dash-track,
.hero-stage.is-off .fly{animation-play-state:paused}
