@font-face { font-family: Geist; src: url(/fonts/geist-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(/fonts/geist-medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url(/fonts/geist-semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #F7F7F7;
  --card: #FDFDFD;
  --raised: #EEEEEC;
  --ink: #1B1B1B;
  --ink2: #585858;
  --ink3: #808080;
  --line: rgba(0, 0, 0, .08);
  --line2: rgba(0, 0, 0, .14);
  --amber: #F59E0B;
  --amber-ink: #C96A05;
  --amber-soft: #FCE6B6;
  --red: #EF4444;
  --blue: #3B82F6;
  --ease: cubic-bezier(.32, .72, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/24px Geist, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 8px; }

.wrap { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.accent { color: var(--amber-ink); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.skip:focus { top: 16px; }

/* nav */
.nav {
  position: fixed; z-index: 50; top: 24px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 32px;
  padding: 8px 8px 8px 16px;
  background: rgba(253, 253, 253, .72);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 9999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .06);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.brand svg { width: 24px; height: 24px; }
.links { display: flex; gap: 24px; font-size: 14px; line-height: 20px; color: var(--ink2); }
.links a { position: relative; transition: color 400ms var(--ease); }
.links a:hover, .links a.on { color: var(--ink); }
.links a.on::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 9999px; background: var(--amber); }
.btn-sm {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber); color: var(--ink);
  font-size: 14px; line-height: 20px; font-weight: 600;
  padding: 8px 16px; border-radius: 9999px;
  transition: background 400ms var(--ease), transform 400ms var(--ease);
}
.btn-sm:hover { background: #F8AE2E; }
.btn-sm:active { transform: scale(.98); }
.burger { display: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: 9999px; background: transparent; cursor: pointer; }
.burger span { position: absolute; left: 12px; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 700ms var(--ease), top 700ms var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.menu-open .burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 19px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 96px 32px;
  background: rgba(247, 247, 247, .8);
  backdrop-filter: blur(64px); -webkit-backdrop-filter: blur(64px);
  opacity: 0; visibility: hidden; transition: opacity 700ms var(--ease), visibility 0s 700ms;
}
.menu a { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -.03em; transform: translateY(48px); opacity: 0; transition: transform 700ms var(--ease), opacity 700ms var(--ease); }
.menu .btn { align-self: flex-start; margin-top: 16px; padding: 12px 24px; font-size: 16px; line-height: 24px; letter-spacing: 0; }
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease); }
.menu-open .menu a { transform: none; opacity: 1; }
.menu-open .menu a:nth-child(1) { transition-delay: 100ms; }
.menu-open .menu a:nth-child(2) { transition-delay: 150ms; }
.menu-open .menu a:nth-child(3) { transition-delay: 200ms; }
.menu-open .menu a:nth-child(4) { transition-delay: 250ms; }

/* Google Play button */
.play {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  padding: 8px 24px 8px 16px; border-radius: 12px;
  transition: transform 400ms var(--ease), background 400ms var(--ease);
}
.play:hover { background: #000; transform: translateY(-2px); }
.play:active { transform: scale(.98); }
.play svg { width: 24px; height: 24px; }
.play small { display: block; font-size: 12px; line-height: 16px; letter-spacing: .04em; opacity: .8; }
.play b { display: block; font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -.01em; }

/* hero */
.hero { padding-top: 160px; text-align: center; }
.hero h1 { font-size: 60px; line-height: 1; letter-spacing: -.045em; max-width: 680px; margin: 0 auto; }
.hero h1 span { display: block; padding-bottom: 8px; }
.grad { background: linear-gradient(90deg, #000, #666); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { max-width: 560px; margin: 24px auto 0; font-size: 18px; line-height: 28px; color: var(--ink2); }
.cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
.fine { font-size: 14px; line-height: 20px; color: var(--ink3); }

/* hanging strip */
.strip { text-align: left; position: relative; margin-top: 64px; padding-top: 48px; overflow: hidden; }
.string { position: absolute; left: 0; right: 0; top: 48px; height: 1px; background: var(--line2); }
.track { display: flex; gap: 32px; width: max-content; padding: 0 16px 64px; animation: drift 70s linear infinite; }
.strip:hover .track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
.hang { position: relative; flex: none; transform-origin: 50% 0; animation: sway 6s ease-in-out infinite alternate; }
.hang::before { content: ""; position: absolute; z-index: 2; top: -8px; left: 50%; width: 24px; height: 16px; margin-left: -12px; border-radius: 4px; background: #D9D9D6; border: 1px solid var(--line2); }
.hang:nth-child(3n) { animation-delay: -2s; }
.hang:nth-child(3n+1) { animation-delay: -4s; }
@keyframes sway { from { rotate: calc(var(--tilt) - 1.5deg); } to { rotate: calc(var(--tilt) + 1.5deg); } }
.polaroid { width: 208px; padding: 12px 12px 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 32px rgba(0, 0, 0, .08); }
.polaroid img { width: 184px; height: 184px; object-fit: cover; }
.polaroid p { margin-top: 12px; font-size: 14px; line-height: 20px; font-weight: 500; }
.polaroid p span { color: var(--ink3); font-weight: 400; }
.scan { width: 224px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 32px rgba(0, 0, 0, .08); }
.scan .top { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--ink2); }
.scan .top .ico { width: 16px; height: 16px; color: var(--amber); }
.scan h3 { margin-top: 8px; font-size: 16px; line-height: 24px; font-weight: 500; }
.scan .kcal { margin-top: 4px; font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -.03em; }
.scan .kcal span { font-size: 14px; font-weight: 400; color: var(--ink3); letter-spacing: 0; margin-left: 4px; }
.chips { display: flex; gap: 4px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 9999px; font-size: 12px; line-height: 16px; font-weight: 600; }
.chip .ico { width: 12px; height: 12px; stroke-width: 2.4; }
.chip.p { color: var(--red); background: rgba(239, 68, 68, .1); }
.chip.c { color: #C47C05; background: rgba(245, 158, 11, .14); }
.chip.f { color: var(--blue); background: rgba(59, 130, 246, .1); }

/* sections */
section { position: relative; }
.block { padding: 96px 0; }
.head { text-align: center; max-width: 680px; margin: 0 auto; }
.head h2, .big { font-size: 48px; line-height: 1; letter-spacing: -.04em; margin-top: 16px; }
.head h2 span, .big span { display: block; padding-bottom: 8px; }
.head p { max-width: 560px; margin: 16px auto 0; font-size: 18px; line-height: 28px; color: var(--ink2); }

/* phone stack */
.stage { display: flex; flex-direction: column; align-items: center; margin-top: 64px; }
.stack { position: relative; width: 300px; height: 652px; }
.phone {
  position: absolute; inset: 0;
  padding: 8px; border-radius: 48px; background: #121212;
  box-shadow: 0 32px 64px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .06);
  transition: transform 900ms var(--ease), opacity 900ms var(--ease), filter 900ms var(--ease);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 40px; }
.phone[data-pos="0"] { z-index: 4; transform: none; }
.phone[data-pos="1"] { z-index: 3; transform: translateX(24px) translateY(12px) rotate(5deg) scale(.94); filter: brightness(.96); }
.phone[data-pos="2"] { z-index: 2; transform: translateX(-24px) translateY(24px) rotate(-5deg) scale(.9); filter: brightness(.92); }
.phone[data-pos="3"] { z-index: 1; transform: translateY(32px) scale(.86); opacity: 0; }
.phone.out { z-index: 5; transform: translateX(-140%) rotate(-14deg); opacity: 0; }
.tabs { display: inline-flex; gap: 4px; margin-top: 64px; padding: 4px; border-radius: 9999px; background: var(--raised); }
.tabs button {
  border: 0; background: transparent; cursor: pointer;
  font: 500 14px/20px Geist, system-ui, sans-serif; color: var(--ink2);
  padding: 8px 16px; border-radius: 9999px;
  transition: background 400ms var(--ease), color 400ms var(--ease);
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.caption { margin-top: 16px; min-height: 24px; color: var(--ink2); text-align: center; }

/* split card */
.split { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--raised); }
.split .photo { position: relative; min-height: 560px; }
.split .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .over {
  position: absolute; left: 24px; bottom: 24px; padding: 16px 24px; border-radius: 16px;
  background: rgba(0, 0, 0, .4); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: #fff; font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -.03em;
}
.sticker {
  position: absolute; top: 24px; right: 24px; width: 112px; height: 112px; border-radius: 9999px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--amber); color: var(--ink); rotate: -10deg;
  box-shadow: 0 0 0 4px #fff, 0 16px 32px rgba(0, 0, 0, .2);
}
.sticker b { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -.04em; }
.sticker span { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.split .text { padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
.split h2 { font-size: 36px; line-height: 40px; letter-spacing: -.035em; margin-top: 16px; }
.split h2 span { display: block; }
.split .text > p { margin-top: 16px; font-size: 18px; line-height: 28px; color: var(--ink2); }
.steps { list-style: none; margin: 32px 0 0; padding: 0; }
.steps li { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line2); }
.steps li:last-child { border-bottom: 1px solid var(--line2); }
.steps li span { font-size: 14px; line-height: 24px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.more { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 32px; padding-bottom: 4px; font-weight: 500; border-bottom: 1px solid var(--ink); }
.more .ico { width: 16px; height: 16px; transition: transform 400ms var(--ease); }
.more:hover .ico { transform: translateX(4px); }

/* tagline reveal */
.tagline { padding: 96px 0; }
.tagline p { max-width: 680px; margin: 0 auto; text-align: center; font-size: 48px; line-height: 1.1; font-weight: 600; letter-spacing: -.04em; text-wrap: balance; }
.tagline .w { color: rgba(27, 27, 27, .25); transition: color 800ms var(--ease); }
.tagline .w.lit { color: var(--ink); }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.card { display: flex; flex-direction: column; padding: 24px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.card.warm { background: var(--amber-soft); border-color: rgba(201, 106, 5, .14); }
.card .row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink3); }
.card .row .ico { color: var(--amber-ink); }
.card.warm .row { color: var(--ink2); }
.mini { height: 240px; display: flex; align-items: center; justify-content: center; }
.card h3 { font-size: 24px; line-height: 32px; letter-spacing: -.02em; }
.card h3 + p { margin-top: 8px; color: var(--ink2); }
.plan { width: 232px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 32px rgba(0, 0, 0, .08); rotate: -3deg; }
.plan small { font-size: 12px; line-height: 16px; color: var(--ink3); }
.plan b { display: block; margin-top: 4px; font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -.03em; }
.plan b span { font-size: 14px; font-weight: 400; color: var(--ink3); letter-spacing: 0; margin-left: 4px; }
.plan .chips { flex-wrap: wrap; }
.plan .goal { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; line-height: 16px; color: var(--ink2); display: flex; align-items: center; gap: 8px; }
.plan .goal .ico { width: 14px; height: 14px; color: var(--amber-ink); }
.chat { width: 100%; display: flex; flex-direction: column; gap: 8px; padding: 0 8px; }
.bubble { max-width: 80%; padding: 8px 12px; border-radius: 16px; font-size: 14px; line-height: 20px; }
.bubble.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.bubble.app { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; display: flex; align-items: center; gap: 8px; }
.bubble.app .ico { width: 16px; height: 16px; color: #10B981; }
.chat small { align-self: center; margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--ink2); }
.week { width: 100%; padding: 0 8px; }
.bars { position: relative; display: flex; align-items: flex-end; gap: 8px; height: 144px; }
.bars::before { content: "Goal"; position: absolute; left: 0; right: 0; top: 16px; padding-bottom: 2px; border-bottom: 1px dashed var(--line2); font-size: 12px; line-height: 16px; color: var(--ink3); text-align: right; }
.bars i { flex: 1; border-radius: 8px; background: var(--amber); }
.bars i.lo { background: rgba(245, 158, 11, .35); }
.days { display: flex; gap: 8px; margin-top: 8px; font-size: 12px; line-height: 16px; color: var(--ink3); text-align: center; }
.days span { flex: 1; }
.streak { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; padding: 4px 12px; border-radius: 9999px; background: #fff; border: 1px solid var(--line); font-size: 12px; line-height: 16px; font-weight: 600; }
.streak .ico { width: 14px; height: 14px; color: var(--amber); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.faq .side { position: sticky; top: 120px; align-self: start; }
.faq .side h2 { font-size: 36px; line-height: 40px; letter-spacing: -.035em; margin-top: 16px; }
.faq .side p { margin-top: 16px; color: var(--ink2); }
details { border-top: 1px solid var(--line2); }
details:last-child { border-bottom: 1px solid var(--line2); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; cursor: pointer; font-size: 18px; line-height: 28px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary .ico { transition: transform 700ms var(--ease); }
details[open] summary .ico { transform: rotate(45deg); }
details p { padding: 0 48px 24px 0; color: var(--ink2); }

/* download band */
.band { background: #ECECEA; padding: 96px 0; }
.band .wrap { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
.qr { width: 240px; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); text-align: center; }
.qr img { width: 192px; height: 192px; }
.qr p { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--ink2); }
.band .copy { text-align: center; }
.band h2 { font-size: 48px; line-height: 1.1; letter-spacing: -.04em; }
.band h2 span { display: inline-block; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 4px; text-underline-offset: 12px; }
.band .copy > p { margin-top: 24px; font-size: 18px; line-height: 28px; color: var(--ink2); }
.band .cta { margin-top: 32px; }

/* footer */
footer { background: #181818; color: #F5F5F5; padding: 32px 0; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 20px; color: #A4A4A4; }
.word { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 96px 0; font-size: 128px; line-height: 1; font-weight: 600; letter-spacing: -.06em; white-space: nowrap; }
.word svg { width: 112px; height: 112px; flex: none; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; line-height: 20px; color: #A4A4A4; }
.foot-bottom nav { display: flex; gap: 24px; }
.foot-bottom a { transition: color 400ms var(--ease); }
.foot-bottom a:hover { color: #fff; }

/* scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(64px); filter: blur(12px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

@media (max-width: 1023px) {
  .cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .word { font-size: 96px; }
  .word svg { width: 80px; height: 80px; }
}
@media (max-width: 860px) {
  .links, .nav > .btn-sm { display: none; }
  .burger { display: block; }
  .nav { left: 16px; right: 16px; transform: none; justify-content: space-between; padding: 4px 4px 4px 16px; }
  .split { grid-template-columns: 1fr; }
  .split .photo { min-height: 400px; }
  .split .text { padding: 40px 24px; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .faq .side { position: static; }
  .band .wrap { grid-template-columns: 1fr; justify-items: center; }
  .qr { display: none; }
  .word { font-size: 60px; gap: 16px; padding: 64px 0; }
  .word svg { width: 48px; height: 48px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 128px; }
  .hero h1 { font-size: 36px; line-height: 40px; }
  .hero h1 span { padding-bottom: 0; }
  .hero p.sub { font-size: 16px; line-height: 24px; }
  .head h2, .big, .band h2 { font-size: 36px; line-height: 40px; }
  .tagline p { font-size: 30px; line-height: 36px; }
  .split h2, .faq .side h2 { font-size: 30px; line-height: 36px; }
  .split .over { font-size: 24px; line-height: 32px; }
  .stack { width: 256px; height: 556px; }
  .block { padding: 64px 0; }
  .word { font-size: 36px; gap: 12px; }
  .word svg { width: 32px; height: 32px; }
  .foot-top { flex-direction: column; }
  details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}
