/* Dayli Health, daylihealth.com
   One stylesheet, mobile first. Tokens at the top, sections in page order. */

:root {
  --bg: #f6f5f1;
  --bg-2: #eef3f0;
  --bg-mint: #e4efeb;
  --ink: #16241f;
  --ink-2: #3e4d48;
  --muted: #6b7a75;
  --line: rgba(22, 36, 31, 0.1);
  --card: #ffffff;
  --accent: #2b6f63;
  --accent-ink: #1c4f46;
  --accent-soft: #d8ebe5;
  --calorie: #2f8f7d;
  --protein: #5268cf;
  --water: #3c86d8;
  --coin: #f2c14e;
  --coin-ink: #8a5b00;
  --alert: #d6695a;
  --fat: #a266bf;
  --fiber: #669d66;
  --dark: #0f1f1b;
  --dark-2: #163129;
  --dark-ink: #f0f5f2;
  --dark-muted: #9fb4ad;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 60px -30px rgba(22, 36, 31, 0.35), 0 10px 24px -14px rgba(22, 36, 31, 0.2);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Inter, Arial, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", var(--font);
  --container: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 84px; }

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

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Type scale */
.display { font-size: clamp(2.6rem, 8.2vw, 5.4rem); letter-spacing: -0.035em; line-height: 1.0; text-wrap: balance; }
.headline { font-size: clamp(2rem, 5.2vw, 3.4rem); letter-spacing: -0.03em; text-wrap: balance; }
.lead { font-size: clamp(1.1rem, 1.5vw + 0.6rem, 1.4rem); line-height: 1.45; color: var(--ink-2); max-width: 36ch; }
.eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.caption { font-size: 0.95rem; color: var(--muted); max-width: 60ch; margin-top: 28px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 1.02rem; text-decoration: none !important;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(22, 36, 31, 0.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(22, 36, 31, 0.7); }
.btn--secondary { background: var(--accent-soft); color: var(--accent-ink); }
.btn--secondary:hover { transform: translateY(-2px); }
.btn--light { background: rgba(255, 255, 255, 0.12); color: #fff; backdrop-filter: blur(8px); }
.btn--light:hover { background: rgba(255, 255, 255, 0.2); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.btn__apple { margin-top: -2px; }
.cta-group { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 30px; }
.cta-group--center { align-items: center; }
.cta-group__android { font-size: 0.95rem; color: var(--muted); }
.hero__note { font-size: 0.9rem; color: var(--muted); margin-top: 16px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246, 245, 241, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.nav__inner { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.nav__brand:hover { text-decoration: none; }
.nav__icon { border-radius: 9px; }
.nav__menu { display: none; align-items: center; gap: 26px; }
.nav__menu a { color: var(--ink-2); font-weight: 500; font-size: 0.98rem; }
.nav__menu a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__menu a:hover { color: var(--ink); text-decoration: none; }
.nav__lang { font-size: 0.9rem !important; color: var(--muted) !important; }
.nav__cta { color: #fff !important; }
.nav__toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; color: var(--ink); cursor: pointer; }
.nav__toggle-label { font-size: 0.9rem; font-weight: 600; }
.nav__toggle-bars { display: inline-flex; flex-direction: column; gap: 5px; width: 22px; }
.nav__toggle-bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s var(--ease); }
.nav.is-open .nav__toggle-bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__toggle-bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav.is-open .nav__menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; box-shadow: 0 30px 40px -30px rgba(0,0,0,0.3); }
.nav.is-open .nav__menu a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.nav.is-open .nav__menu .nav__cta { margin-top: 14px; border-bottom: 0; justify-content: center; }
@media (min-width: 880px) {
  .nav__toggle { display: none; }
  .nav__menu { display: flex; }
}

/* Sections */
.section { padding-block: var(--section); position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 72px); }
.section__head .lead { max-width: 44ch; margin-top: 18px; }
/* On wide screens the head spans the container: title left, lead right, so
   a section never opens with an empty right half. */
@media (min-width: 900px) {
  .section__head { max-width: none; display: grid; grid-template-columns: 1.05fr 0.95fr; column-gap: clamp(40px, 6vw, 96px); align-items: end; }
  .section__head .eyebrow { grid-column: 1; grid-row: 1; }
  .section__head .headline { grid-column: 1; grid-row: 2; }
  .section__head .lead { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin-top: 0; max-width: 40ch; padding-bottom: 0.35em; }
}
.section__head--light .eyebrow { color: #8fd3c3; }
.section__head--light .lead { color: var(--dark-muted); }
.section__foot { margin-top: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* Hero */
.hero { padding-block: clamp(40px, 8vw, 96px) clamp(40px, 8vw, 80px); background: radial-gradient(120% 80% at 80% 0%, var(--bg-mint) 0%, var(--bg) 60%); overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__copy .lead { margin-top: 22px; }
.hero__phone { position: relative; display: flex; justify-content: center; }
.hero__glow { position: absolute; inset: 10% 15%; background: radial-gradient(closest-side, rgba(47, 143, 125, 0.28), transparent 70%); filter: blur(30px); z-index: 0; }
.hero__glow--green { background: radial-gradient(closest-side, rgba(242, 193, 78, 0.35), transparent 70%); }
.hero__single { max-width: 820px; }
.hero__single .lead { margin-top: 22px; max-width: 50ch; }
.hero--sub { padding-bottom: clamp(24px, 5vw, 56px); }
@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .hero { padding-block: clamp(56px, 7vw, 96px); }
}

/* Floating reward badge on the hero: a run just paid */
.hero__badge { position: absolute; z-index: 2; left: 0; top: 34%; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.hero__badge-coin { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe08a, var(--coin) 60%, #c9962b); box-shadow: inset 0 0 0 3px rgba(0,0,0,0.06); display: grid; place-items: center; color: #7a5200; font-weight: 800; font-family: var(--font-rounded); }
.hero__badge strong { display: block; font-family: var(--font-rounded); font-size: 1.15rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hero__badge span { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 640px) { .hero__badge { left: 0; top: 33%; padding: 10px 14px 10px 10px; } .hero__badge-coin { width: 34px; height: 34px; } }

/* Phone frame */
.phone { margin: 0; position: relative; z-index: 1; width: min(340px, 78vw); }
.phone--hero { width: min(380px, 74vw); }
.phone--md { width: min(300px, 70vw); }
.phone--sm { width: min(240px, 52vw); }
.phone__body { position: relative; border-radius: 12% / 5.5%; padding: 3%; background: #1a1c1f; box-shadow: var(--shadow), inset 0 0 0 2px rgba(255,255,255,0.08); }
.phone__screen { border-radius: 9.5% / 4.4%; width: 100%; background: #f6f5f1; }
.phone__island { position: absolute; top: 5.4%; left: 50%; transform: translateX(-50%); width: 27%; height: 2.4%; background: #0a0a0c; border-radius: 999px; z-index: 2; }
.phone--behind { position: absolute; right: 3%; bottom: -6%; z-index: 0; transform: rotate(6deg); opacity: 0.95; }
.phone--behind-left { right: auto; left: 3%; transform: rotate(-6deg); }
.duo, .day__phones { position: relative; display: flex; justify-content: center; padding: 0 12% 6%; }
.day__phones .phone--behind { right: 0; }
.duo .phone--behind-left { left: 0; }

/* Photo story */
.section--photo { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }
.photo-story { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; justify-items: center; }
.photo-story__plate { position: relative; width: min(440px, 82vw); aspect-ratio: 1; }
.photo-story__plate > img { border-radius: 28px; box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.photo-story__scan { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; pointer-events: none; }
.photo-story__scan::after { content: ""; position: absolute; left: 0; right: 0; top: -8%; height: 8%; background: linear-gradient(180deg, rgba(47,143,125,0) 0%, rgba(47,143,125,0.55) 50%, rgba(47,143,125,0) 100%); opacity: 0; }
.photo-story.is-on .photo-story__scan::after { animation: scan 2.2s var(--ease) 0.2s 1 forwards; }
@keyframes scan { 0% { top: -8%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 9px 14px 9px 10px; font-family: var(--font-rounded); font-weight: 700; font-size: 0.95rem; box-shadow: 0 14px 30px -14px rgba(22,36,31,0.5); opacity: 0; transform: translateY(10px) scale(0.9); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--calorie); }
.chip--0 { left: -6%; top: 8%; } .chip--0 i { background: var(--calorie); }
.chip--1 { right: -6%; top: 20%; } .chip--1 i { background: var(--protein); }
.chip--2 { left: -2%; bottom: 20%; } .chip--2 i { background: var(--fiber); }
.chip--3 { right: -3%; bottom: 8%; } .chip--3 i { background: var(--fat); }
.photo-story.is-on .chip { opacity: 1; transform: none; }
.photo-story.is-on .chip--0 { transition-delay: 1.4s; } .photo-story.is-on .chip--1 { transition-delay: 1.6s; }
.photo-story.is-on .chip--2 { transition-delay: 1.8s; } .photo-story.is-on .chip--3 { transition-delay: 2.0s; }
.photo-story__arrow { color: var(--accent); transform: rotate(90deg); opacity: 0.7; }
@media (min-width: 880px) {
  .photo-story { grid-template-columns: 1fr auto 1fr; gap: 24px; }
  .photo-story__arrow { transform: none; }
}

/* Points, tiles, callouts */
.points { display: grid; gap: 22px; margin-top: clamp(40px, 6vw, 64px); }
.points li h3 { font-size: 1.15rem; margin-bottom: 6px; }
.points li p { color: var(--ink-2); font-size: 1rem; }
.points--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.points--stack { margin-top: 30px; gap: 18px; }
.points--stack li { padding-left: 18px; border-left: 3px solid var(--accent-soft); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.tile { background: var(--card); border-radius: var(--radius-sm); padding: 20px; box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(22,36,31,0.3); }
.tile h3 { font-size: 1.05rem; margin: 12px 0 6px; }
.tile p { color: var(--ink-2); font-size: 0.95rem; }
.tile__symbol { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.tile--protein .tile__symbol { background: #e3e7fb; color: var(--protein); }
.tile--water .tile__symbol { background: #dfeaf9; color: var(--water); }
.tile--scale .tile__symbol, .tile--walk .tile__symbol { background: var(--accent-soft); color: var(--accent-ink); }
.tile--sleep .tile__symbol { background: #e6e8f5; color: #5a6bb8; }
.day__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 880px) { .day__grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
.callouts { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 720px) { .callouts { grid-template-columns: 1fr 1fr; } }
.callout { display: flex; gap: 16px; background: var(--card); border-radius: var(--radius-sm); padding: 22px; box-shadow: 0 1px 0 var(--line); }
.callout h3 { font-size: 1.1rem; margin-bottom: 6px; }
.callout p { color: var(--ink-2); font-size: 0.98rem; }
.callout__symbol { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fbe3df; color: var(--alert); }
.callout:last-child .callout__symbol { background: var(--accent-soft); color: var(--accent-ink); }

/* Widgets and Apple Watch. The widgets are CSS drawings of the real ones;
   --wu is the widget unit so the whole board scales on small screens. */
.section--wear { background: linear-gradient(180deg, var(--bg) 0%, #fff 55%, var(--bg) 100%); }
.wear { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 6vw, 64px); align-items: center; }
.wear > * { min-width: 0; }
.wear__stage { --wu: 1px; display: grid; gap: 18px; justify-items: center; align-content: start; }
@media (max-width: 420px) { .wear__stage { --wu: 0.82px; } }
.board__label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.board__label--light { color: rgba(255,255,255,0.7); }
.board { position: relative; width: calc(var(--wu) * 386); max-width: 100%; padding: calc(var(--wu) * 22) calc(var(--wu) * 24) calc(var(--wu) * 26); border-radius: var(--radius); background: linear-gradient(150deg, #dbe9e3 0%, #eef3f0 45%, #f7e9cf 100%); box-shadow: inset 0 0 0 1px rgba(22,36,31,0.06); }
.board__row { display: flex; gap: calc(var(--wu) * 22); margin-top: calc(var(--wu) * 22); }
.widget { position: relative; background: #fff; border-radius: calc(var(--wu) * 24); padding: calc(var(--wu) * 16); box-shadow: 0 18px 36px -22px rgba(22,36,31,0.45), 0 1px 0 rgba(255,255,255,0.8) inset; font-family: var(--font); color: var(--ink); line-height: 1.15; }
.widget--medium { width: calc(var(--wu) * 338); height: calc(var(--wu) * 158); display: flex; align-items: center; gap: calc(var(--wu) * 16); }
.widget--small { width: calc(var(--wu) * 158); height: calc(var(--wu) * 158); display: flex; flex-direction: column; justify-content: space-between; }
.wring { position: relative; flex: none; display: grid; place-items: center; }
.wring svg { display: block; width: 100%; height: 100%; }
.wring--md { width: calc(var(--wu) * 104); height: calc(var(--wu) * 104); }
.wring--sm { width: calc(var(--wu) * 90); height: calc(var(--wu) * 90); margin-inline: auto; }
.wring__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wring__center strong { font-family: var(--font-rounded); font-weight: 700; font-size: calc(var(--wu) * 24); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.wring--sm .wring__center strong { font-size: calc(var(--wu) * 22); }
.wring__center span { font-size: calc(var(--wu) * 9); font-weight: 500; color: var(--muted); }
.wbars { flex: 1; display: flex; flex-direction: column; gap: calc(var(--wu) * 9); min-width: 0; }
.wbar { display: flex; flex-direction: column; gap: calc(var(--wu) * 3); }
.wbar__row { display: flex; justify-content: space-between; align-items: baseline; font-size: calc(var(--wu) * 11); }
.wbar__row span { font-weight: 500; color: var(--muted); }
.wbar__row b { font-family: var(--font-rounded); font-weight: 600; font-variant-numeric: tabular-nums; }
.wbar__track { position: relative; height: calc(var(--wu) * 6); border-radius: 999px; overflow: hidden; }
.wbar__track i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; }
.wbar--protein .wbar__track { background: rgba(82,104,207,0.16); } .wbar--protein .wbar__track i { background: var(--protein); }
.wbar--water .wbar__track { background: rgba(60,134,216,0.16); } .wbar--water .wbar__track i { background: var(--water); }
.fill--59 { width: 59%; } .fill--43 { width: 43%; }
.wchips { display: flex; gap: calc(var(--wu) * 10); padding-top: calc(var(--wu) * 1); }
.wchip { display: inline-flex; align-items: center; gap: calc(var(--wu) * 3); font-family: var(--font-rounded); font-weight: 600; font-size: calc(var(--wu) * 11); font-variant-numeric: tabular-nums; }
.wchip svg { width: calc(var(--wu) * 12); height: calc(var(--wu) * 12); }
.wchip--walk svg { color: var(--calorie); } .wchip--flame svg { color: var(--alert); } .wchip--coin svg { color: var(--coin); }
.widget--water { justify-content: flex-start; gap: calc(var(--wu) * 8); }
.wwater__head { display: flex; align-items: baseline; gap: calc(var(--wu) * 3); }
.wwater__drop { color: var(--water); align-self: center; display: inline-flex; }
.wwater__drop svg { width: calc(var(--wu) * 13); height: calc(var(--wu) * 13); }
.wwater__head strong { font-family: var(--font-rounded); font-weight: 700; font-size: calc(var(--wu) * 22); font-variant-numeric: tabular-nums; }
.wwater__of { font-size: calc(var(--wu) * 11); color: var(--muted); }
.wbottle { position: relative; height: calc(var(--wu) * 10); border-radius: 999px; background: rgba(60,134,216,0.14); overflow: hidden; }
.wbottle i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, #4a95e2, var(--water)); }
.wbuttons { display: flex; gap: calc(var(--wu) * 6); margin-top: auto; }
.wbutton { flex: 1; display: inline-flex; justify-content: center; align-items: center; padding: calc(var(--wu) * 7) calc(var(--wu) * 8); border-radius: 999px; background: rgba(60,134,216,0.14); color: var(--water); font-size: calc(var(--wu) * 11); font-weight: 600; white-space: nowrap; }
.widget--today-s { gap: calc(var(--wu) * 8); }

.lock { position: relative; width: calc(var(--wu) * 386); max-width: 100%; padding: calc(var(--wu) * 18) calc(var(--wu) * 24) calc(var(--wu) * 22); border-radius: var(--radius); color: #fff; background: radial-gradient(120% 100% at 10% 0%, #2f6f62 0%, var(--dark-2) 45%, var(--dark) 100%); box-shadow: var(--shadow); overflow: hidden; }
.lock__time { font-weight: 600; font-size: calc(var(--wu) * 56); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; margin: calc(var(--wu) * 4) 0 calc(var(--wu) * 16); }
.lock__row { display: flex; align-items: center; gap: calc(var(--wu) * 18); }
.gauge { position: relative; flex: none; width: calc(var(--wu) * 64); height: calc(var(--wu) * 64); display: grid; place-items: center; }
.gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gauge__icon { position: absolute; top: calc(var(--wu) * -3); left: 50%; transform: translateX(-50%); display: inline-flex; }
.gauge__icon svg { width: calc(var(--wu) * 12); height: calc(var(--wu) * 12); }
.gauge strong { font-family: var(--font-rounded); font-weight: 600; font-size: calc(var(--wu) * 16); font-variant-numeric: tabular-nums; }
.lock__rect { display: flex; flex-direction: column; gap: calc(var(--wu) * 2); font-size: calc(var(--wu) * 12); color: rgba(255,255,255,0.85); }
.lock__rect strong { display: inline-flex; align-items: center; gap: calc(var(--wu) * 5); font-size: calc(var(--wu) * 15); font-weight: 600; color: #fff; }
.lock__rect strong svg { width: calc(var(--wu) * 12); height: calc(var(--wu) * 12); }
.lock__inline { display: inline-flex; align-items: center; gap: calc(var(--wu) * 6); margin-top: calc(var(--wu) * 16); padding: calc(var(--wu) * 5) calc(var(--wu) * 10); border-radius: 999px; background: rgba(255,255,255,0.12); font-size: calc(var(--wu) * 11); font-weight: 500; }
.lock__inline svg { width: calc(var(--wu) * 11); height: calc(var(--wu) * 11); }

.wear__side { display: grid; gap: 28px; align-content: start; min-width: 0; }
.wear__watches { position: relative; display: flex; justify-content: center; align-items: center; padding: 36px 0 12px; max-width: 100%; }
.wear__watch-label { position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
.watch { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; width: min(250px, 46vw); }
.watch--side { width: min(190px, 30vw); opacity: 0.94; }
@media (max-width: 640px) { .watch--main { width: 46%; } .watch--side { width: 28%; margin-inline: -3%; } }
.watch--left { transform: translateX(14%) rotate(-7deg); z-index: 0; }
.watch--right { transform: translateX(-14%) rotate(7deg); z-index: 0; }
.watch--main { z-index: 1; }
.watch__case { position: relative; width: 100%; padding: 6.5%; border-radius: 24% / 20%; background: linear-gradient(160deg, #3b3d42 0%, #1a1c1f 50%, #2a2c30 100%); box-shadow: var(--shadow), inset 0 0 0 2px rgba(255,255,255,0.1), inset 0 -2px 6px rgba(0,0,0,0.5); }
.watch__screen { border-radius: 20% / 16.5%; width: 100%; background: #000; }
.watch__crown { position: absolute; right: -4.5%; top: 26%; width: 5.5%; height: 15%; border-radius: 3px; background: linear-gradient(90deg, #2a2c30, #4a4d53 50%, #2a2c30); box-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.watch__button { position: absolute; right: -3.5%; top: 47%; width: 4%; height: 16%; border-radius: 3px; background: linear-gradient(90deg, #2a2c30, #3f4247); }
.watch__band { width: 56%; height: 26px; background: linear-gradient(180deg, #23252a, #15161a); }
.watch__band--top { border-radius: 10px 10px 0 0; margin-bottom: -6px; }
.watch__band--bottom { border-radius: 0 0 10px 10px; margin-top: -6px; }
.tiles--wear { margin-top: 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.tiles--wear .tile p { font-size: 0.92rem; }
.tile--ring .tile__symbol { background: var(--accent-soft); color: var(--calorie); }
.tile--lock .tile__symbol { background: #e6e8f5; color: #4a5680; }
.tile--watch .tile__symbol { background: #f7e9cf; color: var(--coin-ink); }
@media (min-width: 960px) {
  .wear { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
  .wear__watches { padding-top: 44px; }
  .tiles--wear { grid-template-columns: 1fr 1fr; }
}

.section--wrist { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding-block: clamp(48px, 8vw, 96px); }
.wrist { display: grid; gap: 32px; align-items: center; justify-items: center; }
.wrist__watch { width: min(200px, 50vw); }
.wrist__copy .lead { margin-top: 18px; max-width: 50ch; }
@media (min-width: 880px) { .wrist { grid-template-columns: 0.4fr 0.6fr; gap: 56px; justify-items: start; } .wrist__watch { justify-self: center; } }

/* Split sections */
.split { display: grid; gap: 40px; align-items: center; }
.split__media { display: flex; justify-content: center; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--reverse .split__copy { order: 2; }
}
.section--buddy { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.checks { display: grid; gap: 12px; margin-top: 26px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%231c4f46' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks--big { max-width: 640px; gap: 16px; font-size: 1.1rem; }
@media (min-width: 880px) { .checks--big { max-width: none; grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* The Neighborhood story */
.section--hood { background: var(--dark); color: var(--dark-ink); padding-bottom: clamp(48px, 8vw, 96px); }
.section--hood .headline { color: #fff; }
.hood { position: relative; }
.hood__stage { position: sticky; top: 60px; z-index: 1; padding-block: 12px; background: linear-gradient(180deg, var(--dark) 70%, rgba(15,31,27,0)); }
.hood__frame { position: relative; width: min(680px, 100% - 2 * var(--gutter)); margin-inline: auto; aspect-ratio: 720 / 595; border-radius: var(--radius); overflow: hidden; background: #dfe9dc; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8); }
.hood__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s var(--ease); }
.hood__img.is-active { opacity: 1; }
.hood__coins { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.92); color: var(--ink); border-radius: 999px; padding: 8px 14px 8px 10px; font-family: var(--font-rounded); font-weight: 700; font-size: 0.95rem; box-shadow: 0 10px 24px -12px rgba(0,0,0,0.5); }
.hood__coins span:last-child { font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.hood__coins strong { font-variant-numeric: tabular-nums; }
.hood__coin-icon { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe08a, var(--coin) 60%, #c9962b); box-shadow: inset 0 0 0 2px rgba(0,0,0,0.08); }
.hood__burst { position: absolute; top: 24px; left: 60px; pointer-events: none; }
.hood__burst i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe08a, var(--coin) 60%, #c9962b); opacity: 0; }
.hood__burst.is-on i { animation: burst 1.1s var(--ease) forwards; }
.hood__burst i:nth-child(1) { --dx: -30px; --dy: -60px; } .hood__burst i:nth-child(2) { --dx: 20px; --dy: -70px; animation-delay: 0.05s; }
.hood__burst i:nth-child(3) { --dx: 60px; --dy: -40px; animation-delay: 0.1s; } .hood__burst i:nth-child(4) { --dx: -60px; --dy: -30px; animation-delay: 0.08s; }
.hood__burst i:nth-child(5) { --dx: 40px; --dy: -20px; animation-delay: 0.12s; } .hood__burst i:nth-child(6) { --dx: -10px; --dy: -90px; animation-delay: 0.15s; }
@keyframes burst { 0% { opacity: 0; transform: translate(0, 0) scale(0.5); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1); } }
.hood__steps { width: min(680px, 100% - 2 * var(--gutter)); margin: 8px auto 0; display: grid; gap: 0; }
.hood__step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.hood__step h3, .hood__step p { transition: color 0.4s; }
.hood__step.is-active h3 { color: #fff; }
.hood__step.is-active p { color: #c3d1cb; }
.hood__step h3 { font-size: clamp(1.5rem, 4vw, 2.2rem); color: #a9bab3; margin: 8px 0 8px; }
.hood__step p { color: #8fa39c; font-size: 1.1rem; max-width: 46ch; }
.hood__num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.1); font-size: 0.85rem; font-weight: 700; color: #8fd3c3; }
.hood__cta { margin-top: 16px; display: flex; justify-content: center; }
@media (min-width: 980px) {
  .hood { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; align-items: start; }
  .hood__stage { top: 96px; padding: 0; background: none; }
  .hood__frame { width: 100%; }
  .hood__steps { width: auto; margin: 0; }
  .hood__step { min-height: 38vh; padding: 20px 0; }
  .hood__step:first-child { min-height: 30vh; }
  .hood__step:last-child { min-height: 26vh; }
}
@media (prefers-reduced-motion: reduce) {
  .hood__stage { position: static; }
  .hood__step { min-height: 0; }
  .hood__step h3 { color: #fff; } .hood__step p { color: #c3d1cb; }
  .hood__img { transition: none; }
  .hero__badge { animation: none; }
}

/* Privacy orbit (home) */
.section--privacy { background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%); color: var(--dark-ink); }
.section--privacy .headline { color: #fff; }
.orbit { display: grid; gap: 28px; align-items: center; }
.orbit__phone { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.orbit__phone-body { width: 120px; height: 240px; border-radius: 28px; border: 3px solid rgba(255,255,255,0.35); background: linear-gradient(160deg, rgba(47,143,125,0.4), rgba(255,255,255,0.05)); box-shadow: 0 0 0 18px rgba(47,143,125,0.08), 0 0 0 40px rgba(47,143,125,0.05), 0 0 80px rgba(47,143,125,0.35); position: relative; }
.orbit__phone-body span { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 34px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.35); }
.orbit__label { font-weight: 600; color: #8fd3c3; letter-spacing: 0.04em; font-size: 0.85rem; text-transform: uppercase; }
.orbit__cards { display: grid; gap: 14px; }
.orbit__card { position: relative; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm); padding: 20px 20px 20px 46px; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease); }
.orbit__card:nth-child(2) { transition-delay: 0.08s; } .orbit__card:nth-child(3) { transition-delay: 0.16s; } .orbit__card:nth-child(4) { transition-delay: 0.24s; }
.orbit__card h3 { font-size: 1.1rem; color: #fff; margin-bottom: 6px; }
.orbit__card p { color: var(--dark-muted); font-size: 0.98rem; }
.orbit__dot { position: absolute; left: 18px; top: 24px; width: 14px; height: 14px; border-radius: 50%; }
.orbit__card--stays .orbit__dot { background: #2f8f7d; box-shadow: 0 0 0 5px rgba(47,143,125,0.25); }
.orbit__card--asks .orbit__dot { background: var(--coin); box-shadow: 0 0 0 5px rgba(242,193,78,0.25); }
.orbit__card--game .orbit__dot { background: var(--water); box-shadow: 0 0 0 5px rgba(60,134,216,0.25); }
.orbit__card--optional .orbit__dot { background: #9fb4ad; box-shadow: 0 0 0 5px rgba(159,180,173,0.25); }
.reveal .orbit__card { opacity: 0; transform: translateX(20px); }
.reveal.is-visible .orbit__card { opacity: 1; transform: none; }
@media (min-width: 880px) { .orbit { grid-template-columns: 280px 1fr; gap: 56px; } .orbit__cards { grid-template-columns: 1fr 1fr; } }

/* Plus */
.plans { display: grid; gap: 16px; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; max-width: 820px; } }
.plan { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 0 var(--line), 0 20px 50px -30px rgba(22,36,31,0.3); }
.plan--plus { background: var(--dark); color: var(--dark-ink); }
.plan h3 { font-size: 1.2rem; }
.plan__price { font-family: var(--font-rounded); font-weight: 700; font-size: 1.5rem; margin: 6px 0 16px; letter-spacing: -0.02em; }
.plan ul { display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; font-size: 0.98rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%231c4f46' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan--plus li::before { background-color: rgba(255,255,255,0.15); }

/* Download */
.section--download { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-mint) 100%); }
.download { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.download .lead { margin-inline: auto; max-width: 48ch; }
.download__icon { border-radius: 22px; box-shadow: var(--shadow); }

/* Neighborhood page */
.earn { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (min-width: 1100px) { .earn { grid-template-columns: repeat(5, 1fr); } }
.earn__item { background: var(--card); border-radius: var(--radius-sm); padding: 22px; box-shadow: 0 1px 0 var(--line); }
.earn__item h3 { font-size: 1.1rem; margin: 12px 0 6px; }
.earn__item p { color: var(--ink-2); font-size: 0.97rem; }
.earn__coin { color: var(--coin); display: inline-flex; }
.section--levels { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }
.levels { display: grid; gap: 22px; grid-template-columns: 1fr; counter-reset: level; }
@media (min-width: 700px) { .levels { grid-template-columns: 1fr 1fr; } .levels .level:last-child { grid-column: span 2; } .levels .level:last-child img { max-height: 520px; object-fit: cover; width: 100%; } }
.level img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.level__caption { display: flex; gap: 10px; align-items: baseline; padding: 14px 6px 0; }
.level__caption strong { color: var(--accent-ink); font-size: 0.95rem; }
.level__caption span { color: var(--ink-2); }
.section--honest { background: var(--bg); }
.honest { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 720px) { .honest { grid-template-columns: 1fr 1fr; } }
.honest__list { background: var(--card); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; align-content: start; box-shadow: 0 1px 0 var(--line); }
.honest__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.honest__list li span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.honest__list--can li span { background: var(--accent-soft); color: var(--accent-ink); }
.honest__list--cannot li span { background: #fbe3df; color: var(--alert); }

/* Privacy page flow */
.section--flow { padding-top: 0; }
.flow { display: grid; gap: 32px; }
.flow__phone { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.flow__device { width: 130px; height: 260px; border-radius: 30px; border: 3px solid rgba(22,36,31,0.25); background: linear-gradient(160deg, var(--accent-soft), #fff); box-shadow: 0 0 0 18px rgba(47,143,125,0.07), 0 0 0 40px rgba(47,143,125,0.04); position: relative; }
.flow__device span { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 36px; height: 8px; border-radius: 999px; background: rgba(22,36,31,0.25); }
.flow__label { font-weight: 700; color: var(--accent-ink); letter-spacing: 0.06em; font-size: 0.85rem; text-transform: uppercase; }
.flow__list { display: grid; gap: 14px; }
.flow__item { position: relative; background: var(--card); border-radius: var(--radius-sm); padding: 22px 22px 22px 50px; box-shadow: 0 1px 0 var(--line); }
.flow__item h2 { font-size: 1.2rem; margin-bottom: 8px; }
.flow__item p { color: var(--ink-2); }
.flow__dot { position: absolute; left: 20px; top: 27px; width: 14px; height: 14px; border-radius: 50%; }
.flow__item--stays .flow__dot { background: var(--calorie); box-shadow: 0 0 0 5px rgba(47,143,125,0.18); }
.flow__item--asks .flow__dot { background: var(--coin); box-shadow: 0 0 0 5px rgba(242,193,78,0.25); }
.flow__item--game .flow__dot { background: var(--water); box-shadow: 0 0 0 5px rgba(60,134,216,0.2); }
.flow__item--optional .flow__dot { background: #9fb4ad; box-shadow: 0 0 0 5px rgba(159,180,173,0.25); }
@media (min-width: 880px) { .flow { grid-template-columns: 260px 1fr; gap: 56px; align-items: start; } .flow__phone { position: sticky; top: 100px; } }

/* FAQ */
.faq { max-width: 780px; display: grid; gap: 10px; }
.faq__item { background: var(--card); border-radius: var(--radius-sm); box-shadow: 0 1px 0 var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h2 { font-size: 1.08rem; }
.faq__chev { flex: none; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.25s; margin-right: 4px; }
.faq__item[open] .faq__chev { transform: rotate(-135deg); }
.faq__item p { padding: 0 20px 20px; color: var(--ink-2); }
.section--contact { background: linear-gradient(180deg, #fff 0%, var(--bg-mint) 100%); }
.contact { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.contact .lead { margin-inline: auto; }
.contact__symbol { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--accent-soft); color: var(--accent-ink); }

/* Legal prose */
.section--legal { padding-top: clamp(40px, 6vw, 72px); }
.prose { max-width: 720px; font-size: 1.02rem; line-height: 1.65; }
.prose h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose a { word-break: break-word; text-decoration: underline; text-underline-offset: 2px; }
.prose__meta { color: var(--ink-2); font-size: 0.95rem; }
.prose__note { background: var(--accent-soft); color: var(--accent-ink); border-radius: 12px; padding: 12px 16px; font-size: 0.95rem; }

/* Errors */
.section--error { min-height: 50vh; display: flex; align-items: center; }
.section--error .btn { margin-top: 28px; }

/* Footer */
.footer { background: var(--dark); color: var(--dark-ink); padding-block: clamp(48px, 8vw, 80px) 32px; }
.footer__inner { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; gap: 36px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__icon { border-radius: 12px; }
.footer__name { font-weight: 700; font-size: 1.15rem; }
.footer__tagline { color: var(--dark-muted); font-size: 0.95rem; }
.footer__cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8fd3c3; margin-bottom: 6px; }
.footer__col a { color: var(--dark-ink); }
.footer__muted { color: var(--dark-muted); }
.footer__legal { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; color: var(--dark-muted); font-size: 0.85rem; display: grid; gap: 8px; }
@media (min-width: 880px) { .footer__inner { grid-template-columns: 1fr 2fr; } .footer__legal { grid-column: 1 / -1; } }

/* Reveal on scroll. Without JS everything is simply visible. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .reveal .orbit__card { opacity: 1; transform: none; transition: none; }
  .chip { opacity: 1; transform: none; transition: none; }
  .photo-story.is-on .photo-story__scan::after { animation: none; }
}
