/* Spry Fitness — site styles. Accent matches the app (#208AEF). */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #0f1a2a;
  --muted: #56657a;
  --line: #dde4ee;
  --accent: #208aef;
  --accent-ink: #ffffff;
  --accent-soft: #e4f1fd;
  --accent-strong: #0d6fcf;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b121c;
    --surface: #121c29;
    --ink: #e8eef6;
    --muted: #9aaabd;
    --line: #22303f;
    --accent: #4aa3f5;
    --accent-ink: #06121f;
    --accent-soft: #13283d;
    --accent-strong: #8cc4fa;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.prose { max-width: 68ch; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 19px/1 "Archivo", system-ui, sans-serif; letter-spacing: -0.01em; }
.mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 18px; transform: skewX(-8deg); }
.mark span { transform: skewX(8deg); }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* Type */
h1, h2, h3 { font-family: "Archivo", system-ui, sans-serif; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(34px, 6vw, 54px); font-weight: 800; margin: 0 0 16px; }
h2 { font-size: 26px; font-weight: 800; margin: 44px 0 12px; }
h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-strong); margin: 0 0 12px; }
.lede { font-size: 20px; color: var(--muted); max-width: 56ch; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: 14px; font-weight: 600; }

/* Feature grid: one object, three roles */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 8px 0 0; padding: 0; list-style: none; }
.role { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.role-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.role ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.role li + li { margin-top: 4px; }

/* Session card: a real artefact of the subject */
.session { margin-top: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.session-head { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; flex-wrap: wrap; }
.session table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; min-width: 420px; }
.session th, .session td { text-align: left; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.session th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
.session tr:last-child td { border-bottom: 0; }
.session .live { color: var(--accent-strong); font-weight: 700; }

/* Docs pages */
.doc { padding: 48px 0 24px; }
.doc h2 { font-size: 21px; margin-top: 32px; }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.callout { background: var(--accent-soft); border-radius: 12px; padding: 16px 18px; margin: 20px 0; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 40px; margin-top: 14px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; display: grid; place-items: center; }

/* Footer */
.site-foot { margin-top: 64px; border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .nav a, .site-foot a { transition: color 0.15s ease; }
}
