/* ==========================================================================
   reptyl.co.uk. One stylesheet, mobile first (ported from the approved
   prototype, reptyl-proto/css/site.css; extra rules for guides, privacy,
   support and 404 at the end).
   Fonts are self-hosted (public/assets/reptyl/fonts/, SIL OFL 1.1):
   Archivo variable italic (wdth 62–125, wght 100–900) and Inter variable.
   ========================================================================== */

@font-face {
  font-family: 'Archivo'; font-style: italic; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-wdth-italic.woff2) format('woff2-variations'), url(../fonts/archivo-latin-wdth-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Archivo'; font-style: italic; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext-wdth-italic.woff2) format('woff2-variations'), url(../fonts/archivo-latin-ext-wdth-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/inter-latin-wght-normal.woff2) format('woff2-variations'), url(../fonts/inter-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations'), url(../fonts/inter-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  --black: #000;
  --s1: #0E1216;
  --s2: #1B2431;
  --line: #1E293B;
  --lime: #DEFA51;
  --navy: #0F172A;
  --t1: #fff;
  --t2: #CBD5E1;
  --t3: #AEB9C8; /* brighter for AA contrast on black */
  --slate: #334155;
  --dim: #64748B;

  --app: var(--lime);              /* per-app bar colour */
  --app-2: var(--lime);
  --bar: linear-gradient(90deg, var(--slate), var(--app));

  --skew: -12deg;
  --cut: clamp(36px, 6.5vw, 112px);
  --gutter: 16px;
  --max: 1440px;
  --head-h: 64px;

  /* The app's own type: SF Pro on Apple devices; self-hosted Inter stands in elsewhere. */
  --f-display: -apple-system, "SF Pro Display", BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);

  color-scheme: dark;
}
html[data-app="water"] { --app: #7DD3FC; --app-2: #7DD3FC; }
html[data-app="scoreboard"] { --app: #4ADE80; --app-2: #FB923C; --bar: linear-gradient(90deg, #4ADE80, #FB923C); }

@media (min-width: 768px) { :root { --gutter: 32px; --head-h: 72px; } }
@media (min-width: 1100px) { :root { --gutter: 56px; --head-h: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 24px); }
body {
  margin: 0;
  background: var(--black);
  color: var(--t2);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--lime); color: var(--navy); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.display {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 78%;
  text-transform: uppercase;
  color: var(--t1);
  line-height: .86;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--lime); }
.display--hero { font-size: clamp(64px, 17vw, 96px); font-stretch: 74%; }
.display--app  { font-size: clamp(56px, 15vw, 88px); font-stretch: 74%; }
.display--xl   { font-size: clamp(64px, 17vw, 104px); font-stretch: 72%; }
.display--l    { font-size: clamp(48px, 12.5vw, 72px); }
.display--s    { font-size: 26px; line-height: .95; font-stretch: 82%; }
.display span, .display em { display: block; }

@media (min-width: 768px) {
  .display--hero { font-size: clamp(88px, 11vw, 132px); }
  .display--app  { font-size: clamp(72px, 8.6vw, 124px); }
  .display--xl   { font-size: clamp(96px, 13vw, 220px); }
  .display--l    { font-size: clamp(72px, 8.4vw, 132px); }
  .display--s    { font-size: 32px; }
}
@media (min-width: 1100px) {
  .display--hero { font-size: clamp(100px, 8.6vw, 156px); font-stretch: 68%; }
}

.lede { font-size: 19px; line-height: 1.5; color: var(--t2); max-width: 34ch; }
@media (min-width: 768px) { .lede { font-size: 21px; } }

/* Eyebrow: section number, a slanted motif bar, spaced caps. */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 600 12px/1 var(--f-body);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 22px;
}
.eyebrow b {
  font: italic 900 15px/1 var(--f-display); letter-spacing: 0; color: var(--lime);
}
.eyebrow i {
  width: 40px; height: 6px; background: var(--bar);
  transform: skewX(var(--skew)); flex: none;
}
@media (min-width: 768px) { .eyebrow { font-size: 13px; margin-bottom: 28px; } }

/* ---------- buttons and tabs (slanted) ---------- */
.btn, .tab {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 100%;
  text-transform: uppercase; letter-spacing: .02em; white-space: nowrap;
  cursor: pointer; border: 0; background: none;
}
.btn::before, .tab::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  transform: skewX(var(--skew));
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease);
}
.btn { min-height: 56px; padding: 0 30px; font-size: 16px; color: var(--navy); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 13px; }
.btn--primary::before { background: var(--lime); }
.btn--primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--skew));
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  background-size: 250% 100%; background-position: 120% 0; transition: background-position .6s var(--ease);
}
.btn--primary:hover::after { background-position: -20% 0; }
.btn--primary:hover::before { transform: skewX(var(--skew)) translateX(3px); }
.btn--ghost { color: var(--t1); }
.btn--ghost::before { border: 1.5px solid rgba(255,255,255,.34); }
.btn--ghost:hover::before { border-color: var(--lime); background: rgba(222,250,81,.06); }
.btn:focus-visible { outline: none; }
.btn:focus-visible::before { box-shadow: 0 0 0 2px var(--black), 0 0 0 4px var(--lime); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
@media (max-width: 420px) {
  .cta-row .btn { flex: 1 1 100%; }
}

.tab { padding: 0 14px; height: 36px; font-size: 13px; color: var(--t2); letter-spacing: .04em; }
/* nav links: quiet, upright, spaced; the heavy italic stays for headlines and buttons */
.tab { font-family: var(--f-body); font-style: normal; font-weight: 500; font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.72); transition: color .2s var(--ease); }
.tab:hover { color: #fff; }
.tab:hover::before { border-color: transparent; background: none; }
.tab::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.tab:hover::after { transform: scaleX(1); }
.tab[aria-current="page"] { color: #fff; }
.tab[aria-current="page"]::after { left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--lime); transform: scaleX(1); }
.tab::before { border: 1px solid transparent; }
.tab:hover { color: var(--t1); }
.tab:hover::before { border-color: var(--slate); background: rgba(27,36,49,.6); }
.tab[aria-current="page"] { color: var(--lime); }
.tab[aria-current="page"]::before { border-color: transparent; background: none; }
.tab[aria-current="page"]::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 4px;
  background: var(--bar); transform: skewX(var(--skew));
}

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font: italic 900 14px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; color: var(--t1);
}
.link::after {
  content: ''; width: 26px; height: 6px; background: var(--bar);
  transform: skewX(var(--skew)); transition: width .35s var(--ease);
}
a:hover .link::after, .link:hover::after { width: 48px; }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s var(--ease), backdrop-filter .3s;
}
.site-head::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(0,0,0,.84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: opacity .3s var(--ease);
}
.site-head.is-scrolled::before, .menu-open .site-head::before { opacity: 1; }
.head-bar {
  height: var(--head-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
}
/* The app wordmark (ios/Shared/Components.swift Wordmark): SF Pro Bold Italic, lime REP + white TYL.
   Off Apple systems the self-hosted Inter stands in, slanted by the browser. */
.wordmark {
  font-family: -apple-system, "SF Pro Display", "SF Pro Text", BlinkMacSystemFont, "Inter", sans-serif;
  font-weight: 700; font-style: italic; font-size: 24px; line-height: 1; letter-spacing: normal;
  font-synthesis: style; color: var(--t1); margin-right: auto;
}
@media (min-width: 1100px) { .wordmark { font-size: 28px; } }
.wordmark span { color: var(--lime); }
.app-tabs ul { display: flex; gap: 2px; }
.head-bar > .app-tabs { display: none; }
.head-cta { display: none; }
.menu-btn {
  width: 44px; height: 44px; border: 0; background: none; color: var(--t1); cursor: pointer;
  display: grid; place-content: center; gap: 7px; margin-right: -8px;
}
.menu-btn i { display: block; width: 24px; height: 3px; background: currentColor; transform: skewX(var(--skew)); transition: transform .3s var(--ease); }
.menu-btn i:last-of-type { width: 16px; justify-self: end; }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { width: 24px; justify-self: center; transform: translateY(-5px) rotate(-45deg); }
.menu-open .app-tabs--strip { display: none; }

.app-tabs--strip { padding: 0 var(--gutter) 10px; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.app-tabs--strip::-webkit-scrollbar { display: none; }
.app-tabs--strip ul { width: max-content; padding: 0 6px; }
.site-head--app::before { opacity: 1; }

.head-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; overflow: hidden; }
.head-progress i { display: block; height: 100%; width: 100%; background: var(--bar); transform-origin: 0 50%; transform: scaleX(0); }

@media (min-width: 1100px) {
  .head-bar > .app-tabs { display: block; }
  .head-cta { display: inline-flex; }
  .menu-btn { display: none; }
  .app-tabs--strip { display: none; }
  .site-head--app::before { opacity: 0; }
  .site-head--app.is-scrolled::before { opacity: 1; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--black);
  padding: calc(var(--head-h) + 20px) var(--gutter) 32px;
  overflow-y: auto; display: flex; flex-direction: column; gap: 32px;
}
.menu[hidden] { display: none; }
.menu-apps li { border-top: 1px solid var(--line); }
.menu-apps a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; }
.menu-apps b { font: italic 900 40px/.9 var(--f-display); font-stretch: 78%; color: var(--t1); text-transform: uppercase; }
.menu-apps span { font-size: 14px; color: var(--t3); text-align: right; }
.menu-apps a[aria-current] b { color: var(--lime); }
.menu-links { display: flex; gap: 24px; font-weight: 600; color: var(--t2); margin-top: auto; }
.menu-open { overflow: hidden; }

/* ---------- section cuts ---------- */
.cut {
  position: relative; z-index: 1;
  margin-top: calc(var(--cut) * -1);
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
  padding-top: calc(var(--cut) + 72px);
}
@media (min-width: 1100px) { .cut { padding-top: calc(var(--cut) + 112px); } }

/* ---------- progress bars (motif) ---------- */
.segbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; height: 10px; }
.segbar i { position: relative; background: var(--s2); transform: skewX(var(--skew)); overflow: hidden; }
.segbar i::after {
  content: ''; position: absolute; inset: 0; background: var(--bar);
  background-size: calc(var(--n, 3) * 100% + (var(--n, 3) - 1) * 10px) 100%; background-position: var(--p, 0) 0;
  transform-origin: 0 50%;
}

/* ==========================================================================
   HOME BAND: a short letterbox hero (deadlift photo, headline, streaks) so the
   line-up stage below starts in the first screen.
   ========================================================================== */
.band {
  --cut: 40px;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(45svh, 360px);
  display: flex; align-items: flex-end;
  background: #000;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
.band::after, .app-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, var(--slate) 0%, var(--app) 100%);
  clip-path: polygon(0 calc(100% - 5px), 100% calc(100% - var(--cut) - 5px), 100% calc(100% - var(--cut)), 0 100%);
}
@media (max-width: 1099px) { .app-hero::after { display: none; } }
.band-media { position: absolute; inset: -8% 0 -4% 0; z-index: -3; will-change: transform; }
.band-img { width: 100%; height: 100%; object-fit: cover; }
.band-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 34%),
    linear-gradient(0deg, rgba(0,0,0,.92) 8%, rgba(0,0,0,.55) 46%, rgba(0,0,0,.1) 80%);
}
.band-inner {
  position: relative; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: calc(var(--head-h) + 12px) var(--gutter) calc(var(--cut) + 14px);
}
/* eyebrow + subhead share the row above the headline (stacked on phones). The
   subhead column is a fixed 320px-40ch track inside the container, so it can
   never be squeezed or pushed past the right edge; the headline gets the full width. */
.band-top { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.band .eyebrow { margin: 0; text-shadow: 0 1px 12px #000; }
.band .display--hero { font-size: clamp(44px, 11.5vw, 72px); text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.band-sub { margin: 0; font-size: 16px; max-width: 42ch; color: var(--t2); text-shadow: 0 1px 14px rgba(0,0,0,.6); }
@media (min-width: 768px) {
  .band-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 40ch); align-items: end; column-gap: 48px; margin-bottom: 22px; }
  .band-sub { justify-self: end; max-width: 40ch; text-align: right; }
}

.hero-gl {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1;
  pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity 1.4s var(--ease);
  -webkit-mask-image: linear-gradient(100deg, transparent 18%, #000 52%);
          mask-image: linear-gradient(100deg, transparent 18%, #000 52%);
}
.gl-on .hero-gl { opacity: 1; }
/* static fallback when WebGL or motion is not available */
.hero-streaks { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.hero-streaks i {
  position: absolute; height: 3px; background: linear-gradient(90deg, rgba(51,65,85,0), #334155 40%, var(--lime));
  transform: rotate(-12deg); opacity: .5;
}
.hero-streaks i:nth-child(1) { width: 34%; right: 4%; top: 22%; }
.hero-streaks i:nth-child(2) { width: 22%; right: 18%; top: 30%; height: 2px; opacity: .35; }
.hero-streaks i:nth-child(3) { width: 40%; right: -6%; top: 46%; height: 1px; opacity: .45; }
.hero-streaks i:nth-child(4) { width: 18%; right: 30%; top: 15%; height: 1px; opacity: .3; }
.hero-streaks i:nth-child(5) { width: 28%; right: 8%; top: 60%; height: 2px; opacity: .25; }
.gl-on .hero-streaks { display: none; }

@media (min-width: 1100px) {
  .band { --cut: 52px; min-height: clamp(300px, 38svh, 420px); }
  .band-img { object-position: 34% 38% !important; }
  .band-shade {
    background:
      linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 36%),
      linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 46%, rgba(0,0,0,.15) 70%, rgba(0,0,0,.55) 100%),
      linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 50%);
  }
  .band-inner { padding-bottom: calc(var(--cut) + 6px); }
  .band-top { grid-template-columns: minmax(0, 1fr) minmax(340px, 40ch); margin-bottom: 18px; }
  /* one line when it fits; otherwise a clean break between the plain and the lime part */
  .band .display--hero { font-size: clamp(76px, 5.6vw, 112px); line-height: .84; }
  .band .display--hero span, .band .display--hero em { display: inline-block; }
  .band-sub { font-size: 18px; }
}

/* ==========================================================================
   PHONE FRAME
   ========================================================================== */
.phone {
  --pw: 280px;
  position: relative;
  width: var(--pw);
  padding: calc(var(--pw) * .032);
  border-radius: calc(var(--pw) * .16);
  background: linear-gradient(150deg, #3A4554 0%, #12171E 18%, #07090C 60%, #232C39 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.10),
    inset 0 0 0 calc(var(--pw) * .012) #0A0D11,
    0 50px 90px -30px rgba(0,0,0,.9),
    0 0 0 1px #000;
}
.phone::before, .phone::after {   /* side buttons */
  content: ''; position: absolute; width: 3px; border-radius: 2px; background: #2A3442;
}
.phone::before { left: -2px; top: 22%; height: 9%; box-shadow: 0 calc(var(--pw) * .2) 0 #2A3442; }
.phone::after  { right: -2px; top: 28%; height: 14%; }
.phone-screen {
  position: relative; overflow: hidden; background: #000;
  aspect-ratio: 780 / 1688;
  border-radius: calc(var(--pw) * .13);
}
.phone-screen video { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   LINE-UP STAGE (home)
   Three forms, chosen by media query so the first paint is already right:
     list  – reduced motion or no JS: a plain stacked list, static photos
     pin   – desktop: pinned stage, ~100vh of scroll per app (reptyl.js)
     swipe – phones and tablets: full-screen swipe carousel with snap
   ========================================================================== */
.lu {
  --lu-accent: var(--lime); --lu-accent-2: var(--lime);
  --wipe: cubic-bezier(.77, 0, .18, 1);
  --reel: cubic-bezier(.22, 1, .36, 1);
  position: relative; padding: 48px 0 120px;
}
.lu-pin { position: relative; }
.sec-head { margin-bottom: 48px; }
.sec-head .lede { margin-top: 22px; }
@media (min-width: 1100px) { .sec-head { margin-bottom: 80px; } }
.app-name { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 76%; line-height: .86; color: var(--t1); text-transform: uppercase; }
.app-tag { font-weight: 700; font-size: 18px; color: var(--t1); }
.app-line { font-size: 16px; color: var(--t2); max-width: 36ch; }
.app-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.app-price { font-size: 14px; font-weight: 600; color: var(--t3); }
.lu-head { max-width: var(--max); margin: 0 auto 28px; padding: 0 var(--gutter); }
.lu-head .eyebrow { margin-bottom: 12px; }
.lu-sub { font-size: 16px; color: var(--t3); max-width: 40ch; }
.lu-gl, .lu-sweep, .lu-rail { display: none; }

.lu-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 72px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.lu-app { position: relative; }
.lu-photo {
  position: relative; overflow: hidden; background: var(--s1);
  height: min(62vw, 560px); min-height: 280px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
}
.lu-photo-in, .lu-photo img { width: 100%; height: 100%; }
.lu-photo img { object-fit: cover; }
.lu-photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55)), linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 45%);
}
.lu-phone { position: absolute; right: 16px; top: 20px; z-index: 2; }
.lu-phone .phone { --pw: min(34vw, 176px); }
.lu-copy { position: relative; padding-top: 22px; }
.lu-name { font-size: clamp(52px, 15vw, 96px); white-space: nowrap; }
.lu-jump {
  all: unset; cursor: pointer; display: block; color: inherit;
  font: inherit; font-stretch: inherit; text-transform: inherit; letter-spacing: inherit; line-height: inherit;
}
.lu-jump:focus-visible { outline: 2px solid var(--lime); outline-offset: 6px; }
.lu-name-in { display: block; }
.lu-detail { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.lu-count { font: 600 12px/1 var(--f-body); letter-spacing: .18em; color: var(--t3); }
.lu-count b { font: italic 900 15px/1 var(--f-display); letter-spacing: 0; color: var(--accent, var(--lime)); }
.lu-detail .app-foot { margin-top: 6px; padding-top: 0; }
.lu-detail .link::after { background: linear-gradient(90deg, var(--slate), var(--accent)); }
.lu-app[style*="--accent-2:#FB923C"] .lu-detail .link::after { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

@media (min-width: 1100px) {
  .lu-app { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 5vw; align-items: center; }
  .lu-photo { height: min(70svh, 680px); clip-path: polygon(0 0, 100% 0, calc(100% - 64px) 100%, 0 100%); }
  .lu-phone { right: auto; left: calc(58.33% - 330px); top: 50%; transform: translateY(-50%); }
  .lu-phone .phone { --pw: min(260px, calc(70svh * .4)); }
  .lu-name { font-size: clamp(80px, 7vw, 120px); }
}

/* ---------- desktop: pinned stage ---------- */
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .js .lu {
    --pin-h: calc(100svh - var(--head-h));
    --k: calc(var(--pin-h) * .2126);                 /* the 12° slant over the stage height */
    --photo-w: 58vw;
    --col: calc(var(--photo-w) + 3vw);
    --F: clamp(96px, 8.2vw, 150px);                  /* active name size */
    --sm: .3;                                        /* inactive name scale */
    --row: calc(var(--F) * .86 * var(--sm) + 14px);
    --pw-px: min(292px, calc(var(--pin-h) * .38));   /* phone width, as .lu-phone */
    --slot: max(128px, calc(var(--pin-h) / 2 - var(--pw-px) * 1.1));   /* the title block starts level with the phone's top */
    --detail-h: 178px;
    --next: calc(var(--F) * .9 + 26px + var(--detail-h) + 30px);
    height: calc(var(--pin-h) + (var(--n) - .5) * 100svh);
    padding: 0;
  }
  .js .lu-pin { position: sticky; top: var(--head-h); height: var(--pin-h); overflow: hidden; }
  .js .lu-head {
    position: absolute; z-index: 4; left: var(--col); right: var(--gutter); top: 40px; margin: 0; padding: 0;
    display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  }
  .js .lu-head .eyebrow { margin: 0; white-space: nowrap; }
  .js .lu-sub { font-size: 15px; text-align: right; max-width: 30ch; }
  .js .lu-list { position: absolute; inset: 0; display: block; max-width: none; margin: 0; padding: 0; }
  .js .lu-app { position: absolute; inset: 0; display: block; pointer-events: none; }

  /* photo: a diagonal wipe on the 12° angle. Before / active / after share the
     same four points, so the outgoing and incoming edges move as one. */
  .js .lu-photo {
    position: absolute; left: 0; top: 0; bottom: 0; width: var(--photo-w); height: auto; min-height: 0;
    clip-path: polygon(0 0, 0 0, calc(0px - var(--k)) 100%, calc(0px - var(--k)) 100%);
    transition: clip-path 1.05s var(--wipe);
  }
  .js .lu-app.is-before .lu-photo { clip-path: polygon(100% 0, 100% 0, calc(100% - var(--k)) 100%, calc(100% - var(--k)) 100%); }
  .js .lu-app.is-active .lu-photo { clip-path: polygon(0 0, 100% 0, calc(100% - var(--k)) 100%, calc(0px - var(--k)) 100%); }
  .js .lu-photo::after {
    background:
      linear-gradient(90deg, rgba(0,0,0,0) 46%, rgba(0,0,0,.5) 100%),
      linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 34%),
      linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 18%);
  }
  .js .lu-photo-in {
    position: absolute; inset: 0;
    transform: translate3d(-7%, 0, 0) scale(1.16);
    transition: transform 1.3s var(--reel);
  }
  .js .lu-app.is-active .lu-photo-in { transform: translate3d(0, 0, 0) scale(1.04); }
  .js .lu-app.is-before .lu-photo-in { transform: translate3d(7%, 0, 0) scale(1.1); }
  .js .lu-photo img { transform: translate3d(0, calc(var(--seg, 0) * -3%), 0) scale(1.05); will-change: transform; }

  /* the lime edge that rides the wipe */
  .js .lu-sweep {
    display: block; position: absolute; z-index: 3; left: 0; top: 0; bottom: 0; width: var(--photo-w); pointer-events: none;
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--k)) 100%, 0 100%);
  }
  .js .lu-sweep i { position: absolute; inset: 0; transform-origin: 0 0; opacity: 0; }
  .js .lu-sweep i::before {
    content: ''; position: absolute; left: -3px; top: 0; bottom: 0; width: 6px;
    background: linear-gradient(0deg, var(--slate), var(--lu-accent) 60%, var(--lu-accent-2));
    box-shadow: 0 0 24px 2px color-mix(in srgb, var(--lu-accent) 55%, transparent);
  }
  .js .lu-sweep.is-f i { animation: lu-sweep-f 1.05s var(--wipe) both; }
  .js .lu-sweep.is-b i { animation: lu-sweep-b 1.05s var(--wipe) both; }

  .js .lu-gl {
    display: block; position: absolute; z-index: 2; left: 0; top: 0; height: 100%; width: var(--photo-w);
    pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity 1.2s var(--ease);
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--k)) 100%, 0 100%);
    -webkit-mask-image: linear-gradient(100deg, transparent 8%, #000 60%); mask-image: linear-gradient(100deg, transparent 8%, #000 60%);
  }
  .gl-on .lu-gl { opacity: .95; }

  /* phone: slides and tilts in, the old one slides out the other way */
  .js .lu-phone {
    left: calc(var(--photo-w) - var(--k) * .5 - var(--pw-px) * .62); top: 50%; right: auto; z-index: 5;
    --pw-px: min(292px, calc(var(--pin-h) * .38));
    transform: translate3d(26%, -38%, 0) rotate(9deg); opacity: 0;
    transition: transform .7s cubic-bezier(.5, 0, .75, 0), opacity .45s ease-in;
  }
  .js .lu-phone .phone { --pw: var(--pw-px); }
  .js .lu-app.is-before .lu-phone { transform: translate3d(-26%, -64%, 0) rotate(-8deg); }
  .js .lu-app.is-active .lu-phone {
    transform: translate3d(0, -50%, 0) rotate(0deg); opacity: 1;
    transition: transform 1.05s var(--reel) .16s, opacity .5s var(--ease) .16s;
  }
  .js .lu-phone video { filter: blur(14px) brightness(.55) saturate(.6); transform: scale(1.08); transition: filter .4s, transform .4s; }
  .js .lu-app.is-active .lu-phone video { filter: none; transform: none; transition: filter .7s var(--ease) .42s, transform .9s var(--reel) .42s; }

  /* names: a slot reel. --d = this app's place relative to the active one. */
  .js .lu-copy { position: absolute; left: var(--col); right: var(--gutter); top: 0; bottom: 0; padding: 0; }
  .js .lu-name {
    position: absolute; left: 0; top: var(--slot); z-index: 4; margin: 0;
    font-size: var(--F); line-height: .86; color: var(--dim);
    transform-origin: 0 0; pointer-events: auto;
    transform: translate3d(calc(var(--d, 1) * 14px), calc(var(--next) + (var(--d, 1) - 1) * var(--row)), 0) scale(var(--sm));
    opacity: calc(1.34 - var(--d, 1) * .34);
    transition: transform .95s var(--reel), opacity .6s var(--ease), color .5s var(--ease);
  }
  .js .lu-app.is-before .lu-name {
    transform: translate3d(0, calc(var(--d) * var(--row) - 10px), 0) scale(var(--sm));
    opacity: calc(1 + var(--d) * .55);
  }
  .js .lu-app.is-active .lu-name { color: var(--t1); transform: translate3d(0, 0, 0) scale(var(--fit, 1)); opacity: 1; }
  .js .lu-app:not(.is-active) .lu-name:hover { color: var(--t2); }
  .js .lu-name .lu-jump { padding: 0 .06em; margin: 0 -.06em; }

  .js .lu-detail {
    position: absolute; left: 0; right: 0; top: calc(var(--slot) + var(--F) * .9 + 26px); min-height: var(--detail-h);
    margin: 0; gap: 12px; z-index: 4; visibility: hidden; transition: visibility 0s .4s;
  }
  .js .lu-app.is-active .lu-detail { visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .js .lu-detail > * { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .22s ease-in, transform .3s ease-in; }
  .js .lu-app.is-active .lu-detail > * { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .8s var(--reel); }
  .js .lu-app.is-active .lu-detail > :nth-child(1) { transition-delay: .34s; }
  .js .lu-app.is-active .lu-detail > :nth-child(2) { transition-delay: .42s; }
  .js .lu-app.is-active .lu-detail > :nth-child(3) { transition-delay: .5s; }
  .js .lu-app.is-active .lu-detail > :nth-child(4) { transition-delay: .58s; }
  .js .lu-detail .app-tag { font-size: 24px; }
  .js .lu-detail .app-line { font-size: 18px; max-width: 34ch; }
  .js .lu-detail .app-foot { display: flex; justify-content: flex-start; gap: 28px; margin-top: 8px; }

  /* progress rail: 01–07 on the bar motif */
  .js .lu-rail { display: block; position: absolute; z-index: 4; left: var(--col); right: var(--gutter); bottom: 40px; }
  .lu-rail ol { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
}
@media (min-width: 1100px) and (max-width: 1279px) and (prefers-reduced-motion: no-preference) {
  .js .lu-sub { display: none; }
}

/* ---------- rail (pin + swipe) ---------- */
.lu-rail button {
  all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; padding: 6px 0;
  -webkit-tap-highlight-color: transparent;
}
.lu-rail b { display: block; font: italic 900 13px/1 var(--f-display); color: var(--dim); letter-spacing: .02em; margin-bottom: 8px; transition: color .4s var(--ease); }
.lu-rail button[aria-current="true"] b { color: var(--t1); }
.lu-rail button:hover b { color: var(--t2); }
.lu-rail i { position: relative; display: block; height: 8px; background: var(--s2); transform: skewX(var(--skew)); overflow: hidden; }
.lu-rail s {
  position: absolute; inset: 0; text-decoration: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--lu-accent) 38%, var(--slate)), var(--lu-accent) 62%, var(--lu-accent-2));
  background-size: 700% 100%; background-position: var(--p, 0) 0;
  transform-origin: 0 50%; transform: scaleX(var(--f, 0));
}
.lu-rail button:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

@keyframes lu-sweep-f {
  0% { transform: translateX(0) skewX(-12deg); opacity: 0; }
  12% { opacity: 1; } 82% { opacity: 1; }
  100% { transform: translateX(100%) skewX(-12deg); opacity: 0; }
}
@keyframes lu-sweep-b {
  0% { transform: translateX(100%) skewX(-12deg); opacity: 0; }
  12% { opacity: 1; } 82% { opacity: 1; }
  100% { transform: translateX(0) skewX(-12deg); opacity: 0; }
}

/* ---------- phones and tablets: swipe carousel ---------- */
@media (max-width: 1099px) and (prefers-reduced-motion: no-preference) {
  .js .lu { padding: 0 0 88px; }
  .js .lu-pin { display: flex; flex-direction: column; }
  .js .lu-rail { order: 1; }
  .js .lu-list { order: 2; }
  .js .lu-head { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 20px var(--gutter) 0; }
  .js .lu-head .eyebrow { margin: 0; }
  .js .lu-sub { display: none; }
  .js .lu-rail { display: block; padding: 12px var(--gutter) 10px; }
  .lu-rail ol { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
  .js .lu-rail b { font-size: 11px; margin-bottom: 6px; }
  .js .lu-rail i { height: 6px; }

  .js .lu-list {
    display: flex; gap: 0; padding: 0; margin: 0; max-width: none;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .js .lu-list::-webkit-scrollbar { display: none; }
  .js .lu-app {
    --tp: 0; --tn: 0; --ta: 0;
    flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden;
  }
  .js .lu-photo {
    height: min(58svh, 600px); min-height: 300px;
    clip-path: polygon(calc(var(--tp) * 21%) 0, 100% 0, calc(100% - var(--tn) * 21%) calc(100% - 30px), 0 100%);
  }
  .js .lu-photo-in { transform: translate3d(calc(var(--t, 0) * -42%), 0, 0) scale(calc(1.06 + var(--ta) * .1)); }
  .js .lu-phone {
    right: var(--gutter); top: calc(min(58svh, 600px) * .16);
    transform: translate3d(calc(var(--t, 0) * 60%), calc(var(--ta) * 8%), 0) rotate(calc(var(--t, 0) * 10deg));
  }
  .js .lu-phone .phone { --pw: min(36vw, 190px); }
  .js .lu-copy { padding: 18px var(--gutter) 8px; }
  .js .lu-name, .js .lu-detail > * { transform: translate3d(calc(var(--t, 0) * 22%), 0, 0); opacity: calc(1 - var(--ta) * 1.5); }
  .js .lu-detail > :nth-child(2) { transform: translate3d(calc(var(--t, 0) * 34%), 0, 0); }
  .js .lu-detail > :nth-child(3) { transform: translate3d(calc(var(--t, 0) * 46%), 0, 0); }
  .js .lu-detail > :nth-child(4) { transform: translate3d(calc(var(--t, 0) * 58%), 0, 0); }
  .js .lu-name { font-size: clamp(56px, 16vw, 104px); color: var(--t1); }
  .js .lu-detail .app-foot { margin-top: 8px; flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (min-width: 768px) and (max-width: 1099px) and (prefers-reduced-motion: no-preference) {
  .js .lu-phone .phone { --pw: 220px; }
}

/* ==========================================================================
   THE WAY THEY WORK
   ========================================================================== */
.way { background: var(--s1); padding-bottom: calc(var(--cut) + 72px); }
.way .segbar { margin-bottom: 36px; }
.pillars { display: grid; gap: 40px; }
.pillar p { margin-top: 14px; max-width: 32ch; }
@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .way .segbar { margin-bottom: 44px; }
}
@media (min-width: 1100px) {
  .way { padding-bottom: calc(var(--cut) + 110px); }
  .way .sec-head { display: grid; grid-template-columns: 7fr 5fr; column-gap: 6vw; align-items: end; }
  .way .sec-head .eyebrow { grid-column: 1 / -1; }
  .way .sec-head .lede { margin: 0 0 .4em; }
}

/* ==========================================================================
   IN REAL LIFE
   ========================================================================== */
.irl { position: relative; z-index: 2; background: var(--black); margin-top: calc(var(--cut) * -1); padding-top: calc(var(--cut) + 40px); clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); }
.irl-head { display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 40px; }
.irl-head .sec-head { margin-bottom: 28px; }
.irl-band { display: flex; flex-direction: column; }
.irl-panel {
  --k: 30px;
  position: relative; margin: 0; height: 220px; overflow: hidden;
  clip-path: polygon(0 var(--k), 100% 0, 100% calc(100% - var(--k)), 0 100%);
}
.irl-panel + .irl-panel { margin-top: calc(var(--k) * -1 + 6px); }
.irl-img { position: absolute; inset: -12% -6%; will-change: transform; }
.irl-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform 1s var(--ease); }

@media (min-width: 768px) { .irl-panel { height: 300px; --k: 44px; } }
@media (min-width: 1100px) {
  .irl { padding-top: calc(var(--cut) + 80px); }
  .irl-head { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 64px; }
  .irl-head .sec-head { margin-bottom: 0; }
  .irl-head .btn { margin-bottom: 12px; }
  .irl-band { flex-direction: row; height: min(70svh, 640px); }
  .irl-panel {
    --k: 7vw; height: auto; flex: 1 1 0;
    clip-path: polygon(var(--k) 0, 100% 0, calc(100% - var(--k)) 100%, 0 100%);
    transition: flex-grow .7s var(--ease);
  }
  .irl-panel + .irl-panel { margin-top: 0; margin-left: calc(var(--k) * -1 + 10px); }
  .irl-panel:first-child { clip-path: polygon(0 0, 100% 0, calc(100% - var(--k)) 100%, 0 100%); }
  .irl-panel:last-child { clip-path: polygon(var(--k) 0, 100% 0, 100% 100%, 0 100%); }
  .irl-band:hover .irl-panel { flex-grow: .8; }
  .irl-band .irl-panel:hover { flex-grow: 1.7; }
  .irl-img { inset: 0 -8%; }
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final { position: relative; overflow: hidden; padding: 140px 0 140px; }
.final .wrap { position: relative; }
.final .lede { margin-top: 28px; }
.final-sweep { position: absolute; inset: 0; pointer-events: none; }
.final-sweep i {
  position: absolute; left: -10%; height: 18px; width: 120%;
  background: linear-gradient(90deg, rgba(51,65,85,0) 0%, var(--slate) 45%, var(--app) 100%);
  transform: rotate(-12deg); transform-origin: 0 50%; opacity: .9;
}
.final-sweep i:nth-child(1) { top: 90%; }
.final-sweep i:nth-child(2) { top: 95%; height: 6px; opacity: .55; }
.final-sweep i:nth-child(3) { top: 99%; height: 2px; opacity: .4; }
@media (min-width: 1100px) {
  .final { padding: 220px 0 240px; }
  .final-sweep i:nth-child(1) { top: 70%; height: 28px; }
  .final-sweep i:nth-child(2) { top: 80%; }
  .final-sweep i:nth-child(3) { top: 86%; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; color: var(--t3); }
.foot-top { display: grid; gap: 28px; }
.foot-mark { display: inline-block; line-height: 0; }
.logo-lockup { display: block; height: 40px; width: auto; aspect-ratio: 376 / 64; }
.foot-mark:hover .logo-lockup { filter: drop-shadow(0 0 18px rgba(222,250,81,.25)); }
.foot-strap { color: var(--t1); font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 24px; }
.foot-apps { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--t2); font-weight: 600; }
.foot-links { display: flex; gap: 22px; }
.foot a:hover { color: var(--lime); }
@media (min-width: 1100px) {
  .foot { padding: 96px 0 48px; }
  .foot-top { grid-template-columns: 1fr auto; align-items: end; }
  .logo-lockup { height: 60px; }
  .foot-copy { text-align: right; padding-bottom: 12px; }
  .foot-bottom { grid-template-columns: 1fr auto; }
}

/* ==========================================================================
   APP PAGES
   ========================================================================== */
.app-hero { position: relative; overflow-x: clip; padding-top: calc(var(--head-h) + 46px); }
.app-media { position: relative; }
.app-photo {
  position: relative; height: 52svh; min-height: 360px; max-height: 560px; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
.app-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,0) 40%), linear-gradient(90deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45));
}
.app-photo-inner { position: absolute; inset: -6% 0; will-change: transform; }
.app-photo img { width: 100%; height: 100%; object-fit: cover; }
.app-media { margin-bottom: 64px; }
.app-phone-wrap {
  position: absolute; right: calc(var(--gutter) + 8px); bottom: -64px; z-index: 2;
}
.phone--hero { --pw: min(40vw, 176px); }
.phone-bar {
  position: absolute; left: -16%; right: -16%; top: 22%; bottom: 22%;
  background: rgba(14,18,22,.88); border: 1px solid var(--line); transform: skewX(var(--skew));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.phone-bar::after { content: ''; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 10px; background: var(--bar); }
.app-copy { position: relative; padding: 28px var(--gutter) 120px; }
.app-copy .display--app { max-width: 9ch; }
.app-copy .lede { margin-top: 30px; }
.price { font: 600 15px/1 var(--f-body); color: var(--t3); }

@media (min-width: 768px) {
  .app-photo { height: 64svh; max-height: 680px; }
  .phone--hero { --pw: 230px; }
  .app-media { margin-bottom: 90px; }
  .app-phone-wrap { bottom: -90px; right: calc(var(--gutter) + 6%); }
}
@media (min-width: 1100px) {
  .app-hero {
    display: grid; grid-template-columns: 56fr 44fr; align-items: center;
    min-height: max(100svh, 780px); padding-top: 0;
    position: relative; z-index: 2;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
    margin-bottom: calc(var(--cut) * -1 + 1px);
  }
  .app-media { position: absolute; inset: 0 auto 0 0; width: 60%; margin: 0; }
  .app-photo {
    position: absolute; inset: 0; height: auto; max-height: none;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
  }
  .app-photo::after {
    background:
      linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0) 20%),
      linear-gradient(90deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 90%),
      linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,0) 30%);
  }
  .app-phone-wrap { right: 15%; bottom: auto; top: 50%; transform: translateY(-46%); }
  .phone--hero { --pw: min(290px, calc((100svh - var(--head-h)) * .40)); }
  .app-copy { position: relative; z-index: 4; grid-column: 2; padding: calc(var(--head-h) + 40px) var(--gutter) var(--cut) 0; }
  .app-copy .display--app { max-width: none; font-size: clamp(76px, 7.2vw, 116px); }
}
@media (min-width: 1600px) {
  .app-copy { padding-right: calc((100vw - var(--max)) / 2 + var(--gutter)); }
}

/* Features */
.features { background: var(--s1); padding-bottom: calc(var(--cut) + 80px); }
.features .segbar { margin-bottom: 40px; }
.feat-grid { display: grid; gap: 40px; }
.feat h3 { font-size: clamp(30px, 8.4vw, 40px); }
.feat p { margin-top: 14px; max-width: 30ch; font-size: 17px; }
@media (min-width: 768px) {
  .feat-grid { grid-template-columns: 1fr 1fr; gap: 56px 40px; }
  .features .segbar { display: grid; }
}
@media (min-width: 1100px) {
  .features { padding-bottom: calc(var(--cut) + 140px); }
  .feat-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .feat h3 { font-size: clamp(34px, 3vw, 48px); }
  .feat p { font-size: 18px; }
  .features .segbar { margin-bottom: 48px; }
}

/* Secondary photo band on app pages */
.app-band {
  position: relative; z-index: 1; height: 62svh; min-height: 340px; max-height: 760px; overflow: hidden;
  margin-top: calc(var(--cut) * -1);
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
}
.app-band-img { position: absolute; inset: -10% 0; will-change: transform; }
.app-band img { width: 100%; height: 100%; object-fit: cover; }
.app-band + .way { margin-top: calc(var(--cut) * -1); }
@media (min-width: 1100px) { .app-band { height: 86svh; } }

/* More apps */
.more { padding: 40px 0 40px; }
.more-list { display: grid; border-top: 1px solid var(--line); }
.more-item {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.more-name { font: italic 900 40px/.88 var(--f-display); font-stretch: 76%; color: var(--t1); text-transform: uppercase; grid-column: 1; }
.more-tag { grid-column: 1; color: var(--t3); font-size: 16px; }
.more-item .link { grid-column: 2; grid-row: 1 / span 2; font-size: 0; gap: 0; }
.more-item .link::after { width: 32px; }
.more-item::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--bar);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease);
}
.more-item:hover::before, .more-item:focus-visible::before { transform: scaleX(1); }
.more-item:hover .more-name { color: var(--lime); }
@media (min-width: 768px) {
  .more-list { grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
  .more-item { border-top: 1px solid var(--line); border-bottom: 0; padding: 32px 0 34px; }
  .more-name { font-size: 56px; }
}
@media (min-width: 1100px) {
  .more { padding: 80px 0 40px; }
  .more-list { grid-template-columns: repeat(3, 1fr); }
  .more-item { grid-template-columns: 1fr auto; }
  .more-name { grid-column: 1 / -1; }
  .more-item .link { grid-row: 2; font-size: 14px; gap: 10px; align-self: end; }
  .more-name { font-size: clamp(56px, 5vw, 84px); }
}

/* App page "Get" button before the App Store link is set. */
.btn--soon { cursor: default; color: var(--t2); }
.btn--soon::before { background: var(--s2); }
.btn--soon::after { display: none; }

/* ==========================================================================
   GUIDES, PRIVACY, SUPPORT, 404
   ========================================================================== */
.muted { color: var(--t3); }
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--head-h) + 64px) 0 calc(var(--cut) + 56px);
  background: radial-gradient(120% 90% at 100% 0%, rgba(51,65,85,.35), rgba(0,0,0,0) 60%), var(--black);
}
.page-hero .lede { margin-top: 26px; max-width: 40ch; }
.page-hero-bar {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--slate) 0%, var(--app) 100%);
  clip-path: polygon(0 calc(100% - 5px), 100% calc(100% - var(--cut) - 5px), 100% calc(100% - var(--cut)), 0 100%);
}
.display--page { font-size: clamp(56px, 15vw, 88px); font-stretch: 74%; }
@media (min-width: 768px) { .display--page { font-size: clamp(80px, 9vw, 140px); } }
@media (min-width: 1100px) { .page-hero { padding-top: calc(var(--head-h) + 120px); padding-bottom: calc(var(--cut) + 72px); } }

.page-body { padding: 56px 0 120px; }
.page-body--line { border-top: 1px solid var(--line); padding-top: 88px; }
@media (min-width: 1100px) { .page-body { padding: 80px 0 160px; } }

/* Scene photo slot (guides): the photo, or a dark placeholder with the bar motif. */
.scene { position: relative; margin: 0; overflow: hidden; background: var(--s1); aspect-ratio: 3 / 2; }
.scene img { width: 100%; height: 100%; object-fit: cover; }
.scene--empty {
  background:
    linear-gradient(0deg, rgba(0,0,0,.65), rgba(0,0,0,0) 55%),
    radial-gradient(80% 70% at 30% 35%, var(--s2), var(--s1) 70%);
  border: 1px solid var(--line);
}
.scene--empty i {
  position: absolute; left: 8%; bottom: 14%; width: 38%; height: 8px;
  background: var(--bar); transform: skewX(var(--skew)); opacity: .9;
}
.scene--wide { aspect-ratio: 16 / 9; }
@media (min-width: 1100px) { .scene--wide { aspect-ratio: 21 / 9; } }

/* Guide cards */
.posts { display: grid; gap: 20px; }
.post { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--s1); border: 1px solid var(--line); }
.post .scene { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 0 100%); border: 0; }
.post-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 24px; flex: 1; }
.post-tag { font: 600 12px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--t3); }
.post-title { font: italic 900 30px/.95 var(--f-display); font-stretch: 80%; text-transform: uppercase; color: var(--t1); text-wrap: balance; }
.post-text { font-size: 16px; color: var(--t2); }
.post .link { margin-top: auto; padding-top: 10px; }
.post::before {
  content: ''; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 4px; z-index: 1; background: var(--bar);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease);
}
.post:hover::before, .post:focus-visible::before { transform: scaleX(1); }
.post:hover .post-title { color: var(--lime); }
@media (min-width: 768px) { .posts { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (min-width: 1100px) { .posts { grid-template-columns: repeat(3, 1fr); } .post-title { font-size: 34px; } }

/* Guide article */
.guide-head { padding: calc(var(--head-h) + 56px) 0 40px; }
.guide-head .eyebrow a { color: var(--lime); }
.guide-head .eyebrow a:hover { text-decoration: underline; }
.guide-title { font-size: clamp(44px, 11vw, 64px); font-stretch: 76%; line-height: .9; max-width: 16ch; }
.guide-head .lede { margin-top: 24px; max-width: 46ch; }
@media (min-width: 768px) { .guide-title { font-size: clamp(64px, 7vw, 104px); } }
@media (min-width: 1100px) { .guide-head { padding-top: calc(var(--head-h) + 96px); } }
.guide-scene { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.guide-scene .scene { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); border: 0; }
.guide-body { padding-top: 40px; padding-bottom: 96px; }
.article { max-width: 720px; }
.byline { font-size: 14px; color: var(--t3); margin-bottom: 28px; }

/* Long-form text (guides, privacy) */
.prose { font-size: 18px; line-height: 1.7; color: var(--t2); }
.prose > * + *, .prose section > * + * { margin-top: 1.1em; }
.prose section + section { margin-top: 56px; }
.prose h2 {
  font: italic 900 34px/.95 var(--f-display); font-stretch: 80%; text-transform: uppercase; color: var(--t1);
  margin-top: 1.8em; scroll-margin-top: calc(var(--head-h) + 24px);
}
.prose section > h2:first-child { margin-top: 0; }
.prose h3 { font: 700 20px/1.3 var(--f-body); color: var(--t1); margin-top: 1.6em; }
.prose a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--t1); }
.prose ul, .prose ol { padding-left: 0; }
.prose ul li, .prose ol li { position: relative; padding-left: 28px; }
.prose ul li + li, .prose ol li + li { margin-top: .5em; }
.prose ul li::before {
  content: ''; position: absolute; left: 2px; top: .7em; width: 14px; height: 5px;
  background: var(--bar); transform: skewX(var(--skew));
}
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; font: italic 900 18px/1.7 var(--f-display); color: var(--lime); }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--lime); color: var(--t1); }
.prose code { font-size: .9em; background: var(--s2); padding: 2px 6px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--t1); font-weight: 700; }
.prose img { height: auto; }

.todo {
  display: inline-block; font: 700 11px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--lime); padding: 4px 8px; transform: skewX(var(--skew));
}

/* Privacy: contents + policy */
.doc { display: grid; gap: 40px; }
.toc ul { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; font-size: 15px; }
.toc a { color: var(--t3); }
.toc a:hover { color: var(--lime); }
@media (min-width: 1100px) {
  .doc { grid-template-columns: 260px minmax(0, 720px); gap: 6vw; align-items: start; }
  .toc { position: sticky; top: calc(var(--head-h) + 32px); }
  .toc ul { display: grid; gap: 0; border-top: 1px solid var(--line); }
  .toc li { border-bottom: 1px solid var(--line); }
  .toc a { display: block; padding: 12px 0; }
}

/* Support: questions + contact card */
.support-grid { display: grid; gap: 48px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font: italic 900 24px/1 var(--f-display); font-stretch: 82%; text-transform: uppercase; color: var(--t1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 22px; height: 6px; background: var(--s2); transform: skewX(var(--skew));
  transition: background-color .3s var(--ease), width .3s var(--ease);
}
.faq details[open] summary::after { background: var(--bar); width: 40px; }
.faq summary:hover { color: var(--lime); }
.faq details > div { padding: 0 0 24px; max-width: 60ch; }
.faq details > div a { color: var(--lime); text-decoration: underline; }
.contact { position: relative; background: var(--s1); border: 1px solid var(--line); padding: 28px 24px 32px; }
.contact::after { content: ''; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 6px; background: var(--bar); }
.contact p { margin-top: 14px; }
.contact a { color: var(--lime); font-weight: 700; }
@media (min-width: 1100px) {
  .support-grid { grid-template-columns: 7fr 4fr; gap: 6vw; }
  .contact { position: sticky; top: calc(var(--head-h) + 32px); }
  .faq summary { font-size: 30px; padding: 26px 0; }
}

/* Header links in the menu and footer for the current page */
.menu-links a[aria-current] { color: var(--lime); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
}

/* Footer sign-off: the app wordmark, larger. */
.wordmark--foot { font-size: 40px; line-height: 1; }
@media (min-width: 1100px) { .wordmark--foot { font-size: 56px; } }


/* ---------- SF Pro display type (matches the app) ----------
   Headlines: Heavy Italic. Buttons, links, labels: Bold Italic.
   SF has no width axis, so sizes are set for its natural width. */
.display { font-weight: 800; letter-spacing: -.025em; line-height: .9; font-synthesis: style; }
.display--hero { font-size: clamp(44px, 11.5vw, 72px); }
.display--app  { font-size: clamp(42px, 11vw, 68px); }
.display--xl   { font-size: clamp(48px, 12.5vw, 80px); }
.display--l    { font-size: clamp(38px, 10vw, 56px); }
.display--s    { font-size: 22px; letter-spacing: -.015em; }
@media (min-width: 768px) {
  .display--hero { font-size: clamp(64px, 7.6vw, 100px); }
  .display--app  { font-size: clamp(56px, 6.4vw, 96px); }
  .display--xl   { font-size: clamp(72px, 9.4vw, 168px); }
  .display--l    { font-size: clamp(56px, 6.2vw, 100px); }
  .display--s    { font-size: 26px; }
}
@media (min-width: 1100px) {
  .display--hero, .band .display--hero { font-size: clamp(76px, 5.6vw, 112px); }
}
.btn { font-weight: 700; letter-spacing: .01em; font-synthesis: style; }
.link, .lu-count b, .lu-rail b, .prose ol li::before { font-weight: 700; font-synthesis: style; }
.app-name, .menu-apps b, .more-name, .post-title, .prose h2, .faq summary { font-weight: 800; letter-spacing: -.02em; font-synthesis: style; }
.lu-name { font-size: clamp(40px, 11vw, 72px); letter-spacing: -.025em; }
@media (min-width: 1100px) { .lu-name { font-size: clamp(60px, 5.2vw, 92px); } }
.menu-apps b { font-size: 32px; }
.more-name { font-size: 30px; }
@media (min-width: 768px) { .more-name { font-size: 42px; } }
@media (min-width: 1100px) { .more-name { font-size: clamp(42px, 3.8vw, 64px); } }

/* Eyebrow mark: a thin straight lime rule (owner: no slanted gradient bar). */
.eyebrow i { width: 28px; height: 2px; background: var(--lime); transform: none; border-radius: 0; }
/* Header: fixed-width CTA so the nav links never shift between pages. */
@media (min-width: 1100px) {
  .head-cta { min-width: 236px; justify-content: center; flex: none; }
  .head-bar > .app-tabs { flex: none; }
}

/* ==========================================================================
   HOME HERO, "final CTA" look: two big lines, lime sweeps across,
   the lifter set smaller on the right, behind the sweeps.
   ========================================================================== */
.band-sweep { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.band-sweep i {
  position: absolute; left: -10%; width: 120%; height: 10px;
  background: linear-gradient(90deg, rgba(51,65,85,0) 0%, var(--slate) 45%, var(--lime) 100%);
  transform: rotate(-12deg) scaleX(0); transform-origin: 0 50%; opacity: .85;
  animation: rp-sweep 1.6s var(--ease) .25s forwards;
}
.band-sweep i:nth-child(1) { top: 84%; }
.band-sweep i:nth-child(2) { top: 90%; height: 4px; opacity: .5; animation-delay: .4s; }
.band-sweep i:nth-child(3) { top: 95%; height: 2px; opacity: .35; animation-delay: .55s; }
@keyframes rp-sweep { to { transform: rotate(-12deg) scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .band-sweep i { animation: none; transform: rotate(-12deg); } }
.band .display--hero span, .band .display--hero em { display: block; }
.band .display--hero { white-space: normal; }

@media (min-width: 1100px) {
  .band { min-height: clamp(560px, 72svh, 760px); height: auto; }
  .band-media { left: 40%; right: 0; inset-block: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
  .band-img { object-position: 72% 45% !important; }
  .band-shade { background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 30%), linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 40%); }
  .band-sweep i:nth-child(1) { top: 62%; height: 24px; }
  .band-sweep i:nth-child(2) { top: 72%; height: 6px; }
  .band-sweep i:nth-child(3) { top: 79%; height: 2px; }
  .display--hero, .band .display--hero { font-size: clamp(88px, 8vw, 150px); line-height: .88; white-space: nowrap; }
  .band .display--hero span, .band .display--hero em { display: block; }
  .band-inner { padding-top: calc(var(--head-h) + 48px); }
}
/* Owner: hero about 500px tall on desktop, sweeps low, under the headline. */
@media (min-width: 1100px) {
  .band { min-height: clamp(400px, 48svh, 500px); }
  .band-inner { padding-top: calc(var(--head-h) + 24px); padding-bottom: calc(var(--cut) + 28px); }
  .band-sweep i:nth-child(1) { top: 97%; height: 18px; }
  .band-sweep i:nth-child(2) { top: 103%; height: 5px; }
  .band-sweep i:nth-child(3) { top: 108%; height: 2px; }
}

/* ---------- review fixes: card type, alternating fallback list, way stats ---------- */
.lu-detail .app-tag { font: italic 800 24px/1.1 var(--f-display); letter-spacing: -.015em; color: var(--t1); font-synthesis: style; }
.lu-detail .app-line { font-size: 17px; line-height: 1.5; color: var(--t2); max-width: 38ch; }
.lu-detail .app-price { font-size: 14px; color: var(--t2); }
.lu-detail .link { color: var(--accent, var(--lime)); font-size: 15px; }
@media (min-width: 1100px) { .lu-detail .app-tag { font-size: 28px; } }
/* The stacked list (reduced motion, no JS): odd photo left, even photo right. */
@media (min-width: 1100px) {
  html:not(.js) .lu-app:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  html:not(.js) .lu-app:nth-child(even) .lu-photo { grid-column: 2; grid-row: 1; clip-path: polygon(64px 0, 100% 0, 100% 100%, 0 100%); }
  html:not(.js) .lu-app:nth-child(even) .lu-copy { grid-column: 1; grid-row: 1; }
  html:not(.js) .lu-app:nth-child(even) .lu-phone { left: auto; right: calc(58.33% - 330px); }
}
@media (min-width: 1100px) and (prefers-reduced-motion: reduce) {
  .lu-app:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .lu-app:nth-child(even) .lu-photo { grid-column: 2; grid-row: 1; clip-path: polygon(64px 0, 100% 0, 100% 100%, 0 100%); }
  .lu-app:nth-child(even) .lu-copy { grid-column: 1; grid-row: 1; }
  .lu-app:nth-child(even) .lu-phone { left: auto; right: calc(58.33% - 330px); }
}
.way-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; margin: 8px 0 48px; }
.way-stat dt { font: italic 800 clamp(52px, 14vw, 72px)/.9 var(--f-display); letter-spacing: -.03em; color: var(--lime); font-synthesis: style; }
.way-stat dd { margin: 10px 0 0; font: 600 12px/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--t2); }
@media (min-width: 768px) { .way-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .way-stat dt { font-size: clamp(80px, 7vw, 120px); } .way-stats { margin: 16px 0 64px; } }
/* Owner: lime sweeps lighter. Thinner, softer, mostly slate with a lime tip. */
.band-sweep i { background: linear-gradient(90deg, rgba(51,65,85,0) 0%, rgba(51,65,85,.7) 55%, rgba(222,250,81,.75) 100%); opacity: .6; }
@media (min-width: 1100px) {
  .band-sweep i:nth-child(1) { height: 8px; }
  .band-sweep i:nth-child(2) { height: 3px; opacity: .4; }
  .band-sweep i:nth-child(3) { height: 1px; opacity: .3; }
}
.final-sweep i { opacity: .55; }
@media (min-width: 1100px) { .final-sweep i:nth-child(1) { height: 12px; } }
/* Link mark: one solid colour, straight, thin (owner: no gradient bars). */
.link::after { height: 2px; width: 22px; background: currentColor; transform: none; }
a:hover .link::after, .link:hover::after { width: 36px; }
.lu-detail .link::after, .lu-app .lu-detail .link::after { background: currentColor; }

/* ==========================================================================
   REVEAL (reptyl.js): whole elements fade up 12px as they come into view;
   photos just fade. html.rp-fade is set in <head> only when motion is
   allowed (and removed if reptyl.js never runs), so no JS / Reduce Motion =
   everything simply there. Opacity and transform only (no layout shift).
   ========================================================================== */
.rp-fade :is(.app-copy, .page-hero .wrap, .guide-head .wrap, .sec-head > *, .final .wrap > *, .irl-head > .btn, .way-stats > *, .segbar, .pillars > *, .feat-grid > *, .more-list > li, .posts > li, .support-grid > *, .doc > *, .guide-body .article, .page-body .muted) {
  transition: opacity .45s cubic-bezier(.22, .61, .36, 1) var(--fd, 0ms), transform .45s cubic-bezier(.22, .61, .36, 1) var(--fd, 0ms);
}
.rp-fade :is(.app-copy, .page-hero .wrap, .guide-head .wrap, .sec-head > *, .final .wrap > *, .irl-head > .btn, .way-stats > *, .segbar, .pillars > *, .feat-grid > *, .more-list > li, .posts > li, .support-grid > *, .doc > *, .guide-body .article, .page-body .muted):not(.is-shown) { opacity: 0; transform: translate3d(0, 12px, 0); }
.rp-fade :is(.app-band img, .irl-img img, .posts .scene img, .guide-scene .scene) { transition: opacity .6s ease var(--fd, 0ms); }
.rp-fade :is(.app-band img, .irl-img img, .posts .scene img, .guide-scene .scene):not(.is-shown) { opacity: 0; }


/* Home hero headline: the one signature move. Each line slides up into place
   from behind its own baseline, line two 140ms after line one. CSS only, on load. */
@keyframes rp-line { from { transform: translate3d(0, 105%, 0); clip-path: inset(-60% -40% 100% -40%); } to { transform: none; clip-path: inset(-60% -40% -60% -40%); } }
@keyframes rp-soft { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
.rp-fade .band .display--hero > span, .rp-fade .band .display--hero > em { animation: rp-line .8s cubic-bezier(.16, 1, .3, 1) .15s both; will-change: transform; }
/* no glow behind the hero type: clip-path boxed it into a dark block */
.band .display--hero { text-shadow: none; }
.rp-fade .band .display--hero > :nth-child(2) { animation-delay: .29s; }
.rp-fade .band .eyebrow { animation: rp-soft .5s ease-out both; }

/* Owner: titles a little smaller (about 12% down across the board). */
.display--hero, .band .display--hero { font-size: clamp(40px, 10vw, 64px); }
.display--app  { font-size: clamp(38px, 9.6vw, 60px); }
.display--xl   { font-size: clamp(42px, 11vw, 70px); }
.display--l    { font-size: clamp(34px, 8.8vw, 50px); }
.lu-name { font-size: clamp(36px, 9.6vw, 64px); }
@media (min-width: 768px) {
  .display--hero, .band .display--hero { font-size: clamp(56px, 6.7vw, 88px); }
  .display--app  { font-size: clamp(50px, 5.6vw, 84px); }
  .display--xl   { font-size: clamp(64px, 8.2vw, 148px); }
  .display--l    { font-size: clamp(50px, 5.4vw, 88px); }
}
@media (min-width: 1100px) {
  .display--hero, .band .display--hero { font-size: clamp(76px, 7vw, 132px); }
  .lu-name { font-size: clamp(52px, 4.6vw, 80px); }
}
/* App names: tighter, cleaner, with the ampersand picked out in the app's colour. */
.lu-name, .app-name { letter-spacing: -.035em; font-weight: 800; }
.lu-name .amp { color: var(--accent, var(--lime)); font-weight: 600; margin: 0 .04em; }

/* ==========================================================================
   DISTANCE + APPLE HEALTH / APPLE WATCH
   Distance's colour; the "Works with" row on app pages; the muted line on the
   home line-up card; the slim home strip; the phone's still screen while an
   app has no recording yet. No new motion: the row and the strip fade in with
   the existing reveal (.app-copy and .sec-head > *).
   ========================================================================== */
html[data-app="distance"] { --app: #5EEAD4; --app-2: #5EEAD4; }

.claim-icon { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* App page: under the Get button */
.works { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 44ch; }
.works-k { font: 600 12px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--t3); }
.works-list { display: grid; gap: 10px; margin-top: 14px; }
.works-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.4; color: var(--t2); }
.works-list .claim-icon { color: var(--app); margin-top: 1px; }
.works-list b { color: var(--t1); font-weight: 700; margin-right: 4px; }

/* Home line-up card: one short muted line */
.lu-detail .app-works { font-size: 14px; line-height: 1.4; color: var(--t3); }
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .js .lu:has(.app-works) { --detail-h: 204px; }
  .js .lu-app.is-active .lu-detail > :nth-child(5) { transition-delay: .66s; }
}
@media (max-width: 1099px) and (prefers-reduced-motion: no-preference) {
  .js .lu-detail > :nth-child(5) { transform: translate3d(calc(var(--t, 0) * 70%), 0, 0); }
}

/* Home strip: between "No extra baggage" and "Between the work" */
.health { background: var(--black); padding-bottom: calc(var(--cut) + 16px); }
.health .display--l { font-size: clamp(32px, 8.4vw, 46px); }
.health.cut { padding-top: calc(var(--cut) + 56px); }
.health .sec-head { margin-bottom: 0; }
.health-apps { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 28px; }
.health-apps a {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  border: 1px solid var(--line); background: var(--s1); color: var(--t1);
  transition: border-color .2s var(--ease);
}
.health-apps a:hover { border-color: var(--accent, var(--lime)); }
.health-name { font: italic 800 18px/1 var(--f-display); letter-spacing: -.01em; text-transform: uppercase; font-synthesis: style; }
.health-mark { display: inline-flex; color: var(--accent, var(--lime)); }
.health-mark .claim-icon { width: 18px; height: 18px; }
@media (min-width: 1100px) {
  .health.cut { padding-top: calc(var(--cut) + 72px); }
  .health .sec-head { display: grid; grid-template-columns: 7fr 5fr; column-gap: 6vw; align-items: end; }
  .health .sec-head .lede { margin: 0 0 .4em; }
  .health-apps { grid-column: 1 / -1; margin-top: 40px; }
  .health .display--l { font-size: clamp(48px, 4.2vw, 68px); }
  .health .display--l span, .health .display--l em { white-space: nowrap; }
}

/* Phone with no recording yet: a still screen, wordmark and app name */
.phone-still {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--pw) * .03);
  background: radial-gradient(120% 70% at 50% 40%, #0E1216 0%, #000 70%);
}
.phone-still-wm { font: italic 700 calc(var(--pw) * .1)/1 -apple-system, "SF Pro Display", BlinkMacSystemFont, "Inter", sans-serif; font-synthesis: style; color: var(--t1); }
.phone-still-wm b { color: var(--lime); font-weight: inherit; }
.phone-still-app { font: italic 800 calc(var(--pw) * .075)/1 var(--f-display); font-synthesis: style; text-transform: uppercase; letter-spacing: -.01em; color: var(--accent, var(--app)); }

/* Header with eight app tabs: a little tighter below 1440px so the tabs and the
   Get button still fit inside the gutters at 1100px. */
@media (min-width: 1100px) and (max-width: 1439px) {
  .head-bar { gap: 20px; }
  .head-bar > .app-tabs .tab { padding: 0 10px; letter-spacing: .12em; }
  .head-bar > .app-tabs .tab::after, .head-bar > .app-tabs .tab[aria-current="page"]::after { left: 8px; right: 8px; }
  .head-cta { min-width: 196px; }
}
/* Nav tabs: no slanted box on hover or on the current page, just the lime underline. */
.tab::before, .tab:hover::before, .tab[aria-current="page"]::before, .tab:focus-visible::before { display: none; }
.tab:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.lu-name { transform-origin: 0 50%; }
.lu-name .lu-jump, .lu-name .lu-name-in { display: inline-block; }
/* Review fixes 2 */
.way-stat dt small { display: block; font: 600 13px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--t2); margin-bottom: 8px; font-style: normal; }
.irl { padding-top: calc(var(--cut) + 8px); }
.lu-count { font-size: 14px; color: var(--t2); }
.lu-count b { font-size: 17px; }
.lu-skip { display: inline-block; margin-top: 10px; font: 500 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--t3); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.lu-skip:hover { color: var(--t1); }

@media (max-width: 1099px) { .band-img { object-position: 75% 45% !important; } }
/* Line-up: active app name sized for SF Pro (wider than the old face) so DISTANCE fits. */
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .js .lu { --F: clamp(68px, 5.4vw, 108px); }
}
.lu-skip { white-space: nowrap; margin-top: 0; align-self: center; font-size: 11px; }
@media (min-width: 1100px) { .lu-head .lu-skip { margin-left: 28px; } }
/* Stats: one baseline for every number and label; "from" sits small, top-left of the price. */
.way-stats { align-items: end; column-gap: 40px; }
.way-stat { min-width: 0; }
.way-stat dt { display: flex; align-items: flex-start; gap: .12em; white-space: nowrap; }
.way-stat dt small { display: inline-block; margin: .5em 0 0; font-size: 12px; letter-spacing: .14em; }
.way-stat dd { min-height: 1.3em; }
@media (min-width: 1100px) { .way-stat dt { font-size: clamp(64px, 5.4vw, 104px); } }

/* Line-up type, tidied: header on one baseline; detail block with a clear rhythm. */
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .js .lu-head { flex-wrap: wrap; align-items: baseline; gap: 10px 24px; }
  .js .lu-head .lu-skip { margin-left: auto; }
  .js .lu-sub { order: 3; flex-basis: 100%; text-align: left; max-width: 46ch; margin: 2px 0 0; font-size: 15px; color: var(--t3); }
}
.lu-detail { gap: 0; }
.lu-detail .lu-count { margin: 0 0 12px; }
.lu-detail .app-tag { margin: 0 0 8px; letter-spacing: -.02em; }
.lu-detail .app-line { margin: 0 0 14px; color: var(--t2); max-width: 34ch; }
.lu-detail .app-foot { margin: 0; }
.lu-detail .link { font-size: 14px; letter-spacing: .06em; }
/* Line-up: upcoming names in a straight column (no stagger), clear of the detail block, evenly spaced. */
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .js .lu { --detail-h: 236px; --sm: .32; --row: calc(var(--F) * .9 * var(--sm) + 20px); --next: calc(var(--F) * .9 + 26px + var(--detail-h) + 44px); }
  .js .lu:has(.app-works) { --detail-h: 262px; }
  .js .lu-name { transform: translate3d(0, calc(var(--next) + (var(--d, 1) - 1) * var(--row)), 0) scale(var(--sm)); }
  .js .lu-app.is-before .lu-name { transform: translate3d(0, calc(var(--d) * var(--row) - 10px), 0) scale(var(--sm)); }
  .js .lu-app.is-active .lu-name { transform: translate3d(0, 0, 0) scale(var(--fit, 1)); }
}
/* Home: latest guides strip; header: Guides link after the apps. */
.home-guides { padding: 96px 0 40px; }
.home-guides-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.home-guides-head .eyebrow { flex-basis: 100%; }
.tab-guides { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
@media (min-width: 1100px) and (max-width: 1439px) { .tab-guides { margin-left: 4px; padding-left: 4px; } }
/* Guides: second photo part-way down the article. */
.prose .scene--inline { margin: 2.4em 0; }
.prose .scene--inline img { width: 100%; height: auto; display: block; }
@media (min-width: 1100px) { .prose .scene--inline { margin-left: -6%; margin-right: -6%; } }
