/* fitpayapp.com — FitPay 2.0 design system, refined dark.
   Lime is only earned money and progress. Lavender is points and people. Warm white is the one primary button. */
:root {
  --ease: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.45, .64, 1);
  --ground: #141412; --card: #1a1a17; --raised: #22221e; --line: #2e2d28; --line-strong: #5e5c55;
  --ink: #f4f2ec; --ink-2: #b0ada3; --ink-3: #8f8c83;
  --lime: #b8e986; --lime-soft: #26301c;
  --violet: #b9b0e8; --violet-fill: #5b52a3; --violet-soft: #25233a;
  --sauna: #e8a87c; --sauna-soft: #2e241c; --plunge: #8fb8d8; --plunge-soft: #1c2630;
  --gold: #e3c77a; --warning: #e9c46a; --warning-soft: #2f2a1c; --switch-off: #75736b;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
main { overflow-x: clip; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
a:hover { color: var(--ink-2); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--ink); color: var(--ground); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { max-width: 1264px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: 0 120px; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: .98; font-weight: 700; letter-spacing: -.045em; }
.h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.03; font-weight: 700; letter-spacing: -.04em; }
.h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 32em; }
.body { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-3); }
.money { font-family: var(--rounded); font-variant-numeric: tabular-nums; font-weight: 700; }
/* A count-up paints its passing numbers over the real figure, which stays in the page's text (site.js › tween). */
.counting { position: relative; -webkit-text-fill-color: transparent; }
.counting::after { content: attr(data-shown); content: attr(data-shown) / ""; position: absolute; inset: 0; padding: inherit; text-align: inherit; white-space: nowrap; -webkit-text-fill-color: currentColor; pointer-events: none; }
.earned { color: var(--lime); }
.points { color: var(--violet); }
.stack > * + * { margin-top: var(--gap, 16px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(20, 20, 18, .88); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.lockup img, .lockup svg { width: 34px; height: 34px; }
.lockup span { font: 700 23px/1 var(--rounded); letter-spacing: -.01em; }
.nav { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; }
.nav a { text-decoration: none; padding: 10px 16px; border-radius: 999px; }
.nav a[aria-current="page"] { background: var(--raised); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: opacity .2s, border-color .2s, transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-quiet:hover { border-color: var(--ink-3); }
.btn-primary { background: var(--action, var(--ink)); color: var(--ground); }
.btn-primary:hover { color: var(--ground); opacity: .88; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px)); background: var(--raised); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 8px 24px #00000080; }
.menu-panel a { display: block; padding: 14px 12px; border-radius: 10px; text-decoration: none; font-size: 17px; }
.menu-panel a:hover { background: var(--card); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 4px; }
@media (max-width: 880px) {
  .nav { display: none; }
  .menu { display: block; }
  .header-actions .btn { min-height: 40px; padding: 0 14px; }
}

/* Apple's official "Download on the App Store" badge (static/img/app-store-badge.svg, from Apple's marketing tools).
   Use it unmodified, at least 40px tall, with clear space around it. */
.appstore { display: inline-block; line-height: 0; border-radius: 9px; }
.appstore img { width: 162px; height: 54px; }
.qr { display: flex; align-items: center; gap: 14px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 14px; }
.qr img { width: 72px; height: 72px; border-radius: 8px; }
.qr p { font-size: 14px; line-height: 1.4; color: var(--ink-2); max-width: 11em; }
@media (hover: none) and (pointer: coarse) { .qr { display: none; } }

/* Hero */
/* The week (Dewalt's pick, 2026-11-18): the headline, then Monday, all week and Friday as a timeline of real screens. */
.hero { padding-block: 56px 112px; }
.hero-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 64px; }
.hero-copy { flex: 0 1 auto; min-width: 0; }
.hero .h1 { max-width: 5.9em; } /* breaks after "yourself" */
.hero-side { flex: 0 1 470px; min-width: 0; }
.hero-side .lede { font-size: clamp(17px, 1.5vw, 19px); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.week { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; }
.week:focus-visible { outline-offset: 8px; }
/* The cycle so far: lime to just past the middle, the rest still to come. */
.week::before { content: ""; position: absolute; left: 16px; right: 16px; top: 15px; height: 2px; background: linear-gradient(90deg, var(--lime) 0 68%, var(--line) 68%); }
.week li { position: relative; min-width: 0; }
.week .dot { position: relative; width: 32px; height: 32px; border-radius: 999px; background: var(--ground); border: 2px solid var(--lime); display: grid; place-items: center; }
.week .dot::after { content: ""; width: 12px; height: 12px; border-radius: 999px; background: var(--lime); }
.week li:last-child .dot { border-color: var(--line-strong); }
.week li:last-child .dot::after { background: var(--ink); }
.week .when { margin-top: 16px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.week .what { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 700 22px/1.25 var(--display); letter-spacing: -.02em; }
.week .what .money { font-size: 19px; letter-spacing: 0; }
.week .shot { margin-top: 20px; height: 340px; overflow: hidden; padding: 8px 8px 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 36px 36px 0 0; background: #0e0e0d; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.week .shot img { width: 100%; border-radius: 29px 29px 0 0; }
@media (max-width: 760px) {
  .hero { padding-block: 28px 72px; }
  /* On a phone the week swipes sideways: one day and a peek of the next. */
  .week { grid-template-columns: repeat(3, 80%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 40px; gap: 16px; }
  .week::-webkit-scrollbar { display: none; }
  .week::before { right: auto; width: calc(240% + 32px - 32px); }
  .week li { scroll-snap-align: start; }
  .week .shot { height: 300px; }
}
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--violet); flex: none; }

/* Phone frame around a real screenshot */
.phone { width: 320px; max-width: 100%; padding: 10px; border-radius: 52px; background: #0e0e0d; border: 1px solid var(--line); box-shadow: 0 30px 80px #00000080; }
.phone img { width: 100%; aspect-ratio: 300 / 620; object-fit: cover; object-position: top; border-radius: 42px; }
.phone-sm { width: 260px; border-radius: 44px; padding: 8px; }
.phone-sm img { border-radius: 36px; }

/* Panels and cards */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 48px); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.split { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }

/* Calculator */
.calc { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.calc-controls { flex: 1 1 520px; min-width: 0; }
.calc-result { flex: 1 1 340px; min-width: 0; background: var(--raised); border-radius: 20px; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; justify-content: center; }
.calc fieldset { border: 0; padding: 0; margin: 28px 0 0; }
.calc legend { padding: 0; font-size: 15px; font-weight: 600; }
.seg { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-width: 76px; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--raised); font: 600 17px var(--rounded); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.seg button:active { transform: scale(.97); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.switch { margin-top: 28px; display: flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; min-height: 44px; }
.switch .track { flex: none; width: 51px; height: 31px; border-radius: 999px; background: var(--switch-off); position: relative; transition: background .2s; }
.switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 999px; background: var(--ink); box-shadow: 0 2px 4px #00000040; transition: left .2s; }
.switch[aria-checked="true"] .track { background: var(--lime); }
.switch[aria-checked="true"] .track::after { left: 22px; }
.big-money { margin-top: 10px; font: 700 clamp(64px, 8vw, 88px)/1 var(--rounded); font-variant-numeric: tabular-nums; letter-spacing: -.03em; color: var(--lime); }
.chips-wrap { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease), opacity .3s, visibility 0s; }
.chips { min-height: 0; overflow: hidden; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.chip-sauna { background: var(--sauna-soft); color: var(--sauna); }
.chip-plunge { background: var(--plunge-soft); color: var(--plunge); }
.chip-pace { background: var(--lime-soft); color: var(--lime); }
.chip-behind { background: var(--warning-soft); color: var(--warning); }
[data-extras="false"] .chips-wrap { grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .45s var(--ease), opacity .2s, visibility 0s .45s; }

/* Real us / AI version tags */
.tagged { position: relative; margin: 0; }
.tagged img, .tagged video { width: 100%; object-fit: cover; border-radius: 18px; background: var(--raised); }
.tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tag-real { background: var(--ink); color: var(--ground); }
.tag-ai { background: var(--ground); color: var(--ink); border: 1px solid var(--line-strong); }
.tagged figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.pairs { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pairs img, .pairs video { aspect-ratio: 3 / 5; }
@media (max-width: 900px) { .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 17px; }
.checks svg { flex: none; margin-top: 3px; }

/* Coach chat */
.chat { position: relative; display: flex; flex-direction: column; gap: 14px; }
.bubble { background: var(--raised); border-radius: 16px; padding: 12px 16px; font-size: 16px; line-height: 1.5; }
.bubble-who { display: block; font-size: 13px; font-weight: 600; color: var(--violet); }
.from-coach { display: flex; gap: 12px; align-items: flex-start; }
.from-coach img { width: 36px; height: 36px; border-radius: 999px; flex: none; }
.from-me { align-self: flex-end; max-width: 78%; background: var(--violet-fill); color: #fff; border-radius: 16px; padding: 12px 16px; font-size: 16px; }
.moves { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.moves div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 15px; }
.moves span:last-child { color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* The story: three app clips, then the nine screens in the App Store story's order, sideways */
.story-head { max-width: 640px; }
.clips { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.clip { margin: 0; }
.clip .phone { width: 280px; margin-inline: auto; }
.clip video { display: block; width: 100%; aspect-ratio: 420 / 766; object-fit: cover; object-position: top; border-radius: 42px; background: #0e0e0d; }
.clip figcaption { max-width: 280px; margin: 20px auto 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.clip figcaption b { display: block; color: var(--ink); font-size: 18px; letter-spacing: -.01em; }
.reel-head { margin-top: 96px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.reel-nav { display: flex; gap: 8px; }
.reel-btn { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--raised); border: 1px solid var(--line); cursor: pointer; transition: opacity .2s, border-color .2s; }
.reel-btn:hover { border-color: var(--ink-3); }
.reel-btn:disabled { opacity: .35; cursor: default; }
.reel { list-style: none; margin: 28px 0 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel:focus-visible { outline-offset: 6px; }
.reel li { scroll-snap-align: start; display: flex; flex-direction: column; }
.reel .n { font: 700 13px/1 var(--rounded); letter-spacing: .1em; color: var(--ink-3); }
.reel h3 { margin-top: 10px; font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.reel .body { margin-top: 8px; font-size: 15px; line-height: 1.5; flex: 1; }
/* The bottom of each screen (the app's floating dial) is cropped off. */
.reel .shot { margin-top: 18px; padding: 7px; border-radius: 36px; border: 1px solid var(--line); background: #0e0e0d; }
.reel .shot img { width: 100%; aspect-ratio: 660 / 1250; object-fit: cover; object-position: top; border-radius: 29px; }
@media (max-width: 880px) {
  .clips { grid-template-columns: repeat(3, 76%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 16px; }
  .clips::-webkit-scrollbar { display: none; }
  .clip { scroll-snap-align: start; }
  .clip .phone { width: 100%; }
  .reel-head { margin-top: 72px; }
  .reel { grid-auto-columns: 74%; gap: 16px; }
}

/* Ledger (an example week) */
.ledger { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px 28px 24px; max-width: 460px; }
.ledger-row { display: flex; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ledger-row .day { width: 40px; flex: none; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ledger-row .what { flex: 1; font-size: 16px; }
.ledger-row .what span { color: var(--ink-3); }
.ledger-row .amt { font: 600 17px var(--rounded); font-variant-numeric: tabular-nums; }
.payday { margin-top: 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.payday .money { font-size: clamp(40px, 5vw, 52px); letter-spacing: -.02em; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.plan-lead { border-color: var(--line-strong); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-head h2, .plan-head h3 { font-size: 22px; font-weight: 700; }
.for { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--raised); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.for-two { background: var(--violet-soft); color: var(--violet); }
.price { margin-top: 20px; }
.price .money { font-size: 48px; letter-spacing: -.02em; }
.price .per { font-size: 16px; color: var(--ink-2); }
.plan .sub { margin-top: 4px; min-height: 22px; font-size: 15px; color: var(--ink-2); }
.plan .btn { margin-top: 24px; min-height: 52px; font-size: 16px; }
.plan ul { list-style: none; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.plan li svg { flex: none; margin-top: 2px; }
.price > span, .sub > span { display: inline-block; }
[data-period="monthly"] .y, [data-period="yearly"] .m { display: none; }
.period { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.period button { position: relative; min-height: 44px; min-width: 120px; padding: 0 20px; border-radius: 10px; border: 0; background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 600; cursor: pointer; transition: color .3s; }
.period button[aria-pressed="true"] { color: var(--ground); }
/* The white pill slides to the chosen period. */
.period::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px; background: var(--ink); transition: translate .5s var(--spring); }
.period:has([data-set-period="yearly"][aria-pressed="true"])::before { translate: 100% 0; }
@supports not selector(:has(*)) { .period::before { display: none; } .period button[aria-pressed="true"] { background: var(--ink); } }

/* Tables */
.table-box { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { padding: 15px 12px 15px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
tbody th { font-weight: 400; }
td.no { color: var(--ink-3); }
td.num { text-align: right; font: 700 17px var(--rounded); color: var(--lime); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 600; padding: 8px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 20px; max-width: 46em; color: var(--ink-2); line-height: 1.6; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }

/* Steps (How it works) */
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: flex; flex-wrap: wrap; gap: 24px 64px; padding-block: 48px; border-top: 1px solid var(--line); }
.step-n { flex: 0 0 64px; font: 700 40px/1 var(--display); color: var(--ink-3); }
.step-body { flex: 1 1 420px; min-width: 0; }
.step-body h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
.step-body p { margin-top: 14px; max-width: 36em; }
.note { margin-top: 18px; display: inline-block; background: var(--raised); border-radius: 12px; padding: 12px 16px; font-size: 16px; }
.step-phone { flex: 0 0 220px; }
.step-phone .phone { width: 220px; padding: 7px; border-radius: 38px; box-shadow: none; }
.step-phone .phone img { border-radius: 31px; }
@media (max-width: 720px) { .step-phone { flex-basis: 100%; display: flex; justify-content: center; } }

/* Long text (Privacy, Terms) */
.prose { max-width: 46em; }
.prose h2 { font-size: 24px; font-weight: 700; margin: 48px 0 12px; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.65; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 10px; }
.prose strong { color: var(--ink); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; padding-block: 48px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 64px; font-size: 15px; }
.footer-cols div { display: grid; gap: 12px; align-content: start; }
.footer-cols a { min-height: 24px; }
.footer-base { padding-bottom: 40px; font-size: 13px; color: var(--ink-3); }

/* Motion ------------------------------------------------------------------------------------------------------
   Two levels, on <html data-motion>:
     calm   things arrive once as you scroll, then answer you (the week draws in, rolling numbers, the story's clips
            play while on screen, the chat)
     lively calm, plus motion that keeps going (the headline rises word by word, the home-gym photo drifts as you
            scroll)
   Content is hidden only under .js, which the head script sets and takes away again if site.js hasn't started
   within 3 s. Reduce Motion turns all of it off. */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.typing { position: absolute; left: 28px; right: 28px; }
.dots { display: inline-flex; gap: 5px; padding: 7px 2px; }
.dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--ink-3); animation: dot 1.1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.read-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--lime); transform-origin: left; transform: scaleX(var(--p, 0)); }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }

  /* The header mark's ring draws in on the first page of a visit. */
  .js.first .mark-arc { animation: mark-arc 1.6s var(--ease) .25s both; }
  @keyframes mark-arc { from { stroke-dashoffset: 1500; } to { stroke-dashoffset: 0; } }

  /* Arrive as you scroll (site.js adds .in) */
  .js [data-reveal], .js [data-stagger] > * { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].in, .js [data-stagger].in > * { opacity: 1; transform: none; }
  /* Apple's App Store badge never moves: the row that holds it is simply there. */
  .js [data-stagger] > .hero-cta { opacity: 1; transform: none; }

  /* Hero: the headline rises, then the week plays out: the line draws from Monday, each day's dot pops as it
     arrives, and its screen rises in after it. */
  .js .hero-side[data-stagger] > * { transition-delay: calc(var(--d, 0s) + .35s); }
  .js .week[data-stagger] > * { transition-delay: calc(var(--d, 0s) * 2.2 + .5s); }
  .js .week::before { transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .55s; }
  .js .week.in::before { transform: none; }
  .js .week .dot { transform: scale(.4); transition: transform .7s var(--spring); transition-delay: inherit; }
  .js .week.in .dot { transform: none; }

  /* Lively: the headline rises word by word */
  .js[data-motion="lively"] .hero .h1:not(.words) { visibility: hidden; }
  .js[data-motion="lively"] .hero-copy[data-stagger] > .h1.words { opacity: 1; transform: none; }
  .h1.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .03em .16em; margin: -.08em -.03em -.16em; }
  .h1.words .w > span { display: inline-block; transform: translateY(115%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--w) * 85ms + .1s); }
  .hero-copy.in .h1.words .w > span { transform: none; }

  /* Check marks draw themselves */
  .js [data-ticks] path { stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .7s var(--ease); transition-delay: calc(var(--d, 0s) + .35s); }
  .js [data-ticks].in path { stroke-dashoffset: 0; }

  /* The coach chat plays out (site.js adds .wait, then .said to each message) */
  .chat.wait > * { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .chat.wait > .said { opacity: 1; transform: none; }
  .chat.wait .moves > div { opacity: 0; transform: translateX(-8px); transition: opacity .45s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
  .chat.wait .said .moves > div { opacity: 1; transform: none; }


  /* The example week fills in, then Payday counts up */
  .js [data-ledger] .ledger-row { opacity: 0; transform: translateX(-14px); transition: opacity .5s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-ledger].in .ledger-row { opacity: 1; transform: none; }
  .js [data-ledger] .payday { opacity: 0; transition: opacity .6s var(--ease) .9s; }
  .js [data-ledger].in .payday { opacity: 1; }
  .glow { animation: glow 1.8s var(--ease); }
  @keyframes glow { 30% { text-shadow: 0 0 30px rgba(184, 233, 134, .55); } }

  /* Lively: the real home-gym photo drifts as you scroll */
  @supports (animation-timeline: view()) {
    [data-motion="lively"] .photo { overflow: hidden; border-radius: 18px; }
    [data-motion="lively"] .photo img { animation: drift linear both; animation-timeline: view(); }
    @keyframes drift { from { transform: scale(1.12) translateY(-4%); } to { transform: scale(1.12) translateY(4%); } }
  }
}
@media print { .js [data-reveal], .js [data-stagger] > *, .chat.wait > * { opacity: 1 !important; transform: none !important; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Preview only: compare the two motion levels. Not on fitpayapp.com. */
.motion-switch { position: fixed; left: 16px; bottom: 16px; z-index: 20; display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 14px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line-strong); box-shadow: 0 8px 24px #00000080; font-size: 13px; color: var(--ink-2); }
.motion-switch button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 600; cursor: pointer; }
.motion-switch button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
