@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/montserrat-400.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/montserrat-600.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/montserrat-700.woff2") format("woff2");
}

/* Colors from live streetepistemology.com (Kajabi theme), Nov 2026:
   buttons/text #515482, header/footer #2f314b, accent/CTA #ffcc00,
   light #8da8e2, muted #b7bad7, body text #000000, fonts Montserrat. */
:root {
  --se-purple: #515482;
  --se-purple-dark: #2f314b;
  --se-purple-light: #8da8e2;
  --se-purple-muted: #b7bad7;
  --se-gold: #ffcc00;
  --se-text: #000000;
  --se-text-soft: #515482;
  --se-bg: #fafafa;
  --se-white: #ffffff;
  --se-radius: 30px;
  --font: "Montserrat", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--se-text);
  background: var(--se-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--se-purple); }
a:hover { color: var(--se-purple-dark); }

.draft-banner {
  background: var(--se-gold);
  color: #000;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
}
.draft-banner[hidden] { display: none !important; }

.site-header {
  background: var(--se-purple-dark);
  color: #fff;
  padding: 20px 24px 18px;
  text-align: center;
}
.site-header a { color: #fff; text-decoration: none; }
.logo {
  display: inline-block;
  width: 148px;
}
.logo img { display: block; width: 100%; height: auto; }
.header-tag {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--se-purple-light);
}

.wrap {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 48px;
}

h1, .h1 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.2;
  color: var(--se-purple-dark);
  font-size: 32px;
  margin: 0 0 1rem;
  text-align: center;
  text-wrap: balance;
}
@media (min-width: 768px) {
  h1, .h1 { font-size: 42px; }
}

.lead, .copy p {
  margin: 0 0 1rem;
  color: #222;
}
.copy { margin: 0 auto 1.75rem; max-width: 640px; }
.signoff {
  margin: 0.75rem 0 0;
  font-weight: 600;
  color: var(--se-purple);
  font-size: 15px;
}

.card {
  background: var(--se-white);
  border: 1px solid var(--se-purple-muted);
  border-radius: 16px;
  padding: 28px 24px 24px;
  box-shadow: 0 8px 24px rgba(47, 49, 75, 0.06);
}

.raised-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.raised-amount {
  font-size: 36px;
  font-weight: 700;
  color: var(--se-purple-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.raised-goal {
  font-size: 16px;
  font-weight: 600;
  color: var(--se-purple);
}
.pct-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--se-purple);
}

/* Horizontal thermometer, gold bulb + purple fill */
.thermo {
  position: relative;
  margin: 8px 14px 18px;
  height: 28px;
}
.thermo-track {
  position: absolute;
  left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  height: 18px;
  background: #eceef6;
  border: 3px solid var(--se-purple-dark);
  border-radius: 12px;
  overflow: hidden;
}
.thermo-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #515482 0%, #8da8e2 100%);
  transition: width 0.8s ease;
}
.thermo-bulb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--se-gold);
  border: 3px solid var(--se-purple-dark);
  box-shadow: inset 0 0 0 2px #fff;
  z-index: 2;
  transition: left 0.8s ease;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--se-purple);
  font-weight: 600;
}
.meta span { white-space: nowrap; }
.countdown { font-variant-numeric: tabular-nums; }
.last-year {
  width: 100%;
  margin: -8px 0 16px;
  font-size: 14px;
  font-weight: 400;
  color: #444;
}
.last-year[hidden], .updated[hidden] { display: none !important; }

.btn {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  display: inline-block;
  margin: 0;
  padding: 12px 40px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  border-radius: var(--se-radius);
  border: 2px solid var(--se-gold);
  background: var(--se-gold);
  color: #000;
  transition: background 0.2s ease, color 0.2s ease;
  letter-spacing: 0.25px;
}
.btn:hover, .btn:focus {
  background: transparent;
  color: #000;
  border-color: var(--se-gold);
}
.btn-row { text-align: center; }

.updated {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
  color: #666;
}
.keeps {
  margin: 22px auto 0;
  max-width: 640px;
  font-size: 15px;
  color: #222;
  text-align: center;
}
.receipt {
  margin: 10px auto 0;
  max-width: 640px;
  font-size: 14px;
  color: #444;
  text-align: center;
}

.site-footer {
  background: var(--se-purple-dark);
  color: #fff;
  padding: 28px 24px 36px;
  text-align: center;
  font-size: 13px;
}
.site-footer a { color: var(--se-gold); }
.site-footer p { margin: 0 0 8px; color: #d7d9e8; }
.site-footer .fine { color: var(--se-purple-muted); }

/* ---- Embed (transparent, compact, donate-page friendly) ---- */
html.embed, body.embed {
  background: transparent;
  color: var(--se-text);
}
body.embed { font-size: 15px; }
.embed-root {
  background: transparent;
  padding: 0;
  margin: 0;
}
.embed-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--se-purple-muted);
  border-radius: 16px;
  padding: 18px 18px 16px;
}
.embed-card .draft-banner {
  margin: -18px -18px 14px;
  border-radius: 16px 16px 0 0;
  font-size: 11px;
  padding: 6px 12px;
}
.embed-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--se-purple);
  text-align: center;
}
.embed-card .raised-amount { font-size: 28px; }
.embed-card .raised-goal { font-size: 14px; }
.embed-card .thermo-bulb { width: 22px; height: 22px; border-width: 2px; }
.embed-card .thermo-track { height: 14px; border-width: 2px; }
.embed-card .thermo { height: 22px; margin: 8px 11px 14px; }
.embed-card .meta { font-size: 13px; margin-bottom: 14px; }
.embed-card .btn { width: 100%; padding: 11px 24px; font-size: 15px; }
.embed-card .updated { margin-top: 10px; font-size: 12px; }
.embed-card .last-year { margin: 0 0 12px; font-size: 13px; text-align: center; }

@media (max-width: 479px) {
  h1, .h1 { font-size: 28px; }
  .raised-amount { font-size: 30px; }
  .wrap { width: min(760px, calc(100% - 24px)); padding: 24px 0 36px; }
  .card { padding: 22px 16px 18px; }
  .embed-card { padding: 16px 14px 14px; }
  .embed-card .draft-banner { margin: -16px -14px 12px; }
}

a.nb-inline { color: inherit; font-weight: 600; text-decoration: underline; }
