/* bellowsfitness.com: one stylesheet for every page except /live (its own dark map
   page). Mobile first; no scripts, fonts or trackers load from anywhere else. */
:root {
  --ember: #E8541E; --ember-dark: #C2410C; --core: #FFB347; --charcoal: #1B1614;
  --bg: #FFF8F3; --surface: #FFFFFF; --text: #1B1614; --muted: #6E645E;
  --line: #EADFD7; --link: #C2410C; --on-ember: #FFFFFF;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1B1614; --surface: #26201D; --text: #F7F2EE; --muted: #B5AAA3;
    --line: #3A302B; --link: #FF8A57; }
}
* { 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, Helvetica, Arial, sans-serif; }
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--core); outline-offset: 2px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 1; }

/* Header: flame + wordmark, back to home */
.top { padding: 16px 0 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text);
  text-decoration: none; font-weight: 900; letter-spacing: 0.14em; font-size: 15px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }

main { padding: 24px 0 56px; }
h1 { text-wrap: balance; font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin: 4px 0 12px; }
h2 { font-size: 22px; line-height: 1.3; margin: 40px 0 10px; scroll-margin-top: 16px; }
h3 { font-size: 18px; line-height: 1.35; margin: 28px 0 8px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 24px; }
li { margin: 0 0 8px; }
.eyebrow { color: var(--ember); font-weight: 700; font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; margin: 0; }
.byline { color: var(--muted); font-size: 15px; }
.byline span { white-space: nowrap; }
.lede { font-size: 19px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }

/* Buttons: 48pt tall, easy to hit */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 24px; border-radius: 999px; background: var(--ember); color: var(--on-ember);
  font-weight: 700; font-size: 17px; text-decoration: none; }
.button:hover { background: var(--ember-dark); }
.button.wide { width: 100%; }
@media (min-width: 560px) { .button.wide { width: auto; } }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 0 0 12px; }
.card h3 { margin: 0 0 4px; font-size: 17px; }
.card p { margin: 0; }
.points { display: grid; gap: 12px; margin: 24px 0; }
@media (min-width: 560px) { .points { grid-template-columns: repeat(2, 1fr); } }
.points .card { margin: 0; }

/* Placeholder that must be filled before deploy */
.placeholder { display: block; border: 2px dashed var(--ember); border-radius: 12px; padding: 10px 14px; margin: 12px 0;
  font-weight: 700; font-size: 15px; }

/* Home hero */
.hero { text-align: center; padding: 24px 0 8px; }
.hero .mark { width: 96px; height: 96px; border-radius: 22px; }
.hero h1 { font-size: 36px; margin: 20px 0 8px; }
@media (min-width: 560px) { .hero h1 { font-size: 46px; } }
.hero .line { font-size: 20px; font-weight: 600; color: var(--ember); margin: 0 0 20px; }
.status { display: inline-block; background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 14px; margin: 0 0 20px; }

/* Steps */
ol.steps { list-style: none; padding: 0; counter-reset: step; }
ol.steps > li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 14px; }
ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px;
  border-radius: 50%; background: var(--ember); color: var(--on-ember); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; padding: 12px 0; min-height: 44px; list-style-position: inside; }
details p { margin: 0 0 14px; }

/* Tables (policies): cards on a phone, a table from 600px */
.table { margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
@media (max-width: 599px) {
  thead { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px 0; margin: 0 0 10px; }
  td { border: 0; padding: 4px 14px; }
  td::before { content: attr(data-label); display: block; font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--muted); }
}

/* Footer on every page */
.foot { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
.foot nav ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot nav li { margin: 0; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.foot p { margin: 0 0 6px; }
