:root {
  color-scheme: light;
  --blue: #1769d2;
  --bright: #53b7ff;
  --navy: #102747;
  --muted: #5a6d85;
  --pale: #eef6ff;
  --line: #dce7f2;
  --shadow: 0 20px 60px rgba(16, 39, 71, .09);
  --surface: #fff;
  --wash: #f5f8fc;
  --radius: 24px;
}

html {
  scroll-padding-top: 84px;
}

body {
  overflow-x: hidden;
  background: #fff;
  color: var(--navy);
  font-family: "Avenir Next", "Segoe UI Variable", "Segoe UI", Inter, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3 {
  color: var(--navy);
  font-weight: 680;
  letter-spacing: -.04em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.8rem, 12vw, 4.2rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.container {
  width: min(100% - 40px, 1220px);
}

.section {
  padding-block: 68px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: .69rem;
  letter-spacing: .16em;
}

.topbar {
  padding: 8px 14px;
  background: #eaf4ff;
  color: #31557e;
  font-size: .72rem;
  letter-spacing: .015em;
}

.header {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: rgba(220, 231, 242, .8);
  box-shadow: 0 6px 24px rgba(16, 39, 71, .025);
}

.nav {
  height: 72px;
}

.brand img {
  width: 120px;
}

.menu-toggle {
  border-color: var(--line);
  background: #fff;
}

.nav nav {
  background: #fff;
  box-shadow: var(--shadow);
}

.nav nav a {
  padding: 9px 0;
}

.button {
  min-height: 52px;
  padding: 14px 23px;
  background: linear-gradient(115deg, #1769d2, #258be8);
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(23, 105, 210, .2);
  font-weight: 680;
}

.button:hover {
  background: #125bb8;
  box-shadow: 0 12px 28px rgba(23, 105, 210, .24);
}

.button.light {
  color: var(--navy);
  border-color: var(--line);
  background: #fff;
  box-shadow: none;
}

.text-button {
  text-decoration-thickness: 1px;
}

.hero {
  grid-template-columns: 1fr;
  gap: 34px;
  padding-top: 44px;
  padding-bottom: 54px;
}

.hero-copy {
  padding: 0;
}

.hero .eyebrow {
  gap: 8px;
  margin-bottom: 20px;
}

.mini-icon {
  font-size: 1.1rem;
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 12vw, 4.3rem);
}

h1 span, h2 span {
  color: var(--blue);
}

.hero .lead {
  max-width: 530px;
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.75;
}

.hero .actions {
  gap: 10px;
  margin: 24px 0 19px;
}

.hero .actions .button {
  width: 100%;
}

.hero-meta {
  gap: 10px 16px;
  color: #526981;
  font-size: .73rem;
}

.hero-visual {
  isolation: isolate;
  min-height: 0;
  margin: 0;
  padding: 0;
  align-self: center;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 8% -2% -3% 8%;
  border-radius: 30px;
  background: linear-gradient(140deg, #d8edff, #f2f7ff 55%, #e7f2ff);
  content: "";
}

.hero-photo {
  width: 100%;
  height: clamp(300px, 82vw, 440px);
  min-height: 0;
  max-height: none;
  border-radius: 76px 22px 22px 22px;
  object-position: center;
}

.floating-note {
  top: 14px;
  left: 12px;
  padding: 8px 12px 8px 8px;
  border-color: rgba(255, 255, 255, .85);
  font-size: .68rem;
}

.floating-note .blue-icon {
  width: 27px;
  height: 27px;
}

.visual-label {
  right: 12px;
  bottom: 12px;
  left: 12px;
  gap: 11px;
  padding: 12px;
  border-color: rgba(255, 255, 255, .8);
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(16, 39, 71, .14);
}

.label-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}

.visual-label strong {
  font-size: .83rem;
}

.visual-label div > span {
  font-size: .71rem;
}

.vertical-label {
  display: none;
}

.pillars {
  grid-template-columns: 1fr;
  gap: 0;
  padding-block: 15px;
  border-color: var(--line);
}

.pillars > div {
  grid-template-columns: 30px 1fr;
  gap: 0 10px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.pillars > div:last-child {
  border: 0;
}

.pillars strong {
  font-size: .91rem;
}

.pillars p {
  margin-top: 1px;
  font-size: .78rem;
}

.section-heading {
  display: block;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 17px;
}

.section-heading > p {
  max-width: 570px;
  font-size: .94rem;
}

.needs-grid {
  grid-template-columns: 1fr;
  gap: 13px;
}

.need {
  padding: 23px;
  border-color: #e5edf5;
  border-radius: 19px;
  background: linear-gradient(145deg, #fff, #fbfdff);
  box-shadow: 0 8px 25px rgba(16, 39, 71, .035);
  transition: transform .2s ease, box-shadow .2s ease;
}

.need:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.outline-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 17px;
  border-radius: 14px;
  background: #edf5ff;
  color: var(--blue);
}

.need h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.need > p, .need details p {
  font-size: .91rem;
}

.need summary {
  color: var(--blue);
  font-size: .85rem;
}

.medical-note {
  font-size: .75rem;
}

.solution-section {
  padding: 68px 0;
  background: linear-gradient(180deg, #f4f8fd, #f8fbff);
}

.center-heading {
  margin-bottom: 30px;
  text-align: left;
}

.center-heading h2 {
  margin-bottom: 15px;
}

.center-heading p:last-child {
  font-size: .96rem;
}

.product-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.product-grid article {
  border-color: #e2ebf4;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(16, 39, 71, .055);
}

.product-copy {
  padding: 26px 24px 0;
}

.tag {
  padding: 5px 9px;
  background: #f2f8ff;
  font-size: .63rem;
}

.product-copy h3 {
  font-size: 1.75rem;
}

.product-copy p {
  font-size: .91rem;
}

.product-app > img {
  margin-top: 18px;
}

.product-pod {
  background: #eaf4ff !important;
}

.product-pod > img {
  width: min(70%, 360px);
  margin: 0 auto -6px;
}

.solution-strip {
  align-items: flex-start;
  gap: 13px;
  margin-top: 17px;
  padding: 18px;
  border: 1px solid #e6edf5;
  border-radius: 17px;
  box-shadow: 0 8px 25px rgba(16, 39, 71, .035);
}

.solution-strip .blue-icon {
  flex: 0 0 30px;
}

.solution-strip p {
  font-size: .85rem;
}

.games {
  grid-template-columns: 1fr;
  gap: 27px;
}

.games-intro > p:not(.eyebrow) {
  font-size: .94rem;
}

.game-tabs {
  margin-top: 22px;
}

.game-tab {
  gap: 14px;
  padding: 15px 11px;
  border-radius: 12px;
}

.game-tab span {
  font-size: .9rem;
}

.game-preview {
  border-color: #e0eaf4;
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(16, 39, 71, .075);
}

.game-preview-top {
  padding: 17px 19px;
}

.game-preview > img {
  height: 280px;
  object-fit: cover;
  object-position: center 38%;
}

.game-description {
  padding: 21px;
}

.game-description h3 {
  font-size: 1.35rem;
}

.game-description p {
  font-size: .9rem;
}

.pod-section {
  padding: 68px 0;
  background: #f3f8fd;
}

.pod-layout {
  grid-template-columns: 1fr;
  gap: 30px;
}

.pod-photo {
  overflow: hidden;
  border: 1px solid #e3ecf5;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 45%, #fff 0, #eef6ff 68%, #e4f0fd 100%);
}

.pod-photo img {
  width: 100%;
  mix-blend-mode: multiply;
}

.pod-photo-caption {
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 11px 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .91);
  font-size: .74rem;
}

.pod-copy h2 {
  font-size: clamp(2rem, 8vw, 2.8rem);
}

.feature-list {
  margin: 25px 0;
}

.feature-list li {
  gap: 15px;
  padding-block: 16px;
}

.feature-list li > span {
  color: var(--blue);
}

.feature-list h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.feature-list p {
  font-size: .88rem;
}

.steps {
  grid-template-columns: 1fr;
  gap: 14px;
}

.steps article {
  padding: 20px;
  border: 1px solid #e5edf5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(16, 39, 71, .035);
}

.steps article > span {
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  background: #edf5ff;
  color: var(--blue);
}

.steps h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.steps p {
  margin-bottom: 0;
  font-size: .88rem;
}

.section-heading > .button {
  margin-top: 8px;
}

.pro-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 68px 0;
  background: radial-gradient(ellipse at 88% 6%, rgba(49, 153, 255, .22), transparent 38%), linear-gradient(135deg, #0d2c52, #0b4077 65%, #0c568f);
}

.pro-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000);
}

.pro-layout {
  grid-template-columns: 1fr;
  gap: 35px;
}

.pro-copy .eyebrow {
  color: #85c8ff;
}

.pro-copy h2 {
  color: #fff;
  font-size: clamp(2rem, 8vw, 3.3rem);
}

.pro-copy h2 span {
  color: #8bd1ff;
}

.pro-copy > p:not(.eyebrow) {
  color: #d3e4f5;
  font-size: .95rem;
}

.check-list li {
  color: #e8f2fc;
  font-size: .91rem;
}

.check-list li:before {
  color: #80d5c4;
}

.button.white {
  color: #0d4f91;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}

.pro-secondary {
  color: #fff;
  text-underline-offset: 5px;
}

.dashboard {
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
  overflow: visible;
  transform: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dashboard-image {
  width: 100%;
  height: auto;
  border: 1px solid rgba(222, 237, 255, .8);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 16, 42, .36);
}

.dash-header {
  padding: 16px 18px;
  border-bottom: 1px solid #edf2f7;
}

.dash-brand {
  color: #174a80;
}

.demo-badge {
  color: #426487;
  background: #eef6ff;
}

.dash-body {
  padding: 20px 18px;
}

.dash-greeting p {
  margin-bottom: 4px;
  font-size: .75rem;
}

.dash-greeting h3 {
  font-size: 1.2rem;
}

.dash-stats {
  gap: 10px;
}

.dash-stats > div {
  min-width: 0;
  padding: 13px;
  border-color: #e5edf5;
  border-radius: 13px;
  background: linear-gradient(145deg, #fff, #f8fbff);
}

.dash-stats span {
  font-size: .66rem;
}

.dash-stats strong {
  color: #155caa;
  font-size: 1.55rem;
}

.dash-chart {
  margin: 15px 0;
  padding: 15px;
  border-color: #e5edf5;
  background: #fff;
}

.dash-chart strong {
  font-size: .8rem;
}

.chart-bars {
  height: 115px;
  gap: 11px;
}

.chart-bars i {
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, #4ba7f4, #1769d2);
}

.dash-patient {
  gap: 10px;
  padding: 11px;
  border-radius: 13px;
  background: #f6f9fd;
}

.patient-pill {
  flex: 0 0 auto;
  color: #1769a9;
  background: #e7f4ff;
}

.dash-disclaimer {
  margin-bottom: 0;
}

.africa {
  grid-template-columns: 1fr;
  gap: 30px;
}

.africa > div > p:not(.eyebrow) {
  font-size: .94rem;
}

.local-features article {
  gap: 14px;
  padding: 17px 0;
}

.local-features .outline-icon {
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  margin: 0;
}

.local-features h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.local-features p {
  margin: 0;
  font-size: .87rem;
}

.faq-section {
  padding: 68px 0;
  background: #f5f8fc;
}

.faq-layout {
  grid-template-columns: 1fr;
  gap: 25px;
}

.faq-layout > div > p:not(.eyebrow) {
  font-size: .94rem;
}

.faq-list details {
  padding: 17px 0;
  border-color: #dfe8f1;
}

.faq-list summary {
  padding-right: 32px;
  font-size: .94rem;
  font-weight: 650;
}

.faq-list p {
  font-size: .89rem;
}

.final-cta {
  display: grid;
  gap: 18px;
  margin-block: 50px;
  padding: 27px 23px;
  border: 1px solid #e0ecf8;
  border-radius: 22px;
  background: radial-gradient(ellipse at 100% 0, #e1f1ff, transparent 55%), #f2f8ff;
}

.final-cta h2 {
  font-size: clamp(1.9rem, 8vw, 2.7rem);
}

.final-cta > div:last-child {
  align-items: flex-start;
}

footer {
  padding: 38px 0 80px;
  background: #fbfcfe;
}

.footer-top {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}

.footer-top > div:first-child,
.footer-top > div:last-child {
  grid-column: 1 / -1;
}

.footer-top strong {
  margin-bottom: 9px;
  font-size: .82rem;
}

.footer-top a:not(.brand), .footer-top button {
  font-size: .8rem;
}

.footer-bottom {
  justify-content: flex-start;
  gap: 11px 18px;
  padding-top: 20px;
}

.footer-bottom > span:last-child {
  flex-basis: 100%;
}

.mobile-action {
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 25;
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(220, 231, 242, .9);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}

.mobile-action .button {
  width: 100%;
  min-height: 48px;
}

dialog {
  width: min(620px, calc(100% - 24px));
  max-height: min(90dvh, 900px);
  border-color: #e1eaf3;
  border-radius: 22px;
  box-shadow: 0 28px 100px rgba(11, 36, 67, .3);
}

.dialog-inner {
  padding: 30px 24px;
}

.close-dialog {
  top: 10px;
  right: 10px;
}

.form-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

input:not([type="checkbox"]):not([type="radio"]), select {
  min-height: 48px;
  border-color: #dbe5ef;
  border-radius: 10px;
}

@media (min-width: 580px) {
  .container {
    width: min(100% - 48px, 1220px);
  }

  .hero {
    padding-top: 58px;
  }

  .hero .actions .button {
    width: auto;
  }

  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .pillars > div {
    grid-template-columns: 26px 1fr;
    padding: 8px 10px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .pillars > div:last-child {
    border-right: 0;
  }

  .needs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top > div:first-child,
  .footer-top > div:last-child {
    grid-column: auto;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dialog-inner {
    padding: 36px;
  }
}

@media (min-width: 801px) {
  html {
    scroll-padding-top: 100px;
  }

  .container {
    width: min(100% - 64px, 1220px);
  }

  .section {
    padding-block: 100px;
  }

  .topbar {
    font-size: .78rem;
  }

  .nav {
    height: 82px;
  }

  .brand img {
    width: 140px;
  }

  .menu-toggle {
    display: none;
  }

  .nav nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
    box-shadow: none;
    font-size: .86rem;
  }

  .nav nav a {
    padding: 0;
  }

  .nav-cta {
    display: inline-flex !important;
  }

  .hero {
    grid-template-columns: 1.02fr .98fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
    padding-block: 70px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 4.7vw, 4.65rem);
  }

  .hero .desktop-break {
    display: initial;
  }

  .hero .lead {
    font-size: 1.04rem;
  }

  .hero-visual {
    min-height: clamp(440px, 45vw, 570px);
  }

  .hero-photo {
    height: 100%;
    min-height: 440px;
    max-height: 570px;
    border-radius: 128px 28px 28px 28px;
  }

  .floating-note {
    top: 34px;
    left: -20px;
    font-size: .74rem;
  }

  .visual-label {
    right: 25px;
    bottom: 24px;
    left: -24px;
    padding: 16px;
  }

  .vertical-label {
    display: initial;
    right: -18px;
  }

  .section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 45px;
    margin-bottom: 42px;
  }

  .section-heading h2 {
    margin-bottom: 0;
  }

  .section-heading > p {
    margin-bottom: 4px;
  }

  .needs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .need {
    padding: 28px;
  }

  .solution-section, .pod-section, .pro-section, .faq-section {
    padding-block: 92px;
  }

  .center-heading {
    max-width: 720px;
    margin: 0 auto 44px;
    text-align: center;
  }

  .product-grid {
    grid-template-columns: 1.2fr .9fr;
    gap: 20px;
  }

  .product-copy {
    padding: 32px 32px 0;
  }

  .product-copy h3 {
    font-size: 2rem;
  }

  .product-pod > img {
    width: 66%;
    margin-bottom: -10px;
  }

  .solution-strip {
    align-items: center;
    padding: 21px 24px;
  }

  .games {
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(36px, 6vw, 82px);
    align-items: center;
  }

  .game-preview > img {
    height: 370px;
  }

  .pod-layout {
    grid-template-columns: .95fr 1.05fr;
    gap: clamp(40px, 7vw, 90px);
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .pro-layout {
    grid-template-columns: .92fr 1.08fr;
    gap: clamp(42px, 6vw, 78px);
  }

  .dashboard {
    transform: translateY(2px);
  }

  .dashboard-image {
    border-radius: 15px;
  }

  .africa {
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(40px, 7vw, 88px);
  }

  .faq-layout {
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(42px, 7vw, 86px);
  }

  .final-cta {
    grid-template-columns: 1fr auto;
    gap: 32px;
    margin-block: 80px;
    padding: 46px 52px;
    border-radius: 28px;
  }

  .final-cta > div:last-child {
    align-items: flex-start;
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  }

  .footer-top > div:first-child,
  .footer-top > div:last-child {
    grid-column: auto;
  }

  footer {
    padding-bottom: 25px;
  }

  .footer-bottom > span:last-child {
    flex-basis: auto;
    margin-left: auto;
  }

  .mobile-action {
    display: none !important;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .hero h1 {
    font-size: clamp(2.45rem, 10vw, 3.1rem) !important;
  }
}

@media (min-width: 1100px) {
  .hero {
    padding-block: 78px;
  }

  .hero-visual {
    min-height: 550px;
  }

  .hero-photo {
    min-height: 550px;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero .actions .button {
    padding-inline: 14px;
    font-size: .87rem;
  }

  .hero-photo {
    height: 290px;
  }

  .floating-note {
    max-width: calc(100% - 24px);
    font-size: .62rem;
  }

  .dash-stats {
    grid-template-columns: 1fr;
  }

  .dash-stats > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .dash-patient {
    flex-wrap: wrap;
  }

  .patient-pill {
    margin-left: 38px;
  }

  .chart-bars {
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
