:root {
  --mint: #1dd1a1;
  --mint-dark: #10ac84;
  --sky: #54a0ff;
  --sky-dark: #2e86de;
  --text: #1c1c1e;
  --muted: #6b7280;
  --bg: #f2f2f7;
  --surface: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --radius: 26px;
  --shadow: 0 8px 28px rgba(16, 42, 48, 0.08);
  --max: 1120px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--sky-dark);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  backdrop-filter: blur(16px);
  background: rgba(242, 242, 247, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav a:focus-visible {
  background: #fff;
}

.nav-cta {
  background: linear-gradient(135deg, var(--mint), var(--sky)) !important;
  color: #fff !important;
}

.menu-btn {
  display: none;
  border: 0;
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 22px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background: linear-gradient(135deg, var(--mint-dark), var(--sky), var(--sky-dark));
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}

.btn-light {
  background: #fff;
  color: var(--text);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 14px;
}

.hero-stats strong {
  display: block;
  font-size: 1.2rem;
}

.hero-stats span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: 72px 0;
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

#product {
  padding-top: 0;
}

.about-grid,
.tech-grid {
  margin-top: 24px;
}

.card h3 {
  margin-top: 0;
}

.checklist {
  margin: 0;
  padding-left: 1.1rem;
}

.hero-score {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.hero-score b,
.score {
  font-size: 1.7rem;
}

.app-hero h3 {
  margin: 6px 0 8px;
  font-size: 1.25rem;
}

.nav-bar span,
.nav-bar button {
  border: 0;
  background: transparent;
  font-size: 9px;
  color: #8e8e93;
  display: grid;
  gap: 2px;
  place-items: center;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.progress .wide {
  width: 84%;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.steps span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  margin-bottom: 10px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.shot {
  margin: 0;
  padding: 16px;
}

.shot img {
  width: 100%;
  display: block;
  border-radius: 28px;
  background: #0b1c20;
}

.shot figcaption,
.scheme-card figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.shot-logo {
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-items: center;
  text-align: center;
  min-height: 100%;
}

.shot-logo img {
  width: min(240px, 72%);
  max-height: 280px;
  margin: 0;
  background: transparent;
  border-radius: 0;
  object-fit: contain;
}

.scheme-card {
  margin: 0;
  text-align: center;
}

.scheme-card figcaption {
  margin: 0 0 16px;
  text-align: center;
}

.scheme-wide,
.flow-card,
.devices-card {
  margin-top: 24px;
}

.gallery-sub {
  margin: 36px 0 8px;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  letter-spacing: -0.03em;
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

.shot-device img {
  background: #e8e8ed;
  object-fit: cover;
  object-position: top center;
}

.demo-card {
  margin-top: 36px;
}

.demo-card .demo-lead {
  margin: 0 0 16px;
  color: var(--muted);
}

.demo-canvas {
  background: #eaf6f4;
  border-radius: 28px;
  padding: 36px 16px 40px;
  display: grid;
  place-items: center;
}

.demo-canvas .phone-stage {
  padding: 12px 0 0;
}

.demo-card .demo-controls {
  margin-top: 20px;
  justify-content: center;
}

.contact-grid {
  margin-top: 24px;
}

.contact-grid address {
  font-style: normal;
}

.news-grid time {
  color: var(--sky-dark);
  font-size: 13px;
  font-weight: 700;
}

.section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.section-kicker::before {
  content: "";
  width: 5px;
  height: 22px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--mint), var(--sky));
}

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

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.grid-3,
.feature-grid,
.news-grid,
.gallery {
  display: grid;
  gap: 18px;
}

.feature-grid,
.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d4f5e8, #d2e9ff);
  margin-bottom: 12px;
}

.support {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.support img {
  width: min(220px, 38vw);
  height: auto;
  flex-shrink: 0;
  user-select: none;
}

.support p {
  margin: 0;
  font-size: 0.98rem;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.tech-table th,
.tech-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.tech-table th {
  width: 38%;
  color: var(--muted);
  font-weight: 600;
}

.scheme-card img {
  width: 100%;
  display: block;
}

.gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.phone-stage {
  display: grid;
  place-items: center;
  padding: 12px 0 8px;
}

.phone {
  width: 320px;
  height: 640px;
  background: #0b1c20;
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 24px 50px rgba(11, 28, 32, 0.28);
  position: relative;
  color: var(--text);
}

.phone.hero-phone {
  transform: none;
}

.phone-screen {
  height: 100%;
  background: #f2f2f7;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.screen {
  display: none;
  flex: 1;
  min-height: 0;
  padding: 16px 14px 8px;
}

.screen.is-on {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-hero {
  background: linear-gradient(135deg, var(--mint-dark), var(--sky), var(--sky-dark));
  color: #fff;
  border-radius: 22px;
  padding: 16px;
}

.app-hero small {
  opacity: 0.85;
}

.metric-row,
.quick-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.metric,
.pill {
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  border: 1px solid var(--line);
}

.metric b,
.pill b {
  display: block;
}

.nav-bar {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  padding: 8px 4px 10px;
}

.nav-bar button {
  border: 0;
  background: transparent;
  font-size: 10px;
  color: #8e8e93;
  display: grid;
  gap: 2px;
  place-items: center;
  cursor: pointer;
}

.nav-bar span.is-active,
.nav-bar button.is-active {
  color: var(--sky-dark);
  font-weight: 700;
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--mint), var(--sky));
}

.chat {
  background: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 13px;
}

.chat.me {
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: #fff;
  margin-left: 24px;
}

.progress {
  height: 8px;
  background: #e8eef3;
  border-radius: 99px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--mint), var(--sky));
}

.demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.chip.is-on {
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: #fff;
  border-color: transparent;
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.news-card time {
  color: var(--sky-dark);
  font-size: 13px;
  font-weight: 700;
}

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

.contact-grid a {
  color: inherit;
}

.site-footer {
  background: #0b1c20;
  color: #eaf6f4;
  padding: 28px 0 24px;
}

.site-footer a {
  color: #7cc0ff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0;
  color: #a7c2c4;
  font-size: 13px;
}

.legal-note {
  font-size: 13px;
  color: var(--muted);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.social {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  text-decoration: none;
  box-shadow: var(--shadow);
}

.social:hover,
.social:focus-visible {
  filter: brightness(1.05);
}

.socials-footer .social {
  width: 40px;
  height: 40px;
  border-radius: 14px;
}

.docs-links {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .feature-grid,
  .steps,
  .news-grid,
  .contact-grid,
  .gallery,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .phone.hero-phone {
    transform: none;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

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

@media (max-width: 640px) {
  .hero {
    padding: 36px 0 48px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .phone.hero-phone {
    transform: none;
  }
}

.legal-page {
  padding: 40px 0 72px;
}

.legal-page .card {
  max-width: 760px;
}

.legal-page h1 {
  margin-top: 0;
}

.legal-page ul {
  padding-left: 1.15rem;
}

.nav-simple {
  display: flex;
}

@media (max-width: 980px) {
  .nav-simple {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    border: 0;
    padding: 0;
  }
}


/* Logos and attribution for the student startup support */
.support-footer {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 0 22px;
  padding: 24px;
  text-align: center;
}

.support-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
}

.support-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  max-width: 280px;
  text-decoration: none;
}

.support-logo img {
  display: block;
  width: auto;
  max-width: min(260px, 38vw);
  max-height: 114px;
  height: auto;
  object-fit: contain;
}

.support-logo-tech img {
  width: min(260px, 42vw);
}

.support-logo-platform {
  width: min(240px, 28vw);
}

.support-logo-platform img {
  display: block;
  width: min(240px, 28vw);
  max-width: min(240px, 28vw);
  max-height: 114px;
  height: auto;
  object-fit: contain;
}

.support-logo-fasie img {
  display: block;
  width: min(220px, 38vw);
  height: 114px;
  max-width: min(220px, 38vw);
  max-height: 114px;
  object-fit: contain;
  flex-shrink: 0;
}

.support-footer .support-attribution {
  max-width: 980px;
  margin: 0 auto;
  color: #000;
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .support-footer {
    padding: 18px 14px;
  }

  .support-logos {
    gap: 18px;
  }

  .support-logo {
    min-height: 72px;
  }

  .support-logo img,
  .support-logo-tech img {
    max-width: min(240px, 76vw);
    max-height: 90px;
  }

  .support-logo-platform {
    width: min(220px, 76vw);
  }

  .support-logo-platform img {
    width: min(220px, 76vw);
    max-width: min(220px, 76vw);
    max-height: 90px;
  }

  .support-logo-fasie img {
    width: min(220px, 76vw);
    max-width: min(220px, 76vw);
    height: 90px;
    max-height: 90px;
  }
}


.support-footer .support-link,
.support-footer .support-link:visited,
.support-footer .support-link:hover,
.support-footer .support-link:focus-visible {
  color: #000;
}

.support-footer .support-link {
  display: inline-block;
  font-size: 0.9rem;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-footer .support-link:focus-visible {
  outline: 2px solid var(--sky-dark);
  outline-offset: 4px;
  border-radius: 2px;
}


/* Responsive project video */
.video-card {
  margin-top: 28px;
}

.video-card .video-lead {
  margin: -4px 0 18px;
}

.project-video {
  display: block;
  width: 100%;
  max-height:  min(72vh, 760px);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0b1c20;
  border-radius: 20px;
}


/* =========================================================
   HealthApp visual refresh — refined digital health identity
   ========================================================= */
:root {
  --mint: #36d6ad;
  --mint-dark: #0e9f7d;
  --sky: #7bc8f5;
  --sky-dark: #287fa5;
  --text: #142b2b;
  --muted: #657b7a;
  --bg: #f4f8f7;
  --surface: #ffffff;
  --line: rgba(20, 54, 51, .09);
  --radius: 24px;
  --shadow: 0 14px 40px rgba(22, 57, 53, .075);
  --max: 1180px;
  --nav-h: 76px;
}

body {
  color: var(--text);
  background:
    radial-gradient(ellipse at 12% 8%, rgba(54, 214, 173, .055), transparent 28rem),
    var(--bg);
  letter-spacing: -.012em;
}

::selection { background: rgba(54, 214, 173, .28); color: var(--text); }

.site-header {
  background: rgba(248, 251, 250, .88);
  border-bottom-color: rgba(20, 54, 51, .07);
  box-shadow: 0 4px 24px rgba(22, 57, 53, .035);
}

.brand { font-size: 1.08rem; letter-spacing: -.035em; }
.brand-logo { width: 42px; height: 42px; }
.nav { gap: 4px; }
.nav a {
  font-size: 13px;
  font-weight: 600;
  color: #42605d;
  padding: 10px 13px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav a:hover, .nav a:focus-visible { background: #eaf5f1; color: #087c62; }
.nav .nav-cta {
  color: #fff !important;
  background: #0e9f7d !important;
  box-shadow: 0 7px 18px rgba(14, 159, 125, .2);
}
.nav .nav-cta:hover { background: #087e64 !important; transform: translateY(-1px); }

.hero {
  isolation: isolate;
  padding: clamp(64px, 8vw, 104px) 0 88px;
  background:
    radial-gradient(circle at 78% 24%, rgba(91, 220, 184, .28), transparent 25rem),
    radial-gradient(circle at 12% 100%, rgba(78, 171, 203, .22), transparent 30rem),
    linear-gradient(128deg, #0b3434 0%, #10534c 52%, #123f51 100%);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  pointer-events: none;
}
.hero::before { width: 620px; height: 620px; right: -210px; top: -300px; }
.hero::after { width: 430px; height: 430px; right: -115px; top: -205px; }
.hero-grid { gap: clamp(36px, 6vw, 78px); }
.eyebrow {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  color: #c9f5e8;
  font-weight: 600;
  letter-spacing: .025em;
  padding: 8px 14px;
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 5vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  font-weight: 800;
}
.lead {
  max-width: 39rem;
  color: rgba(240, 255, 250, .8);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}
.hero-actions { gap: 14px; margin-top: 32px; }
.btn {
  min-height: 52px;
  padding: 0 23px;
  border-radius: 14px;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { color: #0b443a; box-shadow: 0 10px 25px rgba(0,0,0,.13); }
.btn-light:hover { box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.btn-ghost { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.hero-stats { gap: 10px; margin-top: 42px; }
.hero-stats div {
  padding: 16px 17px;
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.13);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}
.hero-stats strong { font-size: 1.08rem; letter-spacing: -.025em; }
.hero-stats span { display: block; margin-top: 3px; font-size: 11px; line-height: 1.45; }
.phone {
  box-shadow: 0 35px 90px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.18);
}
.phone.hero-phone { transform: rotate(2deg); }
.phone-screen { background: #f3f8f6; }
.app-hero { background: linear-gradient(145deg, #0e9f7d, #2b9fb0); }

.section {
  padding: clamp(62px, 7vw, 92px) 0;
}
#about { padding-bottom: 72px; }
#product { padding-top: 30px; }
.section-kicker {
  color: #0d9676;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 800;
}
.section-kicker::before { width: 22px; height: 3px; border-radius: 3px; }
.section h2 {
  color: #153a36;
  font-size: clamp(1.9rem, 3.5vw, 2.65rem);
  letter-spacing: -.05em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section > .wrap > .muted {
  max-width: 720px;
  line-height: 1.75;
}
.card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(28, 76, 68, .08);
  border-radius: 22px;
  box-shadow: 0 8px 28px rgba(22,57,53,.045);
  padding: 26px;
}
.card h3 { color: #173d38; letter-spacing: -.03em; }
.card p { color: #58706c; line-height: 1.75; }
.about-grid { gap: 20px; }
.about-grid > .card:first-child { border-top: 3px solid #35cba5; }
.about-grid > aside { background: linear-gradient(145deg, #fff, #f1faf6); }
.checklist { list-style: none; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 27px; color: #526b66; line-height: 1.5; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  color: #087e64; background: #dff7ed;
  font-size: 11px; font-weight: 800;
}
.feature-grid { gap: 16px; }
.feature-grid .card {
  min-height: 220px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-grid .card:hover, .steps .card:hover {
  transform: translateY(-4px);
  border-color: rgba(14,159,125,.22);
  box-shadow: 0 18px 38px rgba(22,57,53,.09);
}
.icon-box {
  width: 50px; height: 50px;
  border-radius: 16px;
  background: linear-gradient(145deg, #e1f8ef, #e5f3fb);
  border: 1px solid rgba(14,159,125,.08);
}
.steps { gap: 14px; }
.steps .card { background: #fafffd; padding: 22px; }
.steps span {
  width: 38px; height: 38px; border-radius: 13px;
  color: #087e64; background: #dcf7ed;
  font-size: 12px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 13px; margin-bottom: 0; }

#tech { background: #edf5f2; }
.tech-grid { margin-top: 28px; }
.tech-grid .card { padding: 18px 26px; }
.tech-table { margin: 0; }
.tech-table th, .tech-table td {
  padding: 15px 12px;
  border-bottom-color: rgba(20,54,51,.08);
  line-height: 1.55;
}
.tech-table th { color: #66807a; font-size: 13px; }
.tech-table td { color: #294944; font-size: 14px; }
.scheme-card { overflow: hidden; }
.scheme-card figcaption {
  color: #244b44;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.02em;
}
.scheme-card img { border-radius: 14px; }
.scheme-wide, .flow-card, .devices-card { padding: 24px; }

#gallery { background: #f8fbfa; }
#gallery > .wrap > .muted { max-width: 760px; }
.shot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.shot {
  padding: 12px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.shot:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(22,57,53,.1); }
.shot img {
  border-radius: 13px;
  background: #eaf2ef;
}
.shot figcaption {
  padding: 5px 7px 3px;
  color: #385e56;
  font-size: 13px;
  font-weight: 650;
}
.shot-logo { min-height: 100%; }
.video-card {
  margin-top: 34px;
  padding: clamp(18px, 3vw, 32px);
  background: linear-gradient(145deg, #fff, #f0faf6);
  border-color: rgba(14,159,125,.13);
}
.video-card .video-lead { color: #66807a; }
.project-video {
  max-height: min(76vh, 820px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #092d2b;
  box-shadow: 0 14px 36px rgba(9,45,43,.16);
}
.demo-canvas {
  background:
    radial-gradient(circle at 50% 10%, rgba(54,214,173,.14), transparent 22rem),
    #eaf5f1;
  border: 1px solid rgba(14,159,125,.08);
}
.chip { color: #3c6159; font-weight: 650; }
.chip.is-on { background: #0e9f7d; }

#news { background: #edf5f2; }
.news-grid { gap: 16px; }
.news-card { transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card time { color: #0e9676; }

#contacts .card { height: 100%; }
.contact-grid { gap: 18px; }
.contact-grid a { color: #087e64; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.support-footer {
  border: 1px solid rgba(255,255,255,.1);
  background: #fff;
  box-shadow: 0 12px 34px rgba(0,0,0,.08);
}
.site-footer {
  background:
    radial-gradient(circle at 80% 0%, rgba(54,214,173,.12), transparent 24rem),
    #0b2929;
  color: #d9eee8;
  padding: 38px 0 28px;
}
.site-footer a { color: #79dfc1; }
.footer-bottom { color: #9abbb1; }
.social {
  background: #164b45;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: none;
  transition: transform .2s ease, background .2s ease;
}
.social:hover { background: #0e9f7d; transform: translateY(-2px); }

.menu-btn {
  color: #17473f;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(22,57,53,.06);
}
:focus-visible { outline: 3px solid rgba(54,214,173,.65); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid > div:first-child { max-width: 760px; }
  .phone.hero-phone { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 24px)); }
  .hero { padding: 48px 0 54px; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 28px; }
  .hero-stats div { padding: 11px 9px; border-radius: 13px; }
  .hero-stats strong { font-size: .95rem; }
  .hero-stats span { font-size: 10px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .phone { width: min(320px, 88vw); height: min(640px, 176vw); }
  .section { padding: 54px 0; }
  .feature-grid, .steps, .shot-grid { grid-template-columns: 1fr; }
  .feature-grid .card { min-height: auto; }
  .card { padding: 20px; border-radius: 19px; }
  .tech-grid .card { padding: 12px; overflow-x: auto; }
  .tech-table { min-width: 560px; }
  .scheme-wide, .flow-card, .devices-card { padding: 16px; }
  .shot { max-width: 430px; width: 100%; margin-inline: auto; }
  .video-card { padding: 16px; }
  .project-video { aspect-ratio: 9 / 16; max-height: 72vh; }
  .support-footer { padding: 18px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Smartphone frame for the product walkthrough video */
.video-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.video-card > figcaption,
.video-card > .video-lead { width: 100%; }
.video-device {
  width: min(100%, 370px);
  aspect-ratio: 9 / 16;
  padding: 10px;
  position: relative;
  border-radius: 48px;
  background: linear-gradient(145deg, #183d3a, #071b1a 58%, #244b46);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 24px 55px rgba(8,44,39,.2), inset 0 1px 1px rgba(255,255,255,.28), inset 0 0 0 2px rgba(0,0,0,.2);
}
.video-device::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 5px;
  border-radius: 10px;
  background: rgba(5,23,22,.58);
  box-shadow: 0 1px 0 rgba(255,255,255,.12);
  pointer-events: none;
}
.video-device-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: #061b19;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.project-video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  background: #061b19;
  box-shadow: none;
}
@media (max-width: 640px) {
  .video-device {
    width: min(100%, 340px);
    border-radius: 42px;
    padding: 9px;
  }
  .video-device-screen { border-radius: 34px; }
  .video-device::before { top: 13px; }
}

/* HEALTHAPP PREMIUM LANDING EXPERIENCE */
html { scroll-padding-top: 92px; }
body { overflow-x: clip; }
.wrap { width: min(1220px, calc(100% - 48px)); }
.site-header { height:82px; background:rgba(248,251,250,.82); border-bottom:1px solid rgba(17,64,56,.08); backdrop-filter:blur(22px) saturate(150%); }
.header-inner { max-width:1320px; }
.brand { font-size:1.14rem; font-weight:800; gap:12px; }
.brand-logo { width:44px; height:44px; }
.nav a { font-size:13px; padding:11px 15px; }
.nav .nav-cta { padding-inline:20px; }
.hero {
 min-height:690px; display:flex; align-items:center; padding:clamp(72px,9vw,124px) 0 100px;
 background:radial-gradient(ellipse at 75% 22%,rgba(86,230,190,.25),transparent 34rem),radial-gradient(ellipse at 6% 100%,rgba(70,166,199,.2),transparent 30rem),linear-gradient(125deg,#082e2d 0%,#0c4942 48%,#123e4d 100%);
}
.hero::before { width:780px;height:780px;right:-330px;top:-420px;border-color:rgba(255,255,255,.1);box-shadow:0 0 0 55px rgba(255,255,255,.018),0 0 0 110px rgba(255,255,255,.014); }
.hero::after { width:500px;height:500px;right:-180px;top:-270px; }
.hero-grid { width:min(1320px,calc(100% - 64px));grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr);gap:clamp(44px,7vw,100px); }
.hero h1 { max-width:760px;font-size:clamp(3rem,5.2vw,5.25rem);line-height:.99;letter-spacing:-.065em;font-weight:800; }
.lead { max-width:590px;margin-top:24px;font-size:clamp(1.02rem,1.35vw,1.18rem);line-height:1.8;color:rgba(236,250,246,.78); }
.eyebrow { padding:9px 15px;border:1px solid rgba(210,255,240,.18);background:rgba(255,255,255,.085);color:#c8f7e8;letter-spacing:.035em;font-size:12px;font-weight:700; }
.hero-actions { margin-top:34px;gap:12px; }
.btn { min-height:54px;padding-inline:24px;border-radius:15px;font-size:14px;font-weight:700; }
.btn-light { color:#0c4339;box-shadow:0 12px 30px rgba(0,0,0,.16); }
.btn-light::after { content:"↗";margin-left:12px;font-size:17px; }
.btn-ghost { border-color:rgba(226,255,246,.24); }
.hero-stats { max-width:590px;gap:10px;margin-top:48px; }
.hero-stats div { padding:16px 17px;border:1px solid rgba(255,255,255,.13);border-radius:17px;background:rgba(255,255,255,.065);backdrop-filter:blur(12px); }
.hero-stats strong { font-size:1.05rem; }
.hero-stats span { font-size:11px;line-height:1.5; }
.phone-stage { min-height:540px;position:relative;isolation:isolate; }
.hero .phone-stage::before,.hero .phone-stage::after { position:absolute;z-index:-1;display:flex;align-items:center;gap:9px;padding:13px 17px;border:1px solid rgba(255,255,255,.45);border-radius:16px;background:rgba(250,255,252,.9);color:#214e45;box-shadow:0 18px 48px rgba(0,0,0,.17);backdrop-filter:blur(14px);font-size:12px;font-weight:750;white-space:nowrap;animation:floatCard 6s ease-in-out infinite; }
.hero .phone-stage::before { content:"✦  Персональная сводка дня";top:16%;left:-12%; }
.hero .phone-stage::after { content:"↗  Сон · питание · активность";right:-13%;bottom:17%;animation-delay:-2.7s; }
.phone.hero-phone { transform:rotate(3deg) translateY(3px);animation:phoneFloat 7s ease-in-out infinite;box-shadow:0 45px 100px rgba(0,0,0,.38),0 0 0 1px rgba(255,255,255,.22); }
.phone { border-radius:46px; }
.phone-screen { border-radius:35px; }
.section { padding:clamp(76px,9vw,118px) 0;position:relative; }
.section:nth-of-type(even) { background:rgba(231,243,239,.48); }
.section-kicker { color:#0b9272;font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;margin-bottom:16px; }
.section-kicker::before { width:24px;height:3px; }
.section h2 { max-width:850px;margin-bottom:18px;color:#123b35;font-size:clamp(2.15rem,4vw,3.35rem);line-height:1.07;letter-spacing:-.06em; }
.section > .wrap > .muted { max-width:720px;font-size:15px;line-height:1.8; }
.card { padding:clamp(22px,2.5vw,32px);border:1px solid rgba(22,75,64,.075);border-radius:24px;background:rgba(255,255,255,.88);box-shadow:0 10px 34px rgba(20,66,57,.045); }
.card h3 { color:#173e37;font-size:1.08rem;letter-spacing:-.025em; }
.card p { color:#607771;line-height:1.8; }
.about-grid { gap:20px; }
.about-grid > article { position:relative;overflow:hidden; }
.about-grid > article::after { content:"HA";position:absolute;right:20px;bottom:-44px;color:rgba(18,157,121,.045);font-size:150px;font-weight:800;letter-spacing:-.1em;pointer-events:none; }
.about-grid > aside { background:linear-gradient(145deg,#fff,#effaf5); }
.checklist { display:grid;gap:13px;list-style:none;padding:0; }
.checklist li { position:relative;padding-left:28px;color:#526d65; }
.checklist li::before { content:"✓";position:absolute;left:0;top:1px;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;color:#087c61;background:#dff7ed;font-size:11px;font-weight:800; }
.feature-grid { gap:16px; }
.feature-grid .card { min-height:235px;position:relative;overflow:hidden;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease; }
.feature-grid .card::after { content:"";position:absolute;width:120px;height:120px;right:-62px;bottom:-62px;border-radius:50%;background:rgba(53,205,164,.075);transition:transform .35s ease; }
.feature-grid .card:hover { transform:translateY(-7px);border-color:rgba(14,159,125,.22);box-shadow:0 22px 48px rgba(17,75,61,.1); }
.feature-grid .card:hover::after { transform:scale(1.7); }
.icon-box { width:54px;height:54px;border-radius:17px;background:linear-gradient(145deg,#e0f8ed,#e5f3fa); }
.steps { gap:14px; }
.steps .card { background:#fbfefc;padding:22px; }
.steps span { background:#dff7ed;color:#087c61; }
#tech { background:#edf5f2; }
.tech-grid .card { padding:clamp(16px,2.4vw,28px); }
.tech-table th,.tech-table td { padding:16px 13px; }
.tech-table th { color:#6b837c;font-size:13px; }
.tech-table td { color:#294d44;font-size:14px; }
.scheme-card { overflow:hidden; }
.scheme-card figcaption { color:#214a40;font-weight:750;font-size:15px; }
.scheme-wide,.flow-card,.devices-card { padding:clamp(18px,3vw,32px); }
.scheme-card img { border-radius:15px; }
#gallery { background:#f7fbf9; }
#gallery .devices-card { background:linear-gradient(140deg,#fff,#eff9f5); }
.shot-grid { gap:18px; }
.shot { padding:12px;border-radius:20px;transition:transform .25s ease,box-shadow .25s ease; }
.shot:hover { transform:translateY(-5px);box-shadow:0 20px 44px rgba(18,68,58,.1); }
.shot img { border-radius:13px; }
.shot figcaption { color:#355e53;font-weight:700; }
.gallery-sub { margin-top:48px;color:#173f37;font-size:1.45rem; }
.video-card { margin-top:34px;padding:clamp(22px,3.5vw,40px);background:linear-gradient(145deg,#fff,#eff9f5);border-color:rgba(14,159,125,.13); }
.video-device { width:min(100%,390px); }
.demo-card { margin-top:42px; }
.demo-canvas { min-height:560px;padding:42px 18px;border-radius:24px;background:radial-gradient(circle at 50% 12%,rgba(54,214,173,.16),transparent 22rem),linear-gradient(135deg,#e8f7f1,#e8f3f6); }
.demo-card .phone { transform:rotate(-1.5deg);box-shadow:0 32px 70px rgba(12,65,54,.22),0 0 0 1px rgba(255,255,255,.7); }
.demo-controls { gap:9px; }
.chip { padding:10px 17px;font-size:12px;font-weight:700;transition:transform .2s ease,background .2s ease,box-shadow .2s ease; }
.chip:hover { transform:translateY(-2px); }
.chip.is-on { background:#0e9f7d;box-shadow:0 8px 18px rgba(14,159,125,.2); }
.screen { animation:screenIn .35s ease both; }
.screen:not(.is-on) { animation:none; }
#news { background:#edf5f2; }
.news-grid { gap:16px; }
.news-grid .card { transition:transform .25s ease,box-shadow .25s ease; }
.news-grid .card:hover { transform:translateY(-5px);box-shadow:var(--shadow); }
.news-grid time { color:#0e9876;letter-spacing:.03em; }
#contacts .contact-grid { gap:18px; }
#contacts .contact-grid > * { min-width:0; }
#contacts address { line-height:1.85; }
#contacts .contact-grid > .card:last-child { background:linear-gradient(145deg,#fff,#eff9f5); }
.contact-grid a { color:#087e64;text-decoration-thickness:1px;text-underline-offset:3px; }
.site-footer { padding:44px 0 30px;background:radial-gradient(ellipse at 85% 0%,rgba(54,214,173,.12),transparent 26rem),#092b2a; }
.site-footer a { color:#7de1c2; }
.support-footer { border-radius:24px; }
.support-footer .support-attribution { color:#23483f; }
.social { background:#164b45;border:1px solid rgba(255,255,255,.12);box-shadow:none;transition:transform .2s ease,background .2s ease; }
.social:hover { background:#0e9f7d;transform:translateY(-3px); }
.menu-btn { color:#17473f;border:1px solid rgba(20,54,51,.1);box-shadow:0 5px 16px rgba(22,57,53,.07); }
:focus-visible { outline:3px solid rgba(54,214,173,.65);outline-offset:3px; }
.js-ready .reveal { opacity:0;transform:translateY(24px);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1); }
.js-ready .reveal.is-visible { opacity:1;transform:translateY(0); }
.reveal-delay-1 { transition-delay:.08s !important; }
.reveal-delay-2 { transition-delay:.16s !important; }
.reveal-delay-3 { transition-delay:.24s !important; }
.page-progress { position:fixed;z-index:80;top:0;left:0;height:3px;width:0;background:linear-gradient(90deg,#36d6ad,#7bc8f5);box-shadow:0 0 12px rgba(54,214,173,.55);pointer-events:none; }
@keyframes phoneFloat { 0%,100% { transform:rotate(3deg) translateY(3px); } 50% { transform:rotate(1deg) translateY(-13px); } }
@keyframes floatCard { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }
@keyframes screenIn { from { opacity:.35;transform:translateY(7px); } to { opacity:1;transform:translateY(0); } }
@media(max-width:980px) {
 .hero { min-height:auto; }
 .hero-grid { width:min(760px,calc(100% - 40px));grid-template-columns:1fr;gap:36px; }
 .hero h1 { font-size:clamp(2.8rem,8vw,4.5rem); }
 .phone-stage { min-height:500px; }
 .hero .phone-stage::before { left:0; }
 .hero .phone-stage::after { right:0; }
 .feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .shot-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:640px) {
 .wrap { width:min(100% - 28px,560px); }
 .site-header { height:70px; }
 .hero { padding:56px 0 52px; }
 .hero-grid { width:calc(100% - 32px); }
 .hero h1 { font-size:clamp(2.35rem,11vw,3.25rem); }
 .lead { font-size:1rem; }
 .hero-actions { flex-direction:column;align-items:stretch; }
 .hero-actions .btn { width:100%; }
 .hero-stats { grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:30px; }
 .hero-stats div { padding:11px 9px; }
 .hero-stats strong { font-size:.9rem; }
 .hero-stats span { font-size:9px; }
 .phone-stage { min-height:470px; }
 .hero .phone-stage::before,.hero .phone-stage::after { font-size:9px;padding:9px 11px; }
 .hero .phone-stage::before { top:8%;left:-5px; }
 .hero .phone-stage::after { right:-5px;bottom:8%; }
 .section { padding:62px 0; }
 .section h2 { font-size:clamp(2rem,9vw,2.65rem); }
 .feature-grid,.steps,.shot-grid,.news-grid,.contact-grid { grid-template-columns:1fr; }
 .feature-grid .card { min-height:auto; }
 .card { padding:21px;border-radius:20px; }
 .tech-grid .card { overflow-x:auto; }
 .tech-table { min-width:560px; }
 .demo-canvas { min-height:0;padding:28px 8px; }
 .demo-card .phone { transform:none; }
 .video-device { width:min(100%,340px); }
 .video-card { padding:18px; }
 .shot { max-width:440px;width:100%;margin-inline:auto; }
 .support-footer { padding:18px 14px; }
}
@media(prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important; }
 .js-ready .reveal { opacity:1;transform:none; }
}

/* Newsroom: dated updates, category filters and featured story */
.news-section {
  background:
    radial-gradient(ellipse at 92% 8%, rgba(80,214,177,.13), transparent 28rem),
    linear-gradient(180deg, #f3faf7 0%, #eaf4f0 100%);
}
.news-heading {
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:28px; margin-bottom:30px;
}
.news-heading h2 { margin-bottom:12px; }
.news-intro { max-width:620px; color:#627c73; line-height:1.75; }
.news-heading-note {
  display:inline-flex; align-items:center; gap:9px; flex:none;
  margin-bottom:8px; padding:11px 15px; border:1px solid rgba(14,145,111,.14);
  border-radius:999px; background:rgba(255,255,255,.72);
  color:#2c6c5a; font-size:12px; font-weight:750;
}
.news-live-dot {
  width:8px;height:8px;border-radius:50%;background:#20b889;
  box-shadow:0 0 0 4px rgba(32,184,137,.13);
}
.news-toolbar { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 22px; }
.news-filter {
  appearance:none; border:1px solid rgba(29,91,75,.12); border-radius:999px;
  padding:10px 16px; background:rgba(255,255,255,.72); color:#47675d;
  font:inherit; font-size:12px; font-weight:750; cursor:pointer;
  transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}
.news-filter:hover { transform:translateY(-2px); border-color:rgba(14,159,125,.3); }
.news-filter.is-active { color:#fff; background:#0e9274; border-color:#0e9274; box-shadow:0 7px 18px rgba(14,146,116,.18); }
.news-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; align-items:stretch; }
.news-card {
  min-height:225px; display:flex; flex-direction:column; align-items:flex-start;
  padding:clamp(22px,2.7vw,32px); border:1px solid rgba(23,87,69,.09);
  border-radius:23px; background:rgba(255,255,255,.88);
  box-shadow:0 10px 30px rgba(20,66,57,.045);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.news-card:hover { transform:translateY(-5px); border-color:rgba(14,159,125,.23); box-shadow:0 20px 44px rgba(20,66,57,.1); }
.news-card-featured {
  background:linear-gradient(135deg,#0d4b42 0%,#0d6b59 100%);
  border-color:transparent; color:#fff;
}
.news-card-featured h3 { color:#fff; }
.news-card-featured p { color:rgba(239,255,249,.76); }
.news-card-top { width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:23px; }
.news-card time { color:#6b8c80; font-size:11px; font-weight:750; letter-spacing:.04em; white-space:nowrap; }
.news-card-featured time { color:rgba(235,255,247,.7); }
.news-tag {
  display:inline-flex; padding:7px 10px; border-radius:999px;
  background:#e5f7ef; color:#0a8063; font-size:10px; font-weight:800;
  letter-spacing:.04em; text-transform:uppercase;
}
.news-card-featured .news-tag { background:rgba(224,255,243,.14); color:#c7f7e6; }
.news-card h3 { margin:0 0 10px; color:#173f36; font-size:clamp(1.12rem,1.8vw,1.35rem); letter-spacing:-.035em; }
.news-card p { margin:0 0 22px; color:#607970; font-size:13px; line-height:1.8; }
.news-card-link {
  display:inline-flex; align-items:center; gap:8px; margin-top:auto;
  color:#078363; font-size:12px; font-weight:800; text-decoration:none;
}
.news-card-featured .news-card-link { color:#c4f6e5; }
a.news-card-link:hover { text-decoration:underline; text-underline-offset:4px; }
.news-card[hidden] { display:none !important; }
.news-empty { margin:20px 0 0; color:#6a8179; font-size:14px; }
@media(max-width:700px) {
  .news-heading { align-items:flex-start; flex-direction:column; gap:12px; }
  .news-heading-note { margin:0; }
  .news-toolbar { gap:7px; }
  .news-filter { padding:9px 12px; font-size:11px; }
  .news-grid { grid-template-columns:1fr; }
  .news-card { min-height:0; }
  .news-card-top { margin-bottom:18px; }
}

/* Refined contact links: clear, minimal, high-contrast icon buttons */
#contacts .socials { display:flex; flex-wrap:wrap; gap:12px; margin:22px 0 18px; }
#contacts .social,
.socials-footer .social {
  display:grid; place-items:center; width:48px; height:48px; padding:0;
  color:#087f68 !important; background:#f0faf6; border:1px solid #d5eee4;
  border-radius:15px; box-shadow:0 4px 12px rgba(13,91,69,.055);
}
#contacts .social svg,.socials-footer .social svg { width:21px; height:21px; }
#contacts .social:hover,.socials-footer .social:hover {
  color:#fff !important; background:#0b9877; border-color:#0b9877;
  transform:translateY(-3px); box-shadow:0 9px 20px rgba(11,152,119,.2);
}
.socials-footer .social { width:38px;height:38px;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);color:#b7f4df !important; }

/* News: calm editorial cards, no filter controls or heavy dark panel */
.news-section { background:linear-gradient(180deg,#f5faf8,#edf5f2); }
.news-heading { margin-bottom:30px; }
.news-card { background:#fff; border:1px solid rgba(22,75,64,.08); }
.news-card-featured {
  background:linear-gradient(145deg,#fff 0%,#f0faf5 100%);
  border:1px solid rgba(14,145,111,.15); color:#173f36;
}
.news-card-featured h3 { color:#173f36; }
.news-card-featured p { color:#607970; }
.news-meta {
  display:flex; align-items:center; gap:8px; margin-bottom:22px;
  color:#0a8c6c; font-size:12px; font-weight:750; letter-spacing:.015em;
}
.news-meta span { color:#a0b8ae; }
.news-meta time { color:#81968d; font-size:12px; font-weight:650; }
.news-card-featured .news-meta { color:#0a8c6c; }
.news-card-featured .news-card-link { color:#087f68; }
.news-card-top,.news-tag { display:none !important; }
.news-toolbar,.news-heading-note { display:none !important; }

/* Real app screenshot gallery and version switch */
.prototype-showcase {
  margin-top:42px; padding:clamp(22px,3.2vw,38px);
  border:1px solid rgba(17,91,69,.09); border-radius:28px;
  background:linear-gradient(145deg,#fff 0%,#f0f9f5 100%);
  box-shadow:0 18px 48px rgba(20,66,57,.055);
}
.prototype-version-head {
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:24px; margin-bottom:28px;
}
.prototype-eyebrow {
  display:block; margin-bottom:10px; color:#0a9674;
  font-size:10px; font-weight:850; letter-spacing:.15em; text-transform:uppercase;
}
.prototype-version-head h3 {
  margin:0 0 9px; color:#143f36; font-size:clamp(1.7rem,3vw,2.25rem);
  letter-spacing:-.055em;
}
.prototype-version-head p { max-width:620px; margin:0; color:#6b8179; font-size:13px; line-height:1.7; }
.version-switch {
  display:inline-flex; flex:none; gap:5px; padding:5px;
  border:1px solid #dcece5; border-radius:14px; background:#eaf4ef;
}
.version-tab {
  display:flex; align-items:center; gap:6px; border:0; border-radius:10px;
  padding:10px 16px; background:transparent; color:#58736a;
  font:inherit; font-size:13px; font-weight:800; cursor:pointer;
  transition:background .2s ease,color .2s ease,box-shadow .2s ease;
}
.version-tab.is-active { color:#fff; background:#0c9674; box-shadow:0 5px 13px rgba(12,150,116,.2); }
.version-tab:disabled { opacity:.48; cursor:not-allowed; }
.version-tab span { font-size:9px; font-weight:650; }
.device-shot-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.device-shot {
  min-width:0; margin:0; padding:12px; border:1px solid rgba(26,83,67,.08);
  border-radius:20px; background:rgba(255,255,255,.86);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.device-shot:hover { transform:translateY(-5px); border-color:rgba(13,159,123,.2); box-shadow:0 16px 34px rgba(16,76,58,.09); }
.device-shot-open {
  display:block; position:relative; width:100%; padding:0; overflow:hidden;
  border:0; border-radius:13px; background:#eaf3ef; cursor:zoom-in;
}
.device-shot-open img { display:block; width:100%; height:auto; aspect-ratio:460/1024; object-fit:cover; object-position:top; }
.device-shot-open span {
  position:absolute; right:10px; top:10px; display:grid; place-items:center;
  width:30px;height:30px;border-radius:10px;background:rgba(255,255,255,.92);
  color:#087e64; opacity:0; transform:translateY(4px); transition:.2s ease;
}
.device-shot:hover .device-shot-open span,.device-shot-open:focus-visible span { opacity:1; transform:none; }
.device-shot figcaption { display:flex; flex-direction:column; gap:4px; padding:13px 5px 4px; }
.device-shot figcaption b { color:#244b40; font-size:13px; }
.device-shot figcaption small { color:#80938b; font-size:11px; }
.version-coming {
  min-height:300px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:35px; text-align:center; border:1px dashed #c9e5d9; border-radius:20px;
  background:rgba(255,255,255,.65);
}
.version-coming-icon { display:grid;place-items:center;width:54px;height:54px;margin-bottom:16px;border-radius:17px;background:#e1f6ec;color:#0a9874;font-size:25px; }
.version-coming h4 { margin:0 0 9px;color:#1b4a3e;font-size:18px; }
.version-coming p { max-width:470px;margin:0;color:#71877e;font-size:13px;line-height:1.75; }
.image-lightbox[hidden],.prototype-version-panel[hidden] { display:none !important; }
.image-lightbox {
  position:fixed; z-index:200; inset:0; display:flex; align-items:center; justify-content:center;
  padding:30px; background:rgba(5,25,22,.88); backdrop-filter:blur(12px);
}
.image-lightbox img { max-height:90vh; max-width:min(90vw,540px); width:auto; border-radius:20px; box-shadow:0 30px 90px rgba(0,0,0,.4); }
.lightbox-close {
  position:absolute; top:22px; right:25px; width:44px;height:44px;
  border:1px solid rgba(255,255,255,.25);border-radius:50%;
  background:rgba(255,255,255,.12);color:#fff;font-size:27px;cursor:pointer;
}

/* Minimal video controls: play/pause, elapsed time and scrubber only */
.video-device-screen { position:relative; overflow:hidden; }
.project-video { display:block; width:100%; height:auto; aspect-ratio:9/16; object-fit:contain; background:#061f1d; }
.video-controls {
  position:absolute; left:12px; right:12px; bottom:12px; z-index:3;
  display:flex; align-items:center; gap:10px; padding:9px 11px;
  border:1px solid rgba(255,255,255,.13); border-radius:14px;
  background:rgba(4,26,23,.82); color:#fff; backdrop-filter:blur(12px);
}
.video-play {
  display:grid; place-items:center; flex:none; width:30px;height:30px;
  border:0;border-radius:50%;background:#d9f8eb;color:#08765e;cursor:pointer;font-size:11px;
}
.video-current,.video-duration { color:rgba(255,255,255,.88);font-size:10px;font-variant-numeric:tabular-nums; }
.video-seek { min-width:0; flex:1; height:3px; accent-color:#62e0b7; cursor:pointer; }
.video-controls .video-play:hover { transform:scale(1.06); }
@media(max-width:850px) { .device-shot-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) {
  .prototype-showcase { padding:18px 14px; border-radius:22px; }
  .prototype-version-head { align-items:flex-start; flex-direction:column; gap:16px; }
  .device-shot-grid { gap:10px; }
  .device-shot { padding:7px; border-radius:15px; }
  .device-shot figcaption { padding:10px 3px 3px; }
  .device-shot figcaption b { font-size:11px; }
  .device-shot figcaption small { font-size:9px; }
  .version-coming { min-height:240px; padding:24px 18px; }
  .video-controls { left:8px;right:8px;bottom:8px;gap:7px;padding:7px 8px; }
  .video-current,.video-duration { font-size:9px; }
  #contacts .social { width:44px;height:44px; }
}


/* Prototype showcase v1: original phone presentation with real screenshots */
.demo-showcase {
  margin-top:42px; padding:clamp(22px,3.2vw,38px);
  border:1px solid rgba(17,91,69,.09); border-radius:28px;
  background:linear-gradient(145deg,#fff 0%,#eff9f5 100%);
  box-shadow:0 18px 48px rgba(20,66,57,.055);
}
.demo-showcase-head {
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:24px; margin-bottom:24px;
}
.demo-showcase-head h3 {
  margin:0 0 9px; color:#153f36; font-size:clamp(1.55rem,2.7vw,2.1rem);
  letter-spacing:-.05em;
}
.demo-showcase-head .section-kicker { margin:0 0 9px; }
.demo-showcase-head .muted { margin:0; color:#6b8179; font-size:13px; line-height:1.7; }
.demo-version-switch {
  display:inline-flex; align-items:center; gap:5px; flex:none;
  padding:5px; border:1px solid #dcece5; border-radius:14px; background:#eaf4ef;
}
.demo-version-label { padding:0 8px; color:#789087; font-size:11px; font-weight:700; }
.demo-version-tab {
  display:inline-flex; align-items:center; gap:5px; padding:9px 13px;
  border:0; border-radius:10px; background:transparent; color:#58736a;
  font:inherit; font-size:12px; font-weight:800;
}
.demo-version-tab.is-active { color:#fff; background:#0c9674; box-shadow:0 5px 13px rgba(12,150,116,.2); }
.demo-version-tab:disabled { opacity:.48; cursor:not-allowed; }
.demo-version-tab small { font-size:9px; font-weight:650; }
.demo-showcase-stage {
  display:flex; align-items:center; justify-content:center;
  min-height:390px; padding:28px 18px;
  border:1px solid rgba(14,145,111,.08); border-radius:22px;
  background:radial-gradient(ellipse at 50% 42%,rgba(255,255,255,.92),transparent 42%),linear-gradient(135deg,#e1f3ed,#eaf7f2 54%,#e0f1eb);
  overflow:hidden;
}
.demo-phone-frame {
  width:min(100%,230px); aspect-ratio:460/1024; padding:8px;
  border-radius:34px; background:linear-gradient(145deg,#153f3a,#071d1a 65%,#28554c);
  border:1px solid rgba(255,255,255,.8);
  box-shadow:0 22px 48px rgba(12,57,47,.23),inset 0 0 0 2px rgba(0,0,0,.14);
  transition:transform .35s ease,box-shadow .35s ease;
}
.demo-phone-frame:hover { transform:translateY(-3px); box-shadow:0 28px 55px rgba(12,57,47,.27),inset 0 0 0 2px rgba(0,0,0,.14); }
.demo-phone-screen {
  position:relative; width:100%; height:100%; overflow:hidden;
  border-radius:27px; background:#f7fbf9;
}
.demo-screen-shot {
  position:absolute; inset:0; display:block; width:100%; height:100%;
  object-fit:cover; object-position:top center; opacity:0;
  transform:scale(1.015); transition:opacity .45s ease,transform .6s ease;
}
.demo-screen-shot.is-on { opacity:1; transform:scale(1); }
.demo-screen-picker {
  display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:18px;
}
.demo-screen-tab {
  padding:9px 14px; border:1px solid rgba(26,104,81,.12); border-radius:999px;
  background:#fff; color:#547168; font:inherit; font-size:11px; font-weight:750;
  cursor:pointer; transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}
.demo-screen-tab:hover { transform:translateY(-2px); border-color:#9ddbc5; }
.demo-screen-tab.is-on { color:#fff; background:#0c9674; border-color:#0c9674; box-shadow:0 6px 15px rgba(12,150,116,.16); }

/* Video crop: remove side mattes, earpiece decoration and recorded status bar */
.video-device { padding:0; border:0; background:transparent; box-shadow:none; overflow:hidden; }
.video-device::before { display:none !important; content:none !important; }
.video-device-screen { border-radius:30px; box-shadow:none; background:#061b19; }
.project-video {
  width:100%; height:100%; object-fit:cover; object-position:center;
  transform:scale(1.13) translateY(-3.2%);
  transform-origin:center center;
}
.video-controls { z-index:5; }
@media(max-width:640px) {
  .demo-showcase { padding:18px 14px; border-radius:22px; }
  .demo-showcase-head { align-items:flex-start; flex-direction:column; gap:14px; }
  .demo-showcase-stage { min-height:330px; padding:20px 12px; }
  .demo-phone-frame { width:min(68vw,210px); }
  .demo-screen-picker { gap:6px; }
  .demo-screen-tab { padding:8px 11px; font-size:10px; }
  .video-device-screen { border-radius:24px; }
}

/* Video: restore a clean smartphone bezel while keeping the footage edge-to-edge.
   The recorded side mattes/status bar are cropped inside the screen; no earpiece pill. */
.video-card { align-items: center; }
.video-device {
  width: min(100%, 350px);
  aspect-ratio: 9 / 16;
  height: auto;
  padding: 9px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 46px;
  background: linear-gradient(145deg, #193f3a 0%, #071d1a 62%, #254b44 100%);
  box-shadow: 0 24px 55px rgba(8,44,39,.2), inset 0 1px 1px rgba(255,255,255,.24), inset 0 0 0 2px rgba(0,0,0,.18);
}
.video-device::before { display: none !important; content: none !important; }
.video-device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 37px;
  background: #061b19;
  box-shadow: none;
}
.project-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: inherit;
  background: #061b19;
  box-shadow: none;
  transform: scale(1.13) translateY(-3.2%);
  transform-origin: center center;
}
.video-controls { z-index: 5; }
@media (max-width: 640px) {
  .video-device { width: min(100%, 320px); padding: 8px; border-radius: 40px; }
  .video-device-screen { border-radius: 32px; }
}


/* Video frame: preserve the complete recording and match the phone bezel to its native ratio. */
.video-device{width:min(100%,350px);aspect-ratio:9/16;height:auto;padding:9px;position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.62);border-radius:46px;background:linear-gradient(145deg,#193f3a 0%,#071d1a 62%,#254b44 100%);box-shadow:0 24px 55px rgba(8,44,39,.2),inset 0 1px 1px rgba(255,255,255,.24),inset 0 0 0 2px rgba(0,0,0,.18)}
.video-device::before{display:none!important;content:none!important}
.video-device-screen{position:relative;width:100%;height:100%;overflow:hidden;border-radius:37px;background:#061b19;box-shadow:none}
.project-video{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;border:0;border-radius:inherit;background:#061b19;box-shadow:none;transform:none!important}
.video-controls{z-index:5}
@media(max-width:640px){.video-device{width:min(100%,320px);padding:8px;border-radius:40px}.video-device-screen{border-radius:32px}}


/* Video frame v2: keep the complete source image visible and let the phone bezel
   follow the video's intrinsic dimensions instead of forcing a 9:16 crop. */
.video-device {
  width: min(100%, 350px);
  height: auto;
  aspect-ratio: 9 / 16;
  padding: 9px;
  overflow: hidden;
}
.video-device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 37px;
  background: #061b19;
}
.video-device .project-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain !important;
  object-position: center center;
  transform: none !important;
  border: 0;
  border-radius: inherit;
}
.video-device .video-controls { z-index: 6; }
@media (max-width: 640px) {
  .video-device { width: min(100%, 320px); padding: 8px; }
  .video-device-screen { border-radius: 32px; }
}


/* Prototype showcase: version switching and full-screen capture previews. */
.demo-version-panel[hidden] { display:none !important; }
.demo-version-panel { animation:demoPanelIn .32s ease both; }
@keyframes demoPanelIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.demo-version-caption { margin:0 0 12px; color:#71877e; text-align:center; font-size:12px; font-weight:650; }
.demo-version-tab { cursor:pointer; }
.demo-version-tab:focus-visible,.demo-screen-tab:focus-visible { outline:3px solid rgba(12,150,116,.35); outline-offset:3px; }
.demo-phone-frame-v2 { width:min(100%,230px); aspect-ratio:1/2; }
.demo-phone-frame-v2 .demo-phone-screen { border-radius:27px; background:#f7f6f2; }
.demo-phone-frame-v2 .demo-screen-shot { object-fit:contain; object-position:center; background:#f7f6f2; }
.demo-screen-shot { cursor:zoom-in; }
.demo-lightbox[hidden] { display:none !important; }
.demo-lightbox { position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; padding:24px; background:rgba(5,20,17,.88); backdrop-filter:blur(8px); }
.demo-lightbox img { display:block; max-width:min(92vw,620px); max-height:88vh; width:auto; height:auto; object-fit:contain; border-radius:16px; box-shadow:0 24px 80px rgba(0,0,0,.4); }
.demo-lightbox-close { position:absolute; top:18px; right:22px; width:44px; height:44px; border:1px solid rgba(255,255,255,.35); border-radius:50%; background:rgba(255,255,255,.12); color:#fff; font-size:30px; line-height:1; cursor:pointer; }
@media(max-width:640px) {
  .demo-showcase-head { align-items:flex-start; flex-direction:column; }
  .demo-version-switch { align-self:flex-start; }
  .demo-phone-frame-v2 { width:min(68vw,210px); }
  .demo-lightbox { padding:12px; }
  .demo-lightbox img { max-width:96vw; max-height:84vh; }
}


/* Video: remove the inner bezel gaps so the recording reaches the screen edges. */
.video-device {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
}
.video-device-screen {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.video-device .project-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill !important;
  object-position: center;
  border: 0;
  border-radius: 0;
  margin: 0;
}
.video-device .video-controls {
  left: 0;
  right: 0;
  bottom: 0;
}


/* Video overview: use the same balanced smartphone frame as the prototype demo. */
.video-card .video-device {
  width: min(100%, 350px);
  aspect-ratio: 9 / 16;
  height: auto;
  padding: 8px !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.82) !important;
  border-radius: 34px;
  background: linear-gradient(145deg, #153f3a 0%, #071d1a 68%, #28554c 100%) !important;
  box-shadow: 0 22px 48px rgba(12,57,47,.23), inset 0 0 0 2px rgba(0,0,0,.14) !important;
}
.video-card .video-device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #061b19;
}
.video-card .video-device .project-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: cover !important;
  object-position: center;
  transform: none !important;
  border: 0;
  border-radius: inherit;
  margin: 0;
  background: #061b19;
}
.video-card .video-device .video-controls {
  left: 8px;
  right: 8px;
  bottom: 8px;
}
@media (max-width: 640px) {
  .video-card .video-device {
    width: min(100%, 320px);
    padding: 7px !important;
    border-radius: 30px;
  }
  .video-card .video-device-screen { border-radius: 23px; }
}


/* Video overview: crop the thin top/bottom letterbox strips to match the prototype screens. */
.video-card .video-device { overflow: hidden; }
.video-card .video-device-screen { overflow: hidden; }
.video-card .video-device .project-video {
  object-fit: cover !important;
  object-position: center center;
  transform: translateY(-0.8%) scaleY(1.08) !important;
  transform-origin: center center;
}


/* HealthApp presentation refresh — typography, hierarchy and calm visual rhythm. */
:root {
  --mint: #28c49a;
  --mint-dark: #087f68;
  --sky: #83d8ca;
  --sky-dark: #247e83;
  --text: #15342e;
  --muted: #71847e;
  --bg: #f5f8f7;
  --surface: #ffffff;
  --line: rgba(21, 72, 60, .09);
  --radius: 22px;
  --shadow: 0 12px 34px rgba(18, 62, 51, .055);
  --max: 1160px;
}
body { font-family: Inter, "Segoe UI", system-ui, sans-serif; color:var(--text); background:#fff; }
h1,h2,h3,h4,.brand,.section-index { font-family:Manrope, Inter, "Segoe UI", sans-serif; }
.site-header { background:rgba(255,255,255,.88); border-bottom-color:rgba(21,72,60,.08); }
.brand { font-weight:800; letter-spacing:-.035em; }
.nav a { font-size:13px; font-weight:650; color:#49635b; transition:background .2s ease,color .2s ease; }
.nav a:hover,.nav a:focus-visible { background:#edf8f4; color:var(--mint-dark); }
.nav-cta { background:#087f68 !important; color:#fff !important; }
.hero { padding:clamp(64px,8vw,104px) 0 88px; background:radial-gradient(circle at 78% 18%,rgba(159,236,215,.46),transparent 30%),linear-gradient(125deg,#087d68 0%,#0d9c7d 48%,#237d83 100%); }
.hero::after { content:""; position:absolute; width:560px; height:560px; border:1px solid rgba(255,255,255,.13); border-radius:50%; right:-180px; bottom:-360px; box-shadow:0 0 0 48px rgba(255,255,255,.035),0 0 0 96px rgba(255,255,255,.025); pointer-events:none; }
.hero-grid { position:relative; z-index:1; gap:clamp(28px,5vw,72px); }
.hero h1 { max-width:760px; font-size:clamp(2.6rem,5.2vw,4.55rem); line-height:1.04; letter-spacing:-.055em; font-weight:800; }
.lead { max-width:39rem; font-size:clamp(1rem,1.5vw,1.15rem); line-height:1.75; }
.eyebrow { border:1px solid rgba(255,255,255,.2); backdrop-filter:blur(8px); font-weight:650; letter-spacing:.01em; }
.btn { min-height:50px; border-radius:14px; padding-inline:22px; font-weight:750; transition:transform .2s ease,box-shadow .2s ease,background .2s ease; }
.btn:hover { transform:translateY(-2px); box-shadow:0 12px 24px rgba(5,44,35,.16); }
.btn-light { color:#08745f; }
.hero-stats { max-width:650px; gap:10px; }
.hero-stats div { border-radius:15px; background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.15); backdrop-filter:blur(8px); }
.hero-stats strong { font-family:Manrope,sans-serif; font-size:1.12rem; }
.phone { border-radius:36px; box-shadow:0 32px 70px rgba(3,34,29,.28); }
.section { padding:clamp(64px,7vw,92px) 0; }
.section:nth-of-type(even) { background:#f7faf9; }
#product { padding-top:clamp(64px,7vw,92px); }
.section h2 { max-width:850px; font-family:Manrope,sans-serif; font-size:clamp(2rem,3.8vw,3rem); line-height:1.12; letter-spacing:-.05em; font-weight:800; }
.section-kicker { color:#0a8a70; font-size:11px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.section-kicker::before { width:20px; height:3px; background:#22b88e; }
.section-intro { max-width:720px; margin:14px 0 0; font-size:1rem; line-height:1.75; }
.muted { color:#71847e; }
.card { background:#fff; border:1px solid rgba(21,72,60,.075); border-radius:22px; box-shadow:0 10px 32px rgba(18,62,51,.045); padding:26px; }
.card h3 { font-family:Manrope,sans-serif; letter-spacing:-.025em; }
.feature-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.feature-grid .card { min-height:210px; transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.feature-grid .card:hover,.integration-card:hover { transform:translateY(-4px); border-color:rgba(12,150,116,.2); box-shadow:0 18px 38px rgba(18,62,51,.08); }
.icon-box { border-radius:14px; background:linear-gradient(145deg,#e1f7ee,#e7f3f5); }
.steps .card { box-shadow:none; background:#f8fbfa; border-color:transparent; }
.steps span { background:#e4f6ef; color:#087f68; font-family:Manrope,sans-serif; }
.scheme-card { text-align:left; overflow:hidden; }
.scheme-card figcaption { text-align:left; font-family:Manrope,sans-serif; color:#244b40; font-weight:800; font-size:15px; }
.scheme-card img { border-radius:15px; }
.tech-grid .card { box-shadow:none; }
.tech-table th,.tech-table td { padding:15px 12px; border-bottom-color:#edf2ef; }
.tech-table th { color:#668078; font-weight:700; }
.news-card { box-shadow:none; }
.news-card-featured { border-color:rgba(12,150,116,.16); background:linear-gradient(145deg,#fff,#f2faf6); }
.contact-grid .card { box-shadow:none; }
.site-footer { background:#102d29; }
.site-footer a { color:#a5e8d2; }
.support { border-color:rgba(255,255,255,.1); background:rgba(255,255,255,.055); }
.support-attribution,.support-attribution a { color:#d5e8e1; }

/* New product-story sections */
.section-intro-row { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:34px; }
.section-index { flex:none; padding:8px 12px; border:1px solid rgba(12,150,116,.15); border-radius:999px; color:#0b8c70; font-size:10px; font-weight:800; letter-spacing:.1em; }
.ecosystem-section { overflow:hidden; background:linear-gradient(180deg,#f6fbf8 0%,#fff 100%); }
.ecosystem-layout { display:grid; grid-template-columns:1.08fr .92fr; gap:clamp(30px,6vw,80px); align-items:center; }
.ecosystem-visual { position:relative; min-height:490px; display:grid; place-items:center; isolation:isolate; }
.ecosystem-visual::before { content:""; position:absolute; width:340px; height:340px; border-radius:50%; background:radial-gradient(circle,#d8f5e9 0%,rgba(216,245,233,.5) 52%,transparent 72%); z-index:-2; }
.ecosystem-orbit { position:absolute; border:1px solid rgba(19,151,115,.14); border-radius:50%; transform:rotate(-18deg); }
.orbit-one { width:420px; height:300px; }
.orbit-two { width:490px; height:380px; transform:rotate(32deg); border-style:dashed; }
.ecosystem-center { width:210px; height:390px; padding:8px; border-radius:28px; background:#143b34; box-shadow:0 28px 65px rgba(11,76,58,.2); transform:rotate(-3deg); z-index:1; }
.ecosystem-center img { width:100%; height:100%; object-fit:cover; border-radius:21px; }
.ecosystem-node { position:absolute; display:flex; align-items:center; gap:10px; min-width:155px; padding:12px 15px; border:1px solid rgba(16,111,85,.1); border-radius:15px; background:rgba(255,255,255,.94); box-shadow:0 12px 28px rgba(18,62,51,.08); z-index:2; }
.ecosystem-node b,.ecosystem-node small { display:block; }
.ecosystem-node b { font:800 13px Manrope,sans-serif; color:#1b463b; }
.ecosystem-node small { margin-top:2px; color:#82928d; font-size:10px; }
.node-symbol { display:grid; place-items:center; width:34px; height:34px; border-radius:11px; color:#087f68; background:#e5f7ef; font-size:20px; }
.node-sleep { top:48px; left:2%; }.node-food { top:86px; right:0; }.node-water { bottom:76px; left:0; }.node-move { bottom:38px; right:0; }
.ecosystem-copy { display:grid; gap:8px; }
.ecosystem-point { display:grid; grid-template-columns:36px 1fr; gap:14px; padding:18px 0; border-bottom:1px solid #e8f0ec; }
.ecosystem-point>span { color:#0b9675; font:800 12px Manrope,sans-serif; padding-top:3px; }
.ecosystem-point h3 { margin:0 0 6px; font:800 16px Manrope,sans-serif; letter-spacing:-.03em; }
.ecosystem-point p { margin:0; color:#71847e; font-size:13px; line-height:1.7; }
.text-link { display:inline-flex; gap:8px; align-items:center; width:max-content; margin:14px 0 0 50px; color:#087f68; font-size:13px; font-weight:800; text-decoration:none; }
.text-link:hover { text-decoration:underline; }
.ai-section { background:#102f2a !important; color:#fff; }
.ai-section .section-kicker { color:#8ce0c4; }.ai-section .section-kicker::before { background:#8ce0c4; }
.ai-section .section-index { color:#a6e9d2; border-color:rgba(166,233,210,.25); }
.ai-section .section-intro { color:#b5cbc3; }
.ai-flow { display:grid; grid-template-columns:1fr 24px 1fr 24px 1fr 24px 1fr; align-items:stretch; gap:10px; }
.ai-step { position:relative; min-height:230px; padding:22px 18px; border:1px solid rgba(255,255,255,.11); border-radius:18px; background:rgba(255,255,255,.055); }
.ai-step-result { background:linear-gradient(145deg,rgba(24,166,125,.3),rgba(67,159,153,.16)); border-color:rgba(135,226,194,.28); }
.ai-step-number { color:#8adfc1; font:800 10px Manrope,sans-serif; letter-spacing:.1em; }
.ai-step-icon { display:grid; place-items:center; width:42px; height:42px; margin:22px 0 17px; border-radius:13px; background:rgba(136,226,193,.12); color:#a3ebd1; font-size:23px; }
.ai-step h3 { margin:0 0 8px; font:800 15px Manrope,sans-serif; color:#fff; }
.ai-step p { margin:0; color:#b4c9c1; font-size:12px; line-height:1.7; }
.ai-connector { display:grid; place-items:center; color:#74c9ad; font-size:20px; }
.ai-disclaimer { display:flex; align-items:center; gap:12px; max-width:800px; margin:24px auto 0; padding:14px 18px; border:1px solid rgba(255,255,255,.1); border-radius:14px; background:rgba(255,255,255,.045); }
.ai-disclaimer-mark { display:grid; flex:none; place-items:center; width:24px; height:24px; border-radius:50%; background:rgba(142,226,194,.16); color:#9ce7cb; font-weight:800; }
.ai-disclaimer p { margin:0; color:#c0d4cc; font-size:11px; line-height:1.6; }.ai-disclaimer strong { color:#fff; }
.integrations-section { background:#f7faf9 !important; }
.integration-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.integration-card { min-height:240px; padding:22px; border:1px solid rgba(21,72,60,.08); border-radius:19px; background:#fff; transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.integration-card-top { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:24px; }
.integration-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:13px; background:#e8f7f0; color:#0a8b6e; font-size:21px; }
.integration-tag { color:#82938d; font-size:9px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.integration-card h3 { margin:0 0 9px; font:800 17px Manrope,sans-serif; letter-spacing:-.035em; }
.integration-card p { margin:0; color:#73857e; font-size:12px; line-height:1.7; }
.integration-meta { margin-top:18px; padding-top:12px; border-top:1px solid #edf2ef; color:#0b8b6f; font-size:10px; font-weight:800; }
.integration-note { margin:18px 0 0; color:#82918b; font-size:11px; line-height:1.65; }
.project-proof { display:grid; grid-template-columns:54px 1fr auto; gap:18px; align-items:center; margin-top:28px; padding:24px 26px; border:1px solid rgba(11,140,110,.14); border-radius:20px; background:linear-gradient(110deg,#f0faf5,#f7fbfa); }
.project-proof-mark { display:grid; place-items:center; width:48px; height:48px; border-radius:15px; background:#dff5e9; color:#0a8b6e; font-size:23px; }
.proof-kicker { color:#0b8e70; font-size:9px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.project-proof h3 { margin:4px 0 5px; font:800 16px Manrope,sans-serif; }
.project-proof p { margin:0; color:#71847e; font-size:12px; line-height:1.6; }
.project-proof>a { color:#087f68; font-size:12px; font-weight:800; text-decoration:none; white-space:nowrap; }
.project-proof>a:hover { text-decoration:underline; }
@media(max-width:980px) {
  .ecosystem-layout { grid-template-columns:1fr; }
  .ecosystem-visual { min-height:450px; }
  .integration-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ai-flow { grid-template-columns:1fr 20px 1fr; }
  .ai-connector:nth-of-type(4) { display:none; }
  .ai-step { min-height:200px; }
}
@media(max-width:640px) {
  .hero { padding:54px 0 58px; }
  .hero h1 { font-size:clamp(2.35rem,11vw,3.2rem); }
  .hero-stats { grid-template-columns:1fr; margin-top:26px; }
  .hero-stats div { display:flex; justify-content:space-between; align-items:center; gap:12px; }
  .hero-stats span { text-align:right; }
  .section-intro-row { align-items:flex-start; flex-direction:column; gap:12px; margin-bottom:24px; }
  .section-index { order:-1; }
  .ecosystem-visual { min-height:370px; transform:scale(.88); transform-origin:center center; margin:-24px -24px; }
  .ecosystem-center { width:174px; height:326px; }
  .ecosystem-visual::before { width:280px; height:280px; }
  .orbit-one { width:340px; height:250px; }.orbit-two { width:390px; height:310px; }
  .ecosystem-node { min-width:130px; padding:9px 10px; gap:7px; }
  .ecosystem-node small { font-size:9px; }.node-sleep { left:0; top:30px; }.node-food { right:0; top:50px; }.node-water { left:0; bottom:50px; }.node-move { right:0; bottom:30px; }
  .ai-flow { grid-template-columns:1fr; gap:9px; }
  .ai-step { min-height:0; padding:18px; }
  .ai-step-icon { margin:12px 0; }
  .ai-connector { transform:rotate(90deg); height:14px; }
  .ai-connector:nth-of-type(4) { display:grid; }
  .integration-grid { grid-template-columns:1fr; }
  .integration-card { min-height:0; }
  .project-proof { grid-template-columns:44px 1fr; padding:18px; }
  .project-proof-mark { width:40px; height:40px; }
  .project-proof>a { grid-column:2; }
  .text-link { margin-left:0; }
}


/* Integration status labels: distinguish active features from unavailable connections. */
.integration-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.integration-tag.status-active { color:#087f68; }
.integration-tag.status-pending { color:#8a7460; }
.integration-pending .integration-icon { color:#8a7460; background:#f4f0e9; }
@media(max-width:980px) { .integration-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) { .integration-grid { grid-template-columns:1fr; } }


/* AI section: lighter contrast, clearer cards and readable safety note. */
.ai-section { background:linear-gradient(135deg,#f1faf6 0%,#f5f9fb 100%) !important; color:#173c33; }
.ai-section .section-kicker { color:#087f68; }
.ai-section .section-kicker::before { background:#20bd91; }
.ai-section .section-index { color:#087f68; border-color:rgba(8,127,104,.2); background:rgba(255,255,255,.72); }
.ai-section .section-intro { color:#60766e; }
.ai-step { background:rgba(255,255,255,.92); border:1px solid rgba(17,91,70,.10); box-shadow:0 12px 30px rgba(22,76,59,.055); }
.ai-step-number { color:#087f68; }
.ai-step-icon { background:#e4f6ed; color:#087f68; }
.ai-step h3 { color:#173c33; }
.ai-step p { color:#667b73; }
.ai-step-result { background:linear-gradient(145deg,#e1f7ed,#eaf5f5); border-color:rgba(8,127,104,.2); }
.ai-connector { color:#149b7b; font-size:23px; font-weight:700; }
.ai-disclaimer { max-width:none; margin:26px 0 0; padding:17px 20px; border:1px solid #d5e9df; border-left:4px solid #16a77e; border-radius:14px; background:#fff; box-shadow:0 8px 24px rgba(22,76,59,.045); }
.ai-disclaimer-mark { width:28px; height:28px; background:#e5f6ed; color:#087f68; }
.ai-disclaimer p { color:#526a61; font-size:12px; line-height:1.7; }
.ai-disclaimer strong { color:#173c33; }

/* Product logo: transparent mark, no device frame or opaque tile behind it. */
.ecosystem-visual { min-height:490px; }
.ecosystem-center { width:min(76%,390px); height:auto; aspect-ratio:1.59; display:grid; place-items:center; padding:0; border-radius:0; background:transparent; box-shadow:none; transform:none; }
.ecosystem-center img.healthapp-brand-mark { display:block; width:100%; height:100%; object-fit:contain; border-radius:0; filter:drop-shadow(0 16px 26px rgba(14,117,91,.12)); }
.ecosystem-visual::before { width:390px; height:390px; background:radial-gradient(circle,#e2f8ee 0%,rgba(226,248,238,.55) 48%,transparent 72%); }
.ecosystem-orbit { border-color:rgba(19,151,115,.11); }
.project-proof { grid-template-columns:54px minmax(0,1fr); align-items:start; gap:18px; padding:27px 30px; border:1px solid #dcece4; background:linear-gradient(115deg,#f4fbf7 0%,#f7fafb 100%); }
.project-proof-mark { width:46px; height:46px; background:#e2f5eb; color:#0a8c6e; }
.project-proof-content { min-width:0; }
.project-proof h3 { margin:7px 0 8px; font-size:clamp(17px,2vw,20px); line-height:1.35; }
.project-proof p { max-width:900px; color:#536b62; font-size:13px; line-height:1.75; }
.project-proof-link { display:inline-flex; gap:8px; align-items:center; margin-top:13px; color:#087f68; font-size:12px; font-weight:800; text-decoration:none; }
.project-proof-link:hover { text-decoration:underline; }
@media(max-width:640px) {
  .ai-disclaimer { align-items:flex-start; padding:15px; }
  .project-proof { grid-template-columns:38px minmax(0,1fr); gap:12px; padding:18px; }
  .project-proof-mark { width:36px; height:36px; }
  .project-proof p { font-size:12px; }
  .ecosystem-visual { min-height:330px; transform:none; margin:-8px -12px; }
  .ecosystem-center { width:64%; }
  .ecosystem-visual::before { width:280px; height:280px; }
}


/* Support attribution: high-contrast, spacious and readable on every screen. */
.project-proof {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  margin-top: 32px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #d5e7df;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(20, 67, 53, .075);
}
.project-proof-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 2px;
  border-radius: 13px;
  background: #e7f6ef;
  color: #087653;
  font-size: 21px;
}
.project-proof-content { min-width: 0; }
.project-proof .proof-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #087653;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .09em;
}
.project-proof h3 {
  max-width: 760px;
  margin: 0 0 12px;
  color: #173a30;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.025em;
}
.project-proof p {
  max-width: 900px;
  margin: 0;
  color: #344f45;
  font-size: 15px;
  font-weight: 450;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.project-proof .project-proof-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
  color: #087653;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
  text-decoration: none;
  white-space: normal;
}
.project-proof .project-proof-link:hover { color: #055d40; text-decoration: underline; }
@media (max-width: 640px) {
  .project-proof {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 21px;
    border-radius: 18px;
  }
  .project-proof-mark { width: 40px; height: 40px; }
  .project-proof .proof-kicker { font-size: 10px; }
  .project-proof h3 { font-size: 19px; }
  .project-proof p { font-size: 14px; line-height: 1.8; }
  .project-proof .project-proof-link { font-size: 12px; }
}


/* Product logo: preserve the transparent SVG canvas inside the gallery card. */
#gallery .shot.shot-logo img {
  background: transparent !important;
  box-shadow: none;
}
#gallery .shot.shot-logo {
  background: #fff;
}


/* Funding acknowledgement: distinct dark banner + high-contrast white content panel. */
.project-proof {
  display: block;
  overflow: hidden;
  margin-top: 34px;
  padding: 0;
  border: 1px solid #cfe3d9;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(17, 58, 45, .10);
}
.project-proof-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 17px clamp(20px, 3vw, 30px);
  background: linear-gradient(110deg, #123d33 0%, #17664f 100%);
  color: #fff;
}
.project-proof-mark {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 19px;
}
.project-proof-banner-label {
  color: #e6fff3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.project-proof-program {
  margin-left: auto;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.project-proof-content {
  padding: clamp(22px, 3.2vw, 34px);
}
.project-proof h3 {
  max-width: 820px;
  margin: 0 0 13px;
  color: #153c30;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -.025em;
}
.project-proof p {
  max-width: 940px;
  margin: 0;
  color: #344f45;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.85;
}
.project-proof .project-proof-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: #087653;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
  text-decoration: none;
  white-space: normal;
}
.project-proof .project-proof-link:hover {
  color: #055d40;
  text-decoration: underline;
}
@media (max-width: 640px) {
  .project-proof { border-radius: 18px; }
  .project-proof-banner { gap: 9px; padding: 15px 18px; }
  .project-proof-banner-label { flex: 1 1 calc(100% - 52px); }
  .project-proof-program { margin-left: 47px; }
  .project-proof-content { padding: 21px 19px; }
  .project-proof h3 { font-size: 20px; }
  .project-proof p { font-size: 14px; line-height: 1.8; }
}


/* Redesigned funding acknowledgement in the site footer */
.support-footer {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin: 0 0 28px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(148, 190, 171, .42);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(116, 190, 153, .15), transparent 42%),
    linear-gradient(135deg, #f7fbf8 0%, #edf5f0 100%);
  box-shadow: 0 16px 42px rgba(13, 54, 38, .08);
  text-align: left;
}

.support-footer-heading {
  min-width: 0;
}

.support-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #27805b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
}

.support-footer-heading h2 {
  max-width: 390px;
  margin: 0;
  color: #173c2e;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(21px, 2.3vw, 29px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.035em;
}

.support-footer-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.support-footer .support-logos {
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
}

.support-footer .support-logo {
  flex: 1 1 0;
  min-width: 0;
  min-height: 92px;
  max-width: 250px;
  padding: 12px 16px;
  border: 1px solid rgba(30, 91, 63, .10);
  border-radius: 15px;
  background: rgba(255, 255, 255, .88);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.support-footer .support-logo:hover {
  transform: translateY(-2px);
  border-color: rgba(39, 128, 91, .3);
  box-shadow: 0 8px 20px rgba(13, 54, 38, .08);
}

.support-footer .support-logo img,
.support-footer .support-logo-fasie img,
.support-footer .support-logo-tech img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 76px;
  object-fit: contain;
}

.support-footer .support-attribution {
  max-width: 760px;
  margin: 0;
  color: #385448;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
}

.support-footer .support-link,
.support-footer .support-link:visited {
  color: #385448;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.support-footer .support-link:hover,
.support-footer .support-link:focus-visible {
  color: #087653;
  text-decoration: underline;
}

.support-footer .support-link:focus-visible {
  outline: 2px solid #27805b;
  outline-offset: 4px;
  border-radius: 2px;
}

.support-footer-note {
  display: inline-block;
  margin-top: 9px;
  color: #27805b;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .support-footer {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 25px 22px;
  }

  .support-footer-heading h2 {
    max-width: 560px;
    font-size: 23px;
  }

  .support-footer-content {
    gap: 17px;
  }

  .support-footer .support-logos {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .support-footer .support-logo {
    flex: 1 1 180px;
    max-width: 260px;
  }
}

@media (max-width: 480px) {
  .support-footer {
    padding: 22px 17px;
    border-radius: 19px;
  }

  .support-footer .support-logos {
    gap: 10px;
  }

  .support-footer .support-logo {
    flex-basis: 100%;
    max-width: none;
    min-height: 82px;
  }

  .support-footer .support-logo img,
  .support-footer .support-logo-fasie img,
  .support-footer .support-logo-tech img {
    max-height: 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-footer .support-logo {
    transition: none;
  }
}


/* Product mark: pure black monochrome and larger presentation */
.brand-logo {
  width: 52px;
  height: 52px;
}

.ecosystem-center {
  width: min(86%, 460px);
  aspect-ratio: 1.1;
}

#gallery .shot-logo img {
  width: min(320px, 86%);
  max-height: 340px;
}

@media (max-width: 980px) {
  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .ecosystem-center {
    width: min(88%, 420px);
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .ecosystem-center {
    width: min(92%, 360px);
  }

  #gallery .shot-logo img {
    width: min(300px, 88%);
    max-height: 300px;
  }
}


/* Ecosystem mark: smaller presentation with a subtle green-to-teal shimmer. */
.ecosystem-center {
  width: min(68%, 340px);
  aspect-ratio: 1.1;
}

.ecosystem-center img.healthapp-brand-mark {
  animation: healthapp-logo-shimmer 5.5s ease-in-out infinite alternate;
  will-change: filter;
}

@keyframes healthapp-logo-shimmer {
  0% {
    filter: hue-rotate(0deg) saturate(1) brightness(1)
      drop-shadow(0 10px 18px rgba(14, 117, 91, .10));
  }
  50% {
    filter: hue-rotate(14deg) saturate(1.12) brightness(1.06)
      drop-shadow(0 13px 24px rgba(16, 172, 132, .20));
  }
  100% {
    filter: hue-rotate(28deg) saturate(1.08) brightness(1.03)
      drop-shadow(0 10px 22px rgba(14, 117, 91, .15));
  }
}

@media (max-width: 980px) {
  .ecosystem-center { width: min(68%, 320px); }
}

@media (max-width: 640px) {
  .ecosystem-center { width: min(56%, 230px); }
}


/* Ecosystem: display the complete current dashboard screenshot without cropping. */
.ecosystem-visual { min-height: 570px; }
.ecosystem-center.ecosystem-device {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 258px;
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  animation: ecosystem-device-float 7s ease-in-out infinite;
  z-index: 3;
}
.ecosystem-device-frame {
  position: relative;
  width: 100%;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 30px;
  background: linear-gradient(145deg,#173b32,#071f1a);
  box-shadow: 0 28px 65px rgba(13,66,50,.22), 0 8px 18px rgba(13,66,50,.10), inset 0 1px 0 rgba(255,255,255,.35);
}
.ecosystem-device-frame::before {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
}
.ecosystem-device-camera { display: none; }
.ecosystem-device-frame img.ecosystem-home-screen {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 22px;
  background: #f4f3ee;
  filter: none;
  animation: none;
}
.ecosystem-device-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(18,112,83,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 22px rgba(17,69,51,.08);
  color: #42675a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .025em;
  white-space: nowrap;
}
.ecosystem-caption-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16b887;
  box-shadow: 0 0 0 4px rgba(22,184,135,.12);
  animation: ecosystem-dot-pulse 2s ease-in-out infinite;
}
.ecosystem-visual::before {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle,rgba(197,244,222,.95) 0%,rgba(221,248,235,.65) 43%,rgba(221,248,235,0) 72%);
  animation: ecosystem-glow 7s ease-in-out infinite alternate;
}
.ecosystem-visual .orbit-one { animation: ecosystem-orbit-drift 16s linear infinite; }
.ecosystem-visual .orbit-two { animation: ecosystem-orbit-drift 22s linear infinite reverse; }
.ecosystem-node {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  animation: ecosystem-node-appear .8s both;
}
.ecosystem-node:hover {
  transform: translateY(-4px);
  border-color: rgba(16,151,111,.3);
  box-shadow: 0 17px 34px rgba(18,62,51,.13);
}
.ecosystem-node.node-sleep { animation-delay: .08s; }
.ecosystem-node.node-food { animation-delay: .2s; }
.ecosystem-node.node-water { animation-delay: .32s; }
.ecosystem-node.node-move { animation-delay: .44s; }
@keyframes ecosystem-device-float {
  0%,100% { transform: translateY(2px) rotate(-1deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
}
@keyframes ecosystem-dot-pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(22,184,135,.12); }
  50% { box-shadow: 0 0 0 7px rgba(22,184,135,.04); }
}
@keyframes ecosystem-glow {
  from { opacity: .72; transform: scale(.94); }
  to { opacity: 1; transform: scale(1.05); }
}
@keyframes ecosystem-orbit-drift {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}
@keyframes ecosystem-node-appear {
  from { opacity: 0; translate: 0 10px; }
  to { opacity: 1; translate: 0 0; }
}
@media (max-width: 980px) {
  .ecosystem-visual { min-height: 550px; }
  .ecosystem-center.ecosystem-device { width: 236px; }
}
@media (max-width: 640px) {
  .ecosystem-visual {
    min-height: 460px;
    margin: -4px -14px 0;
    overflow: visible;
  }
  .ecosystem-center.ecosystem-device {
    width: 188px;
    gap: 10px;
  }
  .ecosystem-device-frame { padding: 6px; border-radius: 24px; }
  .ecosystem-device-frame img.ecosystem-home-screen { border-radius: 18px; max-height: 390px; }
  .ecosystem-device-frame::before { border-radius: 19px; }
  .ecosystem-device-caption { padding: 7px 9px; font-size: 9px; }
  .ecosystem-visual::before { width: 310px; height: 310px; }
  .ecosystem-node { min-width: 118px; padding: 8px 9px; }
  .ecosystem-node b { font-size: 11px; }
  .ecosystem-node small { font-size: 8px; }
  .node-symbol { width: 29px; height: 29px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .ecosystem-center.ecosystem-device,
  .ecosystem-caption-dot,
  .ecosystem-visual::before,
  .ecosystem-visual .orbit-one,
  .ecosystem-visual .orbit-two,
  .ecosystem-node {
    animation: none !important;
    transition: none !important;
  }
}


/* Final layout tuning: give the tall real dashboard screenshot enough room. */
.ecosystem-visual {
  min-height: 700px;
  overflow: visible;
}
.ecosystem-center.ecosystem-device {
  width: min(100%, 318px);
  max-width: 318px;
}
.ecosystem-device-frame {
  padding: 7px;
  border-radius: 28px;
}
.ecosystem-device-frame img.ecosystem-home-screen {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 21px;
}
@media (max-width: 980px) {
  .ecosystem-visual {
    min-height: 650px;
  }
  .ecosystem-center.ecosystem-device {
    width: min(76vw, 290px);
  }
}
@media (max-width: 640px) {
  .ecosystem-visual {
    min-height: 540px;
    margin: 0 -8px;
    overflow: visible;
  }
  .ecosystem-center.ecosystem-device {
    width: min(66vw, 230px);
    gap: 9px;
  }
  .ecosystem-device-frame {
    padding: 6px;
    border-radius: 23px;
  }
  .ecosystem-device-frame img.ecosystem-home-screen {
    max-height: none;
    border-radius: 17px;
  }
  /* On narrow screens the screenshot takes priority over floating labels. */
  .ecosystem-node {
    display: none;
  }
  .ecosystem-visual::before {
    width: 290px;
    height: 290px;
  }
}


/* =========================================================
   HEALTHAPP — MOBILE-FIRST RESPONSIVE POLISH
   Final overrides for phones and tablets.
   ========================================================= */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
body {
  min-width: 320px;
  overflow-x: hidden;
}
main, section, .wrap, .card, .hero-grid, .ecosystem-layout,
.ai-flow, .integration-grid, .tech-grid, .contact-grid {
  min-width: 0;
}
img, video, iframe, svg {
  max-width: 100%;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
a, button, .chip, .news-filter {
  touch-action: manipulation;
}
.site-header {
  z-index: 100;
}
.header-inner {
  position: relative;
}
@media (max-width: 980px) {
  .site-header {
    height: 74px;
  }
  .header-inner {
    width: calc(100% - 32px);
  }
  .brand {
    font-size: 17px;
  }
  .brand-logo {
    width: 42px;
    height: 42px;
  }
  .menu-btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
  }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: min(72vh, 560px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px;
    border: 1px solid rgba(17,64,56,.1);
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 60px rgba(8,42,36,.2);
    backdrop-filter: blur(20px);
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 15px;
    border-radius: 13px;
    font-size: 14px;
  }
  .nav .nav-cta {
    justify-content: center;
    margin-top: 4px;
  }
  .hero {
    min-height: 0;
    padding: 72px 0 66px;
  }
  .hero-grid {
    width: min(760px, calc(100% - 40px));
    grid-template-columns: minmax(0,1fr);
    gap: 26px;
  }
  .hero-grid > div:first-child {
    max-width: 680px;
  }
  .hero h1 {
    max-width: 680px;
    font-size: clamp(2.7rem, 7.5vw, 4.3rem);
    line-height: 1.02;
  }
  .lead {
    max-width: 620px;
    font-size: 1rem;
    line-height: 1.75;
  }
  .phone-stage {
    min-height: 500px;
    padding: 10px 0 0;
  }
  .hero .phone-stage::before { left: 2%; }
  .hero .phone-stage::after { right: 2%; }
  .section {
    padding: 76px 0;
  }
  .feature-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .steps {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .integration-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .news-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .news-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .contact-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 640px) {
  html {
    scroll-padding-top: 78px;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header {
    height: 66px;
  }
  .header-inner {
    width: calc(100% - 28px);
    gap: 12px;
  }
  .brand {
    gap: 9px;
    font-size: 16px;
  }
  .brand-logo {
    width: 38px;
    height: 38px;
  }
  .menu-btn {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }
  .nav {
    top: calc(100% + 7px);
    left: -2px;
    right: -2px;
    max-height: min(76vh, 540px);
    padding: 9px;
    border-radius: 17px;
  }
  .nav a {
    min-height: 46px;
    font-size: 14px;
  }
  .hero {
    padding: 48px 0 42px;
  }
  .hero-grid {
    width: calc(100% - 36px);
    gap: 18px;
  }
  .eyebrow {
    max-width: 100%;
    padding: 7px 10px;
    font-size: 10px;
    line-height: 1.45;
    white-space: normal;
  }
  .hero h1 {
    max-width: 100%;
    margin-bottom: 13px;
    font-size: clamp(2.15rem, 10.4vw, 3.05rem);
    line-height: 1.02;
    letter-spacing: -.055em;
    overflow-wrap: anywhere;
  }
  .lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 21px;
  }
  .hero-actions .btn,
  .btn {
    width: 100%;
    min-height: 49px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 13px;
  }
  .hero-stats {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 7px;
    margin-top: 21px;
  }
  .hero-stats div {
    min-width: 0;
    padding: 10px 8px;
    border-radius: 13px;
  }
  .hero-stats strong {
    font-size: 13px;
    line-height: 1.25;
  }
  .hero-stats span {
    display: block;
    margin-top: 3px;
    font-size: 9px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .phone-stage {
    min-height: 0;
    padding: 16px 0 8px;
  }
  .hero .phone-stage::before,
  .hero .phone-stage::after {
    display: none;
  }
  .phone.hero-phone {
    width: min(270px, 76vw);
    height: auto;
    aspect-ratio: 1 / 2;
    padding: 9px;
    border-radius: 37px;
    transform: none;
    animation: none;
  }
  .phone-screen {
    border-radius: 29px;
  }
  .section {
    padding: 54px 0;
    scroll-margin-top: 74px;
  }
  .section-kicker {
    gap: 8px;
    margin-bottom: 11px;
    font-size: 10px;
    letter-spacing: .12em;
    line-height: 1.5;
  }
  .section-kicker::before {
    flex: 0 0 19px;
    width: 19px;
    height: 3px;
  }
  .section h2 {
    margin-bottom: 13px;
    font-size: clamp(1.75rem, 8.2vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -.05em;
    overflow-wrap: anywhere;
  }
  .section > .wrap > .muted,
  .section-intro {
    font-size: 13px;
    line-height: 1.75;
  }
  .section-intro-row {
    align-items: flex-start;
    gap: 12px;
  }
  .section-index {
    flex: 0 0 auto;
    font-size: 11px;
  }
  .card {
    min-width: 0;
    padding: 19px;
    border-radius: 18px;
  }
  .card h3 {
    font-size: 16px;
    line-height: 1.3;
  }
  .card p,
  .card li {
    font-size: 13px;
    line-height: 1.7;
  }
  .grid-2,
  .about-grid,
  .tech-grid,
  .feature-grid,
  .steps,
  .integration-grid,
  .news-grid,
  .contact-grid,
  .gallery,
  .shot-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 13px;
  }
  .feature-grid,
  .steps,
  .integration-grid,
  .news-grid,
  .contact-grid {
    margin-top: 20px;
  }
  .feature-grid .card {
    min-height: 0;
  }
  .steps .card {
    padding: 18px;
  }
  .ecosystem-layout {
    grid-template-columns: minmax(0,1fr);
    gap: 20px;
  }
  .ecosystem-visual {
    width: 100%;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 18px 0 12px;
    overflow: hidden;
  }
  .ecosystem-center.ecosystem-device {
    position: relative;
    inset: auto;
    width: min(64vw, 230px);
    max-width: 230px;
    margin: 0 auto;
    gap: 9px;
    transform: none;
    animation: none;
  }
  .ecosystem-device-frame {
    width: 100%;
    padding: 6px;
    border-radius: 24px;
  }
  .ecosystem-device-frame img.ecosystem-home-screen {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 18px;
  }
  .ecosystem-device-caption {
    font-size: 9px;
  }
  .ecosystem-node,
  .ecosystem-orbit,
  .ecosystem-visual .orbit-one,
  .ecosystem-visual .orbit-two {
    display: none !important;
  }
  .ecosystem-visual::before {
    width: 270px;
    height: 270px;
  }
  .ecosystem-copy {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 12px;
  }
  .ecosystem-point {
    padding: 15px;
    border-radius: 15px;
  }
  .ai-flow {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 11px;
  }
  .ai-step {
    min-width: 0;
    padding: 17px;
    border-radius: 17px;
  }
  .ai-connector {
    display: none;
  }
  .ai-disclaimer {
    align-items: flex-start;
    padding: 14px;
    font-size: 11px;
  }
  .integration-card {
    padding: 17px;
    border-radius: 17px;
  }
  .integration-card-top {
    gap: 10px;
  }
  .integration-meta {
    flex-wrap: wrap;
    gap: 6px;
  }
  .tech-grid .card {
    width: 100%;
    padding: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .tech-table {
    min-width: 520px;
    font-size: 12px;
  }
  .tech-table th,
  .tech-table td {
    padding: 11px 9px;
  }
  .scheme-wide,
  .flow-card,
  .devices-card {
    padding: 12px;
  }
  .scheme-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .gallery-sub {
    margin: 30px 0 8px;
    font-size: 19px;
    line-height: 1.25;
  }
  .shot {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    padding: 10px;
    border-radius: 16px;
  }
  .shot img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 11px;
  }
  .shot figcaption {
    font-size: 12px;
    line-height: 1.5;
  }
  .video-card {
    padding: 15px;
    border-radius: 18px;
  }
  .video-device {
    width: min(100%, 310px);
    padding: 8px;
    border-radius: 37px;
  }
  .video-device-screen {
    border-radius: 29px;
  }
  .project-video {
    max-height: 68vh;
  }
  .demo-card {
    margin-top: 26px;
  }
  .demo-canvas {
    min-height: 0;
    padding: 22px 8px;
    border-radius: 18px;
  }
  .demo-canvas .phone {
    width: min(270px, 78vw);
    height: auto;
    aspect-ratio: 1 / 2;
    padding: 9px;
    border-radius: 37px;
  }
  .demo-canvas .phone-screen {
    border-radius: 29px;
  }
  .demo-controls {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }
  .demo-controls .chip {
    min-height: 42px;
    padding: 9px 10px;
    font-size: 11px;
  }
  .news-heading {
    margin-bottom: 20px;
  }
  .news-heading-note {
    max-width: 100%;
    white-space: normal;
    font-size: 10px;
  }
  .news-toolbar {
    display: flex;
    flex-wrap: nowrap;
    max-width: calc(100vw - 32px);
    overflow-x: auto;
    padding: 2px 1px 9px;
    gap: 7px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .news-filter {
    flex: 0 0 auto;
    min-height: 39px;
    padding: 9px 12px;
    font-size: 10px;
  }
  .news-card {
    min-height: 0;
    padding: 19px;
    border-radius: 18px;
  }
  .news-card-top {
    margin-bottom: 15px;
  }
  .news-card h3 {
    font-size: 17px;
  }
  .news-card p {
    font-size: 13px;
  }
  #contacts .contact-grid {
    gap: 12px;
  }
  #contacts .contact-grid > * {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  #contacts .socials {
    gap: 9px;
  }
  #contacts .social {
    width: 44px;
    height: 44px;
  }
  .support-footer {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 17px;
    margin-top: 0;
    padding: 19px;
    border-radius: 19px;
  }
  .support-footer-heading h2 {
    font-size: 21px;
    line-height: 1.15;
  }
  .support-footer .support-logos {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 10px;
  }
  .support-footer .support-logo {
    width: 100%;
    max-width: none;
    min-height: 76px;
    padding: 12px;
  }
  .support-footer .support-logo img,
  .support-footer .support-logo-fasie img,
  .support-footer .support-logo-tech img {
    width: auto;
    max-width: 100%;
    max-height: 62px;
  }
  .support-footer .support-attribution {
    font-size: 12px;
    line-height: 1.7;
  }
  .support-footer-note {
    font-size: 10px;
    line-height: 1.5;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 19px;
    font-size: 11px;
  }
  .socials-footer {
    gap: 9px;
  }
  .site-footer {
    padding: 25px 0 20px;
  }
  .project-proof {
    grid-template-columns: minmax(0,1fr);
    gap: 12px;
    padding: 18px;
    border-radius: 17px;
  }
  .project-proof-banner {
    flex-wrap: wrap;
    gap: 9px;
    padding: 13px;
  }
  .project-proof-program {
    margin-left: 0;
  }
  .project-proof-content {
    padding: 16px;
  }
  .project-proof h3 {
    font-size: 18px;
  }
  .project-proof p {
    font-size: 12px;
    line-height: 1.7;
  }
  .legal-note {
    font-size: 11px;
    line-height: 1.65;
  }
}
@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 26px);
  }
  .hero-grid {
    width: calc(100% - 30px);
  }
  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.45rem);
  }
  .hero-stats div {
    padding: 9px 6px;
  }
  .hero-stats strong {
    font-size: 12px;
  }
  .hero-stats span {
    font-size: 8px;
  }
  .ecosystem-center.ecosystem-device {
    width: min(70vw, 220px);
  }
  .card {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .phone.hero-phone,
  .ecosystem-center.ecosystem-device {
    animation: none !important;
    transform: none !important;
  }
}


/* Slightly reduce the ecosystem product screenshot without changing its layout. */
.ecosystem-center.ecosystem-device {
  width: min(100%, 290px);
  max-width: 290px;
}
@media (max-width: 980px) {
  .ecosystem-center.ecosystem-device {
    width: min(76vw, 265px);
  }
}
@media (max-width: 640px) {
  .ecosystem-center.ecosystem-device {
    width: min(60vw, 210px);
  }
}
@media (max-width: 380px) {
  .ecosystem-center.ecosystem-device {
    width: min(64vw, 200px);
  }
}


/* Keep the framed dashboard comfortably clear of the surrounding ecosystem labels. */
.ecosystem-center.ecosystem-device {
  width: min(100%, 248px);
  max-width: 248px;
}
.ecosystem-device-frame {
  width: 100%;
}
@media (max-width: 980px) {
  .ecosystem-center.ecosystem-device {
    width: min(70vw, 224px);
  }
}
@media (max-width: 640px) {
  .ecosystem-center.ecosystem-device {
    width: min(54vw, 184px);
  }
}
@media (max-width: 380px) {
  .ecosystem-center.ecosystem-device {
    width: min(58vw, 174px);
  }
}


/* HEALTHAPP — refined technology section and motion polish */
#tech .section-intro {
  max-width: 760px;
  margin-top: 12px;
}
#tech .tech-grid {
  margin-top: 30px;
}
#tech .tech-grid > .card {
  padding: clamp(18px, 2.8vw, 32px);
  border: 1px solid rgba(28, 91, 73, .09);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fcfa 100%);
  box-shadow: 0 18px 48px rgba(28, 74, 59, .07);
}
#tech .tech-table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
#tech .tech-table tr {
  animation: tech-row-enter .55s both;
}
#tech .tech-table tr:nth-child(1) { animation-delay: .03s; }
#tech .tech-table tr:nth-child(2) { animation-delay: .08s; }
#tech .tech-table tr:nth-child(3) { animation-delay: .13s; }
#tech .tech-table tr:nth-child(4) { animation-delay: .18s; }
#tech .tech-table tr:nth-child(5) { animation-delay: .23s; }
#tech .tech-table tr:nth-child(6) { animation-delay: .28s; }
#tech .tech-table tr:nth-child(7) { animation-delay: .33s; }
#tech .tech-table tr:nth-child(8) { animation-delay: .38s; }
#tech .tech-table tr:nth-child(9) { animation-delay: .43s; }
#tech .tech-table th,
#tech .tech-table td {
  padding: 18px 17px;
  border-bottom: 1px solid #e8f0ec;
  vertical-align: top;
  line-height: 1.65;
  text-align: left;
  overflow-wrap: anywhere;
}
#tech .tech-table tr:last-child th,
#tech .tech-table tr:last-child td {
  border-bottom: 0;
}
#tech .tech-table th {
  width: 27%;
  color: #527268;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .015em;
}
#tech .tech-table td {
  color: #243f38;
  font-size: 14px;
}
#tech .tech-table tr:hover th,
#tech .tech-table tr:hover td {
  background: rgba(224, 243, 234, .42);
}
#tech .scheme-card {
  border: 1px solid rgba(28, 91, 73, .08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(28, 74, 59, .055);
  transition: transform .35s ease, box-shadow .35s ease;
}
#tech .scheme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(28, 74, 59, .10);
}
#tech .scheme-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
@keyframes tech-row-enter {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 760px) {
  #tech .tech-grid > .card {
    padding: 14px;
    border-radius: 19px;
  }
  #tech .tech-table {
    display: block;
    border-collapse: separate;
  }
  #tech .tech-table tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  #tech .tech-table tr {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 13px 14px;
    border: 1px solid #e5eee9;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(33, 75, 59, .045);
    animation: tech-row-enter .5s both;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  }
  #tech .tech-table tr:active {
    transform: scale(.985);
    border-color: #b7d9c9;
  }
  #tech .tech-table th,
  #tech .tech-table td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent !important;
    text-align: left;
  }
  #tech .tech-table th {
    margin-bottom: 7px;
    color: #6b8c80;
    font-size: 10px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .09em;
  }
  #tech .tech-table td {
    color: #23463b;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 600;
    overflow-wrap: anywhere;
  }
  #tech .scheme-card {
    padding: 13px;
    border-radius: 18px;
  }
  #tech .scheme-card figcaption {
    font-size: 14px;
    line-height: 1.4;
  }
  #tech .scheme-card img {
    max-width: 100%;
    max-height: 62vh;
    object-fit: contain;
  }
}
@media (max-width: 480px) {
  #tech .tech-grid {
    margin-top: 20px;
  }
  #tech .tech-grid > .card {
    padding: 10px;
    border-radius: 17px;
  }
  #tech .tech-table tbody {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  #tech .tech-table tr {
    display: grid;
    grid-template-columns: minmax(88px, 29%) minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 13px 12px;
    border-radius: 13px;
  }
  #tech .tech-table th {
    margin: 0;
    padding-top: 1px;
    font-size: 9px;
    letter-spacing: .055em;
  }
  #tech .tech-table td {
    font-size: 12px;
    line-height: 1.55;
  }
  #tech .scheme-card {
    padding: 10px;
  }
  #tech .scheme-card img {
    max-height: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  #tech .tech-table tr {
    animation: none !important;
  }
  #tech .scheme-card {
    transition: none !important;
  }
  #tech .scheme-card:hover {
    transform: none;
  }
}
