/* Foundry Football — homepage (conversion-focused, mobile-first) */

:root {
  --bg: #070708;
  --bg-elevated: #0e0e10;
  --surface: #16161a;
  --surface-border: rgb(255 255 255 / 0.08);
  --text: #fafafa;
  --muted: #a3a3a8;
  --muted-2: #71717a;
  --accent: #e11d48;
  --accent-hover: #f43f5e;
  --accent-soft: rgb(225 29 72 / 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --container: min(72rem, 92vw);
  --header-h: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.home {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
}

.skip-link:focus {
  left: 0.75rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--surface-border);
  background: rgb(7 7 8 / 0.88);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.site-brand img {
  height: 36px;
  width: auto;
  display: block;
}

.site-brand span {
  line-height: 1.2;
}

.site-brand small {
  display: block;
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.site-nav a:not(.btn):hover {
  color: var(--text);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s;
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgb(255 255 255 / 0.22);
}

.btn--ghost:hover {
  border-color: rgb(255 255 255 / 0.4);
  background: rgb(255 255 255 / 0.04);
}

.btn--sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.8125rem;
  min-height: 2.25rem;
}

.hero__actions .btn {
  min-height: 48px;
}

/* —— Hero —— */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 8vw, 5rem);
  border-bottom: 1px solid var(--surface-border);
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.15fr 1fr;
  }
}

.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 38rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero__note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-2);
  max-width: 32rem;
}

.hero__panel {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.hero__panel h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.hero__panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__panel li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.hero__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* —— Sections —— */
.section {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.section--tint {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.section__head {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.section__head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section__cta {
  margin-top: 2rem;
  text-align: center;
}

/* —— Grids & cards —— */
.grid-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.35rem 1.5rem;
  text-align: left;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.card p,
.card li {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

.card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.card ul li + li {
  margin-top: 0.35rem;
}

.card .price {
  margin-top: 1rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
}

.card .btn-wrap {
  margin-top: 1.15rem;
}

.card .btn {
  width: 100%;
}

.pill {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: var(--accent-soft);
  color: #fda4af;
  margin-bottom: 0.5rem;
}

/* —— Lists (who / differentiators) —— */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 42rem;
}

.check-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2rem;
  border-bottom: 1px solid var(--surface-border);
  color: var(--muted);
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.2rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}

/* —— Process —— */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: #fda4af;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 800;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* —— Coach bio —— */
.prose {
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* —— FAQ —— */
.faq {
  max-width: 44rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.faq summary {
  padding: 1rem 1.15rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq .faq__body {
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq .faq__body a {
  color: #fda4af;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq .faq__body a:hover {
  color: var(--accent-hover);
}

/* —— Final CTA —— */
.cta-final {
  text-align: center;
  padding: clamp(3rem, 8vw, 4.5rem) 1.5rem;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--accent-soft), transparent),
    var(--bg-elevated);
  border-top: 1px solid var(--surface-border);
}

.cta-final h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.cta-final > .container > p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: var(--muted);
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* —— Footer —— */
.site-footer {
  padding: 2.5rem 0 2rem;
  text-align: center;
  color: var(--muted-2);
  font-size: 0.875rem;
}

.site-footer img {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.site-footer__links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.site-footer__links a {
  color: var(--muted);
  font-weight: 600;
}

.site-footer__links a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .site-nav a:not(.btn) {
    display: none;
  }
}
