/* FitStreak site. Colors follow the app's dark gold theme; a light scheme is offered too. */
:root {
  --bg: #fbf7ee;
  --surface: #ffffff;
  --text: #1d1a14;
  --muted: #5c5445;
  --line: #e7dcc4;
  --accent: #9a6b00;
  --accent-strong: #7a5400;
  --button-bg: #1d1a14;
  --button-text: #f5d77a;
  --radius: 18px;
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14120e;
    --surface: #1f1c16;
    --text: #f4efe4;
    --muted: #b9ae98;
    --line: #342e22;
    --accent: #e9c46a;
    --accent-strong: #f5d77a;
    --button-bg: #e9c46a;
    --button-text: #14120e;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
}
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.wide { max-width: 1040px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.site { display: flex; gap: 16px; flex-wrap: wrap; font-size: 16px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover { color: var(--text); }

main { padding: 32px 0 56px; }
h1 { font-size: clamp(32px, 7vw, 52px); line-height: 1.1; margin: 0 0 16px; font-weight: 900; letter-spacing: -0.01em; }
h2 { font-size: 26px; line-height: 1.25; margin: 40px 0 12px; font-weight: 800; }
h3 { font-size: 20px; margin: 28px 0 8px; font-weight: 800; }
p, ul, ol { margin: 0 0 16px; }
li { margin-bottom: 6px; }
.lede { font-size: 21px; color: var(--muted); }
.meta { font-size: 15px; color: var(--muted); }
blockquote { margin: 20px 0; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
blockquote p:last-child { margin: 0; }

.button {
  display: inline-block; background: var(--button-bg); color: var(--button-text);
  font-weight: 800; text-decoration: none; padding: 14px 22px; border-radius: 999px; margin: 8px 0 4px;
}
.button:hover { color: var(--button-text); filter: brightness(1.08); }

.hero { display: grid; gap: 24px; align-items: center; }
.hero .pet { justify-self: center; width: min(260px, 70%); }
@media (min-width: 760px) { .hero { grid-template-columns: 1.3fr 1fr; } }

.texts { display: grid; gap: 10px; margin: 20px 0; }
.text { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 16px; }
.text b { display: block; font-size: 13px; color: var(--muted); font-weight: 700; }

.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0; }
@media (min-width: 760px) { .shots { grid-template-columns: repeat(4, 1fr); } }
.shots img { border-radius: 14px; border: 1px solid var(--line); display: block; }

.cards { display: grid; gap: 12px; margin: 16px 0; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--text); text-decoration: none; }
.card:hover { border-color: var(--accent); color: var(--text); }
.card strong { display: block; font-size: 18px; }
.card span { color: var(--muted); font-size: 15px; }

table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 16px; }
.table-scroll { overflow-x: auto; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 800; }

footer.site { border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
footer.site .wrap { padding-top: 20px; padding-bottom: 32px; display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
