:root {
  color-scheme: light;
  --rust: #d2461f;
  --bg: #faf8f5;
  --bg-alt: #fff;
  --fg: #25231f;
  --muted: #625f59;
  --rule: #e6e0d7;
  --rust-ink: #a63819;
  --shadow: 0 20px 48px -24px #382b263b;
  --section-space: 88px;
  --column-gap: 80px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  line-height: 1.5;
}
a {
  color: inherit;
}
button {
  font: inherit;
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--rust-ink);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: absolute;
  z-index: 5;
  padding: 12px;
  background: white;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}
.mark {
  width: 36px;
  height: 36px;
}
nav {
  display: flex;
  gap: 26px;
}
nav a {
  text-decoration: none;
  font-size: 0.88rem;
  padding: 8px 0;
}
nav a:hover,
.text-link:hover {
  color: var(--rust-ink);
  text-decoration: underline;
}
.hero,
.recipe-showcase,
.routine-grid,
.privacy-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--column-gap);
}
.hero {
  align-items: center;
  padding-top: 28px;
  padding-bottom: 64px;
}
.kicker {
  color: var(--rust-ink);
  font-weight: 750;
  text-transform: uppercase;
  margin: 0 0 16px;
  letter-spacing: 0.13em;
  font-size: 0.7rem;
  margin-bottom: 18px;
}
h1 {
  max-width: 620px;
  margin: 0 0 24px;
  text-wrap: balance;
  font-size: clamp(2.7rem, 4.7vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}
h1 span {
  color: var(--rust);
}
.lede {
  color: var(--muted);
  margin: 0;
  max-width: 40ch;
  font-size: 1.06rem;
  line-height: 1.7;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0a0a0b;
  color: #fff;
  min-height: 54px;
  padding: 10px 17px;
  border: 1px solid #ffffff29;
  border-radius: 11px;
  box-shadow: 0 3px 6px #25231f0a;
}
.store-badge svg {
  flex-shrink: 0;
}
.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.eyebrow-line {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: #c9c9cc;
}
.store-name {
  font-size: 1rem;
  font-weight: 700;
}
.trust-line {
  color: var(--muted);
  margin: 18px 0 0;
  max-width: 38ch;
  margin-top: 20px;
  font-size: 0.75rem;
}
.hero-art {
  width: 100%;
  margin: 0;
  justify-self: center;
  max-width: 288px;
}
.phone {
  width: 100%;
  max-width: 82vw;
  margin: 0 auto;
  border: 1px solid #35312f;
  background: #0a0a0b;
  box-shadow: var(--shadow);
  padding: 6px;
  border-radius: 38px;
}
.screen {
  overflow: hidden;
  background: #0a0a0b;
  border-radius: 31px;
}
.hero-demo {
  position: relative;
}
.demo-toolbar {
  color: var(--muted);
  text-align: center;
  margin-bottom: 17px;
}
.demo-toolbar > span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 16px;
  font-weight: 650;
  text-transform: uppercase;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}
.demo-toolbar > span::before,
.demo-toolbar > span::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.demo-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  margin-top: 8px;
}
.demo-nav button,
.demo-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 24px;
  padding: 8px 4px;
  background: transparent;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}
.demo-nav button {
  position: relative;
  border-radius: 4px;
  font-size: 0.72rem;
}
.demo-nav button[aria-pressed='true'] {
  color: var(--rust-ink);
}
.demo-nav button[aria-pressed='true']::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: currentColor;
}
.site-header nav a {
  color: var(--muted);
  font-weight: 550;
}
.hero-copy {
  padding-bottom: 12px;
}
.hero-copy > .cta-row {
  margin-top: 28px;
}
.compact-benefits {
  margin: 19px 0 9px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.8;
}
.compact-benefits span {
  margin-inline: 6px;
  color: var(--rust);
}
.hero-copy > .text-link {
  margin-top: 3px;
}
.privacy-section {
  background: #f1ece4;
}
.privacy-copy {
  max-width: 44ch;
}
.closing-copy p:not(.kicker):not(.closing-trust) {
  font-size: clamp(2rem, 3vw, 2.55rem);
  line-height: 1.14;
}
.closing-copy .kicker {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  line-height: 1.5;
  margin-bottom: 18px;
}
.closing-copy .cta-row {
  margin-top: 25px;
}
.closing-copy .closing-trust {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 16px 0 0;
}
@media (hover: hover) {
  .demo-nav button:not([aria-pressed='true']):hover {
    color: var(--fg);
  }
  .demo-actions button:hover {
    background: #ffffff59;
  }
}
.demo-nav button:focus-visible,
.demo-actions button:focus-visible {
  outline: 2px solid var(--rust-ink);
  outline-offset: 3px;
}
.demo-actions {
  min-height: 44px;
  margin-bottom: 1px;
}
.demo-actions button {
  padding-inline: 18px;
  color: var(--rust-ink);
  text-decoration: underline;
  text-decoration-color: #8a2f1259;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.demo-toolbar[hidden],
.demo-actions[hidden],
.demo-actions button[hidden],
.demo-controls[hidden],
.demo-hotspot[hidden],
.demo-tabs[hidden] {
  display: none;
}
.demo-hotspot {
  position: absolute;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.demo-hotspot:focus-visible {
  outline: 3px solid #ff895b;
  outline-offset: -3px;
  background: #ffffff14;
}
/* Native bounds in a 393 × 852 point capture; scale with the image. */
.demo-sleep {
  left: 4.07%;
  top: 17.37%;
  width: 91.86%;
  height: 9.74%;
  border-radius: 18px;
}
.demo-tabs {
  position: absolute;
  left: 4.07%;
  top: 27.11%;
  width: 91.86%;
  height: 5.4%;
  min-height: 44px;
  display: flex;
}
.demo-tabs .demo-hotspot {
  position: relative;
  flex: 1;
}
.demo-toggle {
  left: 67%;
  top: max(34.5%, calc(27.11% + 48px));
  width: 28%;
  height: 6%;
}
.demo-back {
  left: 2%;
  top: 7.1%;
  width: 16%;
  height: 7.5%;
  border-radius: 50%;
}
.demo-disclosure {
  display: block;
  letter-spacing: 0.015em;
  font-size: 0.65rem;
  margin-top: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-art figcaption {
  text-align: center;
  color: var(--muted);
  margin-top: 13px;
  font-size: 0.72rem;
}
section {
  padding: var(--section-space) 0;
  border-top: 1px solid var(--rule);
}
h2 {
  line-height: 1.15;
  margin: 0 0 18px;
  text-wrap: balance;
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
  letter-spacing: -0.045em;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.food-section {
  background: var(--bg-alt);
}
.recipe-showcase {
  align-items: center;
}
.section-intro {
  color: var(--muted);
  font-size: 1.07rem;
  margin: 0;
  max-width: 45ch;
  line-height: 1.7;
}
.import-copy {
  border-top: 1px solid var(--rule);
  margin-top: 30px;
  padding-top: 28px;
}
.import-copy > p {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0;
  max-width: 46ch;
  line-height: 1.7;
}
.recipe-steps {
  list-style: none;
  counter-reset: recipe-step;
  padding: 0;
  margin: 24px 0 18px;
  display: grid;
  gap: 20px;
}
.recipe-steps li {
  counter-increment: recipe-step;
  position: relative;
  padding-left: 40px;
}
.recipe-steps li::before {
  content: counter(recipe-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--rust-ink);
  font-size: 0.74rem;
  background: #faf3ed;
  border-color: #ecdbcd;
  font-weight: 650;
}
.recipe-steps strong,
.recipe-steps span {
  display: block;
  font-size: 0.92rem;
}
.recipe-steps span {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 2px;
}
.recipe-recording {
  width: 100%;
  justify-self: center;
  max-width: 288px;
}
.recipe-demo {
  margin: 0;
  overflow: hidden;
  border: 1px solid #35312f;
  background: #0a0a0b;
  box-shadow: var(--shadow);
  padding: 6px;
  border-radius: 32px;
}
.recipe-demo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 1304;
  border-radius: 26px;
}
.routine-feature {
  min-width: 0;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  scroll-margin-top: 24px;
}
.feature-copy {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  text-align: left;
}
.feature-copy p:not(.kicker) {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 45ch;
  line-height: 1.7;
  margin: 0 0 32px;
}
.feature-panel {
  color: #f5f4f0;
  margin: 0 auto;
  padding: 18px 16px 14px;
  border: 1px solid #35312f;
  background: #0a0a0b;
  box-shadow: var(--shadow);
  width: min(100%, 380px);
  justify-self: start;
  margin-left: 0;
  border-radius: 28px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  color: #eeeae5;
  padding: 0 8px 14px;
  padding-top: 3px;
}
.panel-heading span:last-child {
  font-size: 0.65rem;
  color: #aaa7a2;
}
.capture-crop {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / var(--crop-height);
  overflow: hidden;
  border-radius: 15px;
}
.capture-crop img {
  display: block;
  position: absolute;
  width: 100%;
  height: auto;
  left: 0;
  top: 0;
  transform: translateY(var(--crop-offset));
}
/* Coordinates are normalized to the original 600 × 1304 frame. */
.sleep-stages {
  --crop-height: 370;
  --crop-offset: -8.742331%;
}
.sleep-score {
  --crop-height: 185;
  --crop-offset: -60.122699%;
  margin-top: 14px;
}
.medication-dose {
  --crop-height: 240;
  --crop-offset: -26.07362%;
}
.medication-schedule {
  --crop-height: 118;
  --crop-offset: -66.794479%;
}
.medication-reminder {
  --crop-height: 211;
  --crop-offset: -79.064417%;
}
.dose-step {
  border-radius: 15px;
}
.dose-step + .dose-step {
  margin-top: 7px;
}
.feature-panel figcaption {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 12px 3px 0;
  font-size: 0.73rem;
  color: #b9b5ae;
}
.privacy-layout {
  align-items: center;
}
.privacy-copy p:not(.kicker) {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.7;
}
.text-link {
  display: inline-block;
  color: var(--rust-ink);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 12px;
  text-underline-offset: 4px;
}
.closing-copy {
  border-left: 1px solid var(--rule);
  padding-left: 40px;
}
.closing-copy p {
  font-size: 2.1rem;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 0 0 16px;
}
.closing-copy strong {
  color: var(--rust);
}
.closing-copy > span {
  font-size: 0.9rem;
  color: var(--muted);
  display: block;
}
.site-footer {
  padding-bottom: 36px;
  color: var(--muted);
  font-size: 0.75rem;
  border-top: 0;
  padding-top: 30px;
}
.site-footer > p {
  max-width: 80ch;
  margin: 0 0 22px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-row nav a {
  font-size: 0.75rem;
}
@media (max-width: 900px) {
  :root {
    --column-gap: 40px;
  }
  .feature-copy h2 {
    font-size: 1.85rem;
  }
  h1 {
    font-size: 2.8rem;
  }
  .closing-copy {
    padding-left: 28px;
  }
}
@media (max-width: 720px) {
  :root {
    --section-space: 56px;
  }
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .site-header {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  nav {
    gap: 18px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 32px;
    padding-bottom: 44px;
    gap: 34px;
  }
  h1 {
    font-size: clamp(2.45rem, 8.2vw, 3.5rem);
    max-width: 15ch;
  }
  .hero-copy {
    margin: 0 auto;
    width: 100%;
    max-width: 520px;
    padding-bottom: 0;
  }
  .lede {
    font-size: 1rem;
    max-width: 44ch;
    line-height: 1.6;
  }
  .hero-art {
    margin-top: 4px;
  }
  .recipe-showcase,
  .routine-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .recipe-copy {
    max-width: 540px;
    margin: 0 auto;
  }
  .routine-grid {
    max-width: 540px;
    gap: 52px;
  }
  .routine-feature {
    display: flex;
    flex-direction: column;
    grid-row: auto;
  }
  .feature-panel {
    align-self: center;
  }
  .feature-copy {
    display: block;
    grid-row: auto;
  }
  .feature-copy h2 {
    font-size: 2.15rem;
  }
  .feature-panel {
    padding: 16px 12px 12px;
    align-self: center;
    margin-inline: auto;
  }
  .closing-copy {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding: 32px 0 0;
  }
  .footer-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-copy > .cta-row {
    margin-top: 24px;
  }
  .compact-benefits {
    margin-top: 15px;
    font-size: 0.73rem;
  }
  .trust-line {
    max-width: none;
    margin-top: 16px;
  }
}
@media (max-width: 380px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  .brand {
    gap: 5px;
    font-size: 1.05rem;
  }
  .mark {
    width: 28px;
    height: 28px;
  }
  nav {
    gap: 14px;
  }
  nav a {
    font-size: 0.8rem;
  }
  .store-badge {
    gap: 6px;
    padding: 9px 10px;
  }
  .store-badge svg {
    width: 18px;
  }
  .eyebrow-line {
    font-size: 0.52rem;
  }
  .store-name {
    font-size: 0.93rem;
  }
  .panel-heading {
    font-size: 0.65rem;
    padding-left: 3px;
    padding-right: 3px;
  }
  .compact-benefits span {
    margin-inline: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .demo-nav button,
  .demo-actions button {
    transition: none;
  }
}
