/* All The Way Flag Football — static site styles
   Brand: black / red / silver-white. Dark theme, mobile-first. */

:root {
  --black: #0a0a0b;
  --dark: #141417;
  --card: #17171b;
  --red: #e01b24;
  --red-dark: #a8121a;
  --silver: #f2f3f5;
  --muted: #b7bcc4;
  --line: #26262c;
  --radius: 10px;
  --maxw: 1060px;
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--black);
  color: var(--silver);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--silver); }
a:hover { color: #fff; }

h1, h2, h3 {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); margin-top: 2.2em; }
h2:first-child { margin-top: 0; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--muted); }
p strong, li strong { color: var(--silver); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 10px 20px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; display: block; }
.brand-name {
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 0.95rem; line-height: 1.2; color: var(--silver);
}
.brand-name small { display: block; font-weight: 600; color: var(--muted); font-size: 0.7rem; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  color: var(--silver); border-radius: 8px; padding: 8px 12px;
  font-size: 1.1rem; cursor: pointer;
}
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.main-nav a {
  display: block; padding: 9px 12px; border-radius: 8px;
  text-decoration: none; font-size: 0.92rem; font-weight: 600;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em;
}
.main-nav a:hover { color: #fff; background: var(--dark); }
.main-nav a.active { color: #fff; background: var(--red-dark); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 64px 0 56px; text-align: center;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 46px,
      rgba(255,255,255,0.045) 46px 48px
    ),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(224,27,36,0.16), transparent 70%),
    var(--black);
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow {
  color: var(--red); font-weight: 700; letter-spacing: 0.22em;
  font-size: 0.78rem; text-transform: uppercase; margin-bottom: 18px;
}
.hero-logo { max-width: 560px; width: 88%; margin: 0 auto 8px; display: block; }
.hero h1 { margin: 0.35em 0 0.3em; }
.hero h1 .accent { color: var(--red); }
.hero .subhead { max-width: 640px; margin: 0 auto 28px; font-size: 1.08rem; }

.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 0.95rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform 0.08s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #f12630; color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--silver); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); color: #fff; }
.btn-disabled {
  background: #2a2a30; color: #8a8f98; cursor: not-allowed;
  border-color: #2a2a30;
}
.btn-disabled:hover { color: #8a8f98; }

/* ---------- quick facts ---------- */
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin: 36px 0;
}
.fact { background: var(--card); padding: 18px 14px; text-align: center; }
.fact b { display: block; font-size: 1.02rem; color: #fff; }
.fact span { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- sections / cards ---------- */
.page { padding: 52px 0 72px; }
.lede { font-size: 1.12rem; max-width: 720px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; margin: 22px 0;
}
.card h3 { margin-top: 0; color: #fff; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; margin-bottom: 10px;
}

ul.tight, ol.tight { padding-left: 1.25em; color: var(--muted); }
ul.tight li, ol.tight li { margin-bottom: 0.55em; }

/* ---------- tables ---------- */
table.data {
  width: 100%; border-collapse: collapse; margin: 18px 0;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; font-size: 0.97rem;
}
table.data th, table.data td { padding: 13px 16px; text-align: left; }
table.data thead th {
  background: #1e1e23; color: #fff; text-transform: uppercase;
  font-size: 0.8rem; letter-spacing: 0.06em;
}
table.data tbody tr { border-top: 1px solid var(--line); }
table.data tbody td { color: var(--muted); }
table.data tbody td:first-child { color: var(--silver); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* ---------- TBD badge ---------- */
.tbd {
  display: inline-block; background: #2a2410; color: #f5c518;
  border: 1px solid #6b5a1e; border-radius: 6px;
  font-size: 0.78em; font-weight: 700; padding: 1px 9px;
  text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
}
.tbd-note {
  border-left: 3px solid #f5c518; background: #1b1810;
  padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 14px 0;
  color: var(--muted); font-size: 0.95rem;
}

/* ---------- status banner ---------- */
.banner {
  background: linear-gradient(135deg, var(--red-dark), #5e0a10);
  border: 1px solid #7c141b; border-radius: var(--radius);
  padding: 22px 26px; margin: 26px 0; color: #fff;
}
.banner b { color: #fff; }
.banner p { color: #ffd9dc; margin: 0.4em 0 0; }

/* ---------- FAQ accordion ---------- */
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; background: var(--card); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  color: var(--silver); font-size: 1.02rem; font-weight: 700;
  padding: 18px 20px; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--font);
}
.faq-q:hover { color: #fff; }
.faq-q .chev { color: var(--red); font-weight: 800; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 20px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

/* ---------- conduct docs ---------- */
.doc-nav {
  display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 8px;
}
.doc-nav a {
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
  text-decoration: none; font-size: 0.88rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted);
}
.doc-nav a:hover { border-color: var(--red); color: #fff; }
.conduct-doc {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; margin: 30px 0;
  scroll-margin-top: 90px;
}
.conduct-doc h2 { margin-top: 0; }
.conduct-doc .doc-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.2em; }
.conduct-doc ol { padding-left: 1.3em; color: var(--muted); }
.conduct-doc ol li { margin-bottom: 0.6em; }
.conduct-doc ol li::marker { color: var(--red); font-weight: 700; }
.ack-note {
  margin-top: 22px; padding: 14px 18px; background: #101014;
  border: 1px dashed var(--line); border-radius: 8px;
  font-size: 0.92rem; color: var(--muted);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: #08080a;
  padding: 38px 0 30px; font-size: 0.88rem; color: var(--muted);
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
}
.site-footer b { color: var(--silver); }
.footer-note { max-width: 560px; }

/* ---------- polish pass: selection, focus, heading accents, hover depth ---------- */
::selection { background: rgba(224, 27, 36, 0.55); color: #fff; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Red accent rule under top-level page section headings */
.page .container > h2::after {
  content: ""; display: block; width: 46px; height: 3px;
  background: var(--red); border-radius: 2px; margin-top: 12px;
}

.btn {
  transition: transform 0.12s ease, background 0.15s ease,
              border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(224, 27, 36, 0.35); }
.btn-ghost:hover { transform: translateY(-1px); }
.btn-disabled, .btn-disabled:hover { transform: none; box-shadow: none; }

.main-nav a { transition: background 0.15s ease, color 0.15s ease; }

.faq-q { transition: color 0.15s ease, background 0.15s ease; }
.faq-q:hover { background: rgba(255, 255, 255, 0.02); }

.fact { transition: background 0.15s ease; }
.fact:hover { background: #1d1d22; }

.doc-nav a { transition: border-color 0.15s ease, color 0.15s ease; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 0 12px; }
  .main-nav a { padding: 12px 6px; }
  .header-inner { flex-wrap: wrap; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 44px; }
  .conduct-doc { padding: 22px 18px; }
  .btn { width: 100%; text-align: center; }
  .btn-row { flex-direction: column; }
}

/* ---------- notify-me form (single joined pill) ---------- */
.notify-form {
  display: flex; align-items: stretch; max-width: 520px; width: 100%;
  background: #1e1e23; border: 2px solid var(--line); border-radius: 999px; overflow: hidden;
}
.notify-form:focus-within { border-color: var(--red); }
.notify-form input[type="email"] {
  background: transparent; border: none; color: var(--silver);
  padding: 14px 20px; font-size: 1rem; font-family: var(--font);
  min-width: 0; flex: 1;
}
.notify-form input[type="email"]::placeholder { color: var(--muted); }
.notify-form input[type="email"]:focus { outline: none; }
.notify-form .btn { border: none; border-radius: 0; background: var(--red); color: #fff; white-space: nowrap; }
.notify-form .btn:hover { background: #f12630; color: #fff; }
.hidden { display: none; }
@media (max-width: 760px) {
  .notify-form .btn { width: auto; padding: 14px 18px; }
  .notify-form input[type="email"] { font-size: 0.95rem; }
}
