@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f8f5;
  --white: #fff;
  --ink: #1e242b;
  --muted: #5c6470;
  --line: #e3e7e1;
  --coral: #f05a3e;
  --tomato: #b83d28;
  --peach: #feece8;
  --mint: #eaf6ee;
  --basil: #1b7a43;
  --forest: #173a2b;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--basil);
  outline-offset: 5px;
}
section[id] { scroll-margin-top: 96px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
em {
  color: var(--tomato);
  font-style: normal;
  font-weight: inherit;
  letter-spacing: -.06em;
}
.shell { width: min(1260px, calc(100% - 112px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 5;
  transform: translateY(-150%);
  background: var(--white);
  padding: 12px 18px;
  border-radius: 10px;
}
.skip-link:focus { transform: none; }
.site-header {
  position: sticky;
  z-index: 4;
  top: 0;
  background: #f7f8f5f0;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 75px;
}
.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.075em;
}
.brand img { border-radius: 12px; box-shadow: 0 1px 4px #21150913; }
.brand img.brand-mark { border-radius: 0; box-shadow: none; object-fit: contain; }
.brand-accent { color: var(--tomato); }
.site-header nav { display: flex; gap: 34px; align-items: center; }
.site-header nav a { color: var(--muted); font-weight: 700; font-size: 14px; }
.site-header nav a:hover { color: var(--tomato); }
.download-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 11px 17px;
  border-radius: 12px;
  background: var(--tomato);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  transition: background .2s, transform .2s;
}
.download-link:hover { background: #9d3220; transform: translateY(-2px); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.16fr);
  column-gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding-top: 47px;
}
.hero-copy { padding-block: 22px; animation: rise-in .68s both; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--basil);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow > span {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
}
.hero-label {
  width: max-content;
  max-width: 100%;
  padding: 9px 13px;
  border-radius: 50px;
  background: var(--mint);
}
.hero h1 {
  margin: 24px 0 26px;
  font-size: clamp(69px, 7.75vw, 119px);
  line-height: .92;
  font-weight: 800;
  letter-spacing: -.085em;
}
.hero h1 em { white-space: nowrap; }
.hero-description {
  max-width: 405px;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.store-buttons { display: flex; flex-wrap: wrap; gap: 11px; }
.hero .store-buttons { margin-top: 29px; }
.store-button {
  display: inline-flex;
  align-items: center;
  min-height: 59px;
  min-width: 160px;
  padding: 8px 13px;
  gap: 9px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 5px 10px #1e242b15;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.store-button:hover {
  transform: translateY(-3px);
  background: #343d46;
  box-shadow: 0 8px 15px #1e242b28;
}
.store-button > svg:first-child { width: 26px; height: 26px; }
.store-button span { display: grid; gap: 1px; }
.store-button small { font-size: 10px; line-height: 1.05; opacity: .8; font-weight: 600; }
.store-button strong { font-size: 17px; line-height: 1.15; letter-spacing: -.03em; }
.store-arrow { margin-inline-start: auto; opacity: .75; }
.availability {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.availability svg { margin-top: 1px; }

.hero-visual {
  container-type: size;
  min-width: 0;
  position: relative;
  isolation: isolate;
  height: clamp(450px, 42vw, 590px);
  overflow: hidden;
  border-radius: 32px;
  background: #e3a977;
  animation: rise-in .8s .09s both;
}
.hero-photo, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: 37% center; }
.hero-shade {
  background: linear-gradient(90deg, #24110852, transparent 65%), linear-gradient(0deg, #2111055e, transparent 48%);
}
.photo-caption {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  top: 22px;
  left: 23px;
  background: #28201ad9;
  color: #fff;
  border: 1px solid #ffffff4d;
  border-radius: 40px;
  padding: 8px 11px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
}
.photo-caption span { width: 6px; height: 6px; background: #ffad95; border-radius: 50%; }
.hero-phone {
  position: absolute;
  top: 12%;
  right: 11%;
  width: min(38%, 36cqh, 218px);
  transform: rotate(9deg);
  animation: phone-in 1s .2s both;
}
.phone-frame {
  background: #252525;
  border: 2px solid #49433e;
  border-radius: 14% / 6.4%;
  padding: 3.3%;
  overflow: hidden;
  box-shadow: 0 22px 45px #2014084a, 0 7px 14px #160e1040;
}
.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 11.6% / 5.2%;
  background: #faf9f6;
}
.hero-ticket {
  position: absolute;
  bottom: 8%;
  left: 6%;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 17px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 15px 35px #29170644;
  animation: rise-in .7s .4s both;
}
.ticket-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  background: var(--peach);
  color: var(--tomato);
  border-radius: 12px;
}
.hero-ticket span:nth-child(2) { display: grid; gap: 2px; }
.hero-ticket small { font-size: 9px; font-weight: 800; letter-spacing: .10em; color: var(--muted); }
.hero-ticket strong { font-size: 15px; letter-spacing: -.03em; }
.ticket-check { color: var(--basil); margin-left: 6px; }
.hero-next {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-self: start;
  padding: 13px 0;
  margin-block: 20px 30px;
  color: var(--basil);
  font-size: 13px;
  font-weight: 800;
}
.hero-next svg { transition: transform .2s; }
.hero-next:hover svg { transform: translateY(3px); }

.workflow {
  padding: 83px 0 90px;
  background: var(--white);
  border-block: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 34px;
}
h2 {
  margin-top: 12px;
  font-size: clamp(39px, 5vw, 68px);
  line-height: 1.03;
  letter-spacing: -.075em;
  font-weight: 800;
}
.section-heading > p, .preview-heading > p:last-child {
  max-width: 350px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 16px;
  text-wrap: pretty;
}
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px;
  box-shadow: 0 2px 8px -2px #0000000a;
}
.step-illustration {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 148px;
  border-radius: 16px;
  overflow: hidden;
  padding: 22px;
}
.step-peach { background: var(--peach); color: var(--tomato); }
.step-mint { background: var(--mint); color: var(--basil); }
.step-cream { background: #fbf2df; color: #8f581b; }
.step-index {
  position: absolute;
  top: 11px;
  left: 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.step-illustration::before, .step-illustration::after {
  position: absolute;
  content: "";
  width: 126px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .13;
  right: -35px;
  top: -63px;
}
.step-illustration::after { right: -58px; top: -47px; }
.mini-plan, .mini-doses > span, .mini-timeline > span {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 11px;
  padding: 9px 11px;
  box-shadow: 0 4px 12px #00000009;
  font-weight: 700;
  white-space: nowrap;
  font-size: 13px;
}
.mini-plan { transform: rotate(-4deg); }
.mini-plan > span { display: grid; gap: 2px; }
.mini-plan small { font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.mini-plan strong, .mini-doses strong, .mini-timeline > span { color: var(--ink); }
.mini-plan svg:last-child, .mini-timeline svg:last-child { color: var(--basil); }
.mini-doses, .mini-timeline { display: grid; gap: 4px; width: min(100%, 184px); }
.mini-doses { transform: rotate(4deg); }
.mini-timeline { transform: rotate(-3deg); }
.mini-doses small { font-size: 11px; }
.mini-doses strong, .mini-timeline svg:last-child { margin-left: auto; }
.mini-timeline svg:first-child { color: #8f581b; }
.step-copy { padding: 18px 13px 15px; }
.step h3 { font-size: 22px; letter-spacing: -.055em; }
.step p { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.5; text-wrap: pretty; }

.app-preview { padding-block: 91px 88px; }
.preview-heading { text-align: center; }
.preview-heading .eyebrow { justify-content: center; }
.preview-heading > p:last-child { margin: 15px auto 0; max-width: 520px; }
.preview-tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  gap: 4px;
  padding: 5px;
  border-radius: 16px;
  background: #e9ede7;
  margin: 26px auto 21px;
}
.preview-tabs button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--muted);
  padding: 10px 15px;
  min-height: 43px;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.preview-tabs button:hover { background: var(--white); color: var(--tomato); }
.preview-tabs button[aria-selected="true"] { background: var(--tomato); color: var(--white); }
.preview-panel:not([hidden]) {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
}
.preview-description {
  align-self: center;
  padding: clamp(30px, 5.9vw, 80px);
  animation: rise-in .4s both;
}
.panel-index { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--tomato); }
.panel-index span { margin: 0 4px; color: var(--muted); }
.preview-description h3 {
  margin-top: 16px;
  font-size: clamp(32px, 4vw, 55px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.075em;
}
.preview-description p:nth-of-type(2) {
  margin-top: 15px;
  max-width: 340px;
  color: var(--muted);
  line-height: 1.55;
  text-wrap: pretty;
}
.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 23px;
  padding: 8px 12px;
  border-radius: 30px;
  color: var(--basil);
  background: var(--mint);
  font-size: 12px;
  font-weight: 800;
}
.preview-visual {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  min-height: 520px;
  overflow: hidden;
  background: #e5f2e8;
}
.preview-halo {
  position: absolute;
  z-index: -1;
  width: 225px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f0f8f2;
  box-shadow: 0 0 0 35px #ebf6ed, 0 0 0 36px #bfdeca, 0 0 0 70px #e5f2e8, 0 0 0 71px #bfdeca, 0 0 0 107px #e5f2e8, 0 0 0 108px #bfdeca;
}
.preview-visual .phone-frame {
  width: 206px;
  padding: 6px;
  animation: rise-in .45s both;
}

.download { margin-bottom: 42px; }
.download-inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--forest);
  color: var(--white);
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(30px, 5vw, 65px);
  gap: 28px;
}
.download-inner .eyebrow, .download-inner em { color: #ffc2ae; }
.download-copy > p:last-child { margin-top: 16px; color: #d0e3d6; line-height: 1.5; }
.download-actions { position: relative; z-index: 1; }
.download-actions .store-button { background: var(--white); color: var(--forest); }
.download-actions .store-button:hover { background: var(--mint); }
.download-actions .store-button:focus-visible { outline-color: var(--white); }
.download-actions .availability { color: #d0e3d6; }
.download-rings, .download-mark { position: absolute; pointer-events: none; z-index: -1; }
.download-rings {
  display: grid;
  place-items: center;
  top: 54%;
  right: 16%;
  transform: translate(50%, -50%);
}
.download-rings span { grid-area: 1 / 1; width: 340px; aspect-ratio: 1; border: 1px solid #8dbe9a3d; border-radius: 50%; }
.download-rings span:nth-child(2) { width: 408px; }
.download-rings span:nth-child(3) { width: 482px; }
.download-mark { right: -43px; bottom: -93px; color: #8dbe9a3d; transform: rotate(16deg); }
.footer {
  min-height: 92px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.footer > span { color: var(--muted); font-size: 13px; }
.back-top {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--basil);
  transition: background .2s;
}
.back-top:hover { background: var(--mint); }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(17px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes phone-in {
  from { opacity: 0; transform: translateY(29px) rotate(4deg); }
  to { opacity: 1; transform: translateY(0) rotate(9deg); }
}
@supports (animation-timeline: view()) {
  .step { animation: rise-in linear both; animation-timeline: view(); animation-range: entry 3% cover 25%; }
}
@media (max-width: 1120px) {
  .shell { width: calc(100% - 72px); }
  .hero h1 { font-size: clamp(66px, 8.4vw, 95px); }
}
@media (max-width: 850px) {
  .shell { width: calc(100% - 44px); }
  .header-inner { height: 67px; }
  .hero { gap: 15px 23px; padding-top: 28px; }
  .hero h1 { font-size: clamp(60px, 10vw, 80px); }
  .hero-visual { height: 435px; }
  .hero-phone { top: 12%; }
  .hero-next { margin-block: 0 16px; }
  .workflow, .app-preview { padding-block: 64px; }
  .section-heading { display: grid; }
  .step-illustration { padding: 14px 8px; }
  .preview-visual { min-height: 470px; }
  .preview-visual .phone-frame { width: 186px; }
  .download-inner { flex-wrap: wrap; }
}
@media (max-width: 660px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .brand { font-size: 21px; }
  .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .download-link { font-size: 13px; gap: 5px; padding-inline: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 14px; }
  .hero-copy { padding-top: 20px; padding-bottom: 13px; }
  .hero h1 { font-size: clamp(64px, 14vw, 98px); margin: 17px 0 19px; }
  .hero .store-buttons { margin-top: 22px; }
  .hero-visual { height: clamp(340px, 95vw, 490px); border-radius: 24px; }
  .hero-phone { width: min(40%, 36cqh, 195px); right: 12%; }
  .photo-caption { top: 16px; left: 16px; font-size: 8px; }
  .hero-ticket { bottom: 6%; left: 5%; }
  .workflow, .app-preview { padding-block: 53px; }
  .section-heading { margin-bottom: 23px; gap: 12px; }
  .steps { grid-template-columns: 1fr; gap: 13px; }
  .step-illustration { min-height: 131px; }
  .preview-panel:not([hidden]) { grid-template-columns: 1fr; border-radius: 23px; }
  .preview-description { padding: 28px 24px; }
  .preview-visual { min-height: 440px; }
  .preview-tabs { width: 100%; margin-top: 20px; }
  .preview-tabs button { flex: 1; min-width: 0; padding-inline: 4px; font-size: 12px; gap: 3px; }
  .preview-tabs button svg { width: 14px; height: 14px; }
  .download { margin-bottom: 27px; }
  .download-inner { padding: 30px 19px; border-radius: 24px; gap: 22px; }
  .download-rings { right: 0; }
  .footer > span { display: none; }
}
@media (max-width: 390px) {
  .shell { width: calc(100% - 32px); }
  .store-button { min-width: 142px; padding-inline: 9px; gap: 6px; }
  .download-actions .store-buttons { column-gap: 8px; }
  .preview-tabs button svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
