@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 600 900;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/BarlowCondensed-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: optional;
}

:root {
  --bg: #F3F4F2;
  --fg: #101820;
  --muted: #52606D;
  --surface: #FFFFFF;
  --border: #CBD5E1;
  --red: #C12828;
  --red-dark: #9B1C1C;
  --navy: #0B111E;
  --navy-card: #121B2E;
  --ink-inv: #F8FAFC;
  --muted-inv: #CBD5E1;
  color-scheme: only light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header & Navigation */
.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}
.brand-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  max-width: 100%;
  min-width: 0;
}
.wordmark {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.wordmark span { color: #F87171; }
.header-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.12);
  color: #E2E8F0;
  max-width: 100%;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.main-nav a {
  color: #E2E8F0;
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 4px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.main-nav a[aria-current="page"] {
  color: #fff;
  border-bottom: 2px solid #F87171;
}
.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 8px 14px !important;
  border-radius: 5px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--red-dark); text-decoration: none !important; }

/* Hero */
.hero {
  background: linear-gradient(180deg, #090D16 0%, #111827 100%);
  color: var(--ink-inv);
  padding: 52px 20px 56px;
  border-bottom: 4px solid var(--red);
}
.hero-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}
.hero .eyebrow { color: #FCA5A5; }
h1 {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
}
.hero-lead {
  font-size: 17px;
  line-height: 1.55;
  color: #E2E8F0;
  margin: 0 0 24px;
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.btn-primary {
  background: var(--red);
  color: #fff !important;
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-height: 46px;
  text-decoration: none !important;
}
.btn-primary:hover { background: var(--red-dark); text-decoration: none !important; }
.btn-outline {
  background: rgba(255,255,255,.06);
  color: #fff !important;
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  text-decoration: none !important;
}
.btn-outline-light {
  background: #fff;
  color: var(--fg) !important;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-decoration: none !important;
}
.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: #CBD5E1;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-card {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 16px;
}
.card-frame {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: #090D16;
  aspect-ratio: 16 / 9;
}
.card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 12.5px;
  color: #CBD5E1;
  gap: 10px;
}

/* Trust metrics strip */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
}
.trust-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.metric-cell strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.2;
}
.metric-cell span {
  font-size: 12.5px;
  color: var(--muted);
}

/* Sections & Cards */
.section {
  padding: 52px 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.section-tight { padding: 36px 20px; }
h2.sec-title {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 10px;
}
.sec-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 68ch;
  margin: 0 0 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}
.card.featured {
  border: 2px solid var(--red);
  position: relative;
}
.tier-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #1E293B;
  color: #F8FAFC;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.card.featured .tier-tag { background: var(--red); }
.price-big {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 4px 0 6px;
}
.price-sub { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
}
.check-list li {
  font-size: 14px;
  padding-left: 20px;
  position: relative;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

/* Table */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
th, td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: #F8FAFC; font-weight: 700; color: var(--fg); }
tr:last-child td { border-bottom: none; }

/* Code block & Specimen */
pre.specimen {
  background: #0B111E;
  color: #E2E8F0;
  padding: 20px;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.55;
  border: 1px solid #1E293B;
}

/* Intake Form */
.intake-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
label { font-size: 13.5px; font-weight: 700; color: var(--fg); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #94A3B8;
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--fg);
}
.league-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}
.league-checks label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #F8FAFC;
  cursor: pointer;
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 1px;
  width: 1px;
}
.form-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}
.form-status.ok { display: block; background: #ECFDF5; border: 1px solid #10B981; color: #065F46; }
.form-status.err { display: block; background: #FEF2F2; border: 1px solid #EF4444; color: #991B1B; }

/* FAQ & Breadcrumb */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
details.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
details.faq-item p { margin: 10px 0 0; color: #334155; font-size: 15px; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #CBD5E1;
  padding: 40px 20px;
  margin-top: 48px;
  font-size: 13.5px;
}
.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.footer-col h3 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 10px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-col a { color: #CBD5E1; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1120px;
  margin: 26px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: #94A3B8;
}

.hero-grid > *, .grid-2 > *, .grid-3 > *, .trust-grid > *, .form-grid > *, .footer-grid > *, .card, .intake-box {
  min-width: 0;
  overflow-wrap: anywhere;
}
code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 860px) {
  .hero-grid, .grid-2, .grid-3, .trust-grid, .form-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding: 36px 16px 40px; }
  .section { padding: 36px 16px; }
}
