:root {
  --bg: #0f172a;
  --brand: #22c55e;
  --brand-2: #16a34a;
  --ink: #0b1220;
  --muted: #6b7280;
  --card: #ffffff;
  --pill: #e8f8ee;
  --heading-font: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
}
body {
  font-family: var(--body-font);
  background: var(--bg);
  color: #e5e7eb;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
.page-shell {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  width: min(100%, 100vw);
  margin: 0 auto;
  overflow-x: hidden;
  position: relative;
}
.page-shell > * {
  width: 100%;
}
a {
  color: #93c5fd;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 40px;
  background: radial-gradient(
    1200px 400px at 80% -10%,
    #1e293b 0%,
    #0f172a 60%
  );
  isolation: isolate;
}
.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: var(--pill);
  color: #065f46;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.4px;
}
.title,
.h2,
.h3 {
  font-family: var(--heading-font);
}

.title {
  font-weight: 800;
  font-size: 44px;
  line-height: 1.05;
  margin: 18px 0;
}
.subtitle {
  color: #cbd5e1;
  max-width: 750px;
  font-size: 18px;
  margin-bottom: 20px;
}
.section-lead {
  color: #cbd5e1;
  font-size: 17px;
  max-width: 720px;
  margin: 12px 0 28px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.media-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(8, 15, 31, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-card:hover,
.media-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(8, 15, 31, 0.45);
}

.media-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.media-card figcaption {
  padding: 16px 18px 20px;
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.5;
}

.media-trigger {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 100%;
  display: block;
  cursor: zoom-in;
}

.media-trigger:focus-visible {
  outline: 3px solid rgba(34, 197, 94, 0.7);
  outline-offset: 4px;
}
.pillgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.pill {
  background: #0b1a12;
  border: 1px solid #134e4a;
  color: #a7f3d0;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.cta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  border: none;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #052e1b;
  font-weight: 800;
  padding: 14px 20px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.25);
}
.btn:focus-visible {
  outline: 3px solid rgba(34, 197, 94, 0.7);
  outline-offset: 3px;
}
.btn.outline {
  background: transparent;
  border: 1px solid #334155;
  color: #e2e8f0;
}
.wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero > .container {
  position: relative;
  z-index: 1;
}
.section {
  background: #0b1220;
  padding: 64px 0;
}
.section:nth-child(even) {
  background: #0f172a;
}
.card {
  background: var(--card);
  color: #0f172a;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.2);
}
.grid {
  display: grid;
  gap: 24px;
}
.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pad {
  padding: 24px;
}
.h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px;
}
.h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1e293b;
}
.muted {
  color: #64748b;
  font-size: 15px;
}
.list {
  line-height: 1.8;
  color: #334155;
  margin: 16px 0;
  padding-left: 24px;
}
.list li {
  margin-bottom: 8px;
}
.tag {
  display: inline-block;
  background: #ecfeff;
  color: #0e7490;
  border: 1px solid #cffafe;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  margin: 4px 4px 4px 0;
  font-weight: 600;
}
.tag.ods {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.kpi {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.kpi h3 {
  margin: 0 0 8px;
  color: #67e8f9;
  font-size: 32px;
  font-weight: 800;
}
.kpi p {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
}
.problem-box {
  background: #fee2e2;
  border-left: 4px solid #dc2626;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}
.problem-box h4 {
  color: #991b1b;
  margin: 0 0 12px;
  font-size: 18px;
}
.problem-box p {
  color: #7f1d1d;
  margin: 0;
}
.solution-box {
  background: #d1fae5;
  border-left: 4px solid #10b981;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}
.solution-box h4 {
  color: #065f46;
  margin: 0 0 12px;
  font-size: 18px;
}
.solution-box p {
  color: #064e3b;
  margin: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.stat-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
}
.stat-card .number {
  font-size: 28px;
  font-weight: 800;
  color: #16a34a;
  margin-bottom: 4px;
}
.stat-card .label {
  color: #64748b;
  font-size: 13px;
}
.footer {
  padding: 40px 0;
  color: #94a3b8;
  text-align: center;
}
@media (max-width: 960px) {
  .pillgrid,
  .grid.cols-3,
  .kpis,
  .stats-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.title {
    font-size: 36px;
  }
  .media-card img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .pillgrid,
  .grid.cols-2,
  .grid.cols-3,
  .kpis,
  .stats-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 72px 0 32px;
  }
  .cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .cta .btn {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .cta .btn.primary {
    grid-column: 1 / -1;
  }
  .cta .btn:not(.primary) {
    padding: 12px 16px;
  }

.title {
    font-size: 30px;
  }
  .subtitle {
    font-size: 16px;
  }
  .section-lead {
    font-size: 16px;
  }
  .media-card img {
    height: 200px;
  }
}

body.lightbox-open {
  overflow: hidden;
}
.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(2, 6, 23, 0.86);
  backdrop-filter: blur(6px);
  z-index: 40;
}
.lightbox[hidden] {
  display: none;
}
.lightbox-content {
  max-width: min(920px, 92vw);
  width: 100%;
  background: #0f172a;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 24px;
  box-shadow: 0 30px 60px rgba(3, 6, 18, 0.6);
  position: relative;
  z-index: 1;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
  font-size: 28px;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(34, 197, 94, 0.25);
  color: #bbf7d0;
}
#lightbox-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
}
#lightbox-caption {
  margin-top: 18px;
  color: #cbd5e1;
  font-size: 16px;
  text-align: center;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}
