:root {
  --hb-green: #0a8f60;
  --hb-green-dark: #075d43;
  --hb-green-deep: #063b2d;
  --hb-green-soft: #eaf8f2;
  --hb-mint: #3bd7ae;
  --hb-teal: #0db8bc;
  --hb-yellow: #f8c814;
  --hb-yellow-soft: #fff8d8;
  --hb-purple: #7651d7;
  --hb-orange: #ef772f;
  --hb-ink: #111b18;
  --hb-muted: #66726e;
  --hb-line: #e6ece9;
  --hb-surface: #ffffff;
  --hb-page: #fbfcfb;
  --hb-shadow: 0 24px 70px rgba(10, 56, 40, 0.11);
  --hb-shadow-soft: 0 12px 34px rgba(10, 56, 40, 0.08);
  --hb-radius-xl: 36px;
  --hb-radius-lg: 26px;
  --hb-radius-md: 18px;
  --hb-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--hb-page);
}

body {
  margin: 0;
  color: var(--hb-ink);
  background: var(--hb-page);
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: #fff;
  background: var(--hb-green);
}

.hb-container,
.container {
  width: min(var(--hb-max), calc(100% - 48px));
  margin: 0 auto;
}

.hb-site {
  overflow-x: hidden;
}

.hb-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(251, 252, 251, 0.78);
  backdrop-filter: blur(20px) saturate(145%);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hb-nav.is-scrolled {
  border-color: rgba(12, 72, 51, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(8, 54, 38, 0.05);
}

.hb-nav__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 36px;
}

.hb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.hb-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 14px;
}

.hb-brand span {
  color: #17231f;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hb-brand span strong {
  color: var(--hb-green);
  font-weight: 800;
}

.hb-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.hb-nav__links a,
.hb-link-button {
  color: #53615d;
  font-size: 13px;
  font-weight: 600;
  transition: color 160ms ease;
}

.hb-nav__links a:hover,
.hb-link-button:hover {
  color: var(--hb-green);
}

.hb-nav__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hb-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--hb-ink);
  background: var(--hb-surface);
  font-size: 14px;
  font-weight: 700;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease, background 170ms ease;
}

.hb-button:hover {
  transform: translateY(-2px);
}

.hb-button--small {
  min-height: 42px;
  padding-inline: 17px;
  color: #fff;
  background: var(--hb-green-dark);
}

.hb-button--primary {
  color: #fff;
  background: var(--hb-green);
  box-shadow: 0 14px 28px rgba(10, 143, 96, 0.22);
}

.hb-button--primary:hover {
  background: #087b54;
  box-shadow: 0 18px 36px rgba(10, 143, 96, 0.28);
}

.hb-button--quiet {
  border-color: rgba(7, 93, 67, 0.15);
  background: rgba(255, 255, 255, 0.76);
}

.hb-hero {
  position: relative;
  min-height: 930px;
  padding: 168px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 33%, rgba(88, 223, 183, 0.10), transparent 29%),
    linear-gradient(180deg, #fbfdfc 0%, #f5faf7 65%, #fff 100%);
}

.hb-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 100, 70, 0.14), transparent);
}

.hb-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hb-hero__glow--one {
  top: 92px;
  right: -180px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 216, 59, 0.14), transparent 68%);
}

.hb-hero__glow--two {
  top: 280px;
  left: -240px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(10, 184, 188, 0.11), transparent 68%);
}

.hb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.1fr);
  align-items: center;
  gap: 68px;
}

.hb-hero__copy {
  position: relative;
  z-index: 2;
  padding-bottom: 34px;
}

.hb-eyebrow,
.hb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--hb-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hb-live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hb-green);
}

.hb-live-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(10, 143, 96, 0.25);
  border-radius: inherit;
}

.hb-hero h1 {
  max-width: 720px;
  margin: 24px 0 22px;
  color: #0c1713;
  font-size: clamp(54px, 6.25vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hb-hero h1 span {
  color: var(--hb-green);
}

.hb-hero__copy > p {
  max-width: 590px;
  margin: 0;
  color: var(--hb-muted);
  font-size: 17px;
  line-height: 1.7;
}

.hb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hb-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 26px;
  color: #66716d;
  font-size: 12px;
  font-weight: 600;
}

.hb-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hb-trust-row svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--hb-green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hb-product-stage {
  position: relative;
  min-height: 770px;
  isolation: isolate;
}

.hb-stage-grid {
  position: absolute;
  inset: 8% -14% -5% 4%;
  z-index: -2;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(7, 92, 66, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 92, 66, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle, #000 0%, transparent 72%);
}

.hb-orbit {
  position: absolute;
  z-index: -1;
  border: 1px dashed rgba(54, 129, 102, 0.21);
  border-radius: 50%;
}

.hb-orbit--outer {
  inset: 3% -4% 5% 0;
  animation: hb-rotate 36s linear infinite;
}

.hb-orbit--inner {
  inset: 11% 5% 13% 9%;
  border-style: solid;
  border-color: rgba(10, 184, 188, 0.09);
  animation: hb-rotate 28s linear infinite reverse;
}

@keyframes hb-rotate {
  to { transform: rotate(360deg); }
}

.hb-app-preview {
  position: absolute;
  top: 22px;
  left: 50%;
  width: min(410px, 74%);
  min-height: 610px;
  padding: 23px 22px 21px;
  overflow: hidden;
  transform: translateX(-50%) rotate(1.2deg);
  border: 8px solid #17221f;
  border-radius: 44px;
  background:
    radial-gradient(circle at 70% 10%, rgba(58, 216, 174, 0.12), transparent 28%),
    #fff;
  box-shadow: 0 40px 90px rgba(4, 48, 32, 0.20);
}

.hb-app-preview::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 82px;
  height: 19px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #17221f;
}

.hb-device-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 93, 67, 0.12);
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 32px 74px rgba(4, 48, 32, 0.16);
}

.hb-device-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hb-device-shot--hero {
  position: absolute;
  top: 5px;
  left: 50%;
  width: min(352px, 72%);
  height: 720px;
  transform: translateX(-50%) rotate(1deg);
}

.hb-device-shot--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 33px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.hb-app-preview__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.hb-app-preview__brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hb-app-preview__brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
}

.hb-app-preview__brand div {
  display: grid;
}

.hb-app-preview__brand strong {
  font-size: 15px;
  letter-spacing: -0.03em;
}

.hb-app-preview__brand strong span {
  color: var(--hb-green);
}

.hb-app-preview__brand small {
  margin-top: 2px;
  color: #7a8581;
  font-size: 8px;
}

.hb-app-preview__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #fff 0 19%, transparent 20%),
    radial-gradient(circle at 50% 85%, #fff 0 35%, transparent 36%),
    var(--hb-green);
}

.hb-memory {
  position: relative;
  height: 292px;
  margin-top: 16px;
  border: 1px dashed rgba(98, 89, 179, 0.38);
  border-radius: 50%;
}

.hb-memory::before {
  content: "";
  position: absolute;
  inset: 45px;
  border: 5px solid transparent;
  border-top-color: var(--hb-teal);
  border-right-color: #34cb86;
  border-radius: 50%;
  transform: rotate(-40deg);
}

.hb-memory__center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 144px;
  place-items: center;
  transform: translate(-50%, -48%);
  text-align: center;
}

.hb-memory__center img {
  width: 76px;
  height: 60px;
  object-fit: contain;
}

.hb-memory__center strong {
  margin-top: 6px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.hb-memory__center span {
  margin-top: 3px;
  color: #7b8582;
  font-size: 8px;
}

.hb-memory__node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 65px;
  justify-items: center;
  gap: 5px;
}

.hb-memory__node img {
  width: 51px;
  height: 51px;
  padding: 11px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--hb-green-dark);
  box-shadow: 0 8px 24px rgba(3, 78, 52, 0.16);
}

.hb-memory__node span {
  font-size: 8px;
  font-weight: 700;
}

.hb-memory__node--symptoms {
  top: -15px;
  left: calc(50% - 32px);
}

.hb-memory__node--activity {
  bottom: 4px;
  left: -6px;
}

.hb-memory__node--vitals {
  right: -5px;
  bottom: 4px;
}

.hb-record-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.hb-record-row > div {
  display: grid;
  min-width: 0;
  justify-items: center;
  padding: 12px 7px 11px;
  border: 1px solid #edf1ef;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(20, 51, 42, 0.05);
  text-align: center;
}

.hb-record-row img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.hb-record-row span {
  margin-top: 7px;
  color: #76817d;
  font-size: 7px;
}

.hb-record-row strong {
  margin-top: 3px;
  font-size: 9px;
}

.hb-float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(7, 93, 67, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 46px rgba(7, 59, 42, 0.15);
  backdrop-filter: blur(18px);
  animation: hb-float 5.5s ease-in-out infinite;
}

.hb-float-card--report {
  top: 100px;
  right: -20px;
  min-width: 260px;
}

.hb-float-card--dose {
  bottom: 103px;
  left: -9px;
  animation-delay: -2.1s;
}

@keyframes hb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hb-float-card__icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 12px;
}

.hb-float-card__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hb-float-card__icon--green {
  color: var(--hb-green);
  background: var(--hb-green-soft);
}

.hb-float-card__icon--yellow {
  color: #9d7300;
  background: var(--hb-yellow-soft);
}

.hb-float-card > div {
  display: grid;
  gap: 3px;
}

.hb-float-card small {
  color: #87908d;
  font-size: 9px;
}

.hb-float-card strong {
  max-width: 132px;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hb-float-card em {
  margin-left: auto;
  padding: 5px 7px;
  border-radius: 999px;
  color: var(--hb-green);
  background: var(--hb-green-soft);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.hb-hero__foot {
  display: flex;
  max-width: 860px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 52px;
  color: #71807b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hb-hero__foot i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hb-yellow);
}

.hb-problem {
  padding: 128px 0 116px;
  background: #fff;
}

.hb-section-heading {
  max-width: 680px;
}

.hb-section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.hb-section-heading h2,
.hb-family h2,
.hb-ai h2,
.hb-privacy h2,
.hb-download h2 {
  margin: 16px 0 16px;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.hb-section-heading > p:last-child,
.hb-family__copy > p,
.hb-ai__copy > p,
.hb-download__copy > p {
  margin: 0;
  color: var(--hb-muted);
  font-size: 15px;
  line-height: 1.75;
}

.hb-scattered {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.hb-scattered article {
  position: relative;
  min-height: 390px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-lg);
  background: #fbfcfb;
}

.hb-scattered article:nth-child(2) {
  background: #f8faf9;
}

.hb-scattered article:nth-child(3) {
  background: #f9fbfa;
}

.hb-scattered__number {
  color: #95a09c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hb-scattered__art {
  position: relative;
  height: 205px;
  margin: 18px 0 19px;
}

.hb-paper {
  position: absolute;
  top: 38px;
  left: 50%;
  width: 126px;
  height: 150px;
  border: 1px solid #e6ebe8;
  border-radius: 8px;
  background:
    linear-gradient(#dce4e0 0 0) 17px 22px / 68px 5px no-repeat,
    linear-gradient(#eef2f0 0 0) 17px 39px / 91px 4px no-repeat,
    linear-gradient(#eef2f0 0 0) 17px 51px / 75px 4px no-repeat,
    linear-gradient(#eef2f0 0 0) 17px 112px / 84px 4px no-repeat,
    #fff;
  box-shadow: 0 13px 34px rgba(20, 51, 42, 0.09);
}

.hb-paper::after {
  content: "";
  position: absolute;
  right: 17px;
  bottom: 48px;
  left: 17px;
  height: 38px;
  background:
    linear-gradient(135deg, transparent 0 14%, var(--hb-green) 15% 18%, transparent 19% 31%, var(--hb-green) 32% 35%, transparent 36% 48%, var(--hb-green) 49% 52%, transparent 53%);
  opacity: 0.7;
}

.hb-paper--one {
  transform: translateX(-86%) rotate(-9deg);
}

.hb-paper--two {
  z-index: 2;
  transform: translateX(-50%) rotate(1deg);
}

.hb-paper--three {
  transform: translateX(-14%) rotate(8deg);
}

.hb-scattered__art--memory {
  display: grid;
  place-items: center;
}

.hb-scattered__art--memory span {
  display: grid;
  width: 105px;
  height: 105px;
  place-items: center;
  border: 1px solid #e2e9e6;
  border-radius: 50%;
  color: var(--hb-orange);
  background: #fff;
  box-shadow: 0 18px 45px rgba(20, 51, 42, 0.08);
  font-size: 48px;
  font-weight: 300;
}

.hb-scattered__art--memory i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hb-green);
}

.hb-scattered__art--memory i:nth-of-type(1) { top: 30px; left: 33%; }
.hb-scattered__art--memory i:nth-of-type(2) { top: 56%; right: 22%; background: var(--hb-purple); }
.hb-scattered__art--memory i:nth-of-type(3) { bottom: 16px; left: 25%; background: var(--hb-yellow); }

.hb-scattered__art--context {
  display: grid;
  align-items: center;
}

.hb-scattered__art--context svg {
  width: 100%;
  overflow: visible;
}

.hb-scattered__art--context path {
  fill: none;
  stroke: var(--hb-green);
  stroke-width: 3;
}

.hb-scattered__art--context circle {
  fill: #fff;
  stroke: var(--hb-green);
  stroke-width: 3;
}

.hb-scattered h3 {
  margin: 0 0 9px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.hb-scattered p {
  margin: 0;
  color: var(--hb-muted);
  font-size: 13px;
  line-height: 1.65;
}

.hb-steps {
  padding: 122px 0 132px;
  background: #f5f8f6;
}

.hb-step-list {
  display: grid;
  gap: 26px;
  margin-top: 60px;
}

.hb-step {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 0.78fr) minmax(360px, 1.22fr);
  min-height: 550px;
  align-items: center;
  gap: 38px;
  padding: 54px;
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-xl);
  background: #fff;
}

.hb-step--dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 80% 40%, rgba(32, 194, 140, 0.16), transparent 35%),
    linear-gradient(135deg, #082e23, #041b16);
}

.hb-step__index {
  align-self: start;
  padding-top: 3px;
  color: #a8b2ae;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hb-step--dark .hb-step__index {
  color: rgba(255, 255, 255, 0.43);
}

.hb-step__copy > span {
  color: var(--hb-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hb-step--dark .hb-step__copy > span {
  color: #5ce0b5;
}

.hb-step__copy h3 {
  max-width: 430px;
  margin: 14px 0;
  font-size: clamp(32px, 3.8vw, 49px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hb-step__copy > p {
  max-width: 480px;
  margin: 0;
  color: var(--hb-muted);
  font-size: 14px;
  line-height: 1.72;
}

.hb-step--dark .hb-step__copy > p {
  color: rgba(255, 255, 255, 0.67);
}

.hb-step__copy ul {
  display: grid;
  gap: 10px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.hb-step__copy li {
  position: relative;
  padding-left: 22px;
  color: #52605b;
  font-size: 12px;
  font-weight: 600;
}

.hb-step__copy li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid var(--hb-green);
  border-radius: 50%;
}

.hb-step--dark .hb-step__copy li {
  color: rgba(255, 255, 255, 0.72);
}

.hb-step--dark .hb-step__copy li::before {
  border-color: #5ce0b5;
}

.hb-step__visual {
  min-width: 0;
}

.hb-real-feature {
  position: relative;
  display: flex;
  min-height: 430px;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 56px 28px 0;
  border: 1px solid rgba(7, 93, 67, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 82%, rgba(48, 207, 153, 0.18), transparent 46%),
    linear-gradient(145deg, #f5fcf9, #edf7f2);
}

.hb-real-feature--dark {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 84%, rgba(65, 226, 176, 0.17), transparent 45%),
    rgba(255, 255, 255, 0.055);
}

.hb-real-feature--yellow {
  background:
    radial-gradient(circle at 50% 85%, rgba(248, 200, 20, 0.22), transparent 44%),
    linear-gradient(145deg, #fffdf3, #f7faf7);
}

.hb-real-feature__label {
  position: absolute;
  top: 22px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #67736f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hb-real-feature__label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hb-green);
  box-shadow: 0 0 0 5px rgba(10, 143, 96, 0.08);
}

.hb-real-feature--dark .hb-real-feature__label {
  color: rgba(255, 255, 255, 0.64);
}

.hb-real-feature--dark .hb-real-feature__label span {
  background: #59ddb2;
  box-shadow: 0 0 0 5px rgba(89, 221, 178, 0.1);
}

.hb-device-shot--section {
  width: min(252px, 76%);
  height: 385px;
  border-width: 1px;
  border-radius: 29px 29px 0 0;
  box-shadow: 0 28px 60px rgba(7, 57, 41, 0.18);
}

.hb-device-shot--section img {
  transform: translateZ(0);
}

.hb-collect {
  position: relative;
  min-height: 390px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 50%, rgba(64, 221, 170, 0.23), transparent 34%),
    linear-gradient(145deg, #f4fbf8, #edf7f2);
}

.hb-collect::before,
.hb-collect::after {
  content: "";
  position: absolute;
  border: 1px dashed rgba(10, 143, 96, 0.22);
  border-radius: 50%;
}

.hb-collect::before { inset: 35px 70px; }
.hb-collect::after { inset: 80px 120px; }

.hb-collect__book {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 150px;
  height: 168px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(7, 93, 67, 0.16);
  border-radius: 30px;
  background: linear-gradient(145deg, #0aa675, #075d43);
  box-shadow: 0 24px 50px rgba(7, 93, 67, 0.24);
}

.hb-collect__book img {
  width: 93px;
  height: 72px;
  object-fit: contain;
}

.hb-collect__book strong {
  margin-top: -32px;
  color: #fff;
  font-size: 15px;
}

.hb-collect__item {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px 9px 9px;
  border: 1px solid #e1eae6;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--hb-shadow-soft);
  font-size: 10px;
  font-weight: 700;
}

.hb-collect__item img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.hb-collect__item--one { top: 44px; left: 26px; }
.hb-collect__item--two { top: 67px; right: 25px; }
.hb-collect__item--three { right: 58px; bottom: 37px; }

.hb-insight-card {
  min-height: 390px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.hb-insight-card__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.hb-insight-card__header div {
  display: grid;
  gap: 5px;
}

.hb-insight-card__header small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.hb-insight-card__header strong {
  font-size: 21px;
}

.hb-insight-card__header > span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
}

.hb-insight-card__value {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 40px;
}

.hb-insight-card__value strong {
  font-size: 38px;
  letter-spacing: -0.04em;
}

.hb-insight-card__value span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
}

.hb-insight-card__value em {
  margin-left: auto;
  padding: 7px 9px;
  border-radius: 999px;
  color: #72e7c0;
  background: rgba(92, 224, 181, 0.10);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.hb-trend-chart {
  width: 100%;
  margin-top: 30px;
  overflow: visible;
}

.hb-trend-chart .hb-chart-grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.09);
  stroke-width: 1;
}

.hb-trend-chart .hb-chart-area {
  fill: url(#trend-fill);
}

.hb-trend-chart .hb-chart-line {
  fill: none;
  stroke: #51ddb1;
  stroke-width: 4;
  stroke-linecap: round;
}

.hb-trend-chart circle {
  fill: #082e23;
  stroke: #6ce8c1;
  stroke-width: 3;
}

.hb-summary-preview {
  padding: 28px;
  border: 1px solid #e5ebe8;
  border-radius: 30px;
  background: linear-gradient(160deg, #fff, #f6faf8);
  box-shadow: 0 24px 55px rgba(12, 67, 49, 0.10);
}

.hb-summary-preview__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hb-line);
}

.hb-summary-preview__top div {
  display: grid;
  gap: 6px;
}

.hb-summary-preview__top small {
  color: var(--hb-green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hb-summary-preview__top strong {
  font-size: 23px;
}

.hb-summary-preview__top > span {
  color: #8b9591;
  font-size: 9px;
}

.hb-summary-preview__alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
  padding: 13px 15px;
  border: 1px solid #f8d9ca;
  border-radius: 14px;
  color: #a74b1b;
  background: #fff6f0;
  font-size: 10px;
}

.hb-summary-preview__alert strong {
  font-size: 11px;
}

.hb-summary-preview__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hb-summary-preview__grid > div {
  display: grid;
  min-height: 92px;
  align-content: center;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--hb-line);
  border-radius: 14px;
  background: #fff;
}

.hb-summary-preview__grid small {
  color: #87918d;
  font-size: 8px;
}

.hb-summary-preview__grid strong {
  font-size: 16px;
}

.hb-summary-preview__grid em {
  color: var(--hb-green);
  font-size: 8px;
  font-style: normal;
}

.hb-features {
  padding: 128px 0;
  background: #fff;
}

.hb-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}

.hb-bento__card {
  position: relative;
  min-height: 510px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-xl);
  background: #f8faf9;
}

.hb-bento__copy {
  max-width: 440px;
}

.hb-bento__copy > span {
  color: var(--hb-green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hb-bento__copy h3 {
  margin: 11px 0 10px;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hb-bento__copy p {
  margin: 0;
  color: var(--hb-muted);
  font-size: 13px;
  line-height: 1.68;
}

.hb-bento__card--reports {
  background:
    radial-gradient(circle at 100% 0, rgba(70, 210, 165, 0.13), transparent 35%),
    #f8faf9;
}

.hb-bento-screen {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 67, 52, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 42px rgba(7, 56, 40, 0.13);
}

.hb-bento-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hb-bento-screen--reports {
  right: 34px;
  bottom: -150px;
  width: min(310px, 56%);
  height: 430px;
  transform: rotate(1.2deg);
}

.hb-report-stack {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  display: grid;
  gap: 10px;
}

.hb-report-stack__tabs {
  display: flex;
  gap: 8px;
}

.hb-report-stack__tabs span {
  padding: 7px 10px;
  border: 1px solid #dce5e1;
  border-radius: 999px;
  color: #6d7974;
  background: #fff;
  font-size: 8px;
  font-weight: 700;
}

.hb-report-stack__tabs .is-active {
  color: #fff;
  border-color: var(--hb-green);
  background: var(--hb-green);
}

.hb-report-stack__item {
  display: flex;
  min-height: 75px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 17px;
  border: 1px solid #e3eae7;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 25px rgba(20, 51, 42, 0.05);
}

.hb-report-stack__item div {
  display: grid;
  gap: 5px;
}

.hb-report-stack__item small {
  color: #929b97;
  font-size: 8px;
}

.hb-report-stack__item strong {
  font-size: 12px;
}

.hb-report-stack__item > span {
  color: var(--hb-green);
}

.hb-bento__card--daily {
  background:
    radial-gradient(circle at 80% 80%, rgba(255, 205, 43, 0.14), transparent 34%),
    #fbfaf6;
}

.hb-bento-screen-pair {
  position: absolute;
  right: 24px;
  bottom: 0;
  left: 24px;
  height: 310px;
}

.hb-bento-screen--daily-primary {
  bottom: -135px;
  left: 6%;
  z-index: 2;
  width: min(240px, 47%);
  height: 390px;
  transform: rotate(-2deg);
}

.hb-bento-screen--daily-secondary {
  right: 5%;
  bottom: -160px;
  width: min(220px, 44%);
  height: 370px;
  transform: rotate(3deg);
}

.hb-daily-grid {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hb-daily-grid > div {
  display: grid;
  min-width: 0;
  min-height: 173px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  padding: 16px 10px;
  border: 1px solid rgba(237, 225, 180, 0.78);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.hb-daily-grid img {
  width: 68px;
  height: 68px;
  margin-bottom: 7px;
  padding: 10px;
  object-fit: contain;
  border-radius: 50%;
  background: #f7f9f8;
}

.hb-daily-grid small {
  color: #8b9591;
  font-size: 8px;
}

.hb-daily-grid strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hb-bento__card--medication {
  min-height: 385px;
  background:
    radial-gradient(circle at 90% 90%, rgba(38, 149, 232, 0.09), transparent 35%),
    #f8fafb;
}

.hb-bento-screen--medication {
  right: 30px;
  bottom: -235px;
  width: min(250px, 45%);
  height: 450px;
  transform: rotate(1.5deg);
}

.hb-dose-preview {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e0e8e5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 44, 35, 0.06);
}

.hb-dose-preview__icon {
  display: grid;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  place-items: center;
  overflow: hidden;
  border-radius: 17px;
  background: var(--hb-yellow-soft);
}

.hb-dose-preview__icon img {
  width: 74px;
  max-width: none;
  height: 74px;
  object-fit: cover;
}

.hb-dose-preview > div:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.hb-dose-preview small {
  color: var(--hb-green);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.hb-dose-preview strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hb-dose-preview span {
  color: #7d8884;
  font-size: 9px;
}

.hb-dose-preview em {
  margin-left: auto;
  padding: 7px 9px;
  border-radius: 999px;
  color: #8a6200;
  background: var(--hb-yellow-soft);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.hb-bento__card--passport {
  min-height: 385px;
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(circle at 80% 20%, rgba(79, 231, 181, 0.16), transparent 34%),
    linear-gradient(140deg, #0a6d4e, #063b2d);
}

.hb-bento__card--passport .hb-bento__copy > span {
  color: #6be5bd;
}

.hb-bento__card--passport .hb-bento__copy p {
  color: rgba(255, 255, 255, 0.68);
}

.hb-bento__card--passport .hb-bento__copy {
  max-width: 310px;
}

.hb-bento-screen--summary {
  right: 30px;
  bottom: -225px;
  width: min(230px, 40%);
  height: 430px;
  border-color: rgba(255, 255, 255, 0.16);
  transform: rotate(1.5deg);
}

.hb-passport {
  position: absolute;
  top: 50%;
  right: 34px;
  width: 210px;
  padding: 18px;
  transform: translateY(-38%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
}

.hb-passport__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hb-passport__header img {
  width: 42px;
  height: 36px;
  object-fit: contain;
}

.hb-passport__header div {
  display: grid;
  gap: 3px;
}

.hb-passport__header strong {
  font-size: 11px;
}

.hb-passport__header small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 7px;
}

.hb-passport__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 8px;
}

.hb-passport__line:last-child {
  border: 0;
}

.hb-passport__line span {
  color: rgba(255, 255, 255, 0.62);
}

.hb-orange {
  color: #ffc09d;
}

.hb-family {
  padding: 128px 0;
  background: #f5f8f6;
}

.hb-family__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  align-items: center;
  gap: 74px;
}

.hb-family__visual {
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-xl);
  background: #fff;
}

.hb-family__visual img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hb-family__copy > p {
  max-width: 590px;
}

.hb-family__points {
  display: grid;
  margin-top: 30px;
}

.hb-family__points > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  padding: 18px 0;
  border-bottom: 1px solid #dfe6e3;
}

.hb-family__points span {
  color: var(--hb-green);
  font-size: 10px;
  font-weight: 800;
}

.hb-family__points p {
  margin: 0;
  color: var(--hb-muted);
  font-size: 12px;
  line-height: 1.65;
}

.hb-family__points strong {
  color: var(--hb-ink);
}

.hb-ai {
  padding: 110px 0;
  background: #fff;
}

.hb-ai__card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 570px;
  align-items: center;
  gap: 44px;
  padding: 62px;
  overflow: hidden;
  border-radius: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(80, 226, 183, 0.18), transparent 29%),
    linear-gradient(135deg, #06291f, #041713);
}

.hb-kicker--light {
  color: #68e6bc;
}

.hb-ai__copy h2 {
  max-width: 600px;
  margin-top: 18px;
  font-size: clamp(40px, 5vw, 64px);
}

.hb-ai__copy > p {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.65);
}

.hb-ai__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.hb-ai__labels span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.05);
  font-size: 9px;
  font-weight: 700;
}

.hb-ai__visual {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 30px;
  background: #fff;
}

.hb-ai__visual img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hb-ai__visual--screen {
  width: min(390px, 100%);
  height: 470px;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px 34px 0 0;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

.hb-ai__visual--screen img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top;
}

.hb-privacy {
  padding: 128px 0;
  background: #f5f8f6;
}

.hb-privacy__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.hb-privacy h2 {
  max-width: 480px;
}

.hb-privacy__points {
  display: grid;
}

.hb-privacy__points article {
  display: grid;
  grid-template-columns: 48px minmax(160px, 0.7fr) 1fr;
  align-items: baseline;
  gap: 18px;
  padding: 25px 0;
  border-top: 1px solid #dfe6e3;
}

.hb-privacy__points span {
  color: #9ca6a2;
  font-size: 10px;
  font-weight: 800;
}

.hb-privacy__points h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.hb-privacy__points p {
  margin: 0;
  color: var(--hb-muted);
  font-size: 12px;
  line-height: 1.65;
}

.hb-download {
  padding: 118px 0;
  background: #fff;
}

.hb-pricing {
  padding: 118px 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(58, 216, 174, 0.12), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(248, 200, 20, 0.12), transparent 26%),
    #f5f8f6;
}

.hb-pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 940px;
  margin: 48px auto 0;
}

.hb-price-card {
  display: grid;
  align-content: start;
  gap: 28px;
  padding: 38px;
  border: 1px solid #dbe6e1;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 60px rgba(5, 41, 30, 0.06);
}

.hb-price-card--featured {
  border-color: rgba(10, 143, 96, 0.34);
  background:
    linear-gradient(135deg, rgba(232, 251, 244, 0.96), rgba(255, 252, 232, 0.96));
}

.hb-price-card__eyebrow {
  margin: 0 0 10px;
  color: #0a8f60;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hb-price-card h3 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.hb-price-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 0;
}

.hb-price-card__price strong {
  color: #071f17;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.hb-price-card__price span {
  color: var(--hb-muted);
  font-size: 12px;
  font-weight: 700;
}

.hb-price-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hb-price-card li {
  position: relative;
  padding-left: 24px;
  color: #445a53;
  font-size: 13px;
  line-height: 1.55;
}

.hb-price-card li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #0a8f60;
  content: "\2713";
  font-weight: 900;
}

.hb-price-card .hb-button {
  justify-self: start;
}

.hb-pricing__legal {
  margin: 26px auto 0;
  color: var(--hb-muted);
  font-size: 11px;
  text-align: center;
}

.hb-pricing__legal a {
  color: #087b54;
  font-weight: 700;
}

@media (max-width: 760px) {
  .hb-pricing {
    padding: 82px 0;
  }

  .hb-pricing__grid {
    grid-template-columns: 1fr;
  }

  .hb-price-card {
    padding: 28px;
  }
}

.hb-download__card {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  min-height: 330px;
  align-items: center;
  gap: 44px;
  padding: 52px;
  overflow: hidden;
  border: 1px solid rgba(10, 143, 96, 0.12);
  border-radius: 42px;
  background:
    radial-gradient(circle at 12% 50%, rgba(58, 216, 174, 0.18), transparent 25%),
    radial-gradient(circle at 85% 18%, rgba(248, 200, 20, 0.17), transparent 24%),
    linear-gradient(135deg, #f1faf6, #fffdf5);
}

.hb-download__mark {
  display: grid;
  width: 145px;
  height: 145px;
  place-items: center;
  border: 1px solid rgba(10, 143, 96, 0.10);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--hb-shadow-soft);
}

.hb-download__mark img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  border-radius: 28px;
}

.hb-download h2 {
  max-width: 650px;
  margin-top: 16px;
  font-size: clamp(36px, 4vw, 54px);
}

.hb-download__actions {
  display: grid;
  gap: 12px;
}

.hb-store-link {
  display: grid;
  width: 230px;
  height: 70px;
  place-items: center;
  border-radius: 10px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.hb-store-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(5, 27, 20, 0.14);
}

.hb-store-link img {
  display: block;
  width: 230px;
  height: 70px;
  object-fit: fill;
}

.hb-store-link img[src*="google-play"] {
  width: 207px;
  height: 62px;
}

.hb-footer {
  padding: 72px 0 28px;
  color: #fff;
  background: #061b15;
}

.hb-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
}

.hb-brand--footer span {
  color: #fff;
}

.hb-footer__grid > div:first-child > p {
  max-width: 300px;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.50);
  font-size: 12px;
  line-height: 1.6;
}

.hb-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.hb-footer__links > div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.hb-footer__links strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: 11px;
}

.hb-footer__links a {
  color: rgba(255, 255, 255, 0.50);
  font-size: 11px;
  transition: color 150ms ease;
}

.hb-footer__links a:hover {
  color: #69e2b8;
}

.hb-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.40);
  font-size: 9px;
}

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

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.22, .78, .24, 1), transform 700ms cubic-bezier(.22, .78, .24, 1);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Supporting pages */
.bg {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 5%, rgba(62, 219, 170, 0.11), transparent 22%),
    var(--hb-page);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(7, 93, 67, 0.08);
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(18px);
}

.header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__mark--app {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 14px;
}

.brand__name--app,
.footer__name {
  color: #17231f;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand__rx {
  color: var(--hb-green);
}

.brand__bott {
  color: #17231f;
}

.healthibit-wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 1px 4px;
  font-family: "Caveat", cursive;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 36px;
  vertical-align: middle;
  white-space: nowrap;
}

.healthibit-wordmark::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, #6941e8, #e34891);
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20112%208'%3E%3Cpath%20d='M3%205.7%20C32%201.1%2079%201%20109%205.3'%20fill='none'%20stroke='black'%20stroke-linecap='round'%20stroke-width='1.8'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20112%208'%3E%3Cpath%20d='M3%205.7%20C32%201.1%2079%201%20109%205.3'%20fill='none'%20stroke='black'%20stroke-linecap='round'%20stroke-width='1.8'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.healthibit-wordmark__text { display: inline-flex; }
.healthibit-wordmark__healthi { color: #5836d8; }
.healthibit-wordmark__bit { color: #e34891; }

.legalPage {
  padding: 52px 0 80px;
}

.legalPage--wide .container {
  max-width: 1080px;
}

.legalCard {
  max-width: 880px;
  margin: 0 auto;
  padding: 38px;
  border: 1px solid var(--hb-line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--hb-shadow-soft);
}

.legalPage--wide .legalCard {
  max-width: none;
}

.breadcrumbLink {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--hb-green);
  font-size: 13px;
  font-weight: 700;
}

.kicker {
  display: inline-flex;
  align-items: center;
  color: var(--hb-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.h2 {
  margin: 14px 0 10px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.legalMeta {
  margin: 7px 0;
  color: var(--hb-muted);
  font-size: 13px;
  line-height: 1.6;
}

.legalCard > p,
.legalSection p {
  color: var(--hb-muted);
  font-size: 14px;
  line-height: 1.75;
}

.legalSection {
  margin-top: 30px;
}

.legalSection h2 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.legalSection h3 {
  margin: 19px 0 7px;
  font-size: 16px;
}

.legalList {
  padding-left: 20px;
  color: var(--hb-muted);
  font-size: 14px;
  line-height: 1.7;
}

.legalList li {
  margin-bottom: 8px;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--hb-line);
  background: #fff;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 13px;
}

.footer__tag {
  margin-top: 3px;
  color: var(--hb-muted);
  font-size: 11px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer__links a {
  color: var(--hb-muted);
  font-size: 11px;
  font-weight: 600;
}

.supportPage {
  padding: 64px 0 84px;
}

.supportHero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  gap: 24px;
}

.supportHero__copy {
  padding: 38px 10px 38px 0;
}

.supportHero__title {
  max-width: 720px;
  margin: 18px 0 15px;
  color: var(--hb-green-deep);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.supportHero__lead {
  max-width: 680px;
  margin: 0;
  color: var(--hb-muted);
  font-size: 17px;
  line-height: 1.7;
}

.supportContact {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  overflow: hidden;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(248, 200, 20, 0.22), transparent 35%),
    linear-gradient(140deg, var(--hb-green-dark), var(--hb-green-deep));
}

.supportContact__eyebrow {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.supportContact__email {
  margin-top: 10px;
  color: #fff5bd;
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.supportContact p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.6;
}

.supportContact__button,
.btn {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid rgba(7, 93, 67, 0.12);
  border-radius: 999px;
  color: var(--hb-green-deep);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.btn--soft {
  color: #fff;
  border-color: var(--hb-green-dark);
  background: var(--hb-green-dark);
}

.btn--lg {
  min-height: 48px;
  padding-inline: 20px;
}

.supportContact__button {
  color: var(--hb-green-deep);
  border-color: transparent;
  background: #fff5bd;
}

.supportContent {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.supportPanel {
  padding: 28px;
  border: 1px solid var(--hb-line);
  border-radius: 24px;
  background: #fff;
}

.supportPanel--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 28px;
}

.supportPanel--mint {
  background: var(--hb-green-soft);
}

.supportPanel__number {
  margin: 0 0 18px;
  color: #b88900;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.supportPanel h2,
.supportNotice h2 {
  margin: 0 0 10px;
  color: var(--hb-green-deep);
  font-size: 23px;
  letter-spacing: -0.03em;
}

.supportPanel > p:not(.supportPanel__number):not(.supportFineprint),
.supportNotice p {
  margin: 0;
  color: var(--hb-muted);
  font-size: 13px;
  line-height: 1.7;
}

.supportTopics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.supportTopics article {
  padding: 17px;
  border-left: 3px solid var(--hb-green);
  background: #f7f9f8;
}

.supportTopics h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.supportTopics p {
  margin: 0;
  color: var(--hb-muted);
  font-size: 12px;
  line-height: 1.55;
}

.supportChecklist {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.supportChecklist li {
  position: relative;
  padding-left: 20px;
  color: var(--hb-muted);
  font-size: 12px;
  line-height: 1.5;
}

.supportChecklist li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hb-green);
}

.supportFineprint {
  padding-top: 14px;
  border-top: 1px solid var(--hb-line);
  color: #8a9490;
  font-size: 11px;
  line-height: 1.6;
}

.supportLinks {
  display: grid;
  gap: 2px;
  margin-top: 15px;
}

.supportLinks a {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(7, 93, 67, 0.12);
  color: var(--hb-green-dark);
  font-size: 12px;
  font-weight: 700;
}

.supportNotice {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid #f0df91;
  border-radius: 24px;
  background: var(--hb-yellow-soft);
}

.supportNotice__mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid #e0bd32;
  border-radius: 50%;
  color: #8c6800;
  font-weight: 800;
}

/* HealthiBit legal and support pages use the current app identity. */
body.healthbook-static {
  --hb-green: #6840ef;
  --hb-green-dark: #5530d6;
  --hb-green-deep: #171d3d;
  --hb-green-soft: #f2edff;
  --hb-ink: #171d3d;
  --hb-muted: #6d6b82;
  --hb-line: #e4ddf5;
  --hb-page: #faf8ff;
  --hb-shadow: 0 24px 70px rgba(77, 48, 153, 0.13);
  --hb-shadow-soft: 0 14px 40px rgba(77, 48, 153, 0.09);
}

body.healthbook-static ::selection {
  background: #6840ef;
}

body.healthbook-static .bg {
  background:
    radial-gradient(circle at 8% 4%, rgba(104, 64, 239, 0.14), transparent 25%),
    radial-gradient(circle at 94% 16%, rgba(235, 71, 127, 0.10), transparent 24%),
    linear-gradient(180deg, #fbf9ff 0%, #f7f4ff 48%, #ffffff 100%);
}

body.healthbook-static .header {
  border-bottom-color: rgba(104, 64, 239, 0.13);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(80, 52, 151, 0.05);
}

body.healthbook-static .brand__mark--app,
body.healthbook-static .footer__brand img {
  border: 1px solid #e1d8fb;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(104, 64, 239, 0.16);
}

body.healthbook-static .brand__name--app,
body.healthbook-static .footer__name,
body.healthbook-static .brand__bott {
  color: #171d3d;
}

body.healthbook-static .brand__rx,
body.healthbook-static .breadcrumbLink,
body.healthbook-static .kicker,
body.healthbook-static .legalCard a,
body.healthbook-static .footer__links a:hover {
  color: #6840ef;
}

body.healthbook-static .legalCard {
  position: relative;
  overflow: hidden;
  border-color: #e3dbf8;
  background: rgba(255, 255, 255, 0.96);
}

body.healthbook-static .legalCard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #5747f5, #a84ae0 56%, #eb477f);
}

body.healthbook-static .legalSection h2,
body.healthbook-static .legalSection h3,
body.healthbook-static .h2,
body.healthbook-static .supportHero__title,
body.healthbook-static .supportPanel h2,
body.healthbook-static .supportNotice h2 {
  color: #171d3d;
}

body.healthbook-static .footer {
  border-top-color: #e3dcf4;
  background: rgba(255, 255, 255, 0.9);
}

body.healthbook-static .installMinimal__eyebrow {
  color: #6840ef;
  font-family: "Caveat", cursive;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

body.healthbook-static .supportContact {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 216, 90, 0.30), transparent 35%),
    linear-gradient(140deg, #5548e9 0%, #8e49df 55%, #e74786 100%);
  box-shadow: 0 22px 48px rgba(104, 64, 239, 0.20);
}

body.healthbook-static .supportContact__email {
  color: #fff4bd;
}

body.healthbook-static .btn--soft {
  border-color: #6840ef;
  background: #6840ef;
  box-shadow: 0 10px 22px rgba(104, 64, 239, 0.20);
}

body.healthbook-static .supportContact__button {
  color: #40219d;
  background: #fff4bd;
}

body.healthbook-static .supportPanel {
  border-color: #e3dcf5;
  box-shadow: 0 10px 28px rgba(77, 48, 153, 0.06);
}

body.healthbook-static .supportPanel--mint {
  background: #f2edff;
}

body.healthbook-static .supportPanel__number {
  color: #8b52e8;
}

body.healthbook-static .supportTopics article {
  border-left-color: #6840ef;
  background: #faf8ff;
}

body.healthbook-static .supportChecklist li::before {
  background: linear-gradient(135deg, #6840ef, #eb477f);
}

body.healthbook-static .supportLinks a {
  border-bottom-color: rgba(104, 64, 239, 0.15);
  color: #5530d6;
}

body.healthbook-static .supportNotice {
  border-color: #dcd1fa;
  background: #f5f1ff;
}

body.healthbook-static .supportNotice__mark {
  border-color: #bdaaf5;
  color: #6840ef;
  background: #ffffff;
}

.installMinimal {
  display: grid;
  width: 100%;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 28px;
}

.installMinimal,
.installMinimal *,
.inviteInstallModal,
.inviteInstallModal * {
  box-sizing: border-box;
}

.installMinimal__shell {
  display: grid;
  width: 100%;
  max-width: 620px;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  justify-self: center;
  justify-items: center;
  gap: 24px;
  padding: 48px 42px 32px;
  border: 1px solid var(--hb-line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 10%, rgba(20, 176, 128, 0.12), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(255, 211, 57, 0.14), transparent 32%),
    #fff;
  box-shadow: var(--hb-shadow);
}

.installMinimal__icon {
  width: 128px;
  height: 128px;
  object-fit: contain;
  border-radius: 30px;
}

.installMinimal__copy {
  display: grid;
  width: 100%;
  max-width: 470px;
  min-width: 0;
  justify-items: center;
  text-align: center;
}

.installMinimal__eyebrow {
  margin: 0 0 8px;
  color: var(--hb-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.installMinimal__copy h1 {
  margin: 0;
  color: var(--hb-ink);
  font-size: clamp(38px, 8vw, 58px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.installMinimal__copy h1 span {
  color: var(--hb-green);
}

.installMinimal__copy > p:not(.installMinimal__eyebrow) {
  width: 100%;
  max-width: 430px;
  margin: 16px 0 0;
  color: var(--hb-muted);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.installMinimal__inviteHint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 14px;
  border: 1px solid #bfe6d7;
  border-radius: 999px;
  background: #effaf6;
  color: #0d7658;
  font-size: 13px;
  font-weight: 700;
}

.installMinimal__inviteHint[hidden] {
  display: none;
}

.installMinimal__inviteHint span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--hb-green);
  color: #fff;
  font-size: 11px;
}

.installMinimal__links {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.installMinimal__badgeLink {
  display: grid;
  width: 207px;
  height: 62px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.installMinimal__badgeLink[hidden] {
  display: none;
}

.installMinimal__badgeLink:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(5, 27, 20, 0.14);
}

.installMinimal__badgeImage {
  display: block;
  width: 207px;
  height: 62px;
  object-fit: contain;
}

.installMinimal__badgeImage[src*="google-play"] {
  width: 207px;
  height: 62px;
  margin: 4px auto;
}

.installMinimal__inviteNextButton {
  display: inline-flex;
  width: 207px;
  height: 62px;
  margin: 4px auto;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid #d9aa00;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffda43, #f2bd16);
  color: #14211d;
  font: inherit;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.installMinimal__inviteNextButton:hover {
  background: #ffd13d;
  box-shadow: 0 10px 24px rgba(98, 75, 0, 0.18);
  transform: translateY(-2px);
}

.installMinimal__inviteNextArrow {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.56);
  font-size: 19px;
  line-height: 1;
  transition: transform 180ms ease;
}

.installMinimal__inviteNextButton:hover .installMinimal__inviteNextArrow {
  transform: translateX(3px);
}

.installMinimal__inviteNextButton:focus-visible {
  outline: 3px solid rgba(20, 176, 128, 0.28);
  outline-offset: 3px;
}

.installMinimal__inviteNextButton[hidden] {
  display: none;
}

.installMinimal__copyright {
  margin: 8px 0 0;
  color: var(--hb-muted);
  font-size: 11px;
}

body.has-install-modal {
  overflow: hidden;
}

.inviteInstallModal[hidden] {
  display: none;
}

.inviteInstallModal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.inviteInstallModal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 24, 18, 0.64);
  backdrop-filter: blur(7px);
}

.inviteInstallModal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(90vh, 700px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 213, 60, 0.16), transparent 30%),
    #fff;
  box-shadow: 0 28px 80px rgba(4, 30, 22, 0.3);
  text-align: center;
  animation: inviteModalEnter 200ms ease-out;
}

@keyframes inviteModalEnter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.inviteInstallModal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--hb-line);
  border-radius: 50%;
  background: #fff;
  color: var(--hb-ink);
  font: inherit;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.inviteInstallModal__icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 18px;
}

.inviteInstallModal__eyebrow {
  margin: 13px 0 7px;
  color: var(--hb-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inviteInstallModal h2 {
  margin: 0;
  color: var(--hb-ink);
  font-size: clamp(25px, 7vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.inviteInstallModal__dialog > p:not(.inviteInstallModal__eyebrow):not(.inviteInstallModal__copyStatus) {
  max-width: 410px;
  margin: 11px auto 0;
  color: var(--hb-muted);
  font-size: 14px;
  line-height: 1.5;
}

.inviteInstallModal__codeCard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 0;
  padding: 14px 14px 14px 18px;
  border: 1px solid #ecd37b;
  border-radius: 17px;
  background: #fffaf0;
  text-align: left;
}

.inviteInstallModal__codeCard > div {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.inviteInstallModal__codeCard span {
  color: #73807b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.inviteInstallModal__codeCard strong {
  color: #10231d;
  font-size: clamp(25px, 7vw, 32px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.11em;
  user-select: all;
}

.inviteInstallModal__copy {
  display: inline-flex;
  min-width: 96px;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid var(--hb-green);
  border-radius: 12px;
  background: #fff;
  color: var(--hb-green);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.inviteInstallModal__copy span {
  color: inherit;
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.inviteInstallModal__copy.is-copied {
  border-color: #bfe6d7;
  background: #effaf6;
  color: #0d7658;
}

.inviteInstallModal__copyStatus {
  min-height: 18px;
  margin: 7px 0 0;
  color: #16795d;
  font-size: 11px;
  font-weight: 600;
}

.inviteInstallModal__copyStatus.is-error {
  color: #9f3e36;
}

.inviteInstallModal__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 12px 0 17px;
}

.inviteInstallModal__steps div {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 11px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #f7faf8;
  text-align: left;
}

.inviteInstallModal__steps b {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #e8f7f1;
  color: var(--hb-green);
  font-size: 12px;
}

.inviteInstallModal__steps span {
  flex: 1;
  color: var(--hb-muted);
  font-size: 12px;
  line-height: 1.4;
}

.inviteInstallModal__steps strong {
  color: var(--hb-ink);
}

.inviteInstallModal__storeLinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.inviteInstallModal__storeLink {
  margin: 0;
}

@media (max-width: 1080px) {
  .hb-nav__links {
    display: none;
  }

  .hb-hero {
    padding-top: 140px;
  }

  .hb-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hb-hero__copy {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
  }

  .hb-hero__copy > p {
    margin-inline: auto;
  }

  .hb-hero__actions,
  .hb-trust-row {
    justify-content: center;
  }

  .hb-product-stage {
    width: min(720px, 100%);
    min-height: 790px;
    margin: 0 auto;
  }

  .hb-step {
    grid-template-columns: 42px minmax(0, 0.8fr) minmax(320px, 1.2fr);
    padding: 40px;
  }

  .hb-family__grid {
    gap: 44px;
  }

  .hb-ai__card {
    grid-template-columns: 1fr;
  }

  .hb-ai__copy {
    max-width: 760px;
  }

  .hb-download__card {
    grid-template-columns: 130px 1fr;
  }

  .hb-download__mark {
    width: 125px;
    height: 125px;
  }

  .hb-download__mark img {
    width: 112px;
    height: 112px;
  }

  .hb-download__actions {
    grid-column: 2;
    display: flex;
  }
}

@media (max-width: 820px) {
  .hb-container,
  .container {
    width: min(100% - 32px, var(--hb-max));
  }

  .hb-nav__inner {
    min-height: 68px;
  }

  .hb-link-button {
    display: none;
  }

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

  .hb-brand span {
    font-size: 20px;
  }

  .hb-button--small {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .hb-hero {
    min-height: auto;
    padding: 118px 0 56px;
  }

  .hb-hero h1 {
    font-size: clamp(46px, 12vw, 68px);
  }

  .hb-product-stage {
    min-height: 760px;
  }

  .hb-app-preview {
    width: min(390px, 80%);
  }

  .hb-device-shot--hero {
    width: min(352px, 72%);
    height: 720px;
  }

  .hb-float-card--report {
    right: 0;
  }

  .hb-float-card--dose {
    left: 0;
  }

  .hb-hero__foot {
    flex-wrap: wrap;
    margin-top: 25px;
  }

  .hb-problem,
  .hb-steps,
  .hb-features,
  .hb-family,
  .hb-ai,
  .hb-privacy,
  .hb-download {
    padding-block: 88px;
  }

  .hb-scattered {
    grid-template-columns: 1fr;
  }

  .hb-scattered article {
    min-height: 340px;
  }

  .hb-step {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
    padding: 34px;
  }

  .hb-step__index {
    position: absolute;
    top: 35px;
    right: 35px;
  }

  .hb-step__visual {
    margin-top: 12px;
  }

  .hb-real-feature {
    min-height: 470px;
  }

  .hb-device-shot--section {
    width: min(270px, 68%);
    height: 420px;
  }

  .hb-bento {
    grid-template-columns: 1fr;
  }

  .hb-bento__card--passport {
    min-height: 510px;
  }

  .hb-bento-screen--reports {
    width: min(330px, 55%);
  }

  .hb-bento-screen--medication,
  .hb-bento-screen--summary {
    width: min(270px, 42%);
  }

  .hb-passport {
    top: auto;
    right: 34px;
    bottom: 34px;
    left: 34px;
    width: auto;
    transform: none;
  }

  .hb-family__grid,
  .hb-privacy__grid {
    grid-template-columns: 1fr;
  }

  .hb-family__visual {
    order: 2;
  }

  .hb-family__copy {
    order: 1;
  }

  .hb-family__visual img {
    min-height: 380px;
  }

  .hb-privacy__grid {
    gap: 34px;
  }

  .hb-download__card {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 42px 32px;
    text-align: center;
  }

  .hb-download__actions {
    grid-column: auto;
    justify-content: center;
  }

  .hb-footer__grid {
    grid-template-columns: 1fr;
  }

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

  .supportHero__copy {
    padding-bottom: 8px;
  }

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

  .supportPanel--wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .installMinimal {
    padding: 14px;
  }

  .installMinimal__shell {
    gap: 20px;
    padding: 36px 22px 25px;
    border-radius: 28px;
  }

  .installMinimal__icon {
    width: 102px;
    height: 102px;
    border-radius: 25px;
  }

  .installMinimal__links {
    flex-direction: column;
  }

  .inviteInstallModal {
    align-items: end;
    padding: 10px;
  }

  .inviteInstallModal__dialog {
    width: 100%;
    max-height: 92vh;
    padding: 27px 18px 22px;
    border-radius: 25px;
  }

  .hb-container,
  .container {
    width: min(100% - 24px, var(--hb-max));
  }

  .hb-nav__actions .hb-button span {
    display: none;
  }

  .hb-brand span {
    font-size: 18px;
  }

  .hb-hero__copy {
    text-align: left;
  }

  .hb-hero h1 {
    margin-top: 20px;
    font-size: clamp(40px, 12.3vw, 49px);
  }

  .hb-hero__copy > p {
    font-size: 15px;
  }

  .hb-hero__actions,
  .hb-trust-row {
    justify-content: flex-start;
  }

  .hb-trust-row {
    display: grid;
  }

  .hb-product-stage {
    min-height: 700px;
  }

  .hb-app-preview {
    left: 50%;
    width: 92%;
    min-height: 550px;
    padding-inline: 16px;
    border-width: 6px;
    border-radius: 36px;
  }

  .hb-memory {
    height: 260px;
  }

  .hb-device-shot--hero {
    width: min(300px, 88%);
    height: 620px;
    border-width: 1px;
    border-radius: 35px;
  }

  .hb-float-card {
    display: none;
  }

  .hb-stage-grid,
  .hb-orbit {
    display: none;
  }

  .hb-hero__foot {
    display: none;
  }

  .hb-section-heading h2,
  .hb-family h2,
  .hb-ai h2,
  .hb-privacy h2,
  .hb-download h2 {
    font-size: 34px;
  }

  .hb-scattered {
    margin-top: 40px;
  }

  .hb-step {
    padding: 28px 22px;
    border-radius: 28px;
  }

  .hb-step__index {
    top: 28px;
    right: 25px;
  }

  .hb-step__copy h3 {
    padding-right: 30px;
    font-size: 34px;
  }

  .hb-real-feature {
    min-height: 410px;
    padding-inline: 14px;
    border-radius: 25px;
  }

  .hb-device-shot--section {
    width: min(235px, 78%);
    height: 360px;
    border-width: 1px;
    border-radius: 25px 25px 0 0;
  }

  .hb-collect {
    min-height: 330px;
  }

  .hb-collect::before { inset: 32px 30px; }
  .hb-collect::after { inset: 73px; }
  .hb-collect__item--one { top: 28px; left: 12px; }
  .hb-collect__item--two { top: 45px; right: 12px; }
  .hb-collect__item--three { right: 22px; bottom: 24px; }

  .hb-insight-card,
  .hb-summary-preview {
    padding: 20px;
  }

  .hb-bento__card {
    min-height: 480px;
    padding: 25px;
    border-radius: 28px;
  }

  .hb-report-stack,
  .hb-daily-grid,
  .hb-dose-preview {
    right: 25px;
    bottom: 25px;
    left: 25px;
  }

  .hb-daily-grid {
    gap: 6px;
  }

  .hb-daily-grid > div {
    min-height: 160px;
    padding-inline: 5px;
  }

  .hb-daily-grid img {
    width: 58px;
    height: 58px;
  }

  .hb-bento__card--medication {
    min-height: 410px;
  }

  .hb-bento-screen--reports {
    right: 20px;
    bottom: -145px;
    width: min(260px, 72%);
    height: 390px;
  }

  .hb-bento-screen-pair {
    right: 12px;
    left: 12px;
  }

  .hb-bento-screen--daily-primary {
    left: 0;
    width: 54%;
  }

  .hb-bento-screen--daily-secondary {
    right: 0;
    width: 50%;
  }

  .hb-bento-screen--medication {
    right: 20px;
    bottom: -250px;
    width: min(230px, 62%);
  }

  .hb-bento-screen--summary {
    right: 18px;
    bottom: -250px;
    width: min(220px, 58%);
  }

  .hb-bento__card--passport .hb-bento__copy {
    max-width: 230px;
  }

  .hb-dose-preview {
    padding: 13px;
  }

  .hb-passport {
    right: 25px;
    bottom: 25px;
    left: 25px;
  }

  .hb-family__visual img {
    min-height: 270px;
  }

  .hb-ai__card {
    padding: 35px 24px;
    border-radius: 30px;
  }

  .hb-ai__visual img {
    min-height: 260px;
  }

  .hb-ai__visual--screen {
    width: min(300px, 100%);
    height: 380px;
  }

  .hb-ai__visual--screen img {
    min-height: 0;
  }

  .hb-privacy__points article {
    grid-template-columns: 36px 1fr;
  }

  .hb-privacy__points p {
    grid-column: 2;
  }

  .hb-download__card {
    padding-inline: 22px;
    border-radius: 30px;
  }

  .hb-download__actions {
    display: grid;
  }

  .hb-footer__links {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .legalCard {
    padding: 25px 20px;
    border-radius: 24px;
  }

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

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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