/* The New Soccer Parent — design tokens
   Chalk: #FBFAF4 | Pitch: #17472E | Grass: #2F7A4B | Cone: #E8630A | Ink: #1C2B22 */

:root {
  --chalk: #FBFAF4;
  --pitch: #17472E;
  --grass: #2F7A4B;
  --cone: #E8630A;
  --ink: #1C2B22;
  --line: #D8D4C6;
  --max: 880px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--chalk);
}

h1, h2, h3 { font-family: "Zilla Slab", Georgia, serif; line-height: 1.2; color: var(--pitch); }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 2.2rem 0 0.8rem; }
h3 { font-size: 1.25rem; margin: 1.6rem 0 0.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--grass); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--cone); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--cone); outline-offset: 2px;
}

/* Header */
header.site {
  background: var(--pitch);
  color: var(--chalk);
  padding: 0.9rem 1.2rem;
}
header.site .bar {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.wordmark {
  font-family: "Zilla Slab", Georgia, serif; font-weight: 700; font-size: 1.3rem;
  color: var(--chalk); text-decoration: none;
}
.wordmark .accent { color: var(--cone); }
nav.main a { color: var(--chalk); margin-left: 1.1rem; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
nav.main a:hover { color: var(--cone); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 50% 130%, rgba(251,250,244,0.12) 0 90px, transparent 91px),
    linear-gradient(rgba(251,250,244,0.10) 2px, transparent 2px) 0 100% / 100% 100% no-repeat,
    linear-gradient(160deg, var(--pitch) 0%, #0F3320 100%);
  color: var(--chalk);
  padding: 4rem 1.2rem 4.5rem;
  text-align: center;
}
.hero h1 { color: var(--chalk); max-width: 720px; margin: 0 auto 1rem; }
.hero p.sub { font-size: 1.2rem; max-width: 620px; margin: 0 auto 1.8rem; color: #DDE8DF; }
.hero .kick { display: inline-block; background: var(--cone); color: #fff; font-weight: 700;
  padding: 0.8rem 1.6rem; border-radius: 6px; text-decoration: none; font-size: 1.05rem; }
.hero .kick:hover { background: #C95608; color: #fff; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cone); font-weight: 700; margin-bottom: 0.8rem;
}

/* Chalk-line divider: halfway line with center circle */
.chalkline {
  max-width: var(--max); margin: 3rem auto; height: 26px; position: relative;
}
.chalkline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line);
}
.chalkline::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 26px; height: 26px; border: 2px solid var(--line); border-radius: 50%;
  background: var(--chalk);
}

/* Layout */
main { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.2rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.card h3 { margin: 0; }
.card .tag { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cone); font-weight: 700; }
.card a.more { margin-top: auto; font-weight: 700; text-decoration: none; }

article .meta { color: #5C6B60; font-size: 0.9rem; margin-bottom: 1.6rem; }
article ul, article ol { margin: 0 0 1rem 1.4rem; }
article li { margin-bottom: 0.4rem; }
blockquote {
  border-left: 4px solid var(--cone); padding: 0.6rem 1rem; background: #fff;
  margin: 1.2rem 0; font-style: italic;
}
table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; background: #fff; }
th, td { border: 1px solid var(--line); padding: 0.6rem 0.8rem; text-align: left; }
th { background: var(--pitch); color: var(--chalk); font-family: "Zilla Slab", Georgia, serif; }

/* Calculator */
.calc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.6rem; margin: 1.6rem 0; }
.calc .row { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.calc label { font-weight: 600; }
.calc select, .calc input[type="number"] {
  font: inherit; padding: 0.45rem 0.6rem; border: 1px solid var(--line); border-radius: 6px; background: var(--chalk);
}
.calc .total {
  display: flex; justify-content: space-between; align-items: baseline; padding-top: 1.1rem; flex-wrap: wrap; gap: 0.5rem;
}
.calc .total .amount { font-family: "Zilla Slab", Georgia, serif; font-size: 2.2rem; font-weight: 700; color: var(--pitch); }
.calc .note { font-size: 0.88rem; color: #5C6B60; margin-top: 0.8rem; }
.pill { display: inline-block; background: var(--grass); color: #fff; border-radius: 999px;
  padding: 0.15rem 0.7rem; font-size: 0.8rem; font-weight: 700; }

/* Footer */
footer.site {
  background: var(--pitch); color: #C9D6CC; margin-top: 3rem; padding: 2rem 1.2rem; font-size: 0.9rem;
}
footer.site .inner { max-width: var(--max); margin: 0 auto; }
footer.site a { color: var(--chalk); }

/* Illustrations */
.hero-art { max-width: 700px; margin: 2.4rem auto -1.2rem; }
.hero-art svg { display: block; width: 100%; height: auto; }

.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .inner {
  max-width: var(--max); margin: 0 auto; padding: 1rem 1.2rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.8rem;
}
.trust .item { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.95rem; color: var(--pitch); }
.trust .item svg { flex: none; }

.card { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(23, 71, 46, 0.12); }
.card-art { margin: -1.4rem -1.4rem 0.6rem; border-radius: 9px 9px 0 0; overflow: hidden; background: linear-gradient(160deg, #EAF2EC, #DDEAE0); }
.card-art svg { display: block; width: 100%; height: auto; }

.art-banner { margin: 0.4rem 0 1.8rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, #EAF2EC, #DDEAE0); }
.art-banner svg { display: block; width: 100%; height: auto; }

/* Bottom call-to-action band */
.cta-band {
  background: linear-gradient(160deg, var(--pitch) 0%, #0F3320 100%);
  color: var(--chalk); text-align: center; padding: 2.8rem 1.2rem; margin-top: 3rem;
}
.cta-band h2 { color: var(--chalk); margin: 0 0 0.5rem; }
.cta-band p { color: #DDE8DF; max-width: 560px; margin: 0 auto 1.4rem; }
.cta-band .kick {
  display: inline-block; background: var(--cone); color: #fff; font-weight: 700;
  padding: 0.8rem 1.6rem; border-radius: 6px; text-decoration: none; font-size: 1.05rem;
}
.cta-band .kick:hover { background: #C95608; color: #fff; }
.cta-band + footer.site { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; box-shadow: none; }
}

@media (max-width: 560px) {
  nav.main a { margin-left: 0.7rem; font-size: 0.88rem; }
  .hero { padding: 3rem 1rem 3.5rem; }
  .trust .inner { gap: 0.5rem; }
}
