:root {
  --green: #22c55e;
  --green-deep: #15803d;
  --ink: #0f1f17;
  --muted: #4b5a52;
  --bg: #ffffff;
  --tint: #f2faf5;
  --card: #ffffff;
  --border: #dcebe1;
  --cta: #15803d;
  --cta-text: #ffffff;
  --food: #16a34a;
  --strength: #7c3aed;
  --activity: #ea580c;
  --water: #0284c7;
  --sleep: #4f46e5;
  --mood: #db2777;
  --shadow: 0 1px 2px rgba(15, 31, 23, 0.06), 0 12px 32px rgba(15, 31, 23, 0.08);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eaf5ee;
    --muted: #a7b8ae;
    --bg: #0b1410;
    --tint: #0f1c16;
    --card: #12201a;
    --border: #213429;
    --cta: #22c55e;
    --cta-text: #052e12;
    --food: #4ade80;
    --strength: #a78bfa;
    --activity: #fb923c;
    --water: #38bdf8;
    --sleep: #818cf8;
    --mood: #f472b6;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
/* Elements hidden with the hidden attribute stay hidden even when a class sets display. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--cta); color: var(--cta-text); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--border); background: var(--card); }
.btn-ghost:hover { border-color: var(--green); }
.btn-light { background: #fff; color: #0f3d22; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }

/* Hero */
.hero { background: linear-gradient(135deg, #22c55e 0%, #15803d 100%); color: #fff; overflow: hidden; position: relative; }
.hero .wrap { position: relative; }
/* The original dumbbell, leaf and drop, faint behind the hero: the same watermark the app's headers use. */
.hero-mark { position: absolute; right: -80px; bottom: -60px; width: 620px; height: auto; opacity: 0.12; pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
.hero h1 { text-wrap: balance; font-size: clamp(38px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 18px 0 16px; font-weight: 800; }
.hero p.lead { font-size: 19px; line-height: 1.55; margin: 0 0 28px; max-width: 34em; color: rgba(255, 255, 255, 0.92); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.stores { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.85); }

/* Phone mockup (illustration of the Log screen, not a screenshot) */
.phone { justify-self: center; width: 300px; border-radius: 44px; padding: 12px; background: #0b1410; box-shadow: 0 30px 60px rgba(5, 46, 18, 0.45); transform: rotate(2deg); }
/* Hero phone: the app's Log screen in dark mode (assets/images/ScreenShot.PNG), drawn in HTML. */
.screen { border-radius: 34px; overflow: hidden; background: #0d110e; color: #f1f5f2; font-size: 11px; line-height: 1.3; padding: 10px 12px 0; display: grid; gap: 9px; font-variant-numeric: tabular-nums; }
.screen svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-status { display: flex; justify-content: space-between; align-items: center; padding: 2px 8px 0; font-size: 12px; }
.m-bars { display: flex; gap: 2px; align-items: flex-end; height: 10px; }
.m-bars i { width: 3px; background: #f1f5f2; border-radius: 1px; }
.m-bars i:nth-child(1) { height: 4px; } .m-bars i:nth-child(2) { height: 6px; } .m-bars i:nth-child(3) { height: 8px; } .m-bars i:nth-child(4) { height: 10px; opacity: 0.4; }
.m-head { display: flex; align-items: center; gap: 9px; padding: 14px 12px; border-radius: 18px; background: url(/watermark.png) right -18px center / auto 120% no-repeat, linear-gradient(135deg, #15803d, #14532d); }
.m-head { background-blend-mode: soft-light, normal; }
.m-menu { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); display: grid; place-items: center; flex: none; }
.m-menu svg { width: 16px; height: 16px; }
.m-title { flex: 1; min-width: 0; }
.m-title small { display: block; font-size: 9px; letter-spacing: 0.06em; opacity: 0.85; }
.m-title strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.m-meta { display: grid; justify-items: end; gap: 5px; }
.m-meta small { font-size: 10px; opacity: 0.85; }
.m-streak { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); color: #fbbf24; font-size: 9px; font-weight: 700; white-space: nowrap; }
.m-streak svg { width: 10px; height: 10px; }
.m-input { display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 10px; border-radius: 14px; border: 1px solid #2a332d; background: #151a16; color: #8a968e; }
.m-input span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
.m-search { width: 14px; height: 14px; flex: none; }
.m-btn { width: 30px; height: 30px; border-radius: 10px; background: #1f2621; color: #f1f5f2; display: grid; place-items: center; flex: none; }
.m-btn svg { width: 15px; height: 15px; }
.m-btn.m-cam { background: #22c55e; color: #0d110e; }
.m-card { background: #171c18; border-radius: 16px; padding: 11px; }
.m-cal { display: flex; align-items: center; gap: 12px; }
.m-ring { width: 82px; height: 82px; flex: none; }
.m-ring circle { stroke-width: 9; }
.m-ring .track { stroke: #263029; }
.m-ring .fill { stroke: #22c55e; }
.m-ring text { fill: #f1f5f2; stroke: none; text-anchor: middle; font-family: inherit; }
.m-ring .big { font-size: 22px; font-weight: 800; }
.m-ring .small { font-size: 9px; fill: #a3ada6; }
.m-macros { flex: 1; display: grid; gap: 6px; }
.m-macros > small { color: #a3ada6; font-size: 10px; }
.m-macro { display: grid; grid-template-columns: 1fr auto; gap: 3px 6px; font-size: 10px; }
.m-macro span { font-weight: 700; }
.m-macro em { font-style: normal; color: #a3ada6; }
.m-macro b { grid-column: 1 / -1; height: 5px; border-radius: 999px; background: linear-gradient(var(--c), var(--c)) 0 0 / var(--v) 100% no-repeat, #263029; }
.m-row { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.m-row strong { font-size: 11px; }
.m-row small { color: #a3ada6; font-size: 10px; }
.m-faces { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.m-faces span { background: var(--bg); border-radius: 9px; padding: 5px 0; display: grid; justify-items: center; gap: 2px; font-size: 8.5px; }
.m-faces svg { width: 15px; height: 15px; stroke-width: 1.8; }
.m-faces .on { background: #4ade80; color: #0d110e; font-weight: 700; }
.m-chips { display: flex; gap: 5px; margin-top: 7px; }
.m-chips span { padding: 4px 9px; border-radius: 999px; border: 1px solid #2a332d; font-size: 9.5px; font-weight: 700; }
.m-chips .on { background: #22c55e; border-color: #22c55e; color: #0d110e; }
.m-water { display: flex; align-items: center; gap: 8px; }
.m-water > div { flex: 1; }
.m-water small { color: #a3ada6; }
.m-drops { display: flex; gap: 2px; margin-top: 5px; }
.m-drops i { width: 7px; height: 7px; border-radius: 2px; background: #263029; }
.m-drops .on { background: #38bdf8; }
.m-add { padding: 6px 9px; border-radius: 10px; border: 1px solid #2a332d; font-weight: 800; font-size: 10px; white-space: nowrap; }
.m-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 -12px; padding: 8px 0 12px; border-top: 1px solid #1f2621; background: #0d110e; color: #8a968e; font-size: 9.5px; font-weight: 700; text-align: center; }
.m-tabs span { display: grid; justify-items: center; gap: 2px; }
.m-tabs svg { width: 16px; height: 16px; }
.m-tabs .on { color: #22c55e; }

/* Sections */
section { padding: 88px 0; }
section.tint { background: var(--tint); }
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head h2 { text-wrap: balance; font-size: clamp(30px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 12px; font-weight: 800; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 24px; }
.feature h3 { margin: 14px 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }
.icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.i-food { color: var(--food); background: color-mix(in srgb, var(--food) 14%, transparent); }
.i-strength { color: var(--strength); background: color-mix(in srgb, var(--strength) 14%, transparent); }
.i-activity { color: var(--activity); background: color-mix(in srgb, var(--activity) 14%, transparent); }
.i-water { color: var(--water); background: color-mix(in srgb, var(--water) 14%, transparent); }
.i-sleep { color: var(--sleep); background: color-mix(in srgb, var(--sleep) 14%, transparent); }
.i-mood { color: var(--mood); background: color-mix(in srgb, var(--mood) 14%, transparent); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 4px 0; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cta); color: var(--cta-text); font-weight: 800; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); }
.example { display: inline-block; margin-top: 10px; padding: 6px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); font-size: 14px; font-weight: 600; }

.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--green); box-shadow: var(--shadow); position: relative; }
.badge { position: absolute; top: -13px; left: 28px; background: var(--green); color: #052e12; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 0; }
.price small { font-size: 16px; font-weight: 600; color: var(--muted); }
.price-note { color: var(--muted); font-size: 14px; margin: 2px 0 18px; min-height: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--green); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.fine { color: var(--muted); font-size: 14px; margin-top: 18px; }

/* Closing band */
.closing { background: linear-gradient(135deg, #22c55e, #15803d); color: #fff; border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.closing h2 { margin: 0 0 6px; font-size: 30px; letter-spacing: -0.02em; }
.closing p { margin: 0; color: rgba(255, 255, 255, 0.9); }

/* One flow: the original logo's three pieces (Train, Fuel, Hydrate) streaming into the new mark. */
.flow { padding-bottom: 96px; }
.kicker { margin: 0 0 8px; color: var(--cta); font-weight: 800; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 760px; margin: 0 auto; }
.pillar { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.pillar figcaption { display: grid; gap: 2px; }
.pillar strong { font-size: 18px; }
.pillar span { color: var(--muted); font-size: 15px; }
.tile { width: 112px; height: 112px; border-radius: 30px; display: grid; place-items: center; background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: var(--shadow); }
.tile img { height: 68px; width: auto; max-width: 80%; object-fit: contain; }
.streams { display: block; width: 100%; max-width: 760px; height: auto; margin: 8px auto 0; overflow: visible; }
.streams path { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.55; transition: stroke-dashoffset 1.2s ease-out; }
.streams path:nth-child(2) { transition-delay: 0.15s; }
.streams path:nth-child(3) { transition-delay: 0.3s; }
.flow.in-view .streams path { stroke-dashoffset: 0; }
.pillar-flow { max-width: 360px; margin: 0 auto; }
.tile-flow { width: 156px; height: 156px; border-radius: 40px; transform: scale(0.92); opacity: 0.6; transition: transform 0.6s ease-out 0.9s, opacity 0.6s ease-out 0.9s, box-shadow 0.6s ease-out 0.9s; }
.tile-flow img { height: auto; width: 112px; max-width: 80%; }
.flow.in-view .tile-flow { transform: scale(1); opacity: 1; box-shadow: 0 0 0 10px color-mix(in srgb, var(--green) 14%, transparent), var(--shadow); }
.pillar-flow strong { font-size: 22px; }
.roots { display: inline-grid; place-items: center; width: 44px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #22c55e, #15803d); }
.roots img { width: 34px; height: auto; }
@media (prefers-reduced-motion: reduce) {
  .streams path { stroke-dashoffset: 0; transition: none; }
  .tile-flow { transform: none; opacity: 1; transition: none; }
}

/* Beta testers page */
.page-hero .wrap { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; }
.page-hero h1 { max-width: 16em; }
.feature .note { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--tint); color: var(--ink); font-size: 15px; }
.feature a, .checks a { color: var(--cta); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.section-head.look { margin-top: 56px; }
.wrap.narrow { max-width: 720px; }
.form { display: grid; gap: 18px; background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 700; font-size: 15px; padding: 0; }
.field em { font-style: normal; font-weight: 600; color: var(--muted); font-size: 13px; margin-left: 4px; }
.field input[type="text"], .field input[type="email"], .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; width: 100%;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 15px; cursor: pointer; background: var(--bg); }
.choice:has(input:checked) { border-color: var(--green); background: color-mix(in srgb, var(--green) 12%, var(--bg)); }
.choice input { accent-color: var(--cta); width: 18px; height: 18px; margin: 0; }
.consent { border-radius: 14px; align-items: flex-start; }
.consent span { color: var(--muted); font-size: 14px; }
.consent a { color: var(--cta); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; color: #b91c1c; font-weight: 600; }
@media (prefers-color-scheme: dark) { .form-error { color: #f87171; } }
.submit { justify-self: start; min-width: 180px; border: 0; cursor: pointer; font-family: inherit; }
.submit:disabled { opacity: 0.6; cursor: default; }
.form-done { background: var(--card); border: 2px solid var(--green); border-radius: 24px; padding: 28px; }
.form-done h3 { margin: 0 0 8px; font-size: 22px; }
.form-done p { margin: 0; color: var(--muted); }
.form-done a { color: var(--cta); }

footer { border-top: 1px solid var(--border); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .copy { margin-left: auto; }
footer .admin-link { font-size: 12px; opacity: 0.7; }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .hero .wrap, .privacy { grid-template-columns: 1fr; }
  .phone { transform: none; }
  .grid, .plans, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pillars { gap: 10px; }
  .tile { width: 84px; height: 84px; border-radius: 24px; }
  .tile img { height: 50px; }
  .pillar strong { font-size: 16px; }
  .pillar span { font-size: 13px; }
  .hero-mark { width: 380px; right: -110px; bottom: auto; top: 20px; }
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  section { padding: 64px 0; }
  .grid, .plans, .steps { grid-template-columns: 1fr; }
  .phone { width: 270px; }
  .closing { padding: 32px 24px; }
  .form { padding: 20px; }
  .submit { justify-self: stretch; }
  footer .copy { margin-left: 0; }
}

/* App Store / Google Play buttons, in the stores' usual black badge style. */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; min-width: 168px; height: 54px; padding: 0 18px 0 14px; border-radius: 10px; background: #000; color: #fff; border: 1px solid #a6a6a6; text-decoration: none; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; transition: transform 0.15s ease; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.store-badge span { display: grid; font-size: 21px; font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
.store-badge small { font-size: 11px; font-weight: 500; letter-spacing: 0.02em; }
.store-badge .badge-logo { width: 26px; height: 30px; flex: none; }
.store-badge[data-store="google_play"] .badge-logo { width: 26px; height: 28px; }
.closing-badges { margin-top: 16px; }
.hero .stores { margin-top: 12px; }

/* FAQ: native disclosure, so the answers are in the page for readers and search engines alike. */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 0 20px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 600; color: var(--muted); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 18px; color: var(--muted); line-height: 1.6; }
