/* Gym Scribe's own "Ruled" look: ink on paper, the app's tokens. */
:root {
  color-scheme: light dark;
  --bg: #f4f6fa; --surface: #ffffff; --text: #13203a; --text-2: #34415a; --muted: #56637c;
  --accent: #1559b8; --on-accent: #ffffff; --rule: #dbe5f3; --margin: #ec9ea4;
  --font-head: ui-serif, "New York", Georgia, "Times New Roman", serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b111c; --surface: #121a28; --text: #eef2f8; --text-2: #c5cedd; --muted: #8e9bb2;
    --accent: #6aa8ff; --on-accent: #0b111c; --rule: #223049; --margin: #8a4a52;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; }
main { max-width: 44rem; margin: 0 auto; padding: 40px 16px 72px; }
.page { position: relative; background: var(--surface); border-radius: 18px;
  padding: 32px 24px 36px 56px; border: 1px solid var(--rule); }
.page::before { content: ""; position: absolute; top: 0; bottom: 0; left: 38px;
  width: 1.5px; background: var(--margin); }
header.brand { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
header.brand img { width: 64px; height: 64px; border-radius: 15px; border: 1px solid var(--rule); }
header.brand a { color: inherit; text-decoration: none; }
h1, h2 { font-family: var(--font-head); text-wrap: balance; }
h1 { font-size: 2rem; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
.tagline { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }
h2 { font-size: 1.25rem; margin: 34px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
h3 { font-size: 1rem; margin: 22px 0 4px; }
p { margin: 0 0 12px; color: var(--text-2); max-width: 64ch; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.contact { font-size: 1.1rem; font-weight: 600; }
.get { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 18px 0 4px; }
.get span { color: var(--muted); font-size: 0.92rem; }
a.store { display: inline-block; padding: 10px 18px; border-radius: 12px; background: var(--accent);
  color: var(--on-accent); font-weight: 600; text-decoration: none; }
a.store:hover { filter: brightness(1.08); }
.updated { color: var(--muted); font-size: 0.9rem; }
nav.foot { margin-top: 28px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.92rem; color: var(--muted); }
@media (max-width: 480px) {
  .page { padding: 26px 18px 30px 40px; }
  .page::before { left: 26px; }
  h1 { font-size: 1.7rem; }
}
