:root{
  /* Backgrounds */
  --bg:  #F3EEE8;   /* main tan */
  --bg2: #ECE4DB;   /* slightly darker tan for depth */

  /* Cards */
  --card:  #FBF8F4;
  --card2: #F5EFE8;

  /* Text */
  --text:  #2F2A27;
  --muted: #6E6560;

  /* Accent */
  --accent: #2E8CA6;

  /* Borders */
  --border: rgba(47,42,39,0.10);
}

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

body{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(
    180deg,
    var(--bg2),
    var(--bg)
  );
}

/* Links (kill the default virus-blue look) */
a{
  color: var(--accent);
  text-decoration: none;
}
a:hover{ text-decoration: underline; }

/* Code chips */
code{
  background: rgba(207,111,130,0.10);
  border: 1px solid rgba(207,111,130,0.18);
  padding: 1px 6px;
  border-radius: 10px;
}

/* Page container */
.container{
  margin: 0 auto;
  padding: 24px 0; /* vertical only */
}

.brand{
  display: flex;
  align-items: center;
  margin-left: 12px; 
}


.brand img{
  height: clamp(44px, 5vw, 64px);
  width: auto;
}

/* Top nav used by your other pages */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(58,31,39,0.10);
}

.brand{
  font-weight: 750;
  color: var(--text);
  letter-spacing: 0.2px;
}

.links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.links a{
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
}
.links a:hover{
  background: rgba(207,111,130,0.10);
  text-decoration: none;
}

/* Cards */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow2);
}

.card.subtle{
  background: linear-gradient(180deg, var(--card), var(--card2));
}

.divider{
  height: 1px;
  background: rgba(58,31,39,0.10);
  margin: 14px 0;
}

/* Typography */
h1{
  font-size: 40px;
  line-height: 1.08;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
h2{ margin: 0 0 10px; font-size: 20px; }
h3, .h3{ margin: 0 0 8px; font-size: 16px; }

p{
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 12px;
}
ul, ol{
  color: var(--muted);
  line-height: 1.65;
}
.small{ font-size: 14px; color: var(--muted); }
.muted{ color: var(--muted); }

/* Buttons (your pages rely on these) */
.actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid rgba(58,31,39,0.12);
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(58,31,39,0.06);
}
.btn:hover{
  transform: translateY(-1px);
  text-decoration: none;
  background: rgba(207,111,130,0.06);
}

.btn.primary{
  background: linear-gradient(135deg, var(--accent), #e18ea0);
  border-color: transparent;
  color: #ffffff;
}
.btn.primary:hover{
  background: linear-gradient(135deg, #c46175, #d77d90);
}

/* Layout helpers your pages use */
.hero{
  padding: 22px 0 12px;
  width: 100%;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.grid.two{ grid-template-columns: repeat(2, 1fr); }

@media (max-width: 860px){
  .grid{ grid-template-columns: 1fr; }
  .grid.two{ grid-template-columns: 1fr; }
}

.stack{
  display:flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

/* Forms */
label{
  display:block;
  font-weight: 700;
  margin: 10px 0 6px;
  color: var(--text);
}

input, textarea{
  width: 100%;
  padding: 11px 12px;
  border-radius: 20px;
  border: 1px solid rgba(58,31,39,0.16);
  background: #ffffff;
  color: var(--text);
  outline: none;
}

input:focus, textarea:focus{
  border-color: rgba(207,111,130,0.55);
  box-shadow: 0 0 0 4px rgba(207,111,130,0.14);
}

textarea{
  min-height: 110px;
  resize: vertical;
}

/* Notices */
.notice{
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 20px;
  border: 1px solid rgba(58,31,39,0.12);
  background: rgba(207,111,130,0.08);
  color: var(--muted);
}

.notice.ok{
  border-color: rgba(70,150,110,0.28);
  background: rgba(70,150,110,0.10);
  color: #1f5a35;
}

.notice.err{
  border-color: rgba(200,70,80,0.28);
  background: rgba(200,70,80,0.08);
  color: #7a2d36;
}

/* Footer */
.footer{
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid rgba(58,31,39,0.10);
  color: var(--muted);
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Homepage-only centered layout (your simple homepage uses this) ---- */
.center-wrap{
  min-height: 100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 24px;
}

.org-name{
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 10px;
}

.tagline{
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 22px;
}

.home-links{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content:center;
  margin: 0 0 34px;
}

.home-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(58,31,39,0.12);
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(58,31,39,0.06);
}
.home-links a:hover{
  background: rgba(207,111,130,0.08);
  text-decoration: none;
}

.home-footer{
  font-size: 14px;
  color: var(--muted);
}
/* --- FAQ modern nonprofit accordion --- */
.page-title{
  font-family: inherit;
  letter-spacing: -0.4px;
}

.lede{
  font-size: 16px;
  max-width: 72ch;
}

.faq-layout{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

@media (max-width: 860px){
  .faq-layout{ grid-template-columns: 1fr; gap: 22px; }
}

main > section{
  width: 100%;
}


.faq-heading{
  font-family: inherit;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin: 10px 0 14px;
}

@media (max-width: 860px){
  .faq-heading{ font-size: 34px; }
}

.faq-item{
  border-bottom: 1px solid rgba(47,23,32,0.10);
  padding: 14px 0;
}

.faq-item:first-of-type{
  border-top: 1px solid rgba(47,23,32,0.10);
}

.faq-item summary{
  list-style: none;
  cursor: pointer;

  display:flex;
  align-items:flex-start;
  gap: 12px;

  font-size: 20px;
  font-weight: 650;
  color: var(--accent);
}

.faq-item summary::-webkit-details-marker{
  display:none;
}

.faq-item summary::before{
  content: "▶";
  font-size: 14px;
  margin-top: 5px;
  opacity: 0.9;
}

.faq-item[open] summary::before{
  content: "▼";
}

.faq-answer{
  margin-left: 26px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 62ch;
}


.footer-copy{
  margin-left: 18px;
}

/* Home page logo */
.home-logo{
  max-width: 500px;   /* controls size */
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}



/* Start-a-chapter layout: force proper centering + width */
.hero{
  width: 100%;
}

.content-wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-wrap.wide{
  max-width: 1120px;
}

.hero-grid{
  width: 100%;                 /* IMPORTANT: fill the wrapper */
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
  justify-content: stretch;    /* prevent “floating” columns */
}

@media (max-width: 900px){
  .hero-grid{
    grid-template-columns: 1fr;
  }
}
