:root {
  --ink: #15201a; --muted: #667066; --line: #e6e4dc; --canvas: #f7f6f1; --surface: #fff;
  --accent: #1e7a4c; --accent-soft: #e3f1e8; --accent-ink: #145235; --gold: #b7791f; --gold-soft: #fbf3e4;
  --protein: #c4622d; --water: #2e7cc4; --plants: #7a5ac8;
  --radius: 20px; --shadow: 0 2px 12px rgba(21, 32, 26, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef2ec; --muted: #9ba59a; --line: #252b26; --canvas: #0d110e; --surface: #151b17;
    --accent: #5ccb8e; --accent-soft: #16281d; --accent-ink: #a6e6c2; --gold: #e0b25a; --gold-soft: #2a2215;
    --protein: #f0986a; --water: #6eb2f0; --plants: #b69cff; --shadow: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 500 16px/1.6 Manrope, system-ui, -apple-system, Segoe UI, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-weight: 600; font-size: 15px; }
nav a:hover { color: var(--ink); }
h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -.02em; margin: 24px 0 14px; font-weight: 800; }
h2 { font-size: clamp(24px, 3.5vw, 32px); letter-spacing: -.01em; margin: 56px 0 12px; font-weight: 800; line-height: 1.15; }
h3 { font-size: 18px; margin: 0 0 6px; font-weight: 700; }
p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 0 24px; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding-bottom: 12px; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 14px; font-weight: 700; text-decoration: none; font-size: 16px; border: 1px solid transparent; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid4 { grid-template-columns: 1fr; } }
.tile { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; font-weight: 800; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }
label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
input[type=number], select { width: 100%; min-height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 14px; font: 600 16px Manrope, system-ui, sans-serif; }
.check { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.result { background: var(--accent-soft); border-radius: var(--radius); padding: 22px; }
.big { font-size: 48px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rows div { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rows div:first-child { border-top: 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
footer { margin: 64px 0 0; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 16px; }
.doc { max-width: 760px; }
.doc h1 { font-size: 40px; }
.doc h2 { font-size: 22px; margin-top: 32px; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.phone { background: var(--surface); border: 1px solid var(--line); border-radius: 34px; padding: 22px; box-shadow: var(--shadow); }
.phone .label { color: var(--accent-ink); font-weight: 600; font-size: 14px; }
.bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; border-radius: 8px; }

.btn.primary { color: #fff; }
@media (prefers-color-scheme: dark) { .btn.primary { color: #07170e; } }
table.foods { width: 100%; border-collapse: collapse; font-size: 15px; }
table.foods th, table.foods td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
table.foods td.n, table.foods th.n { text-align: right; }
.pill { display: inline-block; background: var(--accent-soft); color: var(--accent-ink); border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 700; }
.ring { width: 170px; height: 170px; margin: 0 auto 8px; display: block; }
