@font-face {
  font-family: "Inter";
  src: url("/assets/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0d0e0f;
  --bg-2: #141517;
  --surface: #1b1c1e;
  --raised: #242528;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f2f3ef;
  --muted: #9a9c97;
  --faint: #6c6e6a;
  --lime: #a3ff68;
  --lime-ink: #131a0d;
  --lime-soft: rgba(163, 255, 104, .12);
  --protein: #a3ff68;
  --fat: #ffc966;
  --carbs: #7cc4ff;
  --radius: 28px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic .fill, symbol .fill { fill: currentColor; stroke: none; }
.ic.star { color: #ffd66b; }

.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--faint); }

/* ---------- progress + header ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(var(--p, 0)); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: border-color .35s;
  border-bottom: 1px solid transparent;
}
/* The blur lives on a layer under the header, not on the header itself: a
   backdrop-filter on the header would trap the full-screen mobile menu (a fixed
   child) inside the header's box once the page is scrolled. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: transparent; transition: background .35s var(--ease), backdrop-filter .35s;
}
.site-header.scrolled { border-color: var(--line); }
.site-header.scrolled::before { background: rgba(13, 14, 15, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.header-row { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.3rem; letter-spacing: -.04em; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--bg-2); border: 1px solid var(--line-2); display: grid; place-items: center; }
.brand-mark svg { width: 21px; height: 21px; fill: var(--lime); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 9px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: #c9cbc6; transition: color .2s, background .2s; }
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.site-nav a.active { color: var(--text); }
.site-nav .nav-cta { margin-left: 10px; background: var(--text); color: var(--bg); display: inline-flex; gap: 6px; align-items: center; font-weight: 650; }
.site-nav .nav-cta:hover { background: var(--lime); color: var(--lime-ink); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); cursor: pointer; position: relative; z-index: 2; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 650; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn:active { transform: scale(.97); }
.btn-lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 10px 40px -12px rgba(163, 255, 104, .6); }
.btn-lime:hover { box-shadow: 0 14px 50px -10px rgba(163, 255, 104, .8); }
.btn-lime:hover .ic { transform: translateX(3px); }
.btn-lime .ic { transition: transform .25s var(--ease); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-block { width: 100%; }
.btn:disabled { background: var(--raised); color: var(--faint); box-shadow: none; cursor: default; }

.round-btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--raised); display: grid; place-items: center; cursor: pointer; font-size: 1.25rem; transition: transform .2s var(--ease), background .2s; }
.round-btn:hover:not(:disabled) { transform: translateY(-2px); }
.round-btn:active:not(:disabled) { transform: scale(.92); }
.round-btn:disabled { opacity: .35; cursor: default; }
.round-btn.lime { background: var(--lime); color: var(--lime-ink); border-color: transparent; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.eyebrow.dark { color: var(--lime-ink); opacity: .7; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(163, 255, 104, .6); animation: ping 2s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(163, 255, 104, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(163, 255, 104, 0); } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); opacity: .55; }
.hero-glow { position: absolute; width: 760px; height: 760px; right: -160px; top: -120px; background: radial-gradient(circle, rgba(163, 255, 104, .16), transparent 62%); filter: blur(10px); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.1); } }

.hero-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.live-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: .88rem; color: #d3d5cf; margin-bottom: 26px; transition: border-color .2s, background .2s; }
.live-pill:hover { border-color: rgba(163, 255, 104, .5); background: var(--lime-soft); }
.live-pill .ic { color: var(--lime); }

.hero-title { font-size: clamp(3rem, 7.4vw, 6.6rem); white-space: nowrap; line-height: .92; letter-spacing: -.055em; font-weight: 780; margin-bottom: 28px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title em { font-style: normal; color: var(--lime); position: relative; }
@keyframes rise { to { transform: none; } }

.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #b9bbb5; max-width: 33rem; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 46px; }
.hero-copy > *:not(.hero-title) { opacity: 0; transform: translateY(18px); animation: fade-up .9s var(--ease) forwards; }
.hero-copy > .hero-lead { animation-delay: .3s; }
.hero-copy > .hero-actions { animation-delay: .42s; }
.hero-copy > .hero-stats { animation-delay: .54s; }
@keyframes fade-up { to { opacity: 1; transform: none; } }

.hero-stats { display: flex; gap: clamp(22px, 4vw, 48px); margin: 0; }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dd { margin: 0; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 750; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-stats dt { color: var(--muted); font-size: .9rem; margin-top: 6px; }

.hero-visual { position: relative; height: min(680px, 78vh); min-height: 540px; }
.hero-visual > * { will-change: translate; transition: translate .7s var(--ease); }
.hero-photo { position: absolute; inset: 0 0 0 18%; border-radius: 36px; overflow: hidden; border: 1px solid var(--line); background: #0a0a0a; opacity: 0; animation: fade-in 1.4s .1s var(--ease) forwards; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.08); animation: settle 2.2s var(--ease) forwards; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, var(--bg) 100%), linear-gradient(90deg, rgba(13, 14, 15, .65), transparent 45%); }
@keyframes fade-in { to { opacity: 1; } }
@keyframes settle { to { transform: scale(1); } }

/* phone mockup */
.phone { position: absolute; left: 0; bottom: 6%; width: 268px; aspect-ratio: 9 / 19; border-radius: 44px; padding: 9px; background: linear-gradient(160deg, #3a3b3e, #151617 40%, #2a2b2e); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06) inset; opacity: 0; animation: phone-in 1.2s .35s var(--ease) forwards; }
@keyframes phone-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.phone-screen { height: 100%; border-radius: 36px; background: var(--bg-2); overflow: hidden; display: flex; flex-direction: column; padding: 10px 14px 12px; gap: 11px; font-size: 11px; }
.ph-status { display: flex; justify-content: space-between; align-items: center; font-weight: 650; font-size: 11px; padding: 0 6px; }
.ph-island { width: 74px; height: 21px; border-radius: 12px; background: #000; }
.ph-sig { display: flex; gap: 2px; align-items: flex-end; }
.ph-sig i { width: 3px; background: var(--text); border-radius: 1px; }
.ph-sig i:nth-child(1) { height: 5px; } .ph-sig i:nth-child(2) { height: 7px; } .ph-sig i:nth-child(3) { height: 9px; }
.ph-head { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.ph-head small { color: var(--muted); display: block; }
.ph-head b { font-size: 17px; letter-spacing: -.03em; }
.ph-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; font-weight: 750; }
.ph-workout { position: relative; height: 140px; border-radius: 22px; overflow: hidden; flex: none; }
.ph-workout img { width: 100%; height: 100%; object-fit: cover; }
.ph-workout::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .78)); }
.ph-workout-info { position: absolute; left: 12px; bottom: 10px; z-index: 1; }
.ph-workout-info small { color: var(--lime); font-weight: 650; letter-spacing: .06em; font-size: 9px; display: block; }
.ph-workout-info b { font-size: 14px; }
.ph-play { position: absolute; right: 10px; bottom: 10px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; }
.ph-row { display: grid; grid-template-columns: 92px 1fr; gap: 9px; }
.ph-ring, .ph-week { background: var(--surface); border-radius: 20px; padding: 10px; }
.ph-ring { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.ph-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ph-ring circle { fill: none; stroke-width: 10; }
.ph-ring .track { stroke: var(--raised); }
.ph-ring .value { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.6s var(--ease); }
.ph-ring.on .value { stroke-dasharray: 71 100; }
.ph-ring > span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.ph-ring b { font-size: 15px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ph-ring small { color: var(--muted); font-size: 9px; }
.ph-week small { color: var(--muted); }
.ph-bars { height: 46px; display: flex; align-items: flex-end; gap: 5px; margin: 6px 0 4px; }
.ph-bars i { flex: 1; height: 4px; border-radius: 4px; background: var(--raised); transition: height 1s var(--ease); }
.ph-bars i.hi { background: var(--lime); }
.ph-days { display: flex; gap: 5px; color: var(--faint); font-size: 8px; }
.ph-days span { flex: 1; text-align: center; }
.ph-nav { margin-top: auto; display: flex; justify-content: space-around; background: var(--surface); border-radius: 20px; padding: 9px; }
.ph-nav span { width: 34px; height: 30px; display: grid; place-items: center; border-radius: 12px; color: var(--faint); font-size: 15px; }
.ph-nav span.on { background: var(--lime); color: var(--lime-ink); }

.float-chip { position: absolute; display: flex; align-items: center; gap: 11px; padding: 11px 16px 11px 11px; border-radius: 20px; background: rgba(27, 28, 30, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .9); opacity: 0; animation: fade-up .9s var(--ease) forwards; max-width: 260px; }
.float-chip small { display: block; color: var(--muted); font-size: .75rem; }
.float-chip b { font-size: .92rem; font-weight: 650; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-chip > span:last-child { min-width: 0; }
.chip-ic { width: 38px; height: 38px; border-radius: 13px; background: var(--raised); display: grid; place-items: center; font-size: 1.1rem; flex: none; }
.chip-ic.lime { background: var(--lime); color: var(--lime-ink); }
.chip-a { right: 4%; top: 12%; animation-delay: .9s; }
.chip-b { right: -2%; bottom: 20%; animation-delay: 1.1s; }

.scroll-cue { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--line-2); translate: -50% 0; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--lime); translate: -50% 0; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; background: var(--bg); }
.ticker-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { font-size: clamp(1.2rem, 2.4vw, 1.8rem); font-weight: 700; letter-spacing: -.03em; white-space: nowrap; color: #cfd1cb; }
.ticker i { width: 10px; height: 10px; border-radius: 3px; background: var(--lime); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.section-head h2, .download h2 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1; letter-spacing: -.05em; font-weight: 760; margin: 16px 0 20px; }
.section-head p { color: var(--muted); font-size: 1.08rem; max-width: 34rem; }

/* reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 32px); overflow: hidden; display: flex; flex-direction: column; gap: 22px; isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(163, 255, 104, .09), transparent 60%); opacity: 0; transition: opacity .4s; }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 700; margin: 14px 0 8px; }
.tile p { color: var(--muted); font-size: .98rem; }
.tile-tag { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--lime-soft); color: var(--lime); font-size: .8rem; font-weight: 650; }
.tile-copy.split { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }

.tile-swipe { grid-column: span 7; flex-direction: row; align-items: center; min-height: 460px; }
.tile-swipe .tile-copy { flex: 1 1 0; min-width: 0; }
.tile-nutrition { grid-column: span 5; }
.tile-workout { grid-column: span 5; }
.tile-progress { grid-column: span 7; }
.tile-booking { grid-column: span 6; }
.tile-chat { grid-column: span 6; }

/* swipe */
.swipe-count { margin-top: 20px; font-size: .92rem; }
.swipe-count b { color: var(--lime); font-variant-numeric: tabular-nums; }
.swipe-area { flex: 0 0 auto; width: min(290px, 100%); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.swipe-stack { position: relative; width: 100%; height: 340px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.swipe-card { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; background: var(--raised); border: 1px solid var(--line-2); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; cursor: grab; isolation: isolate; transition: transform .45s var(--ease), opacity .45s; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); }
.swipe-card.dragging { transition: none; cursor: grabbing; }
.swipe-card[data-pos="1"] { transform: translateY(14px) scale(.95); }
.swipe-card[data-pos="2"] { transform: translateY(28px) scale(.9); opacity: .6; }
.swipe-card[data-pos="3"] { transform: translateY(28px) scale(.9); opacity: 0; }
.cover { position: absolute; inset: 0; z-index: -1; background: var(--c-bg, #222); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 20%, rgba(0, 0, 0, .86) 100%); }
.cover .initials { position: absolute; top: 16px; left: 18px; font-size: 4.6rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: rgba(255, 255, 255, .1); }
.swipe-card .meta { display: flex; align-items: center; gap: 6px; color: #d0d2cc; font-size: .82rem; }
.swipe-card h4 { margin: 4px 0 10px; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.15; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .74rem; font-weight: 550; }
.stamp { position: absolute; top: 20px; padding: 6px 12px; border-radius: 10px; font-weight: 800; letter-spacing: .08em; font-size: .9rem; border: 2px solid; opacity: 0; }
.stamp.like { left: 18px; color: var(--lime); border-color: var(--lime); transform: rotate(-12deg); }
.stamp.nope { right: 18px; color: #ff8b7a; border-color: #ff8b7a; transform: rotate(12deg); }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; }
.swipe-buttons { display: flex; gap: 16px; }
.swipe-end { position: absolute; inset: 0; border-radius: 26px; border: 1px dashed var(--line-2); background: var(--bg-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; animation: pop .45s var(--ease) both; }
.swipe-end-ic { width: 58px; height: 58px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 6px; }
.swipe-end h4 { margin: 0; font-size: 1.35rem; letter-spacing: -.03em; }
.swipe-end p { color: var(--muted); margin-bottom: 8px; }
.swipe-end .btn { min-height: 46px; padding: 0 20px; font-size: .95rem; }

/* nutrition */
.macro { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.macro-ring { position: relative; width: 170px; aspect-ratio: 1; flex: none; }
.macro-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.macro-ring circle { fill: none; stroke-width: 12; }
.macro-ring .track { stroke: var(--raised); }
.macro-ring .seg { stroke-dasharray: 0 100; transition: stroke-dasharray 1.1s var(--ease), stroke-dashoffset 1.1s var(--ease); }
.seg-p { stroke: var(--protein); } .seg-f { stroke: var(--fat); } .seg-c { stroke: var(--carbs); }
.macro-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.macro-center b { font-size: 2rem; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.macro-center small { color: var(--muted); font-size: .8rem; }
.macro-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; flex: 1; min-width: 150px; }
.macro-legend li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .95rem; }
.macro-legend b { margin-left: auto; color: var(--text); font-variant-numeric: tabular-nums; }
.dot { width: 10px; height: 10px; border-radius: 4px; flex: none; }
.dot.p { background: var(--protein); } .dot.f { background: var(--fat); } .dot.c { background: var(--carbs); }
.day-chips { display: flex; gap: 6px; margin-top: auto; }
.day-chips button { flex: 1; min-width: 0; height: 40px; border-radius: 13px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-weight: 600; font-size: .85rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.day-chips button:hover { border-color: var(--line-2); color: var(--text); }
.day-chips button[aria-selected="true"] { background: var(--lime); color: var(--lime-ink); border-color: transparent; }

/* workout */
.wk { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 16px; margin-top: auto; }
.wk-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.wk-head > span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.wk-head b { color: var(--text); font-size: 1.35rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.wk-live { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 650; color: var(--lime); }
.wk-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: ping 2s infinite; }
.wk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wk-list li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 15px; background: var(--surface); transition: background .3s; }
.wk-list li.current { background: var(--raised); }
.wk-n { color: var(--faint); font-size: .8rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.wk-name { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.wk-name small { display: block; color: var(--muted); font-weight: 450; font-size: .8rem; }
.sets { display: flex; gap: 5px; }
.sets i { width: 22px; height: 22px; border-radius: 8px; border: 1.5px solid var(--line-2); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.sets i.done { background: var(--lime); border-color: var(--lime); transform: scale(1.06); }

/* progress */
.seg-control { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.seg-control button { border: 0; background: transparent; color: var(--muted); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .88rem; cursor: pointer; transition: background .25s, color .25s; }
.seg-control button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.chart { position: relative; margin-top: auto; }
.chart-value { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.chart-value b { font-size: clamp(2.4rem, 4.4vw, 3.4rem); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.chart-value span { color: var(--muted); }
.chart-value em { font-style: normal; margin-left: 10px; padding: 3px 9px; border-radius: 999px; background: var(--lime-soft); color: var(--lime); font-size: .85rem; font-weight: 650; }
.chart-svg { width: 100%; height: 190px; display: block; overflow: visible; }
.chart-grid path { stroke: var(--line); stroke-dasharray: 4 6; fill: none; vector-effect: non-scaling-stroke; }
.chart-line { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart-line.draw { animation: draw 1.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart-area { fill: url(#area); opacity: 0; transition: opacity .8s .5s; }
.chart-area.on { opacity: 1; }
.chart-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); border: 3px solid var(--surface); box-shadow: 0 0 0 6px rgba(163, 255, 104, .2); translate: -50% -50%; opacity: 0; transition: opacity .4s 1.2s; pointer-events: none; }
.chart-dot.on { opacity: 1; }
.chart-x { display: flex; justify-content: space-between; color: var(--faint); font-size: .78rem; margin-top: 8px; }

/* booking */
.book { margin-top: auto; display: grid; gap: 12px; }
.book-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.book-days button { border: 1px solid var(--line); background: var(--bg-2); border-radius: 16px; padding: 9px 0; cursor: pointer; text-align: center; line-height: 1.2; transition: background .2s, border-color .2s, color .2s; color: var(--muted); }
.book-days button b { display: block; font-size: 1.15rem; color: var(--text); letter-spacing: -.03em; }
.book-days button small { font-size: .72rem; }
.book-days button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.book-days button[aria-pressed="true"] b { color: var(--bg); }
.book-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.book-slots button { height: 42px; border-radius: 13px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-weight: 600; font-size: .9rem; font-variant-numeric: tabular-nums; transition: background .2s, color .2s, border-color .2s; }
.book-slots button:hover:not(:disabled) { border-color: var(--lime); }
.book-slots button:disabled { opacity: .3; text-decoration: line-through; cursor: default; }
.book-slots button[aria-pressed="true"] { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.book .btn.sent { background: var(--lime-soft); color: var(--lime); box-shadow: none; }

/* chat */
.chat { display: flex; flex-direction: column; gap: 8px; min-height: 210px; justify-content: flex-end; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: .93rem; line-height: 1.4; animation: pop .45s var(--ease) both; }
.bubble.them { background: var(--raised); border-bottom-left-radius: 6px; align-self: flex-start; }
.bubble.me { background: var(--lime); color: var(--lime-ink); border-bottom-right-radius: 6px; align-self: flex-end; font-weight: 500; }
.bubble.typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.bubble.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; } .bubble.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.consent .ic { color: var(--lime); font-size: 1.25rem; margin-top: 1px; }

/* ---------- catalog ---------- */
.catalog { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.catalog-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.city-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.city-chips button { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 7px 14px; font-size: .86rem; font-weight: 550; color: var(--muted); cursor: pointer; transition: all .2s; }
.city-chips button:hover { color: var(--text); }
.city-chips button[aria-pressed="true"] { background: var(--lime-soft); border-color: rgba(163, 255, 104, .45); color: var(--lime); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { position: relative; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .3s; animation: card-in .6s var(--ease) backwards; animation-delay: var(--d, 0s); }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
@keyframes card-in { from { opacity: 0; transform: translateY(18px); } }
.card .card-cover { position: relative; height: 170px; isolation: isolate; overflow: hidden; }
.card .card-cover .cover { z-index: -1; }
.card .card-cover .cover img { transition: transform .8s var(--ease); }
.card:hover .card-cover .cover img { transform: scale(1.05); }
.card.trainer .card-cover { height: 240px; }
.card .badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: rgba(13, 14, 15, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .74rem; font-weight: 600; }
.card .badge .ic { color: var(--lime); }
.card .rate { position: absolute; top: 12px; right: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(13, 14, 15, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .8rem; font-weight: 650; display: inline-flex; align-items: center; gap: 4px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h4 { margin: 0; font-size: 1.12rem; letter-spacing: -.025em; line-height: 1.25; }
.card-body .sub { color: var(--muted); font-size: .86rem; display: flex; align-items: center; gap: 6px; }
.card-body .chips { margin-top: auto; padding-top: 6px; }
.card-body .chips span { background: var(--raised); backdrop-filter: none; color: #cfd1cb; }
.card-body .price { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); }
.card-body .price b { font-size: 1.1rem; letter-spacing: -.02em; }
.card-body .price small { color: var(--muted); }
.card.skeleton { height: 300px; background: linear-gradient(100deg, var(--surface) 30%, var(--raised) 50%, var(--surface) 70%); background-size: 300% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.catalog-note { color: var(--muted); margin-top: 22px; font-size: .92rem; text-align: center; }

/* ---------- steps ---------- */
.steps-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sticky-head { position: sticky; top: calc(var(--header-h) + 40px); }
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.steps::before { content: ""; position: absolute; left: 39px; top: 40px; bottom: 40px; width: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 39px; top: 40px; width: 2px; height: calc((100% - 80px) * var(--fill, 0)); background: var(--lime); transition: height .2s linear; }
.step { position: relative; z-index: 1; display: flex; gap: 22px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-n { width: 36px; height: 36px; border-radius: 12px; background: var(--raised); color: var(--muted); display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; transition: background .4s, color .4s; }
.step.lit .step-n { background: var(--lime); color: var(--lime-ink); }
.step h3 { font-size: 1.25rem; letter-spacing: -.03em; margin: 5px 0 6px; }
.step p { color: var(--muted); }

/* ---------- faq ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: var(--line-2); background: var(--raised); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); flex: none; transition: background .3s, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--text); translate: -50% -50%; }
.faq summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { background: var(--lime); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--lime-ink); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }

/* ---------- download ---------- */
.download { padding-top: 0; }
.download-panel { position: relative; overflow: hidden; border-radius: 40px; background: var(--lime); color: var(--lime-ink); padding: clamp(32px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center; isolation: isolate; }
.download h2 { margin-top: 12px; }
.download p { max-width: 30rem; font-size: 1.08rem; opacity: .78; margin-bottom: 28px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px 11px 16px; border-radius: 18px; background: var(--lime-ink); color: var(--text); }
.store .ic { font-size: 1.5rem; color: var(--lime); }
.store small { display: block; font-size: .72rem; opacity: .6; line-height: 1.1; }
.store b { font-size: 1.05rem; letter-spacing: -.02em; line-height: 1.2; }
.download-art { position: relative; height: 300px; display: grid; place-items: center; }
.big-mark { width: 170px; height: 170px; border-radius: 48px; background: var(--lime-ink); display: grid; place-items: center; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); animation: float 6s ease-in-out infinite; }
.big-mark svg { width: 104px; height: 104px; fill: var(--lime); }
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(19, 26, 13, .28); z-index: -1; animation: spin 40s linear infinite; }
.orbit.o1 { width: 280px; height: 280px; }
.orbit.o2 { width: 420px; height: 420px; animation-direction: reverse; animation-duration: 60s; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-3deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px)); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-footer nav a { padding: 6px 12px; border-radius: 999px; color: var(--muted); font-size: .92rem; }
.site-footer nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.site-footer small { color: var(--faint); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tile-swipe, .tile-progress { grid-column: span 12; }
  .tile-nutrition, .tile-workout, .tile-booking, .tile-chat { grid-column: span 6; }
  .chip-b { right: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 4px; padding: 90px var(--gutter) 40px; background: rgba(13, 14, 15, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
  .site-nav.open { opacity: 1; visibility: visible; }
  .site-nav a { font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 700; letter-spacing: -.04em; padding: 10px 4px; border-radius: 0; color: var(--text); transform: translateY(16px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease), color .2s; }
  .site-nav a:hover { background: none; color: var(--lime); }
  .site-nav.open a { transform: none; opacity: 1; }
  .site-nav.open a:nth-child(2) { transition-delay: .04s; } .site-nav.open a:nth-child(3) { transition-delay: .08s; }
  .site-nav.open a:nth-child(4) { transition-delay: .12s; } .site-nav.open a:nth-child(5) { transition-delay: .16s; }
  .site-nav .nav-cta { margin: 24px 0 0; justify-content: center; font-size: 1.1rem; letter-spacing: 0; padding: 18px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); }
  .site-nav .nav-cta:hover { color: var(--lime-ink); }
  body.menu-open { overflow: hidden; }

  .hero { min-height: auto; padding-bottom: 60px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { height: 600px; min-height: 0; max-width: 520px; width: 100%; margin-inline: auto; }
  .hero-photo { inset: 0 0 40px 22%; }
  .phone { bottom: 0; }
  .scroll-cue { display: none; }
  .steps-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .sticky-head { position: static; }
  .section-head.row { align-items: flex-start; }
  .catalog-controls { align-items: flex-start; }
  .city-chips { justify-content: flex-start; }
  .download-panel { grid-template-columns: minmax(0, 1fr); }
  .download-art { height: 220px; order: -1; }
  .big-mark { width: 120px; height: 120px; border-radius: 36px; }
  .big-mark svg { width: 72px; height: 72px; }
  .orbit.o1 { width: 200px; height: 200px; } .orbit.o2 { width: 300px; height: 300px; }
}

@media (max-width: 720px) {
  .bento { gap: 12px; }
  .tile-nutrition, .tile-workout, .tile-booking, .tile-chat { grid-column: span 12; }
  .tile-swipe { flex-direction: column; align-items: stretch; min-height: 0; }
  .swipe-area { align-self: center; }
  .catalog-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(78vw, 300px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scrollbar-width: none; }
  .catalog-grid::-webkit-scrollbar { display: none; }
  .catalog-grid .card { scroll-snap-align: start; }
}

@media (max-width: 480px) {
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { height: 490px; }
  .phone { width: 220px; border-radius: 38px; padding: 7px; }
  .phone-screen { border-radius: 31px; padding: 8px 11px 10px; gap: 8px; font-size: 10px; }
  .ph-workout { height: 112px; }
  .ph-row { grid-template-columns: 78px 1fr; }
  .ph-bars { height: 36px; }
  .float-chip { padding: 9px 12px 9px 9px; border-radius: 16px; max-width: 200px; }
  .chip-ic { width: 32px; height: 32px; border-radius: 11px; }
  .float-chip b { font-size: .82rem; }
  .chip-a { top: 4%; right: 0; }
  .chip-b { bottom: 30%; }
  .macro { justify-content: center; }
  .macro-ring { width: 150px; }
  .book-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { padding: 18px; gap: 16px; }
  .steps::before, .steps::after { left: 35px; }
  .faq summary { padding: 18px; font-size: 1rem; }
  .download-panel { border-radius: 30px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (hover: none) { .tile::before { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
