/* aimlink.ai app pages: Aimlink GO first; TARGET and CLUB reuse it with a tablet
   (assets/app-page-wide.css, loaded after this file, turns the device into a tablet through the
   variables --dev-vis, --gf-r, --gf-w, --gf-col and --gf-max below).
   Load after site.css and nav.css. Script: assets/app-page.js.

   The top is two sections that share one phone. Hero: the phone rides up and rests at an angle in front of the
   backdrop. Features: a pinned stage where the phone has docked; scroll picks the feature and its screen
   plays by itself. Then the target in 3D ("Read the series") and the feature index.
   Static by default: without JS or with reduced motion the phone rests in the hero and the features are
   stacked, each with its own phone and a finished screen. Below 900 px the features stay stacked.
   Everything under .is-live is the pinned version. */

/* The 3D card's tilt (app-page.js writes these every frame). Registered and non-inheriting, so a write restyles the card itself
   and not its ~90 descendants (an inherited custom property re-styles the whole subtree: 25-85 ms per write at 4x CPU). The
   numbers' tags take their own copy from the script. Defaults are the resting angles, as in app-page.js. */
@property --r3d-x { syntax: '<angle>'; inherits: false; initial-value: 8deg; }
@property --r3d-y { syntax: '<angle>'; inherits: false; initial-value: -27deg; }

@layer sections {
  /* ───────────────────────── The top: hero ───────────────────────── */
  .go-top {
    --peek: clamp(3rem, 8svh, 4.5rem);                          /* how much of the next section shows under the hero: an invitation to scroll on (23 Oct 2026) */
    --hero-h: max(calc(100svh - var(--peek)), 42rem); --floor: 0px;
    --pw-hero: min(36svh, 25vw, 350px);                        /* the phone's width in the hero */
    --dev-vis: 1;                                              /* how much of the device shows above the floor on a phone, in widths: a phone shows its top, a tablet all of it */
    --gf-r: calc(4 / 3);                                       /* the tray's height over its width */
    --pose: rotateX(9deg) rotateY(-24deg) rotateZ(7deg);       /* how it stands; the same numbers are in app-page.js */
    position: relative; isolation: isolate; overflow-x: clip;   /* clip, not hidden: the phone layer is sticky */
    background: var(--color-night);                              /* shows in the corners of the next section's rounded top */
  }
  /* the phone bar floats at the bottom below 1024 px (nav.css) */
  @media (max-width: 1023.98px) { .go-top { --floor: calc(88px + env(safe-area-inset-bottom, 0px)); } }
  /* below 900 px nothing is pinned. From 640 px the hero and every feature keep two columns (device left or right, copy
     beside it): the tablet composition. Below 640 px the copy sits above the device. */
  @media (max-width: 899.98px) { .go-top { --hero-h: max(calc(100svh - var(--peek)), 46rem); --pw-hero: min(30vw, 260px); } }
  @media (max-width: 639.98px) { .go-top { --pw-hero: min(56vw, 240px); } }

  .go-hero { position: relative; isolation: isolate; overflow: clip; min-height: var(--hero-h); display: grid; background: var(--color-night); color: var(--text); }
  /* on a short window the air above the copy gives way, so that the hero still ends above the fold and the next section shows (the copy is about 37rem tall) */
  @media (min-width: 640px) { .go-hero[data-rhythm="hero"] { padding-top: min(calc(var(--section-hero) + var(--nav-space)), max(calc(var(--nav-space) + 1.5rem), calc(100svh - var(--peek) - 37rem))); } }
  .go-hero::after {
    /* legibility: night behind the copy, a floor under it, a little off the top for the header */
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--color-night) 94%, transparent) 0%, color-mix(in srgb, var(--color-night) 80%, transparent) 38%, transparent 70%),
      linear-gradient(180deg, color-mix(in srgb, var(--color-night) 72%, transparent) 0%, transparent 24%, transparent 72%, color-mix(in srgb, var(--color-night) 80%, transparent) 100%);
  }

  @media (max-width: 639.98px) {
    /* phones: the copy sits above the phone, so the night comes from the top */
    .go-hero::after { background: linear-gradient(180deg, color-mix(in srgb, var(--color-night) 90%, transparent) 0%, color-mix(in srgb, var(--color-night) 72%, transparent) 42%, transparent 64%); }
  }

  /* The backdrop (assets/backdrop/go/): the rings of a black target with a band of lime light gliding round them.
     The clip's black is graded to 0 and `lighten` leaves only the light on the night. app-page.js moves and
     scales the frame so the centre of the rings (data-vp) sits behind the phone. */
  .backdrop { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; mix-blend-mode: lighten; container-type: size; }
  .backdrop-poster { position: absolute; inset: 0; }
  /* the whole 16:9 frame at cover size, worked out from the box itself in CSS (the script only sets the transform, so
     nothing changes layout after first paint) */
  .backdrop-poster img, .backdrop-video {
    --fw: max(100cqw, 100cqh * 16 / 9); --fh: max(100cqh, 100cqw * 9 / 16);
    position: absolute; left: calc((100cqw - var(--fw)) / 2); top: calc((100cqh - var(--fh)) / 2); width: var(--fw); height: var(--fh); max-width: none;
    object-fit: cover;
    transform-origin: var(--to, 75% 46%); transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--ts, 1));
  }
  .backdrop-video { opacity: 0; transition: opacity 900ms var(--ease-out); }
  .backdrop.is-playing .backdrop-video { opacity: 1; }
  .go-hero-toggle { right: var(--gutter); bottom: calc(var(--floor) + var(--space-4)); z-index: 4; }
  .go-hero-toggle[hidden] { display: none; }   /* it appears when the loop plays */

  /* The hero takes the "hero" role (data-rhythm on the section: air under the nav). The copy is one unit: product,
     headline, lede, then the action (the badges, or TARGET's plain line). */
  .go-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
  .go-hero-copy {
    container-type: inline-size; display: grid; justify-items: start; align-content: start;
    padding-bottom: calc(var(--floor) + var(--pw-hero) * var(--dev-vis) + var(--space-7));   /* the phone's part of the hero */
  }
  /* H1: the system's display-xl, held to the width of its column so the longest line (--h1-n characters) never breaks:
     one documented fluid size, no formula of the page's own. Teko capitals run about 0.36 em per character (spaces included). */
  .go-hero .h1 { font-size: min(var(--type-display-xl-size), calc(100cqw / (var(--h1-n, 16) * 0.38)), 15svh); }
  .go-hero .h1 em.em-roman, .app-rest .h2 em.em-roman { font-style: normal; }   /* same lime emphasis, upright: CLUB's "members and guests", GO's "target" */
  .go-hero .hl { display: block; white-space: nowrap; }   /* a line never wraps: the headline keeps its height while the webfont arrives (no layout shift) */
  .go-hero .product + .h1 { margin-top: var(--gap-kicker); }
  /* One lime lockup (mark and word) in place of the separate icon, word and glow.
     A phone matches the footer lockup; from the tablet menu up it matches that lockup. */
  .go-hero .product { color: var(--color-lime); }
  .go-hero .app-lockup {
    display: block; width: auto; height: 30px; max-width: 100%;
    aspect-ratio: var(--aw) / var(--ah); fill: currentColor; color: inherit;
  }
  @media (min-width: 1024px) { .go-hero .app-lockup { height: 36px; } }
  .go-hero .h1 + .lede { margin-top: var(--gap-head); }
  .go-hero .lede + :is(.install-row, .hero-beta) { margin-top: var(--gap-action); }
  .go-hero .lede { color: var(--text); opacity: 0.9; max-width: 30ch; text-wrap: balance; }
  .go-hero .w { display: inline-block; animation: rise var(--duration-reveal) var(--ease-out) both; animation-delay: calc(120ms + var(--i) * var(--motion-stagger)); }
  .go-hero .product, .go-hero .lede, .go-hero .install-row, .go-hero .hero-beta { animation: rise var(--duration-reveal) var(--ease-out) both; }
  .go-hero .lede { animation-delay: 620ms; }
  .go-hero .install-row, .go-hero .hero-beta { animation-delay: 720ms; }
  @media (min-width: 640px) {
    .go-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); column-gap: var(--grid-gap); align-items: center; }
    .go-hero-copy { align-content: center; padding-bottom: var(--space-8); }
  }

  /* TARGET has no download (TestFlight beta; a range writes to us): the status line, and the way in as a ghost button */
  .hero-beta { display: grid; justify-items: start; gap: var(--space-3); max-width: 44ch; }
  .hero-beta p { color: var(--text-muted); font-size: var(--type-body-size); line-height: var(--type-body-leading); text-wrap: balance; }
  /* the address stays lower case (it is an address); the question reads in the button's caps. It may wrap on a narrow phone. */
  .hero-beta .btn { max-width: 100%; flex-wrap: wrap; row-gap: 0; padding-block: 0.5rem 0.4rem; white-space: normal; text-align: center; }
  .hero-beta .btn span { text-transform: none; letter-spacing: 0.02em; overflow-wrap: anywhere; }

  /* Install: the two store badges */
  .install-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
  .install-stores { justify-content: flex-start; }

  /* ───────────────────────── The phone ─────────────────────────
     One layer over the hero (and, live, over the feature stage as well). Its grid is the hero's grid, so the
     phone rests in the hero's right column without measuring. The frame is .phone from site.css; here it gets a
     body: twelve copies of its outline stepped back along Z. */
  .go-phone-layer {
    position: relative; z-index: 3; display: grid; overflow: clip; pointer-events: none;
    height: var(--hero-live-h, var(--hero-h)); margin-bottom: calc(-1 * var(--hero-live-h, var(--hero-h)));
  }
  .go-phone-layer > .go-hero-grid { height: 100%; }
  .go-phone {
    position: relative; justify-self: center; align-self: start; width: var(--pw-hero); perspective: 1500px;
    /* phones: it stands on the hero's lower edge, its top third above the bar */
    margin-top: calc(var(--hero-live-h, var(--hero-h)) - var(--floor) - var(--pw-hero) * var(--dev-vis));
  }
  .go-top .phone-screen { container-type: size; background: var(--color-night); }
  .go-phone .phone { --pw: var(--pw-hero); box-shadow: inset 0 0 0 calc(var(--pw) * 0.003) rgb(255 255 255 / 0.10); }
  .go-phone-float, .go-phone-tilt, .phone-depth { transform-style: preserve-3d; }
  .go-phone-tilt { position: relative; transform-origin: 50% 28%; transform: var(--pose); }
  .phone-depth { position: absolute; inset: 0; }
  .phone-depth i {
    position: absolute; inset: 0; border-radius: calc(var(--pw-hero) * 0.17); background: #2b2d30;
    transform: translateZ(calc(var(--pw-hero) * -0.0085 * var(--k)));
  }
  .phone-depth i:nth-child(-n+2), .phone-depth i:nth-child(n+11) { background: #74777c; }   /* the chamfers catch the light */
  .phone-depth i:last-child { box-shadow: 0 calc(var(--pw-hero) * 0.08) calc(var(--pw-hero) * 0.2) rgb(0 0 0 / 0.5), 0 calc(var(--pw-hero) * 0.012) calc(var(--pw-hero) * 0.03) rgb(19 32 26 / 0.18); }
  /* the lane's light behind the phone */
  .go-phone-glow {
    position: absolute; z-index: -1; inset: -18% -70%; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgb(160 224 32 / 0.2), rgb(160 224 32 / 0.06) 48%, transparent 74%);
  }
  /* a strip of light on the glass; it moves with the pointer (app-page.js) */
  .phone-glare { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
  .phone-glare::before {
    content: ""; position: absolute; inset: -20% -70%;
    background: linear-gradient(104deg, transparent 40%, rgb(255 255 255 / 0.12) 47.5%, rgb(255 255 255 / 0.025) 54%, transparent 61%);
    transform: translateX(var(--gx, -16%));
  }
  @media (min-width: 640px) {
    /* the device shares the copy's band: the same air under the nav, the same floor */
    .go-phone-layer > .go-hero-grid { padding-block: calc(var(--section-hero) + var(--nav-space)) var(--space-8); }
    .go-phone { grid-column: 2; align-self: center; margin-top: 0; }
    .go-phone-tilt { transform-origin: 50% 50%; }
  }

  /* The ride up: from below the fold and half turned away, to the pose. The screen wakes on the way, the arc
     draws and a light crosses the glass. Runs on load; with data-enter="view" it waits for .is-entered. */
  @keyframes phone-up { from { transform: translate3d(10%, 118%, -280px) rotateX(54deg) rotateY(-68deg) rotateZ(30deg); } }
  @keyframes phone-fade { from { opacity: 0; } }
  @keyframes arc-on { from { stroke-dasharray: 0 100; } }
  @keyframes glare-pass { from { transform: translateX(-78%); } }
  .go-phone-tilt { animation: phone-up 1500ms cubic-bezier(0.19, 1.1, 0.3, 1) 160ms backwards; }
  .go-phone-float { animation: phone-fade 380ms linear 160ms backwards; }
  .go-phone-glow { animation: phone-fade 1400ms var(--ease-out) 700ms backwards; }
  .go-phone .gs { animation: phone-fade 700ms var(--ease-out) 760ms backwards; }
  .go-phone .gs-arc { animation: arc-on 1300ms var(--ease-out) 1100ms backwards; }
  .phone-glare::before { animation: glare-pass 1500ms var(--ease-out) 900ms backwards; }
  .go-top[data-enter="view"]:not(.is-entered) :is(.go-phone-tilt, .go-phone-float, .go-phone-glow, .go-phone .gs, .gs-arc, .w, .product, .lede, .install-row, .hero-beta),
  .go-top[data-enter="view"]:not(.is-entered) .phone-glare::before { animation-play-state: paused; }

  /* ───────────────────────── Features: stacked (the static page, and every page below 900 px) ─────────────────────────
     The section takes the "proof" role (data-rhythm). Chapters are groups: one group gap (96) between them, 24 between
     a tray and its copy. From 640 px a chapter is two columns, the device on the left, the copy on the right. */
  .go-features { position: relative; background: var(--bg-alt); color: var(--text); border-radius: calc(var(--radius-nav) * 1.5) calc(var(--radius-nav) * 1.5) 0 0; box-shadow: inset 0 1px 0 var(--color-white); }
  .gf-stage { display: grid; gap: var(--space-9) 0; width: 100%; max-width: calc(68rem + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
  .gf-panel, .story-dots, .gf-toggle { display: none; }
  .gf-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); align-items: center; }
  /* the tray: stone, 3:4, as the phone scroll on the start page had it */
  .gf-media {
    container-type: inline-size; display: grid; place-items: center; width: 100%; max-width: var(--gf-max, 30rem); margin-inline: auto;
    aspect-ratio: 1 / var(--gf-r); border-radius: var(--radius-media); background: var(--color-stone); overflow: hidden;
  }
  .gf-textwin { display: contents; }
  /* a chapter's copy is one unit: headline, what GO does, then three points */
  .gf-text { display: grid; justify-items: start; }
  .gf-text > * + * { margin-top: var(--gap-head); }
  .gf-text > :is(.outcome, .gf-points) { margin-top: var(--gap-action); }
  .gf-text .body { max-width: 44ch; }
  .gf-points { display: grid; gap: var(--space-3); max-width: 40ch; }
  .gf-points li { display: flex; align-items: center; gap: var(--space-3); color: var(--text); font-weight: 700; line-height: 1.35; text-wrap: pretty; }
  /* the outcome: what the shooter ends up with. A lime chip with the check on it (lime is a fill on light).
     GO's feature points use the same chip as their bullets. */
  .outcome { display: flex; align-items: center; gap: var(--space-3); color: var(--text); font-weight: 700; line-height: 1.35; max-width: 36ch; text-wrap: pretty; }
  .outcome::before, .gf-points li::before {
    content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
    background: var(--color-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23304808' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 14.5l4 4 8-9'/%3E%3C/svg%3E") center / 28px 28px no-repeat;
  }
  /* light H2s and chapter heads: the slanted word in moss, no block (the lime block is the page's one, on its ask) */
  .go-features .h3 em:not(.em-lime), .app-index .h2 em { background: none; padding: 0; margin: 0; }   /* .em-lime: the page's one block, where a chapter is the ask (TARGET: Straight to GO) */
  /* GO and CLUB feature lines: fern, upright. TARGET keeps the moss italic. */
  .go-top:not([data-device="tablet"]) .gf-text .h3 em {
    display: inline; font-style: normal; line-height: inherit; color: var(--color-fern); background: none; padding: 0; margin: 0;
  }
  @media (min-width: 640px) and (max-width: 899.98px) {
    .gf-item { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); column-gap: var(--space-6); }
    .gf-media { margin-inline: 0; }
  }
  @media (min-width: 900px) {
    .gf-item { grid-template-columns: minmax(0, var(--gf-col, 26rem)) minmax(0, 30rem); justify-content: center; column-gap: clamp(var(--space-6), 4.5vw, var(--space-8)); }
  }

  /* ───────────────────────── Live (assets/app-page.js adds .is-live from 900 px) ─────────────────────────
     The phone layer sticks to the screen through both sections; the phone's own transform carries it from the
     hero to the tray. The feature stage is pinned for --gf-len of scroll. */
  .go-top.is-live .go-phone-layer { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; overflow: visible; }
  .go-top.is-live .go-phone { transition: opacity 180ms var(--ease-out); }
  .go-top.is-live.is-docked .go-phone { opacity: 0; visibility: hidden; transition: opacity 260ms var(--ease-out), visibility 0s linear 260ms; }
  .go-top.is-flat .phone-depth, .go-top.is-flat .go-phone-glow { visibility: hidden; }

  .go-top.is-live .go-features { padding-block: 0; height: calc(100svh + var(--gf-len, 290svh)); }
  .go-top.is-live .gf-stage {
    --gf-media: var(--gf-w, min(60svh, 38vw, 40rem));          /* the tray's width */
    position: sticky; top: 0; height: 100vh; height: 100svh; max-width: none; gap: 0;
    grid-template-columns: 44px var(--gf-media) minmax(0, 30rem); justify-content: center; align-items: center; column-gap: clamp(var(--space-6), 4.5vw, var(--space-8));
  }
  .go-top.is-live .gf-item { display: contents; }
  .go-top.is-live .gf-panel { display: block; grid-area: 1 / 2; aspect-ratio: 1 / var(--gf-r); border-radius: var(--radius-media); background: var(--color-stone); }
  /* every feature has its own phone behind the tray's window; scroll slides them through it, one after the other,
     and each copy travels the same distance in a window of its own with soft edges */
  /* Opacity hides the entire chapter: an internal scene may override inherited visibility. */
  .go-top.is-live .gf-media { grid-area: 1 / 2; max-width: none; background: none; overflow: hidden; overflow: clip; visibility: hidden; opacity: 0; }
  .go-top.is-live .gf-media.is-shown { visibility: visible; opacity: 1; }
  /* the phone that arrives hands over in place: the first screen is there at once, and stays a moment when the phone lifts off again */
  .go-top.is-live .gf-media.is-first { transition: visibility 0s linear 200ms; }
  .go-top.is-live .gf-media.is-first.is-shown { transition: none; }
  .go-top.is-live .gf-textwin {
    grid-area: 1 / 3; display: flex; align-items: center; height: calc(var(--gf-media) * var(--gf-r)); overflow: hidden; overflow: clip;
    padding-inline: var(--space-1); margin-inline-start: calc(var(--space-1) * -1); pointer-events: none;
    -webkit-mask-image: linear-gradient(transparent 0%, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(transparent 0%, #000 12%, #000 88%, transparent 100%);
  }
  .go-top.is-live .gf-text { width: 100%; opacity: 0; }
  .go-top.is-live .gf-text .h3 { font-size: var(--type-display-m-size); }

  /* dots: where you are, and a way to jump */
  .go-top.is-live .story-dots { grid-area: 1 / 1; display: flex; flex-direction: column; }
  .story-dots button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .story-dots button::before {
    content: ""; width: 8px; height: 24px; border-radius: 999px; background: var(--color-mist); transform: scaleY(0.34);
    transition: transform var(--duration-nav) var(--ease-out), background-color var(--duration-hover) var(--ease-hover);
  }
  .story-dots button[aria-current="true"]::before { background: var(--color-ink); transform: none; }
  @media (hover: hover) and (pointer: fine) { .story-dots button:not([aria-current="true"]):hover::before { background: var(--color-ink-3); } }
  /* the screens loop for longer than 5 s, so they get a pause button (DESIGNDIRECTION 11) */
  .go-top.is-live .gf-toggle:not([hidden]) {
    display: inline-grid; grid-area: 1 / 2; position: relative; right: auto; bottom: auto; align-self: end; justify-self: end;
    margin: 0 12px calc((100svh - var(--gf-media) * var(--gf-r)) / 2 + 12px) 0;   /* the tray's lower right corner */
  }

  /* ───────────────────────── GO screens: HTML in the app's own look ─────────────────────────
     After the Figma file "Aimlink GO AI Design System" (Mobile UX/UI Screens). 1cqw = 1 % of the screen's width;
     the screen is 216.6cqw tall. Demo data: Sofie Krag's series from the start page (75.0, average 9.38). */
  .gs {
    --app-bg: var(--color-night); --app-card: var(--color-line-dark); --app-tile: var(--color-grey-2); --app-text: var(--color-snow); --app-muted: var(--color-snow-2);
    --app-lime: var(--color-lime); --app-paper: var(--color-cream); --app-ink: var(--color-shot-on-paper);
    --st: var(--app-text); --st-inv: var(--app-bg);
    position: absolute; inset: 0; overflow: hidden; font: 400 3.5cqw/1.3 var(--font-text); color: var(--app-text); background: var(--app-bg);
  }
  .gs .ui-ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .gs-status { display: flex; align-items: center; justify-content: space-between; height: 12.4cqw; padding: 2.4cqw 6.5cqw 0 9cqw; font-size: 3.8cqw; font-weight: 600; color: var(--st); }
  .gs-status-r { display: flex; align-items: center; gap: 1.4cqw; }
  .gs-sig { width: 4.6cqw; height: 3.1cqw; fill: currentColor; }
  .gs-status-r .ui-ic { width: 4.4cqw; height: 4.4cqw; stroke-width: 2.4; }
  .gs-bat { display: inline-grid; place-items: center; min-width: 6.4cqw; height: 3.7cqw; padding: 0 0.7cqw; border-radius: 1.2cqw; background: var(--st); color: var(--st-inv); font-size: 2.6cqw; line-height: 1; }
  .gs-user { display: flex; align-items: center; justify-content: flex-end; gap: 2.6cqw; padding: 1.6cqw 5cqw 0; font-size: 3.7cqw; }
  .gs-av, .gs-post-av { display: grid; place-items: center; width: 7.4cqw; height: 7.4cqw; flex: none; border-radius: 50%; padding-top: 0.5cqw; background: var(--app-lime); color: var(--app-bg); font: 500 5cqw/1 var(--font-numeric); }
  .gs-title { margin-top: 3cqw; text-align: center; font: 500 6.2cqw/1 var(--font-numeric); letter-spacing: 0.01em; }
  .gs-h { display: flex; align-items: center; justify-content: space-between; margin-top: 5.4cqw; padding: 0 4.5cqw; font: 500 5.4cqw/1 var(--font-numeric); letter-spacing: 0.01em; }
  .gs-h-c { justify-content: center; }
  .gs-h .ic { width: 8cqw; height: 8cqw; margin: -1.5cqw; color: var(--app-muted); }
  .gs-k { font-size: 2.6cqw; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--app-muted); }
  .gs-k-c { text-align: center; }
  .gs-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); height: 19cqw; padding: 2.6cqw 1cqw 0; border-radius: 6cqw 6cqw 0 0; background: var(--color-grey-2); }
  .gs-tabs span { display: grid; justify-items: center; align-content: start; gap: 1cqw; font-size: 2.3cqw; white-space: nowrap; }
  .gs-tabs .ic { width: 10cqw; height: 10cqw; margin: -2cqw; }
  .gs-tabs .ui-ic { width: 6.4cqw; height: 6.4cqw; stroke-width: 1.5; }
  .gs-tabs .is-on { color: var(--app-lime); }

  /* Main: Performance */
  .gs-gauge { position: relative; width: 56cqw; aspect-ratio: 1; margin: 3cqw auto -7.5cqw; }
  .gs-gauge svg { width: 100%; height: 100%; overflow: visible; }
  .gs-track, .gs-arc { fill: none; stroke-width: 8.5; stroke-linecap: round; transform: rotate(135deg); }
  .gs-track { stroke: #353c42; stroke-dasharray: 75 100; }
  .gs-arc { stroke: var(--app-lime); stroke-dasharray: 64.5 100; }
  .gs-avg { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; padding-top: 2cqw; }
  .gs-avg b { font: 500 17cqw/0.8 var(--font-numeric); color: var(--app-lime); text-shadow: 0 0 5cqw rgb(160 224 32 / 0.35); font-variant-numeric: tabular-nums; }
  .gs-avg b small { font-size: 55%; }
  .gs-avg span { margin-top: 2.2cqw; font-size: 3.7cqw; }
  .gs-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2cqw; padding: 0 2cqw; }
  .gs-tiles p { display: grid; justify-items: center; gap: 1.8cqw; padding: 3.4cqw 0 2.8cqw; border-radius: 4.6cqw; background: var(--app-tile); }
  .gs-tiles span { font-size: 2.6cqw; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-snow); }
  .gs-tiles b { font: 500 8.6cqw/0.85 var(--font-numeric); color: var(--app-lime); font-variant-numeric: tabular-nums; }
  .gs-post { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 3cqw; margin: 3cqw 2cqw 0; padding: 3.2cqw 4cqw 3.2cqw 3.2cqw; border-radius: 7cqw; background: var(--color-paper); color: var(--app-bg); }
  .gs-post-ic { display: grid; place-items: center; width: 9cqw; height: 9cqw; }
  .gs-post-ic img { width: 100%; height: 100%; }
  .gs-post .gs-post-av { width: 9cqw; height: 9cqw; }
  .gs-post p { font-size: 2.9cqw; line-height: 1.25; }
  .gs-post b { display: block; font-size: 3.4cqw; font-weight: 600; }
  .gs-like { display: flex; align-items: center; gap: 1cqw; font-weight: 600; }
  .gs-like .ic { width: 8.4cqw; height: 8.4cqw; margin: -1.7cqw; }
  .gs-connect { margin: 4cqw 2cqw 0; padding: 4.4cqw 4cqw 4cqw; border-radius: 6cqw; background: var(--app-card); text-align: center; }
  .gs-connect .gs-h { margin-top: 0; }
  .gs-pill { display: grid; place-items: center; height: 10.5cqw; margin-top: 3.4cqw; padding-top: 0.4cqw; border-radius: 999px; background: var(--app-lime); color: var(--color-moss); font: 600 4.6cqw/1 var(--font-numeric); letter-spacing: 0.08em; text-transform: uppercase; }
  .gs-note { margin-top: 2.4cqw; font-size: 3cqw; color: var(--app-muted); }

  /* Your targets */
  .gs-card { position: relative; width: 62cqw; margin: 4cqw auto 0; padding: 4cqw 4cqw 3.4cqw; border-radius: 7cqw; background: var(--app-paper); color: var(--app-ink); text-align: center; }
  .gs-target { display: block; width: 100%; height: auto; overflow: visible; }
  .gs-target .l { fill: none; stroke: var(--app-ink); stroke-width: 0.5; }
  .gs-target .k { fill: #14161A; }
  .gs-target .d { fill: none; stroke: #D9D2BC; stroke-width: 0.5; }
  .gs-shot { fill: var(--color-orange-deep); stroke: #14161A; stroke-width: 0.5; transform-box: fill-box; transform-origin: center; }
  .gs-group { fill: none; stroke: var(--app-lime); stroke-width: 1; }
  .gs-live { position: absolute; z-index: 1; top: 3cqw; left: 3cqw; display: flex; align-items: center; gap: 1.4cqw; padding: 0.9cqw 2.4cqw 0.7cqw 2cqw; border-radius: 999px; background: var(--app-bg); color: var(--app-text); font-size: 2.4cqw; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
  .gs-live i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: var(--app-lime); }
  .gs-card-k { margin-top: 2.4cqw; font: 500 4.4cqw/1 var(--font-numeric); }
  .gs-card-d { margin-top: 2.2cqw; font-size: 2.3cqw; color: #5B5F57; }
  .gs-viewall { display: grid; place-items: center; width: 40cqw; height: 9cqw; margin: 3.4cqw auto 0; padding-top: 0.4cqw; border-radius: 999px; background: var(--app-lime); color: var(--color-moss); font: 600 4.2cqw/1 var(--font-numeric); letter-spacing: 0.08em; text-transform: uppercase; }
  .gs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6cqw; margin-top: 2.6cqw; }
  .gs-stats p { display: grid; justify-items: center; gap: 0.8cqw; padding: 2.2cqw 0 1.8cqw; border-radius: 3cqw; background: rgb(255 255 255 / 0.55); }
  .gs-stats b { font: 500 5.6cqw/0.9 var(--font-numeric); font-variant-numeric: tabular-nums; }
  .gs-stats b small { font-size: 62%; }
  .gs-stats span { font-size: 2.3cqw; color: #5B5F57; }
  .gs-add { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2cqw; height: 40cqw; margin: 2.4cqw 2cqw 0; }
  .gs-add .gs-illu { position: absolute; display: block; max-width: none; pointer-events: none; }
  .gs-add .gs-illu-sync { left: -20cqw; bottom: -12cqw; width: 66cqw; height: auto; }
  .gs-add .gs-illu-photo { left: 3cqw; bottom: -1.5cqw; width: 19cqw; height: auto; }
  .gs-add .gs-illu-manual { left: 3cqw; bottom: -1cqw; width: 18cqw; height: auto; }
  .gs-add p { position: relative; overflow: hidden; padding: 3.6cqw; border-radius: 6cqw; background: var(--app-card); font: 500 5cqw/1 var(--font-numeric); letter-spacing: 0.01em; }
  .gs-add-big { grid-row: 1 / 3; }
  .gs-go { position: absolute; right: 3cqw; bottom: 3cqw; display: grid; place-items: center; width: 8.4cqw; height: 8.4cqw; border-radius: 50%; background: var(--app-lime); color: var(--color-moss); }
  .gs-go .ic { width: 8cqw; height: 8cqw; }

  /* Target overlay: paper above, a sheet below (Details and Score trend) */
  .gs-sheeted { background: var(--app-paper); }
  .gs-paper { --st: var(--app-ink); --st-inv: var(--app-paper); position: relative; height: 110cqw; color: var(--app-ink); }
  .gs-paper .gs-target { width: 76cqw; margin: 1cqw auto 0; }
  .gs-ctrl { position: absolute; left: 4cqw; right: 4cqw; bottom: 3cqw; display: flex; align-items: center; gap: 2cqw; }
  .gs-ctrl span { display: grid; place-items: center; width: 7.4cqw; height: 7.4cqw; border-radius: 50%; background: #5D646B; color: #fff; }
  .gs-ctrl .ic { width: 7cqw; height: 7cqw; }
  .gs-ctrl b { margin-left: auto; padding: 1.3cqw 2.4cqw 0.9cqw; border-radius: 999px; background: #fff; color: var(--app-ink); font: 500 4cqw/1 var(--font-numeric); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
  .gs-ctrl .is-lime { background: var(--app-lime); color: var(--color-moss); }
  .gs-sheet { position: absolute; left: 0; right: 0; top: 110cqw; bottom: 0; padding: 4cqw 2.4cqw 0; border-radius: 7cqw 7cqw 0 0; background: var(--app-card); }
  .gs-sheet-tabs { display: flex; align-items: center; justify-content: center; gap: 4cqw; font-size: 3.4cqw; font-weight: 600; color: var(--app-muted); }
  .gs-sheet-tabs b { font-weight: 600; color: var(--app-text); }
  .gs-sheet-tabs .ic { width: 7cqw; height: 7cqw; margin: -1.5cqw; color: var(--app-muted); }
  .gs-sheet-tabs .ic:first-child { margin-right: auto; }
  .gs-sheet-tabs .ic:last-child { margin-left: auto; }
  .gs-rows .gs-ti { width: 5cqw; height: 5cqw; flex: none; margin-left: auto; margin-right: -0.4cqw; color: var(--app-text); fill: currentColor; }
  .gs-rows .gs-ti + b { margin-left: 0; }
  .gs-sheet .gs-k { margin: 4cqw 2cqw 2cqw; }
  .gs-rows { display: grid; gap: 1.6cqw; }
  .gs-rows li { display: flex; align-items: center; gap: 2cqw; min-height: 9.6cqw; padding: 0 3.4cqw; border-radius: 3cqw; background: var(--app-tile); font-size: 3.3cqw; }
  .gs-rows b { margin-left: auto; font-weight: 500; text-align: right; }
  .gs-rows i {
    width: 6cqw; height: 6cqw; flex: none; margin-right: -1.4cqw; border-radius: 50%;
    background:
      linear-gradient(var(--color-moss), var(--color-moss)) center / 50% 0.6cqw no-repeat,
      linear-gradient(var(--color-moss), var(--color-moss)) center / 0.6cqw 50% no-repeat,
      var(--app-lime);
  }
  .gs-chart { position: relative; margin: 0 2cqw; padding: 2cqw; border-radius: 4cqw; background: var(--app-tile); }
  .gs-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
  .gs-axis { stroke: #5D646B; stroke-width: 0.4; }
  .gs-mean { stroke: var(--app-lime); stroke-width: 0.4; stroke-dasharray: 1.6 1.6; }
  .gs-line { fill: none; stroke: var(--app-lime); stroke-width: 0.9; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
  .gs-dot { fill: var(--color-orange-deep); }
  .gs-y { position: absolute; left: 2.8cqw; font-size: 2.2cqw; line-height: 1; color: var(--app-muted); }
  .gs-y.is-mean { color: var(--app-lime); }
  .gs-chips { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 1cqw; margin: 3cqw 2cqw 0; }
  .gs-chips li { display: grid; justify-items: center; gap: 1cqw; padding: 1.6cqw 0 1.2cqw; border-radius: 2.6cqw; background: var(--app-tile); font-size: 2.6cqw; color: var(--app-muted); }
  .gs-chips b { display: grid; place-items: center; width: 8.6cqw; height: 6cqw; padding-top: 0.3cqw; border-radius: 999px; background: var(--color-paper); color: var(--app-bg); font: 500 3.6cqw/1 var(--font-numeric); font-variant-numeric: tabular-nums; }

  /* Feed and a competition */
  .gs-comp { margin: 3.4cqw 2cqw 0; padding: 3.6cqw 3cqw 0; border-radius: 6cqw; background: linear-gradient(180deg, #3A5A10 0%, var(--app-card) 36%); text-align: center; }
  .gs-badge { display: inline-block; padding: 0.9cqw 2.6cqw 0.7cqw; border-radius: 999px; background: var(--app-lime); color: var(--color-moss); font-size: 2.4cqw; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
  .gs-comp-t { margin-top: 2.6cqw; font: 500 6cqw/1 var(--font-numeric); }
  .gs-comp-k { margin-top: 3.6cqw; font-size: 2.6cqw; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--app-muted); }
  .gs-rank { display: grid; gap: 1.6cqw; margin-top: 2.4cqw; }
  .gs-rank li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2.6cqw; padding: 1.7cqw 3cqw 1.7cqw 1.7cqw; border-radius: 999px; background: var(--app-tile); text-align: left; }
  .gs-rank i { display: grid; place-items: center; width: 7cqw; height: 7cqw; padding-top: 0.4cqw; border-radius: 50%; background: var(--color-grey-4); font: 500 4.2cqw/1 var(--font-numeric); font-style: normal; }
  .gs-rank .is-1 i { background: linear-gradient(180deg, #E1BC1C, #8A6D00); }
  .gs-rank .is-2 i { background: linear-gradient(180deg, #B9C1CA, #5C646C); }
  .gs-rank .is-3 i { background: linear-gradient(180deg, #CF7E4F, #7A4426); }
  .gs-rank span { font-size: 3.5cqw; }
  .gs-rank b { font: 500 5.4cqw/1 var(--font-numeric); color: var(--app-lime); font-variant-numeric: tabular-nums; }
  .gs-rank b small { font-size: 62%; }
  .gs-go-row { display: flex; align-items: center; justify-content: flex-end; gap: 2cqw; margin-top: 3.2cqw; padding-bottom: 3.6cqw; font: 500 4.4cqw/1 var(--font-numeric); letter-spacing: 0.02em; }
  .gs-go-row .gs-go { position: static; width: 7.6cqw; height: 7.6cqw; }
  .gs-go-row .gs-go .ic { width: 7.2cqw; height: 7.2cqw; }

  /* Check-in: the member's code (Figma 78:2); CLUB scans it at the door */
  .gs-feed .gs-title, .gs-qr .gs-title { color: var(--app-lime); }
  .gs-qrcard { width: 90cqw; aspect-ratio: 1; margin: 7cqw auto 0; padding: 6.5cqw; border-radius: 6cqw; background: #fff; }
  .gs-qrcard svg { display: block; width: 100%; height: 100%; }
  .gs-qrcard svg path { fill: var(--color-night); }
  .gs-qrtxt { margin-top: 9cqw; text-align: center; font-size: 3.5cqw; line-height: 1.55; }
  .gs-qrtxt small { display: block; font-size: 1em; color: var(--app-muted); }

  /* Parts that switch on at a point in their clip (data-at; app-page.js runs the clock and adds .is-timed).
     Without it every screen shows its finished state. */
  .is-timed .gs-shot[data-at] { opacity: 0; transform: scale(2.4); transition: opacity 120ms linear, transform 260ms var(--ease-out); }
  .is-timed .gs-shot[data-at].is-on { opacity: 1; transform: none; }
  .is-timed .gs-live, .is-timed .gs-post[data-at], .is-timed .gs-comp {
    opacity: 0; transform: translateY(3cqw); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
  }
  .is-timed .gs-live.is-on, .is-timed .gs-post[data-at].is-on, .is-timed .gs-comp.is-on { opacity: 1; transform: none; }
  .is-timed .gs-rows li[data-at] .gs-fill { opacity: 0; transform: translateX(2cqw); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
  .is-timed .gs-rows li[data-at].is-on .gs-fill { opacity: 1; transform: none; }
  .is-timed .gs-dot, .is-timed .gs-chips li, .is-timed .gs-mean, .is-timed .gs-y.is-mean, .is-timed .gs-group { opacity: 0; transition: opacity 240ms var(--ease-out); }
  .is-timed .gs-dot.is-on, .is-timed .gs-chips li.is-on, .is-timed .gs-mean.is-on, .is-timed .gs-y.is-mean.is-on, .is-timed .gs-group.is-on { opacity: 1; }
  .is-timed .gs-rank li { opacity: 0; transform: translateY(2cqw); transition: opacity 240ms var(--ease-out), transform 360ms var(--ease-out); }
  .is-timed .gs-rank li.is-on { opacity: 1; transform: none; }
  .is-timed .gs-like-live { transition: color 240ms var(--ease-hover); }
  .is-timed .gs-like-live.is-on { color: var(--color-fern); }

  /* ───────────────────────── "Your shooting, made simple": the sign-up flow, from the screen recording ─────────────────────────
     Splash, four onboarding slides, login, then Performance with its gauge turning to SkillScore and back, and the activity
     feed stack taking in messages. Scenes lie on top of each other, the later one on top; app-page.js switches each on at its
     data-t (seconds into the clip, data-run on .gf-media). Without it the page shows the last scene (Performance). */
  .gs-flow { --st: var(--app-text); --st-inv: var(--app-bg); }
  .gs-flow > .gs-status { position: absolute; z-index: 6; inset: 0 0 auto; transition: color 200ms linear; }
  .gs-flow:not(:has(.fl-ob.is-on)) > .gs-status { --st: #1d3405; --st-inv: #94e00d; }
  .gs-flow:has(.fl-ob.is-on) > .gs-status { --st: var(--app-text); --st-inv: var(--app-bg); }
  .gs-flow:has(.fl-login.is-on) > .gs-status, .gs-flow:has(.fl-main.is-on) > .gs-status { --st: var(--app-text); --st-inv: var(--app-bg); }
  .fl-splash, .fl-ob, .fl-login, .fl-main { position: absolute; inset: 0; overflow: hidden; background: var(--app-bg); }
  .fl-splash { background: #94e00d; }
  .fl-splash i { position: absolute; left: 50%; top: 50.5%; width: 22cqw; aspect-ratio: 1; transform: translate(-50%, -50%); background: #2b4703;
    -webkit-mask: url(onboarding/go-onboarding-go-icon.svg) center / contain no-repeat; mask: url(onboarding/go-onboarding-go-icon.svg) center / contain no-repeat; }

  /* onboarding */
  .fl-ob { --ob: #A0E020; --dot: #A0E020; }
  .fl-ob-2 { --ob: #D4BD0F; --dot: #D4BD0F; }
  .fl-ob-3 { --ob: #FFA000; --dot: #FFA000; }
  .fl-ob::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--ob) 100%); }
  .fl-ob > * { position: absolute; display: block; }

  .fl-ob-art { inset: 0; width: 100%; height: 100%; overflow: visible; }
  .fl-rg circle { fill: none; stroke-width: 0.36px; }
  .fl-ob-h { left: 8.3cqw; top: 23.7cqw; width: 83.2cqw; height: auto; }
  .fl-ob-s { left: 0; right: 0; top: 183.4cqw; text-align: center; font-size: 3.65cqw; line-height: 1.2; color: #fff; }
  .fl-dots { left: 0; right: 0; top: 198.8cqw; display: flex; justify-content: center; gap: 3.1cqw; }
  .fl-dots i { width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: #1e2a33; }
  .fl-dots .on { background: var(--dot); }
  .fl-aim { left: 8.2cqw; right: 8.2cqw; top: 195cqw; display: grid; place-items: center; height: 9cqw; padding-top: 0.5cqw; border-radius: 999px; background: #a0e020; color: #14221a; font: 600 4.5cqw/1 var(--font-numeric); letter-spacing: 0.08em; }
  .fl-dot { fill: #A0E020; transform-box: fill-box; transform-origin: center; }
  .fl-line { fill: none; stroke: #A0E020; stroke-width: 1.5px; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
  .fl-pp { fill: none; stroke: #FFA000; stroke-width: 0.4cqw; }
  #fl-person * { vector-effect: non-scaling-stroke; }
  .fl-ic { opacity: 0; }
  .fl-ic[style*="--k:0"] { opacity: 1; }
  .fl-ic path { fill: none; stroke: #2a1a00; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .is-timed .fl-dot { opacity: 0; transform: scale(2); fill: #cfe8a4; transition: opacity 100ms linear, transform 420ms var(--ease-out), fill 420ms linear; }
  .is-timed .fl-dot.is-on { opacity: 1; transform: none; fill: #A0E020; }
  .is-timed .fl-line { stroke-dashoffset: 100; transition: stroke-dashoffset 750ms var(--ease-out); }
  .is-timed .fl-line.is-on { stroke-dashoffset: 0; }
  .is-timed .fl-ob-2.is-on .fl-disc { animation: fl-disc 860ms linear infinite; }
  .is-timed .fl-ob-3.is-on .fl-ic { animation: fl-ic 2.1s linear infinite; animation-delay: calc(var(--k) * 0.7s - 2.1s); }
  @keyframes fl-disc { to { transform: translateX(-15.6px); } }
  @keyframes fl-ic { 0%, 33% { opacity: 1; } 34%, 100% { opacity: 0; } }
  /* login */
  .fl-login > * { position: absolute; margin: 0; }
  .fl-brand { left: 2.6cqw; top: 14.8cqw; display: flex; align-items: center; gap: 1.8cqw; font: 500 4.55cqw/1 var(--font-numeric); color: var(--app-lime); }
  .fl-brand img { width: 9.8cqw; height: 9.8cqw; }
  .fl-wel { left: 0; right: 0; top: 35.4cqw; text-align: center; font: 500 8.75cqw/1 var(--font-numeric); }
  .fl-card-l { left: 2cqw; right: 2cqw; top: 53.6cqw; height: 68cqw; border-radius: 6cqw; background: #262f36; }
  .fl-card-l > * { position: absolute; margin: 0; }
  .fl-ct { left: 0; right: 0; top: 4.2cqw; text-align: center; font: 500 6.15cqw/1 var(--font-numeric); }
  .fl-lb { left: 2cqw; font-size: 3.55cqw; line-height: 1; }
  .fl-ct + .fl-lb { top: 14.8cqw; }
  .fl-in + .fl-lb { top: 33.4cqw; }
  .fl-in { left: 2.2cqw; right: 2.2cqw; height: 9cqw; display: flex; align-items: center; padding: 0 3cqw; border-radius: 999px; background: #0b141b; font-size: 3.6cqw; line-height: 1; }
  .fl-lb + .fl-in { top: 20.4cqw; }
  .fl-pw { top: 38.9cqw !important; font-size: 4.3cqw; letter-spacing: 0.3cqw; }
  .fl-pw .ui-ic { margin-left: auto; width: 4.6cqw; height: 4.6cqw; color: #8a949b; }
  .fl-ty:empty::before { content: attr(data-ph); color: #7d868c; letter-spacing: 0; }
  .fl-ty.is-typing::after { content: ""; display: inline-block; width: 0.35cqw; height: 4.2cqw; margin-left: 0.2cqw; vertical-align: -1cqw; background: #4a6cf7; animation: fl-caret 900ms steps(1) infinite; }
  @keyframes fl-caret { 50% { opacity: 0; } }
  .fl-btn { left: 2.2cqw; right: 2.2cqw; top: 49.9cqw; display: grid; place-items: center; height: 9cqw; padding-top: 0.5cqw; border-radius: 999px; background: #527a1c; color: #2c4a0e; font: 600 4.5cqw/1 var(--font-numeric); letter-spacing: 0.06em; }
  .fl-fg { left: 0; right: 0; top: 62.1cqw; text-align: center; font-size: 3.6cqw; line-height: 1; color: var(--app-lime); }
  .fl-no { left: 0; right: 0; top: 127.9cqw; text-align: center; font: 500 6.1cqw/1 var(--font-numeric); }
  .fl-create { left: 6.7cqw; right: 6.7cqw; top: 137cqw; display: grid; place-items: center; height: 9cqw; padding-top: 0.5cqw; border: 0.5cqw solid var(--app-lime); border-radius: 999px; color: var(--app-lime); font: 600 4.4cqw/1 var(--font-numeric); letter-spacing: 0.06em; }
  .fl-dim { inset: 0; background: rgb(10 19 26 / 0.72); }
  .fl-dim span { position: absolute; left: 4.4cqw; right: 4.4cqw; top: 103.5cqw; display: grid; place-items: center; height: 9cqw; padding-top: 0.5cqw; border-radius: 999px; background: #527a1c; color: #2c4a0e; font: 600 4.5cqw/1 var(--font-numeric); letter-spacing: 0.06em; }

  /* Performance: the gauge turns between three readings */
  .fl-main { z-index: 1; padding-top: 0; }
  .fl-main .gs-user { margin-top: 12.4cqw; }
  .fl-face { position: absolute; inset: 0; transform-origin: center; }
  .fl-face svg { position: absolute; inset: 0; }
  .fl-face[data-t] { display: none; }
  .fl-face .gs-avg { align-content: start; padding-top: 21.2cqw; }
  .fl-face .gs-avg span { margin-top: 1.5cqw; }
  .fl-face .gs-track, .fl-face .gs-arc { stroke-width: 4.5; transform: rotate(147deg); }
  .fl-face .gs-track { stroke-dasharray: 68.3 100; }
  .fl-face .gs-arc { stroke: url(#fl-arcg); stroke-dasharray: 0.01 100; transition: stroke-dasharray 1100ms var(--ease-out) 180ms; }
  .fl-f0 .gs-arc { stroke-dasharray: var(--a) 100; transition: none; }
  .fl-face.is-on .gs-arc { stroke-dasharray: var(--a) 100; }
  .fl-face .gs-avg b { font-size: 19cqw; text-shadow: 0 0 4cqw rgb(160 224 32 / 0.16); }
  .fl-face .gs-avg b small { font-size: 52%; }
  .fl-main .gs-title { margin-top: 7cqw; }
  .fl-main .gs-gauge { margin-top: 6cqw; margin-bottom: 5.5cqw; }
  .fl-main .gs-tiles p { padding: 5.2cqw 0 4.4cqw; }
  .fl-main .gs-h { margin-top: 7cqw; }
  .fl-main .gs-connect { margin-top: 8.5cqw; }
  .fl-main .gs-connect .gs-h { margin-top: 0; }
  .fl-main > .gs-h { position: relative; justify-content: center; }
  .fl-main > .gs-h .ic { position: absolute; right: 3cqw; top: 50%; margin: -4cqw 0 0; }
  .fl-card .gs-like .ui-ic { width: 4.4cqw; height: 4.4cqw; stroke-width: 1.6; }
  .gs-avg em { margin-top: 1.8cqw; max-width: 42cqw; font-style: normal; font-size: 3.05cqw; line-height: 1.38; text-align: center; color: rgb(255 255 255 / 0.92); }
  .gs-avg u { display: inline-grid; place-items: center; width: 2.8cqw; height: 2.8cqw; margin-left: 1cqw; border: 0.17cqw solid currentColor; border-radius: 50%; font: 600 2cqw/1 var(--font-text); text-decoration: none; vertical-align: 0.2cqw; }
  .fl-tap { display: none; position: absolute; left: 50%; top: 52%; width: 12cqw; height: 12cqw; margin: -6cqw 0 0 -6cqw; border-radius: 50%; background: rgb(255 255 255 / 0.22); pointer-events: none; }
  .fl-stack { position: relative; height: 14.2cqw; margin: 3cqw 2cqw 0; }
  .fl-stack::before, .fl-stack::after { content: ""; position: absolute; bottom: -1.7cqw; height: 4cqw; border-radius: 0 0 5cqw 5cqw; background: #c9cecd; }
  .fl-stack::before { left: 4cqw; right: 4cqw; }
  .fl-stack::after { left: 8cqw; right: 8cqw; bottom: -3.2cqw; background: #8f979b; z-index: -1; }
  .fl-stack .fl-card { position: absolute; inset: 0; margin: 0; }
  .fl-card[data-t] { display: none; }
  .fl-card .gs-like { color: #14161a; }
  .gs-flow .gs-bat { font-size: 0; }
  .fl-login:has(.fl-dim.is-on) .fl-btn { color: transparent; }
  .fl-tabs .is-dim { color: #6b747b; }

  /* status bar and Performance, measured against the recording */
  .gs-flow > .gs-status { padding-left: 12.3cqw; padding-right: 8.6cqw; font-size: 4.7cqw; }
  .gs-flow .gs-sig-dots { width: 4.4cqw; height: 1cqw; margin-right: 1.4cqw; fill: #6b747b; }
  .gs-flow .gs-bat { min-width: 7cqw; height: 3.6cqw; }
  .fl-main .gs-user { margin-top: 13.7cqw; font-size: 4cqw; }
  .fl-main .gs-title { margin-top: 5.4cqw; }
  .fl-main .gs-gauge { margin-top: 7.6cqw; margin-bottom: 4.7cqw; }
  .fl-main .gs-tiles p { padding: 4.1cqw 0 4.6cqw; }
  .fl-main .gs-tiles span { font-size: 2.42cqw; }
  .fl-main .gs-h { font-size: 5.95cqw; margin-top: 8.8cqw; }
  .fl-main .gs-connect .gs-h { margin-top: 0; }
  .fl-main .gs-pill { height: 9cqw; font-size: 4.4cqw; }
  .fl-main .gs-note { margin-top: 2cqw; }
  .fl-main .gs-connect { padding: 3.8cqw 4cqw 1.9cqw; }
  .fl-main .gs-tabs { height: 20.5cqw; padding-top: 3.3cqw; }
  .fl-stack .fl-card p { font-size: 3.15cqw; font-weight: 600; }
  .fl-stack .fl-card p b { font-size: 3.3cqw; font-weight: 650; }
  .fl-card .gs-post-ic { width: 7.2cqw; height: 7.2cqw; margin: 0 0.4cqw; border-radius: 50%; background: #35590f; place-items: center; }
  .fl-card .gs-post-ic img { width: 76%; height: 76%; }
  .fl-card .gs-like .ui-ic { width: 5.4cqw; height: 5.4cqw; stroke-width: 1.2; color: #6f7378; }
  .fl-card .gs-like { color: #14161a; }
  .is-timed .fl-ob, .is-timed .fl-login { transform: translateX(102%); transition: transform 360ms var(--ease-out); }
  .is-timed .fl-ob.is-on, .is-timed .fl-login.is-on { transform: none; }
  .is-timed .fl-ob.is-on:has(~ .fl-ob.is-on), .is-timed .fl-ob.is-on:has(~ .fl-login.is-on) { transform: translateX(-24%); }
  .is-timed .fl-main { opacity: 0; transition: opacity 320ms linear; }
  .is-timed .fl-main.is-on { opacity: 1; }
  .is-timed .fl-btn { background: #527a1c; transition: background 160ms linear, color 160ms linear, transform 160ms var(--ease-out); }
  .is-timed .fl-btn.is-on { background: var(--app-lime); color: #2b4703; }
  .is-timed .fl-dim { opacity: 0; transition: opacity 280ms linear; pointer-events: none; }
  .is-timed .fl-dim.is-on { opacity: 1; }
  .is-timed .fl-face[data-t] { display: block; }
  .is-timed .fl-card[data-t] { display: grid; }
  .is-timed .fl-face[data-t] { transform: scaleX(0); transition: transform 190ms ease-in; }
  .is-timed .fl-face[data-t].is-on { transform: none; transition: transform 230ms var(--ease-out) 190ms; }
  .is-timed .fl-face:has(~ .fl-face.is-on) { transform: scaleX(0); transition: transform 190ms ease-in; }
  .is-timed .fl-tap { display: block; opacity: 0; }
  .is-timed .fl-tap.is-on { animation: fl-tap 520ms var(--ease-out) both; }
  @keyframes fl-tap { from { opacity: 0.9; transform: scale(0.35); } to { opacity: 0; transform: scale(1.2); } }
  .is-timed .fl-card[data-t] { opacity: 0; transform: translateX(46%) rotate(9deg); transition: transform 420ms var(--ease-out), opacity 260ms linear; }
  .is-timed .fl-card[data-t].is-on { opacity: 1; transform: none; }
  .is-timed .fl-card:has(~ .fl-card.is-on) { opacity: 0; transform: translateX(-10%) rotate(-3deg); transition: transform 380ms var(--ease-out), opacity 260ms linear 60ms; }
  .is-rewind, .is-rewind * { transition: none !important; animation-play-state: paused !important; }
  @media (prefers-reduced-motion: reduce) { .is-timed .fl-ob, .is-timed .fl-login { transition-duration: 1ms; } }

  /* ───────────────────────── Read the series: the target in 3D ─────────────────────────
     A dark section, so lime carries. The target stands upright at an angle, as the phone does in the hero: a card
     with a body, the shots on the paper and three layers floating in front of it, one per number. 1cqw = 1 % of
     the figure's width. Everything below is the finished view; .is-armed (app-page.js) winds it back and .is-in
     plays it once. */
  .app-rest {
    position: relative; isolation: isolate; overflow-x: clip; color: var(--text);
    background: linear-gradient(180deg, var(--color-night) 0%, var(--color-dusk) 50%, var(--color-night) 100%);
  }
  /* the plate: a photograph of our own behind the section (GO: a paper target in its carrier; TARGET: one lane from
     above). It is a dark texture, not a picture to read: the night scrim keeps every line of copy above 7:1, and the
     edges fade into the section's night. */
  .rest-plate { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
  .rest-plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--plate-pos, 70% 50%); }
  .rest-plate::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgb(12 20 28 / 0.94) 0%, rgb(12 20 28 / 0.84) 38%, rgb(12 20 28 / 0.5) 100%),
      linear-gradient(180deg, var(--color-night) 0%, transparent 22%, transparent 78%, var(--color-night) 100%);
  }
  @media (max-width: 899.98px) {
    .rest-plate::after { background: linear-gradient(180deg, var(--color-night) 0%, rgb(12 20 28 / 0.9) 24%, rgb(12 20 28 / 0.86) 76%, var(--color-night) 100%); }
  }
  .rest-grid { display: grid; gap: var(--gap-group) var(--grid-gap); align-items: center; }
  .rest-copy { display: grid; justify-items: start; align-content: start; }
  .rest-copy > .lede { margin-top: var(--gap-head); }
  .rest-stats { display: grid; gap: var(--gap-item); margin-top: var(--space-7); }
  .rest-copy > .demo-note { margin-top: var(--gap-action); }
  .rest-stats > div { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: var(--space-1) var(--space-3); align-items: baseline; padding-top: var(--space-4); border-top: var(--line-hairline) solid var(--line); }
  .rest-stats dt {
    grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: var(--space-2);
    font-size: var(--type-label-size); line-height: var(--type-label-leading); font-weight: var(--type-label-weight);
    letter-spacing: var(--type-label-tracking); text-transform: uppercase; color: var(--text-muted);
  }
  /* the key matches the layer on the target */
  .rest-key { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accent-text); stroke-width: 2; stroke-linecap: round; }
  .rest-num { grid-column: 1; grid-row: 1 / span 2; align-self: start; font: 500 var(--type-numeric-m-size)/var(--type-numeric-m-leading) var(--font-numeric); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .rest-num small { font-size: 55%; }
  .rest-note { grid-column: 2; grid-row: 2; color: var(--text-muted); max-width: 36ch; text-wrap: pretty; }
  .app-rest .demo-note { font-size: var(--type-small-size); color: var(--text-muted); }
  @media (max-width: 599.98px) {
    .rest-stats > div { grid-template-columns: minmax(0, 1fr); }
    .rest-stats dt, .rest-stats .rest-num, .rest-stats .rest-note { grid-column: 1; grid-row: auto; }
    .rest-stats .rest-num { align-self: auto; }
  }
  @media (min-width: 900px) {
    .rest-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(var(--space-6), 5vw, var(--space-8)); }
  }

  .rest-target { container-type: inline-size; position: relative; isolation: isolate; margin: 0; width: 100%; max-width: 40rem; margin-inline: auto; aspect-ratio: 1; }
  /* the lane's light behind the card */
  .rest-target::before {
    content: ""; position: absolute; z-index: -1; inset: -24%; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgb(160 224 32 / 0.17), rgb(160 224 32 / 0.05) 50%, transparent 74%);
  }
  .r3d { position: absolute; inset: 0; perspective: 170cqw; perspective-origin: 50% 46%; }
  .r3d-tilt {
    --r3d-x: 8deg; --r3d-y: -27deg; --rz: 5deg; --step: 7cqw; --w: 108cqw;   /* the same angles are in app-page.js; the card is a little wider than its column */
    position: absolute; left: calc(50% - var(--w) / 2); top: calc(50% - var(--w) / 2); width: var(--w); aspect-ratio: 1;
    transform-style: preserve-3d; transform: rotateX(var(--r3d-x)) rotateY(var(--r3d-y)) rotateZ(var(--rz));
  }
  .r3d-disc, .r3d-shots, .r3d-layer { position: absolute; inset: 0; transform-style: preserve-3d; }
  .r3d-disc .target { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
  .r3d-disc .t-paper { fill: var(--color-target-white); }
  /* the card's body: its outline stepped back along Z, with the shadow on the last one */
  .r3d-disc i { position: absolute; inset: 1.4%; border-radius: 50%; background: #b9c0c7; transform: translateZ(calc(var(--k) * -0.28cqw)); }
  .r3d-disc i:last-of-type { background: #7f8891; box-shadow: 0 3cqw 9cqw rgb(0 0 0 / 0.55); }
  /* light falls off across the paper */
  .r3d-disc::after {
    content: ""; position: absolute; inset: 1.4%; border-radius: 50%; pointer-events: none; transform: translateZ(0.05cqw);
    background: linear-gradient(112deg, transparent 38%, rgb(12 20 28 / 0.2) 100%);
  }
  .r3d-shots i {
    position: absolute; left: var(--x); top: var(--y); width: 2.9%; aspect-ratio: 1; margin: -1.45% 0 0 -1.45%;
    border-radius: 50%; background: var(--color-shot-on-black); box-shadow: inset 0 0 0 0.22cqw rgb(12 20 28 / 0.28); transform: translateZ(0.3cqw);
  }
  /* GO's series: orange on the black, red on the paper, each with the overlay's outline */
  .rest-target .r3d-shots i {
    width: calc(2.9% * 0.66); margin: calc(2.9% * -0.33) 0 0 calc(2.9% * -0.33);
    background: var(--color-shot-hole-on-black); box-shadow: 0 0 0 calc(0.18cqw * 0.66) var(--color-night);
  }
  .rest-target .r3d-shots i.is-on-paper { background: var(--color-shot-hole-on-paper); box-shadow: 0 0 0 calc(0.18cqw * 0.66) var(--color-target-white); }
  /* the two rings and the line out to one shot, in the overlay colours, drawn solid */
  .rest-target .r3d-ring.is-es { fill: rgb(84 120 32 / 0.12); stroke: var(--color-fern); }
  .rest-target .r3d-ring.is-sd { fill: rgb(120 184 32 / 0.12); stroke: var(--color-shot-guide); }
  .rest-target .r3d-guide { fill: none; stroke: var(--color-shot-guide); stroke-width: 0.6; }
  .rest-target .r3d-foot .is-es { stroke: var(--color-fern); }
  .rest-target .r3d-foot .is-sd, .rest-target .r3d-foot .is-guide { stroke: var(--color-shot-guide); }
  .rest-target .r3d-layer[data-layer="group"] .r3d-pin,
  .rest-target .r3d-layer[data-layer="group"] .r3d-pin::after { background: linear-gradient(rgb(84 120 32 / 0.95), rgb(84 120 32 / 0.25)); }
  .rest-target .r3d-layer[data-layer="avg"] .r3d-pin,
  .rest-target .r3d-layer[data-layer="avg"] .r3d-pin::after,
  .rest-target .r3d-layer[data-layer="tend"] .r3d-pin,
  .rest-target .r3d-layer[data-layer="tend"] .r3d-pin::after { background: linear-gradient(rgb(120 184 32 / 0.95), rgb(120 184 32 / 0.25)); }
  .r3d-shots i::after { content: ""; position: absolute; inset: -90%; border-radius: 50%; border: 1px solid var(--color-snow); opacity: 0; }
  .r3d-layer { transform: translateZ(calc(var(--z) * var(--step))); }
  .r3d-layer svg, .r3d-foot { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  /* what each layer stands over, drawn faintly on the paper */
  .r3d-foot { fill: none; stroke: var(--color-lime); stroke-width: 0.3; opacity: 0.3; transform: translateZ(0.3cqw); }
  .r3d-foot .is-dash { stroke-dasharray: 1.5 1.3; }
  /* each ring is a thin sheet of light, so its distance from the paper reads */
  .r3d-ring { fill: rgb(160 224 32 / 0.1); stroke: var(--color-lime); stroke-width: 0.5; }
  .r3d-ring[pathLength] { stroke-dasharray: 100; stroke-dashoffset: 0; }
  .r3d-ring-dash { stroke-dasharray: 1.5 1.3; }
  .r3d-dash { stroke: var(--color-lime); stroke-width: 0.45; stroke-dasharray: 1.1 1.1; }
  .r3d-line { stroke: var(--color-lime); stroke-width: 0.7; stroke-linecap: round; }
  .r3d-cross { fill: none; stroke: var(--color-lime); stroke-width: 0.8; stroke-linecap: round; }
  .r3d-node { fill: var(--color-lime); }
  .r3d-lead { stroke: var(--color-lime); stroke-width: 0.3; stroke-linecap: round; }   /* from a tag back to what it names; kept inside the black */
  .rest-target .r3d-layer[data-layer="group"] .r3d-lead { stroke: var(--color-fern); }
  /* a pin runs from the layer back to the paper: two crossed strips lying on the Z axis */
  .r3d-pin, .r3d-pin::after { background: linear-gradient(rgb(160 224 32 / 0.95), rgb(160 224 32 / 0.25)); }
  .r3d-pin {
    position: absolute; left: var(--x); top: var(--y); width: 3px; margin-left: -1.5px; height: calc(var(--z) * var(--step));
    transform-style: preserve-3d; transform-origin: 50% 0; transform: rotateX(-90deg);
  }
  .r3d-pin::after { content: ""; position: absolute; inset: 0; transform: rotateY(90deg); }
  /* the number faces the viewer: the tilt, undone */
  .r3d-tag {
    position: absolute; left: var(--x); top: var(--y); padding: 0.42em 0.72em 0.26em; border-radius: 999px;
    background: var(--color-lime); color: var(--color-moss); font: 500 clamp(0.8125rem, 3.1cqw, 1.1875rem)/1 var(--font-numeric);
    letter-spacing: 0.02em; white-space: nowrap; font-variant-numeric: tabular-nums;
    box-shadow: 0 0.5cqw 1.6cqw rgb(0 0 0 / 0.3);
    transform: translate(-50%, -50%) rotateZ(calc(var(--rz) * -1)) rotateY(calc(var(--r3d-y) * -1)) rotateX(calc(var(--r3d-x) * -1));
  }
  .r3d-tag b { font-weight: 500; font-size: 1.22em; }

  /* a number on the left lifts its layer (data-focus is set by app-page.js) */
  .rest-target[data-focus] .r3d-layer { opacity: 0.22; }
  .rest-target[data-focus="group"] .r3d-layer[data-layer="group"],
  .rest-target[data-focus="avg"] .r3d-layer[data-layer="avg"],
  .rest-target[data-focus="tend"] .r3d-layer[data-layer="tend"] { opacity: 1; transform: translateZ(calc(var(--z) * var(--step) + 3cqw)); }
  .app-rest:not(.is-armed) .r3d-layer, .app-rest.is-done .r3d-layer { transition: transform 360ms var(--ease-out), opacity 240ms var(--ease-out); }
  @media (hover: hover) and (pointer: fine) {
    .rest-stats > div { cursor: default; transition: border-color var(--duration-hover) var(--ease-hover); }
    .rest-stats > div:hover { border-top-color: var(--text); }
  }

  /* played once when it scrolls in, in about 2.9 s (it was 4.5): the card swings up into its angle as the phone does (900 ms),
     eight shots land (940-1360 ms), the layers lift one by one (from 1300 ms, 400 apart) and the card is done at 2900 ms.
     The same beats, in ms, are in app-page.js play() */
  .app-rest.is-armed.is-in .r3d-tilt { transition: transform 900ms cubic-bezier(0.19, 1.1, 0.3, 1), opacity 320ms linear; }
  .app-rest.is-armed.is-landed .r3d-tilt, .app-rest.is-armed.is-done .r3d-tilt { transition: none; }
  .app-rest.is-armed:not(.is-in) .r3d-tilt { opacity: 0; transform: translate3d(8%, 70%, -40cqw) rotateX(52deg) rotateY(-74deg) rotateZ(28deg); }
  .app-rest.is-armed.is-in .rest-target::before { transition: opacity 900ms var(--ease-out) 300ms; }
  .app-rest.is-armed:not(.is-in) .rest-target::before { opacity: 0; }
  .app-rest.is-armed.is-in .r3d-shots i { transition: transform 340ms cubic-bezier(0.5, 0, 0.9, 0.45) calc(600ms + var(--i) * 60ms), opacity 120ms linear calc(600ms + var(--i) * 60ms); }
  .app-rest.is-armed:not(.is-in) .r3d-shots i { opacity: 0; transform: translateZ(44cqw) scale(1.5); }
  @keyframes shot-hit { from { opacity: 0.9; transform: scale(0.3); } to { opacity: 0; transform: scale(1.5); } }
  .app-rest.is-armed.is-in:not(.is-done) .r3d-shots i::after { animation: shot-hit 440ms var(--ease-out) calc(940ms + var(--i) * 60ms) both; }
  .app-rest.is-armed .r3d-layer { --d: calc(1300ms + (var(--z) - 1) * 400ms); }
  .app-rest.is-armed.is-in:not(.is-done) .r3d-layer { transition: transform 650ms var(--ease-out) var(--d), opacity 360ms var(--ease-out) var(--d); }
  .app-rest.is-armed:not(.is-in) .r3d-layer { opacity: 0; transform: translateZ(0.3cqw); }
  .app-rest.is-armed.is-in .r3d-ring[pathLength] { transition: stroke-dashoffset 600ms var(--ease-out) calc(var(--d) + 120ms); }
  .app-rest.is-armed:not(.is-in) .r3d-ring[pathLength] { stroke-dashoffset: 100; }
  .app-rest.is-armed.is-in .r3d-pin { transition: transform 600ms var(--ease-out) calc(var(--d) + 80ms); }
  .app-rest.is-armed:not(.is-in) .r3d-pin { transform: rotateX(-90deg) scaleY(0); }
  .app-rest.is-armed.is-in .r3d-tag { transition: opacity 320ms var(--ease-out) calc(var(--d) + 360ms); }
  .app-rest.is-armed:not(.is-in) .r3d-tag { opacity: 0; }
  .app-rest.is-armed.is-in .r3d-foot { transition: opacity 400ms var(--ease-out) 1300ms; }
  .app-rest.is-armed:not(.is-in) .r3d-foot { opacity: 0; }

  /* ───────────────────────── The ask: "That's your series. Get GO." Light, centred, the page's one lime block ─────────────────────────
     Below it a short "Works with" strip: the apps this one talks to. One section, one role (proof); the strip is a
     second group inside it, a group gap away. */
  .app-ask { background: var(--bg-alt); }
  .app-ask .unit .h2 { max-width: 14ch; }
  .app-ask .unit .lede { max-width: 32ch; }
  .app-ask .actions { justify-content: center; }
  .app-ask .store-row { gap: var(--space-4); }
  .works { margin-top: var(--gap-group); padding-top: var(--gap-item); border-top: var(--line-hairline) solid var(--line); }
  .works-h { font: var(--type-label-weight) var(--type-label-size)/var(--type-label-leading) var(--font-text); letter-spacing: var(--type-label-tracking); text-transform: uppercase; color: var(--text-subtle); }
  .works-list { display: grid; margin-top: var(--space-3); }
  .works-item {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); min-height: 44px; padding-block: var(--space-4);
    border-bottom: var(--line-hairline) solid var(--line);
    transition: background-color var(--duration-hover) var(--ease-hover);
  }
  .works-item img { width: 44px; height: 44px; border-radius: var(--radius-icon); }
  .works-item .title { display: block; }
  .works-item p { color: var(--text-muted); max-width: 46ch; text-wrap: pretty; }
  .works-item .ring-arrow { color: var(--text); }
  @media (hover: hover) and (pointer: fine) { .works-item:hover .ring-arrow::before { opacity: 1; transform: none; } .works-item:hover .ring-arrow .icon { transform: translateX(3px); } .works-item:hover .title { text-decoration: underline; text-decoration-thickness: var(--line-underline); text-underline-offset: 0.2em; } }
  .works-item:focus-visible { outline-offset: -2px; }
  @media (min-width: 900px) {
    .works-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-8); }
  }

  /* Everything in GO / TARGET / CLUB: approved Soft tiles, scoped to the feature inventory. */
  .app-index { background: var(--bg); }
  .app-index .h2 { margin-bottom: var(--gap-group); }
  .index-grid { display: grid; gap: var(--gap-group) var(--space-8); align-items: start; }
  .index-h { padding-bottom: var(--space-2); border-bottom: 2px solid var(--text); font: var(--type-title-weight) var(--type-title-size)/var(--type-title-leading) var(--font-display); letter-spacing: var(--type-title-tracking); }
  .index-group li { padding-block: var(--space-3); border-bottom: var(--line-hairline) solid var(--line); }
  .index-group p { color: var(--text-muted); font-size: var(--type-small-size); line-height: var(--type-small-leading); text-wrap: pretty; }
  .index-group b { display: block; color: var(--text); font-weight: 700; font-size: var(--type-body-size); line-height: 1.3; }
  @media (min-width: 720px) { .index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

  .app-index--tiles .index-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); margin-bottom: var(--space-7); }
  .app-index--tiles .index-heading .h2 { margin: 0; font-size: clamp(2.75rem, 5.2vw, 4.75rem); line-height: 1.1; text-transform: uppercase; }
  .app-index--tiles .index-app-mark { flex-shrink: 0; width: var(--space-7); height: var(--space-7); }
  .app-index--tiles .index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
  .app-index--tiles .index-h { padding: 0; border: 0; margin-bottom: var(--space-4); font-size: 1.6875rem; line-height: 1.1; text-transform: uppercase; }
  .app-index--tiles .index-group ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .app-index--tiles .index-group li { min-width: 0; padding: var(--space-5); border: 0; border-radius: var(--radius-media); background: var(--bg-alt); box-shadow: 0 2px 6px -4px rgb(12 20 28 / .2); transition: transform var(--duration-hover) var(--ease-hover), background-color var(--duration-hover) var(--ease-hover); }
  .app-index--tiles .index-group li:last-child:nth-child(odd) { grid-column: span 2; }
  .app-index--tiles .index-icon { display: block; width: 28px; height: 28px; margin-bottom: 20px; color: var(--accent-text); fill: none; stroke: currentColor; stroke-width: var(--line-icon); stroke-linecap: round; stroke-linejoin: round; }
  .app-index--tiles .index-group p { font-size: var(--type-small-size); line-height: 1.6; }
  .app-index--tiles .index-group b { margin-bottom: var(--space-2); font-size: var(--space-4); line-height: 1.4; }
  @media (hover: hover) {
    .app-index--tiles .index-group li:hover { background: var(--color-stone); }
  }
  @media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .app-index--tiles .index-group li:hover { transform: translateY(-2px); }
  }
  @media (max-width: 780px) {
    .app-index--tiles .index-heading { margin-bottom: var(--space-6); gap: var(--space-4); }
    .app-index--tiles .index-heading .h2 { font-size: 3rem; }
    .app-index--tiles .index-app-mark { width: 36px; height: 36px; }
    .app-index--tiles .index-grid { grid-template-columns: 1fr; }
    .app-index--tiles .index-group li { padding: 20px; }
  }
  @media (max-width: 480px) {
    .app-index--tiles .index-heading .h2 { font-size: 2.5rem; max-width: 11ch; }
    .app-index--tiles .index-app-mark { width: 30px; height: 30px; }
    .app-index--tiles .index-group ul { grid-template-columns: 1fr; }
    .app-index--tiles .index-group li:last-child:nth-child(odd) { grid-column: auto; }
    .app-index--tiles .index-group li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--space-4); align-items: start; }
    .app-index--tiles .index-icon { margin: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .app-index--tiles .index-group li { transition: none; transform: none; }
  }
  /* GO, CLUB and TARGET: sentence case, one line, fern on the app name.
     TARGET is the long word, so its phone size is a step down; the desktop cap matches the others. */
  .go-index .index-heading .h2,
  .club-index .index-heading .h2,
  .target-index .index-heading .h2 { text-transform: none; max-width: none; text-wrap: nowrap; font-size: clamp(2.4rem, 12vw, 4.25rem); }
  .target-index .index-heading .h2 { font-size: clamp(2.05rem, 10.2vw, 4.25rem); }
  .go-index .index-heading .h2 em,
  .club-index .index-heading .h2 em,
  .target-index .index-heading .h2 em {
    display: inline; font-style: normal; font-synthesis: none; line-height: inherit;
    color: var(--color-fern); background: none; padding: 0; margin: 0;
  }

  /* ───────────────────────── The close plate: a photograph of our own between the page and its closing call ─────────────────────────
     No text on it. It darkens into the footer's night, so the closing headline starts on a calm ground. */
  .close-plate { position: relative; margin: 0; height: clamp(18rem, 40vw, 36rem); overflow: hidden; background: var(--color-night); }
  .close-plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--plate-pos, 50% 50%); }
  .close-plate::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgb(12 20 28 / 0.35) 0%, transparent 28%, transparent 46%, var(--color-night) 100%);
  }
}

@layer utilities {
  @media (prefers-reduced-motion: reduce) {
    .go-hero .w, .go-hero .product, .go-hero .lede, .go-hero .install-row, .go-hero .hero-beta,
    .go-phone-tilt, .go-phone-float, .go-phone-glow, .go-phone .gs, .go-phone .gs-arc, .phone-glare::before { animation: none; }
    .backdrop-video { display: none; }
  }
}

/* the demo phones match the recordings: a plain, narrower island (iPhone 16 Pro) */
.go-features .phone-island { left: 34.5%; top: 1.4%; width: 31%; height: 4.2%; }
.go-features .phone-island::after { display: none; }

/* Static mobile demonstrations expose these labels for longer than the desktop
   sequence does. Keep their secondary text readable at the smaller scale. */
@media (max-width: 1023.98px) {
  .go-features .fl-tabs .is-dim, .go-features .rv-tab-active { color: var(--color-mist); }
  .go-features .gl-tt span, .go-features .tg-tabs span:nth-child(4) { opacity: 1; }
}
