:root {
  --leaf: #7dae1e;
  --leaf-ink: #4e7a0c;      /* leaf green dark enough for text on light */
  --sky: #1a9fd6;
  --sky-ink: #0b6f9c;       /* sky blue dark enough for text on light */
  --forest: #0d3b34;
  --paper: #fafcf7;
  --mist: #e6f2e4;
  --line: #d3e4d0;
  --muted: #4b625d;
  --radius: 18px;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--forest);
  font: 400 1rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.blue { color: var(--sky-ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--leaf-ink);
  background: var(--leaf-ink); color: #fff; font: 600 1rem/1 var(--body);
  text-decoration: none; cursor: pointer; min-height: 48px;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--forest); border-color: var(--forest); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: #fff; }
.btn--small { padding: 10px 18px; min-height: 40px; font-size: .9375rem; }
.btn--block { width: 100%; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(250, 252, 247, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand img { width: 150px; }
.top__nav { display: flex; align-items: center; gap: 24px; font-weight: 500; }
.top__nav a:not(.btn) { text-decoration: none; }
.top__nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 96px); overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; right: -12%; top: -10%; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--mist), transparent 68%); z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); font-weight: 800; color: var(--leaf-ink); }
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--mist); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9375rem; margin-bottom: 24px; }
.pill__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(125, 174, 30, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(125, 174, 30, 0); } 100% { box-shadow: 0 0 0 0 rgba(125, 174, 30, 0); } }
.lead { font-size: clamp(1.125rem, 2vw, 1.3125rem); color: var(--muted); max-width: 34em; margin-top: 22px; }
.lead--light { color: #cfe3dc; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hint { margin-top: 20px; color: var(--muted); font-size: .9375rem; }

/* Phone */
.hero__device { display: flex; flex-direction: column; align-items: center; }
.phone {
  width: min(300px, 100%); aspect-ratio: 9 / 16.2; background: var(--forest); border-radius: 44px; padding: 10px;
  box-shadow: 0 40px 60px -30px rgba(13, 59, 52, .45), inset 0 0 0 2px #2b5a52; position: relative;
  transform: rotate(3deg);
}
.phone__notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 84px; height: 22px; background: var(--forest); border-radius: 999px; z-index: 2; }
.phone__screen { background: #fff; border-radius: 34px; height: 100%; padding: 46px 16px 14px; display: flex; flex-direction: column; overflow: hidden; }
.app__bar img { width: 96px; }
.app__hello { font: 700 1.25rem/1.2 var(--display); margin-top: 14px; }
.app__sub { font-size: .75rem; color: var(--muted); }
.app__ring-card { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px; border-radius: 16px; background: var(--mist); }
.ring { position: relative; width: 84px; flex: none; }
.ring svg { transform: rotate(-90deg); display: block; }
.ring__track { fill: none; stroke: #fff; stroke-width: 11; }
.ring__bar { fill: none; stroke: var(--leaf); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 15; transition: stroke-dashoffset .9s cubic-bezier(.2, .8, .2, 1); }
.ring__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.ring__label strong { font: 800 1.15rem var(--display); }
.ring__label span { font-size: .5625rem; color: var(--muted); }
.app__status { font-weight: 600; font-size: .8125rem; line-height: 1.25; }
.app__small { font-size: .6875rem; color: var(--muted); margin-top: 4px; line-height: 1.3; }
.app__dose {
  margin-top: 12px; display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer;
  border: 0; border-radius: 14px; padding: 12px; background: var(--sky-ink); color: #fff; font: inherit;
  transition: background .3s, transform .15s;
}
.app__dose:hover { transform: scale(1.02); }
.app__dose:focus-visible { outline-color: var(--leaf); }
.app__dose-icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; }
.app__dose-text strong { display: block; font-size: .8125rem; }
.app__dose-text small { font-size: .6875rem; opacity: .9; }
.app__dose.done { background: var(--leaf-ink); cursor: default; }
.app__dose.done:hover { transform: none; }
.app__shop { margin-top: 12px; display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.app__shop-img { width: 44px; height: 44px; border-radius: 12px; flex: none; background: radial-gradient(circle at 30% 30%, var(--leaf), var(--leaf-ink)); }
.app__shop strong { display: block; font-size: .75rem; line-height: 1.25; }
.app__shop small { font-size: .6875rem; color: var(--muted); }
.app__tab { margin-top: auto; display: flex; justify-content: space-between; font-size: .625rem; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }
.app__tab .on { color: var(--sky-ink); font-weight: 600; }
.device__note { margin-top: 22px; font-size: .8125rem; color: var(--muted); }

/* Sections */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section__title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; max-width: 20em; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; margin-top: clamp(40px, 6vw, 80px); }
.row--flip .row__art { order: -1; }
.row h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; color: var(--sky-ink); }
.row p { margin-top: 12px; color: var(--muted); max-width: 32em; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 6px; background: var(--leaf); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: .5em; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; }
.row__art { margin: 0; background: var(--mist); border-radius: 28px; padding: clamp(24px, 4vw, 44px); min-height: 220px; display: grid; align-content: center; gap: 16px; }
.row__art figcaption { font-size: .875rem; color: var(--muted); }
.week { display: flex; gap: 8px; justify-content: space-between; }
.d { flex: 1; aspect-ratio: 1; max-width: 56px; border-radius: 16px; display: grid; place-items: center; font: 700 1rem var(--display); background: #fff; color: var(--muted); }
.d.ok { background: var(--leaf-ink); color: #fff; }
.d.next { border: 2px dashed var(--sky-ink); color: var(--sky-ink); background: transparent; }
.habits { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.habits li { display: grid; gap: 6px; font-weight: 600; }
.habits i { display: block; height: 12px; border-radius: 99px; background: #fff; position: relative; overflow: hidden; }
.habits i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--sky); border-radius: 99px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list span { background: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; }

/* Dark band */
.section--dark { background: var(--forest); color: #fff; }
.section--dark .section__title { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.facts li { padding: 20px 0; border-top: 1px solid #2b5a52; color: #cfe3dc; }
.facts li:last-child { border-bottom: 1px solid #2b5a52; }
.facts strong { display: block; font: 700 1.2rem var(--display); color: #fff; margin-bottom: 4px; }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: clamp(32px, 5vw, 56px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.steps li { counter-increment: s; padding: 28px 28px 0 0; border-top: 3px solid var(--line); position: relative; }
.steps li:first-child { border-top-color: var(--leaf); }
.steps li::before { content: counter(s); position: absolute; top: -17px; left: 0; width: 31px; height: 31px; border-radius: 50%; background: var(--paper); border: 3px solid var(--leaf); font: 700 .9375rem/25px var(--display); text-align: center; }
.steps li:not(:first-child)::before { border-color: var(--line); }
.steps h3 { font-size: 1.35rem; font-weight: 700; margin-top: 8px; }
.steps p { color: var(--muted); margin-top: 8px; }

/* Waitlist */
.section--list { background: var(--mist); }
.list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.form { background: #fff; padding: clamp(24px, 4vw, 36px); border-radius: 24px; display: grid; gap: 8px; box-shadow: 0 24px 40px -28px rgba(13, 59, 52, .35); }
.form label { font-weight: 600; font-size: .9375rem; margin-top: 8px; }
.form input { font: inherit; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--paper); color: var(--forest); min-height: 50px; }
.form input:focus { border-color: var(--sky-ink); outline: none; box-shadow: 0 0 0 3px rgba(26, 159, 214, .25); }
.form input[aria-invalid="true"] { border-color: #b3261e; }
.form .btn { margin-top: 14px; }
.form__error { color: #b3261e; font-weight: 600; font-size: .9375rem; }
.form__note { font-size: .8125rem; color: var(--muted); margin-top: 6px; }

/* Footer */
.foot { background: var(--forest); color: #cfe3dc; padding: 48px 0 28px; font-size: .9375rem; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 32px; }
.foot__logo { width: 160px; filter: brightness(0) invert(1); margin-bottom: 12px; }
.foot address { font-style: normal; line-height: 1.8; }
.foot a { color: #fff; }
.foot__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid #2b5a52; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .8125rem; }
.foot__legal p:first-child { max-width: 52em; }

/* Responsive */
@media (max-width: 900px) {
  .hero__grid, .row, .split, .list, .foot__grid { grid-template-columns: 1fr; }
  .row--flip .row__art { order: 0; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps li { padding-right: 0; }
  .top__nav a:not(.btn) { display: none; }
  .phone { transform: none; }
}
@media (max-width: 480px) {
  .hero__cta .btn { width: 100%; }
  .brand img { width: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
