:root {
  color-scheme: light dark;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);

  --page: #ebebf0;
  --ink: #0b0b0d;
  --ink-2: rgba(60, 60, 67, .76);
  --line: rgba(60, 60, 67, .16);
  --chip: #fff;
  --meal: #e87800;
  --workout: #1c9a45;
  --note: #5856d6;
  --memo: #e02f58;
  --shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 26px 48px -26px rgba(22, 22, 40, .38);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0b0b0d;
    --ink: #f5f5f7;
    --ink-2: rgba(235, 235, 245, .7);
    --line: rgba(84, 84, 88, .6);
    --chip: #1c1c1e;
    --meal: #ff9f0a;
    --workout: #30d158;
    --note: #8583ff;
    --memo: #ff5c7f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 26px 48px -26px rgba(0, 0, 0, .9);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, p { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--note); outline-offset: 4px; border-radius: 6px; }

/* ---------- wordmark ---------- */

.top { padding: 22px clamp(20px, 4vw, 40px); }
.wordmark {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--round); font-size: 21px; font-weight: 700; letter-spacing: -.02em;
  text-decoration: none;
}
/* The app's mic orb: the one coloured thing on the page besides the screens. */
.orb {
  width: 15px; height: 15px; border-radius: 50%;
  background: conic-gradient(from 210deg, var(--workout), var(--meal), var(--memo), var(--note), var(--workout));
}

/* ---------- bands ---------- */

.band {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(36px, 5vw, 64px);
  padding: clamp(72px, 9vw, 120px) 24px;
  text-align: center;
  border-top: .5px solid var(--line);
}
.band.hero { min-height: calc(100svh - 70px); padding-top: 24px; border-top: 0; }
.band.white { background: var(--chip); }
.band.black { background: #000; color: #f5f5f7; --k: #ff9f0a; }

.hero h1 {
  max-width: 13ch; margin-inline: auto;
  font-family: var(--round); font-weight: 700;
  font-size: clamp(42px, 7vw, 92px); line-height: 1; letter-spacing: -.035em;
  text-wrap: balance;
}
.lede {
  max-width: 31ch; margin: clamp(18px, 2.4vw, 28px) auto 0;
  font-size: clamp(18px, 1.7vw, 22px); line-height: 1.36; letter-spacing: -.012em;
  color: var(--ink-2); text-wrap: pretty;
}
.soon {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 26px; height: 38px; padding: 0 16px 0 13px; border-radius: 19px;
  background: var(--chip); box-shadow: 0 0 0 .5px var(--line);
  font-size: 15px; font-weight: 600; letter-spacing: -.012em;
}
.soon span { width: 8px; height: 8px; border-radius: 50%; background: var(--meal); }

/* The captures carry the device frame on a transparent ground, 423 by 882 with a 71.5 px corner. */
.phone { flex: none; width: clamp(220px, 24vw, 300px); border-radius: 16.9% / 8.1%; box-shadow: var(--shadow); }
.row { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 36px); }
.row .phone { width: clamp(104px, 22vw, 270px); }

.say {
  max-width: 15ch;
  font-family: var(--round); font-weight: 700;
  font-size: clamp(34px, 5.4vw, 72px); line-height: 1.06; letter-spacing: -.028em;
  text-wrap: balance;
}
.say::before {
  content: ""; display: block; width: 12px; height: 12px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--k);
}
[data-kind="meal"] { --k: var(--meal); }
[data-kind="workout"] { --k: var(--workout); }
[data-kind="note"] { --k: var(--note); }

/* ---------- footer ---------- */

.foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 26px clamp(20px, 4vw, 40px) 40px;
  border-top: .5px solid var(--line);
  font-size: 15px; letter-spacing: -.012em; color: var(--ink-2);
}
.foot a { text-decoration: none; font-weight: 600; color: var(--ink); padding-block: 8px; }
@media (hover: hover) and (pointer: fine) {
  .foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .lede, .soon, .row .phone { animation: rise .9s var(--ease-out) backwards; }
  .lede { animation-delay: 60ms; }
  .soon { animation-delay: 120ms; }
  .row .phone:nth-child(2) { animation-delay: 180ms; }
  .row .phone:nth-child(1) { animation-delay: 250ms; }
  .row .phone:nth-child(3) { animation-delay: 320ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
