: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; }
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; }
.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); }
.screen { border-radius: 34px; overflow: hidden; background: #f6faf7; color: #0f1f17; font-size: 13px; line-height: 1.4; }
.screen-top { background: linear-gradient(135deg, #22c55e, #15803d); color: #fff; padding: 22px 18px 18px; }
.screen-top small { opacity: 0.85; font-weight: 600; }
.screen-top strong { display: block; font-size: 20px; font-weight: 800; }
.screen-body { padding: 14px; display: grid; gap: 10px; }
.input { background: #fff; border: 1px solid #dcebe1; border-radius: 14px; padding: 10px 12px; color: #4b5a52; }
.input b { color: #0f1f17; font-weight: 600; }
.mcard { background: #fff; border-radius: 16px; padding: 12px; border: 1px solid #e6efe9; }
.mcard h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.row { display: flex; justify-content: space-between; padding: 3px 0; }
.row span:last-child { color: #4b5a52; font-variant-numeric: tabular-nums; }
.rings { display: flex; gap: 10px; align-items: center; }
.ring { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; }

/* 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); }

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; }

@media (max-width: 900px) {
  .hero .wrap, .privacy { grid-template-columns: 1fr; }
  .phone { transform: none; }
  .grid, .plans, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .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; }
  footer .copy { margin-left: 0; }
}
