/* E10 Events — public privacy pages, shared theme.
   Palette sampled from the app badge (Section E10 / Order of the Arrow)
   to match the feel of e10.oa-scouting.org: cream/parchment ground,
   deep navy, light-blue + BSA-red accents. Mobile-first; no external
   fonts/assets (CSP is self-only). */

:root {
  --cream:      #e1d4b0;  /* badge ground — page background */
  --cream-deep: #d6c69c;  /* subtle borders on cream */
  --card:       #fbf7ec;  /* warm white — content surface */
  --navy:       #0e253e;  /* badge ring — headings, primary button */
  --navy-soft:  #16385c;  /* navy hover */
  --blue:       #86cfed;  /* crab blue — focus, soft accents */
  --red:        #de3926;  /* BSA red — top accent stripe */
  --ink:        #233241;  /* body text */
  --muted:      #5f6b77;  /* secondary text */
  --line:       #d8d2c0;  /* hairlines on the card */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 1.5rem 1rem 3rem;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

/* ---- page masthead (logo blends into the cream ground) ---- */
.masthead {
  max-width: 42rem;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.masthead img {
  width: 96px;
  height: 96px;
  display: block;
  margin: 0 auto 0.5rem;
}

.masthead .wordmark {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.masthead .tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* ---- content card with a red accent stripe ---- */
.card {
  max-width: 42rem;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 12px;
  padding: 1.5rem 1.4rem 2rem;
}

h1 {
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 1.6rem 0 0.5rem;
}

p { margin: 0 0 1rem; }

a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { color: var(--red); }

/* ---- forms ---- */
label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin: 1rem 0 0.25rem;
}

.required {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}

input, textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid var(--cream-deep);
  border-radius: 8px;
}

input:focus, textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--navy);
}

.turnstile { margin: 1.25rem 0 0; min-height: 65px; }

button {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.75rem;
  font: inherit;
  font-weight: 600;
  color: var(--cream);
  background: var(--navy);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
button:hover:not(:disabled) { background: var(--navy-soft); }
button:disabled { opacity: 0.6; cursor: default; }

.error {
  color: var(--red);
  font-weight: 600;
  margin: 1rem 0 0;
}

/* ---- lists / landing links ---- */
.link-list { padding-left: 0; list-style: none; }
.link-list li { margin: 0 0 0.75rem; }
.link-list a {
  display: block;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
}
.link-list a:hover {
  border-color: var(--blue);
  color: var(--navy);
}
.link-list a .sub {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.meta { color: var(--muted); font-size: 0.85rem; }

/* ---- footer attribution ---- */
.site-footer {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--navy); }
