
:root {
  --scouts-purple: #7413dc;
  --scouts-teal: #088486;
  --scouts-orange: #ff912a;
  --scouts-red: #e22e12;
  --scouts-blue: #006ddf;
  --scouts-green: #23a950;
  --scouts-navy: #003982;
  --scouts-yellow: #ffe627;
  --scouts-forest: #205b41;
  --scouts-section-green: #004851;

  --brand: var(--scouts-purple);
  --brand-dark: #4d0a94;
  --ink: #211c28;
  --muted: #57515e;
  --surface: #ffffff;
  --surface-soft: #f7f3fc;
  --border: #e4dced;
  --radius: 1.15rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; }
a { text-underline-offset: .2em; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.025em; }

.center {
  margin: auto;
  align-items: center;
  place-items: center;
  display: grid;
}

.pb20 {
  padding-bottom: 20px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #9a4300;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  z-index: 2000;
  top: -100px;
  left: 1rem;
  padding: .75rem 1rem;
  color: #171717;
  background: #fff;
}
.skip-link:focus { top: 1rem; }

.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.navbar-brand {
  color: var(--brand-dark);
  font-weight: 800;
  line-height: 1.2;
}
.navbar-brand:hover { color: var(--brand); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-size: 1.5rem;
}
.nav-link { font-weight: 650; }
.nav-link.active { color: var(--brand) !important; }

.btn-brand {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
  border-radius: 999px;
  font-weight: 750;
}
.btn-brand:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}
.btn-accent {
  background: var(--scouts-orange);
  color: #171717;
  border: 2px solid var(--scouts-orange);
  border-radius: 999px;
  font-weight: 750;
}
.btn-accent:hover {
  background: #ffc078;
  border-color: #ffc078;
  color: #171717;
}
.btn-outline-brand {
  color: var(--brand-dark);
  border: 2px solid var(--brand);
  border-radius: 999px;
  font-weight: 700;
}
.btn-outline-brand:hover {
  color: #fff;
  background: var(--brand);
}

.hero {
  overflow: hidden;
  color: #fff;
  background: var(--brand);
}
.hero .eyebrow,
.page-banner .eyebrow { color: var(--scouts-yellow); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.hero-art {
  min-height: 330px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: #dff1fb;
  isolation: isolate;
}
.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 140%;
  height: 65%;
  bottom: -30%;
  border-radius: 50%;
  background: #8ccca7;
  transform: rotate(-9deg);
}
.hero-art::after {
  bottom: -43%;
  background: #438363;
  transform: rotate(8deg);
}
.hero-tent { font-size: clamp(6rem, 15vw, 10rem); }
.hero-art-label {
  position: absolute;
  bottom: 1rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  color: var(--brand-dark);
  background: white;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
}
.eyebrow {
  color: var(--brand);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .12em;
}
.page-banner {
  padding: clamp(3rem, 7vw, 5rem) 0;
  color: #fff;
  background: var(--brand);
}
.page-banner h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.page-banner p { max-width: 760px; }

.section-heading { max-width: 720px; }
.bg-soft { background: var(--surface-soft); }

.scout-card {
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease;
}
.scout-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px #211c2812;
}
.section-symbol {
  width: 100%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 1rem;
  font-size: 1.7rem;
}
.symbol-squirrels { background: #fde4df; }
.symbol-beavers { background: var(--scouts-blue); }
.symbol-cubs { background: var(--scouts-section-green); }
.symbol-scouts { background: var(--scouts-purple); }
.symbol-explorers { background: var(--scouts-navy); }

.age-label { color: var(--muted); font-size: .92rem; }
.text-muted-custom { color: var(--muted); }
.feature-list { list-style: none; padding: 0; }
.feature-list li { margin-bottom: .7rem; }
.feature-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-right: .6rem;
  border-radius: 50%;
  color: #fff;
  background: var(--scouts-teal);
  font-weight: 800;
}

.info-panel {
  height: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.notice-demo {
  padding: 1rem;
  background: #fff4d6;
  border-left: 4px solid #9a5b00;
  border-radius: .4rem;
}
.form-control, .form-select { min-height: 3rem; }
.form-label { font-weight: 700; }
.form-help { color: var(--muted); font-size: .9rem; }

.cta-band {
  color: #fff;
  background: var(--brand);
}
.site-footer {
  color: #fff;
  background: var(--scouts-purple);
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--scouts-yellow); }
.site-footer img.logo { width: 7em; padding: 10px;}
.footer-muted { color: #e4dce9; }
span.logo {width: 12em; filter: brightness(0.15);}

@media (max-width: 575.98px) {
  .hero-art { min-height: 260px; }
  .hero .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
