/* Pulse, the app's look: one neon per job on near-black. Light mode keeps the neon for dots and bars and uses the
   darker inks for text, as the app does. The dose colour is lime, the app's default. System font, as in the app. */
:root {
  --bg: #F2F2F7;
  --surface: #FFFFFF;
  --line: #E5E5EA;
  --ink: #000000;
  --muted: #6C6C70;
  --accent: #4E7A00;
  --accent-fill: #C8F542;
  --accent-tint: #EEF8D6;
  --protein: #E0306E;
  --water: #0A93AD;
  --fiber: #A87F00;
  --weight: #7A5CF0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1C1C1E;
    --line: #2C2C2E;
    --ink: #FFFFFF;
    --muted: #AEAEB2;
    --accent: #C8F542;
    --accent-fill: #C8F542;
    --accent-tint: #1F2A0A;
    --protein: #FF3B7F;
    --water: #3FD8F0;
    --fiber: #FFD53D;
    --weight: #A68BFF;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
main { max-width: 680px; margin: 0 auto; padding: 32px 16px 64px; }

header.site { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
header.site a { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
header.site img { width: 40px; height: 40px; border-radius: 10px; }
header.site span { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
header.site nav { margin-left: auto; display: flex; gap: 20px; }
header.site nav a { color: var(--muted); font-weight: 600; font-size: 15px; }
header.site nav a[aria-current="page"] { color: var(--accent); }

h1 { font-size: 40px; line-height: 1.1; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 22px; line-height: 1.25; font-weight: 700; margin: 40px 0 8px; }
h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
p, ul { margin: 0 0 16px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--accent); text-underline-offset: 3px; }
strong { font-weight: 700; }
.lead { font-size: 20px; color: var(--muted); }
.updated { color: var(--muted); font-size: 15px; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; margin-bottom: 20px; }
.badge {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-fill);
  color: #000000;
  font-weight: 700;
  font-size: 15px;
}

.cards { display: grid; gap: 12px; margin: 32px 0; }
@media (min-width: 600px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}
.card h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: 2px;
  background: var(--dot, var(--accent-fill));
}
.card.protein { --dot: var(--protein); }
.card.water { --dot: var(--water); }
.card.fiber { --dot: var(--fiber); }
.card.weight { --dot: var(--weight); }
.card p:last-child { margin-bottom: 0; }

.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 20px;
  color: var(--muted);
  font-size: 15px;
}
.note p:last-child { margin-bottom: 0; }

.contact {
  background: var(--accent-tint);
  border-radius: 18px;
  padding: 20px;
  margin: 32px 0;
}
.contact p:last-child { margin-bottom: 0; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 700; font-size: 18px; }
details[open] summary { margin-bottom: 8px; }
details p:last-child, details ul:last-child { margin-bottom: 0; }

footer { margin-top: 56px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }

@media (max-width: 480px) {
  h1 { font-size: 32px; }
  header.site nav { gap: 14px; }
}
