/* ==========================================================================
   JellyJungle — jellyjungle.com
   Brand: "The dose leaf" — Fredoka / Plus Jakarta Sans
   ========================================================================== */

/* Fonts ------------------------------------------------------------------ */
@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/fredoka-normal-300_700.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-normal-200_800.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Tokens ----------------------------------------------------------------- */
:root {
  --canopy: #0b3d2e;
  --jungle: #13734f;
  --lime: #c6f36b;
  --berry: #ff5c7a;
  --cream: #fff7ea;
  --ink: #10231c;
  --mist: #e6f5ec;
  --sand: #f3ebdd;
  --body: #3a4a43;
  --muted: #5b6a63;
  --line: #e8dfcf;
  --white: #ffffff;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow: 0 24px 50px -30px rgba(16, 35, 28, 0.35);
  --font-head: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }
.foot { flex-shrink: 0; }

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--jungle);
  outline-offset: 3px;
  border-radius: 8px;
}
.band :focus-visible, .foot :focus-visible { outline-color: var(--lime); }

::selection { background: var(--lime); color: var(--canopy); }

.skip {
  position: fixed;
  left: -9999px;
  top: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}
.skip:focus { left: 12px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
}
h1 { font-size: clamp(42px, 6.1vw, 76px); }
h2 { font-size: clamp(32px, 4.2vw, 52px); }
h3 { font-size: clamp(20px, 2vw, 25px); line-height: 1.15; }
p { color: var(--body); }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
section { padding: 92px 0; }
section[id] { scroll-margin-top: 88px; }
.center { text-align: center; }

.lead {
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.62;
  color: var(--body);
}
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--jungle);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--berry);
  flex: none;
}
.eyebrow-light { color: var(--lime); }
.eyebrow-light::before { background: var(--berry); }

.accent { color: var(--jungle); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--jungle);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(19, 115, 79, 0.85);
}
.btn-primary:hover { background: #0f6343; box-shadow: 0 14px 28px -12px rgba(19, 115, 79, 0.9); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #071712; }
.btn-ghost {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #d6c9b2; }
.btn-lime { background: var(--lime); color: var(--canopy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header ----------------------------------------------------------------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: var(--safe-t);
  background: rgba(255, 247, 234, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 30px; height: 76px; }

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }

.nav { display: flex; gap: 26px; font-weight: 600; font-size: 15.5px; color: var(--body); }
.nav a { padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--berry); }

.top .actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.top .actions .btn { min-height: 44px; padding: 0 19px; font-size: 15px; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 60px 0 64px; }
.hero::before {
  content: "";
  position: absolute;
  width: 820px;
  height: 820px;
  right: -240px;
  top: -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 243, 107, 0.55), rgba(198, 243, 107, 0) 65%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 44px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 1; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 20px; max-width: 540px; }
.hero .btn-row { margin-top: 30px; }
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--body);
}
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--jungle); }

/* Phone mock ------------------------------------------------------------- */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 30px 0;
}
.phone-stage::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  left: -30px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 245, 236, 0.95), rgba(230, 245, 236, 0) 68%);
  pointer-events: none;
}
.phone {
  position: relative;
  z-index: 2;
  width: 320px;
  aspect-ratio: 9 / 19;
  padding: 11px;
  border-radius: 46px;
  background: var(--ink);
  box-shadow: 0 50px 90px -40px rgba(16, 35, 28, 0.6);
}
.notch {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  border-radius: 20px;
  background: var(--ink);
}
.screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 36px;
  background: var(--cream);
  font-size: 13px;
}
.sbar {
  display: flex;
  justify-content: space-between;
  padding: 14px 22px 4px;
  font-weight: 700;
  font-size: 11.5px;
}
.sbar-icons { letter-spacing: 1px; opacity: 0.8; }
.scr-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 8px 15px 10px; }
.scr-hd { display: flex; align-items: center; gap: 8px; }
.scr-hd .sym { width: 26px; height: 26px; }
.scr-hd b { font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.scr-hd .av {
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--canopy);
  font-weight: 700;
  font-size: 11.5px;
}
.scr-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.scr-sub { margin-top: 3px; font-size: 11px; color: var(--muted); }

.mini { background: var(--white); border-radius: 18px; padding: 11px 13px; }
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 600; }
.mini-row .pill {
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--jungle);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}
.week { display: flex; justify-content: space-between; }
.week div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}
.week i { width: 26px; height: 26px; border-radius: 50%; background: var(--mist); display: block; }
.week i.done { background: var(--jungle); }
.week i.dose { background: var(--berry); box-shadow: 0 0 0 4px rgba(255, 92, 122, 0.2); }

.mini-dark { background: var(--canopy); color: var(--cream); border-radius: 18px; padding: 13px; }
.mini-dark small { opacity: 0.75; font-size: 11px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips span {
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
}
.chips span.on { background: var(--lime); color: var(--canopy); font-weight: 700; }

.spark { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 7px; }
.spark i { flex: 1; height: 60%; border-radius: 5px 5px 2px 2px; background: var(--mist); display: block; }
.spark i.on { background: var(--jungle); }
.spark .h1 { height: 90%; } .spark .h2 { height: 84%; } .spark .h3 { height: 80%; } .spark .h4 { height: 74%; }
.spark .h5 { height: 70%; } .spark .h6 { height: 66%; } .spark .h7 { height: 60%; } .spark .h8 { height: 55%; }

.mini-goals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-goals .goal > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; }
.mini-goals span { font-size: 9.5px; color: var(--muted); }
.mini-goals b { font-size: 10px; }
.gbar { height: 5px; margin-top: 5px; border-radius: 99px; background: var(--mist); overflow: hidden; }
.gbar i { display: block; height: 100%; border-radius: 99px; background: var(--jungle); }
.g75 { width: 75%; }
.g80 { width: 80%; }

.tabbar-mock {
  display: flex;
  justify-content: space-around;
  padding: 8px 4px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--muted);
}
.tabbar-mock span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tabbar-mock span.on { color: var(--jungle); }
.tabbar-mock svg { width: 18px; height: 18px; }

.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
}
.float b { display: block; font-size: 13.5px; line-height: 1.2; }
.float small { display: block; color: var(--muted); font-size: 11.5px; }
.float .ic {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.float .ic svg { width: 18px; height: 18px; }
.ic-berry { background: #ffe3e8; color: #e0435f; }
.ic-mist { background: var(--mist); color: var(--jungle); }
.f1 { left: -26px; top: -24px; }
.f2 { right: -18px; bottom: -26px; }

/* Highlights strip ------------------------------------------------------- */
.strip { padding: 24px 0; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px;
  border-radius: var(--r);
  background: var(--white);
}
.stat .ic {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--mist);
  color: var(--jungle);
  flex: none;
}
.stat .ic svg { width: 22px; height: 22px; }
.stat b { display: block; font-size: 15.5px; line-height: 1.25; }
.stat span { font-size: 13px; color: var(--muted); }

/* Section heads ---------------------------------------------------------- */
.shead { max-width: 720px; margin-bottom: 44px; }
.shead h2 { margin-top: 14px; }
.shead .lead { margin-top: 16px; max-width: 560px; }
.shead.center { margin-inline: auto; text-align: center; }
.shead.center .lead { margin-inline: auto; }

/* Medications ------------------------------------------------------------ */
.meds { padding-top: 72px; }
.medchips { display: flex; flex-wrap: wrap; gap: 9px; }
.medchip {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
}
.medchip.alt { border-color: transparent; background: var(--mist); color: var(--jungle); }
.grid-meds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.mfam {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--white);
}
.mfam b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.mfam span { font-size: 13.5px; color: var(--muted); }

/* Bento ------------------------------------------------------------------ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 250px;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
}
.tile.s4 { grid-column: span 4; }
.tile.s3 { grid-column: span 3; }
.tile.s2 { grid-column: span 2; }
.tile .ic {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 15px;
  background: var(--mist);
  color: var(--jungle);
}
.tile .ic svg { width: 24px; height: 24px; }
.tile h3 { font-size: 23px; }
.tile p { font-size: 15px; line-height: 1.55; }
.tile.lime { background: var(--lime); }
.tile.lime h3 { color: var(--canopy); }
.tile.lime p { color: #28543f; }
.tile.lime .ic { background: rgba(255, 255, 255, 0.55); color: var(--canopy); }
.tile.dark { background: var(--canopy); color: var(--cream); }
.tile.dark h3 { color: var(--cream); }
.tile.dark p { color: rgba(255, 247, 234, 0.78); }
.tile.dark .ic { background: rgba(255, 255, 255, 0.1); color: var(--lime); }

.note-demo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
}
.nd-ic {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 9px;
  background: #fff;
  color: var(--canopy);
}
.nd-ic svg { width: 15px; height: 15px; }
.note-demo div { line-height: 1.15; }
.note-demo b { display: block; font-size: 12px; color: var(--canopy); }
.note-demo div span { font-size: 10.5px; color: #2c5a44; }
.nd-btn {
  margin-left: auto;
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--canopy);
  color: var(--cream);
  font-size: 10.5px;
  font-weight: 700;
}

.vis { margin-top: auto; }
.mini-week { padding-top: 10px; }
.mini-week .week { max-width: 440px; }
.mini-week .week i { width: 30px; height: 30px; }

.sites { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-top: 12px; }
.sites span {
  padding: 9px 4px;
  border-radius: 11px;
  background: var(--mist);
  color: var(--body);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.sites .next { background: var(--lime); color: var(--canopy); box-shadow: inset 0 0 0 1.5px var(--canopy); }

.feelings { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; }
.feelings span { padding: 7px 11px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); font-size: 11.5px; }
.feelings .on { background: var(--lime); color: var(--canopy); font-weight: 700; }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 76px; padding-top: 12px; }
.bars div { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; }
.bars i { display: block; width: 100%; border-radius: 5px 5px 2px 2px; }
.bars span { font-size: 9.5px; font-weight: 600; color: var(--muted); }
.bars .b1 { height: 52%; background: #dcefe3; }
.bars .b2 { height: 58%; background: #cfeada; }
.bars .b3 { height: 64%; background: #bce3cc; }
.bars .b4 { height: 70%; background: #9fd6b6; }
.bars .b5 { height: 76%; background: #63bc8e; }
.bars .b6 { height: 82%; background: var(--jungle); }

.meters { display: grid; gap: 14px; padding-top: 12px; }
.meter-row > div:first-child { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; }
.meter-row b { font-size: 13.5px; }
.meter-row span { color: var(--muted); font-size: 12.5px; }
.meter { height: 10px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 999px; background: var(--jungle); }
.meter .m75 { width: 75%; }
.meter .m80 { width: 80%; }

.report { padding-top: 10px; }
.report div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
}
.report div:last-child { border-bottom: 0; }
.report span { color: var(--muted); }
.report b { font-size: 13px; }

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 28px; border-radius: var(--r-lg); background: var(--white); }
.step .n {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--canopy);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
}
.step h3 { font-size: 22px; margin-bottom: 6px; }
.step p { font-size: 15px; }

/* App tabs --------------------------------------------------------------- */
.tour { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tcard { padding: 20px; border-radius: var(--r); background: var(--white); }
.tcard .tn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--mist);
  color: var(--jungle);
}
.tcard .tn svg { width: 20px; height: 20px; }
.tcard h3 { font-size: 18px; margin-bottom: 5px; }
.tcard p { font-size: 13.5px; line-height: 1.5; }
.tour-cta { margin-top: 28px; }

/* Seven days band -------------------------------------------------------- */
.band-section { padding-top: 0; }
.band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 52px;
  border-radius: var(--r-xl);
  background: var(--canopy);
  color: var(--cream);
  overflow: hidden;
}
.band h2 { margin: 14px 0 16px; color: var(--cream); font-size: clamp(30px, 3.6vw, 44px); }
.band .lead { color: rgba(255, 247, 234, 0.78); }
.band-week p { margin-top: 20px; font-size: 14px; color: rgba(255, 247, 234, 0.7); }
.bigweek { display: flex; justify-content: space-between; gap: 6px; }
.bigweek div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 247, 234, 0.55);
}
.bigweek i { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.bigweek i.done { background: var(--lime); }
.bigweek i.dose { background: var(--berry); box-shadow: 0 0 0 5px rgba(255, 92, 122, 0.2); }

/* Values / who ----------------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 26px; border-radius: var(--r-lg); background: var(--white); }
.value .ic {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--mist);
  color: var(--jungle);
}
.value .ic svg { width: 22px; height: 22px; }
.value h3 { font-size: 21px; margin-bottom: 6px; }
.value p { font-size: 14.5px; }
.who { grid-template-columns: repeat(3, 1fr); }
.who .value { padding: 22px; }

/* FAQ -------------------------------------------------------------------- */
#faq { padding-top: 0; }
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  padding: 0 22px;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .pm {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--mist);
  color: var(--jungle);
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq .pm svg { width: 15px; height: 15px; }
.faq details[open] .pm { background: var(--lime); color: var(--canopy); transform: rotate(45deg); }
.faq p { padding: 0 36px 18px 0; font-size: 14.5px; line-height: 1.6; }
.faq p a { color: var(--jungle); text-decoration: underline; text-underline-offset: 3px; }

/* CTA -------------------------------------------------------------------- */
.cta-section { padding-bottom: 96px; }
.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  padding: 46px 52px;
  border-radius: var(--r-xl);
  background: var(--lime);
}
.cta h2 { color: var(--canopy); font-size: clamp(30px, 4vw, 46px); }
.cta .lead { margin-top: 8px; color: #28543f; }
.cta .btn { position: relative; z-index: 1; flex: none; }
.cta .deco {
  position: absolute;
  right: 34px;
  bottom: -48px;
  width: 200px;
  height: 200px;
  opacity: 0.16;
  pointer-events: none;
}

/* Footer ----------------------------------------------------------------- */
.foot { padding: 64px 0 calc(26px + var(--safe-b)); background: var(--canopy); color: var(--cream); }
.foot .wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
.brand-dark img { height: 32px; }
.foot-brand p { max-width: 320px; margin-top: 16px; font-size: 14.5px; color: rgba(255, 247, 234, 0.76); }
.foot-mail { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--lime); text-underline-offset: 3px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col h3 {
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 247, 234, 0.64);
}
.foot-col a { width: fit-content; font-size: 14.5px; color: rgba(255, 247, 234, 0.84); }
.foot-col a:hover { color: var(--lime); }
.fine {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 247, 234, 0.16);
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(255, 247, 234, 0.66);
}
.fine span:last-child { max-width: 640px; }

.foot-slim { padding: 26px 0 calc(26px + var(--safe-b)); }
.foot-slim .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 247, 234, 0.55);
}
.foot-slim a { color: rgba(255, 247, 234, 0.8); }
.foot-slim a:hover { color: var(--lime); }

/* Mobile tab bar --------------------------------------------------------- */
.tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 8px 6px calc(8px + var(--safe-b));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 2px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}
.tabbar .ti { display: grid; place-items: center; width: 22px; height: 22px; }
.tabbar svg { width: 20px; height: 20px; }
.tabbar a.on { color: var(--jungle); }
.tabbar .cta-tab .ti {
  width: 28px;
  height: 28px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--canopy);
}
.tabbar .cta-tab { color: var(--canopy); }

/* Legal / utility -------------------------------------------------------- */
.legal { padding: 56px 0 88px; }
.legal-shell { max-width: 760px; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.legal-back:hover { color: var(--jungle); }
.legal h1 { font-size: clamp(36px, 5vw, 50px); }
.legal .updated {
  margin: 10px 0 30px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal h2 { margin: 30px 0 8px; font-size: 22px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; }
.legal ul { display: grid; gap: 6px; margin: 10px 0 16px; padding-left: 20px; }
.legal a { color: var(--jungle); text-decoration: underline; text-underline-offset: 3px; }
.legal .note {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  font-size: 14.5px;
}
.legal .fine-print { margin-top: 40px; font-size: 13px; color: var(--muted); }

.soon, .notfound { min-height: 70vh; display: grid; place-items: center; padding: 64px 0; text-align: center; }
.soon .leaf, .notfound .leaf {
  width: 110px;
  height: 110px;
  margin: 0 auto 22px;
  padding: 18px;
  border-radius: 32px;
  background: var(--lime);
}
.soon h1, .notfound h1 { font-size: clamp(34px, 5vw, 50px); margin-bottom: 14px; }
.soon p, .notfound p { max-width: 46ch; margin: 0 auto 26px; color: var(--body); }
.soon .btn-row, .notfound .btn-row { justify-content: center; }
.soon .eyebrow, .notfound .eyebrow { margin-bottom: 14px; }

/* Reveal ----------------------------------------------------------------- */
.js [data-rv] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js [data-rv].is-in { opacity: 1; transform: none; }
.js .strip > .wrap > :nth-child(2),
.js .grid-meds > :nth-child(2),
.js .steps > :nth-child(2),
.js .tour > :nth-child(2),
.js .values > :nth-child(2) { transition-delay: 0.06s; }
.js .strip > .wrap > :nth-child(3),
.js .grid-meds > :nth-child(3),
.js .steps > :nth-child(3),
.js .tour > :nth-child(3),
.js .values > :nth-child(3) { transition-delay: 0.12s; }
.js .tour > :nth-child(4), .js .values > :nth-child(4) { transition-delay: 0.18s; }
.js .tour > :nth-child(5), .js .values > :nth-child(5) { transition-delay: 0.24s; }
.js .values > :nth-child(6) { transition-delay: 0.3s; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .top .nav { gap: 18px; }
  .hero .wrap { gap: 24px; }
  .f1 { left: 0; }
  .f2 { right: 0; }
}

@media (max-width: 960px) {
  .top .hide-sm { display: none; }
  .top .actions { margin-left: auto; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .hero h1 { font-size: clamp(44px, 8vw, 68px); }
  .phone-stage { margin-top: 10px; padding-bottom: 40px; }
  .phone-stage .phone { width: 330px; }
  .f1 { left: 6%; }
  .f2 { right: 2%; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile.s4, .tile.s3 { grid-column: span 2; }
  .tile.s2 { grid-column: span 1; }
  .tile { min-height: 0; }
  .tour { grid-template-columns: repeat(3, 1fr); }
  .band { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .values { grid-template-columns: 1fr 1fr; }
  .who { grid-template-columns: 1fr 1fr; }
  .cta { padding: 38px; }
  .cta .deco { opacity: 0.1; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .fine { flex-direction: column; gap: 8px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  section { padding: 64px 0; }
  .top .wrap { height: 66px; }
  .top .actions .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
  .brand img { height: 29px; }
  .hero { padding: 36px 0 40px; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .hero .lead { font-size: 16.5px; }
  .hero .btn-row .btn { flex: 1 1 auto; }
  .strip { padding: 14px 0; }
  .strip .wrap { grid-template-columns: 1fr; }
  .stat { padding: 16px; }
  .meds { padding-top: 52px; }
  .shead { margin-bottom: 32px; }
  .hero h1 br { display: none; }
  .grid-meds { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.s4, .tile.s2, .tile.s3 { grid-column: span 1; }
  .tile { padding: 22px; }
  .tile h3 { font-size: 21px; }
  .steps { grid-template-columns: 1fr; }
  .tour { grid-template-columns: 1fr 1fr; }
  .tcard { padding: 18px; }
  .band { padding: 30px 24px; border-radius: 26px; }
  .bigweek i { width: 38px; height: 38px; }
  .values, .who { grid-template-columns: 1fr; }
  .value { padding: 22px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 32px 26px; border-radius: 26px; }
  .cta .btn { width: 100%; }
  .cta .deco { right: -30px; }
  .foot { padding-top: 48px; padding-bottom: calc(96px + var(--safe-b)); }
  .foot-slim { padding-bottom: calc(96px + var(--safe-b)); }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .tabbar { display: flex; }
  #faq { padding-top: 8px; }
  .cta-section { padding-bottom: 56px; }
  .phone-stage { padding: 20px 0 46px; }
  .phone { width: 300px; }
  .f1 { left: 0; top: -4px; transform: scale(0.92); transform-origin: left top; }
  .f2 { right: 0; bottom: 0; transform: scale(0.92); transform-origin: right bottom; }
  .legal { padding: 36px 0 64px; }
}

@media (max-width: 480px) {
  .wrap { width: min(1180px, 100% - 32px); }
  .hero h1 { font-size: clamp(38px, 12vw, 48px); }
  .hero .btn-row { flex-direction: column; }
  .hero .btn-row .btn { width: 100%; }
  .f1, .f2 { display: none; }
  .phone { width: 100%; max-width: 310px; }
  .phone-stage { padding-top: 8px; }
  .grid-meds { grid-template-columns: 1fr; }
  .tour { grid-template-columns: 1fr; }
  .fine { gap: 10px; }
  .medchip { font-size: 13px; padding: 8px 12px; }
  .bigweek i { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-rv] { opacity: 1; transform: none; }
}
