:root {
  --yellow: #ffe033;
  --flap: #fff3b0;
  --ink: #1d1d1f;
  --black: #000;
  --paper: #fff;
  --soft: #f5f5f7;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --link: #06c;
  /* A critically damped and a slightly lively spring, written for CSS. */
  --spring-calm: linear(0, .146 7%, .428 15%, .698 24%, .86 33%, .948 43%, .985 54%, 1);
  --spring-land: linear(0, .25 6%, .76 14%, 1.06 22%, 1.13 28%, 1.06 40%, .99 52%, 1);
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Noto Sans", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f5f7;
    --paper: #000;
    --soft: #161617;
    --muted: #a1a1a6;
    --line: #424245;
    --link: #2997ff;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
a { color: inherit; }
:focus-visible { outline: 3px solid #2997ff; outline-offset: 3px; }
.defs { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* One state drives every switch on the page. */
.is-lit .when-dark, body:not(.is-lit) .when-lit { display: none; }

/* Navigation */
.nav {
  position: absolute; z-index: 5; inset: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 3vw, 28px);
  color: #f5f5f7;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; }
.brand img { border-radius: 6px; }
.nav-end { display: flex; align-items: center; gap: 6px; }
.lang, .nav-get {
  min-height: 44px; min-width: 44px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: #d2d2d7; text-decoration: none; border-radius: 8px;
}
.lang:hover { color: #fff; }

/* Looks compact, but the invisible ::before keeps the 44 px touch target. */
.nav-get {
  position: relative;
  min-height: 32px; min-width: 0; padding: 0 14px;
  border-radius: 980px;
  background: linear-gradient(180deg, #fff 0%, #e6e6eb 100%); color: #000;
  font-weight: 500;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.5);
  transition: filter .15s ease-out, transform .1s ease-out;
}
.nav-get::before { content: ""; position: absolute; inset: -6px 0; }
.nav-get:hover { color: #000; filter: brightness(1.05); }
.nav-get:active { transform: scale(.97); filter: brightness(.94); }

/* The room */
.room {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 88px 22px 56px;
  text-align: center;
  background: var(--black);
  color: #f5f5f7;
}
.room > * { position: relative; }
.room-glow {
  position: absolute; left: 50%; top: 62%;
  width: min(150vw, 1500px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255,255,255,.2), rgba(255,255,255,.06) 42%, transparent 72%);
  opacity: 0;
  transition: opacity .45s ease-out;
  pointer-events: none;
}
.is-lit .room-glow { opacity: 1; }
.room-title {
  font-size: clamp(42px, min(8.4vw, 10svh), 104px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 700;
  max-width: 13em;
  text-wrap: balance;
}
.room-title > span { display: block; }
.room-sub {
  margin-top: 18px;
  max-width: 34em;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.38;
  letter-spacing: -.012em;
  color: #a1a1a6;
  text-wrap: balance;
}

/* The lid: a plain circle of light on purpose, never Apple's logo */
.lid {
  --size: clamp(250px, min(44vw, 48svh), 560px);
  position: relative; display: grid; place-items: center;
  width: var(--size); aspect-ratio: 3 / 2;
  margin: clamp(32px, 5vh, 56px) 0 clamp(28px, 4vh, 44px);
  border-radius: calc(var(--size) * .045);
  background: linear-gradient(#1f2730, #0d1116);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 40px 80px rgba(0,0,0,.6);
}
.lid.is-hit { animation: give .5s var(--spring-calm); }
@keyframes give { 30% { transform: scale(.975); } }
.lid > * { grid-area: 1 / 1; }
.lid-light {
  width: 17%; aspect-ratio: 1; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 calc(var(--size) * .05) rgba(255,255,255,.9), 0 0 calc(var(--size) * .2) rgba(255,255,255,.4);
  opacity: 0;
  transition: opacity .16s ease-out;
}
.is-lit .lid-light { opacity: 1; }
body.warming .lid-light { animation: warm .6s ease-in-out; }
@keyframes warm { 0% { opacity: .1; } 25% { opacity: .4; } 45% { opacity: 1; } 65% { opacity: .7; } 100% { opacity: 1; } }

.wave {
  width: 38%; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--yellow);
  opacity: 0;
  pointer-events: none;
}
.is-lit .wave { border-color: #fff; }
.lid.is-hit .wave { animation: wave .7s ease-out .14s; }
@keyframes wave { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(2.2); } }

.sticker {
  width: 38%; aspect-ratio: 1; overflow: visible;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.45));
  transform-origin: 20% 15%;
  transform: rotate(-2deg);
  transition: transform .42s var(--spring-land), opacity .12s linear;
}
.is-lit .sticker {
  opacity: 0;
  transform: translate(22%, -48%) rotate(24deg) perspective(700px) rotate3d(1, -1, 0, 66deg) scale(1.5);
  transition: transform .42s var(--spring-calm), opacity .26s linear .1s;
}
.sticker-body { fill: var(--yellow); }
.sticker-flap { fill: var(--flap); }

/* Button */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; min-width: 200px; padding: 0 30px;
  border-radius: 980px;
  background: linear-gradient(180deg, #fff07f 0%, #ffe033 48%, #f4c90f 100%);
  color: #04080f;
  font-size: 18px; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
  /* Light on the top edge, a shaded bottom edge, then the shadow on the surface. */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.8),
    inset 0 -1px 0 rgba(140,95,0,.35),
    0 1px 2px rgba(0,0,0,.35),
    0 8px 24px rgba(255,224,51,.26);
  transition: transform .1s ease-out, box-shadow .25s ease-out, filter .15s ease-out;
}
.pill:hover {
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -1px 0 rgba(140,95,0,.35),
    0 2px 4px rgba(0,0,0,.35),
    0 12px 34px rgba(255,224,51,.42);
}
.pill:active {
  transform: scale(.97);
  filter: brightness(.97);
  box-shadow:
    inset 0 1px 3px rgba(120,80,0,.4),
    0 1px 1px rgba(0,0,0,.3);
}

/* The four ways */
.ways { max-width: 1040px; margin: 0 auto; padding: clamp(72px, 12vw, 150px) 22px 0; }
.way {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: clamp(32px, 7vw, 96px);
  padding-bottom: clamp(72px, 12vw, 150px);
}
.way:nth-child(odd) .way-text { order: 2; }
.way h3 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08; letter-spacing: -.028em; font-weight: 700;
  text-wrap: balance;
}
.way p {
  margin-top: 14px; max-width: 28em;
  font-size: clamp(17px, 1.7vw, 19px); line-height: 1.45; letter-spacing: -.01em;
  color: var(--muted);
}

.demo {
  justify-self: center;
  transition: transform .1s ease-out, background-color .25s ease-out, color .25s ease-out;
}
.demo:active { transform: scale(.97); }

.demo-bar {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  width: 100%; max-width: 420px; height: 76px; padding: 0 22px;
  border-radius: 20px;
  background: var(--soft);
}
.bar-glyph { width: 40px; height: 40px; fill: currentColor; }
.bar-items { display: flex; gap: 18px; }
.bar-items i { width: 22px; height: 22px; border-radius: 6px; background: currentColor; opacity: .14; }

.demo-tile {
  position: relative;
  width: 200px; height: 200px; padding: 22px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  text-align: start;
  border-radius: 44px;
  background: var(--soft);
}
.demo-tile svg { position: absolute; top: 22px; inset-inline-start: 22px; width: 56px; height: 56px; fill: currentColor; }
.is-lit .demo-tile { background: var(--yellow); color: #04080f; }
.tile-name { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.tile-state { font-size: 15px; opacity: .65; }

.demo-keys { display: flex; gap: 10px; direction: ltr; }
.demo-keys kbd {
  display: grid; place-items: center;
  width: clamp(58px, 7.6vw, 86px); aspect-ratio: 1;
  border-radius: 18px;
  font-family: inherit;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 500;
  background: var(--soft);
  box-shadow: inset 0 -3px 0 rgba(128,128,128,.28), inset 0 0 0 1px rgba(128,128,128,.16);
}
.demo-keys:active kbd { box-shadow: inset 0 0 0 1px rgba(128,128,128,.3); }

.demo-focus {
  display: flex; align-items: center; gap: 14px;
  width: 100%; max-width: 380px; min-height: 84px; padding: 0 22px;
  border-radius: 24px;
  background: var(--soft);
  text-align: start;
}
.moon { width: 30px; height: 30px; fill: #7d5fff; flex: none; }
.focus-name { flex: 1; font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
.focus-track {
  position: relative; flex: none; width: 58px; height: 34px; border-radius: 34px;
  background: var(--line);
  transition: background-color .25s ease-out;
}
.focus-track span {
  position: absolute; top: 3px; inset-inline-start: 3px; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.25);
  transition: transform .34s var(--spring-land);
}
body:not(.is-lit) .focus-track { background: var(--yellow); }
body:not(.is-lit) .focus-track span { transform: translateX(24px); }
[dir="rtl"] body:not(.is-lit) .focus-track span { transform: translateX(-24px); }

/* Commands */
.commands {
  background: var(--soft);
  padding: clamp(72px, 11vw, 130px) 22px;
  text-align: center;
}
.commands h2, .get h2 {
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.06; letter-spacing: -.03em; font-weight: 700;
  text-wrap: balance;
}
.commands > p:not(.fine) {
  margin: 16px auto 40px; max-width: 32em;
  font-size: clamp(18px, 1.9vw, 21px); line-height: 1.4; letter-spacing: -.012em;
  color: var(--muted);
  text-wrap: balance;
}
.command {
  display: flex; align-items: center; gap: 14px;
  max-width: 760px; margin: 0 auto 10px; padding: 8px 8px 8px 20px;
  border-radius: 14px;
  background: var(--paper);
  direction: ltr; text-align: left;
}
.command-body { flex: 1; min-width: 0; }
.command-label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; letter-spacing: -.005em; }
.command code {
  display: block;
  font: 14px/1.45 ui-monospace, "SF Mono", Menlo, monospace;
  overflow-wrap: anywhere;
  color: var(--muted);
}
/* The command stays left-to-right, its label follows the page's language. */
[dir="rtl"] .command-label { direction: rtl; text-align: right; }
.command button {
  flex: none; min-height: 44px; min-width: 76px; padding: 0 14px;
  border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--link);
}
.command button:hover { background: var(--soft); }
.fine {
  margin: 26px auto 18px; max-width: 42em;
  font-size: 15px; line-height: 1.5; color: var(--muted);
  text-wrap: balance;
}
.text-link { color: var(--link); font-size: 17px; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Get */
.get { padding: clamp(80px, 12vw, 150px) 22px; text-align: center; }
.get img { border-radius: 28px; }
.get h2 { margin-top: 22px; }
.get p { margin: 14px auto 32px; max-width: 30em; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.4; letter-spacing: -.012em; color: var(--muted); text-wrap: balance; }
.pill-get[aria-disabled="true"] {
  background: var(--soft); color: var(--muted); box-shadow: none; text-shadow: none; filter: none; pointer-events: none;
}

.get .tip { margin: 26px auto 0; font-size: 15px; }
.get .tip .text-link { font-size: inherit; }

/* Questions */
.faq { max-width: 760px; margin: 0 auto; padding: clamp(72px, 11vw, 130px) 22px 0; }
.faq h2 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; text-align: center; margin-bottom: 36px; text-wrap: balance; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 64px; padding: 12px 0;
  font-size: 19px; font-weight: 600; letter-spacing: -.012em; line-height: 1.3;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  rotate: 45deg; translate: 0 -2px; transition: rotate .25s ease, translate .25s ease;
}
.faq details[open] summary::after { rotate: 225deg; translate: 0 2px; }
.faq details p { margin: 0 0 20px; font-size: 17px; line-height: 1.5; color: var(--muted); }
.faq code {
  display: block; margin: 10px 0; padding: 10px 14px; border-radius: 10px;
  direction: ltr; text-align: left;
  font: 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink);
  background: var(--soft); overflow-wrap: anywhere;
}

/* Footer */
.foot {
  max-width: 1040px; margin: 0 auto;
  padding: 20px 22px 40px;
  border-top: 1px solid var(--line);
  font-size: 12px; line-height: 1.5; color: var(--muted);
}
.foot p + p { margin-top: 6px; }

.foot a { color: inherit; }
.foot-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 10px; }
.language {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; color: var(--ink);
}
.language svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.language select {
  appearance: none; -webkit-appearance: none;
  padding: 0; border: 0; background: transparent; color: inherit;
  font: inherit; font-size: 12px; cursor: pointer;
  min-height: 44px;
}
.language select:hover { text-decoration: underline; }
.language:focus-within { outline: 3px solid #2997ff; outline-offset: 2px; border-radius: 6px; }
.language select:focus-visible { outline: none; }

/* Tight tracking only suits the Latin display sizes. */
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3,
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3,
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3,
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3,
:lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3 { letter-spacing: 0; }
:lang(ar) .room-title, :lang(hi) .room-title { line-height: 1.2; }

/* Legal page */
.legal-nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 760px; margin: 0 auto; padding: 14px 22px;
}
.legal-nav .lang { color: var(--muted); }
.legal-nav .lang:hover { color: var(--ink); }
.legal { max-width: 760px; margin: 0 auto; padding: 24px 22px 80px; font-size: 17px; line-height: 1.55; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; letter-spacing: -.028em; margin-top: 56px; }
.legal div > h1:first-child { margin-top: 0; }
.legal h2 { font-size: 21px; line-height: 1.25; letter-spacing: -.015em; margin-top: 32px; }
.legal p, .legal address { margin-top: 12px; font-style: normal; }
.legal a { color: var(--link); }
.legal-lead { font-size: 21px; line-height: 1.4; letter-spacing: -.012em; }
.legal-date { color: var(--muted); font-size: 14px; margin-top: 40px; }

/* Motion. Individual translate and scale properties are used on purpose:
   they add to the transforms that press and landing effects already use. */
@keyframes rise { from { opacity: 0; translate: 0 14px; } }
@keyframes appear { from { opacity: 0; } }
@keyframes breathe {
  from { transform: translate(-50%, -50%) scale(1); }
  to { transform: translate(-50%, -50%) scale(1.04); }
}
@keyframes swap { from { opacity: 0; translate: 0 6px; } }
@keyframes pop { from { opacity: 0; scale: .72; } }
@keyframes tap { 45% { translate: 0 3px; } }
@keyframes settle { from { opacity: 0; translate: 0 26px; scale: .965; } }

/* Once, on load: the content arrives in order, then the light warms up. */
.is-entering .nav { animation: appear 1s ease-out .1s both; }
.is-entering .room-title { animation: rise .9s cubic-bezier(.16,.84,.3,1) both; }
.is-entering .room-sub { animation: rise .9s cubic-bezier(.16,.84,.3,1) .08s both; }
.is-entering .lid { animation: rise .9s cubic-bezier(.16,.84,.3,1) .16s both; }
.is-entering .room > .pill { animation: rise .9s cubic-bezier(.16,.84,.3,1) .24s both; }
.is-entering .lid-light { animation: warm 1.1s ease-in-out .5s both; }

/* While lit: the glow in the room breathes very slightly. */
.is-lit .room-glow { animation: breathe 5s ease-in-out infinite alternate; }
.is-lit.is-entering .room-glow { animation: appear 1.4s ease-out .6s both, breathe 5s ease-in-out 2s infinite alternate; }

/* On a switch: whatever just became visible eases in. */
.room-title > span, .room > .pill span, .tile-state { animation: swap .4s ease-out; }
.bar-glyph, .demo-tile svg { animation: pop .42s var(--spring-land); }
.demo-keys.is-pressing kbd { animation: tap .3s ease-in-out; }
.demo-keys.is-pressing kbd:nth-child(2) { animation-delay: .06s; }
.demo-keys.is-pressing kbd:nth-child(3) { animation-delay: .12s; }
.demo-keys.is-pressing kbd:nth-child(4) { animation-delay: .18s; }

@media (max-width: 720px) {
  .way { grid-template-columns: minmax(0, 1fr); gap: 36px; text-align: center; }
  .way:nth-child(odd) .way-text { order: 0; }
  .way p { margin-inline: auto; }
  .bar-items:last-of-type i:nth-child(n+2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .sticker, .is-lit .sticker { transform: rotate(-2deg); transition: opacity .2s linear; }
  .demo, .pill, .focus-track span { transition: none; }
}

/* ------------------------------------------------------------------ *
 * Below the hero. Everything here needs html.motion, which is not set *
 * under reduced motion or without JavaScript. The hero stays calm.    *
 * ------------------------------------------------------------------ */
.demo { position: relative; }
.word { display: inline-block; }
.icon-stage { position: relative; display: inline-block; line-height: 0; }

/* Headings build word by word, text and controls follow. */
@keyframes word-in { from { opacity: 0; translate: 0 .45em; filter: blur(8px); } }
.motion .way h3 .word, .motion .commands h2 .word, .motion .get h2 .word { opacity: 0; }
.motion .in h3 .word, .motion .commands.in h2 .word, .motion .get.in h2 .word {
  opacity: 1;
  animation: word-in .8s cubic-bezier(.16,.84,.3,1) both;
  animation-delay: calc(var(--i) * 55ms);
}
.motion .way p, .motion .commands > p, .motion .command, .motion .commands .text-link, .motion .get > p, .motion .get > .pill {
  opacity: 0; translate: 0 18px;
  transition: opacity .8s ease-out, translate .9s cubic-bezier(.16,.84,.3,1);
}
.motion .in p, .motion .commands.in > p, .motion .commands.in .command, .motion .commands.in .text-link, .motion .get.in > p, .motion .get.in > .pill {
  opacity: 1; translate: 0 0;
  transition-delay: .3s;
}
.motion .commands.in .command:nth-of-type(2) { transition-delay: .4s; }

/* A ghost pointer presses each control once. */
.ghost {
  position: absolute; z-index: 5; left: 50%; top: 50%;
  width: 26px; height: 26px; pointer-events: none;
  animation: ghost 1.7s cubic-bezier(.5,0,.2,1) both;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.4));
}
.ghost svg { display: block; width: 100%; height: 100%; fill: #fff; stroke: #000; stroke-width: 1.4; }
.demo-focus .ghost { left: auto; right: 34px; }
[dir="rtl"] .demo-focus .ghost { right: auto; left: 34px; }
@keyframes ghost {
  0% { opacity: 0; translate: 90px 80px; scale: 1; }
  18% { opacity: 1; }
  52% { opacity: 1; translate: 0 0; scale: 1; }
  58% { scale: .78; }
  66% { scale: 1; translate: 0 0; }
  85% { opacity: 1; }
  100% { opacity: 0; translate: 40px 44px; }
}

/* Controls answer with a ring. */
.demo.is-pulsing::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  animation: control-ring .75s ease-out forwards;
}
.demo-keys.is-pulsing::before { border-radius: 22px; }
@keyframes control-ring { from { box-shadow: 0 0 0 0 rgba(255,214,0,.7); } to { box-shadow: 0 0 0 26px rgba(255,214,0,0); } }

/* The moon sways slowly. */
.motion .way.in .moon { animation: moon-sway 5s ease-in-out infinite; }
@keyframes moon-sway { 0%, 100% { rotate: -9deg; } 50% { rotate: 14deg; } }

/* Typing */
.command code .untyped { opacity: 0; }
.command code.is-typing .typed::after {
  content: ""; display: inline-block; width: .55em; height: 1.05em; margin-bottom: -.16em;
  background: var(--yellow); animation: caret .7s steps(2) infinite;
}
@keyframes caret { 50% { opacity: .15; } }

/* The icon floats, gleams and tilts with the pointer. */
.motion .icon-stage {
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  animation: icon-float 5.5s ease-in-out infinite;
}
@keyframes icon-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.motion .icon-stage::after {
  content: ""; position: absolute; inset: 0; border-radius: 28px; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.65) 48%, transparent 66%) no-repeat;
  background-size: 260% 100%; background-position: 170% 0;
  animation: gleam 5.5s ease-in-out infinite;
  mix-blend-mode: soft-light;
}
@keyframes gleam { 0%, 55% { background-position: 170% 0; } 85%, 100% { background-position: -70% 0; } }

/* Tied to scrolling: the controls and the icon settle into place. */
@supports (animation-timeline: view()) {
  @keyframes settle-3d { from { opacity: 0; translate: 0 60px; scale: .88; } }
  .motion .way .demo, .motion .get .icon-stage img {
    animation: settle-3d linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 32%;
  }
}
