/* RAISE Ltd — clean, calm social-impact site */
:root {
  --ink: #14231c;
  --muted: #5b6b63;
  --line: #d9e4dd;
  --bg: #f6f9f7;
  --card: #ffffff;
  --teal: #0f6b5c;
  --teal-deep: #0a4d42;
  --mint: #e6f4ef;
  --coral: #c45c3e;
  --gold: #c9a227;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 35, 28, 0.08);
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.topbar {
  background: var(--teal-deep);
  color: #e8f5f1;
  font-size: 0.85rem;
  padding: 0.45rem 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: #fff; }

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--teal), var(--teal-deep));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.15);
}
.brand-text strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}
.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}
.nav {
  display: flex;
  gap: 0.35rem 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.35rem 0.2rem;
}
.nav a:hover, .nav a.active { color: var(--teal); }
.nav-cta {
  background: var(--teal) !important;
  color: #fff !important;
  padding: 0.5rem 0.9rem !important;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--teal-deep) !important; text-decoration: none; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
}

.hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(15,107,92,0.12), transparent 40%),
    radial-gradient(circle at 88% 10%, rgba(196,92,62,0.10), transparent 35%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  padding: 3.5rem 0 3rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: var(--mint);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  margin: 0.9rem 0 1rem;
  letter-spacing: -0.02em;
}
.hero p { color: var(--muted); font-size: 1.08rem; margin: 0 0 1.4rem; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-outline { background: #fff; color: var(--teal-deep); border-color: var(--line); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { filter: brightness(0.95); color: #fff; }

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.hero-card h3 { margin: 0 0 0.8rem; font-size: 1.05rem; }
.hero-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.hero-card li { margin: 0.35rem 0; }

section { padding: 3rem 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.section-title { margin-bottom: 1.5rem; max-width: 40rem; }
.section-title .label {
  color: var(--coral);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-title h2 {
  margin: 0.35rem 0 0.55rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}
.section-title p { margin: 0; color: var(--muted); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(20, 35, 28, 0.04);
}
.card h3 { margin: 0.4rem 0 0.5rem; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--teal-deep);
  font-weight: 800;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.stat {
  background: var(--mint);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--teal-deep);
}
.stat span { color: var(--muted); font-size: 0.92rem; }

.page-hero {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: #fff;
  padding: 2.6rem 0;
}
.page-hero h1 { margin: 0 0 0.45rem; font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.page-hero p { margin: 0; opacity: 0.92; max-width: 40rem; }

.prose h3 { color: var(--teal-deep); margin-top: 1.6rem; }
.prose p { color: var(--muted); }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}
.pill {
  background: var(--mint);
  color: var(--teal-deep);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact-table th, .fact-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.fact-table th {
  width: 34%;
  background: var(--mint);
  color: var(--teal-deep);
  font-weight: 700;
}
.fact-table tr:last-child th,
.fact-table tr:last-child td { border-bottom: 0; }

.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { display: block; margin-bottom: 0.15rem; }
.form-grid label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}
.form-note { color: var(--muted); font-size: 0.88rem; margin: 0.4rem 0 0; }
.form-msg { margin-top: 0.7rem; font-weight: 700; min-height: 1.2em; }
.form-msg.ok { color: var(--teal); }
.form-msg.err { color: var(--coral); }

.notice {
  background: #fff8e8;
  border: 1px solid #efd99a;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: #6a5410;
}

.site-footer {
  background: var(--teal-deep);
  color: #d7ebe5;
  padding: 2.5rem 0 1.4rem;
  margin-top: 1rem;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer h4 {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: 0.95rem;
}
.site-footer p, .site-footer li { color: #c5ddd5; font-size: 0.92rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.footer-bottom {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #a9c7bd;
}
.legal-line { font-size: 0.82rem; color: #a9c7bd; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@media (max-width: 860px) {
  .hero-grid, .grid-3, .grid-2, .stats, .footer-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-block; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.8rem;
  }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .nav-cta { text-align: center; }
}
