:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-dark: #0d1117;
  --text: #1a1a1a;
  --text-muted: #5a6675;
  --accent: #1f6feb;
  --accent-dark: #144aa3;
  --border: #e3e6eb;
  --max-w: 1200px;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Roboto", -apple-system, "Segoe UI", system-ui, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 { font-family: "Roboto", sans-serif; font-weight: 300; letter-spacing: -0.01em; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--text); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; gap: 2rem; align-items: center; }
.nav a { color: var(--text); font-size: 0.95rem; font-weight: 400; }
.nav a:hover { color: var(--accent); }
.nav .nav-cta { background: var(--accent); color: #fff; padding: 0.55rem 1.1rem; border-radius: var(--radius); font-weight: 500; }
.nav .nav-cta:hover { background: var(--accent-dark); color: #fff; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 4px 0; transition: 0.2s; }

@media (max-width: 860px) {
  .nav { position: fixed; top: 73px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; transform: translateY(-110%); transition: transform 0.25s; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 0.75rem 0; width: 100%; border-bottom: 1px solid var(--border); }
  .menu-toggle { display: block; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0d1117 0%, #1f2937 100%);
  color: #fff;
  padding: 6rem 0;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/2ba95a_c5d9d8d8c8b4436da2326999a346d7dd-mv2.jpeg");
  background-size: cover; background-position: center;
  opacity: 0.35;
}
.hero .container { position: relative; max-width: 900px; text-align: center; }
.hero h1 { color: #fff; font-weight: 200; margin-bottom: 1.5rem; }
.hero .subhead { font-size: clamp(1.05rem, 2vw, 1.35rem); color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-weight: 300; }
.hero .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; padding: 0.85rem 1.8rem; border-radius: var(--radius); font-weight: 500; font-size: 0.95rem; transition: 0.2s; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }

/* ---------------- Sections ---------------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.8rem; font-weight: 500; color: var(--accent); margin-bottom: 0.75rem; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* About callout */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Tools grid */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.tool-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: 0.25s; display: flex; flex-direction: column; }
.tool-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.tool-card .img-wrap { aspect-ratio: 1/1; overflow: hidden; }
.tool-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.tool-card:hover img { transform: scale(1.05); }
.tool-card .body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.tool-card h3 { margin-bottom: 0.5rem; }
.tool-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; flex: 1; }
.tool-card .read-more { color: var(--accent); font-weight: 500; font-size: 0.95rem; }

.tools-extra { text-align: center; margin-top: 2.5rem; }

/* Team grid */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.75rem; }
.team-member { text-align: center; }
.team-member .photo-wrap { aspect-ratio: 1/1; overflow: hidden; border-radius: 50%; margin-bottom: 0.85rem; box-shadow: var(--shadow); }
.team-member img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.team-member:hover img { filter: brightness(1.05); }
.team-member .name { font-weight: 500; color: var(--text); margin-bottom: 0.2rem; }
.team-member .role { color: var(--text-muted); font-size: 0.9rem; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.news-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: 0.25s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-card .img-wrap { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-alt); }
.news-card img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 1.5rem; }
.news-card .cat { display: inline-block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.65rem; }
.news-card h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 0.75rem; }
.news-card .meta { color: var(--text-muted); font-size: 0.85rem; }

/* Newsletter */
.newsletter { text-align: center; max-width: 560px; margin: 0 auto; }
.newsletter form { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.newsletter input[type=email] { flex: 1; padding: 0.85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.95rem; font-family: inherit; }
.newsletter input[type=email]:focus { outline: none; border-color: var(--accent); }
.newsletter .form-msg { margin-top: 1rem; color: #1aaa55; font-size: 0.95rem; min-height: 1.4em; }
@media (max-width: 500px) { .newsletter form { flex-direction: column; } }

/* Quote */
.quote { max-width: 800px; margin: 0 auto; text-align: center; }
.quote blockquote { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-style: italic; font-weight: 300; color: var(--text); line-height: 1.5; margin-bottom: 1rem; }
.quote cite { color: var(--text-muted); font-style: normal; font-size: 0.95rem; }

/* Page intro */
.page-intro { padding: 5rem 0 3rem; background: var(--bg-alt); text-align: center; }
.page-intro .container { max-width: 800px; }
.page-intro .eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.8rem; font-weight: 500; color: var(--accent); margin-bottom: 0.75rem; }
.page-intro p { color: var(--text-muted); font-size: 1.1rem; margin-top: 1rem; }

/* Prose */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { font-size: 1.05rem; color: var(--text); }
.prose ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose ul li { margin-bottom: 0.5rem; }
.prose img { margin: 2rem auto; border-radius: var(--radius); }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.95rem; font-family: inherit; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); }

/* Engage products */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.product-card .price { font-size: 1.5rem; font-weight: 500; color: var(--accent); margin: 0.75rem 0; }

.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.plan-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; position: relative; }
.plan-card .badge { position: absolute; top: -10px; right: 20px; background: var(--accent); color: #fff; padding: 0.25rem 0.75rem; border-radius: 99px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.plan-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.plan-card .price { font-size: 2rem; font-weight: 400; color: var(--text); margin: 1rem 0; }
.plan-card .price small { font-size: 0.95rem; color: var(--text-muted); }
.plan-card p { font-size: 0.95rem; color: var(--text-muted); }
.plan-card ul { padding-left: 1.25rem; margin: 1rem 0; }
.plan-card ul li { font-size: 0.92rem; margin-bottom: 0.4rem; color: var(--text); }
.plan-card .btn { width: 100%; }

/* Donate */
.donate-options { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin: 1.5rem 0; }
.donate-options button { padding: 0.65rem 1.4rem; border: 1px solid var(--border); background: #fff; border-radius: var(--radius); cursor: pointer; font-family: inherit; font-size: 0.95rem; transition: 0.2s; }
.donate-options button.active, .donate-options button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Footer */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.85); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.site-footer .brand img { height: 60px; margin-bottom: 1rem; }
.site-footer h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; font-weight: 500; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer ul li a { color: rgba(255,255,255,0.65); font-size: 0.95rem; }
.site-footer ul li a:hover { color: #fff; }
.socials { display: flex; gap: 0.75rem; }
.socials a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: rgba(255,255,255,0.85); transition: 0.2s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; color: rgba(255,255,255,0.55); font-size: 0.85rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
