/*
  The 2026-11-05 redesign, loaded after styles.css (index.html only; privacy.html uses styles.css
  alone). Its rules override the older ones there.
  After Droppy, CleanShot X and Raycast: bigger, bolder headings with tight tracking, far less text,
  every feature shown. Light theme, one accent. Radii: 28px for every big surface (hero video,
  showcase video, panel, tiles), 14px for a recording inside a tile.
*/

:root {
  --radius-big: 28px;
  --radius-shot: 14px;
  --tile-h: 440px;
  --tile-gap: 24px;
}

/* Hero: a heavier headline, the recording big and rounded with no frame round it. */
.hero .headline-super {
  font-size: 80px; /* apple.com/iphone-duo's marquee, measured 2026-11-13 */
  line-height: 1.05;
  font-weight: 600; /* the site's weight: 700 read as cheap */
  letter-spacing: -0.015em;
}
/* The subtitle a clear step below the title (2026-11-07: at 28px it competed with it); Apple's
   24px intro. Balanced so it breaks into two even lines. */
.hero .intro {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0.009em;
  margin-top: 20px;
  text-wrap: balance;
}
/* The fading rings (index.html) from the page's top edge down behind the hero's text, under the
   clear nav (52px tall, hence -52px). The box ends ~20px above the recording's top (measured: page
   y 709 above 1068px wide, 656 to 735, 475 at its highest on phones) and its last 120px fade out, so
   nothing is cut; it clips sideways so it never widens the page. */
.hero {
  position: relative;
}
.hero > .content {
  position: relative;
  z-index: 1;
}
.hero-rings {
  position: absolute;
  top: -52px;
  left: 0;
  right: 0;
  height: 690px;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 calc(100% - 120px),
    transparent
  );
  mask-image: linear-gradient(to bottom, #000 calc(100% - 120px), transparent);
}
.hero-rings svg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2300px;
  height: 900px;
  translate: -50% 0;
}
.hero .media {
  margin-top: 72px;
  border-radius: var(--radius-big);
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 50px 100px -50px rgba(20, 30, 70, 0.45);
}

/* Section headings and their line: apple.com/iphone-duo's chapter lockup, measured 2026-11-13
   (80/84 headline, 21/29 line 26px under it, 840px wide; 64/68 and 24px at ≤1068; 40/44 and 18px
   on phones). */
.fheadline {
  font-size: 80px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.fline {
  max-width: 840px;
  margin: 26px auto 0;
  font-size: 21px;
  line-height: 1.381;
  letter-spacing: 0.011em;
  color: var(--text-secondary);
}

/* Showcase 2: the workspaces recording, whole (4:3, uncropped). 4:3 at the full 1280px would stand
   960px tall, taller than most screens; 1040px keeps heading and recording in one view. */
/* .bleed centres it (margin-left 50% + translate -50%): set only margin-top, never auto margins. */
.ws-frame {
  width: min(1040px, 100vw - 2 * var(--gutter));
  margin-top: 48px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-big);
  overflow: hidden;
  isolation: isolate;
  background: #23405a;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 50px 100px -50px rgba(20, 30, 70, 0.45);
}
.ws-frame video {
  display: block;
  width: 100%;
  height: 100%;
}

/* Showcase 2: a coloured panel, text left, the recording bleeding off its right edge. */
.showcase-panel {
  padding-top: 0;
}
.panel {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 72px 0 72px 72px;
  border-radius: var(--radius-big);
  overflow: hidden;
  text-align: left;
}
.panel .fline {
  margin-left: 0;
}
.panel-shot {
  margin: 0;
  aspect-ratio: 5 / 4;
  border-radius: 18px 0 0 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(120, 50, 20, 0.45);
}
/* The new window and the Dock are on the left of the frame; the empty right side is cut. */
.panel-shot video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 50%;
}

/* The grid: 4 columns, tiles 1 or 2 wide, all one height. Title and line top-left, the visual at
   the foot, cut by the tile's bottom edge. */
.features-grid .fhead {
  text-align: left;
}
.features-grid .fline {
  margin-left: 0;
}
.fgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: var(--tile-h);
  gap: var(--tile-gap);
  margin-top: 48px;
  text-align: left;
}
.ftile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 34px 34px 0;
  border-radius: var(--radius-big);
  overflow: hidden;
  isolation: isolate;
}
.ftile.wide {
  grid-column: span 2;
}
/* Drawings and recordings alternate instead of clumping (2026-11-05): desktop rows are
   Freeze | spin-off | Links, then Pinned | Restarts (a checkerboard). */
.ftile.t-night {
  order: 1;
}
.ftile.t-frost {
  order: 2;
}
.ftile.t-orange {
  order: 3;
}
.ftile.t-mist {
  order: 4;
}
.ftile.t-gray {
  order: 5;
}
.ftext h3 {
  font-size: 24px;
  line-height: 1.17;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.ftext p {
  max-width: 30em;
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.41;
  color: rgba(0, 0, 0, 0.58);
}
.ftext p strong {
  color: var(--text);
  font-weight: 600;
}
/* A recording: as wide as the text, running off the bottom edge. */
.fshot {
  flex: 1;
  min-height: 0;
  margin: 28px 0 0;
  border-radius: var(--radius-shot) var(--radius-shot) 0 0;
  overflow: hidden;
  background: #e8e8ed;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 24px 50px -24px rgba(20, 30, 70, 0.45);
}
.fshot video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform: scale(var(--zoom, 1));
  transform-origin: var(--origin, 50% 50%);
}
/* Each clip cropped to where it happens. */
.shot-spin {
  --pos: 75% 60%;
  --zoom: 1.2;
  --origin: 70% 65%;
}
.shot-pinned {
  --pos: 50% 50%;
  --zoom: 1.1;
  --origin: 60% 50%;
}
/* A mark instead of a recording, centred in the space below the words. */
.fmark {
  flex: 1;
  display: grid;
  place-items: center;
  padding-bottom: 34px;
}
.fglyph {
  width: 150px;
  height: 150px;
  fill: none;
  stroke: #f08000;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 14px 24px rgba(240, 128, 0, 0.3));
}

/* Apple's system hues (teal, green, orange) taken deep for the dark tiles and tinted ~4% for the
   light ones; a graphite dark instead of indigo. Few hues, one hot tile: unrelated pastels read
   as an Easter palette, all-blue as monochrome (2026-11-05). */
.t-frost {
  background:
    radial-gradient(90% 80% at 100% 100%, #cfe9ef 0%, transparent 70%),
    linear-gradient(160deg, #f6fbfc 0%, #e6f2f5 100%);
}
.t-mist {
  background:
    radial-gradient(90% 80% at 0% 100%, #d3ebdb 0%, transparent 70%),
    linear-gradient(160deg, #f6fbf7 0%, #e8f3ec 100%);
}
.t-orange {
  background:
    radial-gradient(
      90% 70% at 50% 100%,
      rgba(255, 205, 120, 0.5) 0%,
      transparent 75%
    ),
    linear-gradient(165deg, #ffa214 0%, #ff8200 60%, #ee6a00 100%);
}
.t-orange .fglyph {
  stroke: #fff;
  filter: drop-shadow(0 14px 28px rgba(120, 45, 0, 0.4));
}
.t-night {
  background:
    radial-gradient(
      80% 55% at 50% 100%,
      rgba(100, 210, 255, 0.35) 0%,
      transparent 80%
    ),
    linear-gradient(170deg, #0a1430 0%, #102659 60%, #173f95 100%);
}
/* The page's own light gray (--bg-alt), flat (2026-11-05). */
.t-gray {
  background: var(--bg-alt);
}
.t-night h3,
.t-orange h3 {
  color: #fff;
}
.t-night .ftext p,
.t-orange .ftext p {
  color: rgba(255, 255, 255, 0.72);
}

/* apple.com's breakpoints, as in styles.css. */
@media (max-width: 1068px) {
  .hero .headline-super {
    font-size: 64px;
    line-height: 1.0625;
    letter-spacing: -0.009em;
  }
  .hero .intro {
    font-size: 22px;
  }
  .hero-rings {
    height: 636px;
  }
  .fheadline {
    font-size: 64px;
    line-height: 1.0625;
    letter-spacing: -0.009em;
  }
  .fline {
    max-width: 656px;
    margin-top: 24px;
  }
  .panel {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 40px;
    padding: 56px 0 56px 48px;
  }
  .fgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
    --tile-h: 420px;
  }
}

@media (max-width: 734px) {
  :root {
    --tile-gap: 16px;
  }
  .hero .headline-super {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 0;
  }
  .hero .intro {
    font-size: 19px;
    line-height: 1.32;
    letter-spacing: 0.012em;
    margin-top: 16px;
  }
  /* The rings at 0.75×, in step with the smaller title. */
  .hero-rings {
    height: 455px;
  }
  .hero-rings svg {
    width: 1725px;
    height: 675px;
  }
  .hero .media {
    margin-top: 40px;
    border-radius: 18px;
  }
  .fheadline {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 0;
  }
  .fline {
    max-width: none;
    margin-top: 18px;
    font-size: 19px;
    line-height: 1.4211;
    letter-spacing: 0.012em;
  }
  .ws-frame {
    margin-top: 36px;
    border-radius: 18px;
  }
  .panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 0 0 28px;
    border-radius: 24px;
  }
  .panel-text {
    padding-right: 28px;
  }
  .panel-shot {
    border-radius: 14px 0 0 0;
  }
  .fgrid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    margin-top: 36px;
  }
  .ftile.wide {
    grid-column: auto;
  }
  .ftile {
    padding: 28px 28px 0;
    border-radius: 24px;
  }
  .ftext h3 {
    font-size: 22px;
  }
  .fshot {
    flex: none;
    aspect-ratio: 16 / 10;
    margin-top: 24px;
  }
  .fmark {
    padding: 32px 0 36px;
  }
  .fglyph {
    width: 112px;
    height: 112px;
  }
}

/* The without/with cards in showcase 2 carry only a heading, so the clip needs its own gap. */
.showcase .versus-card h3 + .media {
  margin-top: 20px;
}

/* ==========================================================================
   Second half: keys and trackpad, pies, details, compare, pricing, FAQ, closing.
   Same headings, radii and tile colours as the top; every rule here is scoped to
   a second-half section or a class only the second half uses.
   ========================================================================== */

/* Keys: a heading and a line beside the keyboard, the four combos as a short legend that lights
   with the keyboard; the trackpad row the same, mirrored. */
.keys-section .split,
.keys-section .split.reverse {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.keys-section .fheadline {
  font-size: 52px;
  line-height: 1.08;
}
.keys-section .split-text .fline {
  margin-left: 0;
}
.keys-section .kb-combos {
  margin-top: 36px;
  gap: 12px;
  font-size: 17px;
}
.keys-section .kb-combos li {
  grid-template-columns: 136px 1fr;
}
.keys-section .trackpad-row {
  margin-top: 104px;
}

/* Pies: the two recordings big and square, side by side, each zoomed on the pie at its centre. */
.pie-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--tile-gap);
  margin-top: 56px;
  text-align: left;
}
.pie-card {
  margin: 0;
}
.pie-shot {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-big);
  overflow: hidden;
  isolation: isolate;
  background: #23405a;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 40px 80px -48px rgba(20, 30, 70, 0.45);
}
.pie-shot video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.35);
}
.pie-card figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 22px;
  padding: 0 4px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: 0.011em;
  color: var(--text-secondary);
}
.pie-card figcaption strong {
  color: var(--text);
  font-weight: 600;
}
.pie-combo {
  display: inline-flex;
  gap: 5px;
}
.pie-combo kbd {
  padding: 3px 8px;
  border: 1px solid #d2d2d7;
  border-radius: 7px;
  box-shadow: 0 1px 0 #d2d2d7;
  background: var(--bg);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Trackpad: styles.css's flat white pad and blue dots (2026-11-05: a realistic aluminium pad with
   fingertip smudges was tried and read as too realistic next to the flat keyboard). */

/* Details: a grid of white cells, an icon, a label and one line each. */
.dgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.dgrid li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 36px 24px 32px;
  border-radius: 22px;
  background: var(--bg);
  text-align: center;
}
.dgrid li strong {
  font-size: 19px;
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.dgrid li span {
  max-width: 24ch;
  text-wrap: balance; /* no lone "launch." on its own line */
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-secondary);
}
.dgrid .icon {
  width: 40px;
  height: 40px;
  margin: 0 0 12px;
  stroke-width: 1.6;
  position: relative;
}
/* Hover hints, transform and opacity only. */
.dgrid .glow {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 56px;
  height: 56px;
  margin-left: -28px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(255, 204, 0, 0.5),
    rgba(255, 204, 0, 0)
  );
  opacity: 0;
  transform: scale(0.6);
}
@media (prefers-reduced-motion: no-preference) {
  .dgrid .icon,
  .dgrid .icon path,
  .dgrid .icon circle,
  .dgrid .icon rect {
    transform-box: fill-box;
    transform-origin: center;
  }
  .dgrid .icon,
  .dgrid .glow {
    transition:
      transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
      opacity 0.3s ease;
  }
  .dgrid li:nth-child(1) .icon {
    transform-origin: 20% 80%;
  }
  .dgrid li:nth-child(1):hover .icon {
    animation: dg-wiggle 0.4s ease-in-out;
  }
  .dgrid li:nth-child(2):hover .icon {
    transform: translateY(2px) scale(0.94);
  }
  .dgrid li:nth-child(3):hover .icon {
    transform: translateX(3px) scale(1.06);
  }
  .dgrid li:nth-child(4):hover .icon {
    transform: scale(1.12);
  }
  .dgrid li:nth-child(5):hover .icon {
    transform: rotate(180deg);
  }
  .dgrid li:nth-child(6):hover .glow {
    opacity: 1;
    transform: scale(1.3);
  }
  .dgrid li:nth-child(6):hover .icon {
    transform: scale(1.06);
  }
}
@keyframes dg-wiggle {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-14deg);
  }
  60% {
    transform: rotate(10deg);
  }
  85% {
    transform: rotate(-4deg);
  }
}

/* Compare: ✓/✕ grid, the Rotara column tinted the without/with card's blue. */
.ctable {
  width: 100%;
  max-width: 860px;
  margin: 56px auto 0;
  border-collapse: separate;
  border-spacing: 0;
  text-align: center;
}
.ctable th,
.ctable td {
  padding: 17px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  vertical-align: middle;
}
.ctable thead th,
.ctable thead td {
  padding: 24px 12px 18px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text-secondary);
  vertical-align: bottom;
  border-bottom-color: rgba(0, 0, 0, 0.16);
}
.ctable thead .c-us {
  color: var(--text);
}
.ctable tbody th {
  padding-left: 4px;
  text-align: left;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.012em;
  width: 46%;
}
.ctable td {
  width: 18%;
}
.ctable .c-us {
  background: #eaf3fe;
}
.ctable thead .c-us {
  border-radius: 22px 22px 0 0;
}
.ctable tbody tr:last-child > * {
  border-bottom: 0;
}
.ctable tbody tr:last-child .c-us {
  border-radius: 0 0 22px 22px;
}
.ctable .c-us img {
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
}
.yes,
.no {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  vertical-align: middle;
  background-position: center;
  background-repeat: no-repeat;
}
.yes {
  background-color: var(--button);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.4 2.4 4.6-5.2' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 15px;
}
.no {
  background-color: #ececf0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' fill='none' stroke='%2386868b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 13px;
}

/* Pricing: the live site's cards as they are (styles.css): white, Lifetime outlined in blue, the
   full four-line lists. A solid blue Lifetime card and two-line lists were tried 2026-11-05;
   the longer lists sell better. */
#pricing .prices {
  margin-top: 56px;
}
/* SPEC §8: prices are US dollars (the store charges in USD); said once so a Canadian or European
   reader doesn't take $19 as their own currency. */
#pricing .price-note {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.33;
  color: var(--text-tertiary, #86868b);
}
/* Left-aligned, each line behind a check in a pale blue disc (2026-11-05, Raycast's list). */
#pricing .price-card {
  text-align: left;
}
#pricing .price {
  justify-content: flex-start;
}
#pricing .price-list {
  gap: 14px;
}
#pricing .price-list li {
  position: relative;
  padding-left: 34px;
  line-height: 22px;
}
#pricing .price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.1)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.8 6.2l2.2 2.2 4.2-4.8' fill='none' stroke='%230071e3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
#pricing .price-card .button {
  align-self: stretch;
  text-align: center;
}

/* FAQ heading at the section size. */
#faq .faq {
  margin-top: 56px;
}

/* Closing: the app icon over the last line. */
.closing-icon {
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 auto 36px;
  filter: drop-shadow(0 24px 36px rgba(20, 30, 70, 0.22));
}
.closing .fline {
  margin-top: 22px;
}
/* The icon on the fading rings (index.html); the section clips them and keeps them off the page's
   width. */
.closing {
  position: relative;
  overflow: hidden;
  isolation: isolate; /* the rings' z-index -1 stays above the section's background */
}
.closing-stage {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 36px;
}
.closing-stage .closing-icon {
  position: relative;
  z-index: 1;
  margin: 0;
}
.closing-rings {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1004px;
  height: 1004px;
  translate: -50% -50%;
  pointer-events: none;
  z-index: -1; /* under the headline and buttons, not over them */
}

@media (max-width: 1068px) {
  .keys-section .fheadline {
    font-size: 44px;
  }
  .pie-shot video {
    transform: scale(1.45);
  }
  .dgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 734px) {
  .keys-section .split,
  .keys-section .split.reverse {
    grid-template-columns: 1fr;
  }
  .keys-section .fheadline {
    font-size: 36px;
    line-height: 1.08;
  }
  .keys-section .split-text {
    text-align: center;
  }
  .keys-section .split-text .fline {
    margin-left: auto;
  }
  .keys-section .kb-combos {
    max-width: 340px;
    margin: 28px auto 0;
    text-align: left;
    font-size: 15px;
  }
  .keys-section .kb-combos li {
    grid-template-columns: 124px 1fr;
  }
  .keys-section .trackpad-row {
    margin-top: 72px;
  }
  .pie-pair {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 36px;
  }
  .pie-shot {
    border-radius: 22px;
  }
  .pie-card figcaption {
    margin-top: 16px;
    font-size: 17px;
  }
  .dgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 36px;
  }
  .dgrid li {
    padding: 26px 12px 22px;
    border-radius: 18px;
  }
  .dgrid li strong {
    font-size: 16px;
  }
  .dgrid li span {
    font-size: 13.5px;
  }
  .dgrid .glow {
    top: 15px;
  }
  .dgrid .icon {
    width: 34px;
    height: 34px;
  }
  .ctable {
    margin-top: 36px;
  }
  .ctable th,
  .ctable td {
    padding: 14px 4px;
  }
  .ctable thead th,
  .ctable thead td {
    padding: 18px 4px 14px;
    font-size: 13px;
  }
  .ctable tbody th {
    padding-left: 0;
    font-size: 15px;
    width: 43%;
  }
  .ctable td {
    width: 19%;
  }
  .ctable .c-us img {
    width: 28px;
    height: 28px;
  }
  .yes,
  .no {
    width: 24px;
    height: 24px;
  }
  .closing-icon {
    width: 96px;
    height: 96px;
  }
  .closing-stage {
    width: 96px;
    height: 96px;
    margin-bottom: 28px;
  }
  /* The rings scaled with the icon (96 / 132). */
  .closing-rings {
    width: 730px;
    height: 730px;
  }
}

/* Smart Freeze illustration (the t-night tile). A small frosted macOS window, "Activity": title
   bar with traffic lights, a table header, three list rows (one heavy app each, an app-icon
   squircle, a mini CPU graph in a well, % CPU right-aligned). The top row is the app in use and
   never freezes; the other two run one 8s timeline, the second 1.6s behind: frost creeps across
   left to right, the graph is eaten into a flat line at 0%, a snowflake settles on the icon; at
   62.5% it thaws at once with a short cyan flash. Transforms and opacity only; 4/8pt spacing. */
/* The window sits a fixed gap under the words and runs off the tile's bottom edge, its list going
   on past it (five apps, the last ones cut), so it reads as part of a longer window (
   2026-11-05: an empty window bottom read as fake, a pushed-down window left an awkward gap).
   Bottom only: running off the right would cut the % CPU column, the payoff. */
.fmark.frz-wrap {
  padding: 28px 0 0;
  place-items: start;
  min-height: 0;
  overflow: hidden;
  margin-right: -34px; /* out to the tile's edge (its padding), which clips it */
}
/* Bigger and running off the right too (2026-11-05:too many apps showed): about three and
   a half rows show. The window goes on past the tile's right edge; its content is inset by the
   same amount, so the % CPU column ends just inside the edge. zoom scales the px values only,
   so 100% stays the wrap's width. */
.frz-wrap .frz {
  --frz-off: 40px;
  zoom: 1.2;
  width: calc(100% + var(--frz-off));
  max-width: none;
}
.frz-wrap .frz-head {
  padding-right: calc(var(--frz-off) + 14px);
}
.frz-wrap .frz-list {
  padding-right: calc(var(--frz-off) + 2px);
}
.frz {
  --frz-loop: 8s;
  --frz-label: rgba(255, 255, 255, 0.85);
  --frz-secondary: rgba(235, 235, 245, 0.6);
  --frz-tertiary: rgba(235, 235, 245, 0.3);
  --frz-sep: rgba(255, 255, 255, 0.09);
  position: relative;
  width: 100%;
  max-width: 304px;
  padding-bottom: 8px;
  /* macOS 26 proportions (2026-11-05:the first cut was the old, tighter style): a big
     window radius (~1.9× a traffic light), a tall title bar with no separator, lights inset
     ~1.4× their size, rounder rows with more side room. */
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    sans-serif;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.02) 40%
    ),
    rgba(24, 34, 66, 0.62);
  /* No backdrop-filter: the window runs past the tile's edge, and the blur sampled the next
     tile's orange into it (2026-11-05). Over the tile's smooth gradient a translucent fill
     looks the same. */
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 0.5px rgba(0, 0, 0, 0.55),
    0 24px 48px -16px rgba(0, 3, 18, 0.75),
    0 4px 12px rgba(0, 3, 18, 0.3);
}
.frz-defs {
  position: absolute;
  width: 0;
  height: 0;
}
/* Title bar: unified, the lights left, the title centred, a hairline below. */
.frz-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}
.frz-lights {
  position: absolute;
  left: 18px;
  top: 50%;
  display: flex;
  gap: 8px;
  transform: translateY(-50%);
}
.frz-lights i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.22);
}
.frz-lights i:nth-child(2) {
  background: #febc2e;
}
.frz-lights i:nth-child(3) {
  background: #28c840;
}
.frz-title {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--frz-label);
}
/* Table header: column titles in the secondary grey, % CPU right-aligned over the numbers. */
.frz-head {
  display: flex;
  justify-content: space-between;
  padding: 2px 24px 6px;
  font-size: 11px;
  line-height: 12px;
  font-weight: 500;
  color: var(--frz-secondary);
}
.frz-list {
  padding: 0 12px;
}
.frz-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 12px;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
}
/* Inset separators, from the graph's edge, as in a native list. */
.frz-row + .frz-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50px;
  right: 12px;
  height: 0.5px;
  background: var(--frz-sep);
}
/* Real app icons (media/icons, rendered from the installed apps at 128px), the same apps as the
   recordings. The frozen two are genuinely heavy (Blender, DaVinci Resolve: Smart Freeze's ≥500 MB
   case); Safari is the app in use, never frozen. Generic drawn icons didn't read as Mac. */
.frz-icon {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}
/* macOS icon art fills ~80% of its canvas: draw it larger so the squircle itself is ~28px. */
.frz-icon img {
  display: block;
  width: 35px;
  height: 35px;
  margin: -3.5px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}
/* The CPU graph: a recessed well, like Activity Monitor's history. */
.frz-graph {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 24px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 6, 24, 0.32);
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.08),
    inset 0 1px 2px rgba(0, 0, 0, 0.3);
}
/* Fine grid lines in the well. */
.frz-graph::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)) 0
      50% / 100% 0.5px no-repeat,
    repeating-linear-gradient(
      90deg,
      transparent 0 15.5px,
      rgba(255, 255, 255, 0.04) 15.5px 16px
    );
  pointer-events: none;
}
.frz-live,
.frz-live-in {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.frz-trace {
  display: block;
  width: 200%;
  height: 100%;
  overflow: visible;
  animation: frz-scroll var(--t, 3s) linear infinite;
  will-change: transform;
}
.frz-line {
  fill: none;
  stroke: #e9f7ff;
  stroke-width: 1.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.frz-area {
  fill: url(#frzArea);
}
.frz-flat {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1.5px;
  border-radius: 1px;
  background: #9fe0ff;
  box-shadow: 0 0 6px rgba(100, 210, 255, 0.9);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.frz-num {
  position: relative;
  flex: none;
  width: 32px;
  height: 16px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.frz-num b {
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 400;
  color: var(--frz-label);
}
.frz-num .frz-zero {
  color: #a6e3ff;
  text-shadow: 0 0 8px rgba(100, 210, 255, 0.8);
  opacity: 0;
}
/* Frost: a sheet wider than the row by its soft leading edge, slid in from the left. The inner
   layer slides back by the same amount, so the frost itself stays put while its edge travels. */
.frz-frost {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(100% + 40px);
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 calc(100% - 40px),
    transparent
  );
  mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
  transform: translateX(-100%);
}
.frz-frost-in {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: calc(100% - 40px);
  border-radius: 14px;
  background:
    radial-gradient(
      42% 110% at 0% 100%,
      rgba(232, 246, 255, 0.26) 0%,
      transparent 72%
    ),
    radial-gradient(
      36% 100% at 100% 0%,
      rgba(232, 246, 255, 0.2) 0%,
      transparent 72%
    ),
    linear-gradient(
      180deg,
      rgba(206, 234, 255, 0.2) 0%,
      rgba(130, 198, 255, 0.1) 100%
    );
  box-shadow:
    inset 0 0 0 1px rgba(190, 232, 255, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 0 16px rgba(160, 218, 255, 0.28);
  transform: translateX(calc(100% + 40px));
}
.frz-frost-in svg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}
.frz-flash {
  position: absolute;
  inset: 2px 0;
  z-index: 3;
  border-radius: 14px;
  pointer-events: none;
  background: radial-gradient(
    70% 140% at 50% 50%,
    rgba(100, 210, 255, 0.28) 0%,
    transparent 75%
  );
  box-shadow: inset 0 0 0 1px rgba(120, 220, 255, 0.75);
  opacity: 0;
}
.frz-flake {
  position: absolute;
  z-index: 4;
  top: -6px;
  right: -7px;
  width: 15px;
  height: 15px;
  stroke: #e6f7ff;
  stroke-width: 1.7;
  filter: drop-shadow(0 0 4px rgba(100, 210, 255, 0.95));
  opacity: 0;
}

/* The idle rows' timeline. */
.frz-idle .frz-frost {
  animation: frz-frost var(--frz-loop) infinite;
}
.frz-idle .frz-frost-in {
  animation: frz-frost-in var(--frz-loop) infinite;
}
.frz-idle .frz-live {
  animation: frz-eat var(--frz-loop) infinite;
}
.frz-idle .frz-live-in {
  animation: frz-eat-in var(--frz-loop) infinite;
}
.frz-idle .frz-flat {
  animation: frz-flat var(--frz-loop) infinite;
}
.frz-idle .frz-busy {
  animation: frz-busy var(--frz-loop) infinite;
}
.frz-idle .frz-zero {
  animation: frz-zero var(--frz-loop) infinite;
}
.frz-idle .frz-flake {
  animation: frz-flake var(--frz-loop) infinite;
}
.frz-idle .frz-flash {
  animation: frz-flash var(--frz-loop) infinite;
}
.frz-late * {
  animation-delay: 1.6s !important;
}
.frz-late .frz-trace {
  animation-delay: 0s !important;
}

@keyframes frz-scroll {
  to {
    transform: translateX(-50%);
  }
}
@keyframes frz-frost {
  0%,
  10% {
    transform: translateX(-100%);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.45, 0, 0.3, 1);
  }
  23%,
  62.5% {
    transform: translateX(0);
    opacity: 1;
    animation-timing-function: ease-out;
  }
  65.5% {
    transform: translateX(0);
    opacity: 0;
    animation-timing-function: step-end;
  }
  66%,
  100% {
    transform: translateX(-100%);
    opacity: 1;
  }
}
@keyframes frz-frost-in {
  0%,
  10% {
    transform: translateX(calc(100% + 40px));
    animation-timing-function: cubic-bezier(0.45, 0, 0.3, 1);
  }
  23%,
  65.5% {
    transform: translateX(0);
    animation-timing-function: step-end;
  }
  66%,
  100% {
    transform: translateX(calc(100% + 40px));
  }
}
/* The trace is eaten left to right just behind the frost's edge. */
@keyframes frz-eat {
  0%,
  11% {
    transform: translateX(0);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.45, 0, 0.3, 1);
  }
  23%,
  62.5% {
    transform: translateX(101%);
    opacity: 1;
    animation-timing-function: step-end;
  }
  62.6% {
    transform: translateX(0);
    opacity: 0;
    animation-timing-function: ease-out;
  }
  65.5%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes frz-eat-in {
  0%,
  11% {
    transform: translateX(0);
    animation-timing-function: cubic-bezier(0.45, 0, 0.3, 1);
  }
  23%,
  62.5% {
    transform: translateX(-101%);
    animation-timing-function: step-end;
  }
  62.6%,
  100% {
    transform: translateX(0);
  }
}
@keyframes frz-flat {
  0%,
  11% {
    transform: scaleX(0);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.45, 0, 0.3, 1);
  }
  23%,
  62.5% {
    transform: scaleX(1);
    opacity: 1;
    animation-timing-function: ease-out;
  }
  64.5% {
    transform: scaleX(1);
    opacity: 0;
    animation-timing-function: step-end;
  }
  65%,
  100% {
    transform: scaleX(0);
    opacity: 1;
  }
}
@keyframes frz-busy {
  0%,
  15% {
    opacity: 1;
    transform: none;
  }
  19%,
  62.5% {
    opacity: 0;
    transform: translateY(-4px);
    animation-timing-function: ease-out;
  }
  65.5%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes frz-zero {
  0%,
  19% {
    opacity: 0;
    transform: translateY(4px);
    animation-timing-function: ease-out;
  }
  23.5%,
  62.5% {
    opacity: 1;
    transform: none;
  }
  64%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes frz-flake {
  0%,
  22% {
    opacity: 0;
    transform: translateY(-9px) rotate(-70deg) scale(0.6);
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  29%,
  62.5% {
    opacity: 1;
    transform: none;
    animation-timing-function: ease-out;
  }
  65% {
    opacity: 0;
    transform: scale(1.5);
    animation-timing-function: step-end;
  }
  66%,
  100% {
    opacity: 0;
    transform: translateY(-9px) rotate(-70deg) scale(0.6);
  }
}
@keyframes frz-flash {
  0%,
  62.5% {
    opacity: 0;
    animation-timing-function: ease-out;
  }
  63.5% {
    opacity: 1;
    animation-timing-function: ease-in-out;
  }
  71%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 734px) {
  .frz {
    max-width: 320px;
  }
  /* The tile grows with its content on phones: fix the window's visible height so it still runs
     off the bottom, partway through the fourth app. */
  .fmark.frz-wrap {
    flex: none;
    height: 300px;
    padding-top: 24px;
    margin-right: -28px;
  }
}

/* Reduced motion: one still frame, the top app running and the other two frozen. */
@media (prefers-reduced-motion: reduce) {
  .frz *,
  .frz-late * {
    animation: none !important;
  }
  .frz-idle .frz-frost,
  .frz-idle .frz-frost-in {
    transform: none;
  }
  .frz-idle .frz-live {
    opacity: 0;
  }
  .frz-idle .frz-flat {
    transform: none;
  }
  .frz-idle .frz-busy {
    opacity: 0;
  }
  .frz-idle .frz-zero,
  .frz-idle .frz-flake {
    opacity: 1;
  }
}

/* Links illustration (the t-orange tile, SPEC §1.9). Light macOS 26 windows in the Smart Freeze
   window's proportions. The case only Rotara handles: this project has no browser window, just a
   Mail message (2026-11-05 review: showing Safari already here, gaining a tab, is what any Mac does).
   One 7s loop: the pointer glides to the link and clicks (1.75s); a new Safari window opens right
   here, over Mail, focused, one tab; the address field loads and the page appears; held, then the
   window fades away. The pointer rests in empty space at both ends, so it never jumps. The windows run off the
   tile's right and bottom edges and so does their content (address field, tabs, form), laid out
   for the window's real width (2026-11-05 review: content pulled in to stay on screen read as fake).
   Solid fills only: a backdrop blur past the tile's edge picks up the next tile.
   Colour: white windows on the orange, black/grey content, system blue only for the link and the
   load bar. Transforms and opacity only. */
/* No overflow clip here: only the tile clips (right, bottom), so the shadows above and left of the
   windows stay soft instead of cut off by a hard edge. */
.fmark.lnk-wrap {
  position: relative;
  display: block;
  min-height: 0;
  margin: 28px -34px 0 0; /* out to the tile's edge (its padding), which clips it */
  padding: 0;
}
.lnk {
  --lnk-loop: 7s;
  --lnk-off: 40px;
  --lnk-ink: #1d1d1f;
  --lnk-grey: #86868b;
  position: absolute;
  left: 0;
  top: 0;
  zoom: 1.2;
  width: calc(100% + var(--lnk-off));
  height: calc(100% + 60px);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    sans-serif;
  color: var(--lnk-ink);
  -webkit-font-smoothing: antialiased;
}
.lnk-win {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.14),
    0 22px 44px -14px rgba(110, 40, 0, 0.55),
    0 3px 10px rgba(110, 40, 0, 0.18);
}
.lnk-mail {
  left: 0;
}
/* The new window opens cascaded from Mail, growing in from just smaller, as macOS opens windows. */
.lnk-safari {
  left: 14px;
  top: 40px;
  opacity: 0;
  transform-origin: 40% 30%;
  animation: lnk-open var(--lnk-loop) infinite;
}
/* Traffic lights; .lnk-off is an inactive window's grey set. */
.lnk-lights {
  position: absolute;
  left: 18px;
  top: 50%;
  display: flex;
  gap: 8px;
  transform: translateY(-50%);
}
.lnk-lights i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.2);
}
.lnk-lights i:nth-child(2) {
  background: #febc2e;
}
.lnk-lights i:nth-child(3) {
  background: #28c840;
}
.lnk-lights.lnk-off i {
  background: #dcdcde;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}

/* Safari: a pale grey toolbar (lights, address field) over the white page. No tab bar: Safari hides
   it while a window has one tab (View → Always Show Tab Bar is off by default). */
.lnk-tool {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px 0 84px;
  background: #f4f4f6;
  box-shadow: inset 0 -0.5px 0 rgba(0, 0, 0, 0.1);
}
.lnk-addr {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 26px;
  overflow: hidden;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.055);
  font-size: 11.5px;
  line-height: 26px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lnk-load {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #0a84ff;
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: lnk-load var(--lnk-loop) infinite;
}
/* The site's logo, black. */
.lnk-logo {
  border-radius: 3.5px;
  background:
    linear-gradient(135deg, transparent 0 46%, #fff 46% 54%, transparent 54%),
    #1d1d1f;
}
.lnk-page {
  padding: 14px 18px 0;
  animation: lnk-page var(--lnk-loop) infinite;
}
.lnk-site {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
}
.lnk-site b {
  font-weight: 650;
}
.lnk-logo {
  width: 16px;
  height: 16px;
  border-radius: 5px;
}
.lnk-page h4 {
  margin: 14px 0 10px;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lnk-field {
  display: block;
  height: 30px;
  margin-bottom: 8px;
  padding: 0 10px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px #d2d2d7;
  font-size: 11.5px;
  line-height: 30px;
  color: #a1a1a6;
}
.lnk-pay {
  display: block;
  height: 32px;
  margin-top: 12px;
  border-radius: 10px;
  background: #1d1d1f;
  font-size: 12px;
  line-height: 32px;
  font-weight: 600;
  text-align: center;
  color: #fff;
}

/* Mail: the message on its own, the subject as the window title. */
.lnk-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}
.lnk-dim {
  opacity: 0;
  animation: lnk-dim var(--lnk-loop) infinite;
}
.lnk-title {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  animation: lnk-title var(--lnk-loop) infinite;
}
.lnk-from {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px 12px;
}
.lnk-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(180deg, #b6b6bb, #8e8e93);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.lnk-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 11px;
  line-height: 15px;
  white-space: nowrap;
  color: var(--lnk-grey);
}
.lnk-who b {
  font-size: 13px;
  line-height: 17px;
  font-weight: 600;
  color: var(--lnk-ink);
}
.lnk-body {
  margin: 0 18px;
  padding-top: 12px;
  box-shadow: inset 0 0.5px 0 rgba(0, 0, 0, 0.1);
  font-size: 12.5px;
  line-height: 18px;
}
.lnk-body p + p {
  margin-top: 10px;
}
.lnk-url {
  position: relative;
  color: #0068da;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  white-space: nowrap;
}
/* The click's highlight on the link. */
.lnk-url::before {
  content: "";
  position: absolute;
  inset: -1px -3px;
  border-radius: 4px;
  background: rgba(0, 104, 218, 0.14);
  opacity: 0;
  animation: lnk-press var(--lnk-loop) infinite;
}

/* The macOS arrow, its tip on the link (set from the link's laid-out position, zoomed px). It rests
   only in empty space, beside Mail's sender name and then beside Safari's page heading (over text
   or a field an app would show an I-beam), and glides between them, so it never needs to fade. */
.lnk-pointer {
  position: absolute;
  z-index: 5;
  /* macOS 26's own arrow (NSCursor.arrow, 28×40 pt with its shadow, hot spot 5,5), rendered
     from the system: the new one has every corner rounded. */
  left: 62px;
  top: 120px;
  width: 28px;
  height: 40px;
  transform-origin: 5px 5px;
  animation: lnk-pointer var(--lnk-loop) infinite;
}

@keyframes lnk-pointer {
  0%,
  8% {
    transform: translate(83px, -67px);
    animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1);
  }
  24% {
    transform: none;
    animation-timing-function: ease-out;
  }
  25.5% {
    transform: scale(0.86);
    animation-timing-function: ease-out;
  }
  27.5%,
  34% {
    transform: none;
    animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1);
  }
  46%,
  88% {
    transform: translate(93px, 5px);
    animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1);
  }
  100% {
    transform: translate(83px, -67px);
  }
}
@keyframes lnk-press {
  0%,
  24.5% {
    opacity: 0;
  }
  25.5%,
  30% {
    opacity: 1;
  }
  31%,
  100% {
    opacity: 0;
  }
}
@keyframes lnk-open {
  0%,
  27% {
    opacity: 0;
    transform: scale(0.92);
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  30.5%,
  86% {
    opacity: 1;
    transform: none;
    animation-timing-function: ease-in-out;
  }
  91% {
    opacity: 0;
    transform: none;
    animation-timing-function: step-end;
  }
  92%,
  100% {
    opacity: 0;
    transform: scale(0.92);
  }
}
@keyframes lnk-dim {
  0%,
  27% {
    opacity: 0;
  }
  29%,
  86% {
    opacity: 1;
  }
  91%,
  100% {
    opacity: 0;
  }
}
@keyframes lnk-title {
  0%,
  27% {
    opacity: 1;
  }
  29%,
  86% {
    opacity: 0.5;
  }
  91%,
  100% {
    opacity: 1;
  }
}
@keyframes lnk-load {
  0%,
  29.5% {
    transform: scaleX(0);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.3, 0.6, 0.4, 1);
  }
  38% {
    transform: scaleX(1);
    opacity: 1;
    animation-timing-function: ease-out;
  }
  41%,
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}
@keyframes lnk-page {
  0%,
  33% {
    opacity: 0;
    animation-timing-function: ease-out;
  }
  38.5%,
  100% {
    opacity: 1;
  }
}

@media (max-width: 734px) {
  /* The tile grows with its content on phones: fix the visible height. */
  .fmark.lnk-wrap {
    flex: none;
    height: 272px;
    margin: 24px -28px 0 0;
  }
}

/* Reduced motion: one still frame, the end state: the new Safari window open here, over Mail. */
@media (prefers-reduced-motion: reduce) {
  .lnk *,
  .lnk *::before {
    animation: none !important;
  }
  .lnk-safari,
  .lnk-dim {
    opacity: 1;
  }
  .lnk-safari {
    transform: none;
  }
  .lnk-title {
    opacity: 0.5;
  }
  .lnk-pointer {
    transform: translate(93px, 5px);
  }
}

/* Restarts illustration (the t-gray tile, SPEC §1.7). The payoff is the sorting, not the reopening
   (2026-11-05 review: windows simply coming back is what macOS does on its own). Three workspaces,
   each a loose stack of its own light macOS 26 windows under its number badge and name: Sprout app
   (Xcode, Safari, Finder), Trip to Kyoto (Safari, Notes), Q4 budget (Numbers). Safari is in two
   workspaces, one window each. One 8s loop: sorted, Sprout in front, the other two receded; the
   Mac restarts (a quick dim); macOS reopens every window at once in one mixed pile (Finder, the
   key window, on top); held; the windows glide out of the pile into their stacks, workspace by
   workspace; the names return; Sprout comes forward (its badge's current ring), the others
   recede. Finder (Sprout's) is the key window throughout: on top of the pile and of its stack. The badges are the only Rotara UI (2026-11-05). The stacks run off the tile's
   bottom (and right) edges. Every window is drawn at its pile size and scaled down into its stack
   (transform-origin top left), so the pile and the stacks share one set of windows. Solid fills
   only. Colour: white windows on the page's light grey, black and grey content. Transforms and
   opacity only. */
.fmark.rst-wrap {
  position: relative;
  display: block;
  min-height: 0;
  margin: 28px -34px 0 0; /* out to the tile's edge (its padding), which clips it */
  padding: 0;
  container: rst / inline-size;
}
/* Layout px: the stacks' x (--ga/--gb/--gc) and the pile's origin (--pox). Laid out for about 594px
   of visible width; --z scales that to the tile (container queries below). */
.rst {
  --z: 1;
  --rst-loop: 8s;
  --rst-ink: #1d1d1f;
  --rst-grey: #86868b;
  --ga: 0px;
  --gb: 266px;
  --gc: 480px;
  --pox: 0px;
  position: absolute;
  left: 0;
  top: 0;
  width: calc(100% / var(--z));
  height: calc(100% / var(--z));
  transform: scale(var(--z));
  transform-origin: 0 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    sans-serif;
  color: var(--rst-ink);
  -webkit-font-smoothing: antialiased;
}
/* Each workspace: its stack's x, its delay, and its WorkspacePalette colour (light-mode systemBlue,
   systemOrange, systemGreen: the first three after Main's grey) with the badge's number ink, that
   colour blended 60% with black (NumberBadge in PieMenu.swift). */
.rst-ga {
  --g: var(--ga);
  --d: 0s;
  --bc: #007aff;
  --bi: #003166;
}
.rst-gb {
  --g: var(--gb);
  --d: 0.2s;
  --bc: #ff9500;
  --bi: #663c00;
}
.rst-gc {
  --g: var(--gc);
  --d: 0.4s;
  --bc: #28cd41;
  --bi: #10521a;
}
.rst-label {
  position: absolute;
  left: var(--g);
  top: 0;
  display: flex;
  align-items: center;
  gap: 0.42em;
  font-size: var(--rst-label, 14px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  animation: rst-label var(--rst-loop) var(--d) infinite;
}
/* Rotara's number badge, copied from NumberBadge: a 20pt dot for 12pt bold rounded digits (here
   1.4× the name's size), a white gloss from the top to the middle inset 1.5pt, a 0.5pt edge of the
   ink at 35%, a small drop shadow; the current workspace's gets a 1.5pt ring 3pt outside. */
.rst-badge {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 1.67em;
  height: 1.67em;
  border-radius: 50%;
  background: var(--bc);
  box-shadow:
    inset 0 0 0 0.042em color-mix(in srgb, var(--bi) 35%, transparent),
    0 0.083em 0.25em rgba(0, 0, 0, 0.3);
  isolation: isolate;
  font-size: 0.84em; /* 1em = the badge's 12pt digit size (20pt dot) */
  color: var(--bi);
}
/* The digit: SF Pro Rounded Bold, cap height 0.7em, centred. */
.rst-badge svg {
  display: block;
  height: 0.735em;
  fill: currentColor;
}
.rst-badge::before {
  content: "";
  position: absolute;
  z-index: -1; /* under the digit, as in the SwiftUI background */
  inset: 0.125em;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0) 50%
  );
}
.rst-ga .rst-badge::after {
  content: "";
  position: absolute;
  inset: -0.25em;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.125em var(--rst-ink);
  animation: rst-current var(--rst-loop) infinite;
}
/* A window at its pile size (--w × --h), scaled by --ss into its stack at (--wx, --wy) from the
   project's x. Real work, not a grid (2026-11-05 review: equal windows two per project read as
   fake): each window its own size and shape (a wide Xcode, a tall narrow note, a small Finder),
   three windows in one project, two in the next, one in the last, each stack overlapping its own
   way. The tall ones run off the tile's bottom at every zoom. */
.rst-win {
  --ss: 0.62;
  --ps: 0.8;
  --pile: translate(
      calc(var(--pox) + var(--jx) - var(--g) - var(--wx)),
      calc(var(--jy) - var(--wy))
    )
    scale(var(--ps));
  position: absolute;
  left: calc(var(--g) + var(--wx));
  top: var(--wy);
  width: var(--w);
  height: var(--h);
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  transform-origin: 0 0;
  transform: scale(var(--ss));
  box-shadow:
    0 0 0 0.75px rgba(0, 0, 0, 0.12),
    0 18px 40px -14px rgba(0, 0, 0, 0.26),
    0 2px 8px rgba(0, 0, 0, 0.06);
  animation: rst-win var(--rst-loop) var(--d) infinite;
}
/* Size, place in its stack, place in the pile (top-left, layout px; projects mixed). */
.rst-w-sf1 {
  --w: 300px;
  --h: 640px;
  --wx: 26px;
  --wy: 26px;
  --jx: 250px;
  --jy: 4px;
}
.rst-w-sf2 {
  --w: 280px;
  --h: 720px;
  --wx: 0px;
  --wy: 30px;
  --jx: 304px;
  --jy: 92px;
}
.rst-w-nm {
  --w: 340px;
  --h: 740px;
  --wx: 0px;
  --wy: 34px;
  --jx: 136px;
  --jy: 34px;
  --ps: 0.78;
}
.rst-w-xc {
  --w: 380px;
  --h: 760px;
  --wx: 0px;
  --wy: 54px;
  --jx: 12px;
  --jy: 108px;
}
.rst-w-nt {
  --w: 176px;
  --h: 740px;
  --wx: 86px;
  --wy: 62px;
  --jx: 214px;
  --jy: 58px;
  --ps: 0.82;
}
/* Finder, the key window: in front of its stack, and on top of the pile. */
.rst-w-fd {
  --w: 220px;
  --h: 170px;
  --wx: 120px;
  --wy: 176px;
  --jx: 408px;
  --jy: 150px;
  --ps: 0.86;
}
/* The receding projects: the tile's grey over the stack and its name, kept clear of the next
   project to the left. */
.rst-veil {
  position: absolute;
  left: calc(var(--g) - 8px);
  top: -14px;
  width: calc(var(--gc) - var(--gb) - 4px);
  height: calc(100% + 400px);
  background: var(--bg-alt);
  opacity: 0.55;
  animation: rst-veil var(--rst-loop) infinite;
}
.rst-veil.rst-gc {
  width: 420px;
}
/* The restart: one cover of the tile's grey over everything for a moment. */
.rst-dim {
  position: absolute;
  inset: -20px;
  background: var(--bg-alt);
  opacity: 0;
  animation: rst-dim var(--rst-loop) infinite;
}

/* Traffic lights, centred in the 44px title bar; .rst-grey is an inactive window's set. */
.rst-lights {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 22px;
  display: flex;
  gap: 8px;
  transform: translateY(-50%);
}
.rst-lights i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.2);
}
.rst-lights i:nth-child(2) {
  background: #febc2e;
}
.rst-lights i:nth-child(3) {
  background: #28c840;
}
.rst-lights.rst-grey i {
  background: #dcdcde;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}
.rst-bar,
.rst-tool {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px 0 84px;
}
.rst-tool {
  background: #f4f4f6;
}
.rst-title {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.rst-numbers .rst-tool {
  justify-content: center;
  padding-right: 84px;
}

/* Finder: a small window, list view, the folder's name as the title. */
.rst-files {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
  font-size: 11.5px;
  line-height: 24px;
  white-space: nowrap;
}
.rst-files span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  border-radius: 8px;
}
.rst-folder {
  width: 15px;
  height: 11px;
  border-radius: 2.5px;
  background: linear-gradient(180deg, #8fd0ff, #54b2f5);
  box-shadow: inset 0 1.5px 0 #b8e1ff;
}
.rst-doc {
  width: 11px;
  height: 14px;
  margin: 0 2px;
  border-radius: 2px;
  background: #fff;
  box-shadow: inset 0 0 0 0.75px #b9b9be;
}

/* Xcode: the macOS 26 inset sidebar (the lights sit in it), run button and scheme, the editor. */
.rst-xcode {
  display: flex;
}
.rst-side {
  flex: none;
  width: 128px;
  margin: 8px 0 0 8px;
  padding-top: 38px;
  border-radius: 16px;
  background: #f4f4f6;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.06);
}
.rst-nav {
  margin: 0;
  padding: 0 6px;
  list-style: none;
  font-size: 11px;
  line-height: 16px;
}
.rst-nav li {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 8px 0 20px;
  border-radius: 9px;
  white-space: nowrap;
  overflow: hidden;
}
.rst-nav .rst-proj {
  padding-left: 8px;
  font-weight: 600;
}
/* The open file, grey: Xcode isn't the key window (Finder is). */
.rst-nav .rst-sel {
  background: rgba(0, 0, 0, 0.08);
}
.rst-nav i {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.rst-ic-proj {
  background: linear-gradient(180deg, #5eaefc, #2f7fe6);
}
.rst-ic-swift {
  background: linear-gradient(180deg, #fa7343, #f05138);
}
.rst-ic-assets {
  background: linear-gradient(180deg, #b9c3d0, #96a3b4);
}
.rst-main {
  flex: 1;
  min-width: 0;
}
.rst-xtool {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 12px 0 14px;
}
.rst-play {
  flex: none;
  width: 12px;
  height: 12px;
  fill: #3a3a3c;
}
.rst-scheme {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 11px;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.05);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.rst-scheme svg {
  width: 8px;
  height: 8px;
  fill: none;
  stroke: var(--rst-grey);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Xcode's default light theme. */
.rst-code {
  padding-top: 4px;
  font:
    9.5px/15px ui-monospace,
    "SF Mono",
    Menlo,
    monospace;
  white-space: pre;
}
.rst-code > span {
  display: block;
  height: 15px;
}
.rst-code i {
  display: inline-block;
  width: 16px;
  margin-right: 10px;
  font-style: normal;
  text-align: right;
  color: #a1a1a6;
}
.rst-code .k {
  font-weight: 600;
  color: #9b2393;
}
.rst-code .d {
  color: #0b4f79;
}
.rst-code .t {
  color: #3900a0;
}
.rst-code .s {
  color: #c41a16;
}
.rst-code .a {
  color: #815f03;
}

/* Safari: a pale grey toolbar (lights, address field) over the page; one tab, so no tab bar. */
.rst-addr {
  flex: 1;
  min-width: 0;
  height: 26px;
  overflow: hidden;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.055);
  font-size: 11.5px;
  line-height: 26px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}
.rst-page {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 18px 0;
}
.rst-site {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
}
.rst-site b {
  font-weight: 650;
}
/* The sites' logos, black: a seed, and a crescent moon (tsuki). */
.rst-logo {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: radial-gradient(circle at 50% 58%, #fff 0 2.6px, #1d1d1f 3px);
}
.rst-logo.rst-moon {
  border-radius: 50%;
  background: radial-gradient(
    circle at 72% 30%,
    transparent 0 5.4px,
    #1d1d1f 5.9px
  );
}
.rst-page h4 {
  margin: 2px 0 0;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.rst-line {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: #e8e8ed;
}
.rst-line.rst-short {
  width: 62%;
  margin-top: -4px;
}
.rst-meta {
  margin-top: -6px;
  font-size: 12px;
  color: var(--rst-grey);
}
.rst-photo {
  display: block;
  flex: none;
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(160deg, #ececf0, #d6d6dc);
}
.rst-photo.rst-tall {
  height: 260px;
}
.rst-btn {
  display: block;
  height: 30px;
  border-radius: 10px;
  background: #1d1d1f;
  font-size: 12px;
  line-height: 30px;
  font-weight: 600;
  text-align: center;
  color: #fff;
}

/* Notes: the note on its own, a checklist. */
.rst-note {
  display: flex;
  flex-direction: column;
  padding: 2px 22px 0;
}
.rst-date {
  align-self: center;
  margin-bottom: 12px;
  font-size: 10.5px;
  color: var(--rst-grey);
}
.rst-note h4 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}
.rst-todo {
  position: relative;
  padding-left: 25px;
  font-size: 12.5px;
  line-height: 28px;
  white-space: nowrap;
}
.rst-todo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6.5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.2px #c7c7cc;
}

/* Numbers: the sheet's title and one table, header row filled, total bold. */
.rst-sheet {
  padding: 16px 16px 0;
}
.rst-sheet h4 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}
.rst-table {
  display: grid;
  grid-template-columns: 1fr auto;
  font-size: 11.5px;
  line-height: 26px;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 0.75px #d8d8dc;
}
.rst-table span {
  padding: 0 9px;
  box-shadow: inset 0 -0.75px 0 #e5e5ea;
}
.rst-table span:nth-child(even) {
  text-align: right;
}
.rst-table .rst-th {
  background: #f2f2f5;
  font-weight: 600;
}
.rst-table .rst-tt {
  font-weight: 700;
}

/* The timeline (8s; each project's windows and name run 0.2s behind the one before):
   0–12%   sorted, Sprout in front
   12–15%  restart: a quick dim to the tile's grey (one cover, so no windows fade through each other)
   15–21%  under it, every window jumps to the pile (the key window on top)
   21–24%  the cover lifts on the pile
   24–38%  held
   38–51%  the windows glide to their stacks
   47–53%  the names come back
   60–66%  Sprout comes forward (its badge's ring), the other two recede */
@keyframes rst-win {
  0%,
  15% {
    transform: scale(var(--ss));
    animation-timing-function: step-end;
  }
  15.5%,
  38% {
    transform: var(--pile);
    animation-timing-function: cubic-bezier(0.55, 0, 0.25, 1);
  }
  51%,
  100% {
    transform: scale(var(--ss));
  }
}
@keyframes rst-dim {
  0%,
  12% {
    opacity: 0;
    animation-timing-function: ease-in;
  }
  15%,
  21% {
    opacity: 1;
    animation-timing-function: ease-out;
  }
  24%,
  100% {
    opacity: 0;
  }
}
@keyframes rst-label {
  0%,
  12% {
    opacity: 1;
  }
  15%,
  47% {
    opacity: 0;
  }
  53%,
  100% {
    opacity: 1;
  }
}
/* The current-workspace ring: on Sprout's badge once Sprout is in front again. */
@keyframes rst-current {
  0%,
  12% {
    opacity: 1;
  }
  15%,
  60% {
    opacity: 0;
  }
  66%,
  100% {
    opacity: 1;
  }
}
@keyframes rst-veil {
  0%,
  12% {
    opacity: 0.55;
  }
  15%,
  60% {
    opacity: 0;
  }
  66%,
  100% {
    opacity: 0.55;
  }
}

/* Fit the ~594px layout to the tile's width: --z steps by the tile's width (a transform, not zoom:
   WebKit enlarged the tiny text under a small zoom and the code lines overlapped), the names
   larger as it shrinks so they stay readable. A wide tile (the 2-column grid) spreads the stacks. */
@container rst (max-width: 593px) {
  .rst {
    --z: 0.9;
  }
}
@container rst (max-width: 534px) {
  .rst {
    --z: 0.8;
    --rst-label: 15px;
  }
}
@container rst (max-width: 474px) {
  .rst {
    --z: 0.7;
    --rst-label: 17px;
  }
}
@container rst (max-width: 415px) {
  .rst {
    --z: 0.6;
    --rst-label: 18px;
  }
}
@container rst (max-width: 356px) {
  .rst {
    --z: 0.52;
    --rst-label: 19px;
    --gc: 470px;
  }
}
@container rst (max-width: 308px) {
  .rst {
    --z: 0.45;
    --rst-label: 21px;
    --gc: 470px;
  }
}
@container rst (min-width: 700px) {
  .rst {
    --z: 1.15;
  }
}
@container rst (min-width: 900px) {
  .rst {
    --z: 1.4;
    --gb: 330px;
    --gc: 560px;
    --pox: 56px;
  }
}

@media (max-width: 734px) {
  /* The tile grows with its content on phones: fix the visible height. */
  .fmark.rst-wrap {
    flex: none;
    height: 200px;
    margin: 24px -28px 0 0;
  }
}

/* Reduced motion: one still frame, the sorted end state: Sprout in front, the others receded. */
@media (prefers-reduced-motion: reduce) {
  .rst *,
  .rst *::after {
    animation: none !important;
  }
}

/* ---- Pies section: one 2×2 grid and the pie diagram (2026-11-05) ---- */
/* Pies section as one 2×2 grid: the two recordings on top (as on
   the live page), then two gray tiles in the .fgrid style (.ftile, .ftext): ⇧-click move with its
   recording running off the tile's bottom, and the pie diagram. The bottom tiles share their
   row's height: the diagram sets it, the recording fills what the move tile's words leave. */
.pie-pair .pie-tile {
  order: 0; /* .ftile.t-gray carries the feature grid's checkerboard order */
}
.pw-move .keys {
  margin: 0 0 20px;
}
.pw-move .keycap {
  min-width: 46px;
  height: 46px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 19px;
}
.pw-move .keycap.wide {
  font-size: 15px;
}
.pw-move .fshot {
  position: relative;
  flex: 1 1 0;
  min-height: 220px;
  --zoom: 1.3;
  --origin: 50% 45%;
}
.pw-move .fshot video {
  position: absolute;
  inset: 0;
}

/* The pie diagram: a flat line drawing, blueprint style (2026-11-05: a rendered white ring with a
   shadow, glow and gradient reach read as a fake pie). To scale (RingLayout: ring 62–144 pt,
   reach 250 pt past it, drawn 2:1 in a 600 × 600 viewBox that is the whole square tile, so the
   reach, 788 out, lies past every edge): faint grid, dashed axes and slice dividers, the ring in
   a thin gray line, hairline squircles turned like spokes, the hatched hole (selects nothing).
   Cropped like the feature tiles' drawings: the center sits low and left, so the pie runs off
   the left and bottom edges and the lit slice off the top and right. The one colour is the selected slice: flat pale blue out
   to the reach arc, the tile and squircle outlined in blue. No shadows, blurs or gradients.
   The still state below is the reduced-motion frame; `.pw-run` (set by the script while on
   screen) plays the 8 s loop. Callouts sit level with their leaders' ends: left 460/600, top
   per callout (--y). */
.pw {
  --pw-blue: #0071e3;
  --pw-line: rgba(134, 134, 139, 0.65);
  --pw-faint: #c7c7cc;
  position: relative;
  aspect-ratio: 1 / 1;
}
.pw .ftext {
  position: relative;
  z-index: 1;
}
.pw-stage {
  position: absolute;
  inset: 0;
}
.pw-svg {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: auto;
}
.pw-svg path,
.pw-svg circle,
.pw-svg use {
  vector-effect: non-scaling-stroke;
}
.pw-div path,
.pw-reach-edge {
  fill: none;
  stroke: var(--pw-faint);
  stroke-width: 1px;
  stroke-dasharray: 4 4;
}
.pw-ring-fill {
  fill: #fff;
  fill-opacity: 0.4;
}
.pw-ring {
  fill: none;
  stroke: var(--pw-line);
  stroke-width: 1px;
}
.pw-icons use {
  fill: #000;
  fill-opacity: 0.025;
  stroke: var(--pw-line);
  stroke-width: 1px;
}
.pw-slice {
  fill: var(--pw-blue);
  fill-opacity: 0.07;
}
.pw-tile {
  fill: #e3eefb;
  stroke: var(--pw-blue);
  stroke-width: 1px;
}
/* Outlined rather than solid blue: calmer in a line drawing (both tried, 2026-11-05). */
.pw-icon-hot {
  fill: #cfe2f8;
  stroke: var(--pw-blue);
  stroke-width: 1px;
  transform-origin: 0 0;
  transform: scale(2.7); /* the real pie's hovered icon: 1.35× the others (2) */
}
.pw-halo {
  fill: var(--pw-blue);
  opacity: 0.14;
}
.pw-dot {
  fill: var(--pw-blue);
  stroke: #fff;
  stroke-width: 2.5px;
}
.pw-leader path {
  fill: none;
  stroke: #86868b;
  stroke-width: 1px;
}
.pw-leader circle {
  fill: #1d1d1f;
}
.pw-svg .pw-orbit,
.pw-svg .pw-radial {
  transform-box: view-box;
  transform-origin: 100px 500px;
}
/* The still frame: the pointer out past the ring in the selected slice. */
.pw-orbit {
  transform: rotate(-48.57deg);
}
.pw-radial {
  transform: translateX(380px);
}

/* Callouts: a few words each, level with the end of each leader. */
.pw-calls {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.pw-calls li {
  position: absolute;
  top: var(--y);
  left: 76.67%;
  max-width: calc(23.33% - 10px);
  translate: 0 -9px; /* the first line's middle on the leader */
  padding: 0 6px;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.pw-calls b {
  font-weight: 600;
}
.pw-calls span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--text-secondary);
}

@media (prefers-reduced-motion: no-preference) {
  .pw-run .pw-orbit {
    animation: pw-orbit 8s infinite;
  }
  .pw-run .pw-radial {
    animation: pw-radial 8s infinite;
  }
  .pw-run .pw-pointer-fade {
    animation: pw-pointer 8s infinite;
  }
  .pw-run .pw-sel-fade,
  .pw-run .pw-slice {
    animation: pw-sel 8s infinite;
  }
  .pw-run .pw-icon-hot {
    animation: pw-grow 8s infinite;
  }
}
/* Beats (8 s): 0.5–0.8 s the pointer appears in the center; 0.8–2.6 s it heads out along the
   upper-right slice, past the ring and well into the reach (380 out; the ring ends at 288): the
   slice and the tile light as it crosses the ring's inner edge (1.23 s); 2.9–5 s it drifts either
   side within the slice and the selection holds; 5–6.4 s back to the center: everything turns
   off at the inner edge (5.69 s); then it fades. Crossing times are computed for the curves used. */
@keyframes pw-orbit {
  0%,
  36% {
    transform: rotate(-48.57deg);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  46% {
    transform: rotate(-40deg);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  56% {
    transform: rotate(-57deg);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  62.5%,
  100% {
    transform: rotate(-48.57deg);
  }
}
@keyframes pw-radial {
  0%,
  10% {
    transform: translateX(0);
    animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1);
  }
  32.5%,
  62.5% {
    transform: translateX(380px);
    animation-timing-function: cubic-bezier(0.45, 0, 0.3, 1);
  }
  80%,
  100% {
    transform: translateX(0);
  }
}
@keyframes pw-pointer {
  0%,
  6% {
    opacity: 0;
  }
  10%,
  85% {
    opacity: 1;
  }
  92%,
  100% {
    opacity: 0;
  }
}
@keyframes pw-sel {
  0%,
  14.9% {
    opacity: 0;
  }
  15.9%,
  70.5% {
    opacity: 1;
  }
  71.5%,
  100% {
    opacity: 0;
  }
}
/* The hovered icon grows 1.35× as the tile comes on and shrinks back to the others' size as it
   goes, a plain ease-out both ways (the real pie's hover doesn't bounce); it fades only once
   it's back to size, over the gray icon under it. */
@keyframes pw-grow {
  0%,
  14.9% {
    transform: scale(2);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.2, 0, 0.2, 1);
  }
  15.4% {
    opacity: 1;
  }
  16.9%,
  70.5% {
    transform: scale(2.7);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.2, 0, 0.2, 1);
  }
  72.5% {
    transform: scale(2);
    opacity: 1;
  }
  73.5%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@media (max-width: 1068px) {
  .pw-calls li {
    font-size: 13px;
    line-height: 17px;
  }
  .pw-calls span {
    font-size: 12px;
  }
  /* The column is narrow here: the overshoot line would run into "Tap or hold." */
  .pw-calls .pw-over span {
    display: none;
  }
}
@media (max-width: 734px) {
  /* One column (site.css), in page order: the two recordings, move, the diagram. The move
     recording takes the feature tiles' phone shape. The diagram tile is no longer square: the
     callouts become a tiny list under the words (no leaders), then the drawing's lower part,
     still running off the tile's left and bottom edges. */
  .pw-move .fshot {
    flex: none;
    min-height: 0;
  }
  .pw {
    aspect-ratio: auto;
  }
  .pw-stage {
    position: relative;
    order: 2;
    aspect-ratio: 600 / 500;
    margin: 8px -28px 0;
    overflow: hidden;
  }
  .pw-leaders {
    display: none;
  }
  .pw-calls {
    position: static;
    order: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-top: 14px;
  }
  .pw-calls li {
    position: static;
    max-width: none;
    translate: none;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0;
  }
  .pw-calls span {
    display: none;
  }
  .pw-calls li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #86868b;
  }
}

/* "New" tag after the one new key's row (Caps Lock); follows the row's opacity. */
.new-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.1);
  color: #0071e3;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0.01em;
  vertical-align: 1px;
  white-space: nowrap;
}
