@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --brand: #432087;
  --brand-strong: #2f1269;
  --brand-soft: #ede7fa;
  --blue: #1239b8;
  --blue-soft: #e8eeff;
  --red: #df1538;
  --red-soft: #fff0f3;
  --ink: #17131f;
  --muted: #655f6f;
  --surface: #ffffff;
  --surface-alt: #f7f5fb;
  --lavender: #f0ecf8;
  --border: #ded9e7;
  --success: #14724a;
  --error: #a51d35;
  --shadow-sm: 0 8px 24px rgba(44, 27, 75, 0.08);
  --shadow-md: 0 24px 70px rgba(44, 27, 75, 0.14);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --section: clamp(4.5rem, 7vw, 7rem);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  font-weight: 750;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.25rem;
}

::selection {
  color: var(--surface);
  background: var(--brand);
}

:focus-visible {
  outline: 3px solid #f2c300;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--surface);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2.5rem), 780px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section);
}

.section--soft {
  background: var(--surface-alt);
}

.section--lavender {
  background: var(--lavender);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow--light {
  color: #dcd1f7;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.15rem;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled,
.site-header.header--solid {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 1px 0 rgba(34, 20, 60, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand {
  position: relative;
  z-index: 102;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.7rem;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-header .brand {
  font-size: 1.28rem;
}

.site-header .brand img {
  width: 48px;
  height: 48px;
}

.brand-mark {
  color: var(--brand);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.nav-link {
  position: relative;
  color: #4b4654;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -0.7rem;
  left: 0;
  height: 2px;
  background: var(--brand);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--brand);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.language-select {
  min-width: 105px;
  padding: 0.6rem 2rem 0.6rem 0.75rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.menu-button {
  position: relative;
  z-index: 102;
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.menu-button .menu-line {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 160ms ease, top 160ms ease;
}

.menu-button .menu-line--top {
  top: 17px;
}

.menu-button .menu-line--bottom {
  top: 25px;
}

.menu-button[aria-expanded="true"] .menu-line--top {
  top: 21px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-line--bottom {
  top: 21px;
  transform: rotate(-45deg);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.25rem;
  color: var(--surface);
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: var(--brand-strong);
  box-shadow: 0 10px 25px rgba(67, 32, 135, 0.2);
  transform: translateY(-2px);
}

.button--small {
  min-height: 43px;
  padding-inline: 1rem;
  font-size: 0.82rem;
}

.button--light {
  color: var(--brand);
  background: var(--surface);
  border-color: var(--surface);
}

.button--light:hover {
  color: var(--brand-strong);
  background: #f5f1ff;
}

.button--outline {
  color: var(--brand);
  background: transparent;
  border-color: #c8bce1;
}

.button--outline:hover {
  color: var(--surface);
  background: var(--brand);
}

.button--ghost-light {
  color: var(--surface);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.button--ghost-light:hover {
  color: var(--brand-strong);
  background: var(--surface);
}

.button--text {
  min-height: auto;
  padding: 0;
  color: var(--brand);
  background: transparent;
  border: 0;
  border-radius: 0;
}

.button--text:hover {
  color: var(--brand-strong);
  background: transparent;
  box-shadow: none;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.store-badge {
  display: inline-flex;
  min-width: 160px;
  min-height: 54px;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.9rem;
  color: var(--surface);
  background: var(--ink);
  border: 1px solid #312d38;
  border-radius: 12px;
  line-height: 1.05;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-badge:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.store-badge svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.store-badge span {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.03em;
}

.store-badge strong {
  display: block;
  margin-top: 0.18rem;
  font-size: 1rem;
}

.hero {
  min-height: 760px;
  padding-top: 164px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 28%, rgba(18, 57, 184, 0.11), transparent 24%),
    radial-gradient(circle at 72% 70%, rgba(223, 21, 56, 0.08), transparent 19%),
    linear-gradient(135deg, #fff 35%, #f5f1fc 100%);
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: -24%;
  width: 55vw;
  height: 55vw;
  border: 1px solid rgba(67, 32, 135, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(67, 32, 135, 0.03), 0 0 0 160px rgba(18, 57, 184, 0.025);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.07fr) minmax(390px, 0.93fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.hero-copy {
  max-width: 720px;
}

.hero-copy h1 {
  max-width: 760px;
}

.hero-copy h1 span {
  color: var(--brand);
}

.hero-copy > p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
}

.hero-copy .hero-invitation {
  margin-top: -0.3rem;
  color: var(--brand);
  font-weight: 700;
}

.hero-actions {
  margin: 2rem 0 1.5rem;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-line::before {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--red-soft);
  content: "";
}

.phone-stage {
  position: relative;
  min-height: 570px;
}

.phone {
  position: absolute;
  overflow: hidden;
  width: min(310px, 65vw);
  aspect-ratio: 1200 / 2607;
  background: #17131f;
  border: 8px solid #17131f;
  border-radius: 42px;
  box-shadow: 0 40px 90px rgba(44, 23, 91, 0.3);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 33px;
}

.phone--main {
  z-index: 3;
  top: 0;
  right: 9%;
  transform: rotate(3deg);
}

.phone--secondary {
  z-index: 2;
  top: 80px;
  left: 0;
  transform: rotate(-8deg) scale(0.86);
  filter: saturate(0.85);
}

.qr-card {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 24px;
  display: flex;
  width: 300px;
  align-items: center;
  gap: 1.05rem;
  padding: 1.05rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(67, 32, 135, 0.14);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.qr-card img {
  width: 96px;
  height: 96px;
  border-radius: 9px;
  image-rendering: crisp-edges;
}

.qr-card strong,
.qr-card span {
  display: block;
}

.qr-card strong {
  font-size: 1.05rem;
}

.qr-card span {
  color: var(--muted);
  font-size: 0.84rem;
}

.problem-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.problem-copy p {
  color: var(--muted);
  font-size: 1.15rem;
}

.quote-line {
  margin-top: 2.2rem;
  padding-left: 1.5rem;
  color: var(--brand);
  border-left: 3px solid var(--red);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.diaspora-map {
  position: relative;
  display: grid;
  min-height: 460px;
  place-items: center;
  overflow: hidden;
  background: var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.diaspora-map::before,
.diaspora-map::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.diaspora-map::before {
  width: 380px;
  height: 380px;
  box-shadow: inset 0 0 0 65px rgba(255, 255, 255, 0.025), inset 0 0 0 130px rgba(255, 255, 255, 0.025);
}

.diaspora-map::after {
  width: 530px;
  height: 230px;
}

.map-label {
  position: absolute;
  z-index: 2;
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.map-label::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.4rem;
  background: var(--red);
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.13);
  content: "";
}

.map-label--1 { top: 23%; left: 19%; }
.map-label--2 { top: 43%; left: 8%; }
.map-label--3 { top: 30%; right: 20%; }
.map-label--4 { right: 27%; bottom: 24%; }
.map-label--5 { bottom: 30%; left: 20%; }

.map-core {
  z-index: 3;
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  color: var(--surface);
  background: var(--brand-strong);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.06);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.benefit {
  min-height: 285px;
  padding: clamp(1.8rem, 3vw, 2.75rem);
  background: var(--surface);
  transition: background-color 180ms ease, transform 180ms ease;
}

.benefit:hover {
  background: #fbf9ff;
}

.benefit-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 3rem;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 14px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.benefit:nth-child(3n + 2) .benefit-icon {
  color: var(--blue);
  background: var(--blue-soft);
}

.benefit:nth-child(3n + 3) .benefit-icon {
  color: var(--red);
  background: var(--red-soft);
}

.benefit p {
  margin-bottom: 0;
  color: var(--muted);
}

.app-preview {
  color: var(--surface);
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 38%, rgba(74, 95, 219, 0.28), transparent 27%),
    var(--brand-strong);
}

.app-preview-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.app-preview .section-heading p {
  color: #d3cbe1;
}

.preview-tabs {
  display: grid;
  gap: 0.55rem;
}

.preview-tab {
  width: 100%;
  padding: 1rem 1.1rem;
  color: #d8d0e5;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  text-align: left;
}

.preview-tab[aria-selected="true"] {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

.preview-visual {
  position: relative;
  display: grid;
  min-height: 690px;
  place-items: center;
}

.preview-phone {
  position: relative;
  z-index: 2;
  width: min(335px, 76vw);
  aspect-ratio: 1200 / 2607;
  overflow: hidden;
  background: #16121e;
  border: 9px solid #16121e;
  border-radius: 46px;
  box-shadow: 0 45px 100px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
}

.preview-phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 35px;
  transition: opacity 140ms ease;
}

.preview-phone img.is-changing {
  opacity: 0;
}

.preview-caption {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 58px;
  width: min(295px, 54%);
  padding: 1.35rem;
  color: var(--ink);
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.preview-caption h3 {
  margin-bottom: 0.5rem;
}

.preview-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 1.5rem 3rem 1.5rem 0;
  counter-increment: steps;
}

.step:not(:last-child)::after {
  position: absolute;
  top: 31px;
  right: 2rem;
  left: 62px;
  height: 1px;
  background: var(--border);
  content: "";
}

.step-number {
  position: relative;
  z-index: 2;
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 2rem;
  place-items: center;
  color: var(--surface);
  background: var(--brand);
  border-radius: 50%;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.step p {
  color: var(--muted);
}

.tracker-section {
  overflow: hidden;
  background: linear-gradient(145deg, #fbfaff, #f4f0fb);
}

.tracker-section .section-heading {
  max-width: 850px;
}

.tracker-subtitle {
  color: #36305f !important;
  font-weight: 700;
}

.tracker-list {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  gap: 1rem;
  list-style: none;
}

.tracker-list::before {
  position: absolute;
  top: 2.75rem;
  bottom: 2.75rem;
  left: 1.6rem;
  width: 2px;
  background: #d8d2e2;
  content: "";
}

.tracker-phase {
  position: relative;
  display: grid;
  min-height: 152px;
  align-items: center;
  padding: 1.35rem 1.5rem 1.35rem 5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid #cdbfe8;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 1.5rem;
}

.tracker-phase--completed { border-left-color: #75cfa7; }
.tracker-phase--progress { border-left-color: #9b78e9; }
.tracker-phase--planned { border-left-color: #f2a7b5; }

.tracker-number {
  position: absolute;
  z-index: 2;
  left: 0;
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  color: var(--surface);
  background: #8f72cf;
  border: 5px solid #f6f3fb;
  border-radius: 50%;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  transform: translateX(-1px);
}

.tracker-phase--completed .tracker-number { background: #58b98f; }
.tracker-phase--planned .tracker-number { background: #e98ea0; }

.tracker-icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 50%;
}

.tracker-phase--completed .tracker-icon { background: #e4f6ed; }
.tracker-phase--planned .tracker-icon { background: #fce9ed; }

.tracker-icon svg {
  width: 42px;
  height: 42px;
}

.tracker-copy h3 {
  margin-bottom: 0.45rem;
  color: #20116b;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

.tracker-copy p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.tracker-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  color: #8d263c;
  background: #fce6ea;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.tracker-status svg {
  width: 18px;
  height: 18px;
}

.tracker-phase--completed .tracker-status {
  color: #176643;
  background: #dff4e9;
}

.tracker-phase--progress .tracker-status {
  color: #6335bd;
  background: #eee7fb;
}

.tracker-footer {
  margin: 1.5rem 0 0 5rem;
  color: var(--brand);
  font-weight: 700;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.mission-panel {
  min-height: 320px;
  padding: clamp(2rem, 4vw, 3.2rem);
  border-radius: var(--radius-lg);
}

.mission-panel:first-child {
  color: white;
  background: var(--brand);
}

.mission-panel:last-child {
  color: var(--ink);
  background: var(--blue-soft);
}

.mission-panel p {
  max-width: 520px;
  font-size: 1.12rem;
}

.benefit-grid--compact .benefit {
  min-height: 230px;
}

.benefit-grid--compact .benefit-icon {
  margin-bottom: 1.5rem;
}

.build-clarification,
.transparency-note {
  margin-top: 2rem;
  color: var(--muted);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.role-card {
  min-height: 145px;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.role-card span {
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 2.25rem;
  background: var(--brand);
  border-radius: 999px;
}

.mission-panel:first-child p {
  color: #e1daf1;
}

.values-list {
  border-top: 1px solid var(--border);
}

.value-row {
  display: grid;
  align-items: start;
  padding-block: 2.1rem;
  border-bottom: 1px solid var(--border);
  grid-template-columns: 80px 0.5fr 1fr;
  gap: 2rem;
}

.value-number {
  color: var(--brand);
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.value-row h3 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.value-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.metric-card {
  min-height: 245px;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.metric-value {
  display: block;
  margin-bottom: 2rem;
  color: var(--brand);
  font-family: "Manrope", sans-serif;
  font-size: clamp(3rem, 6vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.metric-card h3 {
  margin-bottom: 0.4rem;
}

.metric-card p,
.metric-card a {
  color: var(--muted);
  font-size: 0.82rem;
}

.metric-card a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.metric-card--pending {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(67, 32, 135, 0.04), rgba(18, 57, 184, 0.08)),
    var(--surface);
}

.metric-status {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 0.45rem 0.7rem;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.data-state {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--muted);
  background: white;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  text-align: center;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.survey-section {
  background: var(--surface-alt);
}

.respondent-card {
  display: grid;
  min-height: 360px;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  grid-template-columns: minmax(230px, 0.65fr) 1fr;
  gap: clamp(2rem, 7vw, 6rem);
}

.respondent-card > div:last-child {
  max-width: 570px;
}

.respondent-card p,
.chart-heading p {
  color: var(--muted);
}

.respondent-donut {
  display: grid;
  width: min(280px, 65vw);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--brand) 0 68%, var(--blue) 68% 84%, var(--red) 84% 100%);
  box-shadow: inset 0 0 0 1px rgba(67, 32, 135, 0.1);
}

.respondent-donut::before {
  width: 66%;
  aspect-ratio: 1;
  background: var(--surface);
  border-radius: 50%;
  content: "";
  grid-area: 1 / 1;
}

.respondent-donut div {
  z-index: 1;
  display: grid;
  max-width: 130px;
  text-align: center;
  grid-area: 1 / 1;
}

.respondent-donut strong {
  color: var(--brand);
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.respondent-donut span {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.survey-chart-grid {
  display: grid;
  margin-bottom: 1.25rem;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.survey-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.chart-heading {
  min-height: 175px;
}

.chart-heading h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.vertical-chart {
  display: flex;
  height: 330px;
  align-items: stretch;
  justify-content: space-around;
  gap: clamp(0.35rem, 1.4vw, 1rem);
  padding: 1.5rem 0 0;
  border-bottom: 1px solid var(--border);
}

.chart-column {
  display: grid;
  min-width: 0;
  flex: 1;
  align-items: end;
  text-align: center;
  grid-template-rows: 2rem 1fr 3rem;
}

.chart-column strong {
  color: var(--brand);
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.72rem, 1.6vw, 0.95rem);
}

.chart-track {
  display: flex;
  width: min(72px, 82%);
  height: 100%;
  align-items: end;
  justify-self: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(to top, transparent 0 24%, var(--surface-alt) 24% 25%),
    #faf9fc;
  border-radius: 8px 8px 0 0;
}

.chart-track span {
  display: block;
  width: 100%;
  min-height: 4px;
  border-radius: 8px 8px 0 0;
}

.chart-label {
  align-self: start;
  padding-top: 0.7rem;
  color: #40394a;
  font-size: clamp(0.7rem, 1.4vw, 0.88rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.location-card {
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.reconnection-chart {
  margin-bottom: 1.25rem;
}

.horizontal-chart-card .chart-heading {
  min-height: 0;
  max-width: 760px;
  margin-bottom: 2rem;
}

.horizontal-chart {
  display: grid;
  gap: 1.25rem;
}

.horizontal-row {
  display: grid;
  gap: 0.5rem;
}

.horizontal-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.horizontal-meta span {
  font-weight: 700;
}

.horizontal-meta strong {
  color: var(--brand);
}

.horizontal-track {
  height: 15px;
  overflow: hidden;
  background: #ece9f0;
  border-radius: 999px;
}

.horizontal-track span {
  display: block;
  min-width: 4px;
  height: 100%;
  border-radius: inherit;
}

.about-data {
  background: var(--surface);
}

.about-data .narrow {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--blue-soft);
  border-radius: var(--radius-md);
}

.about-data li {
  margin-bottom: 0.4rem;
}

.location-card .chart-heading {
  min-height: 0;
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.location-list {
  display: grid;
  gap: 1.8rem;
}

.location-row {
  display: grid;
  gap: 0.65rem;
}

.location-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.location-meta > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
  font-family: "Manrope", sans-serif;
  font-weight: 750;
}

.location-meta strong {
  flex: 0 0 auto;
  color: var(--brand);
}

.country-flag {
  font-size: 1.75rem;
  line-height: 1;
}

.location-track {
  height: 13px;
  margin-left: 3.15rem;
  overflow: hidden;
  background: #e7e4eb;
  border-radius: 999px;
}

.location-track span {
  display: block;
  height: 100%;
  min-width: 4px;
  background: linear-gradient(90deg, #5526a8, #7b46db);
  border-radius: inherit;
}

.data-note {
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
}

.download-options .store-badges {
  justify-content: center;
}

.download-qr {
  margin-top: 2.5rem;
}

.download-qr img {
  width: 220px;
  height: 220px;
  margin-inline: auto;
  image-rendering: crisp-edges;
}

.download-qr p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.final-cta {
  overflow: hidden;
}

.final-card {
  position: relative;
  display: grid;
  min-height: 0;
  align-items: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--surface);
  background:
    radial-gradient(circle at 84% 25%, rgba(29, 72, 216, 0.55), transparent 25%),
    linear-gradient(135deg, var(--brand-strong), #3d1c83);
  border-radius: var(--radius-lg);
  grid-template-columns: 1fr;
}

.final-copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.final-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.final-copy p {
  max-width: 560px;
  color: #dcd4ec;
  font-size: 1.1rem;
}

.page-hero {
  padding: 180px 0 95px;
  background:
    radial-gradient(circle at 85% 25%, rgba(18, 57, 184, 0.11), transparent 23%),
    var(--surface-alt);
}

.page-hero--compact {
  padding-bottom: 70px;
}

.page-hero .container {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.45fr);
  gap: 4rem;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 1.4rem;
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.2rem;
}

.page-index {
  align-self: end;
  padding-left: 1.5rem;
  color: var(--muted);
  border-left: 2px solid var(--red);
  font-size: 0.88rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(3rem, 9vw, 9rem);
}

.sticky-label {
  position: sticky;
  top: 130px;
  align-self: start;
}

.prose {
  color: #37313f;
  font-size: 1.08rem;
}

.prose h2 {
  margin-top: 4rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 2.4rem;
}

.prose li {
  margin-bottom: 0.65rem;
}

.build-list {
  display: grid;
  margin-top: 2.5rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.build-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.build-item::before {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  color: white;
  background: var(--brand);
  border-radius: 50%;
  content: "✓";
  font-size: 0.72rem;
}

.statistics-intro {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr 0.65fr;
  gap: 4rem;
}

.source-note {
  padding: 1.25rem;
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
  color: #273363;
  font-size: 0.9rem;
}

.dataset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dataset-card {
  min-height: 290px;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.dataset-card svg {
  width: 38px;
  margin-bottom: 4rem;
  color: var(--brand);
}

.dataset-card p {
  color: var(--muted);
}

.empty-chart {
  display: grid;
  min-height: 440px;
  place-items: center;
  padding: 3rem;
  background:
    linear-gradient(var(--surface-alt) 1px, transparent 1px),
    linear-gradient(90deg, var(--surface-alt) 1px, transparent 1px),
    var(--surface);
  background-size: 48px 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.empty-chart div {
  max-width: 540px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(3rem, 8vw, 7rem);
}

.contact-aside {
  padding: 2rem;
  color: var(--surface);
  background: var(--brand);
  border-radius: var(--radius-md);
}

.contact-aside a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-aside p {
  color: #ddd5ed;
}

.contact-list {
  display: grid;
  gap: 1.4rem;
  margin-top: 3rem;
}

.contact-item span {
  display: block;
  color: #c9bee2;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item strong {
  font-size: 1rem;
}

.form {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: #fbfafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(67, 32, 135, 0.1);
}

.field-hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.25rem 0;
  font-size: 0.87rem;
}

.checkbox input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 0.2rem;
  accent-color: var(--brand);
}

.checkbox a {
  color: var(--brand);
  text-decoration: underline;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.88rem;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--error);
}

.form-status a {
  text-decoration: underline;
}

.account-notes {
  display: grid;
  margin-top: 2rem;
  gap: 1rem;
}

.account-note {
  padding: 1.2rem;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
}

.account-note strong {
  display: block;
  margin-bottom: 0.25rem;
}

.account-note span {
  color: var(--muted);
  font-size: 0.87rem;
}

.legal {
  color: #37313f;
}

.legal h2 {
  margin-top: 3.5rem;
  font-size: 1.8rem;
}

.legal h3 {
  margin-top: 2rem;
}

.legal p,
.legal li {
  max-width: 750px;
}

.legal-meta {
  margin-bottom: 3rem;
  padding: 1.25rem;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.site-footer {
  padding: 5.5rem 0 1.5rem;
  color: #e9e3f2;
  background: #17101f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.7fr);
  gap: 3rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand {
  color: var(--surface);
}

.footer-brand .brand-mark {
  color: #c9b8ef;
}

.footer-brand p {
  margin-top: 1.4rem;
  color: #aaa1b5;
  font-size: 0.92rem;
}

.footer-column h2 {
  margin-bottom: 1.3rem;
  color: #93889f;
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column a {
  display: table;
  margin-bottom: 0.75rem;
  color: #ded8e6;
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4.5rem;
  padding-top: 1.5rem;
  color: #837989;
  border-top: 1px solid #352c3c;
  font-size: 0.78rem;
}

.socials {
  display: flex;
  gap: 1rem;
}

.socials a {
  color: #bbb2c2;
}

.socials a:hover {
  color: white;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 550ms ease, transform 550ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1020px) {
  .site-header.is-scrolled,
  .site-header.header--solid {
    background: var(--surface);
    backdrop-filter: none;
  }

  .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 110px 1.5rem 2rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    visibility: hidden;
    background: #ffffff;
    opacity: 0;
    isolation: isolate;
    transform: translateY(-12px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  }

  .site-nav[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .site-nav .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    font-family: "Manrope", sans-serif;
    font-size: 1.45rem;
  }

  .site-nav .nav-link::after {
    display: none;
  }

  .site-nav .language-select {
    width: 100%;
    margin: 1.5rem 0 1rem;
  }

  .site-nav .button {
    margin-top: 0.5rem;
  }

  .menu-button {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 2rem;
  }

  .survey-chart-grid {
    grid-template-columns: 1fr;
  }

  .chart-heading {
    min-height: 0;
    margin-bottom: 1.5rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 7vw, 5.2rem);
  }

  .phone-stage {
    min-height: 540px;
  }

  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dataset-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-column:last-child {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --section: 3.75rem;
  }

  .container,
  .narrow {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  h1 {
    font-size: clamp(2.45rem, 11.5vw, 3.55rem);
  }

  h2 {
    font-size: clamp(1.85rem, 8.6vw, 2.65rem);
  }

  .header-inner {
    min-height: 72px;
  }

  .site-header .brand {
    font-size: 1.2rem;
  }

  .site-header .brand img {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: auto;
    padding-top: 125px;
    padding-bottom: 3.5rem;
  }

  .hero-grid,
  .problem-grid,
  .app-preview-grid,
  .mission-grid,
  .page-hero .container,
  .content-grid,
  .statistics-intro,
  .form-layout,
  .final-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 0;
  }

  .hero-actions .button {
    width: 100%;
  }

  .store-badge {
    flex: 1 1 145px;
    min-width: 0;
    min-height: 50px;
  }

  .phone-stage {
    display: none;
  }

  .phone--main {
    right: 2%;
  }

  .phone--secondary {
    top: 95px;
    left: -6%;
  }

  .qr-card {
    right: 50%;
    bottom: 0;
    width: min(300px, calc(100vw - 2rem));
    transform: translateX(50%);
  }

  .problem-grid {
    gap: 3rem;
  }

  .diaspora-map {
    min-height: 300px;
  }

  .map-label--2 {
    top: 44%;
    left: 5%;
  }

  .benefit-grid,
  .dataset-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .respondent-card {
    justify-items: center;
    text-align: center;
    grid-template-columns: 1fr;
  }

  .vertical-chart {
    height: 300px;
  }

  .benefit {
    min-height: auto;
  }

  .benefit-icon {
    margin-bottom: 2rem;
  }

  .preview-visual {
    min-height: 600px;
  }

  .preview-caption {
    right: 50%;
    bottom: 5px;
    width: min(320px, 90%);
    transform: translateX(50%);
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step {
    display: grid;
    padding: 1rem 0;
    grid-template-columns: 62px 1fr;
    gap: 1.2rem;
  }

  .tracker-list {
    gap: 0.85rem;
  }

  .tracker-list::before {
    left: 1.35rem;
  }

  .tracker-phase {
    min-height: 0;
    padding: 1.15rem 1rem 1.15rem 4.35rem;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 1rem;
  }

  .tracker-number {
    width: 2.75rem;
    height: 2.75rem;
    border-width: 4px;
  }

  .tracker-icon {
    width: 56px;
    height: 56px;
  }

  .tracker-icon svg {
    width: 30px;
    height: 30px;
  }

  .tracker-copy h3 {
    font-size: 1.2rem;
  }

  .tracker-copy p {
    font-size: 0.92rem;
  }

  .tracker-status {
    grid-column: 2;
    justify-self: start;
  }

  .tracker-footer {
    margin-left: 4.35rem;
  }

  .step:not(:last-child)::after {
    top: 73px;
    right: auto;
    bottom: -5px;
    left: 30px;
    width: 1px;
    height: auto;
  }

  .step-number {
    grid-row: 1 / span 2;
  }

  .value-row {
    grid-template-columns: 55px 1fr;
    gap: 1rem;
  }

  .value-row p {
    grid-column: 2;
  }

  .final-card {
    padding: 2rem 1.35rem;
  }

  .page-hero {
    padding: 118px 0 52px;
  }

  .page-hero .container {
    gap: 1.5rem;
  }

  .page-index {
    align-self: start;
  }

  .sticky-label {
    position: static;
  }

  .build-list,
  .field-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    padding-top: 3.75rem;
  }

  .footer-bottom {
    margin-top: 3rem;
  }
}

@media (max-width: 430px) {
  body {
    overflow-x: hidden;
  }

  .hero h1 {
    overflow-wrap: anywhere;
    font-size: clamp(2.35rem, 11.5vw, 3rem);
  }

  .store-badges {
    flex-direction: column;
  }

  .store-badge {
    width: 100%;
    flex: 0 0 auto;
  }

  .final-copy .button {
    width: 100%;
  }

  .phone {
    width: 250px;
  }

  .phone--secondary {
    left: -13%;
  }

  .tracker-phase {
    padding-left: 3.85rem;
    grid-template-columns: 1fr;
  }

  .tracker-icon {
    display: none;
  }

  .tracker-status {
    grid-column: 1;
  }

  .tracker-footer {
    margin-left: 3.85rem;
  }

  .phone--main {
    right: -3%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
