/* Fonts: SF Pro from the system on Apple devices; everywhere else Roboto (variable, SIL OFL – assets/fonts/OFL.txt)
   served from this site, never from Google. The browser downloads it only where -apple-system does not exist. */
@font-face {
  font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/roboto-latin-ext.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: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/roboto-latin.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;
}

:root {
  --bg: #000;
  --bg-2: #0d0d0f;
  --card: #1d1d22;
  --card-line: #303037;   /* card borders: a step lighter than --line, so the lighter cards keep an edge */
  --card-hover: #2a2a31;
  --line: #26262b;
  --fg: #fff;
  --muted: #a3a3ab;
  --orange: #eb5b00;
  --red: #e4003a;
  --grad: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
  --radius: 26px;   /* cards and the floating menu */
  --max: 1416px;
  /* one size for every phone mockup (784 × 1600) outside the theme pairs, the same everywhere on a given screen:
     331px wide at most; on short windows smaller so every section fits under the menu, but never under 250px
     (readability first: a section may then run past the window); narrower only when two phones side by side
     must fit half a page (a quarter of the content width); watches stay in proportion */
  --phone-w: min(331px, max(250px, (100vh - 300px) * .49), (min(100vw, 1448px) - 120px) / 4);
  --phone-w: min(331px, max(250px, (100svh - 300px) * .49), (min(100vw, 1448px) - 120px) / 4);
  --watch-w: calc(var(--phone-w) * .62);
}
/* one column: the pair of phones takes the page width */
@media (max-width: 900px) {
  :root { --phone-w: min(331px, (100vw - 40px) / 2); }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Roboto", sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2 { font-weight: 200; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); }
/* Japanese has no spaces: break headings between phrases, not inside words (where supported) */
:lang(ja) :is(h1, h2, h3, .ptile__name) { word-break: auto-phrase; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; }
/* one box for the coloured part: when it wraps, the gradient spans all its lines at once instead of running on
   from the end of one line into the next */
h1 strong, h2 strong {
  display: inline-block;
  font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);   /* grey: the title's gradient stays the only accent */
  margin-bottom: 0.9rem;
}
/* the eyebrow sits under its title: the title moves closer, the eyebrow keeps the gap to the text below */
:is(h1, h2):has(+ .eyebrow) { margin-bottom: 0.7rem; }
:is(h1, h2) + .eyebrow { margin-bottom: 1.3rem; }
.reel__text h1 .eyebrow { margin-top: 0.9rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }

/* NAV */
/* floating rounded bar, 8px off the top, 12px off the sides; logo and button on the page's content edges */
.nav {
  position: sticky; top: 8px; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(calc(var(--max) + 2rem), calc(100% - 24px)); margin: 8px auto 0;
  padding: 0.6rem 1rem;
  /* liquid glass, kept flat: thin tinted glass that bends the colours behind it; the light sits on the rim (::before) */
  background: rgba(14, 14, 18, .3);   /* with the dimmed backdrop (and the links' shadow): readable over white */
  backdrop-filter: blur(20px) saturate(260%) brightness(.7);
  -webkit-backdrop-filter: blur(20px) saturate(260%) brightness(.7);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
}
/* the glass rim: a 1px edge lit from the top left and, fainter, the bottom right, dim along the sides */
.nav::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, .36) 0%, rgba(255, 255, 255, .09) 18%, rgba(255, 255, 255, .05) 50%,
    rgba(255, 255, 255, .09) 82%, rgba(255, 255, 255, .24) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
/* Wordmark: Inter Bold, tight tracking */
.nav__brand, .footer__brand { font-family: -apple-system, BlinkMacSystemFont, "Roboto", sans-serif; font-weight: 700; letter-spacing: -0.025em; }
.nav__brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-size: 1.4rem; line-height: 1; }
.nav__brand img { border-radius: 9px; }
.nav__links { display: flex; position: relative; }
/* logo left, links in the middle of the bar, Download right (one column each, the outer two equal) */
@media (min-width: 901px) {
  .nav { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav__brand { justify-self: start; }   /* only the logo is the link, not its whole column */
  .nav__right { justify-self: end; }
}
.nav__links a { text-decoration: none; color: #d0d0d6; font-size: 1.05rem; font-weight: 400; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); transition: color .2s; }
.nav__links a[aria-current] { font-weight: 500; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--fg); }
.nav__cta, .btn {
  text-decoration: none; font-weight: 500;
  background: var(--grad); color: #fff;
  padding: 0.55rem 1.2rem; border-radius: 999px;
  transition: transform .2s, box-shadow .2s;
}
.nav__cta:hover, .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(228, 0, 58, .35); }
/* secondary action next to a stronger one (feedback under the App Store badge) */
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px rgba(235, 91, 0, .75); }
.btn--ghost:hover { background: rgba(235, 91, 0, .12); box-shadow: inset 0 0 0 1.5px var(--orange); }

/* SECTIONS */
section { padding: 6rem max(16px, calc((100% - var(--max)) / 2)); }
/* sections with phone mockups: on short windows less space above and below, so the section and the menu fit
   the window with the phones at full size (675px phone + 28px offset of the second one + 80px menu) */
@media (min-width: 901px) {
  section:has(.shots, .combo, .setshot, .hero__media) {
    padding-top: clamp(2rem, (100svh - 784px) / 2, 6rem); padding-bottom: clamp(2rem, (100svh - 784px) / 2, 6rem);
  }
}

/* HERO */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3rem;
  padding-top: 4rem; padding-bottom: 4rem;
  min-height: calc(100vh - 62px);
}
.hero .lead { margin: 1.4rem 0 2rem; }
.hero__actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.hero__note { color: var(--muted); font-size: 0.9rem; }
.hero__note .nw { white-space: nowrap; }
.badge img { transition: transform .2s; }
.badge:hover img { transform: scale(1.04); }
.hero__media { position: relative; display: flex; justify-content: center; }
.glow {
  position: absolute; inset: 10% 5%;
  background: var(--grad); filter: blur(90px); opacity: .45; border-radius: 50%;
}
.hero__phone { position: relative; width: min(var(--phone-w), 72%); }
/* watch = 62% of the phone width; bottom offset compensates the mockups' transparent margins
   so the strap and the phone end on the same line */
.hero__watch { position: absolute; width: min(var(--watch-w), 44.6%); right: 2%; bottom: -0.45%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
/* home: the iPhone counts down alone for 1 s, then the watch rises in (main.js, data-watch-joins);
   up from below, not in from the side, so it never widens the page on phones */
.hero__media[data-watch-joins]:not(.is-solo) .hero__watch { transition: opacity .9s ease, transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.hero__media.is-solo .hero__watch { opacity: 0; transform: translateY(14%) scale(.94); }   /* hidden at once, animated only coming in */
/* the iPhone alone has no heart rate (it comes from the watch): a work layer without that row covers it,
   and the heart stays off, until the watch comes in */
.live__nohr { position: absolute; inset: 0; height: 100%; opacity: 0; pointer-events: none; }
.hero__media[data-watch-joins]:not(.is-solo) .live__nohr,
.hero__media[data-watch-joins]:not(.is-solo) .live__heart { transition: opacity .9s ease; }
.hero__media.is-solo .live.is-live .live__nohr { opacity: 1; }
.hero__media.is-solo .live.is-live .live__heart { opacity: 0; }
/* the pair, not the phone, sits on the axis: phone and watch in a row, the watch always a little over the phone
   (12% of the phone width); 64% + 62% of it − 12% of it = 96% of the column at most */
.hero__media[data-watch-joins] { --pw: min(var(--phone-w), 64%); align-items: flex-end; }
.hero__media[data-watch-joins] .hero__phone { width: var(--pw); }
.hero__media[data-watch-joins] .hero__watch {
  position: relative; right: auto; bottom: auto; z-index: 1; flex: none;
  width: calc(var(--pw) * .62); margin-left: calc(var(--pw) * -.12); margin-bottom: calc(var(--pw) * -.01);
}
/* Live hero (main.js): digit-less work / rest screenshots, the app's progress ring and digit sprites
   on top of the still picture. Positions are percent of the mockup – printed by shared/live-hero.py. */
.live img { display: block; width: 100%; height: auto; }
.live picture { display: contents; }
.live__layer, .live__ring, .live__num { position: absolute; opacity: 0; pointer-events: none; }
.live .live__layer { inset: 0; height: 100%; transition: opacity .45s ease; }
.live__ring { inset: 0; width: 100%; height: 100%; }
.live__ring circle { fill: none; stroke: #fff; stroke-width: 18.12; stroke-linecap: round; stroke-dasharray: 0 100; }
.live__num { display: flex; justify-content: center; transform: translate(-50%, -50%); }
.live__num i { width: 50%; height: 100%; background: url(../img/live-digits-iphone.png) 0 0 / 1000% 100% no-repeat; }
.hero__phone .live__num { left: 50.03%; top: 49.20%; width: 21.18%; height: 9.81%; }
.hero__watch .live__num { left: 50.08%; top: 45.70%; width: 15.82%; height: 10.56%; }
.hero__watch .live__num i { background-image: url(../img/live-digits-watch.png); }
.hero__watch .live__ring circle { stroke-width: 12.11; }
/* the heart next to the heart rate beats at the 81 BPM both screens show */
.live .live__heart { position: absolute; height: auto; opacity: 0; transform-origin: 50% 55%; }
.live.is-live .live__heart { opacity: 1; animation: heart-beat .741s ease-out infinite; }
@keyframes heart-beat {
  0%, 45%, 100% { transform: scale(1); }
  12%           { transform: scale(1.22); }
  24%           { transform: scale(1.04); }
  32%           { transform: scale(1.12); }
}
.live.is-live .live__layer:not(.live__rest), .live.is-live .live__ring, .live.is-live .live__num,
.live.is-live.is-rest .live__rest { opacity: 1; }

/* REEL: fills the browser window under the menu – the title on the left, the whole 16:9 clip on the right
   (as large as fits, vertically centred); its edges blend into the black page, the rest of the page comes on scroll */
.reel {
  --nav-h: 71px;   /* space the floating menu takes (8px gap + bar): the reel slides under it, from the top of the window */
  display: grid; grid-template-columns: 32% 10% 1fr; align-items: center; padding: 0;
  margin-top: calc(-1 * var(--nav-h));
  min-height: 100vh; min-height: 100svh;
}
.reel__frame {   /* right of the title, the window's full height; the clip is cropped at the sides, never the person */
  grid-column: 2 / 4; grid-row: 1; align-self: stretch; position: relative; overflow: hidden;
}
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, #000 0%, rgba(0,0,0,.72) 6%, rgba(0,0,0,.38) 12%, rgba(0,0,0,.14) 18%, transparent 25%),   /* eased, no visible edge */
    linear-gradient(to bottom, #000 0%, transparent 8%, transparent 92%, #000 100%);
}
.reel__text {
  grid-column: 1 / 3; grid-row: 1; position: relative; z-index: 1;
  padding: calc(var(--nav-h) + 1rem) 0 2rem max(16px, calc((100vw - var(--max)) / 2));
}
.reel__text h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.reel__text h1 .eyebrow { display: block; line-height: 1.5; text-shadow: none; }   /* the search phrase, part of the h1 */
.reel__text .lead { margin: 1.2rem 0 1.8rem; font-size: 1.1rem; }
.reel__text :is(h1, .lead) { text-shadow: 0 0 18px #000, 0 0 36px rgba(0,0,0,.8); }   /* readable where the text runs onto the clip */
.reel__text h1 strong { text-shadow: none; }   /* gradient text: a shadow would show through it */
.hero--feature { min-height: 0; padding-top: 6rem; padding-bottom: 6rem; }

/* FEATURE */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
.feature--reverse .feature__media { order: 2; }
.feature__text > p { color: var(--muted); margin-bottom: 1.2rem; }
.checks { list-style: none; display: grid; gap: 0.75rem; margin: 1.2rem 0; }
.checks li { position: relative; padding-left: 1.8rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--grad);
}
.quote { font-style: italic; color: var(--fg) !important; font-weight: 400; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags span { border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.8rem; font-size: 0.85rem; color: var(--fg); }
/* workout types as a plain list with small Ares-gradient dots between them, no boxes */
.tags--dots { gap: 0.35rem 0; }
.tags--dots span { border: 0; border-radius: 0; padding: 0; font-size: 0.95rem; color: var(--muted); display: inline-flex; align-items: center; }
.tags--dots span:not(:last-child)::after {
  content: ""; width: 5px; height: 5px; margin: 0 0.75em; border-radius: 50%; background: var(--grad); flex: none;
}

/* gentle cascade: main screen in front, second one slightly smaller, dimmer and tucked behind */
.shots { display: flex; justify-content: center; align-items: flex-start; }
.shots img { width: min(var(--phone-w), 50%); filter: drop-shadow(0 24px 40px rgba(0,0,0,.7)); }
.shots > :nth-child(1) img, .shots > img:nth-child(1) {
  position: relative; z-index: 2;
  filter: drop-shadow(-10px 22px 34px rgba(0,0,0,.75));
}
.shots > :nth-child(2) img, .shots > img:nth-child(2) {
  position: relative; z-index: 1;
  margin-left: -6%;
  transform: translateY(1.75rem) scale(.92);
  transform-origin: top left;
  filter: brightness(.82) drop-shadow(0 24px 40px rgba(0,0,0,.7));
}
.shots--single img { width: min(var(--watch-w), 70%); }   /* a single watch (Plus without app shots) *//* second shot that is dark on its own (an overlay in the app): keep it at full brightness */
.shots--undimmed > :nth-child(2) img, .shots--undimmed > img:nth-child(2) { filter: drop-shadow(0 24px 40px rgba(0,0,0,.7)); }

/* PLUS */
.plus { text-align: center; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plus .lead { margin: 0 auto 2.5rem; }
.plus__note { margin-top: 2rem; color: var(--muted); font-size: 0.92rem; }
/* home: six Plus tiles in pairs (3 × 2, phones 2 × 3), each the perk's name over a square picture of its
   real screen with the device bezel (transparent around it, shared/plus-tiles.py) on a soft glow, in a rounded
   square; the whole tile links to the perk on /plus/ */
.plus__tiles {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  max-width: 1040px; margin: 0 auto;
}
.ptile a {
  display: flex; flex-direction: column; gap: 0.9rem; height: 100%; padding: 0.9rem 0.9rem 1.1rem;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 18px;
  color: var(--fg); text-decoration: none; transition: background .2s ease, transform .2s ease;
}
.ptile a:hover { background: var(--card-hover); transform: translateY(-2px); }
.ptile a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.ptile__shot { position: relative; display: block; margin-top: auto; }
.ptile__shot img, .ptile__shot picture { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.ptile__shot img {
  border-radius: 12px;
  background: radial-gradient(circle at 50% 70%, rgba(235, 91, 0, .16), transparent 65%), var(--bg-2);
}
.ptile__name { font-weight: 500; line-height: 1.35; text-wrap: balance; min-height: 2.7em; display: flex; align-items: center; justify-content: center; }
/* recordings tile: what the workout says, in the bubble of /plus/ (.say), on the empty screen above the button;
   the speaker sends out its waves */
.tile-say {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 0.6em; padding: 0.5em 1em 0.55em 0.75em; border-radius: 14px;
  background: var(--grad); color: #fff; font-size: clamp(0.66rem, 1.4vw, 0.86rem); line-height: 1.3; white-space: nowrap;
  box-shadow: 0 0 0 3px rgba(235, 91, 0, .22), 0 6px 16px rgba(0,0,0,.5);
  animation: mark-pulse 2.4s ease-in-out infinite;
}
.tile-say > .picon { width: 1.9em; height: 1.9em; flex: none; }
.tile-say .spk path:nth-child(n+2) { animation: spk 1s ease-out infinite; }
.tile-say .spk path:nth-child(3) { animation-delay: .15s; }
.tile-say .spk path:nth-child(4) { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .tile-say, .tile-say .spk path { animation: none !important; } }
@media (max-width: 760px) {
  .plus__tiles { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .ptile a { padding: 0.6rem 0.6rem 0.8rem; gap: 0.6rem; border-radius: 14px; }
  .ptile__name { font-size: 0.9rem; }
  .tile-say { font-size: 0.56rem; gap: 0.45em; padding: 0.45em 0.8em 0.5em 0.6em; }   /* within the phone's screen */
}
.plus__more { display: inline-block; margin-top: 1.4rem; }

/* CTA */
.cta { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; padding-bottom: 3rem; }
.cta__text { display: grid; gap: 1.4rem; justify-items: start; }
.cta__text p { color: var(--muted); max-width: 26em; }

/* FOOTER */
.footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 2rem max(16px, calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem;
}
/* Before ©: white runner from the app icon, without its background (render-icon.swift), and the name */
.footer__brand { color: var(--fg); }
/* Inline, so the name sits on the text baseline; the runner is centred on the capitals */
/* Runner (0.86em wide) centred in a 1.4em slot, like the eris.one mark (1.1em + 0.3em): both names start on one axis */
.footer__brand img { display: inline; width: auto; height: 1.35em; margin: 0 0.42em 0 0.12em; vertical-align: -0.3em; }
.footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__right { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
/* Wide screens: links centred on the page; Ares and © in the row below, with the language button on the right
   (its menu opens leftwards). 1100px fits the longest row (pt-BR); narrower: button before ©. */
@media (min-width: 1100px) {
  .footer { display: grid; grid-template-columns: 1fr auto 1fr; }
  .footer nav { grid-column: 2; justify-content: center; }
  .footer__right { display: contents; }
  .footer__right p { grid-column: 1 / 3; grid-row: 2; }
  .footer__right .lang { grid-column: 3; grid-row: 2; justify-self: end; }
  .footer__right .lang ul { left: auto; right: 0; }
  .footer__right p, .footer__legal { margin: 0; }
  .footer__legal { grid-column: 1 / -1; }
  /* + the 1rem row gap = the footer's top padding: as much space below the links as above them */
  .footer__right p { margin-top: 1rem; }
  /* centred on the © line without making the row taller than the text */
  .footer__right .lang { margin: 0.5rem 0 -0.5rem; }
}
@media (max-width: 1099px) { .footer__right .lang { order: -1; } }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--fg); }
/* Author and eris.one links: a little apart from "© 2026" and underlined, so they read as links */
.footer .footer__author {
  margin-left: 0.3em;
  text-decoration: underline; text-decoration-color: var(--line);
  text-decoration-thickness: 1px; text-underline-offset: 0.3em;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.footer .footer__author:hover { text-decoration-color: currentColor; }
/* eris.one mark (the crescent "e" of the brand logo) before the brand name, in the link colour */
.footer__mark { width: 1.1em; height: 1.1em; margin-right: 0.3em; vertical-align: -0.2em; fill: currentColor; }
.footer .footer__author, .footer__brand { white-space: nowrap; }
/* Dots between Ares, © and eris.one: the same, roomy space on both sides */
.footer__dot { margin: 0 0.7em; }
.footer .footer__erisone { margin-left: 0; }
/* Phones: the © line does not fit, so eris.one gets its own line (without the dot) */
@media (max-width: 520px) {
  .footer__sep { display: none; }
  .footer .footer__erisone { display: block; width: fit-content; margin: 0.6rem 0 0; }
}
/* External-link arrow after the name, drawn like the globe in the language button */
.footer .footer__author::after {
  content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-left: 0.2em; vertical-align: -0.15em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.footer__legal { flex-basis: 100%; margin: 0; font-size: 0.75rem; opacity: 0.7; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  /* phones: the clip starts under the menu instead of sliding beneath it, as far below it as the menu is from the top
     (8px); the reel fills the rest of the window */
  .reel {
    --nav-h: 67px; grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start;
    margin-top: 8px; min-height: calc(100vh - var(--nav-h) - 8px); min-height: calc(100svh - var(--nav-h) - 8px);
  }
  .reel__frame { grid-column: 1; width: 100%; aspect-ratio: 16 / 9; }
  .reel__frame::after { display: none; }
  .reel__text { grid-column: 1; grid-row: 2; align-self: center; padding: 1.5rem 16px; text-align: center; }
  .reel__text .hero__actions { justify-content: center; }
  .reel__text .lead { margin-left: auto; margin-right: auto; }
  .hero--feature { padding-top: 4rem; padding-bottom: 4rem; }
  .hero--feature .hero__media { order: -1; }   /* devices above the text, like the other features */
  .nav__links { display: none; }
  section { padding-top: 4rem; padding-bottom: 4rem; }
  .hero, .feature, .cta { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { min-height: auto; text-align: center; padding-top: 2.5rem; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .checks { text-align: left; max-width: 30em; margin-left: auto; margin-right: auto; }   /* centred block, text by its dots */
  .hero__actions { justify-content: center; }
  .feature--reverse .feature__media { order: 0; }
  .cta { text-align: center; }
  .cta__text { justify-items: center; }
}

/* LEGAL PAGES */
.legal {
  max-width: 760px; margin: 0 auto;
  padding: 4rem 16px 5rem;
}
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; }
.legal .eyebrow { color: var(--muted); }   /* not the document's text colour */
.legal h2 {
  font-size: 1.25rem; font-weight: 500; margin: 2.4rem 0 0.8rem;
  padding-top: 1.2rem; border-top: 1px solid var(--line);
}
.legal p, .legal li { color: #d4d4da; margin-bottom: 0.9rem; }
.legal strong { color: var(--fg); font-weight: 500; }
.legal ul { padding-left: 1.3rem; margin-bottom: 0.9rem; }
.legal li { margin-bottom: 0.5rem; }
.legal li::marker { color: var(--orange); }
.legal a { color: var(--orange); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__date { color: var(--muted) !important; font-size: 0.95rem; }
.footer a[aria-current="page"] { color: var(--fg); }
.anchor { position: absolute; }

/* LANGUAGE SWITCHER */
.nav__right { display: flex; align-items: center; gap: 0.8rem; }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; user-select: none; white-space: nowrap;
  font-size: 0.85rem; font-weight: 400;
  padding: 0.45rem 0.8rem; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); transition: color .2s, border-color .2s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::before {
  content: ""; display: inline-block; width: 1em; height: 1em; margin-right: 0.45em; vertical-align: -0.15em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lang summary:hover, .lang[open] summary { color: var(--fg); border-color: #3a3a42; }
.lang ul {
  position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 20;
  list-style: none; min-width: 200px; padding: 0.4rem;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
}
.lang a {
  display: block; padding: 0.5rem 0.8rem; border-radius: 9px;
  text-decoration: none; color: var(--muted); font-size: 0.95rem;
}
.lang a:hover { background: #1f1f24; color: var(--fg); }
.lang a[aria-current] { color: var(--fg); font-weight: 500; }
.lang a[aria-current]::after { content: " ✓"; color: var(--orange); }

/* OFFICIAL APP STORE BADGE */
.badge img { width: auto; height: 54px; }

.legal__note {
  font-size: 0.9rem; color: var(--muted) !important;
  border-left: 2px solid var(--orange); padding-left: 0.9rem; margin-bottom: 1.6rem !important;
}
@media (max-width: 420px) {
  .nav__cta { padding: 0.5rem 0.9rem; font-size: 0.9rem; }
  .nav__brand span { display: none; }
}

/* <picture> wrappers (AVIF) must not affect layout */
picture { display: contents; }
picture > source { display: none; }

/* PHONE + WATCH COMBO (feature section) */
.combo { position: relative; display: flex; justify-content: center; }
.combo .glow { inset: 15% 10%; opacity: .4; }
.combo__phone { position: relative; width: min(var(--phone-w), 64%); filter: drop-shadow(0 24px 40px rgba(0,0,0,.7)); }
.combo__watch { position: absolute; width: min(var(--watch-w), 39.7%); right: 4%; bottom: -0.45%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.health-badge { height: 44px; width: auto; margin-top: 0.4rem; }

.cta__lead { color: var(--fg) !important; font-size: 1.15rem; }

/* Heartbeat glow behind the devices: a soft, continuous "lub-dub" */
.glow {
  --glow-base: .45;
  animation: heartbeat 1.4s ease-in-out infinite;
  will-change: transform, opacity;
}
/* Apple Watch section: blue glow matching the cool-down screen, slower "resting" heartbeat */
.combo .glow {
  --glow-base: .55;
  background: linear-gradient(135deg, #3f4bd1 0%, #7b6fd6 100%);
  animation-duration: 3.2s;
}
/* both beats spread over the whole cycle – slow, soft swells with no idle gap */
@keyframes heartbeat {
  0%, 100% { transform: scale(1);    opacity: var(--glow-base); }
  25%      { transform: scale(1.07); opacity: calc(var(--glow-base) + .2); }
  45%      { transform: scale(1.02); opacity: calc(var(--glow-base) + .06); }
  70%      { transform: scale(1.05); opacity: calc(var(--glow-base) + .15); }
}
/* Hero: HIIT-style double beat – two distinct pulses with a short gap, then a brief rest */
.hero .glow { animation: heartbeat-hiit 1.5s ease-in-out infinite; }
@keyframes heartbeat-hiit {
  0%, 62%, 100% { transform: scale(1);    opacity: var(--glow-base); }
  14%           { transform: scale(1.07); opacity: calc(var(--glow-base) + .2); }
  27%           { transform: scale(1);    opacity: var(--glow-base); }
  41%           { transform: scale(1.06); opacity: calc(var(--glow-base) + .17); }
}
/* Live hero rest phase: the blue, slow "resting" glow of the Apple Watch section fades in */
.hero__glow { position: absolute; inset: 0; transition: opacity .8s ease; }
.hero__glow--rest, .hero.is-rest .hero__glow { opacity: 0; }
.hero.is-rest .hero__glow--rest { opacity: 1; }
/* …and "Every workout." turns into "Every cool down." (the app's rest label) in the rest gradient (main.js adds both lines; the h1
   itself stays as written). Registered colours so the gradient fades; both lines share one grid cell,
   so the longer one sets the width and nothing around moves. */
@property --title-a { syntax: "<color>"; inherits: true; initial-value: #eb5b00; }
@property --title-b { syntax: "<color>"; inherits: true; initial-value: #e4003a; }
.hero [data-rest] strong { transition: --title-a .8s ease, --title-b .8s ease; }
.hero [data-rest] strong.is-swap { display: inline-grid; background: none; }
.hero [data-rest] strong.is-swap > span {
  grid-area: 1 / 1;
  background: linear-gradient(135deg, var(--title-a) 0%, var(--title-b) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  transition: opacity .8s ease;
}
.hero [data-rest] strong.is-swap > .t-rest, .hero.is-rest h1 strong.is-swap > .t-work { opacity: 0; }
.hero.is-rest h1 strong.is-swap > .t-rest { opacity: 1; }
.hero.is-rest h1 strong { --title-a: #5560e6; --title-b: #8b80e0; }
/* Plus "Look": the title runs through the app's theme gradients (main.js, theme picker) */
@property --look-a { syntax: "<color>"; inherits: false; initial-value: #eb5b00; }
@property --look-b { syntax: "<color>"; inherits: false; initial-value: #e4003a; }
[data-theme-title] strong {
  background: linear-gradient(135deg, var(--look-a) 0%, var(--look-b) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  transition: --look-a .9s ease, --look-b .9s ease;
}
.hero .hero__glow--rest .glow {
  --glow-base: .55;
  background: linear-gradient(135deg, #3f4bd1 0%, #7b6fd6 100%);
  animation: heartbeat 3.2s ease-in-out infinite;
  animation-play-state: paused;              /* beats only in the rest phase, see below */
}
/* nobody sees it, nobody computes it: glows stop off screen (main.js .is-paused), the hero's blue rest
   glow beats only in the rest phase */
.glow.is-paused { animation-play-state: paused; }
.hero.is-rest .hero__glow--rest .glow:not(.is-paused) { animation-play-state: running; }
@media (prefers-reduced-motion: reduce) {
  .glow { animation: none; }
}

/* COOKIE CONSENT */
.consent {
  position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin: 0 auto; padding: 1.1rem 1.2rem;
  background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
  display: flex; align-items: center; gap: 1rem;
}
.consent[hidden] { display: none; }
.consent p { font-size: 0.9rem; color: var(--muted); }
.consent a { color: var(--fg); text-underline-offset: 3px; }
.consent__actions { display: flex; gap: 0.5rem; flex: none; }
.consent__btn {
  font: inherit; font-weight: 500; font-size: 0.9rem; cursor: pointer;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: transparent; color: var(--fg); border: 1px solid #3a3a42;
}
.consent__btn:hover { border-color: var(--orange); }
.footer__link {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer;
}
.footer__link:hover { color: var(--fg); }
@media (max-width: 520px) {
  .consent { flex-direction: column; align-items: stretch; }
  .consent__actions .consent__btn { flex: 1; }
}

/* ARES PLUS PAGE */
.picon { width: 22px; height: 22px; flex: none; }
.pp-hero .glow { inset: 12% 8%; }
.pcard {
  position: relative; width: min(420px, 100%);
  background: rgba(29, 29, 34, .92); border: 1px solid var(--card-line); border-radius: 24px;
  padding: 1.4rem 1.2rem 1rem; box-shadow: 0 30px 60px rgba(0,0,0,.6);
}
.pcard__title { font-weight: 500; margin: 0 0.4rem 0.6rem; }
.pcard ul { list-style: none; }
.pcard a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.55rem 0.95rem 0.55rem 0.4rem; border-radius: 10px;
  text-decoration: none; font-size: 0.97rem; font-weight: 400;
  transition: background .2s;
}
.pcard a::after { content: "›"; margin-left: auto; color: #5c5c64; font-size: 1.2rem; line-height: 1; }
.pcard a:hover { background: var(--card-hover); }
.pcard .picon { width: 20px; height: 20px; color: var(--fg); }
/* Rows come in one by one; then the icons take turns to do their thing (main.js .is-anim). A hovered or
   focused row is also highlighted (.is-on) – the automatic turns only move the icon. */
.pcard li { animation: pcard-in .5s ease both; animation-delay: calc(.15s + var(--i) * 60ms); }
@keyframes pcard-in { from { opacity: 0; transform: translateY(8px); } }
.pcard a::after { transition: transform .25s ease, color .25s ease; }
.pcard a.is-on { background: var(--card-hover); }
.pcard a.is-on::after { transform: translateX(3px); color: var(--orange); }
.pcard .picon * { transform-box: fill-box; transform-origin: center; }
.pcard [data-perk="rec"] rect, .pcard [data-perk="icons"] rect { fill: currentColor; fill-opacity: 0; }
.pcard [data-perk="themes"] circle { fill: currentColor; }
.pcard a.is-anim[data-perk="rec"] rect { animation: mic-level .9s ease-in-out infinite; }
@keyframes mic-level { 50% { fill-opacity: .6; } }
.pcard a.is-anim[data-perk="times"] .hand { transform-box: view-box; transform-origin: 12px 13px; animation: hand 2s steps(8) infinite; }
@keyframes hand { to { transform: rotate(360deg); } }
.pcard a.is-anim[data-perk="watch"] .picon { animation: buzz 1.1s ease-in-out infinite; }
@keyframes buzz {
  0%, 45%, 100% { transform: none; }
  6% { transform: rotate(-9deg); } 12% { transform: rotate(8deg); } 18% { transform: rotate(-6deg); }
  24% { transform: rotate(4deg); } 30% { transform: rotate(-2deg); }
}
.pcard a.is-anim[data-perk="voice"] path { animation: eq .42s ease-in-out infinite alternate; }
.pcard a.is-anim[data-perk="voice"] path:nth-child(2) { animation-delay: -.12s; }
.pcard a.is-anim[data-perk="voice"] path:nth-child(3) { animation-delay: -.3s; }
.pcard a.is-anim[data-perk="voice"] path:nth-child(4) { animation-delay: -.06s; }
.pcard a.is-anim[data-perk="voice"] path:nth-child(5) { animation-delay: -.22s; }
.pcard a.is-anim[data-perk="voice"] path:nth-child(6) { animation-delay: -.36s; }
/* patterns: the pyramid builds up bar by bar from the floor, like the app's Pattern chart */
.pcard [data-perk="pattern"] rect { fill: currentColor; fill-opacity: 0; transform-origin: bottom; }
.pcard a.is-anim[data-perk="pattern"] rect { animation: rise 1.6s ease-out infinite; }
.pcard a.is-anim[data-perk="pattern"] rect:nth-child(2) { animation-delay: .1s; }
.pcard a.is-anim[data-perk="pattern"] rect:nth-child(3) { animation-delay: .2s; }
.pcard a.is-anim[data-perk="pattern"] rect:nth-child(4) { animation-delay: .3s; }
.pcard a.is-anim[data-perk="pattern"] rect:nth-child(5) { animation-delay: .4s; }
@keyframes rise { 0% { transform: scaleY(.15); } 35%, 100% { transform: none; } }
.pcard a.is-anim[data-perk="sounds"] path:nth-child(n+2) { animation: spk 1s ease-out infinite; }
.pcard a.is-anim[data-perk="sounds"] path:nth-child(3) { animation-delay: .15s; }
.pcard a.is-anim[data-perk="themes"] circle { animation: palette 1.6s linear infinite; }
.pcard a.is-anim[data-perk="themes"] circle:nth-of-type(2) { animation-delay: -.53s; }
.pcard a.is-anim[data-perk="themes"] circle:nth-of-type(3) { animation-delay: -1.07s; }
@keyframes palette {
  0%, 100% { fill: #e4003a; stroke: #e4003a; } 20% { fill: #343cb2; stroke: #343cb2; }
  40% { fill: #41be60; stroke: #41be60; } 60% { fill: #f7ce00; stroke: #f7ce00; } 80% { fill: #f56fad; stroke: #f56fad; }
}
.pcard a.is-anim[data-perk="wthemes"] .picon { transform-origin: 25% 85%; animation: brush .9s ease-in-out infinite; }
@keyframes brush { 50% { transform: rotate(-14deg); } }
.pcard a.is-anim[data-perk="icons"] rect { animation: tile 1.2s ease-in-out infinite; }
.pcard a.is-anim[data-perk="icons"] rect:nth-child(2) { animation-delay: .15s; }
.pcard a.is-anim[data-perk="icons"] rect:nth-child(4) { animation-delay: .3s; }
.pcard a.is-anim[data-perk="icons"] rect:nth-child(3) { animation-delay: .45s; }
@keyframes tile { 30% { transform: scale(.75); fill-opacity: .8; } 60% { transform: scale(1); fill-opacity: 0; } }
.pcard a.is-anim[data-perk="family"] .second { animation: join 1.6s ease-out infinite; }
@keyframes join { 0% { opacity: 0; transform: translateX(-4px); } 35%, 100% { opacity: 1; transform: none; } }
.pcard a.is-anim[data-perk="contact"] .flap { transform-box: view-box; transform-origin: 12px 7px; animation: flap 1.4s ease-in-out infinite; }
@keyframes flap { 40%, 60% { transform: scaleY(-.55); } }
.pcard a.is-anim[data-perk="future"] path { animation: twinkle 1s ease-in-out infinite; }
.pcard a.is-anim[data-perk="future"] path:nth-child(2) { animation-delay: .35s; }
@keyframes twinkle { 50% { transform: scale(.6) rotate(25deg); opacity: .55; } }
/* "Unlock more.": when the page opens, "more." grows from a bit smaller to its full size, once. Scaled, so the
   words around stay put; its own gradient because a transformed word drops out of the parent's
   background-clip: text. */
.pp-hero h1 .more {
  display: inline-block; transform-origin: 50% 85%;
  background: linear-gradient(135deg, #e9353a 0%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  animation: more .9s cubic-bezier(.3, 1.4, .5, 1) .5s both;
}
@keyframes more {
  from { transform: scale(.8); opacity: .5; }
  to   { transform: scale(1);   opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard li, .pp-hero h1 .more, .pcard a.is-anim .picon, .pcard a.is-anim .picon * { animation: none; }
}

/* anchors land below the sticky nav */
.pp [id] { scroll-margin-top: 80px; }

.steps { list-style: none; counter-reset: step; display: grid; gap: 0.9rem; margin: 1.4rem 0; }
.steps li { counter-increment: step; position: relative; padding-left: 2.6rem; min-height: 1.9rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -0.1rem;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; font-weight: 500; font-size: 0.9rem;
}
.pnote {
  font-size: 0.9rem; color: var(--muted) !important;
  border-left: 2px solid var(--orange); padding-left: 0.9rem;
}

/* voice recording visual */
.rec {
  width: min(360px, 100%); margin: 0 auto; padding: 2.4rem 1.6rem 1.8rem;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 28px;
  display: grid; justify-items: center; gap: 1.6rem;
}
.rec__mic {
  width: 96px; height: 96px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(235, 91, 0, .12), 0 0 0 26px rgba(235, 91, 0, .06);
}
.rec__mic .picon { width: 42px; height: 42px; }
.rec__wave { display: flex; align-items: center; gap: 5px; height: 56px; }
.rec__wave i {
  display: block; width: 5px; height: 100%; border-radius: 3px; background: var(--grad);
  transform: scaleY(.25); animation: wave 1.2s ease-in-out infinite;
}
.rec__wave i:nth-child(3n)   { animation-delay: -.2s; }
.rec__wave i:nth-child(3n+1) { animation-delay: -.55s; }
.rec__wave i:nth-child(4n)   { animation-delay: -.9s; animation-duration: 1s; }
.rec__wave i:nth-child(5n)   { animation-delay: -.35s; animation-duration: 1.4s; }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.rec__time { font-size: 1.6rem; font-weight: 300; font-variant-numeric: tabular-nums; }
.rec__time span { color: var(--muted); }

/* custom time picker visual */
.wheel {
  position: relative; width: min(300px, 100%); margin: 0 auto; padding: 1.2rem 0;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 28px;
  display: grid; justify-items: center; font-size: 1.5rem; font-variant-numeric: tabular-nums;
}
.wheel::before {
  content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 3.2rem;
  transform: translateY(-50%); border-radius: 14px; background: var(--card-hover);
}
.wheel span { position: relative; line-height: 3.2rem; color: #5c5c64; }
.wheel span:nth-child(2), .wheel span:nth-child(4) { color: var(--muted); }
.wheel .is-custom { color: var(--fg); font-weight: 400; }
.wheel .is-custom::after {
  content: "Plus"; position: absolute; left: calc(100% + 0.8rem); top: 50%; transform: translateY(-50%);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--grad); padding: 0.15rem 0.55rem; border-radius: 999px; line-height: 1.5;
}

/* set screenshot with the voice recording marks drawn over each training row */
.setshot { display: grid; gap: 2.4rem; }
.setshot__pair { display: flex; justify-content: center; align-items: flex-start; }
.setshot__rec {
  position: relative; z-index: 2; width: min(var(--phone-w), 50%);
  filter: drop-shadow(-10px 22px 34px rgba(0,0,0,.75));
}
.setshot__phone {
  position: relative; z-index: 1; width: min(var(--phone-w), 50%); margin-left: -6%;
  transform: translateY(1.75rem) scale(.92); transform-origin: top left;
}
.setshot__phone img { width: 100%; filter: drop-shadow(0 24px 40px rgba(0,0,0,.7)); }
.setshot__marks { list-style: none; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
/* marks on one vertical axis, joined by orange dots; the first one says what the workout says */
.setshot__marks { --axis: 80%; }
.setshot__marks::before {
  content: ""; position: absolute; left: var(--axis); top: var(--first); bottom: var(--last);
  width: 6px; transform: translateX(-50%);
  background: radial-gradient(circle, var(--orange) 1.8px, transparent 2.3px) center top / 6px 9px repeat-y;
}
.setshot__marks li {
  position: absolute; left: var(--axis); transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 0.3em;
  background: var(--grad); border-radius: 999px; padding: 0.2em 0.55em 0.2em 0.45em;
  font-size: clamp(0.6rem, 1.6vw, 0.74rem); font-weight: 500; line-height: 1.3; white-space: nowrap;
  box-shadow: 0 0 0 3px rgba(235, 91, 0, .22), 0 6px 16px rgba(0,0,0,.5);
  animation: mark-pulse 2.4s ease-in-out infinite;
}
.setshot__marks li:nth-child(2) { animation-delay: .3s; }
.setshot__marks li:nth-child(3) { animation-delay: .6s; }
.setshot__marks li:nth-child(4) { animation-delay: .9s; }
.setshot__marks li:nth-child(5) { animation-delay: 1.2s; }
.setshot__marks .picon { width: 1.15em; height: 1.15em; }
@keyframes mark-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(235, 91, 0, .22), 0 6px 16px rgba(0,0,0,.5); }
  50%      { box-shadow: 0 0 0 7px rgba(235, 91, 0, .08), 0 6px 16px rgba(0,0,0,.5); }
}
.setshot__marks .say {
  gap: 0.6em; border-radius: 14px; padding: 0.5em 1em 0.55em 0.75em;
  font-size: clamp(0.66rem, 1.8vw, 0.86rem);
}
.setshot__marks .say > .picon { width: 1.9em; height: 1.9em; }
.say__text { display: grid; justify-items: center; gap: 0.1em; text-align: center; }
.say__cue { font-weight: 400; opacity: .85; }
.say__you { font-size: 1.15em; font-weight: 500; }
/* Playback (main.js): the marks play one after another for their recording length. The playing one
   glows, its waveform bounces, the speaker sends out its waves; a playhead runs down the dotted axis. */
.setshot__marks.is-live li { animation: none; transition: box-shadow .3s ease, scale .3s ease; }
.setshot__marks.is-live li.is-playing { box-shadow: 0 0 0 6px rgba(235, 91, 0, .3), 0 0 26px rgba(235, 91, 0, .55), 0 6px 16px rgba(0,0,0,.5); scale: 1.08; }
.setshot__marks .eq path { transform-box: fill-box; transform-origin: center; }
.setshot__marks li.is-playing .eq path { animation: eq .42s ease-in-out infinite alternate; }
.setshot__marks li.is-playing .eq path:nth-child(2) { animation-delay: -.12s; }
.setshot__marks li.is-playing .eq path:nth-child(3) { animation-delay: -.3s; }
.setshot__marks li.is-playing .eq path:nth-child(4) { animation-delay: -.06s; }
.setshot__marks li.is-playing .eq path:nth-child(5) { animation-delay: -.22s; }
.setshot__marks li.is-playing .eq path:nth-child(6) { animation-delay: -.36s; }
@keyframes eq { from { transform: scaleY(.3); } to { transform: scaleY(1.15); } }
.setshot__marks .say.is-playing .spk path:nth-child(n+2) { animation: spk 1s ease-out infinite; }
.setshot__marks .say.is-playing .spk path:nth-child(3) { animation-delay: .15s; }
.setshot__marks .say.is-playing .spk path:nth-child(4) { animation-delay: .3s; }
@keyframes spk { 0%, 100% { opacity: .2; } 30% { opacity: 1; } }
.setshot__marks li.setshot__head {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; background: #fff;
  box-shadow: 0 0 10px 3px rgba(235, 91, 0, .9); opacity: 0; z-index: -1;   /* under the marks */
  transition: top var(--move, .6s) ease-in-out, opacity .3s ease;
}
.setshot__marks.is-live .setshot__head.is-moving { opacity: 1; }
.setshot figcaption {
  display: flex; gap: 0.7rem; align-items: flex-start; max-width: 30em; margin: 0 auto;
  color: var(--muted); font-size: 0.92rem;
}

/* groups of perk cards */
.pgroup { text-align: center; }
.pgroup--alt, .faq { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pgroup h2 { margin-bottom: 2.5rem; }
.pgrid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  max-width: 1200px; margin: 0 auto; text-align: left;
}
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
/* centred card: title, text and extras one under another (no icons) */
.pbox {
  background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: 1.6rem; text-align: center;
  display: grid; grid-template-columns: 1fr; align-content: start; row-gap: 0.6rem;
}
.pbox > * { grid-column: 1 / -1; min-width: 0; }
.pbox--wide { grid-column: 1 / -1; }
.pbox .themepicker { text-align: center; }   /* the theme picker and its screenshots stay centred */
.pbox h3 { font-weight: 500; font-size: 1.15rem; line-height: 1.3; }
.pbox p { color: var(--muted); }
.pbox .tags { margin-top: 0.4rem; justify-content: center; }
.pbox .pnote { margin-top: 0.4rem; }
/* the theme card without its card: picker and phones straight under the section title */
.pbox--bare { background: none; border: 0; padding: 0; }
.pgroup:has(.pbox--bare) h2 { margin-bottom: 1.4rem; }
.pbox--bare .themepicker { margin-top: 0; }
.pbox--bare { margin-bottom: 2rem; }   /* phones → card as far as card → end of the section */
/* small label over the cards that follow the themes, in the style of the picker's captions */
.pgrid__label {
  grid-column: 1 / -1; text-align: center;
  font-size: 0.78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

.swatches {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
  margin: 0.8rem 0 0.4rem; font-size: 0.88rem; color: var(--fg);
}
.swatches li > *, .swatches__pair > button {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.4em 0.85em 0.4em 0.45em; border: 1px solid var(--line); border-radius: 999px;
}
.swatches button {
  font: inherit; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer;
  transition: color .2s;
}
.swatches button:hover, .swatches button[aria-pressed="true"] { color: var(--fg); }
.swatches button:hover { border-color: #3a3a42; }
.swatches button[aria-pressed="true"] { border-color: var(--fg); background: var(--card-hover); }
.swatches button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.swatches__hint { font-size: 0.85rem; }

/* theme picker: swatches on top, below them the two parts of the theme – the app (home + Timer) and the
   workout screen (work + rest) – side by side, stacked on narrow screens; cycles until tapped */
.themepicker { margin: 1.4rem 0 0.8rem; }
.themepicker__list { text-align: center; }
.swatches--picker { margin: 0 0 0.6rem; font-size: 0.95rem; gap: 0.3rem; }
/* circle above the name; the selected theme gets a soft tile behind both */
.swatches--picker li > *, .swatches--picker .swatches__pair > button {
  flex-direction: column; gap: 0.45em; min-width: 5.2em;
  padding: 0.6em 0.5em 0.5em; border-color: transparent; border-radius: 14px;
}
.swatches--picker .swatch { width: 2em; height: 2em; }
/* the selected theme sits on one glass pill (like the menu) that slides from theme to theme (main.js) */
.swatches--picker.has-glass { position: relative; }
.swatches--picker.has-glass li { position: relative; z-index: 1; }
.swatches--picker.has-glass button[aria-pressed="true"] { background: none; border-color: transparent; }
.swatches__glass, .nav__glass {
  position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(16px) saturate(220%); -webkit-backdrop-filter: blur(16px) saturate(220%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
  transition: transform 1.1s cubic-bezier(.45, 0, .2, 1), width 1.1s cubic-bezier(.45, 0, .2, 1), height 1.1s cubic-bezier(.45, 0, .2, 1);
}
.swatches__glass::before, .nav__glass::before {   /* the glass rim, lit from the top left as on the menu */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, .08) 22%, rgba(255, 255, 255, .04) 50%,
    rgba(255, 255, 255, .08) 78%, rgba(255, 255, 255, .2) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.swatches__glass.is-instant, .nav__glass.is-instant { transition: none; }
/* the menu marks the section being read with the same glass pill (main.js): it slides between links and fades out
   where no link fits (top of the page, FAQ) */
.nav__links a { position: relative; z-index: 1; padding: 0.4rem 0.85rem; border-radius: 999px; }
.nav__links a.is-active { color: var(--fg); }
.nav__glass { border-radius: 999px; opacity: 0; transition: transform 0.7s cubic-bezier(.45, 0, .2, 1), width 0.7s cubic-bezier(.45, 0, .2, 1), height 0.7s cubic-bezier(.45, 0, .2, 1), opacity 0.4s ease; }
.nav__glass.is-on { opacity: 1; }
.nav__glass { background: rgba(255, 255, 255, .15); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }   /* clearly lighter than the bar */
.nav__glass::before {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .16) 25%, rgba(255, 255, 255, .08) 50%,
    rgba(255, 255, 255, .16) 75%, rgba(255, 255, 255, .38) 100%);
}
.themerows {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 0.5rem; margin-top: 1.8rem;
  --theme-w: 240px;
}
/* theme picker (one row of swatches, switch in the caption): the phones have their own size here, not the
   one of the other sections – as large as the window height allows with the title and the swatches still on the
   same screen (150–320px wide) */
.themepicker:has(.swatches__group) .themerows { --theme-w: min(320px, max(150px, (100svh - 390px) * .49)); margin-top: 1.2rem; }
/* the two groups lean towards each other instead of floating in the middle of their halves */
.themerow:first-child .themeshots { justify-content: flex-end; }
.themerow:last-child .themeshots { justify-content: flex-start; }
/* each caption sits centred over its pair: the box is as wide as the pair as you see it – shot width W,
   the second shot scaled to .92 and pulled in by 8% of the column – and on the same side of the column */
.themerow figcaption { --w: min(var(--theme-w), 52%); width: calc(1.92 * var(--w) - 8%); }
.themerow:first-child figcaption { margin-left: auto; margin-right: calc(.08 * var(--w)); }
/* the second shot of each pair is scaled to .92 from its left edge, so the whole composition looks shifted
   left; move it right by half of that (8% of a phone = 52% of a column) to even the side margins */
.themerows { transform: translateX(1.04%); }
.themerow figcaption {
  text-align: center; margin-bottom: 0.9rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
/* the same gentle cascade as .shots: first screen in front, the second one a bit smaller and behind it */
.themeshots { display: flex; justify-content: center; align-items: flex-start; }
.themeshots img { width: min(var(--theme-w), 52%); filter: drop-shadow(0 24px 40px rgba(0,0,0,.7)); }
.themeshots > :nth-child(1) img, .themeshots > img:nth-child(1) {
  position: relative; z-index: 2; filter: drop-shadow(-10px 22px 34px rgba(0,0,0,.75));
}
.themeshots > :nth-child(2) img, .themeshots > img:nth-child(2) {
  position: relative; z-index: 1; margin-left: -8%;
  transform: translateY(1.5rem) scale(.92); transform-origin: top left;
  filter: brightness(.82) drop-shadow(0 24px 40px rgba(0,0,0,.7));
}
.swatch {
  width: 1.3em; height: 1.3em; border-radius: 50%; flex: none;
  background: linear-gradient(180deg, var(--a), var(--b));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
/* theme picker: Custom is the app's rainbow ring; the workout-only themes get a row of their own under a label,
   and under the hint the app's Dark / Light switch (a glass segmented control) */
.swatch--custom { background: conic-gradient(#E4003A, #F7CE00, #41BE60, #3075A8, #847DD3, #C32BAD, #E4003A); }
.swatches__sep { align-self: center; width: 1px; height: 2.6em; margin: 0 0.4rem; background: var(--line); }
.swatches__group { position: relative; }
/* the group's label and pair are not swatch tiles themselves; the buttons inside the pair are */
.swatches li.swatches__group > .swatches__pair { display: flex; flex-direction: row; gap: 0.3rem; padding: 0; border: 0; min-width: 0; }
.swatches li.swatches__group > .swatches__label { display: block; padding: 0; border: 0; min-width: 0; }
.swatches__label {
  position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: 0.15rem; white-space: nowrap; text-align: center;
  font-size: 0.62rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.swatches--picker:has(.swatches__group) { margin-top: 1.4rem; }   /* room for the label over Day and Custom */
/* wrapped rows (phones, tablets): Day and Custom get a row of their own with the label over them, no line */
@media (max-width: 900px) {
  .swatches__sep { display: none; }
  .swatches__group { flex-basis: 100%; display: flex; flex-direction: column; align-items: center; margin-top: 0.5rem; }
  .swatches li.swatches__group > .swatches__label { position: static; margin-bottom: 0.2rem; }
}
.appearance {
  display: inline-flex; vertical-align: middle; gap: 2px; margin-left: 0.8rem; padding: 3px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.appearance button {
  font: inherit; font-size: 0.85rem; letter-spacing: normal; text-transform: none; color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: 0.35em 1.1em; border-radius: 999px; transition: background .25s ease, color .25s ease;
}
.appearance button[aria-pressed="true"] { background: rgba(255, 255, 255, .16); color: var(--fg); }
.appearance button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* plans */
.plans { text-align: center; }
.plans .lead { margin: 0 auto 2.5rem; }
.plans .plus__note { max-width: 44em; margin-left: auto; margin-right: auto; }
.plans__grid {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  max-width: 1080px; margin: 0 auto;
}
.plans__grid li {
  background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; display: grid; gap: 0.5rem; align-content: start;
}
.plans__grid strong { font-weight: 500; font-size: 1.3rem; }
.plans__grid span { color: var(--muted); font-size: 0.95rem; }
.plans__grid .is-forever { border-color: transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; }
.how__title { font-weight: 500; font-size: 1.3rem; margin: 3.5rem 0 1.4rem; }
.how {
  list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  max-width: 1080px; margin: 0 auto; text-align: left;
}
.how li { counter-increment: step; padding: 1.2rem 1.2rem 1.2rem 3.6rem; position: relative; border: 1px solid var(--line); border-radius: 14px; }
.how li::before {
  content: counter(step); position: absolute; left: 1.1rem; top: 1.1rem;
  width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; font-weight: 500; font-size: 0.9rem;
}

/* FAQ */
.faq > * { max-width: 984px; margin-left: auto; margin-right: auto; }
.faq h2 { text-align: center; margin-bottom: 2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 2.2rem 1.2rem 0; position: relative;
  font-weight: 400; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%);
  color: var(--orange); font-size: 1.5rem; font-weight: 300; transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.3rem; max-width: 44em; }
.faq--home { background: none; border: 0; padding-bottom: 0; }   /* right after the grey Plus section */

/* Text-only CTA (home and Plus page): one centred column */
.cta--solo { grid-template-columns: 1fr; text-align: center; padding-bottom: 5rem; }
.cta--solo .cta__text { justify-items: center; }
.cta__cols { display: grid; grid-template-columns: 1fr 1fr; justify-self: stretch; max-width: 1104px; width: 100%; margin: 0.6rem auto 0; }
.cta__col { display: grid; gap: 1.4rem; justify-items: center; align-content: start; padding: 0.4rem 2.5rem; }
.cta__col + .cta__col { border-left: 1px solid var(--line); }
@media (max-width: 760px) {
  .cta__cols { grid-template-columns: 1fr; }
  .cta__col { padding: 0; }
  .cta__col + .cta__col { border-left: 0; border-top: 1px solid var(--line); margin-top: 2.2rem; padding-top: 2.2rem; }
}

@media (max-width: 900px) {
  .pp-hero .hero__media { justify-content: center; }
  .pcard { text-align: left; }
  .pgrid, .pgrid--3, .plans__grid, .how { grid-template-columns: 1fr; }
  .swatches { font-size: 0.8rem; gap: 0.4rem; }
  .themerows { grid-template-columns: 1fr; gap: 1.6rem; }
  .themerow .themeshots { justify-content: center !important; }
  .themerow figcaption { width: auto; margin-left: 0 !important; margin-right: 0 !important; }
  .themerows { transform: none; }
  .themeshots { transform: translateX(2.08%); }
  .swatches--picker .swatch { width: 1.8em; height: 1.8em; }
  .swatches--picker li > * { min-width: 4.6em; padding: 0.5em 0.3em 0.4em; }
}
@media (prefers-reduced-motion: reduce) {
  .rec__wave i { animation: none; transform: scaleY(.6); }
  .setshot__marks li { animation: none; }
}
@media (max-width: 520px) {
  .setshot__marks { --axis: 73%; }
}


/* REDEEM AN OFFER CODE (/redeem/) */
.rd-hero { text-align: center; padding-bottom: 3rem; }
.rd-hero .lead { margin: 0 auto 2rem; }
.rd-code {
  display: inline-flex; align-items: center; gap: 0.9rem; margin-bottom: 1.6rem;
  padding: 0.7rem 0.8rem 0.7rem 1.2rem; background: var(--card); border: 1px solid var(--card-line); border-radius: 14px;
}
.rd-code[hidden] { display: none; }
.rd-code__label { color: var(--muted); font-size: 0.9rem; }
.rd-code__value { font: 500 1.25rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.08em; }
.rd-code__copy {
  font: inherit; font-size: 0.9rem; color: var(--fg); cursor: pointer;
  background: var(--card-hover); border: 1px solid var(--card-line); border-radius: 999px; padding: 0.35rem 0.9rem;
}
.rd-hero__btn { display: inline-block; }
.rd-hero__note { color: var(--muted); font-size: 0.9rem; max-width: 30em; margin: 1rem auto 0; }
.rd-steps { text-align: center; padding-top: 3rem; }
.rd-steps ol {
  list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem;
  margin-top: 1.4rem; text-align: center;   /* number with title, then the description, centred under each phone */
}
.rd-steps li { counter-increment: step; }
.rd-steps img { width: min(var(--phone-w), 100%); margin: 0 auto 1rem; }
.rd-steps h2 { margin-bottom: 0; }   /* title, phones and captions share one screen: tight gaps */
.rd-steps h3 { font-weight: 500; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; gap: 0.7rem; margin-bottom: 0.4rem; }
.rd-steps h3::before {
  content: counter(step); flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; font-size: 0.9rem;
}
.rd-steps p { color: var(--muted); }
.rd-steps p a, .rd-faq p a { color: var(--orange); }
@media (max-width: 900px) {
  .rd-steps ol { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}


/* SHARED WORKOUT (/t/) – the workout itself is unpacked from the link by main.js */
.sh-hero { text-align: center; padding-bottom: 2.5rem; }
.sh-hero h1 { overflow-wrap: anywhere; }
.sh-hero .lead { margin: 1.6rem auto 2rem; }
.sh-card {
  max-width: 460px; margin: 2rem auto 0; padding: 1.4rem 1.5rem; text-align: left;
  background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius);
}
.sh-card[hidden], .sh-error[hidden], .sh-card__set[hidden], .sh-card__note[hidden] { display: none; }
.sh-card__total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; color: var(--muted); }
.sh-card__total strong { font-weight: 500; font-size: 1.6rem; color: var(--fg); font-variant-numeric: tabular-nums; }
.sh-card__params { margin-top: 0.3rem; font-variant-numeric: tabular-nums; }
.sh-card__label { display: block; color: var(--muted); font-size: 0.85rem; margin-bottom: 0.3rem; }
.sh-card__set { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--card-line); }
.sh-card__set ol { list-style: none; display: grid; gap: 0.55rem; }
.sh-card__set li { display: flex; justify-content: space-between; gap: 1rem; }
.sh-card__set li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sh-card__note { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--card-line); white-space: pre-line; }
.sh-error { max-width: 520px; margin: 2rem auto 0; }
.sh-error h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.sh-error p { color: var(--muted); }
.sh-open { display: inline-block; }
.sh-open[hidden] { display: none; }
.sh-install { text-align: center; padding-top: 2.5rem; }
.sh-install ol {
  list-style: none; counter-reset: step; display: grid; gap: 1rem; max-width: 460px;
  margin: 1.6rem auto 2rem; text-align: left;
}
.sh-install li { counter-increment: step; display: flex; gap: 0.8rem; color: var(--muted); }
.sh-install li::before {
  content: counter(step); flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; font-size: 0.9rem; color: var(--fg);
}
.sh-install .badge { display: inline-block; }


/* READY-MADE WORKOUTS (/workouts/) – the app's templates; QR codes only where a computer shows the page */
.wk-hero { text-align: center; padding-bottom: 1.5rem; }
.wk-hero .lead { margin: 1.4rem auto 0; }
.wk-hero__how { color: var(--muted); font-size: 0.95rem; max-width: 40em; margin: 1rem auto 0; }
.wk-jump { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.wk-jump a {
  text-decoration: none; color: var(--muted); font-weight: 400; padding: 0.4rem 1rem;
  border: 1px solid var(--card-line); border-radius: 999px; transition: color .2s, background .2s;
}
.wk-jump a:hover { color: var(--fg); background: var(--card); }
.wk-group { padding-top: 3rem; padding-bottom: 1.5rem; scroll-margin-top: 62px; }
.wk-group h2 { margin-bottom: 1.6rem; }
.wk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.wk-card {
  display: flex; gap: 1.4rem; padding: 1.4rem 1.5rem; scroll-margin-top: 80px;
  background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius);
}
.wk-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wk-card h3 { font-weight: 500; font-size: 1.25rem; line-height: 1.3; }
.wk-card__desc { color: var(--muted); margin-top: 0.35rem; }
.wk-card__params { margin-top: 0.7rem; font-variant-numeric: tabular-nums; }
.wk-card__list {
  list-style: none; display: grid; gap: 0.35rem; margin-top: 0.9rem; padding-top: 0.8rem;
  border-top: 1px solid var(--card-line); font-size: 0.95rem;
}
.wk-card__list li { display: flex; justify-content: space-between; gap: 1rem; }
.wk-card__list li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wk-card__foot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem 1rem;
  margin-top: auto; padding-top: 1.2rem;
}
.wk-card__total { color: var(--muted); }
.wk-card__total strong { color: var(--fg); font-weight: 500; font-size: 1.3rem; font-variant-numeric: tabular-nums; margin-left: 0.3rem; }
.wk-card__qr { display: none; flex: none; width: 128px; text-align: center; }
.wk-card__qr img { width: 128px; height: 128px; border-radius: 10px; }
.wk-card__qr figcaption { color: var(--muted); font-size: 0.78rem; line-height: 1.35; margin-top: 0.5rem; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) { .wk-card__qr { display: block; } }
@media (max-width: 900px) { .wk-grid { grid-template-columns: 1fr; } }
.wk-install { text-align: center; padding-top: 3rem; }
.wk-install p { color: var(--muted); max-width: 34em; margin: 0 auto 1.6rem; }
.wk-install .badge { display: inline-block; }
/* "text →" link inside a home page list (to /workouts/): the arrow marks it, no underline */
.arrow-link { text-decoration: none; transition: color .2s; }
.arrow-link:hover { color: var(--orange); }
