:root {
  --green: #22c55e;
  --green-dark: #16a34a;
  --red: #ef4444;
  --bg: #f7f8f9;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e5e7eb;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.86);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow);
  flex: 0 0 48px;
}

.brand-logo {
  display: block;
  background: #0b3f93;
}

.brand-text strong { display: block; font-size: 1rem; }
.brand-text small { color: var(--muted); display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  font-weight: 600;
}

.main-nav a:hover { color: var(--text); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media-placeholder {
  background:
    linear-gradient(180deg, rgba(15,23,42,0.18), rgba(15,23,42,0.5)),
    radial-gradient(circle at 20% 20%, rgba(34,197,94,0.25), transparent 30%),
    linear-gradient(135deg, #dde7df 0%, #edf2ef 45%, #e8eef4 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.82) 42%, rgba(255,255,255,0.52) 72%, rgba(255,255,255,0.18) 100%);
}

.hero-credit {
  position: absolute;
  right: 24px;
  bottom: 20px;
  font-size: 0.78rem;
  color: rgba(15,23,42,0.7);
  background: rgba(255,255,255,0.82);
  padding: 8px 12px;
  border-radius: 999px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 88px 0;
}

.eyebrow, .kicker, .project-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.04;
  margin: 14px 0 20px;
  max-width: 12ch;
}

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  box-shadow: var(--shadow);
}

.button-secondary {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(15,23,42,0.08);
  color: var(--text);
}

.hero-panel-card,
.card,
.project-highlight {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,0.06);
}

.hero-panel-card {
  padding: 28px;
}

.hero-panel-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.section {
  padding: 92px 0;
}

.section-muted {
  background: #eef5ef;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-intro.narrow { max-width: 860px; }
.section-intro h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  margin: 10px 0 14px;
}
.section-intro p { color: var(--muted); margin: 0; }

.cards.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  padding: 28px;
}

.feature-card h3 { margin-top: 0; margin-bottom: 12px; }
.feature-card p { margin: 0; color: var(--muted); }

.project-highlight {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  padding: 34px;
}

.project-content h3 {
  margin: 12px 0 14px;
  font-size: 1.85rem;
}

.project-list {
  margin: 22px 0 0;
  padding-left: 18px;
}

.apps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.app-card,
.stock-card {
  padding: 28px;
}

.app-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.app-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.app-card-primary {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbf6 100%);
}

.stock-placeholder {
  min-height: 220px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: #fff;
  font-weight: 700;
}

.stock-placeholder-volunteers {
  background: linear-gradient(135deg, rgba(15,23,42,0.86), rgba(34,197,94,0.74));
}

.stock-copy h3 { margin-bottom: 10px; }
.stock-copy p { color: var(--muted); margin: 0; }

.section-cta {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #fff;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.cta-inner p { color: rgba(255,255,255,0.82); }

.site-footer {
  background: #0b1220;
  color: rgba(255,255,255,0.88);
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  gap: 24px;
}

.footer-grid p, .footer-grid li, .footer-grid a { color: rgba(255,255,255,0.78); }
.footer-grid ul { list-style: none; padding: 0; margin: 10px 0 0; }
.footer-grid li + li { margin-top: 8px; }

.compact-header { position: static; }
.legal-page {
  padding: 64px 0 90px;
}

.legal-page h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 10px;
}

.legal-note {
  color: var(--muted);
  max-width: 70ch;
  margin-bottom: 30px;
}

.legal-block {
  background: var(--surface);
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 26px;
  margin-bottom: 18px;
}

.legal-block h2 { margin-top: 0; font-size: 1.2rem; }
.placeholder { color: #b45309; }

@media (max-width: 980px) {
  .hero-content,
  .project-highlight,
  .apps-layout,
  .cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards.three-col {
    grid-template-columns: 1fr;
  }

  .main-nav { display: none; }
  .hero { min-height: auto; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 24px, 1180px); }
  .section { padding: 72px 0; }
  .hero-content { padding: 74px 0; }
  .project-content, .feature-card, .app-card, .stock-card, .hero-panel-card, .legal-block { padding: 22px; }
  .button { width: 100%; }
}
