:root {
  --green: #2e8b6d;
  --green-deep: #0f4d3a;
  --green-soft: #e4f3ec;
  --ink: #1d2b26;
  --ink-soft: #52635c;
  --paper: #f7faf8;
  --card: #ffffff;
  --line: #dce8e2;
  --amber: #ba7517;
  --radius: 18px;
  --maxw: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --green: #5dcaa5;
    --green-deep: #9fe1cb;
    --green-soft: #123328;
    --ink: #e8f2ed;
    --ink-soft: #9fb3ab;
    --paper: #0d1713;
    --card: #142019;
    --line: #23362d;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.nav-links a.active { color: var(--green); }
.nav-links a.btn { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  background: var(--green); color: #fff; font-weight: 700;
  border: none; cursor: pointer; font-size: 1rem;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 20px color-mix(in srgb, var(--green) 35%, transparent); }
.btn.ghost { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn.big { padding: 17px 36px; font-size: 1.15rem; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.12; letter-spacing: -1px; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero p.lede { font-size: 1.2rem; color: var(--ink-soft); margin: 18px 0 28px; max-width: 34em; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .fine { font-size: .85rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- phone mockup ---------- */
.phone {
  width: 290px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--line); border-radius: 36px; padding: 18px 16px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.14);
  rotate: 2deg;
}
.phone .ptitle { font-weight: 800; font-size: 1.05rem; margin: 2px 4px 12px; }
.phone .ptitle small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .72rem; }
.ringbox { background: var(--green-soft); border-radius: 22px; padding: 18px 10px 12px; text-align: center; }
.ring { width: 130px; height: 130px; margin: 0 auto; }
.ring circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.ring .track { stroke: color-mix(in srgb, var(--green) 18%, transparent); }
.ring .arc {
  stroke: var(--green);
  stroke-dasharray: 276; stroke-dashoffset: 276;
  transform: rotate(-90deg); transform-origin: center;
  animation: sweep 1.4s .3s ease-out forwards;
}
@keyframes sweep { to { stroke-dashoffset: 96; } }
.ring text { font-weight: 800; font-size: 26px; fill: var(--green-deep); }
.ring .sub { font-size: 9px; font-weight: 600; fill: var(--ink-soft); }
.ringbox .mood { font-size: .68rem; color: var(--ink-soft); font-style: italic; margin-top: 8px; }
.meal { display: flex; align-items: center; gap: 9px; padding: 9px 6px; border-bottom: 1px solid var(--line); font-size: .78rem; }
.meal:last-child { border-bottom: none; }
.meal .dotp { width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; font-size: .8rem; }
.meal b { font-weight: 700; }
.meal span { color: var(--ink-soft); font-size: .68rem; display: block; }
.meal .kc { margin-left: auto; font-weight: 800; }

/* ---------- sections ---------- */
section { padding: 56px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); letter-spacing: -.5px; margin-bottom: 10px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green); font-weight: 800; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px;
}
.kicker::before { content: ""; width: 26px; height: 14px;
  background:
    linear-gradient(var(--green), var(--green)) 0 50%/2.5px 100% no-repeat,
    linear-gradient(var(--green), var(--green)) 6px 50%/2.5px 100% no-repeat,
    linear-gradient(var(--green), var(--green)) 12px 50%/2.5px 100% no-repeat,
    linear-gradient(var(--green), var(--green)) 18px 50%/2.5px 100% no-repeat;
}
.sub { color: var(--ink-soft); max-width: 44em; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 28px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; transition: transform .15s ease;
}
section.alt .card { background: var(--paper); }
.card:hover { transform: translateY(-3px); }
.card .emo { font-size: 1.6rem; }
.card h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.card p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- compare table ---------- */
table.compare { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: .95rem; }
.compare th, .compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th:nth-child(2), .compare td:nth-child(2) { color: var(--ink-soft); }
.compare th:nth-child(3), .compare td:nth-child(3) { color: var(--green-deep); font-weight: 700; background: var(--green-soft); }
.compare tr:first-child th { font-size: 1rem; }

/* ---------- steps ---------- */
.steps { counter-reset: step; margin-top: 26px; display: grid; gap: 14px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 20px 66px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 20px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: 4px; font-size: 1.02rem; }
.step p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- misc ---------- */
.pill {
  display: inline-block; background: var(--green-soft); color: var(--green-deep);
  font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.callout {
  background: var(--green-soft); border-radius: var(--radius);
  padding: 20px 22px; margin-top: 26px; font-size: .95rem;
}
.callout.warn { background: color-mix(in srgb, var(--amber) 12%, var(--paper)); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 4px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--ink-soft); padding-top: 8px; max-width: 46em; }

footer { padding: 44px 0 60px; color: var(--ink-soft); font-size: .85rem; border-top: 1px solid var(--line); }
footer .wrap { display: grid; gap: 10px; }
footer a { font-weight: 600; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .phone { rotate: 0deg; }
  .nav-links { gap: 12px; }
  .nav-links a:not(.btn):not(.active) { display: none; }
}
