/* ScoutSash — shared site styles
   Palette evokes a merit-badge sash (navy + gold + tan) WITHOUT using
   official Scouting America artwork or trademarks. */

:root {
  --navy: #14315b;
  --navy-deep: #0f2747;
  --gold: #e8a823;
  --gold-soft: #f5d27a;
  --tan: #f5f1e6;
  --tan-deep: #ece4d1;
  --ink: #1c2430;
  --muted: #5b6675;
  --white: #ffffff;
  --red: #b32134;
  --radius: 14px;
  --maxw: 1080px;
  --shadow: 0 10px 30px rgba(15, 39, 71, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--tan);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px;
  display: inline-block;
}
.brand-wordmark {
  height: 34px;
  width: auto;
  display: block;
}
.hero-grid {
  display: flex;
  align-items: center;
  gap: 56px;
}
.hero-text { flex: 1 1 auto; min-width: 0; }
.hero-art { flex: 0 0 auto; }
.hero-icon {
  width: 260px; height: 260px;
  border-radius: 56px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.42);
  display: block;
}
@media (max-width: 760px) {
  .hero-grid { flex-direction: column-reverse; align-items: flex-start; gap: 28px; }
  .hero-icon { width: 132px; height: 132px; border-radius: 28px; }
}
.nav a {
  color: var(--gold-soft);
  margin-left: 22px;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--white); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 72px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* subtle diagonal sash stripe */
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 320px; height: 160%;
  background: linear-gradient(var(--gold), var(--gold-soft));
  transform: rotate(18deg);
  opacity: 0.10;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 18px;
  font-weight: 800;
}
.hero .tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: #d7e0ee;
  max-width: 620px;
  margin: 0 0 28px;
}
.badge-pill {
  display: inline-block;
  background: rgba(232, 168, 35, 0.18);
  color: var(--gold-soft);
  border: 1px solid rgba(232, 168, 35, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-soft); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: var(--white); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--navy);
  margin: 0 0 10px;
  font-weight: 800;
}
.section-sub { color: var(--muted); max-width: 640px; margin: 0 0 40px; }

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--tan-deep);
}
.feature .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--tan);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--navy);
}
.feature h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.15rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; }
.step { text-align: center; padding: 12px; }
.step .num {
  width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
}
.step h3 { color: var(--navy); margin: 0 0 6px; }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.alt-bg { background: var(--tan-deep); }

/* ---------- Disclaimer banner ---------- */
.disclaimer {
  background: var(--navy-deep);
  color: #c9d4e6;
  font-size: 0.92rem;
  padding: 22px 0;
  text-align: center;
}
.disclaimer strong { color: var(--gold-soft); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(160deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--navy-deep);
  text-align: center;
}
.cta h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 0 0 12px; }
.cta p { margin: 0 0 26px; font-size: 1.1rem; }
.cta .btn-primary { background: var(--navy); color: var(--white); }
.cta .btn-primary:hover { background: var(--navy-deep); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #aeb9cc;
  padding: 40px 0 28px;
  font-size: 0.9rem;
}
.site-footer .cols {
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between;
  margin-bottom: 24px;
}
.site-footer a { color: var(--gold-soft); }
.site-footer a:hover { color: var(--white); }
.site-footer h4 { color: var(--white); margin: 0 0 10px; font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  color: #8694ab;
  font-size: 0.82rem;
}

/* ---------- Legal / doc pages ---------- */
.doc { background: var(--white); }
.doc .container { max-width: 800px; padding-top: 48px; padding-bottom: 64px; }
.doc h1 { color: var(--navy); font-size: 2rem; margin-bottom: 4px; }
.doc .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }
.doc h2 { color: var(--navy); margin-top: 36px; font-size: 1.3rem; }
.doc h3 { color: var(--ink); margin-top: 24px; font-size: 1.05rem; }
.doc p, .doc li { color: #2b3645; }
.doc .callout {
  background: var(--tan);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 24px 0;
}

@media (max-width: 600px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 52px 0 60px; }
  section { padding: 48px 0; }
}
