/* Frostshot home page: what the cover adds to the kit and to frost.css.
   1. the action is the ink (a black button in light, a light one in dark);
   2. the menu as a floating pill of glass;
   3. the centred hero: the icon inside the headline, one line, one button, the launch email under it;
   4. the live capture: press the keys, drag an area, the island rises, an arrow is drawn, Return copies. The app's own
      interface drawn in HTML and CSS; its measures are the app's (tag v1.0-7): Frostshot/Overlay/LiquidIsland.swift and
      LiquidIslandView.swift, Frostshot/UI/PillGlass.swift, Frostshot/Annotation/AnnotationRenderer.swift,
      Frostshot/Feedback/ConfirmationCardView.swift. Points are written as px and the piece is scaled to its frame;
   5. the feature cards and the foot;
   7. the Mac: the capture inside a MacBook that straightens as the page scrolls, and "How it works", the same Mac held still. */

/* 1. the action */
:root { --p-action: #0d131b; --p-action-ink: #f4f8fc; --p-inv-action: #f4f8fc; --p-inv-action-ink: #0d131b; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --p-action: #f4f8fc; --p-action-ink: #0d131b; --p-inv-action: #0d131b; --p-inv-action-ink: #f4f8fc; }
}
:root[data-theme="dark"] { --p-action: #f4f8fc; --p-action-ink: #0d131b; --p-inv-action: #0d131b; --p-inv-action-ink: #f4f8fc; }

/* 2. the menu: a pill that floats over the page */
@media (min-width: 1024px) {
  .nav { inset: 12px 0 auto 0; background: none; border-bottom: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; }
  /* the words keep the page's two lines; the glass reaches 20px past them on each side */
  .nav > .nav__bar { pointer-events: auto; position: relative; }
  .nav > .nav__bar::before { content: ""; position: absolute; inset: 0 -20px; z-index: -1; border-radius: 999px;
    background: var(--fs-glass); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
    box-shadow: inset 0 1px 0 var(--fs-glass-top), inset 0 0 0 1px var(--fs-glass-edge), var(--fs-shade); }
}
.fs-theme { border-radius: 999px; }

/* the header's glass, denser: nothing that passes under it can be read through it */
.nav { background: light-dark(rgb(244 248 252 / .93), rgb(13 19 27 / .92)); -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6); }
@media (min-width: 1024px) { .nav { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav > .nav__bar::before { background: light-dark(rgb(244 248 252 / .93), rgb(13 19 27 / .92)); -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6); } }

/* 3. the hero */
main > .hero.hero--centred { padding-bottom: 28px; }
.hero--centred .hero__c { gap: var(--s-2); }
.hero--centred .hero__lead { margin-bottom: var(--s-2); }
.hero--centred h1 { max-width: none; }
.hero--centred .btn-row { margin-top: var(--s-2); }

/* the launch email, as the home has always had it: one quiet line, the field and its button */
.fs-notify-row { width: min(100%, 340px); margin-top: var(--s-2); }
.fs-notify-row .notify { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2); align-items: center; max-width: none; }
.fs-notify-row .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fs-notify-row .notify__email { height: 44px; min-width: 0; padding: 0 var(--s-4); border-radius: 999px; border: 0; color: var(--ink); font: 400 15px/1 var(--font-text); }
.fs-notify-row .notify__email::placeholder { color: var(--muted); opacity: 1; }
.fs-notify-row .notify > .btn { height: 44px; padding-inline: var(--s-4); font-size: 15px; background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.fs-notify-row .notify__msg { grid-column: 1 / -1; text-align: center; text-wrap: balance; }
.fs-notify-row .notify.is-done > .notify__email { display: none; }
.fs-notify-row .notify > .btn { grid-column: 2; width: auto; }
.fs-note { margin: var(--s-2) 0 0; text-align: center; font-size: 13px; color: var(--muted); }
h1, h2, h3 { text-wrap: balance; }
.card > p, .hero__lead { text-wrap: pretty; }
/* the launch email, as the home has always had it: one quiet line, the field and its button */
.fs-notify-row { width: min(100%, 340px); margin-top: var(--s-2); }
.fs-notify-row .notify { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2); align-items: center; max-width: none; }
.fs-notify-row .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fs-notify-row .notify__email { height: 44px; min-width: 0; padding: 0 var(--s-4); border-radius: 999px; border: 0; color: var(--ink); font: 400 15px/1 var(--font-text); }
.fs-notify-row .notify__email::placeholder { color: var(--muted); opacity: 1; }
.fs-notify-row .notify > .btn { height: 44px; padding-inline: var(--s-4); font-size: 15px; background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.fs-notify-row .notify__msg { grid-column: 1 / -1; text-align: center; }
.fs-notify-row .notify.is-done > .notify__email { display: none; }
.fs-notify-row .notify > .btn { grid-column: 2; width: auto; }
.fs-note { margin: var(--s-2) 0 0; text-align: center; font-size: 13px; color: var(--muted); }
h1, h2, h3 { text-wrap: balance; }
.card > p, .hero__lead { text-wrap: pretty; }
/* one filled button a screen: the menu's copy of the action waits until the hero's own has left */

@font-face { font-family: "Newsreader"; src: url(/assets/site/fonts/newsreader-latin.woff) format("woff"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(/assets/site/fonts/newsreader-italic-latin.woff) format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

/* 4. the live capture: a Mac desktop (the project's own wallpaper, day and night), the article's window on it,
      and Frostshot's interface over both */
:root { --fs-gap: 120px; }
@media (max-width: 639px) { :root { --fs-gap: 64px; } }
.fs-demo { flex: 1 1 0; min-height: 300px; margin: var(--s-5) 0 0; display: flex; flex-direction: column; position: relative; }
.fs-demo__stage { flex: 1 1 0; min-height: 0; position: relative; container-type: size; }
.fs-demo__stage { --W: 1280px; --H: 446px; }
.fs-demo__stage > * { --s: min(tan(atan2(100cqw, var(--W))), tan(atan2(100cqh, var(--H))), 1); }
.fs-scene { position: absolute; inset: 0; }
.fs-demo__stage > .fs-film { position: absolute; left: 22px; bottom: 8px; width: 44px; height: 44px; justify-content: center; }
.fs-demo__stage > .fs-film .fs-film__disc { width: 32px; height: 32px; background: light-dark(rgb(255 255 255 / .7), rgb(18 20 26 / .62)); }
.fs-demo__stage > .fs-film .fs-film__disc svg { width: 12px; height: 12px; }

.cap { /* the scene at the app's size (points written as px), scaled as one piece to the stage */
  --wx: 110px; --wy: 22px; --ww: 1060px; --wh: 402px;     /* the window: 83 % of the scene's width */
  --sx: 262px; --sy: 62px; --sw: 756px; --sh: 238px;      /* the selection */
  --cap-accent: #006de3;                                   /* PillGlass.defaultAccent */
  --cap-label: light-dark(#16181b, #f5f6f7);
  --cap-glass: light-dark(rgb(255 255 255 / .58), rgb(18 20 26 / .62));     /* the pill's tint and wash over its blur */
  --cap-edge: light-dark(rgb(255 255 255 / .6), rgb(255 255 255 / .34));    /* PillGlass.innerStroke */
  --cap-blur: blur(20px) saturate(1.8) brightness(light-dark(1.06, 1));
  --cap-T: 10s;
  --spring: cubic-bezier(.25, 1.3, .4, 1);     /* response .3, damping .82: a little past, then home */
  --settle: cubic-bezier(.2, .8, .2, 1);      /* a spring with no bounce */
  --ax: 812px; --ay: 96px;  --al: 170.95px; --aa: 173.96deg;       /* the arrow: where it starts, how long, which way */
  position: absolute; inset: 0; overflow: hidden; border-radius: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif; letter-spacing: 0; line-height: 1.2; color: var(--cap-label);
  text-align: left; user-select: none; cursor: default; background: light-dark(#cdeafc, #0a2444);
  box-shadow: 0 0 0 1px light-dark(rgb(13 19 27 / .08), rgb(255 255 255 / .14)), 0 2px 4px light-dark(rgb(13 19 27 / .06), rgb(0 0 0 / .4)), 0 30px 60px -30px light-dark(rgb(32 114 173 / .45), rgb(0 0 0 / .8));
}
.cap * { box-sizing: border-box; }
.cap svg { display: block; flex: none; }
/* the window and Frostshot's interface: one piece at the app's size, scaled to the scene */
.cap-ui { position: absolute; left: 50%; top: 50%; width: var(--W); height: var(--H); transform: translate(-50%, -50%) scale(var(--s)); }
.cap-corner { position: absolute; right: 0; bottom: 0; width: 300px; height: 80px; transform: scale(var(--s)); transform-origin: 100% 100%; }
.cap-desk { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the desktop: ice drawn in layers, by day and by night. A sky, two soft far sheets, four near sheets of clear ice with a
   lit edge, a glow behind the window and a fine grain */
.cap-desk .i1 { stop-color: light-dark(#f4fbff, #061224); } .cap-desk .i2 { stop-color: light-dark(#cdeafc, #0a2444); } .cap-desk .i3 { stop-color: light-dark(#8cc9f0, #0f4775); }
.cap-desk .g1 { stop-color: light-dark(#ffffff, #49b0f0); stop-opacity: light-dark(.85, .34); } .cap-desk .g2 { stop-color: light-dark(#ffffff, #49b0f0); stop-opacity: 0; }
.cap-desk .a1 { stop-color: light-dark(#ffffff, #8fd4fb); stop-opacity: light-dark(.78, .3); } .cap-desk .a2 { stop-color: light-dark(#73c5ef, #1b6fb3); stop-opacity: light-dark(.3, .1); }
.cap-desk .d1 { stop-color: light-dark(#4aa6e0, #0b3157); stop-opacity: .75; } .cap-desk .d2 { stop-color: light-dark(#2072ad, #06182e); stop-opacity: .9; }
.cap-desk .deep { fill: light-dark(#6fbbe9, #0e3c69); opacity: .6; }
.cap-desk .grain { opacity: light-dark(.35, .12); mix-blend-mode: soft-light; }
.cap-desk .edge { stroke: light-dark(rgb(255 255 255 / .9), rgb(160 220 255 / .5)); stroke-width: 1; }

/* the window: the dark page of the launch film, three idle lights, a short contact shadow and a wide soft one */
.cap-win { position: absolute; left: var(--wx); top: var(--wy); width: var(--ww); height: var(--wh); border-radius: 16px; overflow: hidden; background: #0b0d11; color: #f1ede4;
  box-shadow: 0 0 0 .5px rgb(0 0 0 / .6), inset 0 0 0 .5px rgb(255 255 255 / .16), 0 1px 2px rgb(4 12 28 / .45), 0 12px 24px -6px rgb(4 12 28 / .35), 0 44px 80px -12px light-dark(rgb(16 40 80 / .5), rgb(0 0 0 / .75)); }
.cap-win__bar { display: flex; align-items: center; gap: 8px; height: 30px; padding-left: 13px; }
.cap-win__bar > i { width: 12px; height: 12px; border-radius: 50%; background: #3a3d44; }
.cap-page { position: absolute; left: 236px; right: 236px; top: 30px; bottom: 0; padding: 22px 0 0; background: #0f1218; box-shadow: 0 0 0 56px #0f1218; clip-path: inset(0 -56px); }
.cap-page__eyebrow { margin: 0; font: 700 11px/1.2 "Inter", system-ui, sans-serif; letter-spacing: .12em; color: #6fb1ff; }
.cap-page__title { margin: 8px 0 0; font: 500 40px/1.1 "Newsreader", "Iowan Old Style", Georgia, serif; letter-spacing: -.01em; }
.cap-page__lede { margin: 12px 0 0; max-width: 500px; font: italic 400 17px/1.45 "Newsreader", "Iowan Old Style", Georgia, serif; color: #a9a59c; }
.cap-page__fig { display: block; margin-top: 22px; width: 552px; height: 168px; border-radius: 6px; object-fit: cover; }

/* outside the selection the screen is a little darker */
.cap-dim { --o: 1500px; position: absolute; inset: calc(-1 * var(--o)); background: light-dark(rgb(16 78 130 / .14), rgb(2 10 24 / .3));
  clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, calc(var(--o) + var(--sx)) calc(var(--o) + var(--sy)), calc(var(--o) + var(--sx)) calc(var(--o) + var(--sy) + var(--sh)), calc(var(--o) + var(--sx) + var(--sw)) calc(var(--o) + var(--sy) + var(--sh)), calc(var(--o) + var(--sx) + var(--sw)) calc(var(--o) + var(--sy)), calc(var(--o) + var(--sx)) calc(var(--o) + var(--sy))); }
/* the selection: a fine white line, drawn as four edges so it can be dragged out with transforms alone, and eight round handles */
.cap-sel { position: absolute; left: var(--sx); top: var(--sy); width: var(--sw); height: var(--sh); }
.cap-sel > i { position: absolute; left: 0; top: 0; background: #fff; transform-origin: 0 0; }
.cap-sel > .t, .cap-sel > .b { width: 100%; height: 1px; }
.cap-sel > .l, .cap-sel > .r { width: 1px; height: 100%; }
.cap-sel > .r { transform: translateX(var(--sw)); }
.cap-sel > .b { transform: translateY(var(--sh)); }
.cap-sel > b { position: absolute; width: 9px; height: 9px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 2px rgb(0 0 0 / .5); }
.cap-sel > b:nth-of-type(1) { left: 0; top: 0; } .cap-sel > b:nth-of-type(2) { left: 50%; top: 0; } .cap-sel > b:nth-of-type(3) { left: 100%; top: 0; }
.cap-sel > b:nth-of-type(4) { left: 0; top: 50%; } .cap-sel > b:nth-of-type(5) { left: 100%; top: 50%; }
.cap-sel > b:nth-of-type(6) { left: 0; top: 100%; } .cap-sel > b:nth-of-type(7) { left: 50%; top: 100%; } .cap-sel > b:nth-of-type(8) { left: 100%; top: 100%; }

/* the arrow: the default colour (#FF5C2E), 4 pt, a filled head 14 pt long and 12 pt wide. The shaft grows from where it
   starts and the head rides its end at its own size */
.cap-draw { position: absolute; left: var(--ax); top: var(--ay); width: var(--al); height: 0; transform: rotate(var(--aa)); transform-origin: 0 0; }
.cap-shaft { position: absolute; left: 0; top: -2px; width: calc(var(--al) - 13px); height: 4px; background: #ff5c2e; transform-origin: 0 50%; }
.cap-head { position: absolute; left: calc(var(--al) - 14px); top: -6px; width: 14px; height: 12px; background: #ff5c2e; clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* glass: the pill's blur, its tint, a fine inner stroke, a soft light along the top edge */
.cap-island, .cap-pill, .cap-copied { background: var(--cap-glass); -webkit-backdrop-filter: var(--cap-blur); backdrop-filter: var(--cap-blur);
  box-shadow: inset 0 0 0 .5px var(--cap-edge), inset 0 1px 0 light-dark(rgb(255 255 255 / .75), rgb(255 255 255 / .22)), 0 14px 22px rgb(0 0 0 / .22), 0 2px 5px rgb(0 0 0 / .12); }

/* the island at rest: the armed tool, the colour, the size, Scroll, Copy. A 44 pt pill 14 pt under the selection */
.cap-island { position: absolute; left: calc(var(--sx) + var(--sw) / 2); top: calc(var(--sy) + var(--sh) + 14px); height: 44px; padding-inline: 4px; border-radius: 22px; white-space: nowrap;
  display: flex; align-items: center; transform: translateX(-50%); transform-origin: 0 0; }
.cap-tool { position: relative; width: 36px; height: 36px; border-radius: 18px; }
.cap-tool > svg { position: absolute; left: 10px; top: 10px; width: 16px; height: 16px; }
.cap-tool > svg:last-child { opacity: 1; } .cap-tool > svg:first-child { opacity: 0; }
.cap-bead { display: grid; place-items: center; width: 36px; height: 36px; }
.cap-bead > i { width: 18px; height: 18px; border-radius: 50%; background: #ff5c2e; box-shadow: 0 0 0 1.5px light-dark(#f4f6f8, #1a1c21), 0 0 0 3px color-mix(in srgb, var(--cap-label) 60%, transparent); }
.cap-read { padding-inline: 12px 4px; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cap-scroll { display: grid; place-items: center; width: 36px; height: 36px; margin-left: 8px; }
.cap-scroll svg { width: 16px; height: 16px; }
.cap-copy { display: flex; align-items: center; gap: 6px; height: 36px; margin-left: 8px; padding-inline: 12px; border-radius: 18px; background: var(--cap-accent); color: #fff; font-size: 13px; font-weight: 600; }
.cap-copy svg { width: 13px; height: 13px; }
.cap-key { display: grid; place-items: center; min-width: 18px; height: 18px; padding-inline: 5px; border-radius: 5px; font-size: 11px; font-weight: 600; line-height: 1;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 18%, transparent); }
.cap-copy .cap-key { font-size: 12px; }

/* the caption: a 28 pt pill 8 pt under the island, 12 pt medium, its keys as keycaps, its words secondary */
.cap-caption { position: absolute; left: calc(var(--sx) + var(--sw) / 2); top: calc(var(--sy) + var(--sh) + 66px); height: 28px; }
.cap-caption > div { position: absolute; left: 0; top: 0; transform: translateX(-50%); }
.cap-pill { display: flex; align-items: center; gap: 4px; height: 28px; padding-inline: 12px; border-radius: 14px; white-space: nowrap; font-size: 12px; font-weight: 500; }
.cap-pill > span { opacity: .78; }
.cap-caption > .cap-move { opacity: 0; }
.cap .cap-narrow { display: none; }

/* Copied: a 36 pt pill in the corner where captures land, with the capture's thumbnail, a green check, the word and
   where it went; after a moment it flies up to the notch */
.cap-copied { position: absolute; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 4px; border-radius: 18px; white-space: nowrap; opacity: 0; transform-origin: 100% 100%; }
.cap-copied > img { width: 28px; height: 28px; border-radius: 14px; object-fit: cover; }
.cap-copied > svg { width: 13px; height: 13px; color: light-dark(#1f9d3f, #30d158); }
.cap-copied > b { font-size: 13px; font-weight: 600; }
.cap-copied > span { font-size: 12px; opacity: .78; }

/* The run, 10 s, transforms and opacity only . Without motion the scene rests on the frame
   before Return: the styles above. */
@media (prefers-reduced-motion: no-preference) {
  .cap-sel > .t { animation: cap-t var(--cap-T) linear infinite; }
  .cap-sel > .l { animation: cap-l var(--cap-T) linear infinite; }
  .cap-sel > .r { animation: cap-r var(--cap-T) linear infinite; }
  .cap-sel > .b { animation: cap-b var(--cap-T) linear infinite; }
  .cap-sel > b { animation: cap-handles var(--cap-T) linear infinite; }
  .cap-dim { animation: cap-dim var(--cap-T) linear infinite; }
  .cap-island { animation: cap-island var(--cap-T) linear infinite; }
  .cap-caption { animation: cap-hud var(--cap-T) linear infinite; }
  .cap-tool > svg:first-child, .cap-caption > .cap-move { animation: cap-move var(--cap-T) linear infinite; }
  .cap-tool > svg:last-child, .cap-caption > .cap-armed { animation: cap-armed var(--cap-T) linear infinite; }
  .cap-draw { animation: cap-draw var(--cap-T) linear infinite; }
  .cap-shaft { animation: cap-shaft var(--cap-T) linear infinite; }
  .cap-head { animation: cap-head var(--cap-T) linear infinite; }
  .cap-copied { animation: cap-copied var(--cap-T) linear infinite; }
  .cap-copied > svg { animation: cap-check var(--cap-T) linear infinite; }
  .fs-demo.is-paused .cap * { animation-play-state: paused; }
}
/* 0.6 s to 2.0 s: the drag */
@keyframes cap-t { 0%, 5.9% { transform: scaleX(0); opacity: 0; } 6% { transform: scaleX(0); opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .2, 1); } 20%, 72% { transform: scaleX(1); opacity: 1; } 74%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes cap-l { 0%, 5.9% { transform: scaleY(0); opacity: 0; } 6% { transform: scaleY(0); opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .2, 1); } 20%, 72% { transform: scaleY(1); opacity: 1; } 74%, 100% { transform: scaleY(1); opacity: 0; } }
@keyframes cap-r { 0%, 5.9% { transform: translateX(0) scaleY(0); opacity: 0; } 6% { transform: translateX(0) scaleY(0); opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .2, 1); } 20%, 72% { transform: translateX(var(--sw)) scaleY(1); opacity: 1; } 74%, 100% { transform: translateX(var(--sw)) scaleY(1); opacity: 0; } }
@keyframes cap-b { 0%, 5.9% { transform: translateY(0) scaleX(0); opacity: 0; } 6% { transform: translateY(0) scaleX(0); opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .2, 1); } 20%, 72% { transform: translateY(var(--sh)) scaleX(1); opacity: 1; } 74%, 100% { transform: translateY(var(--sh)) scaleX(1); opacity: 0; } }
/* on release: the handles, the darker screen */
@keyframes cap-handles { 0%, 20% { opacity: 0; transform: scale(.4); animation-timing-function: var(--settle); } 22.5%, 72% { opacity: 1; transform: scale(1); } 74%, 100% { opacity: 0; transform: scale(1); } }
@keyframes cap-dim { 0%, 20% { opacity: 0; } 23%, 72% { opacity: 1; } 74%, 100% { opacity: 0; } }
/* the island: a short spring from 0.94 and clear (0.3 s); it closes in 0.2 s */
@keyframes cap-island { 0%, 22% { opacity: 0; transform: scale(.94) translateX(-50%); animation-timing-function: var(--spring); } 25.5%, 72% { opacity: 1; transform: scale(1) translateX(-50%); animation-timing-function: ease-out; } 74%, 100% { opacity: 0; transform: scale(.97) translateX(-50%); } }
@keyframes cap-hud { 0%, 25.5% { opacity: 0; animation-timing-function: ease-out; } 27%, 72% { opacity: 1; animation-timing-function: ease-out; } 74%, 100% { opacity: 0; } }
@keyframes cap-move { 0%, 44% { opacity: 1; } 45.5%, 100% { opacity: 0; } }
@keyframes cap-armed { 0%, 44% { opacity: 0; } 45.5%, 100% { opacity: 1; } }
/* 5.0 s to 6.0 s: the arrow */
@keyframes cap-draw { 0%, 49.9% { opacity: 0; transform: rotate(var(--aa)); } 50%, 72% { opacity: 1; transform: rotate(var(--aa)); } 74%, 100% { opacity: 0; transform: rotate(var(--aa)); } }
@keyframes cap-shaft { 0%, 50% { transform: scaleX(0); animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 60%, 100% { transform: scaleX(1); } }
@keyframes cap-head { 0%, 50% { transform: translateX(calc(14px - var(--al))); animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 60%, 100% { transform: translateX(0); } }
/* Return: Copied comes in on its spring (0.32 s), holds 1.5 s, then flies to the notch */
@keyframes cap-copied {
  0%, 74.5% { opacity: 0; transform: translate(0, 6px) scale(.94); animation-timing-function: var(--settle); }
  77.7%, 92.7% { opacity: 1; transform: translate(0, 0) scale(1); animation-timing-function: cubic-bezier(.5, 0, .7, .4); }
  96.5%, 100% { opacity: 0; transform: translate(var(--fly-x), var(--fly-y)) scale(.5); }
}
@keyframes cap-check { 0%, 75.5% { transform: scale(.4); animation-timing-function: var(--spring); } 79.5%, 100% { transform: scale(1); } }
.cap { --fly-x: -560px; --fly-y: -400px; }

/* The Ring, rebuilt from the app's code (tag v1.0-7). Each symbol is drawn at the size and stroke measured on
   the app's captures (the app draws SF Symbols at 20 pt, regular). Every length in .rg__ui is the code's own, in points written as px
   (RingMetrics: outer 160, inner 76, wedge 82 to 140, icons at 107, numbers at 147, puck 128, panel 368), and the piece is
   scaled as one with a single factor --k. Springs are the code's (response, damping) sampled into linear() curves. */
@property --rg-sweep { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
#ring.section-head { margin-bottom: var(--s-6); }
.fs-next { margin-top: var(--fs-gap); }
.fs-h2 { margin: 0; font: var(--display-weight) calc(var(--t-h2) * .78)/1.08 var(--font-display); letter-spacing: var(--display-tracking); text-wrap: balance; }
.fs-ring { align-items: center; }
.fs-ring__stage { position: relative; height: 480px; container-type: size; }
/* behind the Ring, no box: a soft glow of ice that fades out into the page, larger than the Ring, with a lighter and a
   bluer point so that the glass has something to bend */
.fs-ring__stage::before { content: ""; position: absolute; inset: -76px -36px; pointer-events: none;
  background:
    radial-gradient(closest-side at 42% 40%, light-dark(rgb(255 255 255 / .95), rgb(120 200 250 / .3)) 0, #0000 62%),
    radial-gradient(closest-side at 60% 62%, light-dark(rgb(86 172 226 / .5), rgb(20 110 190 / .5)) 0, #0000 78%),
    radial-gradient(closest-side, light-dark(rgb(160 214 246 / .75), rgb(27 111 179 / .42)) 0, light-dark(rgb(160 214 246 / .4), rgb(27 111 179 / .22)) 55%, #0000 100%); }
.rg { --k: 1.5; position: absolute; left: 50%; top: 50%; width: calc(368px * var(--k)); height: calc(368px * var(--k)); transform: translate(-50%, -50%); border-radius: 50%; cursor: default; outline: 0; --rg-label: light-dark(#000, #fff); color: var(--rg-label);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif; user-select: none; -webkit-tap-highlight-color: transparent; }
.rg:focus-visible { outline: 2px solid light-dark(#0d131b, #f4f8fc); outline-offset: calc(-14px * var(--k)); }
.rg__ui { position: absolute; left: 50%; top: 50%; width: 368px; height: 368px; transform: translate(-50%, -50%) scale(var(--k)); opacity: 0; visibility: hidden; }
.rg__glass { position: absolute; inset: 0; }
.rg__art { position: absolute; left: 24px; top: 24px; width: 320px; height: 320px; overflow: visible; }
/* the glass: two shapes of the pill glass, approximated with a blur, a tint and its 0.5 pt inner stroke */
.rg__band, .rg__puck { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%);
  background: light-dark(rgb(228 233 237 / .85), rgb(30 45 60 / .9)); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8); }
.rg__band { width: 320px; height: 320px; -webkit-mask: radial-gradient(circle, #0000 75.6px, #000 76.4px); mask: radial-gradient(circle, #0000 75.6px, #000 76.4px);
  box-shadow: inset 0 0 0 .5px light-dark(rgb(255 255 255 / .6), rgb(255 255 255 / .34)); }
.rg__puck { width: 128px; height: 128px; box-shadow: inset 0 0 0 .5px light-dark(rgb(255 255 255 / .6), rgb(255 255 255 / .34)); }
.rg__glass, .rg__puck { -webkit-mask: conic-gradient(#000 var(--rg-sweep), #0000 0); mask: conic-gradient(#000 var(--rg-sweep), #0000 0); }
.rg__ui::before { content: ""; position: absolute; left: 24px; top: 24px; width: 320px; height: 320px; border-radius: 50%; box-shadow: 0 8px 20px rgb(0 0 0 / .08); }
.rg__gap { position: absolute; left: 50%; top: 50%; width: 153px; height: 153px; border-radius: 50%; transform: translate(-50%, -50%); background: light-dark(#0000, rgb(170 130 165 / .2));
  -webkit-mask: radial-gradient(circle, #0000 64px, #000 64.6px); mask: radial-gradient(circle, #0000 64px, #000 64.6px); }
/* the rims, as measured on the app's captures: a fine darker line along each edge by day, a lit one inside the band's hole by night */
.rg__rims circle { fill: none; stroke-width: .8; stroke: light-dark(rgb(40 70 100 / .16), rgb(255 255 255 / .1)); }
.rg__rims .rg__rim-in { stroke: light-dark(rgb(255 255 255 / .35), rgb(255 255 255 / .2)); }
.rg__wedge { opacity: 0; transform: rotate(var(--a, 0deg)); transition: transform 0.375s linear(0, 0.051, 0.167, 0.310, 0.454, 0.586, 0.699, 0.790, 0.860, 0.913, 0.951, 0.977, 0.993, 1.003, 1.009, 1.011, 1.011, 1.010, 1.009, 1.007, 1.006, 1.004, 1.003, 1.002, 1); }
.rg__wedge.is-on { opacity: 1; }
.rg__wedge-body { fill: rgb(88 117 148 / .2); }                     /* the code says the accent (#006DE3) at 20 %; on the app's glass it shows greyer, and this is the colour measured on the real capture */
.rg__wedge-stroke { fill: none; stroke: light-dark(rgb(255 255 255 / .6), rgb(255 255 255 / .34)); stroke-width: .5; }
.rg__icon { transform: translate(var(--x), var(--y)) scale(1); transition: transform 0.366s linear(0, 0.078, 0.253, 0.458, 0.650, 0.808, 0.924, 1.000, 1.043, 1.061, 1.062, 1.054, 1.042, 1.029, 1.018, 1.009, 1.003, 0.999, 0.997, 0.996, 0.996, 0.997, 0.998, 0.998, 1); }
.rg__icon.is-on { transform: translate(calc(var(--x) + var(--sx)), calc(var(--y) + var(--sy))) scale(1.24); }
.rg__nums text { font-size: 9.5px; font-weight: 600; text-anchor: middle; fill: currentColor; }
.rg__dot { fill: light-dark(#85bbe7, #99c9ee); }                   /* the accent dot, as measured on the real captures */
.rg__label { position: absolute; left: 50%; top: 50%; width: 118px; margin-left: -59px; text-align: center; line-height: 1; }
.rg__title { position: absolute; left: 0; right: 0; top: -1px; font-size: 13.5px; font-weight: 600; line-height: 17px; white-space: nowrap; }
.rg__hint { position: absolute; left: 0; right: 0; top: 15px; font-size: 11px; line-height: 14px; white-space: nowrap; }
.rg__caps { position: absolute; left: 0; right: 0; top: 14.5px; display: flex; justify-content: center; gap: 3px; }
.rg__caps[hidden], .rg__hint[hidden] { display: none; }
.rg__caps > b { min-width: 17px; height: 17px; padding-inline: 4px; border-radius: 5px; background: color-mix(in srgb, var(--rg-label) 10%, transparent); font-size: 10.5px; font-weight: 500; line-height: 17px; }
.fs-ring.is-open .rg__ui { opacity: 1; visibility: visible; }
.fs-ring.is-down .rg__icon.is-on { transform: translate(calc(var(--x) + var(--sx)), calc(var(--y) + var(--sy))) scale(.86); transition: transform .07s ease-out; }
.fs-ring.is-down .rg__wedge { transform: rotate(var(--a, 0deg)) scale(.95); transition: none; }
.fs-ring.is-up .rg__icon.is-on { transform: translate(calc(var(--x) + var(--sx)), calc(var(--y) + var(--sy))) scale(1.06); transition: transform 0.366s linear(0, 0.094, 0.302, 0.539, 0.752, 0.914, 1.020, 1.076, 1.094, 1.089, 1.070, 1.048, 1.027, 1.011, 1.000, 0.993, 0.991, 0.991, 0.993, 0.995, 0.997, 0.999, 1.000, 1.001, 1); }
@media (prefers-reduced-motion: no-preference) {
  /* opening (RingContentView.playOpen): the glass is swept in clockwise from 12 o'clock while the ring turns from -40 degrees,
     the icons pop in 20 ms apart, then the numbers and the centre fade in */
  .fs-ring.is-open.is-again .rg__puck { animation: rg-sweep 0.252s linear(0, 0.037, 0.123, 0.231, 0.344, 0.452, 0.550, 0.636, 0.708, 0.769, 0.819, 0.859, 0.891, 0.917, 0.937, 0.952, 0.964, 0.973, 0.980, 0.986, 0.990, 0.992, 0.995, 0.996, 1) both; }
  .fs-ring.is-open.is-again .rg__glass { animation: rg-sweep 0.252s linear(0, 0.037, 0.123, 0.231, 0.344, 0.452, 0.550, 0.636, 0.708, 0.769, 0.819, 0.859, 0.891, 0.917, 0.937, 0.952, 0.964, 0.973, 0.980, 0.986, 0.990, 0.992, 0.995, 0.996, 1) both, rg-turn 0.293s linear(0, 0.042, 0.140, 0.261, 0.386, 0.504, 0.608, 0.697, 0.771, 0.830, 0.876, 0.911, 0.938, 0.958, 0.973, 0.983, 0.990, 0.995, 0.998, 1.000, 1.001, 1.001, 1.001, 1.002, 1) both; }
  .fs-ring.is-open.is-again .rg__group { animation: rg-turn 0.293s linear(0, 0.042, 0.140, 0.261, 0.386, 0.504, 0.608, 0.697, 0.771, 0.830, 0.876, 0.911, 0.938, 0.958, 0.973, 0.983, 0.990, 0.995, 0.998, 1.000, 1.001, 1.001, 1.001, 1.002, 1) both; }
  .fs-ring.is-open.is-again .rg__icon > g { animation: rg-pop 0.31s linear(0, 0.056, 0.184, 0.340, 0.495, 0.634, 0.749, 0.840, 0.907, 0.955, 0.986, 1.005, 1.015, 1.019, 1.020, 1.018, 1.015, 1.012, 1.009, 1.006, 1.004, 1.003, 1.001, 1.001, 1) var(--d) both, rg-in .1s ease-out var(--d) both; }
  .fs-ring.is-open.is-again .rg__nums { animation: rg-in .12s ease-out .2s both; }
  .fs-ring.is-open.is-again .rg__mark, .fs-ring.is-open.is-again .rg__label { animation: rg-in .12s ease-out .12s both; }
  .rg__label.is-fresh > * { animation: rg-in .15s ease-out both; }
  .rg__label.is-fresh > .rg__title { animation: rg-rise .15s ease-out both; }
  /* closing (playClose, 0.18 s): the icons leave last first, the numbers and the centre fade, the sweep runs back, the panel fades */
  .fs-ring.is-closing .rg__ui { animation: rg-out .18s linear both; }
  .fs-ring.is-closing .rg__icon > g { animation: rg-unpop .09s ease-in var(--dc) both; }
  .fs-ring.is-closing .rg__nums, .fs-ring.is-closing .rg__mark, .fs-ring.is-closing .rg__label { animation: rg-out .08s ease-in both; }
  .fs-ring.is-closing .rg__glass { animation: rg-unsweep .14s ease-in .04s both, rg-unturn .14s ease-in .04s both; }
  .fs-ring.is-closing .rg__puck { animation: rg-unsweep .14s ease-in .04s both; }
  .fs-ring.is-closing .rg__group { animation: rg-unturn .14s ease-in .04s both; }
}
@media (prefers-reduced-motion: reduce) { .rg__wedge, .rg__icon, .fs-ring .rg__icon.is-on { transition: none !important; } }
@keyframes rg-sweep { from { --rg-sweep: 0deg; } to { --rg-sweep: 360deg; } }
@keyframes rg-unsweep { from { --rg-sweep: 360deg; } to { --rg-sweep: 0deg; } }
@keyframes rg-turn { from { transform: rotate(-40deg); } to { transform: rotate(0deg); } }
@keyframes rg-unturn { from { transform: rotate(0deg); } to { transform: rotate(-40deg); } }
@keyframes rg-pop { from { transform: scale(.8); } to { transform: scale(1); } }
@keyframes rg-unpop { from { transform: scale(1); opacity: 1; } to { transform: scale(.8); opacity: 0; } }
@keyframes rg-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rg-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes rg-rise { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.fs-ring__side { position: relative; }
.fs-ring__side > .btn-row:has([hidden]) { display: none; }
.fs-ring__side > .btn-row { position: absolute; left: 0; top: 100%; margin-top: var(--s-4); }
.fs-ring__list { margin: 0; padding: 0; list-style: none; display: grid; align-content: space-between; height: 488px; font-size: 18px; }
.fs-ring__list > li { display: grid; grid-template-columns: 28px minmax(0, 1fr) 84px; align-items: center; gap: var(--s-3); height: 44px; padding-inline: var(--s-3); margin-inline: calc(-1 * var(--s-3)); border-radius: 12px; cursor: default; }
.fs-ring__list > li.is-on { background: light-dark(rgb(32 114 173 / .12), rgb(115 197 239 / .16)); }
.fs-ring__n { font-variant-numeric: tabular-nums; color: var(--muted); }
.fs-ring__name { font-weight: 500; }
.fs-ring__list kbd { justify-self: start; }
.fs-ring__live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* the island's tools: for now the app's own still of the open island, a wide strip shown whole on its own ground */
.fs-cards > .card > .fs-tools { display: grid; place-items: center; background: light-dark(#eef3f9, #17212d) !important; }
.fs-cards > .card > .fs-tools::before, .fs-cards > .card > .fs-tools::after { display: none; }
.fs-cards > .card > .fs-tools img { width: 100%; height: auto; object-fit: contain; }

/* 5. the features: six cards in one section, three across, each with its own recording's still */
main > section#features { height: auto; padding-top: calc(var(--fs-gap) - 28px); padding-bottom: var(--s-6); }
main > .hero.hero--centred { padding-bottom: 28px; }
#features .section-head { margin-bottom: var(--s-6); }
/* the close: one line, the action, the optional email; centred, a section's gap above it */
.fs-close { margin: var(--fs-gap) auto 0; width: min(100%, 600px); padding: var(--s-7) var(--s-6); border-radius: var(--r-lg); display: grid; justify-items: stretch; gap: var(--s-4); text-align: center;
  background: light-dark(rgb(255 255 255 / .72), #121a25); box-shadow: inset 0 0 0 1px light-dark(rgb(13 19 27 / .08), rgb(244 248 252 / .1)), inset 0 1px 0 light-dark(#fff, rgb(244 248 252 / .16)), 0 1px 2px light-dark(rgb(13 19 27 / .04), rgb(0 0 0 / .4)), 0 18px 36px -24px light-dark(rgb(32 114 173 / .35), rgb(0 0 0 / .9)); }
.fs-close > .fs-notify-row { justify-self: center; }
.fs-close__label { font-size: 13px; color: var(--muted); margin-bottom: calc(-1 * var(--s-2)); }
.fs-close__line { margin: 0; font: var(--display-weight) var(--t-h3)/1.15 var(--font-display); letter-spacing: var(--display-tracking); color: var(--ink); text-wrap: balance; }
.fs-close .btn-row { justify-content: center; margin-top: var(--s-2); }
.fs-notify-row--close { margin-top: 0; }
.fs-notify-row--close .notify { grid-template-columns: minmax(0, 1fr) auto; }

.fs-cards > .card { display: flex; flex-direction: column; }
.fs-cards > .card > h4 { min-height: 2lh; text-wrap: balance; }
.fs-cards > .card > p { min-height: 4lh; margin-bottom: var(--s-5); color: light-dark(#27313c, #d5dfe9); }
.fs-cards > .card > .panel { --p-h: auto; flex: none; height: auto; aspect-ratio: 16 / 9; margin-top: auto; }
.fs-cards > .card > .panel > img { width: 100%; height: 100%; object-fit: cover; }
.fs-rows { display: grid; grid-auto-rows: 1fr; gap: var(--gutter, 24px); }
.nav__link, .nav__logo { min-height: 44px; }
.nav__logo { display: inline-flex; align-items: center; }

/* each mode its own card: day a white glass over the ice, night a deep slate with a lit edge */
.fs-cards > .card { background: light-dark(rgb(255 255 255 / .72), #121a25); box-shadow: inset 0 0 0 1px light-dark(rgb(13 19 27 / .08), rgb(244 248 252 / .1)), inset 0 1px 0 light-dark(#fff, rgb(244 248 252 / .16)), 0 1px 2px light-dark(rgb(13 19 27 / .04), rgb(0 0 0 / .4)), 0 18px 36px -24px light-dark(rgb(32 114 173 / .35), rgb(0 0 0 / .9)); }

/* the foot: the links the site already has, and nothing else */
.fs-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--s-6); margin-top: var(--fs-gap); font-size: var(--t-small); }
.fs-foot > nav { display: flex; flex-wrap: wrap; }
.fs-foot > nav > a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 12px; }
.fs-foot > nav > a:first-child { padding-left: 0; }
.fs-foot > p { margin: 0; }
.fs-foot > .fs-marks { flex-basis: 100%; color: light-dark(#2f3945, #c9d6e2); }

@media (max-width: 639px) {
  /* a phone: the same desktop cut close around the window, the selection as wide as the window lets it; the caption is
     the longest line no wider than the selection (LiquidIslandView.captionFitting) */
  .fs-demo__stage { --W: 372px; --H: 400px; }
  .fs-demo__stage > .fs-film { left: auto; right: 4px; bottom: auto; top: 4px; }
  .cap { --ax: 342px; --ay: 66px; --al: 74.2px; --aa: 165.96deg; --wx: 6px; --wy: 10px; --ww: 360px; --wh: 382px; --sx: 20px; --sy: 46px; --sw: 332px; --sh: 232px; --fly-x: -110px; --fly-y: -330px; border-radius: 18px; }
  .cap-page { left: 26px; right: 26px; box-shadow: 0 0 0 26px #0f1218; clip-path: inset(0 -26px); padding-top: 16px; }
  .cap-page__title { font-size: 30px; }
  .cap-desk { }
  .cap-page__lede { font-size: 15.5px; }
  .cap-page__fig { margin-top: 16px; width: 308px; height: 132px; }
  .fs-foot > nav > a { padding-inline: 10px; }
  .cap .cap-wide { display: none; } .cap .cap-narrow { display: block; }
  .cap .cap-pill.cap-narrow { display: flex; }
  .cap-copied { right: 14px; bottom: 14px; }
  .fs-demo { margin-top: var(--s-4); min-height: 300px; }
  .fs-how { font-size: 14px; }
  /* the cards, one under another, each with its whole still */
  .fs-rows { gap: var(--s-3); grid-auto-rows: auto; }
  .fs-cards { row-gap: var(--s-3); grid-auto-rows: auto; }
  .fs-cards > .card > h4 { min-height: 0; }
  .fs-cards > .card > p { min-height: 0; margin-bottom: var(--s-4); text-wrap: balance; }
  .fs-cards > .card > .panel { aspect-ratio: 16 / 9; }
}
@media (max-width: 359px) { .hero--centred h1 { font-size: 32px; } }
@media (max-width: 639px) { .fs-close { padding: var(--s-6) var(--s-4); } }
@media (max-width: 639px) { .fs-ring__stage { height: auto; aspect-ratio: 1; } .rg { --k: tan(atan2(100cqw, 368px)); } .fs-ring__stage::before { inset: -40px -24px; } .fs-ring { row-gap: var(--s-6); } .fs-ring__side { order: 2; } .fs-ring__side > .btn-row { position: static; } .fs-ring__list { height: auto; } .fs-ring__list > li { height: 52px; margin-inline: 0; } }

/* the foot on a phone: the five links share one line in both languages, each the same distance from the next (the last one
   dropped to a second, indented line: in Spanish at 390px, in English from 375px down). One gap between all of them, the
   first on the page's line; the type and the gap give a little as the screen narrows. The 44px of height stay. */
@media (max-width: 639px) {
  /* the distance between the words is each link's own padding, half on each side, not a gap between boxes: the words stay
     the same distance apart and no link is a target narrower than 24px with another closer than 8px (FAQ at 320px was) */
  .fs-foot > nav { --fs-foot-gap: clamp(6px, 6.5vw - 14px, 14px); flex-wrap: nowrap; justify-content: flex-start; gap: 0; margin-inline: calc(var(--fs-foot-gap) / -2); }   /* the half paddings at both ends hang outside, so a row holds what it held */
  .fs-foot > nav > a, .fs-foot > nav > a:first-child { flex: none; padding-inline: calc(var(--fs-foot-gap) / 2); white-space: nowrap; font-size: clamp(11.5px, 3.45vw, 14px); }
}

/* the menu on a phone, open: the bar's glass goes. A box with a backdrop blur holds its fixed children inside itself, so the
   panel of links, which covers the screen, was laid out inside the 56px bar and spilled over the page. */
@media (max-width: 1023px) { .nav.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); } }

/* 6. comparisons and guides: five links from the cover to the pages that answer a search; each card is one link to one page */
.fs-more { gap: var(--gutter, 24px); }
.fs-more > .card { gap: var(--s-2); background: light-dark(rgb(255 255 255 / .72), #121a25); box-shadow: inset 0 0 0 1px light-dark(rgb(13 19 27 / .08), rgb(244 248 252 / .1)), inset 0 1px 0 light-dark(#fff, rgb(244 248 252 / .16)), 0 1px 2px light-dark(rgb(13 19 27 / .04), rgb(0 0 0 / .4)), 0 18px 36px -24px light-dark(rgb(32 114 173 / .35), rgb(0 0 0 / .9)); }
.fs-more__a { padding-right: var(--s-6); font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.fs-more__a::after { content: ""; position: absolute; inset: 0; }                       /* the whole card is the link */
.fs-more > .card > p { margin: 0; color: light-dark(#27313c, #d5dfe9); }
.fs-more > .card::after { content: "\2192"; content: "\2192" / ""; position: absolute; top: var(--c-pad); right: var(--c-pad); font: 500 var(--t-card)/1.3 var(--font-text); color: var(--muted); transition: transform 200ms cubic-bezier(.2, .7, .2, 1), color 200ms; }
@media (hover: hover) and (pointer: fine) {
  .fs-more > .card:hover::after { transform: translateX(3px); color: var(--ink); }
  .fs-more > .card:hover .fs-more__a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
}
.fs-more__a:focus-visible { outline: 0; }
.fs-more > .card:has(.fs-more__a:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .fs-more > .card::after { transition: none; } }
@media (min-width: 640px) and (max-width: 1023px) { .fs-more > .card.span-4:not(:nth-child(3)) { grid-column: auto / span 6; } }   /* a tablet: two across, the third comparison on its own row */
@media (max-width: 639px) { .fs-more { gap: var(--s-3); } }

/* 7. the Mac. The frame is a photograph with a transparent screen (assets/img/mac-frame-*): the screen's rectangle was measured on
      its alpha, at 1746 x 1017: x 206 to 1537, y 37 to 852, the notch 160 x 23 under the top edge. What shows through it is laid
      out in percentages of the frame, so it follows the frame at every size. A dark layer 0.6 % larger sits behind the bezel, so
      the anti-aliased edge of the cut-out never shows the page. */
.fs-mac { position: relative; flex: none; min-height: 0; display: block; width: min(100%, 1180px); margin: clamp(56px, 7vw, 96px) auto 0; }
.fs-mac__tilt { position: relative; aspect-ratio: 1746 / 1017; transform-origin: 50% 100%; }
.fs-mac__shadow { position: absolute; left: 5%; right: 5%; bottom: -3%; height: 10%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, light-dark(rgb(13 28 48 / .34), rgb(0 0 0 / .5)), #0000 72%); }
.fs-mac__bleed { position: absolute; left: 11.2%; top: 3%; width: 77.4%; height: 81.4%; background: #0b0f16; }
.fs-mac__screen { position: absolute; left: 11.68%; top: 3.6%; width: 76.47%; height: 80.18%; overflow: hidden; background: #0b0f16; container-type: size; z-index: 1; }
.fs-mac__frame { position: absolute; inset: 0; z-index: 2; display: block; pointer-events: none; user-select: none; }
.fs-mac__frame > img { display: block; width: 100%; height: 100%; }
/* the screen overscans the cut-out by about 0.12 % on each side, hidden by the bezel: the photo's cut-out is not perfectly straight near its top right */
/* the menu bar: as tall as the notch, at the screen's top edge and inside it, never over the bezel */
.fs-mac__bar { position: absolute; z-index: 2; inset: 0 0 auto 0; height: 2.82%; display: flex; align-items: center; justify-content: space-between; padding-inline: 1.6cqw;
  font: 500 max(1.3cqh, 5px)/1 -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif; letter-spacing: 0; white-space: nowrap;
  color: light-dark(#0d131b, #f4f8fc); background: light-dark(rgb(244 248 252 / .5), rgb(13 19 27 / .42)); }
.fs-mac__bar > b { font-weight: 700; }
/* the demo, as the screen's content: the scene fills it, with no corners or shadow of its own; Copied flies up to the notch */
.fs-mac .fs-demo__stage { position: absolute; inset: 0; flex: none; }
.fs-mac .cap { border-radius: 0; box-shadow: none; --fly-x: -598px; --fly-y: -778px; }
@media (max-width: 639px) {
  .fs-mac .cap { --fly-x: -294px; --fly-y: -410px; }
  /* the pause control stays a target of 36 px, with a smaller disc, so it does not take a corner of a screen 160 px tall */
  .fs-mac .fs-demo__stage > .fs-film { width: 36px; height: 36px; left: 4px; bottom: 4px; }
  .fs-mac .fs-demo__stage > .fs-film .fs-film__disc { width: 24px; height: 24px; }
  .fs-mac .fs-demo__stage > .fs-film .fs-film__disc svg { width: 10px; height: 10px; }
}
.fs-mac .fs-demo__stage > .fs-film { left: 8px; right: auto; top: auto; bottom: 8px; }
.fs-mac--hero { perspective: 1600px; }
main > .hero.hero--centred { height: auto; min-height: 0; overflow-x: clip; }
main > .hero--centred > .wrap { height: auto; display: block; }
main > .hero--centred > .wrap > .hero-text { height: auto; }
/* the straightening is the page's script (it writes the transform on scroll); without it, or with reduced motion, the Mac stands straight */
/* will-change only while the page scrolls (the script adds .is-moving and takes it off 150 ms after the last scroll), so the browser
   paints the screen again at its real size when it stops; a layer that keeps will-change is rastered once, small, and stretched */
@media (prefers-reduced-motion: no-preference) { html.js .fs-mac--hero > .fs-mac__tilt { transform: rotateX(24deg) scale(.84); }
  html.js .fs-mac--hero > .fs-mac__tilt.is-moving { will-change: transform; } }

/* the hero's words: the chip, the headline, the line */
.fs-chip { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 var(--s-2); padding: 5px 16px 5px 6px; border-radius: 999px; font: 600 15px/1 var(--font-text); color: var(--muted);
  background: var(--fs-glass); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: inset 0 1px 0 var(--fs-glass-top), inset 0 0 0 1px var(--fs-glass-edge); }
.fs-chip > img { display: block; width: 28px; height: 28px; border-radius: 7px; }
.hero--centred h1 { font-size: clamp(38px, 6.1vw, 88px); line-height: 1.02; max-width: 14em; margin-bottom: var(--s-3); }
.hero--centred .hero__lead { font-size: clamp(17px, 1.5vw, 21px); max-width: 34em; text-wrap: balance; }
@media (max-width: 359px) { .hero--centred h1 { font-size: 32px; } }

/* how it works: the steps run past, the Mac stays, and its screen shows the step that is in the middle of the page */
main > section.section.fs-how { height: auto; min-height: 0; padding: var(--fs-gap) 0 0; }
main > section.section.fs-how > .wrap { height: auto; display: block; }
.fs-how__head { max-width: 740px; margin: 0 auto var(--s-7); text-align: center; }
.fs-how__kicker { margin: 0 0 var(--s-3); font: 600 var(--t-card)/1.3 var(--font-text); color: var(--accent); }
.fs-how__head > h2 { margin: 0; font-size: clamp(36px, 5.2vw, 72px); line-height: 1.03; text-wrap: balance; }
.fs-how__sub { margin: var(--s-4) 0 0; color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); text-wrap: pretty; }
.fs-how__track { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); column-gap: clamp(32px, 5vw, 72px); align-items: start; }
.fs-how__steps { grid-column: 1; grid-row: 1; margin: 0; padding: 0; list-style: none; }
.fs-how__col { grid-column: 2; grid-row: 1; align-self: stretch; container-type: inline-size; }
.fs-how__stick { position: sticky; top: max(96px, calc(50svh - 29.1cqw)); }
.fs-how__stick > .fs-mac { width: 100%; margin: 0; }
.fs-how__step { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; padding-block: var(--s-6); }
.fs-how__step:last-child { min-height: 60svh; }
.fs-how__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 700 15px/1 var(--font-text); background: var(--action); color: var(--action-ink); }
.fs-how__step > h3 { margin: var(--s-4) 0 var(--s-3); font: var(--display-weight) clamp(26px, 2.8vw, 40px)/1.1 var(--font-display); letter-spacing: var(--display-tracking); text-wrap: balance; }
.fs-how__step > p { margin: 0; max-width: 26em; font-size: var(--t-body); line-height: 1.55; text-wrap: pretty; }
html.js .fs-how__step { opacity: .34; transition: opacity .35s ease; }
html.js .fs-how__step.is-on { opacity: 1; }
.fs-how__shots { position: absolute; inset: 2.82% 0 0 0; }   /* under the menu bar, which is as tall as the notch */
.fs-how .fs-mac__bar { color: #f4f8fc; background: rgb(11 15 22 / .6); }   /* the pictures are dark, in both themes */
.fs-how__shots > picture { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity .5s ease; }
.fs-how__shots > picture.is-on { opacity: 1; }
.fs-how__shots img { display: block; width: 100%; height: 100%; object-fit: cover; }   /* the pictures are 16:10 and the room under the bar is 1.68: a twentieth of the height is trimmed, half at each end */
@media (max-width: 899px) {
  /* the Mac holds the top of the screen and the steps pass under it */
  .fs-how__track { grid-template-columns: minmax(0, 1fr); }
  .fs-how__col { grid-column: 1; grid-row: 1; align-self: start; container-type: normal; position: sticky; top: 56px; z-index: 2; padding: var(--s-2) 0 var(--s-5); background: var(--bg); }
  /* a soft fade under the stuck Mac, so the step that scrolls away never shows under its base */
  .fs-how__col::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 32px; pointer-events: none; background: linear-gradient(var(--bg), color-mix(in srgb, var(--bg) 0%, transparent)); }
  .fs-how__stick { position: static; }
  .fs-how__stick > .fs-mac { max-width: 480px; margin-inline: auto; }
  .fs-how__steps { grid-column: 1; grid-row: 2; }
  .fs-how__step { min-height: 38svh; justify-content: flex-start; padding-block: var(--s-4) 0; }
  .fs-how__step:last-child { min-height: 46svh; }
}
@media (prefers-reduced-motion: reduce) { html.js .fs-how__step, .fs-how__shots > picture { transition: none; } }
/* the short lines under the cards' titles: no last line of one word, in either language */
.fs-cards > .card > p, .fs-more > .card > p { text-wrap: balance; }
