/* Free Nonprofit Websites — shared styles
   Nonprofit-friendly warm palette: deep teal + forest green + warm sand accent */

:root {
  --teal: #0f766e;          /* primary */
  --teal-dark: #115e59;
  --teal-darker: #134e4a;
  --green: #15803d;         /* secondary */
  --sand: #f7b733;          /* warm accent / CTA */
  --sand-dark: #e0a01f;
  --ink: #1f2937;           /* body text */
  --ink-soft: #4b5563;
  --cream: #fbf7ef;         /* warm page background */
  --cream-2: #f3ede1;
  --white: #ffffff;
  --line: #e7e0d2;
  --star: #fbbf24;
  --max: 1140px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(19, 78, 74, 0.10);
  --shadow-lg: 0 24px 60px rgba(19, 78, 74, 0.16);
  --font: "Segoe UI", system-ui, -apple-system, 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(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 { line-height: 1.15; color: var(--teal-darker); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.accent { color: var(--sand-dark); }
.muted { color: var(--ink-soft); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--sand);
  color: #3a2c00;
  font-weight: 800;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1.02rem;
  box-shadow: 0 8px 20px rgba(224, 160, 31, 0.35);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { background: var(--sand-dark); transform: translateY(-2px); text-decoration: none; box-shadow: 0 12px 26px rgba(224, 160, 31, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.65);
  box-shadow: none;
  padding: 13px 28px;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-teal { background: var(--teal); color: var(--white); box-shadow: 0 8px 20px rgba(15,118,110,.3); }
.btn-teal:hover { background: var(--teal-dark); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--teal-darker); font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand .leaf {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), var(--green));
  display: grid; place-items: center; color: #fff; font-size: 1.1rem;
}
.brand-mark { width: 34px; height: 34px; border-radius: 9px; display: block; flex: none; }
.footer-brand .brand-mark { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav-links a:hover { color: var(--teal); text-decoration: none; }
.nav-links a.active { color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px;
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--teal-darker); margin: 4px auto; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(21,128,61,.35), transparent 60%),
    linear-gradient(160deg, var(--teal-darker), var(--teal));
  color: #eafaf6;
  padding: 80px 0 90px;
}
.hero h1 { color: #ffffff; }
.hero p { color: #d6f3ec; font-size: 1.2rem; max-width: 560px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  padding: 8px 16px; border-radius: 999px; font-size: .9rem; margin-bottom: 22px;
  color: #fff;
}
.rating-badge .stars { color: var(--star); letter-spacing: 2px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-note { margin-top: 16px; font-size: .9rem; color: #bfe7df; }
.hero-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 26px; color: var(--ink); transform: rotate(-1deg);
}
.hero-card .bar { height: 12px; border-radius: 6px; background: var(--cream-2); margin: 10px 0; }
.hero-card .bar.w70 { width: 70%; } .hero-card .bar.w50 { width: 50%; }
.hero-card .swatch { height: 120px; border-radius: 12px; background: linear-gradient(135deg, var(--green), var(--teal)); margin-bottom: 16px; display:grid; place-items:center; color:#fff; font-weight:700; }
.hero-card .row { display: flex; gap: 10px; margin-top: 14px; }
.hero-card .chip { flex:1; height: 46px; border-radius: 10px; background: var(--cream-2); }
.hero-card .chip.solid { background: var(--sand); }

/* ---------- Offer / price card (hero) ---------- */
.offer-card {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 30px; position: relative;
}
.offer-card .ribbon {
  position: absolute; top: -14px; right: 24px; background: var(--sand); color: #3a2c00;
  font-weight: 800; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase;
  padding: 7px 15px; border-radius: 999px;
}
.offer-card .kicker { text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: .82rem; color: var(--teal); margin-bottom: 6px; }
.offer-card .price-row { display: flex; align-items: baseline; gap: 8px; }
.offer-card .price { font-size: 3rem; font-weight: 800; color: var(--teal-darker); letter-spacing: -.02em; }
.offer-card .per { font-weight: 700; color: var(--ink-soft); }
.offer-card .sub { color: var(--ink-soft); font-size: .96rem; margin: 6px 0 18px; }
.offer-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.offer-card li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .96rem; }
.offer-card li::before { content: "\2713"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: .78rem; }
.strike { text-decoration: line-through; color: var(--ink-soft); opacity: .6; font-weight: 700; }

/* ---------- Pricing panel ---------- */
.price-panel { text-align: center; max-width: 460px; margin: 0 auto; }
.price-panel .big { font-size: 3.4rem; font-weight: 800; color: var(--teal-darker); }
.price-panel .big .per { font-size: 1.1rem; color: var(--ink-soft); font-weight: 700; }

/* ---------- Logo / trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .wrap { padding-top: 28px; padding-bottom: 28px; }
.trust-label { text-align: center; font-weight: 700; color: var(--ink-soft); margin-bottom: 18px; letter-spacing:.03em; }
.logo-strip { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.logo-pill {
  background: var(--cream); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 20px; font-weight: 800; color: var(--teal-dark); font-size: .95rem; opacity: .85;
}

/* ---------- Stats ---------- */
.stats { background: var(--teal-darker); color: #eafaf6; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stat .num { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; color: #fff; }
.stat .num .pre { color: var(--sand); }
.stat .label { color: #bfe7df; font-weight: 600; }

/* ---------- Feature grid ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .15s ease;
}
.feature:hover { transform: translateY(-4px); }
.feature .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(15,118,110,.12), rgba(21,128,61,.12));
  color: var(--teal); font-size: 1.5rem; margin-bottom: 14px;
}
.feature p { margin: 0; color: var(--ink-soft); }

/* ---------- Two-column content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow);
}
.panel.green { background: linear-gradient(150deg, var(--teal), var(--green)); color: #eafaf6; border: none; }
.panel.green h2, .panel.green h3 { color: #fff; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
}
.testi .stars { color: var(--star); letter-spacing: 2px; }
.testi p { color: var(--ink); font-style: italic; margin: 0; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.who .name { font-weight: 700; color: var(--teal-darker); }
.who .org { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow); position: relative;
}
.step .n {
  width: 40px; height: 40px; border-radius: 50%; background: var(--sand); color: #3a2c00;
  font-weight: 800; display: grid; place-items: center; margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 400px at 15% 120%, rgba(21,128,61,.4), transparent 60%),
    linear-gradient(160deg, var(--teal), var(--teal-darker));
  color: #fff; text-align: center; border-radius: 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6f3ec; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- Examples cards ---------- */
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ex-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease; }
.ex-card:hover { transform: translateY(-4px); }
.ex-thumb { height: 180px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.2rem; text-align:center; padding: 16px; }
.ex-card .body { padding: 20px; }
.ex-card .body p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.ex-tag { display:inline-block; font-size:.78rem; font-weight:700; color: var(--teal); background: rgba(15,118,110,.1); padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 6px 20px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--teal-darker); padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-size: 1.4rem; color: var(--sand-dark); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--ink-soft); padding-bottom: 14px; margin: 0; }

/* ---------- Form / apply ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 36px; max-width: 760px; margin: 0 auto;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--teal-darker); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 1rem; font-family: var(--font); background: var(--cream);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--teal); border-color: transparent; }
.embed-placeholder {
  border: 2px dashed var(--teal); border-radius: var(--radius); background: rgba(15,118,110,.05);
  padding: 40px 24px; text-align: center; color: var(--teal-dark);
}

/* ---------- Eligibility / lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: "\2713"; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-darker); color: #cdeae3; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #cdeae3; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { display:flex; align-items:center; gap:10px; color:#fff; font-weight:800; font-size:1.15rem; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; color: #a9d6cd;
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--teal-darker), var(--teal));
  color: #fff; padding: 64px 0; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #d6f3ec; max-width: 640px; margin: 0 auto; font-size: 1.15rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-card { transform: none; }
  .features-grid, .testi-grid, .ex-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 22px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav .nav-cta .btn { display: none; }
  .features-grid, .testi-grid, .ex-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
