:root {
  --bg:#f4f3f0; --card:#ffffff; --text:#2f2d29; --muted:#77746d; --line:#dedcd6;
  --btn:#2f2d29; --btn-text:#f4f3f0;
}
@media (prefers-color-scheme: dark) {
  :root { --bg:#0e0e0d; --card:#1c1c1a; --text:#e9e4d6; --muted:#9e9c95; --line:#30302d;
          --btn:#e9e4d6; --btn-text:#0e0e0d; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin:0; background:var(--bg); color:var(--text);
       font:17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
main { max-width: 40rem; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.wordmark { font-size: clamp(2.8rem, 12vw, 4.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 0 0 1rem; }
.lead { font-size: 1.25rem; line-height: 1.45; max-width: 30rem; margin: 0 0 2rem; }
.muted { color: var(--muted); }
.btn { display: inline-block; background: var(--btn); color: var(--btn-text); text-decoration: none;
       font-weight: 600; padding: .85rem 1.4rem; border-radius: 14px; border: 0; font-size: 1rem; cursor: pointer; }
.btn.alt { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }
.row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.features { list-style: none; padding: 0; margin: 3rem 0 0; border-top: 1px solid var(--line); }
.features li { padding: 1rem 0; border-bottom: 1px solid var(--line); max-width: none; }
.features strong { display: block; }
footer { margin-top: 3rem; color: var(--muted); font-size: .95rem; }
footer a { margin-right: 1rem; }
h1 { font-size: 2rem; margin: 0 0 .25rem; letter-spacing: -.01em; }
h2 { font-size: 1.25rem; margin: 2.5rem 0 .5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
p, li { max-width: 36rem; }
ul { padding-left: 1.2rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.25rem; }
.card p { margin: .25rem 0; }
nav a { margin-right: 1rem; }
.routine { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.routine li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); max-width: none; }
.routine .sets { color: var(--muted); white-space: nowrap; }
.tag { color: var(--muted); font-size: .85rem; }
