/* Flexera Launcher website.
   Built from UI8's SimpleList landing kit: a near-black canvas, quiet raised surfaces with solid
   hairlines, white pill buttons, large card radii. One typeface, Outfit, the launcher's own, so the
   page and the drawn phones speak alike. Colour lives in the phones; the page itself is ink and one
   grey, plus the icon's sweep once, as the rim of the hero's stage, and the cyan of the measurements.
   Nothing is loaded from anyone else. */
@font-face { font-family: "Outfit"; src: url("fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  /* surfaces, darkest first (SimpleList: #0D0D0F canvas, #1A1A1E surface) */
  --night: #000; --canvas: #0d0d0f; --surface: #141417; --raised: #1c1c20; --hover: #242429;
  /* lines: solid on dark, so they sit quietly instead of glowing */
  --line: #232328; --line-strong: #34343b;
  /* ink and one grey, both a touch cool to agree with the icon's blues */
  --white: #fff; --text: #e4e4e9; --muted: #a2a2ab;
  /* Flexera: cyan for measurements; the sweep from the icon, used once */
  --measure: #19dff8;
  --sweep: linear-gradient(90deg, transparent, #19dff8 18%, #0899f4 34%, #0a4cc5 50%, #5e19da 66%, #dc29f8 82%, transparent);
  /* type */
  --ui: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: var(--ui); --mono: var(--ui);
  /* the names the phone drawings were written against */
  --ash: var(--muted); --border: var(--line-strong); --graphite: var(--raised); --ink: var(--surface);
  --edge: rgba(255, 255, 255, .06) 0 1px 0 0 inset;
  --key: rgba(255, 255, 255, .06) 0 1px 0 0 inset, var(--line-strong) 0 0 0 1px;
  --lift: rgba(0, 0, 0, .25) 0 1px 2px, rgba(0, 0, 0, .25) 0 6px 16px;
  /* motion: a long, soft landing for things that arrive, and a firmer curve for light and colour */
  --ease-out: cubic-bezier(.19, 1, .22, 1); --ease-soft: cubic-bezier(.32, .72, 0, 1);
  /* shape and space */
  --r-xl: 40px; --r-lg: 28px; --r-md: 16px;
  --pad: 32px; --gap: 24px; --max: 1120px; --head: 72px; --sec: 160px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html.is-loading body { visibility: hidden; }
html { -webkit-text-size-adjust: 100%; background: var(--canvas); overflow-x: clip; scrollbar-width: thin; scrollbar-color: rgb(127 127 127 / .35) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; background: transparent; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgb(127 127 127 / .35); border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgb(127 127 127 / .55); }
::-webkit-scrollbar-corner { background: transparent; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--canvas); color: var(--muted); font: 400 18px/1.6 var(--ui); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none; font-kerning: normal; overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; }
p { margin: 0 0 16px; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { margin: 0; color: var(--white); font-weight: 500; text-wrap: balance; }
h2 { font-size: 52px; line-height: 1.06; letter-spacing: -.03em; }
h3 { font-size: 24px; line-height: 1.3; letter-spacing: -.01em; }
::selection { background: var(--text); color: var(--canvas); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 4px; }
code { font: 500 1em/1 var(--ui); color: var(--text); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--white); color: var(--canvas); font: 500 16px/1 var(--ui); text-decoration: none; }
.skip:focus { top: 14px; }
.wrap { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.intro { margin: 20px 0 0; max-width: 30em; font-size: 20px; line-height: 1.55; color: var(--muted); }
.note { margin: 20px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.link { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .15s ease, text-decoration-color .15s ease; }
.link:hover { color: var(--white); text-decoration-color: var(--white); }
.ghost { color: var(--muted); text-decoration: none; transition: color .15s ease; }
.ghost:hover { color: var(--white); }

/* buttons: SimpleList's pills. White is the one primary; everything else is quieter. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--white); color: var(--canvas); font: 500 16px/1 var(--ui); text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: var(--lift); transition: background-color .15s ease, transform .2s var(--ease-soft), box-shadow .2s ease; }
.btn:hover { background: color-mix(in oklch, var(--white) 88%, var(--canvas)); }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-1px); box-shadow: rgba(0, 0, 0, .3) 0 2px 4px, rgba(0, 0, 0, .3) 0 12px 28px; } }
.btn:active { transform: scale(.97); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn__mark { flex: none; width: 20px; height: 20px; fill: currentColor; margin-left: -4px; }

/* the bar: glass over the page (there is content scrolling under it), sticky from 700 px up */
.head { position: relative; z-index: 50; background: rgba(13, 13, 15, .72); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); box-shadow: 0 1px 0 var(--line); transition: background-color .3s ease, box-shadow .3s ease; }
html.js:not(.is-scrolled) .head { background-color: transparent; box-shadow: none; } /* clear at the top of the page; glass once something scrolls under it (script.js) */
.top { display: flex; align-items: center; gap: 16px; height: var(--head); }
.top__brand { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--white); font: 500 17px/1 var(--ui); letter-spacing: -.01em; text-decoration: none; }
.top__brand img { width: 28px; height: 28px; border-radius: 8px; }
.top__links { margin-left: auto; display: flex; align-items: center; gap: 32px; font: 400 16px/1 var(--ui); }
@media (min-width: 700px) {
  .head { position: sticky; top: 0; }
  html { scroll-padding-top: 88px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .head { background: rgba(13, 13, 15, .96); } }
@media (prefers-reduced-transparency: reduce) { .head { background: var(--canvas); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* hero: the claim and the download, centred, then the product on a stage of its own */
.hero { padding-top: 96px; }
.hero__text { max-width: 920px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: 80px; line-height: 1.02; letter-spacing: -.04em; }
.hero h1 .w { display: inline-block; } /* one box per word, so each can rise on its own (see Motion) */
.lede { max-width: 31em; margin: 28px auto 0; font-size: 21px; line-height: 1.55; color: var(--muted); }
.dl { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 40px; }
.dl__note { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.dl__note .link { white-space: nowrap; }

/* The lineup, after SimpleList's hero: three stills straight on the page, standing on one line.
   The list is in front and larger; a gesture stands either side of it, smaller and a step back.
   Each has its caption under it, and the captions start on one line too (the rows are shared). */
.fig { position: relative; isolation: isolate; max-width: 960px; margin: 72px auto 0;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr); column-gap: 48px; row-gap: 28px; }
.fig__item { grid-row: 1 / span 2; display: grid; grid-template-rows: subgrid; }
.fig__item--edge { grid-column: 1; }
.fig__item--main { grid-column: 2; }
.fig__item--quick { grid-column: 3; }
.fig__item .phone-host { align-self: end; }
.fig__item p { align-self: start; margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); text-align: center; text-wrap: balance; }
.fig__item--side .phone-host { filter: brightness(.8); }
/* The icon's sweep, once: the rim of the phone in front, lit at two corners, and its light on the page. */
.fig__phone::before, .fig__phone::after { content: ""; position: absolute; z-index: -1; border-radius: calc(62px * var(--s, .8)); pointer-events: none;
  background: linear-gradient(var(--rim, 135deg), #19dff8, #0899f4 12%, rgba(10, 76, 197, 0) 34%, rgba(94, 25, 218, 0) 66%, #5e19da 88%, #dc29f8); } /* --rim turns with the scroll position (script.js) */
.fig__phone::before { inset: -2px; }
.fig__phone::after { inset: -8px; filter: blur(24px); opacity: .45; }
.fig__phone .phone { box-shadow: inset 0 0 0 2px #3c3c42, inset 0 0 0 5px #0b0b0d, 0 0 0 1.5px rgba(255, 255, 255, .22); } /* the rim's light stands in for the shadow */
.fig figcaption { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--muted); text-align: center; text-wrap: balance; }
.fig noscript { grid-column: 1 / -1; grid-row: 3; }
.noscript { margin: 0; padding: 24px; border: 1px dashed var(--line-strong); border-radius: var(--r-md); font-size: 16px; color: var(--muted); text-align: center; }
/* Without JavaScript there are no drawings: the captions stand as plain text, and the parts that
   only work with the drawings are left out. */
html:not(.js) .phone-host:empty, html:not(.js) .story__stage { display: none; }
html:not(.js) .fig { row-gap: 0; }
html:not(.js) .fig noscript { margin-top: 28px; }
html:not(.js) .fig figcaption, html:not(.js) #try, html:not(.js) .needs-js { display: none; }

/* sections: separated by space, not lines */
.sec { padding-top: var(--sec); }

/* the wave alphabet: the phone stays put while the steps scroll past it */
.story__lead .part__head { grid-column: 1 / span 6; }
.story { margin-top: 8px; align-items: start; }
.story__stage { grid-column: 7 / span 5; grid-row: 1; position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; z-index: 1; pointer-events: none; }
.story__phones { position: relative; height: min(calc(100vh - 168px), 720px); height: min(calc(100svh - 168px), 720px); aspect-ratio: 414 / 868; }
.story__phones .phone-host { position: absolute; inset: 0; }
.story__flow { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: subgrid; position: relative; z-index: 0; }
.story__part { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
.story__part > .part__head { grid-column: 1 / span 5; }
.step { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; min-height: min(68vh, 640px); min-height: min(68svh, 640px); padding: 48px 0; }
.step__text { grid-column: 1 / span 5; grid-row: 1; }
.step__text h3 { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; }
.step__text p { max-width: 26em; margin: 16px 0 0; font-size: 19px; line-height: 1.6; }
.step__text .note { font-size: 16px; }
/* Past the last page: the one band of true black, edge to edge, the page quick launch brings in. */
.story__night { position: relative; padding: 140px 0 100px; margin-top: 80px; }
.story__night::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: var(--night); box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); z-index: -1; }

/* try it */
.play { align-items: center; }
.play__text { grid-column: 1 / span 6; }
.play__stage { grid-column: 8 / span 4; display: grid; place-items: center; }
.play .phone-host { position: relative; height: min(78vh, 740px); height: min(78svh, 740px); touch-action: pan-y; }
.play .phone-host.is-armed { touch-action: none; }
.arm-hint { display: none; }
@media (pointer: coarse) {
  .is-armable:not(.is-armed) .arm-hint { display: block; position: absolute; left: 50%; bottom: 13%; z-index: 3; translate: -50% 0; margin: 0; padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--canvas); font: 500 15px/1.2 var(--ui); white-space: nowrap; pointer-events: none; box-shadow: var(--lift); }
}
.controls { margin-top: 40px; }
.controls + .controls { margin-top: 28px; }
.controls__label { margin: 0 0 12px; font-size: 16px; line-height: 1.4; color: var(--text); }
.controls__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tbtn { height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--raised); color: var(--text); font: 400 15px/1 var(--ui); cursor: pointer; box-shadow: var(--key); transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.tbtn:hover { background: var(--hover); color: var(--white); }
.tbtn:active { transform: scale(.97); }
.tbtn--plain { background: transparent; box-shadow: none; color: var(--muted); }
.tbtn--plain:hover { background: transparent; color: var(--white); }
.switch { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px 0 0; border: 0; background: none; color: var(--text); font: 400 15px/1 var(--ui); cursor: pointer; }
.switch__track { position: relative; flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--raised); box-shadow: var(--key); transition: background-color .15s ease; }
.switch__track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .15s ease, background-color .15s ease; }
.switch[aria-checked="true"] .switch__track { background: var(--white); box-shadow: none; }
.switch[aria-checked="true"] .switch__track::after { transform: translateX(16px); background: var(--canvas); }
.seg-page { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--raised); box-shadow: var(--key); }
.seg-page button { height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 400 15px/1 var(--ui); cursor: pointer; transition: color .15s ease, background-color .15s ease; }
.seg-page button:not([aria-pressed="true"]):hover { color: var(--white); }
.seg-page button[aria-pressed="true"] { background: var(--white); color: var(--canvas); }
@media (pointer: coarse) { .seg-page button { height: 44px; padding: 0 18px; } } /* a finger's worth */
/* a status line, not a field: it keeps room for two lines so the layout doesn't jump as it changes */
.play__caption { margin: 40px 0 0; min-height: 3.2em; font-size: 19px; line-height: 1.6; color: var(--white); }
.howto { margin: 12px 0 0; max-width: 30em; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* the race: a card of its own, SimpleList's large surface */
.race { align-items: center; margin-top: 140px; padding: 88px 0; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--edge); }
.race__stage { grid-column: 2 / span 4; justify-self: center; position: relative; height: min(74vh, 700px); height: min(74svh, 700px); aspect-ratio: 414 / 868; }
.race__side { grid-column: 7 / span 5; padding-right: 24px; }
.race__side h3 { font-size: 36px; line-height: 1.12; letter-spacing: -.025em; }
.race__side > p:not([class]) { margin: 16px 0 0; max-width: 26em; }
.race__stage .race__host { position: absolute; inset: 0; transition: opacity .3s ease; touch-action: pan-y; } /* two classes: it has to beat .phone-host's position, which comes later */
.race__stage[data-phase="r2"] .race__host--list { touch-action: none; } /* round two scrubs the letters */
.race__stage[data-phase="between"] .race__host--grid, .race__stage[data-phase="r2"] .race__host--grid, .race__stage[data-phase="done"] .race__host--grid,
.race__stage[data-phase="idle"] .race__host--list, .race__stage[data-phase="r1"] .race__host--list { opacity: 0; pointer-events: none; }
.race__overlay { position: absolute; left: 8%; right: 8%; top: 50%; translate: 0 -50%; z-index: 3; padding: 24px; border-radius: 20px; background: rgba(13, 13, 15, .84); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: var(--key); transition: opacity .25s ease; }
.race__stage[data-phase="r1"] .race__overlay, .race__stage[data-phase="r2"] .race__overlay, .race__stage[data-phase="done"] .race__overlay { opacity: 0; pointer-events: none; }
.race__round { margin: 0; color: var(--white); font: 500 26px/1.2 var(--ui); font-variant-numeric: tabular-nums; }
.race__msg { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.race__pill { position: absolute; left: 50%; top: -48px; translate: -50% 0; z-index: 4; display: flex; align-items: center; gap: 6px; height: 36px; margin: 0; padding: 0 16px; border-radius: 999px; background: var(--raised); box-shadow: var(--key); color: var(--muted); white-space: nowrap; font: 400 16px/1 var(--ui); opacity: 0; transition: opacity .25s ease; }
.race__pill b { color: var(--white); font-weight: 500; }
.race__stage[data-phase="r1"] .race__pill, .race__stage[data-phase="r2"] .race__pill, .race__stage[data-phase="between"] .race__pill { opacity: 1; }
.race__times { width: 100%; max-width: 26em; margin: 32px 0 20px; border-collapse: collapse; font-size: 17px; }
.race__times th, .race__times td { padding: 14px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.race__times th { text-align: left; font-weight: 400; color: var(--text); }
.race__times td { text-align: right; color: var(--white); font: 500 17px/1.5 var(--ui); font-variant-numeric: tabular-nums; }
.race__verdict { min-height: 3.2em; margin: 0 0 20px; color: var(--white); }

/* smaller things: a plain list, two by two; the content is small, so the form is too */
.things { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 80px; margin: 56px 0 0; padding: 0; list-style: none; }
.thing h3 { font-size: 22px; }
.thing p { max-width: 26em; margin: 10px 0 0; font-size: 18px; }

/* install: the closing card */
.install { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 64px; padding: 80px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--edge); }
.install__main { grid-column: 1; align-self: center; }
.install__main h2 { font-size: 64px; letter-spacing: -.035em; }
.install__main [data-version] { font-variant-numeric: tabular-nums; color: var(--text); }
.install__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 40px; font-size: 17px; }
.qr { grid-column: 2; margin: 0; }
.qr__code { width: 208px; height: 208px; padding: 16px; border-radius: var(--r-lg); background: var(--white); color: var(--canvas); }
.qr__code path { fill: none; stroke-width: 1; shape-rendering: crispEdges; }
.qr figcaption { margin-top: 16px; font-size: 15px; color: var(--muted); text-align: center; }
.steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 72px 0 0; padding: 40px 0 0; border-top: 1px solid var(--line-strong); list-style: none; }
.steps h3 { font-size: 20px; }
.steps p { margin: 8px 0 0; font-size: 17px; line-height: 1.55; }

/* questions: the title on the left, the answers on the right */
.faq { align-items: start; }
.faq__title { grid-column: 1 / span 4; position: sticky; top: 112px; }
.faq__list { grid-column: 6 / span 7; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { position: relative; display: block; padding: 26px 56px 26px 0; color: var(--white); font-size: 20px; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; cursor: pointer; list-style: none; border-radius: 0; text-wrap: balance; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 1.5px; margin-top: -.75px; border-radius: 1px; background: var(--muted); transition: transform .2s ease, background-color .15s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover::before, .faq summary:hover::after { background: var(--white); }
.faq summary:focus-visible { outline-offset: 4px; }
.faq__a { padding: 0 56px 28px 0; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a ul { margin: 0 0 16px; padding-left: 1.1em; }
.faq__a li { margin: 0 0 10px; padding-left: 4px; }
.faq__a li::marker { color: var(--line-strong); }

/* footer */
.foot { margin-top: var(--sec); padding-top: 56px; padding-bottom: 48px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 80px; padding-top: 56px; border-top: 1px solid var(--line); }
.foot__credit { max-width: 36em; margin: 0; font-size: 16px; line-height: 1.6; }
.foot__end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; font-size: 15px; }
.foot__end p { margin: 0; }
/* An egg: point at NOMNOM Inc. and something comes in from the right and eats it, a letter at a time
   (script.js, setupNom). It is one of the launcher's own icons with a jaw, lavender with an indigo eye. */
.nom { position: relative; display: inline-block; white-space: nowrap; }
.nom__l { transition: opacity .1s linear; }
.nom__l.is-eaten { opacity: 0; }
.nom__muncher { position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin-top: -10px; pointer-events: none; opacity: 0; }
.nom__muncher i { position: absolute; left: 0; right: 0; height: 50%; background: #dedcf7; }
.nom__muncher i:first-child { top: 0; border-radius: 7px 7px 2px 2px; transform-origin: 100% 100%; }
.nom__muncher i:last-child { bottom: 0; border-radius: 2px 2px 7px 7px; transform-origin: 100% 0; }
.nom__muncher i:first-child::after { content: ""; position: absolute; left: 5px; top: 4px; width: 3px; height: 3px; border-radius: 50%; background: #231c86; }
.nom__muncher.is-chomping i:first-child { animation: nom-up .15s ease-in-out infinite alternate; }
.nom__muncher.is-chomping i:last-child { animation: nom-down .15s ease-in-out infinite alternate; }
.nom__muncher.is-full { animation: nom-gulp .55s var(--ease-soft); }
.nom__muncher.is-leaving { transition: opacity .25s ease; }
@keyframes nom-up { from { transform: rotate(2deg); } to { transform: rotate(38deg); } }
@keyframes nom-down { from { transform: rotate(-2deg); } to { transform: rotate(-38deg); } }
@keyframes nom-gulp { 30% { transform: translateX(-2px) scale(1.2, .8); } 62% { transform: translateX(-2px) scale(.9, 1.12); } }

/* =====================================================================
   Motion. Three kinds, and all of it stands down for reduced motion:
   the hero's entrance, once, when the fonts are in; sections that rise
   into place as they are scrolled to; and light that answers the scroll
   position or the pointer. Without JavaScript nothing here hides anything.
   ===================================================================== */
@media screen and (prefers-reduced-motion: no-preference) {
  /* The entrance: the headline word by word, then the copy and the button, then the phones, the
     list first. Each rule only names where a thing comes from; it ends as the page has it.
     script.js plays the phones' own part on the same clock: the thumb comes down and the wave goes out. */
  @keyframes word-in { from { opacity: 0; transform: translateY(.22em); filter: blur(12px); } }
  @keyframes rise-in { from { opacity: 0; transform: translateY(20px); filter: blur(6px); } }
  @keyframes phone-in { from { opacity: 0; transform: translateY(72px) scale(.96); } }
  @keyframes fade-in { from { opacity: 0; } }
  html.js:not(.is-loading) .hero h1 .w { animation: word-in .9s var(--ease-out) calc(var(--i, 0) * 70ms) backwards; }
  html.js:not(.is-loading) .lede { animation: rise-in .9s var(--ease-out) .5s backwards; }
  html.js:not(.is-loading) .dl { animation: rise-in .9s var(--ease-out) .62s backwards; }
  html.js:not(.is-loading) .fig__item .phone-host { animation: phone-in 1.3s var(--ease-out) .7s backwards; }
  html.js:not(.is-loading) .fig__item--edge .phone-host { animation-delay: .84s; }
  html.js:not(.is-loading) .fig__item--quick .phone-host { animation-delay: .94s; }
  html.js:not(.is-loading) .fig__phone::before, html.js:not(.is-loading) .fig__phone::after { animation: fade-in 1.6s ease 1.5s backwards; }
  html.js:not(.is-loading) .fig__item p, html.js:not(.is-loading) .fig figcaption { animation: fade-in .9s ease 1.7s backwards; }

  /* Sections rise into place the first time they are scrolled to (script.js marks them .rv, then .is-in). */
  html.rv-on .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-soft) var(--rv-d, 0ms), transform 1.1s var(--ease-out) var(--rv-d, 0ms), filter .9s var(--ease-soft) var(--rv-d, 0ms); }
  html.rv-on .rv--h { filter: blur(10px); } /* headings also come out of a blur */
  html.rv-on .rv.is-in { opacity: 1; transform: none; filter: none; }
  html.rv-on .rv.rv--now { transition: none; }

  /* The answers open and close at their own height, where the browser can do that. */
  @supports (interpolate-size: allow-keywords) {
    .faq details { interpolate-size: allow-keywords; }
    .faq details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size .4s var(--ease-soft), opacity .3s ease, content-visibility .4s allow-discrete; }
    .faq details[open]::details-content { block-size: auto; opacity: 1; }
  }
}
/* The story: the chapter the phone is playing is lit, the others wait at a lower light. */
@media screen {
  .story.is-live .step__text { transition: opacity .45s var(--ease-soft); }
  .story.is-live .step:not(.is-active) .step__text { opacity: .36; }
}
/* A light on the rim of the two cards, under the pointer (script.js adds .glint and moves it). */
.race, .install { position: relative; }
.glint { position: absolute; inset: -1px; padding: 1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0px), rgba(255, 255, 255, .4), rgba(255, 255, 255, 0) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.race:hover > .glint, .install:hover > .glint { opacity: 1; }

@media (prefers-contrast: more) { :root { --line: #4a4a52; --line-strong: #6a6a72; --muted: #c4c4cc; --text: #f2f2f5; } .story.is-live .step:not(.is-active) .step__text { opacity: 1; } }
@media (prefers-reduced-transparency: reduce) { .race__overlay { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* =====================================================================
   The phone. Drawn at 390 x 844, one pixel per dp, and scaled to fit
   its host, so every measurement inside stays the same at any size.
   ===================================================================== */
.phone-host { position: relative; aspect-ratio: 414 / 868; }
.phone {
  position: absolute; left: 0; top: 0;
  width: 414px; height: 868px;
  padding: 12px;
  border-radius: 60px;
  background: #141416;
  box-shadow: inset 0 0 0 2px #3c3c42, inset 0 0 0 5px #0b0b0d, 0 0 0 1.5px rgba(255, 255, 255, .22), 0 6px 56px 12px rgba(0, 0, 0, .45);
  transform-origin: 0 0;
  transform: scale(var(--s, .5));
  user-select: none; -webkit-user-select: none;
}
.phone::before, .phone::after { /* side buttons */
  content: ""; position: absolute; right: -4px; width: 4px; border-radius: 0 3px 3px 0; background: #2a2a2f;
}
.phone::before { top: 190px; height: 70px; }
.phone::after { top: 290px; height: 110px; }
.screen {
  position: relative;
  width: 390px; height: 844px;
  border-radius: 48px;
  overflow: hidden;
  background: #0b0b0d;
  font-family: var(--ui);
  color: #fff;
  isolation: isolate;
  contain: strict;
}
.screen * { box-sizing: border-box; }
.screen .ic svg, .screen .gl { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* The wallpaper and the home screen sit in one layer, which quick launch moves aside. Each has a
   blurred copy that fades in over it; the blur itself never animates.
   The wallpaper is a plain abstract one: a few flat shapes in muted shades of the icon's indigo,
   so that the blur has edges to soften.
   Its shapes are placed from --o, so the blurred copy, which is larger, lines up with the sharp one. */
.world { position: absolute; inset: 0; transform-origin: 50% 50%; }
.wall {
  --o: 0px;
  position: absolute; inset: -30px;
  background-color: #141045;
  background-image:
    radial-gradient(circle, #2b2380 0 70px, transparent 70.5px),
    radial-gradient(circle, #07062a 0 22px, transparent 22.5px),
    radial-gradient(circle, #4f56c8 0 112px, transparent 112.5px),
    linear-gradient(#4f56c8, #4f56c8),
    radial-gradient(circle, #3a2a9a 0 96px, transparent 96.5px),
    linear-gradient(#3a2a9a, #3a2a9a),
    radial-gradient(circle, transparent 0 131px, #c9c7f2 131.5px 133.5px, transparent 134px),
    linear-gradient(to bottom, #181355, #0d0a38);
  background-size: 140px 140px, 44px 44px, 224px 224px, 224px 344px, 192px 192px, 192px 214px, 268px 268px, 450px 904px;
  background-position:
    calc(302px + var(--o)) calc(140px + var(--o)),
    calc(60px + var(--o)) calc(778px + var(--o)),
    calc(8px + var(--o)) calc(448px + var(--o)),
    calc(8px + var(--o)) calc(560px + var(--o)),
    calc(256px + var(--o)) calc(594px + var(--o)),
    calc(256px + var(--o)) calc(690px + var(--o)),
    calc(-14px + var(--o)) calc(426px + var(--o)),
    var(--o) var(--o);
  background-repeat: no-repeat;
}
.wall--blur { --o: 30px; inset: -60px; filter: blur(30px); opacity: 0; will-change: opacity; }

.sbar { position: absolute; left: 0; right: 0; top: 0; height: 40px; padding: 14px 28px 0; display: flex; justify-content: space-between; font: 600 14px/1 var(--ui); z-index: 30; pointer-events: none; }
.sbar__icons { display: flex; align-items: center; gap: 6px; }
.sbar__sig { display: flex; align-items: flex-end; gap: 2px; height: 11px; }
.sbar__sig i { width: 3px; background: #fff; border-radius: 1px; }
.sbar__sig i:nth-child(1) { height: 4px; } .sbar__sig i:nth-child(2) { height: 6px; } .sbar__sig i:nth-child(3) { height: 8px; } .sbar__sig i:nth-child(4) { height: 11px; }
.sbar__bat { width: 22px; height: 11px; border-radius: 3px; border: 1.5px solid #fff; padding: 1.5px; }
.sbar__bat::before { content: ""; display: block; width: 72%; height: 100%; background: #fff; border-radius: 1px; }
.notch { position: absolute; left: 50%; top: 12px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: #000; z-index: 31; box-shadow: inset 0 0 0 4px #111; }

.home { position: absolute; inset: 0; transform-origin: 50% 60%; }
.home--blur { opacity: 0; pointer-events: none; will-change: opacity, transform; }
.home__blurred { position: absolute; inset: 0; filter: blur(24px); }
.pages { position: absolute; inset: 0; }
.page { position: absolute; top: 0; width: 390px; height: 844px; }
.cell { position: absolute; display: flex; flex-direction: column; align-items: center; padding-top: 8px; }
.cell .lbl { margin-top: 7px; font: 500 12.5px/1.2 var(--ui); text-shadow: 0 1px 4px rgba(0, 0, 0, .55); white-space: nowrap; }
.cell.tap .ic, .cell.tap .fic { animation: tapb .3s ease; }
@keyframes tapb { 40% { transform: scale(.86); } }
/* Icons are drawn the way Android 13 and Lawnchair theme them, tinted from the wallpaper, with
   a few apps that don't support it left in their own colours (script.js, ODD). */
.ic {
  position: relative; display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 30%;
  color: var(--fg, #231c86);
  background: var(--bg, #dedcf7);
  box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .5);
  flex: none;
}
.ic svg { width: 46%; height: 46%; }
.ndot { position: absolute; top: 4px; left: calc(50% + 20px); width: 13px; height: 13px; border-radius: 50%; background: #231c86; border: 2px solid #dedcf7; }
.fic { width: 58px; height: 58px; padding: 7px; border-radius: 30%; background: rgba(10, 9, 51, .55); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ic--mini { width: 100%; height: auto; aspect-ratio: 1; box-shadow: none; }
.ic--mini svg { stroke-width: 2.6; }

.w-clock { position: absolute; padding: 26px 18px 0; }
.clk__line { white-space: nowrap; }
.clk__line > span { display: inline-block; will-change: transform; }
.clk__time { font: 300 88px/1 var(--ui); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.clk__date { margin-top: 8px; font: 500 18px/1.2 var(--ui); }
.clk__wx { margin-top: 4px; font: 400 16px/1.2 var(--ui); opacity: .92; }

/* The picture frame's three photos: the sea, mountains, and lemons on a checked cloth. */
.w-pics { position: absolute; padding: 8px 12px 18px; }
.pics { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
.pic { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.pic.on { opacity: 1; }
.pic--a {
  background:
    repeating-linear-gradient(to bottom, transparent 0 8px, rgba(255, 255, 255, .16) 8px 9px) 0 74% / 100% 30% no-repeat,
    linear-gradient(to bottom, #9fcbe8 0, #dcecf5 50%, #2c7aa6 50.5%, #1a557e 84%, #e2d1ab 84.5%, #cdb68c 100%);
}
.pic--b {
  background:
    linear-gradient(150deg, transparent 52%, #3a4757 52.4%) 0 100% / 60% 62% no-repeat,
    linear-gradient(-140deg, transparent 50%, #4b5d6e 50.4%) 100% 100% / 75% 75% no-repeat,
    linear-gradient(140deg, transparent 50%, #5f7385 50.4%) 0 100% / 75% 55% no-repeat,
    linear-gradient(to bottom, #9fb7c9, #dce4e8);
}
.pic--c {
  background:
    radial-gradient(ellipse 7% 5% at 33% 50%, rgba(255, 255, 230, .7), transparent),
    radial-gradient(ellipse 23% 17% at 38% 55%, #f6d64e 0 72%, #ddb12a 94%, transparent 100%),
    radial-gradient(ellipse 21% 15% at 66% 66%, #f0c93e 0 72%, #d6a422 94%, transparent 100%),
    radial-gradient(ellipse 30% 9% at 54% 76%, rgba(10, 20, 40, .35), transparent 70%),
    repeating-linear-gradient(to right, rgba(255, 255, 255, .16) 0 11px, transparent 11px 22px),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .16) 0 11px, transparent 11px 22px),
    #3b6ea6;
}
.pagedots { position: absolute; left: 0; right: 0; top: 748px; display: flex; justify-content: center; gap: 8px; }
.pagedots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: background .2s, width .2s; }
.pagedots i.on { background: #fff; width: 18px; border-radius: 4px; }

/* Quick launch: the home screen dims beside a black page that comes in from the side. */
.qdim { position: absolute; inset: 0; background: #000; opacity: 0; z-index: 8; pointer-events: none; }
.qpage { position: absolute; top: 0; bottom: 0; right: 0; width: 0; background: #000; z-index: 9; pointer-events: none; }
.qpage.is-left { right: auto; left: 0; }
/* The list's backdrop, black over the blurred wallpaper; full-screen folders share it. */
.scrim { position: absolute; inset: 0; background: #000; opacity: 0; z-index: 10; pointer-events: none; }
.ffolder { position: absolute; left: 14px; width: 362px; bottom: 40px; z-index: 11; visibility: hidden; opacity: 0; }
.ffolder__grid { display: grid; grid-template-columns: repeat(4, 90.5px); grid-auto-rows: 104px; }
.ffolder__app { display: flex; flex-direction: column; align-items: center; padding-top: 8px; }
.ffolder__app span { margin-top: 7px; font: 500 12.5px/1.2 var(--ui); color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .55); white-space: nowrap; }
.ffolder__name { height: 24px; text-align: center; font: 600 17px/24px var(--ui); color: #fff; }

.drawer { position: absolute; inset: 0; z-index: 12; visibility: hidden; }
.drawer__in { position: absolute; inset: 0; opacity: 0; -webkit-mask-image: linear-gradient(to bottom, transparent 40px, #000 40px); mask-image: linear-gradient(to bottom, transparent 40px, #000 40px); } /* rows are cut at the status bar */
.list { position: absolute; left: 0; right: 0; top: 40px; padding: 0 56px 0 24px; will-change: transform; }
.search { display: flex; align-items: center; gap: 12px; height: 48px; margin: 8px 0 12px; padding: 0 18px; border-radius: 24px; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); font: 400 16px/1 var(--ui); }
.search .gl { width: 22px; height: 22px; color: rgba(255, 255, 255, .7); stroke-width: 2.2; }
.hdr { display: flex; align-items: flex-end; height: 34px; padding: 0 0 4px; font: 700 12px/1 var(--ui); color: rgba(255, 255, 255, .8); text-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.row { display: flex; align-items: center; gap: 16px; height: 50px; overflow: hidden; border-radius: 12px; transition: background .2s; }
.row .ic { width: 34px; height: 34px; box-shadow: none; }
.row__t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.row__n { font: 400 15px/1.2 var(--ui); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__p { margin-top: 2px; font: 400 11.7px/1.2 var(--ui); color: rgba(255, 255, 255, .7); text-shadow: 0 1px 3px rgba(0, 0, 0, .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.flash { background: rgba(255, 255, 255, .12); }
.row.held { background: rgba(255, 255, 255, .1); }
/* The two settings from the app. */
.is-comfy .row { height: 58px; gap: 18px; }
.is-comfy .row .ic { width: 40px; height: 40px; }
.is-comfy .row__n { font-size: 16px; }
.is-comfy .row__p { font-size: 12.5px; }
.is-comfy .hdr { height: 38px; padding-bottom: 5px; font-size: 13px; }
.is-lefty .list { padding: 0 24px 0 56px; }
.is-lefty .alpha { right: auto; left: 15px; }

/* The wave alphabet: the magnifier and the letters, 20 apart, 30 in from the edge. */
.alpha { position: absolute; right: 15px; top: 314px; width: 30px; height: 360px; display: flex; flex-direction: column; z-index: 3; pointer-events: none; }
.alpha > span { display: grid; place-items: center; height: 20px; flex: none; color: rgba(255, 255, 255, .7); font: 400 12px/1 var(--ui); text-shadow: 0 1px 3px rgba(0, 0, 0, .45); transform-origin: 50% 50%; }
.alpha > span.on { font-weight: 700; color: #fff; }
.alpha__s svg { width: 13px; height: 13px; stroke-width: 2.4; pointer-events: none; }
.sdim { position: absolute; inset: 0; background: #000; opacity: 0; z-index: 2; pointer-events: none; }
.bubble { position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #f1f1f4; color: #17181c; font: 700 22px/1 var(--ui); box-shadow: 0 1px 6px rgba(0, 0, 0, .4); opacity: 0; z-index: 4; pointer-events: none; transform-origin: 50% 50%; }
.bubble svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; }

.menu { position: absolute; left: 0; top: 0; width: 236px; padding: 6px 0; border-radius: 24px; background: #f1f1f4; color: #17181c; z-index: 20; opacity: 0; visibility: hidden; transform-origin: 30% 0; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .65); }
.mi { display: flex; align-items: center; gap: 16px; height: 50px; padding: 0 20px; font: 500 16px/1 var(--ui); }
.mi .gl { width: 22px; height: 22px; stroke-width: 1.9; color: #45474f; }
.mi--hide.pick { background: #dcdde3; }

.snack { position: absolute; left: 24px; right: 24px; bottom: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 22px; border-radius: 18px; background: #f1f1f4; color: #17181c; font: 500 15px/1.2 var(--ui); z-index: 21; opacity: 0; visibility: hidden; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6); }
.snack__undo { all: unset; font: 700 15px/1 var(--ui); color: #1e44c4; cursor: pointer; padding: 4px; }

.sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 22px 36px; border-radius: 30px 30px 0 0; background: #f1f1f4; color: #17181c; z-index: 22; transform: translateY(105%); box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .5); }
.sheet__grab { display: block; width: 36px; height: 4px; margin: 0 auto 14px; border-radius: 2px; background: #a7a9b1; }
.sheet h4 { margin: 0 0 10px; font: 600 22px/1.2 var(--ui); }
.sheet__h { margin: 14px 0 8px; font: 600 13.5px/1 var(--ui); color: #55575f; }
.seg { display: flex; border: 1.5px solid #8a8c95; border-radius: 22px; overflow: hidden; }
.seg span { flex: 1; display: grid; place-items: center; height: 40px; font: 500 14px/1 var(--ui); border-left: 1.5px solid #8a8c95; transition: background .2s; }
.seg span:first-child { border-left: 0; }
.seg span.on { background: #dcdde3; font-weight: 700; }

/* The app quick launch opens: a camera, there at once, with no animation, pointed at a desk. */
.app { position: absolute; inset: 0; background: #000; z-index: 25; visibility: hidden; }
.cam__view {
  position: absolute; left: 0; right: 0; top: 52px; height: 560px; overflow: hidden;
  background: linear-gradient(to bottom, #cdc5b8 0, #b8afa1 58%, #8f6e52 58.2%, #775a41 100%);
}
.cam__view::before { /* the desk's grain */ content: ""; position: absolute; left: 0; right: 0; top: 58%; bottom: 0; background: repeating-linear-gradient(177deg, transparent 0 13px, rgba(0, 0, 0, .07) 13px 15px); }
.cam__book { position: absolute; left: 34px; top: 372px; width: 196px; height: 124px; background: linear-gradient(100deg, #2f4a5c, #284052); clip-path: polygon(12% 0, 100% 7%, 93% 100%, 0 88%); }
.cam__mug { position: absolute; left: 238px; top: 262px; width: 82px; height: 104px; border-radius: 6px 6px 18px 18px; background: linear-gradient(to right, #d6d2c9, #f5f2eb 38%, #e1ddd4); box-shadow: 16px 18px 20px -8px rgba(40, 25, 10, .35); }
.cam__mug::before { /* the rim and the coffee */ content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 18px; border-radius: 50%; background: radial-gradient(ellipse at 50% 60%, #4a2f1e 0 56%, #efebe3 58%); }
.cam__mug::after { /* the handle */ content: ""; position: absolute; right: -27px; top: 22px; width: 34px; height: 46px; border: 8px solid #e3dfd7; border-left: 0; border-radius: 0 24px 24px 0; }
.cam__grid { position: absolute; inset: 0; background: linear-gradient(to right, transparent 33%, rgba(255, 255, 255, .35) 33%, rgba(255, 255, 255, .35) calc(33% + 1px), transparent calc(33% + 1px), transparent 66%, rgba(255, 255, 255, .35) 66%, rgba(255, 255, 255, .35) calc(66% + 1px), transparent calc(66% + 1px)), linear-gradient(to bottom, transparent 33%, rgba(255, 255, 255, .35) 33%, rgba(255, 255, 255, .35) calc(33% + 1px), transparent calc(33% + 1px), transparent 66%, rgba(255, 255, 255, .35) 66%, rgba(255, 255, 255, .35) calc(66% + 1px), transparent calc(66% + 1px)); }
.cam__focus { position: absolute; left: 279px; top: 314px; width: 76px; height: 76px; margin: -38px; border: 2px solid #ffe066; border-radius: 6px; }
.cam__modes { position: absolute; left: 0; right: 0; top: 632px; display: flex; justify-content: center; gap: 26px; font: 600 13px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: #9d9ab8; }
.cam__modes .on { color: #ffd27a; }
.cam__bar { position: absolute; left: 0; right: 0; top: 684px; display: flex; align-items: center; justify-content: space-between; padding: 0 44px; }
.cam__thumb { width: 50px; height: 50px; border-radius: 12px; background: linear-gradient(to bottom, #c9c1b4 56%, #8a6a4f 56%); border: 2px solid #fff; }
.cam__shutter { width: 78px; height: 78px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px #000, 0 0 0 9px #fff; transition: transform .12s ease; }
.cam__flip { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #26243a; }
.cam__flip .gl { width: 24px; height: 24px; color: #fff; }

.gbar { position: absolute; left: 50%; bottom: 9px; width: 124px; height: 5px; margin-left: -62px; border-radius: 3px; background: rgba(255, 255, 255, .88); z-index: 40; pointer-events: none; }

.finger {
  position: absolute; left: 0; top: 0; width: 50px; height: 50px; margin: -25px 0 0 -25px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 8px 20px rgba(0, 0, 0, .35);
  z-index: 50; opacity: 0; pointer-events: none;
}
.finger__ring { position: absolute; inset: -9px; border-radius: 50%; background: conic-gradient(rgba(255, 255, 255, .9) calc(var(--ring, 0) * 1turn), transparent 0); -webkit-mask: radial-gradient(closest-side, transparent 78%, #000 80%); mask: radial-gradient(closest-side, transparent 78%, #000 80%); }

/* Measurement marks, drawn on the phone's screen in its own pixels. */
.marks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 45; pointer-events: none; overflow: visible; }
.mk line, .mk path, .mk circle { fill: none; stroke: var(--measure); stroke-width: 1.5; stroke-linecap: round; }
.mk .dash { stroke-dasharray: 4 4; }
.mk .area { fill: rgba(25, 223, 248, .16); stroke: none; }
.mk .area--dashed { stroke: var(--measure); stroke-width: 1.5; stroke-dasharray: 4 4; }
.mk__label rect { fill: rgba(0, 0, 0, .72); stroke: none; }
.mk__label text { fill: var(--measure); stroke: none; font: 500 13px var(--mono); } /* the page's technical face, not the phone's */
.fig__item--side .mk .dash, .fig__item--side .mk .area--dashed { stroke-width: 2.2; stroke-dasharray: 6 6; } /* drawn smaller: the lines would thin out at 1.5 */
.fig__item--side .mk__label { display: none; }
/* The playground's alphabet for the keyboard and screen readers: a slider over the letters. */
.strip-a11y { position: absolute; z-index: 2; left: calc((12px + 330px) * var(--s, .5)); top: calc((12px + 298px) * var(--s, .5)); width: calc(60px * var(--s, .5)); height: calc(392px * var(--s, .5)); border-radius: 8px; pointer-events: none; }
.phone-host.is-lefty .strip-a11y { left: calc(12px * var(--s, .5)); }
.strip-a11y:focus-visible { outline: 2px solid var(--measure); outline-offset: 2px; }
.ffolder__app.tap .ic { animation: tapb .3s ease; }

/* The race's grid phone. */
.rgrid { position: absolute; left: 8px; right: 8px; top: 52px; display: grid; grid-template-columns: repeat(5, 1fr); row-gap: 12px; }
.rcell { all: unset; display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rcell .ic { width: 50px; height: 50px; }
.rcell__n { max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 10.5px/1.15 var(--ui); color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.rcell.miss .ic, .row.miss { animation: miss .32s ease; }
.rcell.hit .ic { box-shadow: 0 0 0 3px #fff; }
@keyframes miss { 25% { translate: -6px 0; } 75% { translate: 6px 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .hero h1 { font-size: 68px; }
  .fig { max-width: 880px; column-gap: 40px; }
}
@media (max-width: 1099px) {
  :root { --sec: 128px; }
  h2 { font-size: 44px; }
  .hero { padding-top: 88px; }
  .hero h1 { font-size: 60px; }
  .fig { column-gap: clamp(20px, 3.4vw, 36px); row-gap: 24px; }
  .story__lead .part__head { grid-column: 1 / -1; }
  .story__part > .part__head, .step__text { grid-column: 1 / span 6; }
  .story__stage { grid-column: 7 / span 6; }
  .story__phones { height: min(calc(100vh - 168px), 640px); height: min(calc(100svh - 168px), 640px); }
  .play__text { grid-column: 1 / span 7; }
  .play__stage { grid-column: 8 / span 5; }
  /* The phones follow their column's width here, so that a tall, narrow window can't push them out of it. */
  .play .phone-host { height: auto; width: min(100%, 320px, 37vh); width: min(100%, 320px, 37svh); }
  .race { padding: 64px 40px; }
  .race__stage { grid-column: 1 / span 5; height: auto; width: min(100%, 300px, 36vh); width: min(100%, 300px, 36svh); }
  .race__side { grid-column: 6 / span 7; padding-right: 0; }
  .race__side h3 { font-size: 30px; }
  .install { padding: 56px; column-gap: 40px; }
  .install__main h2 { font-size: 52px; }
  .qr__code { width: 176px; height: 176px; }
  .things { column-gap: 48px; }
  .faq__title { grid-column: 1 / -1; position: static; margin-bottom: 40px; }
  .faq__list { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  /* three columns get too narrow to keep the steps' lines even: stack them */
  .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .steps p { max-width: 30em; }
}
@media (max-width: 859px) {
  /* the two side captions are the same length; held this narrow they both run to three lines, never two and three */
  .fig__item--side p { max-width: 11.5em; margin-left: auto; margin-right: auto; }
}
@media (max-width: 699px) {
  :root { --pad: 20px; --head: 64px; --sec: 80px; }
  body { font-size: 17px; }
  h2 { font-size: 34px; line-height: 1.1; letter-spacing: -.025em; }
  h3 { font-size: 21px; }
  .intro { font-size: 18px; margin-top: 16px; }
  .top__hide { display: none; }
  .top__brand { font-size: 16px; }
  .head .top__brand { min-height: 44px; } /* a finger's worth */
  /* What the launcher is, and the download, come first; the drawings follow. */
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 42px; line-height: 1.06; letter-spacing: -.035em; }
  .lede { margin-top: 20px; font-size: 18px; }
  .dl { margin-top: 32px; gap: 14px; }
  .dl .btn { width: 100%; }
  .dl__note { font-size: 15px; }
  /* the lineup: the list on a row of its own, the two gestures side by side under it */
  .fig { max-width: 440px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 16px; margin-top: 48px; } /* 440: the two under it never outgrow the list */
  .fig__item--main { grid-column: 1 / -1; grid-row: 1; display: block; margin-bottom: 32px; }
  .fig__item--main .phone-host { width: min(250px, 66vw); margin: 0 auto; }
  .fig__item--main p { max-width: 17em; margin: 20px auto 0; }
  .fig__item--side { grid-row: 2 / span 2; }
  .fig__item--edge { grid-column: 1; }
  .fig__item--quick { grid-column: 2; }
  .fig__item p { font-size: 15px; }
  .fig__item--side p { max-width: 11em; }
  .fig figcaption, .fig noscript { grid-row: 4; }
  .fig figcaption { margin-top: 16px; }
  /* the story: the phone stays on top, opaque from edge to edge, and takes its own taps: text scrolls under it, never over it.
     Its background follows the black band's edges (script.js sets --night-from and --night-to). */
  .story__lead .part__head { grid-column: 1 / -1; }
  .story { display: block; margin-top: 24px; }
  .story [id] { scroll-margin-top: min(52vh, 150vw); scroll-margin-top: min(52svh, 150vw); } /* a jump lands below the phone, not under it */
  .story__stage { position: sticky; top: 0; height: min(52vh, 150vw); height: min(52svh, 150vw); z-index: 2; pointer-events: auto; margin: 0 calc(-1 * var(--pad));
    background: linear-gradient(to bottom, var(--canvas) 0 var(--night-from, 100%), var(--night) var(--night-from, 100%) var(--night-to, 100%), var(--canvas) var(--night-to, 100%));
    box-shadow: 0 1px 0 var(--line); }
  .story__phones { height: min(48vh, 140vw); height: min(48svh, 140vw); }
  .story__flow { display: block; position: relative; z-index: 1; }
  .story__part, .step { display: block; }
  .story__part > .part__head { padding-top: 8px; }
  .step { min-height: min(64vh, 560px); min-height: min(64svh, 560px); padding: 32px 0 40px; }
  .step__text h3 { font-size: 24px; }
  .step__text p { font-size: 17px; margin-top: 12px; }
  .step__text .note { font-size: 15px; }
  .story__night { padding: 64px 0 24px; margin-top: 24px; }
  .story.is-live .step:not(.is-active) .step__text { opacity: 1; } /* one chapter's text is on screen at a time here, so none is dimmed */
  /* try it */
  .play__text, .play__stage, .race__stage, .race__side { grid-column: 1 / -1; }
  .controls { margin-top: 32px; }
  .tbtn { height: 44px; padding: 0 16px; }
  .play__caption { font-size: 17px; margin-top: 32px; }
  .howto { font-size: 15px; }
  .play__stage { margin-top: 32px; }
  .play .phone-host, .race__stage { height: auto; width: min(100%, 258px, 30.5vh); width: min(100%, 258px, 30.5svh); }
  .race { margin-top: 80px; padding: 40px 20px 48px; border-radius: var(--r-lg); }
  .race__side { order: -1; }
  .race__side h3 { font-size: 26px; }
  .race__side .btn { width: 100%; }
  .race__stage { margin-top: 72px; }
  /* smaller things */
  .things { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 36px; }
  .thing h3 { font-size: 20px; }
  .thing p { font-size: 17px; margin-top: 6px; }
  /* install: on a phone the code is no use, so it goes */
  .install { display: block; padding: 40px 20px; border-radius: var(--r-lg); }
  .install__main h2 { font-size: 38px; }
  .install__actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 32px; text-align: center; }
  .install__actions .btn { width: 100%; }
  .install__actions .link { padding: 10px 0; } /* a finger's worth */
  .qr { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; }
  .steps h3 { font-size: 18px; }
  .steps p { font-size: 16px; }
  /* questions */
  .faq__title { margin-bottom: 24px; }
  .faq summary { padding: 22px 44px 22px 0; font-size: 18px; }
  .faq summary::before, .faq summary::after { right: 4px; }
  .faq__a { padding-right: 0; }
  /* footer */
  .foot { padding-top: 0; }
  .foot__top { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .foot__credit { font-size: 15px; }
  .foot__end { flex-direction: column; margin-top: 32px; font-size: 15px; }
  .foot__end { gap: 2px; }
  .foot__end .ghost { width: fit-content; padding: 10px 0; }
}

@media (forced-colors: active) {
  .tbtn, .seg-page, .switch__track, .race__overlay, .race, .install { border: 1px solid CanvasText; }
  .btn { border: 1px solid currentColor; }
  .seg-page button[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: -2px; }
  .switch__track::after, .faq summary::before, .faq summary::after { background: CanvasText; }
  .switch[aria-checked="true"] .switch__track { background: Highlight; }
  .switch[aria-checked="true"] .switch__track::after { background: HighlightText; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
/* Printed: dark on white, and, as without JavaScript, the text without the drawings, the playground or the bar. */
@media print {
  :root { --canvas: #fff; --surface: #fff; --raised: #fff; --night: #fff; --line: #c4c4c4; --line-strong: #c4c4c4;
    --white: #000; --text: #1d1d1f; --muted: #4b4b4d; color-scheme: light; }
  .head, .skip, .fig .phone-host, .fig figcaption, .story__stage, #try, .needs-js, .qr { display: none; }
  .fig { margin-top: 24px; row-gap: 0; }
  .sec, .story__night { padding-top: 48px; padding-bottom: 48px; }
  .step { min-height: 0; padding: 16px 0; }
  .story__lead .part__head, .story__part > .part__head, .step__text { grid-column: 1 / -1; }
  .install { padding: 0; border: 0; }
  .btn { box-shadow: none; border: 1px solid var(--line); }
  details > :not(summary) { display: block !important; }
  h2, h3 { break-after: avoid; }
}
