/* ==========================================================================
   The site: dark and full-bleed, with real-time 3D (static/motion/*.js).
   One family, Archivo, along its width axis: expanded heavy caps for display,
   normal width for reading, condensed caps for readouts and controls.
   Site chrome is square-cornered; anything drawn from an app (tiles, cards,
   the screens) keeps the rounded corners of the platform it came from.
   ========================================================================== */

:root {
  --night: #0E0E11;
  --graphite: #1C1C20;        /* Cinder's base body colour */
  --graphite-2: #26262B;
  --bone: #ECE9E2;
  --bone-2: rgba(236, 233, 226, .84);
  --ash: #A29E97;
  --ash-2: #77736D;
  --line: rgba(236, 233, 226, .12);
  --line-2: rgba(236, 233, 226, .26);
  --live: #34C759;
  --rose: #EDA7A8;            /* Cinder's muscle ramp at low intensity, lifted for type */
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --hdr: 76px;
  --ease: cubic-bezier(.2, .75, .15, 1);
}

html { background: var(--night); }
body.mx {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  font-stretch: 100%;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.mx *, .mx *::before, .mx *::after { box-sizing: border-box; }
.mx img { max-width: 100%; }
:where(.mx) a { color: inherit; }
.mx :focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.mx ::selection { background: var(--bone); color: var(--night); }
body.mx-locked { overflow: hidden; }
.mx-main { display: block; }
.mx-wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.u-visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- type ---------- */
.mx-display {
  margin: 0;
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.012em;
  line-height: .9;
  text-wrap: balance;
}
.mx-h2 { font-size: clamp(34px, 5.4vw, 92px); }
.mx-h3 { font-size: clamp(28px, 3.7vw, 62px); }
.mx-lede {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.45;
  color: var(--bone-2);
}
.mx-text { margin: 0; max-width: 52ch; color: var(--ash); }
.mx-read {
  margin: 0;
  font-stretch: 62%;
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--ash);
}
.mx-num {
  display: block;
  font-weight: 200;
  font-size: clamp(88px, 13vw, 232px);
  line-height: .78;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.mx-dot {
  display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%;
  vertical-align: 1px; background: var(--live); box-shadow: 0 0 10px var(--live);
}

/* ---------- buttons and links ---------- */
.mx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 1px solid var(--line-2); border-radius: 2px;
  background: transparent; color: var(--bone);
  font: inherit; font-stretch: 62%; font-weight: 650; font-size: 14px;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.mx-btn:hover { border-color: var(--bone); }
.mx-btn--solid { background: var(--bone); border-color: var(--bone); color: var(--night); }
.mx-btn--solid:hover { background: #fff; border-color: #fff; }
.mx-btn svg { flex: none; }
.mx-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  padding-bottom: 6px; border-bottom: 1px solid var(--line-2);
  font-stretch: 62%; font-weight: 650; font-size: 14px; letter-spacing: .18em;
  text-transform: uppercase; text-decoration: none;
  transition: border-color .2s var(--ease);
}
.mx-link:hover { border-color: var(--bone); }

/* ---------- header ---------- */
.mx-hdr { position: fixed; inset: 0 0 auto; z-index: 60; }
.mx-hdr::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgba(14, 14, 17, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .35s var(--ease);
}
.mx-hdr.is-scrolled::before, .mx-hdr.is-open::before { opacity: 1; }
.mx-hdr__in {
  position: relative; max-width: var(--max); height: var(--hdr); margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.mx-brand {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; font-stretch: 125%; font-weight: 800; font-size: 15px;
  letter-spacing: .26em; text-transform: uppercase;
}
.mx-brand img { width: 26px; height: 26px; border-radius: 7px; }
.mx-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.mx-nav__link {
  appearance: none; padding: 10px 0; border: 0; background: none; color: var(--ash);
  font: inherit; font-stretch: 62%; font-weight: 650; font-size: 14px; letter-spacing: .18em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: color .2s var(--ease);
}
.mx-nav__link:hover, .mx-nav__link[aria-expanded="true"] { color: var(--bone); }
.mx-nav__apps { position: relative; }
.mx-apps {
  position: absolute; top: calc(100% + 18px); left: 50%; width: min(780px, 92vw);
  transform: translateX(-50%); padding: 10px;
  background: rgba(28, 28, 32, .97); border: 1px solid var(--line-2); border-radius: 4px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .65);
}
.mx-apps ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.mx-apps a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 3px; text-decoration: none; }
.mx-apps a:hover, .mx-apps a:focus-visible { background: rgba(236, 233, 226, .06); }
.mx-apps img { flex: none; width: 38px; height: 38px; border-radius: 9px; }
.mx-apps b { display: block; font-weight: 650; font-size: 15px; }
.mx-apps i { display: block; font-style: normal; font-size: 13px; line-height: 1.35; color: var(--ash); }
.mx-hdr__cta {
  justify-self: end; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line-2); border-radius: 2px; text-decoration: none;
  font-stretch: 62%; font-weight: 650; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.mx-hdr__cta:hover { background: var(--bone); border-color: var(--bone); color: var(--night); }
.mx-hdr__cta { white-space: nowrap; }
.mx-hdr__short { display: none; }
.mx-burger {
  display: none; justify-self: end; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 2px; background: none; color: var(--bone);
  font: inherit; font-stretch: 62%; font-weight: 650; font-size: 13px; letter-spacing: .18em;
  text-transform: uppercase; cursor: pointer;
}
.mx-menu {
  position: fixed; inset: var(--hdr) 0 0; overflow-y: auto;
  padding: 20px var(--gutter) 48px; background: var(--night);
}
.mx-menu ul { margin: 0; padding: 0; list-style: none; }
.mx-menu__apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; }
.mx-menu__apps a { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 600; font-size: 17px; text-decoration: none; }
.mx-menu__apps img { width: 34px; height: 34px; border-radius: 8px; }
.mx-menu__links { margin-top: 28px !important; padding-top: 20px !important; border-top: 1px solid var(--line); }
.mx-menu__links a {
  display: block; padding: 6px 0; text-decoration: none;
  font-stretch: 125%; font-weight: 800; font-size: 30px; letter-spacing: -.01em; text-transform: uppercase;
}
@media (max-width: 980px) {
  .mx-hdr__in { grid-template-columns: 1fr auto auto; gap: 10px; }
  .mx-nav, .mx-hdr__cta { display: none; }
  .mx-hdr__cta.mx-hdr__cta--app { display: inline-flex; min-height: 40px; padding: 0 14px; font-size: 12px; background: var(--bone); border-color: var(--bone); color: var(--night); }
  .mx-hdr__long { display: none; }
  .mx-hdr__short { display: inline; }
  .mx-burger { display: inline-flex; align-items: center; }
}

/* ---------- sections ---------- */
.mx-sec { position: relative; padding-block: clamp(96px, 15vh, 190px); }
.mx-head {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px); align-items: end; margin-bottom: clamp(40px, 6vh, 72px);
}
.mx-head .mx-text { justify-self: end; }
@media (max-width: 860px) {
  .mx-head { grid-template-columns: 1fr; }
  .mx-head .mx-text { justify-self: start; }
}

/* ---------- home: hero with the icon cluster ---------- */
.mx-hero { position: relative; height: 160vh; height: 160svh; }
.mx-hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.mx-hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 60% at 68% 40%, rgba(236, 233, 226, .075), transparent 70%);
}
.mx-hero__gl {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  opacity: calc(1 - var(--p, 0) * var(--p, 0));
}
.mx-hero__fallback {
  position: absolute; top: 20vh; right: 8vw; display: grid; grid-template-columns: repeat(3, 92px);
  gap: 14px; margin: 0; padding: 0; list-style: none; transform: rotate(-8deg);
}
.mx-hero__fallback img { display: block; width: 92px; height: 92px; border-radius: 21px; }
.mx-gl .mx-hero__fallback { display: none; }
.mx-hero__copy {
  position: absolute; left: 0; right: 0; bottom: clamp(40px, 9vh, 110px);
  transform: translate3d(0, calc(var(--p, 0) * -20vh), 0);
  opacity: calc(1 - var(--p, 0) * 1.5);
  pointer-events: none;
}
.mx-hero__copy > .mx-wrap > * { pointer-events: auto; }
.mx-hero__title { font-size: clamp(40px, 6.9vw, 124px); }
.mx-hero__title span { display: block; }
.mx-hero__copy .mx-lede { margin-top: 28px; }
.mx-hero__hud {
  position: absolute; right: var(--gutter); bottom: clamp(40px, 9vh, 110px);
  text-align: right; opacity: calc(1 - var(--p, 0) * 2.2);
}
.mx-hero__hud a { color: var(--bone); text-decoration: none; }
.mx-stars { color: #FFD754; }
.mx-hero__hud a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mx-cue {
  position: absolute; right: var(--gutter); bottom: calc(clamp(40px, 9vh, 110px) + 70px);
  display: flex; align-items: center; gap: 14px; opacity: calc(1 - var(--p, 0) * 3);
}
.mx-cue i { position: relative; width: 1px; height: 38px; overflow: hidden; background: var(--line-2); }
.mx-cue i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--bone); animation: mx-cue 2.4s var(--ease) infinite;
}
@keyframes mx-cue { to { top: 100%; } }
.mx-tilelabel {
  position: fixed; left: 0; top: 0; z-index: 30; padding: 7px 11px; pointer-events: none;
  background: var(--bone); color: var(--night); border-radius: 2px;
  font-stretch: 62%; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  opacity: 0; transition: opacity .15s var(--ease);
}
.mx-tilelabel.is-on { opacity: 1; }
@media (max-width: 760px) {
  .mx-hero { height: 150vh; height: 150svh; }
  .mx-hero__hud, .mx-cue { display: none; }
  .mx-hero__copy { bottom: 28px; }
  .mx-hero__fallback { top: 15vh; left: 50%; right: auto; grid-template-columns: repeat(3, 72px); transform: translateX(-50%) rotate(-8deg); }
  .mx-hero__fallback img { width: 72px; height: 72px; border-radius: 16px; }
}

/* ---------- home: the app index ---------- */
.mx-index { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mx-index__row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 150px 76px;
  align-items: center; gap: clamp(16px, 2vw, 32px); border-bottom: 1px solid var(--line);
}
.mx-index__row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--app); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease); pointer-events: none;
}
.mx-index__row:hover::after, .mx-index__row:focus-within::after { transform: scaleX(1); }
.mx-index__link {
  display: grid; grid-template-columns: 56px minmax(0, .9fr) minmax(0, 1.3fr);
  align-items: center; gap: clamp(16px, 2vw, 32px); padding: 22px 0; text-decoration: none;
}
.mx-index__name small { display: block; margin-top: 8px; font-size: 11.5px; }
.mx-index__meta { display: flex; flex-direction: column; gap: 3px; text-align: right; }
.mx-index__meta b { color: var(--bone); font-weight: 650; }
.mx-index__meta i { font-style: normal; }
/* the App Store's own GET pill: drawn from the store, so it keeps the store's shape */
.mx-get {
  justify-self: end; display: inline-flex; align-items: center; justify-content: center;
  min-width: 72px; height: 36px; padding: 0 18px; border-radius: 999px;
  background: var(--bone); color: var(--night); text-decoration: none;
  font-weight: 750; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.mx-get:hover { background: #fff; transform: translateY(-1px); }
.mx-index__icon { display: block; width: 52px; height: 52px; border-radius: 12px; }
.mx-index__name {
  font-stretch: 125%; font-weight: 800; font-size: clamp(22px, 2.2vw, 34px); line-height: 1;
  letter-spacing: -.01em; text-transform: uppercase;
  transition: transform .45s var(--ease);
}
.mx-index__link:hover .mx-index__name { transform: translateX(10px); }
.mx-index__desc { font-size: 15.5px; line-height: 1.45; color: var(--ash); }
@media (max-width: 900px) {
  .mx-index__row { grid-template-columns: minmax(0, 1fr) auto; }
  .mx-index__meta { display: none; }
  .mx-index__link {
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas: "icon name" "icon desc"; row-gap: 6px; padding: 18px 0;
  }
  .mx-index__icon { grid-area: icon; align-self: start; width: 48px; height: 48px; }
  .mx-index__name { grid-area: name; }
  .mx-index__desc { grid-area: desc; font-size: 15px; }
}
.mx-peek {
  position: fixed; left: 0; top: 0; z-index: 40; width: clamp(220px, 21vw, 320px);
  pointer-events: none; opacity: 0; transition: opacity .25s var(--ease); will-change: transform;
}
.mx-peek.is-on { opacity: 1; }
.mx-peek img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }
@media (hover: none), (max-width: 900px) { .mx-peek { display: none; } }

/* ---------- home: chapters, one real app render each ---------- */
.mx-reel { border-top: 1px solid var(--line); }
.mx-chapter {
  position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh; overflow: hidden; border-bottom: 1px solid var(--line);
}
.mx-chapter::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(46% 58% at 72% 50%, color-mix(in srgb, var(--app) 26%, transparent), transparent 72%);
}
.mx-chapter__media {
  position: absolute; inset: 0; z-index: -1; display: flex; align-items: center; justify-content: flex-end;
  padding: calc(var(--hdr) + 4vh) calc(var(--gutter) + 3vw) 6vh; pointer-events: none;
}
.mx-chapter__media img {
  display: block; width: auto; max-width: min(46vw, 640px); max-height: 74vh; object-fit: contain;
  border-radius: 22px; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55));
  transform: translate3d(0, calc((.5 - var(--p, .5)) * 14vh), 0) scale(calc(1.08 - .08 * var(--p, .5)));
}
.mx-chapter__body { position: relative; max-width: min(540px, 46vw); padding-block: 16vh; }
.mx-chapter__body .mx-read { margin-bottom: 22px; }
.mx-chapter__body .mx-text { margin-top: 24px; font-size: 18px; color: var(--bone-2); }
.mx-chapter__fig { display: flex; align-items: flex-end; gap: 18px; margin-top: clamp(32px, 7vh, 72px); }
.mx-chapter__fig .mx-num { font-size: clamp(80px, 10.5vw, 180px); }
.mx-chapter__fig .mx-read { max-width: 17ch; margin: 0 0 6px; }
.mx-chapter__body .mx-actions { margin-top: 30px; }
@media (max-width: 860px) {
  .mx-chapter { flex-direction: column; align-items: stretch; justify-content: flex-end; }
  .mx-chapter::before { background: radial-gradient(70% 40% at 50% 30%, color-mix(in srgb, var(--app) 26%, transparent), transparent 72%); }
  .mx-chapter__media { position: relative; justify-content: center; padding: calc(var(--hdr) + 32px) var(--gutter) 0; }
  .mx-chapter__media img { max-width: 100%; max-height: 50vh; }
  .mx-chapter__body { max-width: none; padding-block: 36px 72px; }
}

/* ---------- home: why, facts, reviews ---------- */
.mx-why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.mx-why__item { padding: clamp(28px, 4vw, 56px) 0; border-bottom: 1px solid var(--line); }
.mx-why__item:nth-child(odd) { padding-right: clamp(24px, 4vw, 64px); border-right: 1px solid var(--line); }
.mx-why__item:nth-child(even) { padding-left: clamp(24px, 4vw, 64px); }
.mx-why__q { max-width: 30ch; margin: 0 0 18px; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.35; color: var(--ash); }
.mx-why__a { max-width: 48ch; margin: 0; color: var(--bone-2); }
@media (max-width: 760px) {
  .mx-why { grid-template-columns: 1fr; }
  .mx-why__item:nth-child(n) { padding: 28px 0; border-right: 0; }
}

.mx-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.mx-tab { min-height: 42px; padding: 0 16px; font-size: 13px; }
.mx-tab[aria-selected="true"] { background: var(--bone); border-color: var(--bone); color: var(--night); }
.mx-facts__head {
  display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px;
  align-items: center; padding: 0 0 16px; border-bottom: 1px solid var(--line-2);
}
.mx-facts__app { display: flex; align-items: center; gap: 12px; font-weight: 650; font-size: 18px; }
.mx-facts__app img { width: 34px; height: 34px; border-radius: 8px; }
.mx-facts__row {
  display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px;
  align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.mx-facts__v { font-weight: 600; font-size: 17px; }
.mx-facts__v--big { font-stretch: 125%; font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; }
.mx-facts__n { color: var(--ash); }
.mx-facts__note { margin: 20px 0 0; font-size: 14px; color: var(--ash-2); }
.mx-facts__get { margin-top: 22px; }
@media (max-width: 760px) {
  .mx-facts__head > :first-child, .mx-facts__head > :last-child { display: none; }
  .mx-facts__head { grid-template-columns: 1fr; }
  .mx-facts__row { grid-template-columns: 1fr; gap: 4px; }
}

.mx-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); }
.mx-quote { display: flex; flex-direction: column; justify-content: space-between; margin: 0; padding: 34px 0; border-bottom: 1px solid var(--line); }
.mx-quote p { margin: 0 0 26px; font-size: 18.5px; line-height: 1.5; color: var(--bone); }
.mx-quote figcaption { display: flex; align-items: center; gap: 12px; }
.mx-quote img { width: 34px; height: 34px; border-radius: 8px; }
@media (max-width: 1000px) { .mx-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mx-quotes { grid-template-columns: 1fr; } }

/* ---------- closing call to action ---------- */
.mx-cta { position: relative; overflow: hidden; padding-block: clamp(120px, 20vh, 240px); border-top: 1px solid var(--line); }
.mx-cta__title { font-size: clamp(40px, 7.4vw, 132px); }
.mx-cta__icons { display: flex; flex-wrap: wrap; gap: 12px; margin: 56px 0 0; padding: 0; list-style: none; }
.mx-cta__icons a { display: block; border-radius: 14px; transition: transform .35s var(--ease); }
.mx-cta__icons a:hover { transform: translateY(-6px); }
.mx-cta__icons img { display: block; width: 58px; height: 58px; border-radius: 14px; }

/* ---------- footer ---------- */
.mx-ftr { padding: 72px 0 40px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ash); }
.mx-ftr__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.mx-ftr__word { margin: 0 0 14px; font-stretch: 125%; font-weight: 800; font-size: 26px; letter-spacing: .22em; text-transform: uppercase; color: var(--bone); }
.mx-ftr__brand p:last-child { max-width: 34ch; margin: 0; }
.mx-ftr__h { margin: 0 0 14px; font-stretch: 62%; font-weight: 650; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone); }
.mx-ftr ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mx-ftr a { color: var(--ash); text-decoration: none; transition: color .2s var(--ease); }
.mx-ftr a:hover { color: var(--bone); }
.mx-ftr__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-stretch: 62%; font-weight: 600; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
}
@media (max-width: 860px) {
  .mx-ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-ftr__brand { grid-column: 1 / -1; }
}

/* ---------- cookie choice (templates/_consent_banner.html) ---------- */
.mx .consent {
  position: fixed; z-index: 500; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto;
  padding: 20px 22px 18px; background: var(--graphite); border: 1px solid var(--line-2); border-radius: 4px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
}
/* on wide screens it waits in the corner, clear of every hero's download buttons */
@media (min-width: 981px) { .mx .consent { left: auto; right: 24px; bottom: 24px; width: 420px; margin: 0; } }
.mx .consent-t { margin: 0; font-weight: 650; font-size: 16.5px; }
.mx .consent-d { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ash); }
.mx .consent-d a { color: var(--bone); }
.mx .consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.mx .consent-btns .btn {
  min-height: 46px; border: 1px solid var(--line-2); border-radius: 2px; background: none; color: var(--bone);
  font: inherit; font-stretch: 62%; font-weight: 650; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer;
}
.mx .consent-btns .btn:hover { background: var(--bone); color: var(--night); }

/* ==========================================================================
   Cinder
   ========================================================================== */
.mx-cin { position: relative; }
/* the stage keeps its own height so it lets go when the session ends; the copy is
   pulled up over it instead */
.mx-cin__stage {
  position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh;
  overflow: hidden; pointer-events: none;
}
.mx-cin__glow {
  position: absolute; inset: 0;
  background: radial-gradient(30% 46% at 68% 56%, rgba(255, 70, 46, calc(.06 + .12 * var(--heat, .6))), transparent 72%);
}
.mx-cin__word {
  position: absolute; left: 0; right: 0; top: 44%; margin: 0;
  text-align: center; white-space: nowrap;
  font-stretch: 125%; font-weight: 900; font-size: 19.4vw; line-height: .8; letter-spacing: -.02em;
  text-transform: uppercase; color: var(--bone);
  opacity: calc(1 - var(--out, 0)); transform: translateY(calc(-50% - var(--out, 0) * 8vh));
}
.mx-cin__gl { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.mx-cin.is-ready .mx-cin__gl { opacity: 1; }
.mx-cin__fallback { display: none; position: absolute; top: 16vh; right: 8vw; height: 70vh; width: auto; border-radius: 22px; }
.no-gl .mx-cin__fallback { display: block; }
.mx-cin__grab { position: absolute; top: 12%; bottom: 8%; left: 52%; right: 6%; pointer-events: auto; cursor: grab; touch-action: pan-y; }
.mx-cin__grab:active { cursor: grabbing; }
.mx-cin__hud { position: absolute; right: var(--gutter); bottom: clamp(32px, 7vh, 80px); text-align: right; }
.mx-cin__hud b { font-weight: 650; color: var(--bone); }

.mx-cin__hero {
  position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh; min-height: 100svh; margin-top: -100vh; margin-top: -100svh;
  padding-bottom: clamp(40px, 9vh, 110px); pointer-events: none;
}
.mx-cin__hero .mx-wrap { width: 100%; }
.mx-cin__hero .mx-wrap > * { pointer-events: auto; }
.mx-kicker { margin: 0 0 18px; color: var(--accent-ink, var(--rose)); }
.mx-cin__hero .mx-lede { margin-top: 22px; }
.mx-cin__rating { margin-top: 24px; }
.mx-rating .star { color: var(--accent-ink, var(--rose)); }

.mx-steps { position: relative; z-index: 1; pointer-events: none; }
.mx-step { display: flex; align-items: center; min-height: 118vh; min-height: 118svh; }
.mx-step__in { max-width: 480px; pointer-events: auto; }
.mx-step h2 { font-size: clamp(44px, 6.4vw, 110px); margin-top: 18px; }
.mx-step__fig { display: flex; align-items: flex-end; gap: 16px; margin: 30px 0 24px; }
.mx-step__fig .mx-num { font-size: clamp(84px, 10vw, 170px); }
.mx-step__fig .mx-read { max-width: 14ch; margin-bottom: 4px; }
.mx-step__lifts { margin: 0 0 26px; max-width: 42ch; color: var(--bone-2); }
.mx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mx-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px 7px 10px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(14, 14, 17, .6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 550;
}
/* Cinder's ramp, MuscleBodyModel.rampColor: hue .995, saturation .30 + .70t, brightness .88 - .42t */
.mx-chip i {
  width: 10px; height: 10px; border-radius: 50%;
  background: hwb(358 calc((.7 - .7 * var(--t)) * (.88 - .42 * var(--t)) * 100%) calc((.12 + .42 * var(--t)) * 100%));
  box-shadow: 0 0 calc(4px + 10px * var(--t)) rgba(255, 70, 46, calc(.3 + .5 * var(--t)));
}
.mx-chip span { font-size: 13px; color: var(--ash); font-variant-numeric: tabular-nums; }
.mx-step__src { margin-top: 26px; font-size: 13.5px; color: var(--ash-2); max-width: 46ch; }
.mx-step__src a { color: var(--ash); }

@media (max-width: 860px) {
  .mx-cin__word { top: 30%; font-size: 21vw; }
  .mx-cin__glow { background: radial-gradient(60% 34% at 50% 34%, rgba(255, 70, 46, calc(.06 + .12 * var(--heat, .6))), transparent 72%); }
  .mx-cin__grab { left: 12%; right: 12%; top: 10%; bottom: 46%; }
  .mx-cin__hud { display: none; }
  .mx-cin__fallback { top: 12vh; right: 50%; height: 44vh; transform: translateX(50%); }
  .mx-cin__hero .mx-wrap, .mx-step__in {
    padding-top: 48px;
    background: linear-gradient(180deg, transparent, rgba(14, 14, 17, .9) 48px);
  }
  .mx-step { align-items: flex-end; min-height: 110vh; min-height: 110svh; padding-bottom: 6vh; }
  .mx-step__in { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); max-width: none; }
}

/* Cinder: what it does. The panels are app UI, so they keep the app's rounded corners. */
.mx-feats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: clamp(24px, 3.5vw, 56px); border-top: 1px solid var(--line); }
.mx-feat { grid-column: span 3; display: flex; flex-direction: column; gap: 16px; padding: clamp(32px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); }
.mx-feat--third { grid-column: span 2; }
.mx-feat h3 { margin: 6px 0 0; font-stretch: 125%; font-weight: 800; font-size: clamp(22px, 2vw, 30px); line-height: .98; text-transform: uppercase; }
.mx-feat > p { margin: 0; max-width: 46ch; color: var(--ash); }
.mx-viz {
  display: flex; flex-direction: column; justify-content: center; min-height: 236px; padding: 22px;
  background: var(--graphite); border: 1px solid var(--line); border-radius: 22px;
}
@media (max-width: 1000px) { .mx-feat--third { grid-column: span 3; } }
@media (max-width: 700px) { .mx-feat, .mx-feat--third { grid-column: 1 / -1; } }

.mx-log__head { display: flex; justify-content: space-between; align-items: baseline; }
.mx-log__name { font-weight: 650; }
.mx-log__fig { display: flex; align-items: baseline; gap: 14px; margin: 14px 0 4px; font-weight: 250; font-size: clamp(56px, 5.4vw, 84px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mx-log__fig small { font-size: .45em; color: var(--ash); }
.mx-log__units { display: flex; gap: 92px; }
.mx-log__sets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; }
.mx-log__sets i { height: 6px; border-radius: 3px; background: var(--graphite-2); }
.mx-log__sets i.done { background: var(--rose); }
.mx-log__sets i.now { background: linear-gradient(90deg, var(--rose) 55%, var(--graphite-2) 55%); }
.mx-chart { display: block; width: 100%; height: 120px; margin-top: 16px; overflow: visible; }
.mx-chart .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mx-chart .fill { fill: color-mix(in srgb, var(--accent-ink, var(--rose)) 12%, transparent); }
.mx-chart .line { fill: none; stroke: var(--accent-ink, var(--rose)); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.mx-chart .dot { fill: var(--accent-ink, var(--rose)); }
.mx-spread { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mx-watch { align-self: center; width: 150px; padding: 10px; border-radius: 40px; background: #050506; box-shadow: 0 0 0 2px #2c2c31, 0 20px 40px -12px rgba(0, 0, 0, .8); }
.mx-watch__screen { display: flex; flex-direction: column; gap: 6px; padding: 16px 14px; border-radius: 32px; background: #000; }
.mx-watch__big { font-weight: 300; font-size: 34px; line-height: 1; letter-spacing: -.02em; }
.mx-watch__bar { height: 5px; border-radius: 3px; background: #2c2c31; overflow: hidden; }
.mx-watch__bar i { display: block; width: 62%; height: 100%; background: var(--rose); }
.mx-bub { max-width: 84%; margin: 0; padding: 11px 15px; border-radius: 20px; font-size: 15.5px; line-height: 1.4; }
.mx-bub--me { align-self: flex-end; background: var(--bone); color: var(--night); border-bottom-right-radius: 6px; }
.mx-bub--ai { align-self: flex-start; margin-top: 10px; background: var(--graphite-2); border-bottom-left-radius: 6px; }
.mx-bio__num { font-weight: 250; font-size: 64px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mx-bio__pill { display: inline-block; margin-top: 10px; padding: 5px 11px; border-radius: 999px; background: rgba(52, 199, 89, .14); color: #7BE38F; font-size: 13.5px; font-weight: 600; }
.mx-scale { position: relative; height: 22px; margin-top: 18px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 3.2%); }
.mx-scale b { position: absolute; top: -3px; bottom: -3px; left: var(--at); width: 3px; border-radius: 2px; background: var(--bone); }
.mx-widgets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mx-widget { display: flex; flex-direction: column; justify-content: space-between; min-height: 92px; padding: 14px; border-radius: 18px; background: var(--graphite-2); }
.mx-widget b { font-weight: 650; font-size: 20px; }
.mx-widget i { font-style: normal; font-size: 13px; color: var(--ash); }
.mx-widget--wide { grid-column: span 2; }
.mx-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--bone-2); font-size: 15px; }

/* Cinder: the App Store strip, release notes, facts */
.mx-gallery { padding-block: clamp(80px, 12vh, 150px) 24px; }
.gallery-strip-wrap {
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.gallery-strip-wrap::-webkit-scrollbar { display: none; }
.gallery-strip-wrap.dragging { cursor: grabbing; }
.gallery-strip {
  display: flex; align-items: center; gap: 16px; width: max-content;
  padding: 12px max(calc((100vw - var(--max)) / 2 + var(--gutter)), var(--gutter)) 28px;
}
.g-item { flex: none; opacity: 0; transform: translateY(26px) scale(.96); }
.g-item.g-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.gallery-strip-wrap.g-sda .g-item { opacity: 1; transform: none; transition: none; animation: g-focus linear both; animation-timeline: view(inline); }
@keyframes g-focus {
  entry 0% { opacity: .3; transform: scale(.93); }
  entry 85% { opacity: 1; transform: none; }
  exit 15% { opacity: 1; transform: none; }
  exit 100% { opacity: .3; transform: scale(.93); }
}
.g-frame { position: relative; overflow: hidden; padding: 6px; border-radius: 32px; background: #000; box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -20px rgba(0, 0, 0, .75); }
.g-frame img, .g-frame video { display: block; width: auto; height: 470px; border-radius: 26px; background: var(--graphite); }
.g-frame.g-mac { padding: 26px 3px 3px; border-radius: 12px; }
.g-frame.g-mac img, .g-frame.g-mac video { height: 340px; border-radius: 0 0 9px 9px; }
.g-item.g-skel { opacity: 1; transform: none; }
.g-skel-fill { width: 216px; height: 470px; border-radius: 26px; background: linear-gradient(100deg, var(--graphite) 40%, var(--graphite-2) 50%, var(--graphite) 60%); background-size: 300% 100%; animation: mx-skel 1.8s linear infinite; }
@keyframes mx-skel { from { background-position: 100% 0; } to { background-position: 0 0; } }
.g-hint { margin: 0; text-align: center; }
@media (max-width: 640px) {
  .g-frame img, .g-frame video { height: 360px; }
  .g-skel-fill { width: 166px; height: 360px; }
}

.whatsnew-card { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); }
.whatsnew-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; }
.whatsnew-head .vnum { font-stretch: 125%; font-weight: 800; font-size: 26px; text-transform: uppercase; }
.whatsnew-notes { max-width: 72ch; margin: 18px 0 0; white-space: pre-line; color: var(--bone-2); }
.whatsnew-card.clamped .whatsnew-notes { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.whatsnew-more { margin-top: 12px; padding: 0; border: 0; background: none; color: var(--bone); cursor: pointer; font: inherit; font-stretch: 62%; font-weight: 650; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }

.mx-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 0; border-block: 1px solid var(--line); }
.mx-meta__grid { display: flex; flex-wrap: wrap; gap: 20px clamp(28px, 4vw, 64px); }
.status-item { display: flex; flex-direction: column; gap: 6px; }
.status-value { font-weight: 650; font-size: 18px; font-variant-numeric: tabular-nums; }
.app-disclaimer { margin-top: 48px; padding: 22px 26px; border: 1px solid var(--line); border-left: 3px solid var(--accent-ink, var(--rose)); font-size: 14px; line-height: 1.65; color: var(--ash); }
.app-disclaimer p { margin: 0 0 10px; }
.app-disclaimer p:last-child { margin: 0; }
.app-disclaimer strong { color: var(--bone); }
.app-disclaimer a { color: var(--bone); }
.app-blog { margin-top: 48px; }
.app-blog ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.app-blog a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 550; transition: color .2s var(--ease); }
.app-blog a:hover { color: var(--accent-ink, var(--rose)); }
@media (max-width: 700px) { .app-blog ul { grid-template-columns: 1fr; } }

/* Cinder: the session, logged as you scroll */
.mx-step__sub { max-width: 44ch; margin: 18px 0 20px; color: var(--bone-2); }
.mx-log { max-width: 460px; margin: 0 0 22px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mx-log li {
  display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ash); transition: color .3s var(--ease);
}
.mx-log li i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.mx-log li b { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.mx-log li.is-now { color: var(--bone); }
.mx-log li.is-now i { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(237, 167, 168, .16); }
.mx-log li.is-done { color: var(--bone-2); }
.mx-log li.is-done i { background: #E5484D; border-color: #E5484D; box-shadow: 0 0 10px rgba(255, 70, 46, .6); }
.mx-chip span { min-width: 3.2ch; }

/* Cinder: tap a muscle */
.mx-cin__card {
  position: absolute; z-index: 3; right: var(--gutter); bottom: calc(clamp(32px, 7vh, 80px) + 64px);
  width: min(320px, calc(100vw - 2 * var(--gutter))); padding: 18px 20px 16px; pointer-events: auto;
  background: rgba(28, 28, 32, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.mx-cin__card-name { margin: 6px 0 12px; font-stretch: 125%; font-weight: 800; font-size: 24px; line-height: 1; text-transform: uppercase; }
.mx-cin__card-name span { margin-left: 6px; font-stretch: 100%; font-weight: 300; color: var(--rose); }
.mx-cin__card ul { margin: 0; padding: 0; list-style: none; }
.mx-cin__card li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.mx-cin__card li i { font-style: normal; white-space: nowrap; color: var(--ash); }
.mx-cin__card > p:last-child:not(.mx-cin__card-name) { margin: 0; font-size: 14.5px; color: var(--bone-2); }
.mx-cin__card-x {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: none; color: var(--ash); font-size: 22px; line-height: 1; cursor: pointer;
}
.mx-cin__card-x:hover { color: var(--bone); background: rgba(236, 233, 226, .08); }
.mx-cin__tip {
  position: fixed; left: 0; top: 0; z-index: 30; padding: 6px 10px; pointer-events: none;
  background: var(--bone); color: var(--night); border-radius: 2px;
  font-stretch: 62%; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
@media (max-width: 860px) {
  .mx-cin__card { top: calc(var(--hdr) + 10px); bottom: auto; }
  .mx-step .mx-log + .mx-chips { display: none; }
  .mx-step h2 { font-size: 40px; margin-top: 10px; }
  .mx-step__sub { margin: 10px 0 12px; font-size: 14.5px; }
  .mx-log { margin-bottom: 0; }
  .mx-log li { padding: 7px 0; font-size: 14.5px; }
}

/* Cinder: the run replay, the app's night stage */
.mx-run { position: relative; height: 320vh; height: 320svh; border-top: 1px solid var(--line); }
.mx-run__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(55% 50% at 68% 62%, rgba(53, 211, 242, .07), transparent 70%), #0B0B0D;
}
.mx-run__gl { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.mx-run__stage.is-ready .mx-run__gl { opacity: 1; }
.mx-run__badges { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.mx-badge {
  position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 2px;
  margin: -70px 0 0 -18px; padding: 8px 13px 8px 28px; white-space: nowrap;
  background: rgba(11, 11, 13, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid color-mix(in srgb, var(--tint) 45%, transparent); border-radius: 12px;
  opacity: 0; transition: opacity .4s var(--ease);
}
.mx-badge::before { content: ""; position: absolute; left: 12px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--tint); box-shadow: 0 0 10px var(--tint); }
.mx-badge b { font-weight: 650; font-size: 13.5px; }
.mx-badge span { font-size: 12.5px; color: var(--ash); }
.mx-badge.is-on { opacity: 1; }
.mx-run__copy {
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 5vh, 48px);
  height: 100%; padding-top: var(--hdr); pointer-events: none;
}
.mx-run__copy > * > * { pointer-events: auto; }
.mx-run__head .mx-h2 { max-width: 10ch; }
.mx-run__head .mx-text { margin-top: 20px; max-width: 34ch; }
.mx-run__dist { display: flex; align-items: flex-end; gap: 14px; margin: 0; }
.mx-run__dist .mx-num { font-size: clamp(72px, 9vw, 150px); }
.mx-run__dist .mx-read { margin-bottom: 6px; }
.mx-run__now { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; font-size: 15px; color: var(--ash); }
.mx-run__now b { font-weight: 600; font-size: 22px; color: var(--bone); font-variant-numeric: tabular-nums; }
.mx-run__splits { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.mx-run__splits li {
  display: flex; flex-direction: column; gap: 2px; min-width: 86px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; color: var(--ash-2);
  transition: color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.mx-run__splits span { font-stretch: 62%; font-weight: 650; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
.mx-run__splits b { font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }
.mx-run__splits li.is-now { color: var(--bone-2); border-color: var(--line-2); }
.mx-run__splits li.is-done { color: var(--bone); border-color: rgba(53, 211, 242, .5); box-shadow: inset 0 0 18px rgba(53, 211, 242, .12); }
.mx-run__src { max-width: 46ch; margin: 22px 0 0; font-size: 13.5px; color: var(--ash-2); }
@media (max-width: 860px) {
  .mx-run__copy { justify-content: space-between; padding: calc(var(--hdr) + 14px) var(--gutter) 24px; }
  .mx-run__head .mx-text { font-size: 15px; margin-top: 12px; }
  .mx-run__dist .mx-num { font-size: 64px; }
  .mx-run__now b { font-size: 18px; }
  .mx-run__splits li { min-width: 0; flex: 1; padding: 8px 10px; }
  .mx-run__src { display: none; }
}

/* Cinder: get it */
.mx-buy { border-top: 1px solid var(--line); }
.mx-buy__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.mx-buy .mx-lede { margin-top: 24px; }
.mx-buy__card { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--graphite); border: 1px solid var(--line); border-radius: 24px; }
.mx-buy__app { display: flex; align-items: center; gap: 16px; }
.mx-buy__app img { width: 64px; height: 64px; border-radius: 15px; }
.mx-buy__name { margin: 0; font-weight: 700; font-size: 22px; }
.mx-buy__stars { display: flex; align-items: baseline; gap: 10px; margin: 0; font-weight: 300; font-size: 30px; }
.mx-buy__stars > span:first-child { color: #FFD754; }
.mx-buy__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mx-buy__facts li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--bone-2); }
.mx-buy__card .mx-btn { width: 100%; }
@media (max-width: 860px) { .mx-buy__in { grid-template-columns: 1fr; } }

/* ==========================================================================
   App pages (app_base.html). --accent is the app's colour, --accent-ink the same
   colour lifted for type and lines on night.
   ========================================================================== */
.mx-app { --accent-ink: color-mix(in oklab, var(--accent) 68%, #fff); }
.mx-app--cinder { --accent-ink: var(--rose); }

/* The story: a stage pinned for the whole section while the copy scrolls over it
   (static/motion/kit.js). The stage keeps its own height so it lets go when the
   section ends; the hero copy is pulled up over it. */
.mx-story { position: relative; }
.mx-story__stage {
  position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh;
  overflow: hidden; pointer-events: none;
}
.mx-story__glow {
  position: absolute; inset: 0;
  background: radial-gradient(34% 46% at 66% 54%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 72%);
}
.mx-story__word {
  position: absolute; left: 0; right: 0; top: 44%; margin: 0;
  text-align: center; white-space: nowrap;
  font-stretch: 125%; font-weight: 900; font-size: var(--word, 19.4vw); line-height: .8; letter-spacing: -.02em;
  text-transform: uppercase; color: var(--bone);
  opacity: calc(1 - var(--out, 0)); transform: translateY(calc(-50% - var(--out, 0) * 8vh));
}
.mx-story__gl { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.mx-story.is-ready .mx-story__gl { opacity: 1; }
.mx-story__fallback { display: none; position: absolute; top: 16vh; right: 8vw; height: 70vh; width: auto; border-radius: 22px; }
.mx-story.no-gl .mx-story__fallback { display: block; }
.mx-story__hud { position: absolute; right: var(--gutter); bottom: clamp(32px, 7vh, 80px); text-align: right; }
.mx-story__hud b { font-weight: 650; color: var(--bone); }
.mx-story__hero {
  position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh; min-height: 100svh; margin-top: -100vh; margin-top: -100svh;
  padding-bottom: clamp(40px, 9vh, 110px); pointer-events: none;
}
.mx-story__hero .mx-wrap { width: 100%; }
.mx-story__hero .mx-wrap > * { pointer-events: auto; }
.mx-story__hero .mx-lede { margin-top: 22px; }
.mx-story__hero .mx-rating { margin-top: 24px; }
.mx-story--plain { min-height: 100vh; min-height: 100svh; }
.mx-story__steps { position: relative; z-index: 1; pointer-events: none; }
.mx-story__step { display: flex; align-items: center; min-height: 118vh; min-height: 118svh; }
.mx-story--right .mx-story__step { justify-content: flex-end; }
.mx-story__step-in { max-width: 480px; pointer-events: auto; }
.mx-story__step h2 { font-size: clamp(44px, 6.4vw, 110px); margin-top: 18px; }
.mx-story__sub { max-width: 44ch; margin: 18px 0 0; color: var(--bone-2); }
.mx-story__fig { display: flex; align-items: flex-end; gap: 16px; margin: 30px 0 4px; }
.mx-story__fig .mx-num { font-size: clamp(84px, 10vw, 170px); }
.mx-story__fig .mx-read { max-width: 14ch; margin-bottom: 4px; }
.mx-story__src { margin-top: 26px; font-size: 13.5px; color: var(--ash-2); max-width: 46ch; }
.mx-story__src a { color: var(--ash); }
@media (max-width: 860px) {
  .mx-story__word { top: 30%; font-size: var(--word-phone, 21vw); }
  .mx-story__glow { background: radial-gradient(60% 34% at 50% 34%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 72%); }
  .mx-story__hud { display: none; }
  .mx-story__fallback { top: 12vh; right: 50%; height: 44vh; transform: translateX(50%); }
  .mx-story__hero .mx-wrap, .mx-story__step-in {
    padding-top: 48px;
    background: linear-gradient(180deg, transparent, rgba(14, 14, 17, .9) 48px);
  }
  .mx-story__step, .mx-story--right .mx-story__step { justify-content: flex-start; align-items: flex-end; min-height: 110vh; min-height: 110svh; padding-bottom: 6vh; }
  .mx-story__step-in { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); max-width: none; }
  .mx-story__step h2 { font-size: 40px; margin-top: 10px; }
  .mx-story__sub { margin-top: 10px; font-size: 15px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .mx-hero__copy, .mx-chapter__media img { transform: none !important; }
  .mx-cin__word, .mx-story__word { transform: translateY(-50%) !important; }
  .mx-cue i::after, .g-skel-fill { animation: none; }
  .g-item, .gallery-strip-wrap.g-sda .g-item { opacity: 1; transform: none; animation: none; }
  .mx-index__name, .mx-index__row::after, .mx-cin__gl, .mx-run__gl, .mx-story__gl { transition: none; }
}
