@font-face {
  font-family: "Quicksand";
  src: url("./fonts/Quicksand-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Quicksand";
  src: url("./fonts/Quicksand-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Quicksand";
  src: url("./fonts/Quicksand-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Quicksand";
  src: url("./fonts/Quicksand-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --primary: #4f46e5;
  --primary-shade: #463eca;
  --primary-tint: #6159e8;
  --secondary: #14b8a6;
  --tertiary: #8b5cf6;
  --success: #22a06b;
  --warning: #e99a2d;
  --danger: #d64545;
  --app-background: #f8faff;
  --app-background-secondary: #f0f4ff;
  --app-background-tertiary: #eef2ff;
  --card-background: #ffffff;
  --app-primary-text: #091b36;
  --app-muted-text: #717887;
  --app-border: #e4e7ed;
  --app-primary-tint: #f2f0ff;
  --app-navy: #091f3e;
  --page-background: #ffffff;
  --font: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 10px 35px rgba(9, 31, 62, 0.08);
  --shadow-lg: 0 32px 80px rgba(9, 31, 62, 0.14);
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 40px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--app-primary-text);
  background: var(--page-background);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: var(--font);
}

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

a {
  color: inherit;
}

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

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.34);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--app-navy);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(228, 231, 237, 0.78);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--app-navy);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--primary-tint), var(--primary));
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.24);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.brand-copy {
  display: grid;
  line-height: 1.12;
}

.brand-copy strong {
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--app-muted-text);
  font-size: 0.7rem;
  font-weight: 600;
}

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

.site-nav > a:not(.button) {
  position: relative;
  color: #516074;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--primary);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav > a:not(.button):hover::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  border-radius: 13px;
  background: var(--app-background-secondary);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 99px;
  background: var(--app-navy);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.84rem;
}

.button-large {
  min-height: 60px;
  padding: 0 28px;
  font-size: 0.96rem;
}

.button-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.22);
}

.button-primary:hover {
  background: var(--primary-shade);
  box-shadow: 0 17px 34px rgba(79, 70, 229, 0.3);
}

.button-light {
  color: var(--app-navy);
  background: #fff;
  box-shadow: 0 15px 36px rgba(4, 13, 29, 0.18);
}

.section {
  padding: 110px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 790px;
  padding: 94px 0 86px;
  background:
    radial-gradient(circle at 77% 35%, rgba(139, 92, 246, 0.11), transparent 29%),
    linear-gradient(180deg, #fff 0%, var(--app-background) 100%);
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: -240px;
  left: -10%;
  height: 300px;
  border-radius: 50% 50% 0 0;
  background: #fff;
  content: "";
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-orb-one {
  top: 70px;
  right: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(79, 70, 229, 0.1);
}

.hero-orb-two {
  bottom: 84px;
  left: -90px;
  width: 220px;
  height: 220px;
  background: rgba(20, 184, 166, 0.06);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(400px, 0.97fr);
  align-items: center;
  gap: 88px;
}

.hero-copy {
  padding-bottom: 30px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.115em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

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

h1 {
  max-width: 660px;
  margin-bottom: 27px;
  color: var(--app-navy);
  font-size: clamp(3.6rem, 6.2vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -0.068em;
  line-height: 0.98;
}

h1 em {
  color: var(--primary);
  font-style: normal;
}

.hero-lede {
  max-width: 580px;
  margin-bottom: 34px;
  color: #536177;
  font-size: clamp(1.06rem, 1.8vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--app-navy);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link span {
  color: var(--primary);
}

.trust-row {
  display: flex;
  margin-top: 36px;
  flex-wrap: wrap;
  gap: 11px 24px;
  color: var(--app-muted-text);
  font-size: 0.75rem;
  font-weight: 600;
}

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

.trust-row i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--success);
  background: rgba(34, 160, 107, 0.1);
  font-size: 0.62rem;
  font-style: normal;
}

.phone-stage {
  position: relative;
  display: grid;
  min-height: 580px;
  place-items: center;
}

.phone-stage::before {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.12), rgba(20, 184, 166, 0.09));
  content: "";
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: 285px;
  height: 576px;
  overflow: hidden;
  padding: 10px;
  border: 2px solid rgba(9, 31, 62, 0.92);
  border-radius: 46px;
  background: #071a36;
  box-shadow: 0 42px 90px rgba(9, 31, 62, 0.27), 0 0 0 8px rgba(255, 255, 255, 0.8);
  transform: rotate(2deg);
}

.phone-frame > img,
.screenshot-placeholder {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 35px;
  background: #f8faff;
  object-fit: cover;
}

.phone-speaker {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 5;
  width: 76px;
  height: 22px;
  border-radius: 0 0 15px 15px;
  background: #071a36;
  transform: translateX(-50%);
}

.screenshot-placeholder {
  padding: 22px 18px;
  color: var(--app-navy);
}

.mini-status,
.mini-header,
.mini-cycle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-status {
  padding: 0 8px 20px;
  color: #6c7684;
  font-size: 0.55rem;
  font-weight: 700;
}

.mini-header {
  margin: 9px 1px 18px;
  font-size: 0.72rem;
}

.mini-header b {
  color: var(--primary);
}

.mini-card {
  border: 1px solid #eaecf1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(9, 31, 62, 0.07);
}

.mini-score-card {
  margin-bottom: 21px;
  padding: 20px;
}

.mini-score-card p,
.mini-action-card p {
  margin-bottom: 8px;
  color: #717887;
  font-size: 0.61rem;
}

.mini-score-card strong {
  color: var(--primary);
  font-size: 2.9rem;
  line-height: 1;
}

.mini-score-card > span {
  color: #9aa0aa;
  font-size: 0.7rem;
}

.mini-progress {
  height: 6px;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 99px;
  background: #eceefa;
}

.mini-progress i {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.mini-label {
  margin-bottom: 10px;
  font-size: 0.63rem;
  font-weight: 700;
}

.mini-cycle-row {
  gap: 5px;
  margin-bottom: 22px;
}

.mini-cycle-row span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  color: #7d8694;
  background: #fff;
  font-size: 0.55rem;
  font-weight: 700;
}

.mini-cycle-row .active {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.28);
}

.mini-action-card {
  padding: 18px;
}

.mini-action-card b {
  font-size: 0.73rem;
}

.mini-action-card > span {
  color: var(--primary);
  font-size: 0.58rem;
  font-weight: 700;
}

.placeholder-note {
  margin-top: 18px;
  color: #a0a7b3;
  font-size: 0.55rem;
  text-align: center;
}

.cycle-dial {
  position: absolute;
  top: 36px;
  left: 15px;
  z-index: 1;
  display: grid;
  width: 136px;
  height: 136px;
  place-content: center;
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: 50%;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 0 0 10px rgba(79, 70, 229, 0.035);
  text-align: center;
}

.cycle-number {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

.cycle-label {
  color: var(--app-muted-text);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  min-width: 188px;
  padding: 13px 15px;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(228, 231, 237, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.floating-card-top {
  top: 152px;
  right: -18px;
}

.floating-card-bottom {
  bottom: 82px;
  left: -17px;
}

.floating-card > span:last-child {
  display: grid;
}

.floating-card small {
  color: var(--app-muted-text);
  font-size: 0.58rem;
}

.floating-card strong {
  font-size: 0.72rem;
}

.floating-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 10px;
  color: var(--success);
  background: rgba(34, 160, 107, 0.1);
  font-size: 0.84rem;
  font-weight: 700;
}

.floating-icon.accent {
  color: var(--primary);
  background: var(--app-primary-tint);
}

.why-section {
  position: relative;
  z-index: 3;
  padding-top: 80px;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 100px;
}

.section-heading h2,
.health-copy h2,
.final-cta h2 {
  margin-bottom: 26px;
  color: var(--app-navy);
  font-size: clamp(2.5rem, 4.4vw, 4.3rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.why-copy {
  padding-top: 45px;
  color: var(--app-muted-text);
}

.lead-paragraph {
  color: var(--app-primary-text);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.7;
}

.context-note {
  display: grid;
  margin-top: 31px;
  padding: 20px 22px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 19px;
  border-left: 3px solid var(--secondary);
  border-radius: 0 15px 15px 0;
  background: rgba(20, 184, 166, 0.055);
  font-size: 0.82rem;
}

.context-note strong {
  color: var(--app-primary-text);
}

.features-section {
  background: var(--app-background);
}

.section-heading-centered {
  max-width: 780px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-heading-centered .eyebrow {
  justify-content: center;
}

.section-heading-centered > p:last-child,
.faq-heading > p:last-child,
.health-copy > p {
  color: var(--app-muted-text);
  font-size: 1.02rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  padding: 42px;
  border: 1px solid var(--app-border);
  border-radius: var(--radius-md);
  background: var(--card-background);
  box-shadow: 0 5px 18px rgba(9, 31, 62, 0.025);
  transition: transform 230ms ease, box-shadow 230ms ease, border-color 230ms ease;
}

.feature-card:hover {
  border-color: rgba(79, 70, 229, 0.2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.feature-card-primary {
  display: grid;
  min-height: 445px;
  grid-column: span 2;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 64px;
}

.feature-index {
  position: absolute;
  top: 34px;
  right: 36px;
  color: rgba(79, 70, 229, 0.22);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature-kicker {
  margin-bottom: 11px;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.feature-card h3 {
  max-width: 440px;
  margin-bottom: 17px;
  color: var(--app-navy);
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  letter-spacing: -0.045em;
  line-height: 1.16;
}

.feature-card > p:not(.feature-kicker),
.feature-card > div > p:not(.feature-kicker) {
  max-width: 540px;
  margin-bottom: 27px;
  color: var(--app-muted-text);
}

.habits-visual {
  display: grid;
  gap: 22px;
  padding: 34px;
  border-radius: 25px;
  background: linear-gradient(145deg, var(--app-primary-tint), #f7f9ff);
}

.habits-visual span {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.habits-visual span::before {
  height: 8px;
  border-radius: 99px;
  background: #fff;
  content: "";
}

.habits-visual i {
  width: var(--value);
  height: 8px;
  margin-top: -15px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.habits-visual b {
  color: #526076;
  font-size: 0.7rem;
}

.timeline-visual {
  position: absolute;
  right: 42px;
  bottom: 40px;
  left: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.timeline-visual::before {
  position: absolute;
  right: 0;
  left: 0;
  height: 2px;
  background: #dfe2f7;
  content: "";
}

.timeline-visual i {
  position: relative;
  z-index: 2;
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #c5c9df;
  box-shadow: 0 0 0 1px #c5c9df;
}

.timeline-visual i.now {
  width: 18px;
  height: 18px;
  background: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 0 0 7px rgba(79, 70, 229, 0.1);
}

.trend-visual {
  position: absolute;
  right: 40px;
  bottom: 40px;
  left: 40px;
  display: flex;
  height: 75px;
  align-items: end;
  justify-content: space-around;
  border-bottom: 1px solid var(--app-border);
}

.trend-visual::after {
  position: absolute;
  top: 30px;
  right: 0;
  left: 0;
  border-top: 1px dashed rgba(20, 184, 166, 0.35);
  content: "";
}

.trend-visual span {
  z-index: 1;
  width: 10%;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--primary-tint), rgba(79, 70, 229, 0.25));
}

.trend-visual span:nth-child(1) { height: 31%; }
.trend-visual span:nth-child(2) { height: 47%; }
.trend-visual span:nth-child(3) { height: 42%; }
.trend-visual span:nth-child(4) { height: 67%; }
.trend-visual span:nth-child(5) { height: 83%; background: linear-gradient(180deg, var(--secondary), rgba(20, 184, 166, 0.36)); }

.question-visual {
  position: absolute;
  right: 40px;
  bottom: 38px;
  left: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.question-visual span {
  padding: 13px 17px;
  border-radius: 16px 16px 3px 16px;
  color: #59667a;
  background: var(--app-background-secondary);
  font-size: 0.72rem;
  font-weight: 600;
}

.question-visual i {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--primary);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
}

.calendar-visual {
  position: absolute;
  right: 40px;
  bottom: 38px;
  left: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-visual span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #8b94a1;
  background: #f8f9fb;
  font-size: 0.72rem;
  font-weight: 700;
}

.calendar-visual .soft {
  color: var(--primary);
  background: var(--app-primary-tint);
}

.calendar-visual .peak {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.25);
}

.feature-card-privacy {
  color: #fff;
  border-color: var(--app-navy);
  background:
    radial-gradient(circle at 90% 12%, rgba(139, 92, 246, 0.42), transparent 34%),
    linear-gradient(145deg, var(--app-navy), #102b51);
}

.feature-card-privacy:hover {
  border-color: var(--app-navy);
}

.feature-card-privacy .feature-index {
  color: rgba(255, 255, 255, 0.25);
}

.feature-card-privacy .feature-kicker {
  color: #aaa4ff;
}

.feature-card-privacy h3 {
  color: #fff;
}

.feature-card-privacy > p:not(.feature-kicker) {
  color: rgba(255, 255, 255, 0.68);
}

.privacy-pill {
  position: absolute;
  bottom: 38px;
  left: 42px;
  display: inline-flex;
  padding: 10px 14px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.68rem;
  font-weight: 700;
}

.privacy-pill span {
  color: var(--secondary);
  font-size: 0.7rem;
}

.health-section {
  overflow: hidden;
}

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

.health-copy {
  max-width: 590px;
}

.health-copy h2 {
  font-size: clamp(2.45rem, 4vw, 3.9rem);
}

.check-list {
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  gap: 13px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #536177;
  font-size: 0.86rem;
  font-weight: 600;
}

.check-list li::before {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border-radius: 50%;
  color: var(--success);
  background: rgba(34, 160, 107, 0.1);
  content: "✓";
  font-size: 0.65rem;
  font-weight: 700;
}

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

.health-visual::before {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--app-primary-tint), rgba(20, 184, 166, 0.09));
  content: "";
}

.health-center,
.data-ring {
  position: absolute;
  z-index: 2;
  display: grid;
  place-content: center;
  border-radius: 50%;
  text-align: center;
}

.health-center {
  width: 190px;
  height: 190px;
  border: 1px solid rgba(79, 70, 229, 0.12);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.health-center span,
.data-ring span {
  color: var(--app-muted-text);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.health-center strong {
  margin-top: 4px;
  color: var(--app-navy);
  font-size: 1.35rem;
}

.data-ring {
  width: 126px;
  height: 126px;
  border: 8px solid rgba(79, 70, 229, 0.09);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.data-ring strong {
  color: var(--primary);
  font-size: 1.05rem;
}

.ring-one {
  top: 30px;
  right: 18px;
  border-top-color: var(--primary);
  transform: rotate(5deg);
}

.ring-one > * {
  transform: rotate(-5deg);
}

.ring-two {
  bottom: 23px;
  left: 0;
  border-right-color: var(--secondary);
  transform: rotate(-8deg);
}

.ring-two > * {
  transform: rotate(8deg);
}

.faq-section {
  background: var(--app-background);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 100px;
}

.faq-heading {
  position: sticky;
  top: 135px;
}

.faq-heading h2 {
  font-size: clamp(2.4rem, 3.8vw, 3.65rem);
}

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

.faq-list details {
  border-bottom: 1px solid var(--app-border);
}

.faq-list summary {
  display: flex;
  min-height: 84px;
  padding: 25px 4px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--app-primary-text);
  cursor: pointer;
  font-size: 1.03rem;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--app-primary-tint);
  font-size: 1.15rem;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details > div {
  padding: 0 60px 26px 4px;
  color: var(--app-muted-text);
  font-size: 0.92rem;
}

.final-cta {
  padding: 96px 0;
}

.final-cta-card {
  position: relative;
  display: flex;
  min-height: 360px;
  overflow: hidden;
  padding: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 88% 16%, rgba(139, 92, 246, 0.72), transparent 34%),
    linear-gradient(135deg, #071a36, #112c57);
  box-shadow: var(--shadow-lg);
}

.final-cta-card::after {
  position: absolute;
  right: 80px;
  bottom: -190px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.final-cta-card > * {
  position: relative;
  z-index: 2;
}

.eyebrow-light {
  color: #a9a3ff;
}

.final-cta h2 {
  max-width: 720px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
}

.final-cta p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.final-cta .button {
  flex: 0 0 auto;
}

.qr-card {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  width: 335px;
  padding: 13px 38px 13px 13px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(228, 231, 237, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 60px rgba(9, 31, 62, 0.18);
  backdrop-filter: blur(15px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.qr-card.is-dismissed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.qr-card > img,
.qr-placeholder {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 11px;
  object-fit: cover;
}

.qr-placeholder {
  display: grid;
  place-content: center;
  border: 1px dashed #cbd0d9;
  color: var(--primary);
  background:
    linear-gradient(90deg, transparent 49%, rgba(79, 70, 229, 0.05) 50%),
    linear-gradient(transparent 49%, rgba(79, 70, 229, 0.05) 50%);
  background-size: 8px 8px;
  text-align: center;
}

.qr-placeholder span {
  font-size: 0.72rem;
  font-weight: 700;
}

.qr-placeholder small {
  color: var(--app-muted-text);
  font-size: 0.48rem;
  line-height: 1.2;
}

.qr-card > div:last-of-type {
  display: grid;
}

.qr-card strong {
  color: var(--app-navy);
  font-size: 0.8rem;
}

.qr-card > div:last-of-type span {
  margin-top: 3px;
  color: var(--app-muted-text);
  font-size: 0.67rem;
}

.qr-close {
  position: absolute;
  top: 8px;
  right: 9px;
  display: grid;
  width: 26px;
  height: 26px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #8b93a0;
  background: transparent;
  cursor: pointer;
  font-size: 1.05rem;
}

.qr-close:hover {
  background: var(--app-background-secondary);
}

.site-footer {
  padding: 78px 0 25px;
  color: rgba(255, 255, 255, 0.66);
  background: #061529;
}

.footer-top {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1.25fr;
  align-items: start;
  gap: 70px;
  padding-bottom: 60px;
}

.footer-brand {
  color: #fff;
}

.brand-mark-light {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.footer-brand .brand-copy small {
  color: rgba(255, 255, 255, 0.48);
}

.footer-top > p {
  margin: 3px 0 0;
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 15px 26px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  padding-top: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

/* Download fallback page */
.download-page {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  background: var(--app-background);
}

.download-header {
  position: relative;
  z-index: 10;
  padding: 25px 0;
}

.download-main {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 680px;
  padding: 52px 24px 94px;
  place-items: center;
}

.download-main::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78vw, 900px);
  height: min(78vw, 900px);
  border: 1px solid rgba(79, 70, 229, 0.08);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.download-main::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58vw, 660px);
  height: min(58vw, 660px);
  border: 1px solid rgba(20, 184, 166, 0.08);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.download-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.download-orb-one {
  top: 8%;
  right: 9%;
  width: 240px;
  height: 240px;
  background: rgba(139, 92, 246, 0.08);
  filter: blur(4px);
}

.download-orb-two {
  bottom: 10%;
  left: 8%;
  width: 190px;
  height: 190px;
  background: rgba(20, 184, 166, 0.07);
  filter: blur(4px);
}

.download-card {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  padding: 64px 70px 48px;
  border: 1px solid rgba(228, 231, 237, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.download-card .eyebrow {
  justify-content: center;
}

.download-card h1 {
  max-width: none;
  margin-bottom: 22px;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
}

.download-lede {
  max-width: 590px;
  margin: 0 auto 35px;
  color: var(--app-muted-text);
  font-size: 1.04rem;
}

.store-options {
  display: grid;
  gap: 13px;
}

.store-button {
  display: grid;
  min-height: 86px;
  padding: 14px 20px;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 17px;
  border: 1px solid transparent;
  border-radius: 19px;
  text-align: left;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.store-button-apple {
  color: #fff;
  background: var(--app-navy);
  box-shadow: 0 14px 28px rgba(9, 31, 62, 0.18);
}

.store-button-apple:hover {
  box-shadow: 0 18px 35px rgba(9, 31, 62, 0.25);
}

.store-button-google {
  color: var(--app-navy);
  border-color: var(--app-border);
  background: #fff;
  box-shadow: 0 10px 24px rgba(9, 31, 62, 0.06);
}

.store-button-google:hover {
  border-color: rgba(79, 70, 229, 0.22);
  box-shadow: var(--shadow-sm);
}

.store-platform {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: var(--app-navy);
  background: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.store-platform-google {
  color: #fff;
  background: linear-gradient(145deg, var(--secondary), var(--primary));
}

.store-button > span:nth-child(2) {
  display: grid;
  line-height: 1.2;
}

.store-button small {
  margin-bottom: 4px;
  color: inherit;
  font-size: 0.63rem;
  font-weight: 500;
  opacity: 0.65;
}

.store-button strong {
  font-size: 1.08rem;
}

.store-button > i {
  font-size: 1.1rem;
  font-style: normal;
}

.download-note {
  max-width: 490px;
  margin: 25px auto 0;
  color: var(--app-muted-text);
  font-size: 0.72rem;
}

.download-trust {
  display: flex;
  margin-top: 30px;
  padding-top: 26px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 25px;
  border-top: 1px solid var(--app-border);
  color: var(--app-muted-text);
  font-size: 0.69rem;
  font-weight: 600;
}

.download-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.download-trust i {
  color: var(--success);
  font-style: normal;
}

.download-footer {
  position: relative;
  z-index: 3;
  padding: 22px 0 28px;
  color: var(--app-muted-text);
  font-size: 0.7rem;
}

.download-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.download-footer nav {
  display: flex;
  gap: 22px;
}

.download-footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.download-footer a:hover {
  color: var(--primary);
}

.why-doc-article h1 {
  max-width: 14em;
  margin-bottom: 28px;
  font-size: clamp(2.35rem, 5vw, 4.05rem);
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.why-doc-article .lead-paragraph {
  margin-bottom: 12px;
}

.why-doc-article .lead-paragraph a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.why-doc-article .lead-paragraph a:hover {
  text-decoration: underline;
}

.why-doc-article h2 {
  margin: 42px 0 14px;
  color: var(--app-navy);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.why-doc-article p {
  color: var(--app-muted-text);
}

.why-doc .faq-heading {
  position: static;
}

.why-doc .faq-grid {
  gap: 56px;
}

@media (max-width: 1100px) {
  .hero-grid {
    gap: 45px;
  }

  .phone-stage {
    transform: scale(0.9);
  }

  .qr-card {
    display: none;
  }

  .why-grid,
  .faq-grid {
    gap: 65px;
  }

  .health-grid {
    gap: 50px;
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .nav-shell {
    min-height: 72px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    border-bottom: 1px solid var(--app-border);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
  }

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

  .site-nav > a:not(.button) {
    padding: 12px 14px;
  }

  .site-nav > a:not(.button)::after {
    display: none;
  }

  .site-nav .button {
    margin-top: 8px;
  }

  .hero {
    min-height: 0;
    padding-top: 74px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    display: grid;
    justify-items: center;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .phone-stage {
    margin: -5px 0 -40px;
    transform: scale(0.86);
  }

  .why-grid,
  .health-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .why-copy {
    padding-top: 0;
  }

  .feature-card-primary {
    grid-template-columns: 1fr;
  }

  .health-copy {
    max-width: 720px;
    order: -1;
  }

  .health-visual {
    min-height: 420px;
  }

  .faq-heading {
    position: static;
    max-width: 650px;
  }

  .final-cta-card {
    padding: 60px;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-links {
    grid-column: span 2;
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .brand-copy small {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    padding: 58px 0 72px;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 4.7rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 20px;
  }

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

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

  .phone-stage {
    width: calc(100% + 20px);
    min-height: 525px;
    margin: -25px -10px -70px;
    transform: scale(0.78);
  }

  .floating-card-top {
    right: -35px;
  }

  .floating-card-bottom {
    left: -35px;
  }

  .why-grid {
    gap: 30px;
  }

  .section-heading h2,
  .health-copy h2,
  .final-cta h2 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  .context-note {
    grid-template-columns: 1fr;
  }

  .section-heading-centered {
    margin-bottom: 38px;
    text-align: left;
  }

  .section-heading-centered .eyebrow {
    justify-content: flex-start;
  }

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

  .feature-card,
  .feature-card-primary {
    min-height: 390px;
    padding: 33px 28px;
    grid-column: auto;
  }

  .feature-card-primary {
    min-height: 610px;
    gap: 22px;
  }

  .feature-index {
    top: 27px;
    right: 27px;
  }

  .feature-card h3 {
    padding-right: 20px;
  }

  .habits-visual {
    padding: 28px;
  }

  .timeline-visual,
  .trend-visual,
  .question-visual,
  .calendar-visual {
    right: 28px;
    bottom: 31px;
    left: 28px;
  }

  .calendar-visual span {
    width: 36px;
    height: 36px;
  }

  .privacy-pill {
    bottom: 31px;
    left: 28px;
  }

  .health-visual {
    min-height: 370px;
    transform: scale(0.87);
  }

  .faq-list summary {
    font-size: 0.93rem;
  }

  .faq-list details > div {
    padding-right: 10px;
  }

  .final-cta {
    padding: 62px 0;
  }

  .final-cta-card {
    min-height: 0;
    padding: 44px 30px;
    gap: 34px;
    border-radius: 28px;
  }

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

  .site-footer {
    padding-top: 58px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-links {
    grid-column: auto;
    justify-content: flex-start;
  }

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

  .download-header {
    padding: 18px 0;
  }

  .download-main {
    min-height: 0;
    padding: 28px 14px 58px;
  }

  .download-card {
    padding: 44px 22px 32px;
    border-radius: 28px;
  }

  .download-card h1 {
    font-size: clamp(3.2rem, 16vw, 4.3rem);
  }

  .download-lede {
    font-size: 0.94rem;
  }

  .store-button {
    min-height: 80px;
    padding: 13px 15px;
    grid-template-columns: 44px 1fr auto;
    gap: 14px;
  }

  .store-platform {
    width: 44px;
    height: 44px;
  }

  .download-trust {
    flex-direction: column;
    align-items: center;
  }

  .download-footer .shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .qr-card,
  .hero-actions,
  .final-cta {
    display: none;
  }

  .hero,
  .features-section,
  .faq-section {
    background: #fff;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
