:root {
  --bg: #f6faf7;
  --paper: #ffffff;
  --soft: #ddf3e6;
  --border: #e1ebe4;
  --text: #15241b;
  --muted: #56665c;
  --faint: #8c9a91;
  --green: #1fa463;
  --green-deep: #137a48;
  --protein: #3d7bf7;
  --carbs: #f0a030;
  --fat: #e5577b;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1411;
    --paper: #16201b;
    --soft: #173a28;
    --border: #26342d;
    --text: #eaf2ed;
    --muted: #a3b3aa;
    --faint: #6f8077;
    --green: #2bc27a;
    --green-deep: #4fd592;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; }
a { color: var(--green-deep); }
img { max-width: 100%; display: block; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* Header */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--rounded); font-size: 22px; font-weight: 800; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; gap: 20px; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { text-align: center; padding: 40px 0 24px; }
.hero .icon { width: 120px; height: 120px; border-radius: 27px; margin: 0 auto 12px; box-shadow: 0 16px 40px rgba(19, 122, 72, 0.25); }
h1 { font-family: var(--rounded); font-size: clamp(38px, 8vw, 60px); line-height: 1.05; margin: 8px 0 12px; letter-spacing: -0.02em; }
.tagline { font-size: clamp(18px, 3.5vw, 22px); color: var(--muted); max-width: 640px; margin: 0 auto 24px; }
.soon { display: inline-block; background: var(--soft); color: var(--green-deep); font-weight: 700; border-radius: 999px; padding: 10px 20px; }
.store-badge { display: inline-block; line-height: 0; }
.store-badge img { height: 60px; width: auto; }

/* Rings illustration */
.rings { display: flex; justify-content: center; gap: 18px; margin: 36px auto 8px; flex-wrap: wrap; }
.ring { width: 96px; text-align: center; font-size: 14px; color: var(--muted); }
.ring svg { width: 96px; height: 96px; }

/* Features */
.section { padding: 32px 0; }
.section h2 { font-family: var(--rounded); font-size: clamp(26px, 5vw, 34px); text-align: center; margin: 0 0 8px; }
.section .lede { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.card .emoji { font-size: 28px; }
.card h3 { margin: 8px 0 4px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.premium { background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #fff; border: none; }
.premium p, .premium li { color: rgba(255, 255, 255, 0.92); }
.premium ul { margin: 10px 0 0; padding-left: 20px; }

/* Documents */
.doc { max-width: 760px; padding-bottom: 48px; }
.doc h1 { font-size: clamp(32px, 6vw, 44px); text-align: left; }
.doc h2 { font-family: var(--rounded); font-size: 22px; margin-top: 32px; }
.doc .updated { color: var(--faint); font-size: 14px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.faq h3 { font-size: 17px; margin: 24px 0 4px; }
.faq p { margin: 0; color: var(--muted); }

footer { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--faint); }

/* Phones: four smaller rings on one line */
@media (max-width: 480px) {
  .rings { gap: 10px; }
  .ring { width: 72px; font-size: 13px; }
  .ring svg { width: 72px; height: 72px; }
}
