/* ===== Fonts ===== */
@font-face {
  font-family: 'e-Ukraine';
  src: url('fonts/e-Ukraine/e-Ukraine-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'e-Ukraine';
  src: url('fonts/e-Ukraine/e-Ukraine-UltraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'e-Ukraine';
  src: url('fonts/e-Ukraine/e-Ukraine-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'e-Ukraine';
  src: url('fonts/e-Ukraine/e-Ukraine-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'e-Ukraine';
  src: url('fonts/e-Ukraine/e-Ukraine-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'e-Ukraine';
  src: url('fonts/e-Ukraine/e-Ukraine-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'e-UkraineHead';
  src: url('fonts/e-UkraineHead-Regular/e-ukrainehead-regular_w.woff2') format('woff2'),
       url('fonts/e-UkraineHead-Regular/e-ukrainehead-regular_w.woff') format('woff'),
       url('fonts/e-UkraineHead-Regular/e-ukrainehead-regular_w.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== Design tokens ===== */
:root {
  --bg-main: #020c15;
  --bg-card: #0a1722;
  --bg-card-2: #0e1c2a;
  --primary: #2950ed;
  --primary-hover: #1f3fc4;
  --blue-secondary: #3082f5;
  --yellow: #d6ac03;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.08);

  --grad-card: linear-gradient(135deg, #102338 0%, #08131f 100%);
  --grad-card-soft: linear-gradient(160deg, rgba(48, 130, 245, 0.08) 0%, rgba(8, 19, 31, 0.6) 60%);
  --grad-team-card: linear-gradient(160deg, rgba(48, 130, 245, 0.12) 0%, rgba(13, 27, 42, 1) 80%);
  --grad-section: linear-gradient(180deg, rgba(48, 130, 245, 0.06) 0%, rgba(2, 12, 21, 0) 100%);
  --grad-team-section: radial-gradient(80% 60% at 50% 30%, rgba(41, 80, 237, 0.18) 0%, rgba(2, 12, 21, 0) 70%);
  --grad-charity-section: radial-gradient(80% 60% at 50% 40%, rgba(48, 130, 245, 0.10) 0%, rgba(2, 12, 21, 0) 70%);
  --grad-table: linear-gradient(180deg, #0c1a2a 0%, #060f1a 100%);

  --radius-btn: 12px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --container: 1520px;
  --gap: 24px;

  --font-head: 'e-UkraineHead', 'e-Ukraine', system-ui, sans-serif;
  --font-body: 'e-Ukraine', system-ui, -apple-system, sans-serif;
  --font-logo: 'Montserrat', system-ui, sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-main);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: opacity 0.2s, color 0.2s; }
a:hover { opacity: 0.85; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  overflow-wrap: break-word;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; padding: 12px 18px;
  background: var(--primary); color: #fff; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn:hover { opacity: 1; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-secondary:hover { background: rgba(255,255,255,0.07); }
.btn-block { display: flex; width: 100%; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ===== Typography utilities ===== */
.section-title { margin-bottom: 40px; min-width: 0; }
.section-title.center { text-align: center; }
.section-title h2 {
  font-size: 36px; line-height: 1.15; margin: 0 0 12px;
}
.section-title p {
  font-size: 16px; color: var(--text-muted); margin: 0; max-width: 800px;
}
.section-title.center p { margin-left: auto; margin-right: auto; }
.section-title .accent { color: var(--blue-secondary); font-weight: 400; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 400;
  color: var(--blue-secondary);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0;
  background: transparent;
  transition: background 0.25s, border-color 0.25s, padding 0.25s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(2, 12, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  padding: 14px 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo img {
  height: 50px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.logo-text,
.brand-name {
  font-family: var(--font-logo);
}
.logo-text {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  letter-spacing: 0.04em;
}
.logo-text-lg {
  color: var(--primary);
  font-size: 48px;
  letter-spacing: 0.06em;
}
.footer-logo .logo-text { font-size: 36px; }

.main-nav ul {
  display: flex; gap: 36px;
  font-size: 14px; font-weight: 400;
  color: var(--text-muted);
}
.main-nav a:hover { color: var(--text); }
.site-header.is-scrolled .main-nav ul { color: var(--text-muted); }

.header-aside {
  display: flex; align-items: center; gap: 20px;
  line-height: 1;
}
.header-aside > * { display: inline-flex; align-items: center; }
.socials {
  display: flex; gap: 14px; align-items: center;
  line-height: 0;
}
.socials a {
  display: inline-flex; width: 24px; height: 24px;
  color: var(--text);
  opacity: 0.85;
}
.socials img { width: 100%; height: 100%; }
.socials a:hover { opacity: 1; }

.burger {
  display: none;
  background: transparent; border: 0; padding: 8px;
  flex-direction: column; gap: 4px;
}
.burger span {
  display: block; width: 24px; height: 2px; background: #fff;
  transition: transform 0.2s, opacity 0.2s;
}
.mobile-menu {
  padding: 12px 0 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-main);
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; padding: 0 40px; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 16px; color: var(--text-muted); }
.mobile-menu a:hover { color: var(--text); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 0 0 60px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  min-height: 720px;
  isolation: isolate;
  background: #0a1722;
  padding: 140px 0 80px;
}
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  min-width: 0;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(2,12,21,0.85) 0%, rgba(2,12,21,0.4) 45%, rgba(2,12,21,0) 70%);
}
.hero-copy { position: relative; min-width: 0; }
.hero-copy h1 {
  font-size: 52px; line-height: 1.05; margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.hero-copy > p {
  font-size: 16px; color: rgba(255,255,255,0.85); max-width: 480px; margin: 0;
  font-weight: 300;
}
.hero-mockup {
  position: relative;
  display: flex; justify-content: center; align-items: flex-end;
  height: 100%;
}
.hero-mockup img {
  max-height: 700px; width: auto; object-fit: contain;
}

/* ===== Pain points ===== */
.pain-points { padding: 60px 0 90px; }
.card-grid { display: grid; gap: 20px; }
.pain-grid { grid-template-columns: repeat(3, 1fr); }
.pain-card {
  background: var(--grad-card-soft);
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.pain-card h3 { font-size: 20px; font-family: var(--font-body); font-weight: 500; margin: 0; }
.pain-card p { color: var(--text-muted); margin: 0; font-size: 16px; line-height: 1.55; font-weight: 300; }
.pain-emoji { font-size: 48px; line-height: 1; }

/* ===== Vision ===== */
.vision {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}
.vision-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 60px;
  min-height: 460px;
  isolation: isolate;
}
.vision-bg {
  position: absolute; inset: 0; z-index: -1;
}
.vision-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.vision-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(2,12,21,0.85) 0%, rgba(2,12,21,0.5) 40%, rgba(2,12,21,0) 60%);
}
.vision-copy { position: relative; z-index: 1; min-width: 0; }
.vision-copy h2 { font-size: 36px; line-height: 1.15; margin: 0 0 24px; }
.vision-copy > p { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin: 0 0 28px; font-weight: 300; }
.vision-mobile-img { display: none; }

/* ===== Features ===== */
.features { padding: 90px 0; }
.features-carousel { position: relative; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  border-radius: var(--radius-md);
  padding: 40px;
  min-height: 520px;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.feature-copy { position: relative; z-index: 1; max-width: 60%; }
.feature-blue { background: linear-gradient(135deg, #1d4ed8 0%, #1e60ff 100%); }
.feature-green { background: linear-gradient(135deg, #0c9a55 0%, #14b86b 100%); }
.feature-pink { background: linear-gradient(135deg, #c4366d 0%, #e0457d 100%); }
.feature-emoji { font-size: 56px; line-height: 1; display: block; margin-bottom: 28px; }
.feature-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 500;
  font-size: 22px; margin: 0 0 14px; color: #fff;
  flex-wrap: wrap;
}
.feature-title .crown {
  display: inline-flex; width: 20px; height: 20px;
  flex-shrink: 0;
}
.feature-title .crown img { width: 100%; height: 100%; }
.feature-title .label { display: inline-block; }
.feature-card p { color: rgba(255,255,255,0.9); font-size: 14px; line-height: 1.55; margin: 0; font-weight: 300; }
.feature-phone {
  position: absolute;
  right: 13px;
  bottom: -4px;
  width: 70%;
  max-width: 360px;
  pointer-events: none;
}
.feature-phone img {
  width: 500px;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5));
}

/* ===== Advantage table ===== */
.advantage { padding: 90px 0; }
.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: var(--grad-table);
  border: 1px solid var(--border);
}
.advantage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 900px;
}
.advantage-table th,
.advantage-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: middle;
}
.advantage-table thead th {
  font-family: var(--font-body); font-weight: 500;
  color: var(--text);
  font-size: 14px;
}
.advantage-table tbody th {
  font-family: var(--font-body); font-weight: 400;
  color: var(--text);
  white-space: nowrap;
}
.advantage-table tbody td { color: var(--text-muted); }
.advantage-table tbody tr:last-child td,
.advantage-table tbody tr:last-child th { border-bottom: 0; }
.row-bunch th, .row-bunch td {
  background: var(--primary);
  color: #fff;
  font-weight: 500;
  border-bottom-color: transparent;
}

.advantage-cta {
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  padding: 60px 0 0;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.advantage-cta-logo { flex: 0 0 auto; }
.advantage-cta-logo img { width: 160px; height: auto; }
.advantage-cta-body { flex: 0 0 auto; min-width: 0; }
.advantage-cta-body p { color: var(--text-muted); margin: 0; font-size: 16px; line-height: 1.6; font-weight: 300; }
.advantage-cta-body .btn-row { justify-content: center; }

/* ===== Roadmap ===== */
.roadmap { padding: 90px 0; }
.roadmap-scroll {
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-color: rgba(48, 130, 245, 0.75) rgba(255, 255, 255, 0.06);
}
.roadmap-scroll::-webkit-scrollbar {
  height: 8px;
}
.roadmap-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}
.roadmap-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(41, 80, 237, 0.85) 0%, rgba(48, 130, 245, 0.95) 100%);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.roadmap-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #2950ed 0%, #5a86ff 100%);
}
.roadmap-wrapper {
  display: grid;
  grid-template-columns: 220px repeat(6, 1fr);
  row-gap: 4px;
  min-width: 1200px;
  --label-col: 220px;
}
.roadmap-head { display: contents; }
.roadmap-head > div {
  font-family: var(--font-body); font-weight: 500;
  font-size: 14px;
  padding: 12px 20px;
  color: var(--text);
  margin-bottom: 8px;
}
.roadmap-row {
  position: relative;
  grid-column: 1 / -1;
  height: 44px;
}
.roadmap-bar {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 16px;
  font-size: 18px;
  color: #fff;
  width: calc(var(--label-col) + (100% - var(--label-col)) * var(--span, 1) / 6);
}
.bar-blue { background: linear-gradient(90deg, #1a2a4d 0%, #2950ed 40%, #3a6bff 75%, #5a86ff 100%); }
.bar-purple { background: linear-gradient(90deg, #2a1244 0%, #4a1d8a 35%, #7028c9 70%, #a043f5 100%); }
.bar-green { background: linear-gradient(90deg, #0a3320 0%, #0a5530 40%, #11804a 75%, #18b86b 100%); }
.roadmap-label {
  position: absolute;
  top: 0; left: 0;
  width: var(--label-col);
  height: 100%;
  display: flex; align-items: center;
  padding: 0 20px;
  font-size: 14px; font-weight: 300;
  color: var(--text);
  background: linear-gradient(90deg,
    var(--bg-main) 11%,
    var(--bg-main) 41%,
    rgba(2,12,21,0.92) 51%,
    rgba(2,12,21,0) 100%);
  z-index: 2;
}

/* ===== Team ===== */
.team {
  padding: 90px 0;
  background: var(--grad-team-section);
}
.team .section-title h2 { font-size: 42px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--grad-team-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.team-photo {
  width: 100%; aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #2a3b50, #0e1c2a);
  border: 1px solid var(--border);
  object-fit: cover;
}
.team-meta { display: flex; flex-direction: column; gap: 6px; }
.team-meta h3 {
  font-size: 18px; font-family: var(--font-body); font-weight: 500;
  margin: 0;
}
.team-role { color: var(--text-muted); font-size: 14px; margin: 0 0 6px; font-weight: 300; }
.team-linkedin {
  display: inline-flex; width: 24px; height: 24px;
  color: var(--blue-secondary);
}
.team-meta blockquote {
  margin: 12px 0 0; padding: 0;
  font-size: 14px; line-height: 1.55; color: var(--text-muted);
  font-style: normal; font-weight: 300;
}

/* ===== Partners ===== */
.partners { padding: 90px 0; }
.partners .section-title h2 { font-size: 42px; }
.partners-carousel { position: relative; }
.partner-grid {
  display: flex;
  align-items: center; justify-content: center;
  gap: 30px;
  margin-bottom: 16px;
  min-height: 180px;
}
.partner-logo {
  flex: 0 0 auto;
  width: 130px; height: 130px;
  border-radius: 50%;
  border: 2px solid var(--blue-secondary);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: transparent;
  transition: transform 0.4s ease;
  transform-origin: center;
}
.partner-logo img,
.partner-logo svg {
  width: 100%; height: 100%; object-fit: contain;
}
.partner-logo.is-active {
  transform: scale(1.3);
}
.partners-desc {
  max-width: 760px; margin: 0 auto; text-align: center;
}
.partners-desc p { color: var(--text-muted); margin: 0 0 24px; font-weight: 300; }
.partners-desc .btn-row { justify-content: center; }

/* ===== Charity ===== */
.charity {
  padding: 90px 0;
  background: var(--grad-charity-section);
}
.charity-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}
.charity-inner > * { min-width: 0; }
.charity-copy .eyebrow { font-size: 16px; }
.charity-copy h2 { font-size: 36px; line-height: 1.15; margin: 0 0 20px; }
.charity-copy > p { color: var(--text-muted); margin: 0; font-weight: 300; }
.charity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.charity-card {
  background: var(--grad-team-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  text-align: center;
}
.charity-img {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto;
  background: linear-gradient(135deg, #1a2a3a, #2a3b50);
  border: 1px solid var(--border);
  object-fit: cover;
}
.charity-img-circle {
  background: var(--blue-secondary);
  position: relative;
}
.charity-img-circle::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 60%; height: 60%;
  border-radius: 50%; background: #fff;
  transform: translate(-50%, -50%);
}
.charity-tag {
  color: var(--blue-secondary);
  font-size: 13px; font-weight: 400;
  margin: 4px 0 0;
}
.charity-card h3 {
  font-size: 18px;
  font-family: var(--font-body); font-weight: 500;
  margin: 0; line-height: 1.3;
}
.charity-desc {
  color: var(--text-muted); font-size: 14px;
  margin: 0; flex: 1; font-weight: 300;
}
.btn-charity-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(48, 130, 245, 0.45);
  min-height: 44px;
  font-weight: 400;
}
.btn-charity-secondary:hover {
  background: rgba(48, 130, 245, 0.1);
  border-color: rgba(48, 130, 245, 0.65);
}
.charity-reports-link {
  display: inline-block;
  margin-top: -4px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 300;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.charity-reports-link:hover { color: var(--text-muted); }

/* ===== CTA ===== */
.cta { padding: 60px 0 90px; }
.cta-inner {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: #fff;
}
.cta-inner h2 { font-size: 36px; margin: 0 0 16px; }
.cta-inner > p { font-size: 16px; max-width: 540px; margin: 0 auto 32px; color: rgba(255,255,255,0.92); font-weight: 300; }
.qr {
  width: 180px; height: 180px;
  margin: 16px auto 25px;
  background: #fff; padding: 14px; border-radius: 12px;
}
.qr a { display: block; width: 100%; height: 100%; transition: opacity 0.2s; }
.qr a:hover { opacity: 0.85; }
.qr img { width: 100%; height: 100%; display: block; }
.cta-caption { margin: 32px 0 0; font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 300; }

/* ===== Footer ===== */
.site-footer { padding: 80px 0 40px; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  text-align: center;
}
.footer-logo img { height: 60px; width: auto; }

.footer-socials a { width: 28px; height: 28px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: center;
  padding-top: 20px;
}
.copy { margin: 0; font-size: 14px; color: var(--text-muted); font-weight: 300; }

/* ===== Carousel (shared) ===== */
.carousel { position: relative; min-width: 0; }
.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 24px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * {
  scroll-snap-align: start;
  flex: 0 0 100%;
}
.carousel-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
  padding-bottom: 16px;
}
.carousel-dot {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 0; padding: 0;
  opacity: 0.45;
  transition: opacity 0.2s, transform 0.2s;
  position: relative;
}
.carousel-dot.is-active {
  opacity: 1;
  transform: scale(1.15);
}
.carousel-dot.is-active::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #020c15;
  transform: translate(-50%, -50%);
}

/* Multi-item carousels: show several at once on desktop */
.features-carousel .carousel-track > *,
.team-carousel .carousel-track > *,
.charity-carousel .carousel-track > * {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  max-width: calc((100% - 48px) / 3);
}
.team-card, .charity-card, .feature-card { min-width: 0; }
.team-card > *, .charity-card > * { min-width: 0; }

/* Reset max-width caps below desktop so mobile overrides take effect */
@media (max-width: 1100px) {
  .features-carousel .carousel-track > *,
  .team-carousel .carousel-track > *,
  .charity-carousel .carousel-track > * {
    max-width: none;
  }
}

/* ===== Mobile / Responsive ===== */
@media (max-width: 1100px) {
  .features-carousel .carousel-track > * { flex: 0 0 calc((100% - 24px) / 2); }
  .team-carousel .carousel-track > * { flex: 0 0 calc((100% - 24px) / 2); }
  .charity-carousel .carousel-track > * { flex: 0 0 calc((100% - 20px) / 2); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .main-nav, .header-aside .socials { display: none; }
  .burger { display: inline-flex; }

  /* Hero */
  .hero { padding: 0 0 40px; }
  .hero-inner {
    padding: 100px 0 0;
    min-height: auto;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-copy { padding-bottom: 30px; }
  .hero-copy h1 { font-size: 32px; line-height: 1.15; }
  .hero-mockup { width: 100%; height: auto; align-items: center; }
  .hero-mockup img { max-height: 400px; }

  /* Section titles */
  .section-title h2,
  .team .section-title h2,
  .partners .section-title h2,
  .vision-copy h2,
  .charity-copy h2,
  .cta-inner h2 { font-size: 28px; }

  .pain-points, .features, .advantage, .roadmap, .team, .partners, .charity, .cta {
    padding: 50px 0;
  }
  .vision { padding: 50px 0; }

  /* Pain — reverse order on mobile per design */
  .pain-grid {
    display: flex;
    flex-direction: column-reverse;
    grid-template-columns: none;
    gap: 16px;
  }
  .pain-card { padding: 20px; }

  /* Vision: stack with image below copy */
  .vision-inner {
    grid-template-columns: 1fr;
    padding: 30px 20px 0;
    gap: 0;
    min-height: auto;
    background: var(--bg-card);
  }
  .vision-bg { display: none; }
  .vision-copy { padding-bottom: 30px; }
  .vision-mobile-img { display: none; }

  /* Carousels bleed to viewport edges on mobile so cards can be swiped */
  .features-carousel,
  .team-carousel,
  .charity-carousel { margin: 0 -20px; }
  .features-carousel .carousel-track,
  .team-carousel .carousel-track,
  .charity-carousel .carousel-track {
    padding: 0 20px;
    scroll-padding-left: 20px;
  }
  .features-carousel .carousel-track > * { flex: 0 0 calc(100vw - 80px); }
  .team-carousel .carousel-track > * { flex: 0 0 calc(100vw - 80px); }
  .charity-carousel .carousel-track > * { flex: 0 0 calc(100vw - 80px); }

  .feature-card {
    padding: 24px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .feature-copy { display: contents; max-width: 100%; }
  .feature-copy .feature-emoji { display: none; }
  .feature-copy .feature-title { order: 1; width: 100%; }
  .feature-copy p { order: 3; width: 100%; }
  .feature-phone {
    position: static;
    order: 2;
    align-self: center;
    width: 60%;
    max-width: 220px;
    height: auto;
  }
  .feature-phone img { width: 100%; max-width: 100%; }

  /* Advantage */
  .advantage-cta {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .advantage-cta .btn-row { justify-content: center; }
  .advantage-cta-logo img { width: 120px; }

  /* Team mobile */
  .team-card { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .team-photo { aspect-ratio: 4 / 3; }

  /* Roadmap mobile */
  .roadmap-scroll {
    margin: 0 -20px;
    padding: 0 0 8px 20px;
  }
  .roadmap-head { grid-template-columns: 140px repeat(6, 1fr); }
  .roadmap-head > div { padding: 12px 8px; font-size: 12px; }
  .roadmap-row { grid-template-columns: 140px 1fr; }
  .roadmap-label { padding: 0 12px; font-size: 13px; }
  .roadmap-wrapper { min-width: 720px; --label-col: 140px; }

  /* Partners */
  .partners-carousel {
    overflow: hidden;
    margin: 0 -20px;
  }
  .partner-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 24px calc(50vw - 50px);
    gap: 24px;
    min-height: 0;
  }
  .partner-grid::-webkit-scrollbar { display: none; }
  .partner-logo {
    width: 100px; height: 100px; padding: 12px;
    scroll-snap-align: center;
  }
  .partner-logo.is-active { transform: scale(1.25); }

  /* Charity */
  .charity-inner { grid-template-columns: 1fr; gap: 30px; }
  .charity-copy { text-align: center; }
  .charity-copy .btn-row { justify-content: center; }

  /* CTA */
  .cta-inner { padding: 40px 24px; }
}

@media (max-width: 560px) {
  .hero-copy h1 { font-size: 26px; }
  .section-title h2 { font-size: 24px; }
  .vision-copy h2,
  .charity-copy h2,
  .cta-inner h2 { font-size: 24px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}
