/* Starting Block Fitness — brand styles.
 *
 * Palette is taken from the real logo (sbf_logo.webp):
 *   black #000000, white #FFFFFF, deep red #700310.
 * Red is an accent only — buttons, rules, eyebrows — never a large
 * field of colour. Warm neutral greys keep text and hairlines off the
 * old cool navy/teal scheme entirely.
 */
:root {
  --black: #000000;
  --ink: #1c1c1c;
  --red: #700310;
  --red-dark: #57020c;
  --red-tint: #fbeaea;
  --muted: #5c5c5c;
  --line: #e5e5e5;
  --bg: #ffffff;
  --bg-alt: #f6f5f3;
  --radius: 8px;
  --max: 1080px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; color: var(--black); letter-spacing: 0.01em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin: 0 0 16px; }
h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 0 0 12px; }
h3 { font-size: 1.5rem; margin: 0 0 8px; }
p { margin: 0 0 16px; }
a { color: var(--red); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--black); color: #fff; padding: 10px 14px; z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); font-weight: 800; }
.logo-img { width: 44px; height: 44px; border-radius: 50%; display: block; flex: none; }
.logo-text { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: 0.02em; }
.logo-text span { color: var(--red); }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: block; padding: 8px 10px; text-decoration: none; color: var(--ink); border-radius: 8px; font-weight: 600; font-size: 15px; }
.nav-menu a:hover { background: var(--bg-alt); }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 12px; font-weight: 700; cursor: pointer; }

.btn {
  display: inline-block; background: var(--red); color: #fff !important;
  padding: 12px 20px; border-radius: 8px; text-decoration: none;
  font-weight: 700; border: 1px solid var(--red);
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--black) !important; border-color: var(--black); }
.btn-ghost:hover { background: var(--black); color: #fff !important; }
.btn-small { padding: 8px 14px; }

.hero { background: var(--black); color: #fff; padding: 64px 0 64px; }
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.15rem; color: #d9d9d9; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.hero-note { color: #b8b8b8; font-size: 15px; margin: 0; }
.hero-logo { width: 72px; height: 72px; border-radius: 50%; display: block; margin-bottom: 20px; }
.hero .btn-ghost { color: #fff !important; border-color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--black) !important; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; font-weight: 800;
  color: var(--red); margin: 0 0 10px;
}
.eyebrow::before {
  content: ""; display: block; width: 32px; height: 3px;
  background: var(--red); margin-bottom: 12px;
}
.hero .eyebrow { color: #fff; }

.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 20px; }
.trust-inner p { margin: 0; }
.trust-inner ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.trust-inner li { font-weight: 700; font-size: 14px; padding: 0 14px; border-left: 1px solid var(--line); }
.trust-inner li:first-child { border-left: none; padding-left: 0; }

.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { color: var(--muted); max-width: 640px; font-size: 1.1rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.section-alt .card { background: #fff; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.card-cta { background: var(--black); border-color: var(--black); color: #fff; }
.card-cta h3 { color: #fff; }
.card-cta p { color: #d9d9d9; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 28px 0 0; padding: 0; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--black); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.note { color: var(--muted); font-size: 15px; }

details { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--black); }
details p { margin: 10px 0 0; color: var(--muted); }

.cta-section { background: var(--black); color: #fff; text-align: left; }
.cta-section h2 { color: #fff; }
.cta-section p { color: #d9d9d9; }
.cta-section .eyebrow { color: #fff; }
.cta-section .note { color: #b8b8b8; }

.site-footer { border-top: 1px solid var(--line); padding: 36px 0; background: #fff; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.footer-inner > .fine { grid-column: 1 / -1; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand p { margin: 0; }
.footer-logo { width: 56px; height: 56px; border-radius: 50%; display: block; flex: none; }
.fine { color: var(--muted); font-size: 14px; }

@media (max-width: 820px) {
  .grid, .grid-2, .steps { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav-menu {
    display: none; position: absolute; right: 16px; top: 64px;
    flex-direction: column; align-items: stretch;
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    padding: 8px; min-width: 220px; box-shadow: 0 12px 30px rgba(0,0,0,0.16);
  }
  .nav-menu.open { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .hero { padding: 56px 0 48px; }
}
