/* Front Range Athletic Systems — charcoal / slate / steel blue */
:root {
  --ink: #1a1c28;
  --charcoal: #202030;
  --slate: #3a4a5c;
  --steel: #4a6a80;
  --steel-light: #6a8aa0;
  --mist: #e8eef2;
  --snow: #f7f9fb;
  --white: #ffffff;
  --line: #d0d8e0;
  --focus: #4a6a80;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(26, 28, 40, 0.12);
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }
h1, h2, h3 { line-height: 1.2; color: var(--charcoal); margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.65rem 0; min-height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--charcoal); flex-shrink: 0;
}
.brand img { height: 40px; width: auto; }
.brand-text { display: none; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
@media (min-width: 900px) {
  .brand img.logo-mark { display: none; }
  .brand img.logo-full { display: block; height: 44px; }
}
@media (max-width: 899px) {
  .brand img.logo-full { display: none; }
  .brand img.logo-mark { display: block; }
}

.nav-toggle {
  display: none; background: var(--charcoal); color: #fff; border: 0;
  border-radius: 6px; padding: 0.45rem 0.75rem; font-weight: 600; cursor: pointer;
}
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.15rem 1.1rem; align-items: center;
}
.site-nav a {
  color: var(--slate); text-decoration: none; font-weight: 600; font-size: 0.92rem;
  padding: 0.35rem 0;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--charcoal); }
.site-nav a.nav-cta {
  background: var(--charcoal); color: #fff !important;
  padding: 0.45rem 0.9rem; border-radius: 6px;
}
.site-nav a.nav-cta:hover { background: var(--steel); }

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); padding: 0.75rem 1rem 1.1rem;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: 0.7rem 0.25rem; border-bottom: 1px solid var(--mist); }
  .site-nav a.nav-cta { text-align: center; margin-top: 0.5rem; border: 0; }
}

/* Hero */
.hero {
  background: linear-gradient(165deg, var(--charcoal) 0%, #2a3548 45%, var(--steel) 100%);
  color: #fff; padding: 3.5rem 0 4rem; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 48px;
  background: linear-gradient(to top right, transparent 49%, var(--white) 50%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero .kicker {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel-light); font-weight: 700; margin-bottom: 0.85rem;
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: #d8e0e8;
  max-width: 38rem; margin: 0.85rem 0 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-logo {
  margin-bottom: 1.25rem; height: 56px; width: auto;
  filter: brightness(0) invert(1); opacity: 0.95;
}

/* Buttons */
.btn {
  display: inline-block; background: var(--steel); color: #fff !important;
  text-decoration: none; font-weight: 700; font-size: 0.95rem;
  padding: 0.7rem 1.2rem; border-radius: 6px; border: 2px solid var(--steel);
  cursor: pointer; transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--charcoal); border-color: var(--charcoal); color: #fff !important; }
.btn-ghost {
  background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline {
  background: transparent; color: var(--charcoal) !important; border-color: var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: #fff !important; }

/* Sections */
section { padding: 3.25rem 0; }
section.band { background: var(--snow); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker {
  display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--steel); font-weight: 700; margin-bottom: 0.4rem;
}
.lead-muted { color: var(--slate); max-width: 40rem; font-size: 1.05rem; }

.grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 1.5rem;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.4rem; box-shadow: 0 2px 8px rgba(26,28,40,0.04);
  text-decoration: none; color: inherit; display: block;
  transition: border-color 0.15s, box-shadow 0.15s;
}
a.card:hover { border-color: var(--steel); box-shadow: var(--shadow); }
.card .tag {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 700; color: var(--steel); margin-bottom: 0.5rem;
}
.card h3 { margin-bottom: 0.35rem; }
.card p { color: var(--slate); margin: 0; font-size: 0.95rem; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.steps li {
  position: relative; padding: 1rem 1rem 1rem 3.4rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 0.75rem; background: #fff;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0.9rem; top: 1rem;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--charcoal); color: #fff; font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.steps strong { color: var(--charcoal); }

.pill-note {
  background: var(--mist); border-left: 4px solid var(--steel);
  padding: 1rem 1.15rem; border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--slate); margin: 1.25rem 0 0;
}
.pill-note b { color: var(--charcoal); }

/* Forms (stubs only) */
.form-stub {
  max-width: 28rem; margin-top: 1.25rem;
  display: grid; gap: 0.75rem;
}
.form-stub label { font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
.form-stub input, .form-stub textarea, .form-stub select {
  width: 100%; padding: 0.65rem 0.75rem; border: 1px solid var(--line);
  border-radius: 6px; font: inherit; background: #fff; color: var(--ink);
}
.form-stub input:focus, .form-stub textarea:focus {
  outline: 2px solid var(--steel); outline-offset: 1px;
}
.form-stub .hint { font-size: 0.85rem; color: var(--slate); margin: 0; }
.form-stub .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }

.page-hero {
  padding: 2.5rem 0 1.5rem; background: var(--snow); border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 0.35rem; }
.two-col {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .two-col { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
}

/* Footer */
.site-footer {
  background: var(--charcoal); color: #b8c4d0; padding: 2.5rem 0 1.75rem; margin-top: 2rem;
}
.site-footer a { color: #d0dae4; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 1.75rem;
}
.footer-brand img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; margin: 0; max-width: 22rem; }
.footer-col h4 {
  color: #fff; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin: 0 0 0.65rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.35rem; }
.footer-col a { text-decoration: none; font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1rem;
  font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  justify-content: space-between;
}

.coming-soon-badge {
  display: inline-block; background: var(--mist); color: var(--steel);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.55rem; border-radius: 4px; margin-bottom: 0.65rem;
}

/* AiB product pitch helpers */
.crumb {
  font-size: 0.88rem; color: var(--slate); margin: 0 0 0.75rem;
}
.crumb a { color: var(--steel); text-decoration: none; font-weight: 600; }
.crumb a:hover { text-decoration: underline; }
.crumb span { color: var(--charcoal); font-weight: 600; }
.price-example {
  display: inline-block; background: #fff8e6; border: 1px solid #e0c878;
  color: #5a4a18; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 0.35rem 0.65rem; border-radius: 4px;
  margin: 0.5rem 0 0.85rem;
}
.price-example .band {
  display: block; font-size: 1.05rem; letter-spacing: 0; text-transform: none;
  color: var(--charcoal); margin-top: 0.2rem; font-weight: 700;
}
.sku-meta { font-size: 0.9rem; color: var(--slate); margin: 0 0 1rem; }
.sku-meta strong { color: var(--charcoal); }
.include-list { margin: 0.75rem 0 1.25rem; }
.include-list li { margin-bottom: 0.35rem; }
.product-nav-grid { margin-top: 1.25rem; }
.primary-offer {
  border: 2px solid var(--steel); box-shadow: var(--shadow);
}
.primary-offer .tag { color: var(--charcoal); }
