:root {
  color-scheme: light;
  --page: #fffdf9;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --panel: #f3f0f7;
  --ink: #1c1b1a;
  --muted: #6f6762;
  --subtle: #918983;
  --line: #ded7d0;
  --line-soft: #ebe4dc;
  --indigo: #5b5fae;
  --indigo-deep: #484da0;
  --indigo-soft: #e8e8f6;
  --terracotta: #b55243;
  --shadow: 0 26px 80px rgba(38, 30, 24, 0.12);
  --shadow-soft: 0 22px 58px rgba(38, 30, 24, 0.08);
  --glass: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.56));
  --glass-strong: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68));
  --glass-tint: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(247, 244, 255, 0.52));
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 24px 64px rgba(38, 30, 24, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1320px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 74px;
  margin: 0;
  padding: 14px max(28px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 56px rgba(38, 30, 24, 0.05);
  backdrop-filter: blur(24px) saturate(1.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.8);
  box-shadow: 0 10px 26px rgba(38, 30, 24, 0.09);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.desktop-nav {
  display: inline-flex;
  align-items: center;
  gap: 52px;
  color: #36312d;
  font-size: 15px;
  font-weight: 650;
}

.desktop-nav a,
.footer-links a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--indigo);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--indigo);
  color: #ffffff;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(91, 95, 174, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta:hover,
.button.primary:hover {
  background: var(--indigo-deep);
  box-shadow: 0 16px 38px rgba(91, 95, 174, 0.28);
  transform: translateY(-1px);
}

.menu-button,
.mobile-menu {
  display: none;
}

main {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

.section-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.hero {
  min-height: 820px;
  padding: 40px 0 58px;
}

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

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin-bottom: 42px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-size: 14px;
  font-weight: 760;
}

.trust-pill svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

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

h1 {
  font-size: 54px;
  line-height: 1.16;
  font-weight: 850;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h2 {
  font-size: 42px;
  line-height: 1.22;
  font-weight: 830;
}

h3 {
  font-size: 22px;
  line-height: 1.28;
  font-weight: 800;
}

.hero-lead {
  max-width: 520px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button.primary {
  background: var(--indigo);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(91, 95, 174, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 14px 34px rgba(38, 30, 24, 0.07);
  backdrop-filter: blur(18px) saturate(1.14);
}

.button.secondary:hover {
  color: var(--indigo);
  transform: translateY(-1px);
}

.app-store-entry {
  gap: 12px;
  min-width: 230px;
  min-height: 66px;
  justify-content: flex-start;
  padding: 0 22px;
  text-align: left;
}

.app-store-entry svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  stroke-width: 2;
}

.app-store-entry span {
  display: grid;
  gap: 5px;
}

.app-store-entry strong,
.app-store-entry small {
  display: block;
  line-height: 1;
}

.app-store-entry small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 760;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 44px;
  color: #4c4641;
  font-size: 15px;
  font-weight: 650;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof svg {
  width: 18px;
  height: 18px;
  color: var(--indigo);
  stroke-width: 1.9;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.phone {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 10px solid #181716;
  border-radius: 46px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-main {
  top: 10px;
  left: 56px;
  z-index: 2;
  width: 292px;
  height: 634px;
}

.phone-secondary {
  top: 94px;
  right: 46px;
  width: 246px;
  height: 534px;
  transform: rotate(7deg);
}

.record-line {
  padding: 76px 0;
}

.record-card {
  display: grid;
  min-height: 380px;
  padding: 32px;
  border-radius: 28px;
  background: var(--glass-strong);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(24px) saturate(1.16);
}

.mini-calendar,
.trend-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 34px rgba(38, 30, 24, 0.06);
  backdrop-filter: blur(18px) saturate(1.12);
}

.mini-calendar {
  width: min(460px, 100%);
  padding: 24px;
  justify-self: end;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 15px;
}

.calendar-head svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  color: #5e5751;
  font-size: 14px;
  text-align: center;
}

.calendar-grid span {
  display: grid;
  min-height: 28px;
  place-items: center;
}

.calendar-grid .is-active {
  border-radius: 50%;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-weight: 800;
}

.trend-card {
  width: min(460px, 100%);
  margin: 18px 0 0;
  padding: 24px 24px 18px;
  justify-self: end;
}

.trend-card > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.trend-card strong {
  font-size: 28px;
  line-height: 1;
}

.trend-line {
  width: 100%;
  margin-top: 18px;
}

.trend-grid {
  fill: none;
  stroke: rgba(222, 215, 208, 0.8);
  stroke-width: 1;
}

.trend-medication-markers path {
  fill: none;
  stroke: rgba(139, 126, 217, 0.42);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 2 8;
  opacity: 0;
}

.trend-path {
  fill: none;
  stroke: var(--indigo);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
}

.is-visible .trend-path {
  animation: draw-line 1300ms ease forwards;
}

.is-visible .trend-medication-markers path {
  animation: marker-in 520ms ease forwards;
}

.is-visible .trend-medication-markers path:nth-child(2) {
  animation-delay: 120ms;
}

.is-visible .trend-medication-markers path:nth-child(3) {
  animation-delay: 240ms;
}

.is-visible .trend-medication-markers path:nth-child(4) {
  animation-delay: 360ms;
}

.trend-dots circle {
  fill: var(--indigo);
  opacity: 0;
}

.is-visible .trend-dots circle {
  animation: dot-in 360ms ease forwards;
}

.is-visible .trend-dots circle:nth-child(2) {
  animation-delay: 180ms;
}

.is-visible .trend-dots circle:nth-child(3) {
  animation-delay: 360ms;
}

.is-visible .trend-dots circle:nth-child(4) {
  animation-delay: 540ms;
}

.trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  color: #77706a;
  font-size: 12px;
  font-weight: 700;
}

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

.trend-legend i {
  display: inline-block;
  flex: 0 0 auto;
}

.weight-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4f85bd;
}

.medicine-mark {
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: rgba(139, 126, 217, 0.72);
  transform: rotate(-42deg);
}

.record-copy {
  padding-right: 20px;
}

.check-list {
  display: grid;
  gap: 20px;
  margin: 34px 0 0;
  padding: 0;
  color: #514b46;
  font-size: 18px;
  line-height: 1.58;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: inset 0 0 0 5px var(--indigo-soft);
}

.feature-stage,
.use-cases,
.faq-section {
  padding: 72px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.feature-stage .section-heading {
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.feature-stage .section-heading h2 {
  white-space: nowrap;
}

.feature-stage .section-heading p {
  max-width: 720px;
}

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

.feature-card {
  display: grid;
  min-height: 0;
  align-content: start;
  padding: 34px 34px 0;
  border-radius: 28px;
  background: var(--glass);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(24px) saturate(1.16);
}

.feature-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 17px;
  background: var(--indigo-soft);
  color: var(--indigo);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.9;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  max-width: 330px;
  color: var(--muted);
  font-size: 16px;
}

.screen-crop {
  position: relative;
  width: 100%;
  height: clamp(360px, 30vw, 420px);
  margin: 30px auto 34px;
  overflow: hidden;
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 20px 46px rgba(38, 30, 24, 0.1);
}

.screen-crop::before {
  content: none;
}

.screen-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crop-diary img {
  object-position: center 48%;
}

.crop-home img {
  object-position: center 46%;
}

.crop-inventory img {
  object-position: center 48%;
}

.privacy-band {
  align-items: start;
  padding: 58px 44px;
  border-radius: 30px;
  background: var(--glass-strong);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(24px) saturate(1.16);
}

.privacy-copy p {
  max-width: 520px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

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

.privacy-list div {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 12px 30px rgba(38, 30, 24, 0.045);
  backdrop-filter: blur(18px) saturate(1.12);
}

.privacy-list svg {
  width: 26px;
  height: 26px;
  color: var(--indigo);
  stroke-width: 1.9;
}

.privacy-list strong {
  font-size: 17px;
}

.privacy-list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.use-cases .section-heading {
  margin-bottom: 28px;
}

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

.use-case-grid article {
  padding: 30px;
  border-radius: 24px;
  background: var(--glass);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(22px) saturate(1.14);
}

.use-case-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--indigo);
  font-size: 15px;
  font-weight: 800;
}

.use-case-grid p {
  color: #3f3935;
  font-size: 18px;
  line-height: 1.7;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 60px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 30px rgba(38, 30, 24, 0.045);
  backdrop-filter: blur(18px) saturate(1.12);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 18px 0 22px;
  color: #302b27;
  font-size: 17px;
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

details[open] summary::after {
  transform: rotate(225deg);
}

details p {
  padding: 0 22px 20px;
  color: var(--muted);
}

.download-section {
  grid-template-columns: minmax(0, 1.35fr) auto;
  margin: 72px 0;
  padding: 42px 44px;
  border-radius: 30px;
  background: var(--glass-strong);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(24px) saturate(1.16);
}

.download-section h2 {
  white-space: nowrap;
}

.download-section p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 18px;
}

.download-section .button {
  justify-self: end;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: start;
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 38px 0 52px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 14px 30px;
  color: #4e4742;
  font-size: 14px;
  font-weight: 650;
}

.site-footer p,
.site-footer small {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer small {
  display: block;
  margin-top: 12px;
}

.icp-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
}

.icp-link:hover {
  color: var(--ink);
  text-decoration: none;
}

.mobile-sticky-cta {
  display: none;
}

.download-popover {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
}

.download-popover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 253, 249, 0.34);
  opacity: 0;
  transition: opacity 180ms ease;
  backdrop-filter: blur(2px);
}

.download-popover.is-open {
  pointer-events: auto;
}

.download-popover.is-open::before {
  opacity: 1;
}

.download-popover-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(560px, calc(100vw - 40px));
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 24px 72px rgba(38, 30, 24, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -48%) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(28px) saturate(1.18);
}

.download-popover.is-open .download-popover-card {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.download-popover-card:focus {
  outline: none;
}

.download-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 780;
}

.download-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #4a4540;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(38, 30, 24, 0.08);
}

.download-close svg {
  width: 18px;
  height: 18px;
}

.download-popover-card h2 {
  font-size: 24px;
  line-height: 1.2;
}

.distribution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.distribution-option {
  display: grid;
  min-height: 168px;
  align-content: start;
  gap: 9px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(247, 244, 255, 0.5));
  color: inherit;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 28px rgba(38, 30, 24, 0.06);
}

.distribution-option[href] {
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.distribution-option[href]:hover,
.distribution-option[href]:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 18px 38px rgba(38, 30, 24, 0.1);
}

.distribution-option[href]:focus-visible {
  outline: 3px solid rgba(91, 95, 174, 0.28);
  outline-offset: 3px;
}

.distribution-option.is-android {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(239, 246, 240, 0.56));
}

.distribution-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: rgba(232, 232, 246, 0.88);
  color: #1c1b1a;
}

.distribution-option.is-android .distribution-icon {
  background: rgba(61, 220, 132, 0.14);
  color: #3ddc84;
}

.distribution-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  stroke: none;
}

.distribution-option strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
}

.distribution-option small {
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(91, 95, 174, 0.1);
  color: var(--indigo);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.distribution-option.is-android small {
  background: rgba(78, 135, 96, 0.12);
  color: #4e8760;
}

.distribution-option p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

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

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

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes dot-in {
  to {
    opacity: 1;
  }
}

@keyframes marker-in {
  to {
    opacity: 1;
  }
}

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

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

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

  .trend-path {
    stroke-dashoffset: 0;
  }

  .trend-dots circle {
    opacity: 1;
  }

  .trend-medication-markers path {
    opacity: 1;
  }
}

@media (max-width: 1120px) {
  main,
  .site-footer {
    width: min(100% - 40px, var(--max));
  }

  .site-header {
    width: 100%;
    padding: 14px 20px;
  }

  .desktop-nav {
    gap: 32px;
  }

  .section-shell {
    gap: 42px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .phone-main {
    left: 28px;
    width: 258px;
    height: 561px;
  }

  .phone-secondary {
    right: 36px;
    width: 210px;
    height: 457px;
  }

  .hero-visual {
    min-height: 585px;
  }

}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    justify-self: end;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.66);
    color: var(--ink);
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 30px rgba(38, 30, 24, 0.07);
    backdrop-filter: blur(18px) saturate(1.14);
  }

  .menu-button svg {
    width: 22px;
    height: 22px;
  }

  .mobile-menu {
    position: fixed;
    top: 74px;
    right: 20px;
    left: 20px;
    z-index: 19;
    display: none;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--glass-highlight);
    backdrop-filter: blur(24px) saturate(1.16);
  }

  body.menu-open .mobile-menu {
    display: grid;
  }

  .mobile-menu a,
  .mobile-menu button {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #352f2b;
    font: inherit;
    font-weight: 750;
    text-align: left;
    cursor: pointer;
  }

  .mobile-menu a:hover,
  .mobile-menu button:hover {
    background: var(--indigo-soft);
    color: var(--indigo);
  }

  .section-shell,
  .section-heading,
  .faq-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .hero-copy {
    max-width: none;
  }

  .trust-pill {
    margin-bottom: 26px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: auto;
    padding-top: 18px;
  }

  .phone-main {
    position: relative;
    top: auto;
    left: auto;
    width: 306px;
    height: auto;
    aspect-ratio: 1206 / 2622;
    transform: none;
  }

  .phone-secondary {
    display: none;
  }

  .record-line,
  .feature-stage,
  .use-cases,
  .faq-section {
    padding: 58px 0;
  }

  .record-card {
    min-height: auto;
  }

  .trend-card {
    margin-left: 0;
  }

  .section-heading {
    gap: 14px;
    margin-bottom: 28px;
  }

  .feature-grid,
  .use-case-grid,
  .privacy-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .screen-crop {
    width: 100%;
    height: 390px;
    margin-bottom: 30px;
  }

  .privacy-band {
    padding: 38px 28px;
  }

  .download-section .button {
    justify-self: start;
  }

  .download-section h2 {
    white-space: normal;
  }

  .download-popover-card {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(520px, calc(100vw - 28px));
    padding: 14px;
    border-radius: 24px;
    transform: translate(-50%, -48%) scale(0.98);
  }

  .download-popover.is-open .download-popover-card {
    transform: translate(-50%, -50%) scale(1);
  }

  .download-popover-card h2 {
    font-size: 22px;
  }

  .distribution-option {
    min-height: 138px;
    padding: 14px;
  }

  .distribution-option p {
    display: none;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    padding-bottom: 78px;
  }

  main,
  .site-footer {
    width: calc(100% - 28px);
  }

  .site-header {
    width: 100%;
    min-height: 68px;
    padding: 12px 14px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .mobile-menu {
    top: 68px;
    right: 14px;
    left: 14px;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .trust-pill {
    max-width: 100%;
    font-size: 13px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.18;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-lead,
  .privacy-copy p,
  .download-section p,
  .section-heading p {
    font-size: 17px;
  }

  .feature-stage .section-heading h2 {
    white-space: normal;
  }

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

  .button {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
  }

  .hero-proof {
    display: grid;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-visual {
    min-height: auto;
  }

  .phone {
    border-width: 8px;
    border-radius: 40px;
  }

  .phone-main {
    width: min(300px, 82vw);
    height: auto;
  }

  .record-card {
    padding: 20px;
  }

  .mini-calendar,
  .trend-card {
    width: 100%;
  }

  .mini-calendar {
    padding: 18px;
  }

  .trend-card {
    padding: 20px 18px 14px;
  }

  .check-list {
    gap: 14px;
    font-size: 16px;
  }

  .feature-card {
    padding: 28px 24px 0;
  }

  .screen-crop {
    width: 100%;
    height: 370px;
    margin-top: 28px;
  }

  .privacy-band {
    padding: 30px 20px;
  }

  .privacy-list div {
    min-height: 0;
    padding: 20px;
  }

  .use-case-grid article {
    padding: 24px;
  }

  .use-case-grid p {
    font-size: 16px;
  }

  .faq-section {
    gap: 22px;
  }

  summary {
    min-height: 56px;
    font-size: 16px;
  }

  .download-section {
    margin: 54px 0;
    padding: 30px 22px;
  }

  .site-footer {
    gap: 22px;
    padding-bottom: 32px;
  }

  .footer-links {
    grid-template-columns: repeat(2, max-content);
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: var(--indigo);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(91, 95, 174, 0.3);
  }

}
