/* Homeschool Athletics Company: site design system */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #12161f;
  --navy: #101a33;
  --navy-soft: #1b2a4e;
  --paper: #f7f2e7;
  --paper-2: #efe7d5;
  --gold: #e0a52a;
  --gold-deep: #b9821a;
  --line: rgba(18, 22, 31, 0.12);
  --muted: rgba(18, 22, 31, 0.62);
  --muted-on-dark: rgba(255, 255, 255, 0.72);
  --maxw: 1180px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.dark { background: var(--navy); color: #fff; }
.dark .lead, .dark .muted { color: var(--muted-on-dark); }
.dark .rule { background: rgba(255,255,255,0.18); }
.paper-2 { background: var(--paper-2); }
.muted { color: var(--muted); }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.04; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.dark .kicker { color: var(--gold); }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; display: inline-block; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem; line-height: 1;
  padding: 14px 22px; border-radius: 8px; text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-deep); transform: translateY(-1px); box-shadow: 0 12px 24px -16px rgba(185,130,26,.85); }
.btn--ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn--ghost:hover { background: rgba(18,22,31,.05); }
.dark .btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.dark .btn--ghost:hover { background: rgba(255,255,255,.08); }
.cta-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-weight: 600; font-size: 0.98rem; color: var(--gold-deep); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; transition: gap .15s ease, opacity .15s ease; }
.cta-link:hover { gap: 10px; opacity: .78; }
.cta-link::after { content: "\2192"; font-weight: 700; }
.quiet-link { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); transition: color .15s ease, border-color .15s ease; }
.quiet-link:hover { color: var(--ink); border-bottom-color: var(--gold); }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand .emblem { width: 38px; height: 38px; flex: none; }
.brand .emblem svg { display: block; width: 100%; height: 100%; }
.brand .brand-name { display: block; }
.brand .brand-name b { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.14rem; line-height: 0.96; letter-spacing: -0.025em; color: var(--ink); }
.brand .brand-name span { display: block; font-family: var(--sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--muted); position: relative; padding: 4px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); }
.nav-links .btn { padding: 9px 18px; font-size: 0.9rem; }
.nav-links .btn--gold { border-radius: 8px; box-shadow: none; }
.nav-links .btn--gold:hover { box-shadow: 0 8px 20px -10px rgba(185,130,26,.75); }
@media (max-width: 860px) {
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
  .brand .brand-name span { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 60% at 12% 8%, rgba(224,165,42,.20), transparent 60%),
    radial-gradient(50% 50% at 92% 0%, rgba(16,26,51,.10), transparent 55%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 16ch; }
.eyebrow-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  background: rgba(255,255,255,.55); border: 1px solid var(--line); padding: 7px 13px; border-radius: 6px; }

/* Grids + cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.card--feature { box-shadow: 0 24px 60px -34px rgba(16,26,51,.35); }
.dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.card .num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-deep); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.dark .card p { color: var(--muted-on-dark); }

.pill { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 11px; border-radius: 5px; background: var(--gold); color: var(--ink); }
.pill--soft { background: rgba(18,22,31,.06); color: var(--muted); }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }

/* Feature split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Stat / list */
.tick { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tick li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.tick li::before { content: "→"; color: var(--gold-deep); font-weight: 700; }
.dark .tick li::before { color: var(--gold); }
.dark .tick li { color: var(--muted-on-dark); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: 28px; padding: 56px; text-align: center; }
.cta-band h2 { max-width: 20ch; margin: 0 auto 10px; }
@media (max-width: 620px){ .cta-band { padding: 36px 24px; } }

/* Forms */
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(224,165,42,.25); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
@media (max-width: 620px){ .form-grid { grid-template-columns: 1fr; } }
.col-2 { grid-column: 1 / -1; }
.field-label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.field-label em { font-weight: 400; font-style: normal; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 9px; font-size: .9rem; font-weight: 500; background: #fff; color: var(--ink); cursor: pointer; transition: background .12s ease, color .12s ease, border-color .12s ease; user-select: none; }
.chip input:hover + span { border-color: var(--gold); }
.chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 6px 0 18px; }
.consent input { margin-top: 4px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--muted-on-dark); padding: 70px 0 40px; }
.footer-word { font-family: var(--serif); font-weight: 700; color: #fff; font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: -0.02em; line-height: 1; margin-bottom: 34px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
@media (max-width: 720px){ .footer-cols { grid-template-columns: 1fr; gap: 22px; } }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-cols h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: rgba(255,255,255,.45); }

.mt-6 { margin-top: 24px; } .mt-10 { margin-top: 40px; }
.stack-gap > * + * { margin-top: 16px; }
