/* sodiumos.com
   The site wears the OS's own design: Graphite Glass in the dark, Daylight dunes in
   the light. Colours, radii, type and springs come from tokens/tokens.json; sodium
   amber is the brand colour (the mark and the main button), periwinkle the accent. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ tokens */

:root {
  color-scheme: dark;
  --ground: #0e1020;
  --ground-2: #121428;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --solid: #161821;
  --glass: rgba(18, 20, 34, 0.62);
  --bar: rgba(14, 15, 26, 0.6);
  --text: #f2f3f6;
  --text-2: #b8bdc9;
  --text-3: #9ea4b2;
  --muted: #6f7584;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --accent: #9aa8ff;
  --link: #c9d2ff;
  --accent-soft: rgba(154, 168, 255, 0.16);
  --win-border: rgba(154, 168, 255, 0.5);
  --amber: #ffb84d;
  --amber-hi: #ffce7a;
  --amber-lo: #f5a12e;
  --amber-ink: #ffb84d;
  --dune: #151229;
  --ok: #8ee0b6;
  --ok-soft: rgba(142, 224, 182, 0.14);
  --warn: #ffc79e;
  --warn-soft: rgba(255, 199, 158, 0.14);
  --shadow-win: 0 30px 80px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.3);
  --glow-a: rgba(154, 168, 255, 0.16);
  --glow-b: rgba(255, 184, 77, 0.1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", "Noto Sans", "Noto Sans CJK SC", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-control: 10px;
  --r-card: 18px;
  --r-panel: 22px;
  --r-shot: 20px;
  --r-dock: 26px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 128px);
  /* the OS's springs, as close as a bezier gets */
  --spring-snappy: cubic-bezier(0.3, 1.35, 0.5, 1);
  --spring-bouncy: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --ground: #eef0f5;
    --ground-2: #e6e9f1;
    --surface: rgba(255, 255, 255, 0.66);
    --surface-2: rgba(255, 255, 255, 0.9);
    --solid: #fafbfd;
    --glass: rgba(250, 251, 254, 0.74);
    --bar: rgba(250, 251, 254, 0.72);
    --text: #1a1d27;
    --text-2: #3d4251;
    --text-3: #575d6c;
    --muted: #8a90a0;
    --line: rgba(26, 29, 39, 0.09);
    --line-2: rgba(26, 29, 39, 0.16);
    --accent: #344bdb;
    --link: #344bdb;
    --accent-soft: rgba(154, 168, 255, 0.24);
    --win-border: rgba(26, 29, 39, 0.14);
    --amber-ink: #7e5516;
    --ok: #1e6d45;
    --ok-soft: rgba(30, 109, 69, 0.1);
    --warn: #8f5124;
    --warn-soft: rgba(143, 81, 36, 0.1);
    --shadow-win: 0 30px 80px rgba(40, 46, 80, 0.26);
    --shadow-card: 0 12px 32px rgba(40, 46, 80, 0.1);
    --glow-a: rgba(133, 170, 235, 0.3);
    --glow-b: rgba(255, 206, 122, 0.26);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --ground: #eef0f5;
  --ground-2: #e6e9f1;
  --surface: rgba(255, 255, 255, 0.66);
  --surface-2: rgba(255, 255, 255, 0.9);
  --solid: #fafbfd;
  --glass: rgba(250, 251, 254, 0.74);
  --bar: rgba(250, 251, 254, 0.72);
  --text: #1a1d27;
  --text-2: #3d4251;
  --text-3: #575d6c;
  --muted: #8a90a0;
  --line: rgba(26, 29, 39, 0.09);
  --line-2: rgba(26, 29, 39, 0.16);
  --accent: #344bdb;
  --link: #344bdb;
  --accent-soft: rgba(154, 168, 255, 0.24);
  --win-border: rgba(26, 29, 39, 0.14);
  --amber-ink: #7e5516;
  --ok: #1e6d45;
  --ok-soft: rgba(30, 109, 69, 0.1);
  --warn: #8f5124;
  --warn-soft: rgba(143, 81, 36, 0.1);
  --shadow-win: 0 30px 80px rgba(40, 46, 80, 0.26);
  --shadow-card: 0 12px 32px rgba(40, 46, 80, 0.1);
  --glow-a: rgba(133, 170, 235, 0.3);
  --glow-b: rgba(255, 206, 122, 0.26);
}

/* -------------------------------------------------------------------- base */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* the dusk (or daylight) the page sits under */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1100px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 46% at 22% 0%, var(--glow-a), transparent 70%),
    radial-gradient(46% 40% at 82% 34%, var(--glow-b), transparent 72%);
}
img,
svg,
picture {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
/* an app tile with its light-theme twin: the <picture> is only a switch, the <img> is the box */
picture.ic {
  display: contents;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--accent-soft);
}
code,
kbd,
pre {
  font-family: var(--mono);
}
code {
  font-size: 0.86em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}
kbd.super {
  gap: 0.35em;
}
.super-sign {
  width: 0.95em;
  height: 0.95em;
  flex: none;
  opacity: 0.85;
}
kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75em;
  height: 1.75em;
  padding: 0 0.45em;
  font-size: 0.74em;
  font-weight: 500;
  line-height: 1;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  white-space: nowrap;
  vertical-align: 0.08em;
}
.keys {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.keys .plus {
  color: var(--muted);
  font-size: 0.8em;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--r-control);
  background: var(--solid);
  color: var(--text);
  border: 1px solid var(--line-2);
}
.skip:focus {
  top: 12px;
}

/* -------------------------------------------------------------------- type */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-ink);
}
h1,
.h1 {
  font-size: clamp(2.5rem, 1.1rem + 5.4vw, 5.1rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h2,
.h2 {
  font-size: clamp(1.8rem, 1.15rem + 2.5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.lede {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 62ch;
  text-wrap: pretty;
}
.muted {
  color: var(--text-3);
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.25s var(--spring-snappy), background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  color: var(--dune);
  background: linear-gradient(160deg, var(--amber-hi), var(--amber-lo));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 24px rgba(245, 161, 46, 0.24);
}
.btn-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 30px rgba(245, 161, 46, 0.38);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line-2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.btn-ghost:hover {
  background: var(--surface-2);
}
.btn-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.9rem;
  border-radius: 10px;
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}
.arrow-link::after {
  content: "→";
  transition: transform 0.25s var(--spring-snappy);
}
.arrow-link:hover::after {
  transform: translateX(4px);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bar);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--text);
  text-decoration: none;
  font-size: 1.14rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand b {
  font-weight: 600;
}
.mark {
  width: 28px;
  height: 28px;
  flex: none;
  filter: drop-shadow(0 4px 10px rgba(245, 161, 46, 0.28));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  color: var(--text-2);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--surface-2);
}
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-2);
}
.nav-links a.gh-link {
  justify-content: center;
  width: 36px;
  padding: 0;
  margin-left: 2px;
}
.gh-link svg {
  width: 18px;
  height: 18px;
}
.nav-sheet a.gh-sheet {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gh-sheet span {
  white-space: nowrap;
}
.gh-sheet svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  color: var(--text-2);
  background: none;
  cursor: pointer;
}
.icon-btn:hover {
  color: var(--text);
  background: var(--surface-2);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}
.theme-toggle .sun {
  display: none;
}
:root[data-theme="light"] .theme-toggle .sun {
  display: block;
}
:root[data-theme="light"] .theme-toggle .moon {
  display: none;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .sun {
    display: block;
  }
  :root:not([data-theme="dark"]) .theme-toggle .moon {
    display: none;
  }
}
/* the language switch, beside the theme switch: the globe and the language's short name */
.lang-menu {
  position: relative;
}
.lang-menu summary {
  list-style: none;
}
.lang-menu summary::-webkit-details-marker {
  display: none;
}
.icon-btn.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  padding: 0 9px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lang-btn svg {
  flex: none;
}
.lang-menu[open] .lang-btn {
  color: var(--text);
  background: var(--surface-2);
}
.lang-list {
  position: absolute;
  right: 0;
  top: 46px;
  z-index: 60;
  min-width: 200px;
  padding: 6px;
  border-radius: 14px;
  background: var(--solid);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-card);
}
.lang-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  white-space: nowrap;
}
.lang-list a:hover,
.lang-list a:focus-visible {
  background: var(--surface-2);
}
.lang-list a[aria-current]::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-2px);
}
@media (max-width: 420px) {
  .lang-btn span {
    display: none;
  }
}

.nav-menu {
  display: none;
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-menu {
    display: block;
    position: relative;
  }
  .nav-menu summary {
    list-style: none;
  }
  .nav-menu summary::-webkit-details-marker {
    display: none;
  }
  .nav-sheet {
    position: absolute;
    right: 0;
    top: 46px;
    min-width: 220px;
    padding: 6px;
    border-radius: 14px;
    background: var(--solid);
    border: 1px solid var(--line-2);
    box-shadow: var(--shadow-card);
  }
  .nav-sheet a {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
  }
  .nav-sheet a:hover {
    background: var(--surface-2);
  }
  .nav .btn-primary {
    display: none;
  }
}

/* -------------------------------------------------------------------- hero */

.hero {
  padding: clamp(48px, 7vw, 96px) 0 0;
  text-align: center;
}
.hero .eyebrow {
  margin-bottom: 20px;
}
.hero .lede {
  margin: 24px auto 0;
}
.hero .btn-row {
  justify-content: center;
  margin-top: 32px;
}
.hero-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-3);
}

.stage {
  position: relative;
  container-type: inline-size;
  margin-top: clamp(40px, 6vw, 72px);
  aspect-ratio: 16 / 9.6;
  border-radius: clamp(16px, 2.4vw, 28px);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.2);
  background: var(--ground-2);
  isolation: isolate;
}
.stage-bg,
.stage-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage-win {
  position: absolute;
  border-radius: 1.25cqw;
  overflow: hidden;
  box-shadow: 0 2.4cqw 6.4cqw rgba(0, 0, 0, 0.5);
  outline: 1px solid var(--win-border);
  outline-offset: 0;
  animation: win-open 0.7s var(--spring-bouncy) both;
}
.stage-win img {
  width: 100%;
}
.stage-win-a {
  left: 5%;
  top: 7%;
  width: 60%;
  animation-delay: 0.15s;
}
.stage-win-b {
  right: 4.5%;
  top: 19%;
  width: 52%;
  animation-delay: 0.32s;
}
@keyframes win-open {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
}

.dock {
  position: absolute;
  left: 50%;
  bottom: 2.2cqw;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 11px 12px;
  height: 74px;
  border-radius: var(--r-dock);
  background: var(--glass);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(36px) saturate(1.7);
  backdrop-filter: blur(36px) saturate(1.7);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: dock-in 0.7s var(--spring-bouncy) 0.5s both;
}
@keyframes dock-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(24px);
  }
}
.dock-tile {
  --size: 52px;
  position: relative;
  flex: none;
  width: var(--size);
  height: var(--size);
  transition: width 0.28s var(--spring-snappy), height 0.28s var(--spring-snappy);
}
.dock-tile img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.32));
}
.dock-tile:hover,
.dock-tile:focus-visible {
  --size: 68px;
}
.dock-tile:has(+ .dock-tile:hover),
.dock-tile:hover + .dock-tile,
.dock-tile:has(+ .dock-tile:focus-visible),
.dock-tile:focus-visible + .dock-tile {
  --size: 60px;
}
.dock-tile::after {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translate(-50%, 4px);
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--solid);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.2s var(--spring-snappy);
}
.dock-tile:hover::after,
.dock-tile:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.dock-sep {
  width: 1px;
  height: 46px;
  margin: 0 2px 3px;
  background: var(--line-2);
  flex: none;
}
@media (max-width: 900px) {
  .dock {
    gap: 7px;
    padding: 8px 9px;
    height: 56px;
    border-radius: 20px;
  }
  .dock-tile {
    --size: 40px;
  }
  .dock-tile:hover,
  .dock-tile:focus-visible {
    --size: 48px;
  }
  .dock-tile:has(+ .dock-tile:hover),
  .dock-tile:hover + .dock-tile {
    --size: 44px;
  }
  .dock-sep {
    height: 34px;
  }
}
@media (max-width: 640px) {
  .stage {
    aspect-ratio: 4 / 3.7;
  }
  .stage-win-a {
    left: 5%;
    top: 6%;
    width: 128%;
  }
  .stage-win-b {
    display: none;
  }
  .dock-tile:nth-child(n + 6):not(.dock-all) {
    display: none;
  }
  .dock-tile::after {
    display: none;
  }
}

/* -------------------------------------------------------------- page heads */

.page-hero {
  padding: clamp(48px, 7vw, 96px) 0 0;
}
.page-hero .eyebrow {
  margin-bottom: 18px;
}
.page-hero .hero-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 26px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.34));
}
.page-hero .lede {
  margin-top: 22px;
}
.page-hero .btn-row {
  margin-top: 30px;
}
.page-hero h1 {
  max-width: 18ch;
}
.page-hero.center {
  text-align: center;
}
.page-hero.center h1,
.page-hero.center .lede {
  margin-inline: auto;
}
.page-hero.center .btn-row,
.page-hero.center .chips {
  justify-content: center;
}
.page-hero .shot {
  margin-top: clamp(40px, 6vw, 72px);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.86rem;
  color: var(--text-3);
}
.crumbs a {
  color: var(--text-3);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--text);
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--line-2);
  white-space: nowrap;
}
.chip-ok {
  color: var(--ok);
  background: var(--ok-soft);
  border-color: transparent;
}
.chip-wip {
  color: var(--warn);
  background: var(--warn-soft);
  border-color: transparent;
}
.chip-plan {
  color: var(--text-3);
}
.chip-ok::before,
.chip-wip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------------------------------------------------------------- sections */

.section {
  padding: var(--section) 0 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head .eyebrow {
  margin-bottom: 14px;
}
.section-head p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 1.08rem;
  max-width: 62ch;
  text-wrap: pretty;
}
.section-foot {
  margin-top: 28px;
}
.note {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--text-3);
  max-width: 70ch;
}

/* feature rows */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.feature.flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.feature.flip .feature-text {
  order: 2;
}
.feature.solo {
  grid-template-columns: minmax(0, 760px);
}
.feature-text .eyebrow {
  margin-bottom: 14px;
}
.feature-text > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--text-2);
  text-wrap: pretty;
}
.ticks {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--text-2);
  font-size: 0.99rem;
  line-height: 1.5;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-2px);
  border-radius: 1px;
}
.ticks strong {
  color: var(--text);
  font-weight: 600;
}
.feature-text .arrow-link {
  margin-top: 26px;
}
@media (max-width: 860px) {
  .feature,
  .feature.flip {
    grid-template-columns: 1fr;
  }
  .feature.flip .feature-text {
    order: 0;
  }
}

/* screenshots */
.shot {
  position: relative;
  border-radius: var(--r-shot);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-win);
  background: var(--ground-2);
}
.shot img {
  width: 100%;
}
.shot figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #f2f3f6;
  background: rgba(14, 15, 26, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
/* a screenshot that does not exist yet: the wallpaper and the app's tile */
.poster {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
}
.poster .stage-bg {
  z-index: 0;
}
.shot .poster-tile {
  position: relative;
  z-index: 1;
  width: clamp(72px, 14%, 128px);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.4));
}

/* the live dock in place of a screenshot (desktop tour): sized by the frame, so it always fits */
.dock-demo {
  aspect-ratio: 16 / 10;
  container-type: inline-size;
  isolation: isolate;
}
.dock-demo .stage-bg {
  z-index: -1;
}
.dock-demo .dock {
  bottom: 9cqw;
  gap: 1.2cqw;
  padding: 1.4cqw 1.5cqw;
  height: 9.6cqw;
  border-radius: 3.4cqw;
  animation: none;
}
.dock-demo .dock-tile {
  --size: 6.8cqw;
}
.dock-demo .dock-tile:nth-child(n + 9):not(.dock-all) {
  display: none;
}
.dock-demo .dock-tile:hover,
.dock-demo .dock-tile:focus-visible {
  --size: 9cqw;
}
.dock-demo .dock-tile:has(+ .dock-tile:hover),
.dock-demo .dock-tile:hover + .dock-tile,
.dock-demo .dock-tile:has(+ .dock-tile:focus-visible),
.dock-demo .dock-tile:focus-visible + .dock-tile {
  --size: 7.8cqw;
}
.dock-demo .dock-sep {
  height: 5.8cqw;
  margin: 0 0.2cqw 0.4cqw;
}
.dock-demo figcaption {
  top: 12px;
  bottom: auto;
}
@media (max-width: 640px) {
  .dock-demo .dock {
    gap: 1.8cqw;
    padding: 2cqw 2.2cqw;
    height: 14.5cqw;
    border-radius: 5cqw;
  }
  .dock-demo .dock-tile {
    --size: 10.5cqw;
  }
  .dock-demo .dock-tile:hover,
  .dock-demo .dock-tile:focus-visible {
    --size: 12.5cqw;
  }
  .dock-demo .dock-tile:has(+ .dock-tile:hover),
  .dock-demo .dock-tile:hover + .dock-tile {
    --size: 11.5cqw;
  }
  .dock-demo .dock-sep {
    height: 9cqw;
  }
}

/* cards */
.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}
/* `fill`: on wide screens a short last row of a three-column grid shares the full width */
@media (min-width: 981px) {
  .cards-fill[style*="--cols:3"] {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .cards-fill[style*="--cols:3"] > * {
    grid-column: span 2;
  }
  .cards-fill[style*="--cols:3"] > :nth-child(3n + 1):nth-last-child(2),
  .cards-fill[style*="--cols:3"] > :nth-child(3n + 2):last-child {
    grid-column: span 3;
  }
}
/* `inset`: a deeper view laid over the screenshot's corner (the control center's volume mixer) */
.shot-stack {
  position: relative;
  padding: 0 0 8% 6%;
}
.shot-stack > .shot-inset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30%;
  box-shadow: var(--shadow-win), 0 24px 60px rgba(0, 0, 0, 0.35);
}
.card {
  position: relative;
  display: block;
  padding: 24px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s var(--spring-snappy), background-color 0.2s, border-color 0.2s;
}
.card p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 0.97rem;
  line-height: 1.55;
}
a.card:hover {
  background: var(--surface-2);
  border-color: var(--line-2);
  transform: translateY(-3px);
}
a.card h3::after {
  content: " →";
  color: var(--muted);
  transition: color 0.2s;
}
a.card:hover h3::after {
  color: var(--accent);
}
.card .chip {
  margin-bottom: 14px;
}
@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 28px 24px 28px 0;
}
.stat + .stat {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.stat-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--amber-ink);
}
.stat-label {
  margin-top: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-3);
  max-width: 28ch;
}
.feature .stats {
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--surface);
  padding: 4px 28px;
}
.feature .stat {
  padding: 24px 0;
}
.feature .stat + .stat {
  padding-left: 0;
  border-left: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 600px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    padding: 22px 12px 22px 0;
  }
  .stat + .stat {
    padding-left: 16px;
  }
  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/* tables */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}
th,
td {
  padding: 13px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
tr:last-child td {
  border-bottom: 0;
}
thead th {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
tbody th {
  font-weight: 600;
  white-space: nowrap;
}
td {
  color: var(--text-2);
}
/* on a phone two shortcuts in one cell ("Super/Win + ←  Super/Win + →") go onto two lines */
@media (max-width: 600px) {
  th,
  td {
    padding: 12px 14px;
  }
  tbody th {
    white-space: normal;
  }
  tbody th .keys {
    margin-block: 2px;
  }
}

/* steps */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px 20px;
  padding: 24px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--amber-ink);
  padding-top: 2px;
}
.step > div {
  min-width: 0;
}
.step p {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 0.99rem;
}
.code {
  position: relative;
  margin-top: 14px;
  border-radius: 12px;
  background: #0b0c16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.code pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 0.84rem;
  line-height: 1.7;
  color: #e4e7ee;
  tab-size: 2;
}
.code .prompt {
  color: #9aa8ff;
  user-select: none;
}
.copy {
  position: absolute;
  right: 8px;
  top: 8px;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: #b8bdc9;
  font: 500 0.74rem var(--mono);
  cursor: pointer;
}
.copy:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
@media (max-width: 600px) {
  .step {
    grid-template-columns: 1fr;
  }
}

/* faq */
.faq {
  border-top: 1px solid var(--line);
  max-width: 860px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s var(--spring-snappy);
}
.faq details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}
.faq details p {
  padding: 0 0 22px;
  color: var(--text-2);
  max-width: 70ch;
}

/* call to action */
.cta {
  position: relative;
  padding: clamp(36px, 6vw, 72px);
  border-radius: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(70% 120% at 85% 110%, var(--glow-b), transparent 70%),
    radial-gradient(60% 100% at 10% -10%, var(--glow-a), transparent 70%),
    var(--surface);
  overflow: hidden;
}
.cta .eyebrow {
  margin-bottom: 14px;
}
.cta p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--text-2);
  max-width: 56ch;
  font-size: 1.08rem;
}
.cta .btn-row {
  margin-top: 28px;
}
.cta.quiet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
}
.cta.quiet .h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
}
.cta.quiet .btn-row {
  margin-top: 0;
}
@media (max-width: 760px) {
  .cta.quiet {
    grid-template-columns: 1fr;
  }
}

/* prose block */
.prose {
  max-width: 760px;
}
.prose > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 1.08rem;
}
.prose .btn-row {
  margin-top: 24px;
}

/* -------------------------------------------------------------------- apps */

.appgrid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.apptile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.3s var(--spring-snappy);
}
.apptile:hover {
  background: var(--surface);
  border-color: var(--line);
}
.apptile img {
  width: 52px;
  height: 52px;
  flex: none;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.26));
  transition: transform 0.3s var(--spring-snappy);
}
.apptile:hover img {
  transform: scale(1.1);
}
.apptile b {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}
.apptile span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--text-3);
}
@media (max-width: 600px) {
  .appgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .apptile {
    gap: 10px;
    padding: 10px 6px;
  }
  .apptile img {
    width: 40px;
    height: 40px;
  }
  .apptile b {
    font-size: 0.94rem;
  }
  .apptile span span {
    font-size: 0.78rem;
  }
}
.appgroup {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.appgroup:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.appgroup-head p {
  margin-top: 8px;
  color: var(--text-3);
  font-size: 0.97rem;
  max-width: 28ch;
}
.appgroup-head h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
@media (max-width: 860px) {
  .appgroup {
    grid-template-columns: 1fr;
  }
}

.app-hero {
  padding: clamp(36px, 5vw, 64px) 0 0;
}
.app-id {
  display: flex;
  align-items: center;
  gap: 22px;
}
.app-id img {
  width: clamp(72px, 9vw, 104px);
  height: auto;
  flex: none;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.34));
}
.app-id h1 {
  font-size: clamp(2.4rem, 1.4rem + 4vw, 4.2rem);
}
.app-id .kind {
  display: block;
  margin-top: 10px;
  font-weight: 500;
  line-height: 1.3;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-ink);
}
.app-tagline {
  margin-top: 30px;
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.3rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 24ch;
  text-wrap: balance;
}
.app-hero .lede {
  margin-top: 18px;
}
.app-hero .shot {
  margin-top: clamp(32px, 5vw, 56px);
}
.detail-cols {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 5vw, 72px);
}
.detail-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.detail-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
}
.detail-list strong {
  color: var(--text);
  font-weight: 600;
}
.formats {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.97rem;
}
.formats b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
@media (max-width: 860px) {
  .detail-cols {
    grid-template-columns: 1fr;
  }
}
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pager a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.3s var(--spring-snappy);
}
.pager a:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
}
.pager img {
  width: 44px;
  height: 44px;
  flex: none;
}
.pager small {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.pager b {
  font-weight: 600;
}
.pager .next {
  justify-content: flex-end;
  text-align: right;
}
@media (max-width: 560px) {
  .pager {
    grid-template-columns: 1fr;
  }
  .pager .next {
    justify-content: flex-start;
    text-align: left;
    flex-direction: row-reverse;
  }
}

/* --------------------------------------------------------------- languages */

.langs {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.lang {
  padding: 22px 18px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.lang b {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.lang span {
  display: block;
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--text-3);
}
.lang code {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--text-3);
}
@media (max-width: 980px) {
  .langs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .langs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------------- facts */

.facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-panel);
  background: var(--surface);
  border: 1px solid var(--line);
}
.element {
  position: relative;
  width: clamp(120px, 16vw, 176px);
  aspect-ratio: 1;
  border-radius: 28.8%;
  background: linear-gradient(160deg, var(--amber-hi), var(--amber-lo));
  color: var(--dune);
  box-shadow: 0 20px 50px rgba(245, 161, 46, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.element .num {
  position: absolute;
  left: 13.5%;
  top: 11.5%;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1;
  opacity: 0.82;
  font-variant-numeric: tabular-nums;
}
.element svg {
  position: absolute;
  left: 18%;
  top: 22%;
  width: 64%;
  height: 64%;
}
.facts dl {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr);
}
.facts dt,
.facts dd {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: 15px;
  padding-right: 16px;
}
.facts dd {
  color: var(--text);
  font-size: 0.99rem;
}
.facts dt:last-of-type,
.facts dd:last-of-type {
  border-bottom: 0;
}
@media (max-width: 760px) {
  .facts {
    grid-template-columns: 1fr;
  }
  .facts dl {
    grid-template-columns: 1fr;
  }
  .facts dt {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .facts dd {
    padding-top: 4px;
  }
}

/* -------------------------------------------------------------- SmartRoute */

/* Remote page: the map of relay locations, its legend and card (site.js), the plans, the add-on and beta cards.
   Without JavaScript the map shows its five names and .rt-list says what each one is. */
.route {
  --rt-std: var(--accent);
  --rt-cn: var(--ok);
  --rt-pre: var(--amber);
  --rt-dots: color-mix(in srgb, var(--text-2) 42%, transparent);
  --rt-bg: color-mix(in srgb, var(--ground) 45%, transparent);
  --rt-lab: color-mix(in srgb, var(--ground) 80%, transparent);
  --rt-tint: 15%;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .route {
    --rt-pre: #a8650f;
    --rt-dots: color-mix(in srgb, var(--text) 20%, transparent);
    --rt-bg: rgba(255, 255, 255, 0.4);
    --rt-lab: rgba(250, 251, 254, 0.85);
    --rt-tint: 11%;
  }
}
:root[data-theme="light"] .route {
  --rt-pre: #a8650f;
  --rt-dots: color-mix(in srgb, var(--text) 20%, transparent);
  --rt-bg: rgba(255, 255, 255, 0.4);
  --rt-lab: rgba(250, 251, 254, 0.85);
  --rt-tint: 11%;
}
.route .is-std {
  color: var(--rt-std);
}
.route .is-cn {
  color: var(--rt-cn);
}
.route .is-pre {
  color: var(--rt-pre);
}
.route .chip.is-std {
  color: var(--link);
  background: color-mix(in srgb, var(--rt-std) var(--rt-tint), transparent);
}
.route .chip.is-cn {
  color: var(--ok);
  background: color-mix(in srgb, var(--rt-cn) var(--rt-tint), transparent);
}
.route .chip.is-pre {
  color: var(--amber-ink);
  background: color-mix(in srgb, var(--amber-ink) var(--rt-tint), transparent);
}
.route .chip {
  border-color: transparent;
}
.route .chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.rt {
  border-radius: var(--r-panel);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.rt-body {
  position: relative;
}
.rt-map {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2040 / 730;
  background: var(--rt-bg);
  color: var(--rt-dots);
}
.rt-stage {
  position: absolute;
  inset: 0;
}
.rt-stage > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.leg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 6 6;
}
.legp {
  stroke-width: 2.4px;
  stroke-dasharray: none;
}
.ep {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 3px;
  border: 2px solid currentColor;
  box-sizing: border-box;
  background: var(--ground);
  pointer-events: none;
}
/* what a selected location draws: the legs and the two computers */
.route [data-for]:not(.on) {
  display: none;
}
.mk {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  font: inherit;
  cursor: pointer;
}
span.mk {
  cursor: default;
}
.dot,
.pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
}
.dot {
  background: currentColor;
  transition: box-shadow 0.25s;
}
.on > .dot {
  box-shadow: 0 0 0 3px var(--ground), 0 0 0 5px currentColor;
}
.pulse {
  border: 1.5px solid currentColor;
  box-sizing: border-box;
  opacity: 0;
}
.lab {
  position: absolute;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  text-align: left;
  background: var(--rt-lab);
  border: 1px solid var(--line);
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s;
}
.on > .lab,
button.mk:hover > .lab {
  color: var(--text);
}
.on > .lab {
  border-color: currentColor;
}
/* where a name sits: right of its dot, or above it to the left or the right, or below it */
.lab[data-w="r"] {
  top: 50%;
  left: calc(50% + 14px);
  transform: translateY(-50%);
}
.lab[data-w="ul"] {
  bottom: calc(50% + 12px);
  right: calc(50% + 6px);
}
.lab[data-w="ut"] {
  bottom: calc(50% + 9px);
  right: calc(50% + 7px);
}
.lab[data-w="ur"] {
  bottom: calc(50% + 10px);
  left: calc(50% + 6px);
}
.leg.ln {
  display: none;
}
.mcard {
  color: var(--text);
  padding: 16px 18px;
  border-radius: var(--r-card);
  background: var(--solid);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-card);
}
.mcard.rt-card {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: min(360px, calc(100% - 40px));
}
.rt-h {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 6px;
}
.mcard p {
  color: var(--text-2);
  font-size: 0.97rem;
  line-height: 1.55;
}
.rt-list {
  margin-top: 16px;
}
html:not(.no-js) .rt-list {
  display: none;
}
.rt-list .card {
  display: block;
}
.rt-h .chip {
  margin: 0;
}
.rt-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 56px;
  padding: 24px 28px 28px;
  border-top: 1px solid var(--line);
}
.rt-grp {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rt-grp-t {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.rt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rt-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-control);
  font: inherit;
  font-size: 0.97rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--text);
  text-align: left;
}
.rt-btn:hover {
  background: var(--surface-2);
}
.rt-btn i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.rt-btn span {
  color: var(--text);
}
.rt-btn.on {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.sub {
  margin: 64px 0 16px;
}
.route-table tr:last-child th {
  border-bottom: 0;
}
.note + .note {
  margin-top: 8px;
}
.route-cards {
  margin-top: 28px;
}

/* the phone's view: zoomed on the relays, the card under the map, Los Angeles held at the edge */
@media (max-width: 900px) {
  .rt-map {
    aspect-ratio: 560 / 570;
  }
  .rt-stage {
    inset: auto;
    left: -58.9286%;
    top: -15.7895%;
    width: 364.2857%;
    height: 128.0702%;
  }
  :root:not([data-theme="light"]) .rt-map {
    filter: brightness(1.25);
  }
  .mk {
    left: var(--xn);
    top: var(--yn);
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    pointer-events: none;
  }
  .dot,
  .pulse {
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
  }
  .lab[data-n="r"] {
    top: 50%;
    bottom: auto;
    right: auto;
    left: calc(50% + 14px);
    transform: translateY(-50%);
  }
  .lab[data-n="ut"] {
    top: auto;
    left: auto;
    transform: none;
    bottom: calc(50% + 9px);
    right: calc(50% + 7px);
  }
  .lab[data-n="ur"] {
    top: auto;
    right: auto;
    transform: none;
    bottom: calc(50% + 10px);
    left: calc(50% + 6px);
  }
  .lab[data-n="b"] {
    top: calc(100% + 4px);
    left: auto;
    bottom: auto;
    right: 8px;
    transform: none;
  }
  .mk.pin > .lab::after {
    content: " →";
  }
  .leg.lw {
    display: none;
  }
  .leg.ln {
    display: inline;
  }
  .mcard.rt-card {
    position: static;
    width: auto;
    min-height: 136px;
    margin: 16px 16px 0;
  }
  .rt-legend {
    gap: 24px;
    padding: 20px 16px 24px;
  }
  .rt-grp {
    width: 100%;
  }
  .rt-row {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .rt-btn {
    width: 100%;
    min-height: 48px;
  }
  .sub {
    margin-top: 44px;
  }
}
:root:lang(de) :is(.mcard, .rt-btn, .route .chip) {
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}
:root:is(:lang(zh), :lang(ja), :lang(ko)) .rt-grp-t {
  letter-spacing: 0;
  text-transform: none;
}

/* ------------------------------------------------------------------ footer */

.footer {
  margin-top: var(--section);
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  gap: 32px;
}
.footer-about p {
  margin-top: 16px;
  color: var(--text-3);
  max-width: 34ch;
}
.footer h2 {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.footer li + li {
  margin-top: 9px;
}
.footer a {
  color: var(--text-2);
  text-decoration: none;
}
.footer a:hover {
  color: var(--text);
  text-decoration: underline;
}
.footer-legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------------ motion */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.12s !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .nav,
  .footer,
  .dock,
  .copy {
    display: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------- languages */

/* Chinese, Japanese and Korean: their own system faces after Inter (which draws the Latin letters and digits),
   no tightened tracking, more room between lines, and line breaks between words or phrases, not inside them */
:root:lang(zh-Hans) {
  --font: "Inter", "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
:root:lang(zh-Hant) {
  --font: "Inter", "PingFang TC", "Noto Sans CJK TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
:root:lang(ja) {
  --font: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
}
:root:lang(ko) {
  --font: "Inter", "Apple SD Gothic Neo", "Noto Sans CJK KR", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
:lang(zh-Hans) body,
:lang(zh-Hant) body,
:lang(ja) body,
:lang(ko) body {
  line-break: strict;
}
:lang(zh-Hans) :is(h1, h2, h3, .h1, .h2, .brand, .stat-num),
:lang(zh-Hant) :is(h1, h2, h3, .h1, .h2, .brand, .stat-num),
:lang(ja) :is(h1, h2, h3, .h1, .h2, .brand, .stat-num),
:lang(ko) :is(h1, h2, h3, .h1, .h2, .brand, .stat-num) {
  letter-spacing: 0;
}
:lang(zh-Hans) :is(h1, .h1),
:lang(zh-Hant) :is(h1, .h1),
:lang(ja) :is(h1, .h1),
:lang(ko) :is(h1, .h1) {
  line-height: 1.18;
}
:lang(zh-Hans) :is(h2, .h2),
:lang(zh-Hant) :is(h2, .h2),
:lang(ja) :is(h2, .h2),
:lang(ko) :is(h2, .h2) {
  line-height: 1.28;
}
:lang(ja) :is(h1, h2, h3, .h1, .h2, .lede) {
  word-break: auto-phrase;
}
/* Keep Japanese phrases together, with an emergency break for a phrase wider than a phone. */
:root:lang(ja) :is(h1, h2, h3, .h1, .h2, .app-tagline, .faq summary) {
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}
:root:is(:lang(zh), :lang(ja), :lang(ko)) .hero h1 .w {
  max-width: 100%;
}
/* A Latin ch measure is roughly half a CJK character; use the script's own measure. */
:root:is(:lang(zh), :lang(ja), :lang(ko)) .page-hero h1 {
  max-width: 18ic;
}
:root:is(:lang(zh), :lang(ja), :lang(ko)) .app-tagline {
  max-width: 24ic;
  letter-spacing: 0;
  line-height: 1.28;
}
:root:lang(zh) :is(h1, h2, h3, .h1, .h2, .app-tagline, .faq summary) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
:root:is(:lang(zh), :lang(ja), :lang(ko)) tbody th {
  word-break: keep-all;
  overflow-wrap: normal;
}
/* These are type styles too: CJK labels never inherit Latin tracking or uppercase. */
:root:is(:lang(zh), :lang(ja), :lang(ko)) :is(.eyebrow, .kind, .chip, .pager small, .footer h2, .formats b, .facts dt, thead th, .mo-tag, .lang-btn) {
  letter-spacing: 0;
  text-transform: none;
}
:lang(ko) body {
  word-break: keep-all;
}
/* German's long compounds: hyphenate headings and narrow boxes rather than overflow them */
:lang(de) :is(h1, h2, h3, .h1, .h2, .card, .stat-label, .lang, td, th, .apptile, .pager b) {
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}
/* Headlines have room to wrap whole words; row labels include immutable product names. */
:root:lang(de) .page-hero h1,
:root:lang(de) tbody th {
  -webkit-hyphens: manual;
  hyphens: manual;
}
:root:lang(de) tbody th {
  overflow-wrap: normal;
}
/* A link arrow belongs with the last word, never on a line of its own. */
:root:not(:lang(en-US)) a.card h3::after {
  content: "\00a0→";
}

/* The longer translated navigation uses the existing menu before its labels collide. */
@media (min-width: 861px) and (max-width: 1100px) {
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(ja), :lang(en-GB), :lang(en-AU)) .nav-links {
    display: none;
  }
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(ja), :lang(en-GB), :lang(en-AU)) .nav-menu {
    display: block;
    position: relative;
  }
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(ja), :lang(en-GB), :lang(en-AU)) .nav-menu summary {
    list-style: none;
  }
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(ja), :lang(en-GB), :lang(en-AU)) .nav-menu summary::-webkit-details-marker {
    display: none;
  }
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(ja), :lang(en-GB), :lang(en-AU)) .nav-sheet {
    position: absolute;
    right: 0;
    top: 46px;
    min-width: 220px;
    padding: 6px;
    border-radius: 14px;
    background: var(--solid);
    border: 1px solid var(--line-2);
    box-shadow: var(--shadow-card);
  }
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(ja), :lang(en-GB), :lang(en-AU)) .nav-sheet a {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
  }
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(ja), :lang(en-GB), :lang(en-AU)) .nav-sheet a:hover {
    background: var(--surface-2);
  }
}

/* Let translated tile text use its grid track; longer app names get a full row on phones. */
:root:not(:lang(en-US)) .apptile > span {
  min-width: 0;
}
@media (max-width: 600px) {
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(ja)) .appgrid {
    grid-template-columns: minmax(0, 1fr);
  }
  :root:not(:lang(en-US)) .app-id {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  /* A shortcut and its explanation each get the full width, while retaining table semantics. */
  :root:not(:lang(en-US)) :is(table:has(.keys), .table-labelled) thead,
  :root:lang(de) #architecture thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  :root:not(:lang(en-US)) :is(table:has(.keys), .table-labelled) tbody tr,
  :root:lang(de) #architecture tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  :root:not(:lang(en-US)) table:has(.keys) tbody th,
  :root:lang(de) #architecture tbody th {
    padding-bottom: 4px;
    border-bottom: 0;
  }
  :root:not(:lang(en-US)) table:has(.keys) td,
  :root:lang(de) #architecture td {
    padding-top: 0;
  }
  /* A three-column comparison becomes labelled fields, keeping every status
     and input engine visible without a sideways scroll. */
  :root:not(:lang(en-US)) .table-labelled tbody th {
    padding-bottom: 4px;
    border-bottom: 0;
  }
  :root:not(:lang(en-US)) .table-labelled td {
    padding-top: 6px;
    border-bottom: 0;
  }
  :root:not(:lang(en-US)) .table-labelled tr:not(:last-child) td:last-child {
    border-bottom: 1px solid var(--line);
  }
  :root:not(:lang(en-US)) .table-labelled td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-3);
  }
  /* The translated copy action sizes to its text, above the scrollable command. */
  :root:not(:lang(en-US)) .code {
    display: flex;
    flex-direction: column;
  }
  :root:not(:lang(en-US)) .code .copy {
    position: static;
    order: -1;
    align-self: flex-end;
    height: auto;
    min-height: 28px;
    margin: 8px 8px 0;
  }
  :root:not(:lang(en-US)) .code pre {
    padding-top: 8px;
  }
}

/* ------------------------------------------------------- Remote downloads */

.page-hero .dl .btn-row {
  margin-top: 30px;
}
.dl-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--text-3);
}
@media (max-width: 600px) {
  .page-hero .dl .btn {
    flex: 1 1 100%;
  }
}

/* ===========================================================================
   Motion. build.py appends this file to site.css, then the OS's four springs
   as linear() easings with their settle times (motion.py, from tokens.json).

   The drawn figures (.motion) are diagrams, not screenshots: they repeat what
   the text beside them says, play only while on screen (site.js sets .is-off)
   and stand still under "reduce motion".
   =========================================================================== */

:root {
  /* until the computed springs below apply, and where linear() is not supported */
  --spring-smooth: cubic-bezier(0.25, 1.12, 0.42, 1);
  --spring-glide: cubic-bezier(0.22, 1, 0.36, 1);
  --d-snappy: 400ms;
  --d-smooth: 480ms;
  --d-bouncy: 640ms;
  --d-glide: 720ms;
  --mo-metal: #3a3e4d;
  --mo-metal-2: #23262f;
  --mo-win: #171923;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --mo-metal: #c3c7d2;
    --mo-metal-2: #9da2b0;
    --mo-win: #fafbfd;
  }
}
:root[data-theme="light"] {
  --mo-metal: #c3c7d2;
  --mo-metal-2: #9da2b0;
  --mo-win: #fafbfd;
}

.motion *,
.motion *::before,
.motion *::after {
  animation-play-state: var(--play, running);
}
.motion.is-off {
  --play: paused;
}

/* ----------------------------------------------------- pages and the theme */

/* moving between pages: a short cross-fade, the bar stays put, and an app's tile
   travels from a list to its own page (templates.icon gives both the same name) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}
.nav {
  view-transition-name: site-nav;
}
::view-transition-old(root) {
  animation-duration: 0.18s;
}
::view-transition-new(root) {
  animation-duration: 0.32s;
}
::view-transition-group(*) {
  animation-duration: var(--d-smooth);
  animation-timing-function: var(--spring-smooth);
}
/* switching theme: the new one opens in a circle from the button (site.js) */
.theme-wipe::view-transition-old(root),
.theme-wipe::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
.theme-wipe .nav,
.theme-wipe [style*="view-transition-name"] {
  view-transition-name: none !important;
}

/* -------------------------------------------------------------------- hero */

.hero h1 .w {
  display: inline-block;
  animation: word-in 0.9s var(--ease-out) both;
  animation-delay: calc(var(--i) * 70ms + 80ms);
}
@keyframes word-in {
  from {
    opacity: 0;
    transform: translateY(0.3em);
    filter: blur(10px);
  }
}
.hero .eyebrow,
.hero .lede,
.hero .btn-row {
  animation: rise 0.8s var(--ease-out) both;
}
.hero .lede {
  animation-delay: 0.5s;
}
.hero .btn-row {
  animation-delay: 0.62s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* the stage sits on a sodium lamp: it strikes pink, as the real ones do, then warms to amber */
.stage-wrap {
  position: relative;
  margin-top: clamp(40px, 6vw, 72px);
  perspective: 1800px;
}
.stage-wrap .stage {
  margin-top: 0;
}
.stage-wrap::before,
.stage-wrap::after {
  content: "";
  position: absolute;
  /* inside the stage's outline even while it leans back, so only the light shows */
  inset: 13% 6% 2%;
  z-index: -1;
  border-radius: clamp(16px, 2.4vw, 28px);
  pointer-events: none;
}
.stage-wrap::before {
  box-shadow: 0 0 150px 56px rgba(255, 86, 122, 0.4);
  opacity: 0;
}
.stage-wrap::after {
  box-shadow: 0 0 150px 56px rgba(255, 184, 77, 0.28);
  opacity: 0.9;
  animation: lamp-glow 9s ease-in-out infinite alternate;
}
.warm .stage-wrap::before {
  animation: lamp-strike 3.2s ease-out both;
}
.warm .stage-wrap::after {
  animation: lamp-warm 3.4s ease-out both, lamp-glow 9s ease-in-out 3.4s infinite alternate;
}
.warm .brand .mark {
  animation: mark-warm 2.8s ease-out both;
}
@keyframes lamp-strike {
  0% {
    opacity: 0;
  }
  16% {
    opacity: 0.9;
  }
  55% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}
@keyframes lamp-warm {
  0%,
  22% {
    opacity: 0;
  }
  100% {
    opacity: 0.9;
  }
}
@keyframes lamp-glow {
  from {
    opacity: 0.9;
  }
  to {
    opacity: 0.55;
  }
}
@keyframes mark-warm {
  0% {
    filter: hue-rotate(-52deg) saturate(1.5) brightness(0.72);
  }
  35% {
    filter: hue-rotate(-40deg) saturate(1.35) brightness(0.9);
  }
  100% {
    filter: none;
  }
}

/* the stage leans back and settles flat as the page scrolls */
@keyframes stage-settle {
  from {
    transform: rotateX(10deg) scale(0.95);
  }
  to {
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .stage-wrap .stage {
      transform-origin: 50% 100%;
      animation: stage-settle linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 58vh;
    }
  }
}
/* depth under the pointer: site.js sets --px and --py, each from -1 to 1 */
.stage-win {
  translate: calc(var(--px, 0) * var(--depth, 0cqw)) calc(var(--py, 0) * var(--depth, 0cqw));
  transition: translate 0.6s var(--ease-out);
}
.stage-win-a {
  --depth: -0.45cqw;
}
.stage-win-b {
  --depth: -1cqw;
}
.stage-wrap .stage-bg img {
  scale: 1.03;
  translate: calc(var(--px, 0) * 0.4cqw) calc(var(--py, 0) * 0.3cqw);
  transition: translate 0.8s var(--ease-out);
}

/* the dock's tiles hop once, left to right, the way they do on launch */
.dock-tile img {
  animation: dock-hop 0.72s both;
  animation-delay: calc(1.25s + var(--i, 0) * 46ms);
}
.dock-demo .dock-tile img {
  animation: none;
}
.feature-media.in .dock-demo .dock-tile img {
  animation: dock-hop 0.72s both;
  animation-delay: calc(0.35s + var(--i, 0) * 46ms);
}
@keyframes dock-hop {
  0% {
    translate: 0 0;
    animation-timing-function: cubic-bezier(0.3, 0, 0.3, 1);
  }
  34% {
    translate: 0 -24%;
    animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  100% {
    translate: 0 0;
  }
}
.dock-tile {
  transition: width var(--d-snappy) var(--spring-snappy), height var(--d-snappy) var(--spring-snappy);
}

/* ------------------------------------------------------ small interactions */

/* a screenshot arrives the way a window opens: from 0.9, on the bouncy spring */
.feature-media.reveal {
  transform: scale(0.9);
  transition: opacity 0.4s var(--ease-out), transform var(--d-bouncy) var(--spring-bouncy);
}
.feature-media.reveal.in,
.no-js .feature-media.reveal {
  transform: none;
}

/* a light that follows the pointer across a card */
.card {
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 72%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
@media (hover: hover) {
  .card:hover::before {
    opacity: 1;
  }
}

/* ------------------------------------------------------------ a small desktop
   Shared by the layouts figure and the two screens of the remote figure. Every
   size is in cqw of .mo-desk, so the same drawing works at any width. */

.mo-desk {
  position: absolute;
  inset: 0;
  container-type: inline-size;
  overflow: hidden;
}
.mo-bar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 6;
  height: 3.5cqw;
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  padding: 0 1.5cqw;
  background: var(--bar);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
}
.mo-bar b,
.mo-bar i {
  height: 0.85cqw;
  border-radius: 1cqw;
  background: var(--text);
}
.mo-bar b {
  width: 4.4cqw;
  opacity: 0.72;
}
.mo-bar i {
  width: 3cqw;
  opacity: 0.32;
}
.mo-bar span {
  flex: 1;
}
.mo-win {
  position: absolute;
  display: flex;
  flex-direction: column;
  border-radius: 1.3cqw;
  overflow: hidden;
  background: var(--mo-win);
  border: 1px solid var(--line-2);
  box-shadow: 0 1.4cqw 3.6cqw rgba(0, 0, 0, 0.32);
  transform-origin: 0 0;
}
.mo-win header {
  flex: none;
  height: 4.5cqw;
  display: flex;
  align-items: center;
  gap: 1cqw;
  padding: 0 1.3cqw;
  border-bottom: 1px solid var(--line);
}
.mo-win header img {
  flex: none;
  width: 2.8cqw;
  height: 2.8cqw;
}
.mo-win header b {
  width: 8cqw;
  height: 0.9cqw;
  border-radius: 1cqw;
  background: var(--text);
  opacity: 0.5;
}
/* the three window controls */
.mo-win header i {
  flex: none;
  margin-left: auto;
  width: 5.6cqw;
  height: 1cqw;
  background: radial-gradient(circle at 0.5cqw 50%, var(--text-3) 0.4cqw, transparent 0.46cqw) 0 0 / 2.3cqw 100% repeat-x;
  opacity: 0.75;
}
.mo-b {
  flex: 1;
  min-height: 0;
  padding: 1.6cqw;
  overflow: hidden;
}
.mo-b i {
  display: block;
  height: 0.8cqw;
  border-radius: 1cqw;
  background: var(--text);
  opacity: 0.2;
}
.mo-b p {
  margin: 0;
}
/* Files: folders from the icon theme, then pictures */
.mo-b-files {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.4cqw, 1fr));
  gap: 1.8cqw 0.8cqw;
  align-content: start;
}
.mo-b-files span {
  display: grid;
  justify-items: center;
  gap: 0.8cqw;
}
.mo-b-files img {
  width: 5.6cqw;
  height: 5.6cqw;
}
.mo-b-files i {
  width: 72%;
}
.mo-pic {
  width: 5.6cqw;
  height: 4.2cqw;
  margin: 0.7cqw 0;
  border-radius: 0.6cqw;
  background: linear-gradient(160deg, #6e7bd9, #f0a36b);
}
.mo-pic-2 {
  background: linear-gradient(200deg, #f2c14e, #d9566b);
}
.mo-pic-3 {
  background: linear-gradient(160deg, #3d8f7a, #b8e0a8);
}
.mo-pic-4 {
  background: linear-gradient(140deg, #2b3a8c, #9aa8ff);
}
.mo-pic-5 {
  background: linear-gradient(200deg, #ffb84d, #7a4fd1);
}
.mo-pic-6 {
  background: linear-gradient(160deg, #8ee0b6, #3a7bd5);
}
.mo-pic-7 {
  background: linear-gradient(120deg, #e86a92, #ffd08a);
}
.mo-pic-8 {
  background: linear-gradient(180deg, #5b6ee1, #1d2552);
}
/* Notes: the list, then a page with a picture in it */
.mo-b-notes {
  display: grid;
  grid-template-columns: 27% 1fr;
  padding: 0;
}
.mo-side {
  display: grid;
  gap: 1.5cqw;
  align-content: start;
  padding: 1.7cqw 1.4cqw;
  border-right: 1px solid var(--line);
}
.mo-side i:first-child {
  opacity: 0.5;
}
.mo-page {
  display: grid;
  gap: 1.3cqw;
  align-content: start;
  padding: 1.9cqw 2cqw;
}
.mo-page b {
  width: 48%;
  height: 1.5cqw;
  border-radius: 1cqw;
  background: var(--text);
  opacity: 0.78;
}
.mo-page i:nth-of-type(3n) {
  width: 64%;
}
.mo-page u {
  height: 8.4cqw;
  border-radius: 1cqw;
  background: linear-gradient(120deg, rgba(110, 190, 130, 0.5), rgba(242, 193, 78, 0.5));
}
/* Terminal: prompts, and a cursor that blinks */
.mo-b-term p {
  display: flex;
  align-items: center;
  gap: 1cqw;
  margin-bottom: 1.35cqw;
}
.mo-b-term b {
  flex: none;
  width: 0.9cqw;
  height: 0.9cqw;
  border-radius: 50%;
  background: #58c79a;
}
.mo-b-term i {
  width: var(--w);
}
.mo-b-term p:last-child::after {
  content: "";
  width: 0.9cqw;
  height: 1.7cqw;
  border-radius: 0.2cqw;
  background: #58c79a;
  animation: mo-blink 1.1s steps(1) infinite;
}
@keyframes mo-blink {
  50% {
    opacity: 0;
  }
}
/* Mail: a list of messages */
.mo-b-mail p {
  display: flex;
  align-items: center;
  gap: 1.3cqw;
  padding-bottom: 1.35cqw;
  margin-bottom: 1.35cqw;
  border-bottom: 1px solid var(--line);
}
.mo-b-mail b {
  flex: none;
  width: 3cqw;
  height: 3cqw;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
}
.mo-b-mail span {
  flex: 1;
  display: grid;
  gap: 0.85cqw;
}
.mo-b-mail span i:first-child {
  width: var(--w);
  opacity: 0.5;
}
.mo-b-mail span i:last-child {
  width: 88%;
}

/* ------------------------------------------------- layouts: Free, Tile, Focus */

.mo-layouts {
  aspect-ratio: 16 / 10;
  container-type: inline-size;
  isolation: isolate;
}
.mo-layouts > .stage-bg {
  z-index: -1;
}
.mo-layouts .mo-win {
  transition: left var(--d-smooth) var(--spring-smooth), top var(--d-smooth) var(--spring-smooth),
    width var(--d-smooth) var(--spring-smooth), height var(--d-smooth) var(--spring-smooth), scale var(--d-smooth) var(--spring-smooth);
  transition-delay: calc(var(--i) * 24ms);
}
/* Tile: three balanced columns (also what shows without script or motion) */
.mo-layouts .w1 {
  left: 2.5%;
  top: 8.5%;
  width: 30.87%;
  height: 71.5%;
}
.mo-layouts .w2 {
  left: 34.57%;
  top: 8.5%;
  width: 30.87%;
  height: 71.5%;
  border-color: var(--win-border);
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, 0.42);
}
.mo-layouts .w3 {
  left: 66.63%;
  top: 8.5%;
  width: 30.87%;
  height: 34.8%;
}
.mo-layouts .w4 {
  left: 66.63%;
  top: 45.2%;
  width: 30.87%;
  height: 34.8%;
}
/* Free: where you left them */
.mo-layouts:is([data-mode="free"], :has(input[value="free"]:checked)) .w1 {
  left: 4%;
  top: 11%;
  width: 44%;
  height: 46%;
}
.mo-layouts:is([data-mode="free"], :has(input[value="free"]:checked)) .w3 {
  left: 55%;
  top: 11%;
  width: 40%;
  height: 31%;
}
.mo-layouts:is([data-mode="free"], :has(input[value="free"]:checked)) .w4 {
  left: 60%;
  top: 46%;
  width: 36%;
  height: 33%;
}
.mo-layouts:is([data-mode="free"], :has(input[value="free"]:checked)) .w2 {
  left: 26%;
  top: 30%;
  width: 40%;
  height: 49%;
}
/* Focus: one window centred, the rest parked in a strip at the left edge */
.mo-layouts:is([data-mode="focus"], :has(input[value="focus"]:checked)) .w2 {
  left: 19%;
  top: 8.5%;
  width: 62%;
  height: 71.5%;
}
.mo-layouts:is([data-mode="focus"], :has(input[value="focus"]:checked)) :is(.w1, .w3, .w4) {
  left: 2.5%;
  width: 44%;
  height: 58%;
  scale: 0.3;
}
.mo-layouts:is([data-mode="focus"], :has(input[value="focus"]:checked)) .w1 {
  top: 8.5%;
}
.mo-layouts:is([data-mode="focus"], :has(input[value="focus"]:checked)) .w3 {
  top: 29.5%;
}
.mo-layouts:is([data-mode="focus"], :has(input[value="focus"]:checked)) .w4 {
  top: 50.5%;
}

.mo-switch {
  position: absolute;
  left: 50%;
  bottom: 2.4cqw;
  translate: -50% 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
  backdrop-filter: blur(28px) saturate(1.7);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.mo-switch label {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 7px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-3);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}
.mo-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.mo-switch label:has(input:checked),
.mo-switch label:hover {
  color: var(--text);
}
.mo-switch label:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.mo-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 14%, transparent);
  border: 1px solid var(--line-2);
  translate: 100% 0;
  transition: translate var(--d-snappy) var(--spring-snappy);
}
.mo-layouts:is([data-mode="free"], :has(input[value="free"]:checked)) .mo-thumb {
  translate: 0 0;
}
.mo-layouts:is([data-mode="focus"], :has(input[value="focus"]:checked)) .mo-thumb {
  translate: 200% 0;
}
/* Translated captions and tab names need their own rows; neither should sit
   over the drawing or shrink to half the figure's width. */
:root:not(:lang(en-US)) .mo-layouts {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
:root:not(:lang(en-US)) .mo-layouts > .mo-desk {
  position: relative;
  grid-row: 2;
  inset: auto;
  min-height: 0;
}
:root:not(:lang(en-US)) .mo-layouts .mo-switch {
  position: relative;
  grid-row: 3;
  justify-self: center;
  left: auto;
  bottom: auto;
  translate: none;
  width: max-content;
  max-width: calc(100% - 24px);
  grid-template-columns: repeat(3, 1fr);
  margin: 8px 12px 12px;
}
:root:not(:lang(en-US)) .mo-layouts figcaption {
  position: relative;
  grid-row: 1;
  justify-self: start;
  left: auto;
  bottom: auto;
  max-width: calc(100% - 24px);
  margin: 12px 12px 0;
}
@media (max-width: 640px) {
  .mo-switch label {
    padding: 5px 14px;
    font-size: 0.8rem;
  }
  .mo-layouts figcaption {
    display: none;
  }
}

/* ------------------------------------------------------------------ remote */

.mo-remote {
  margin-top: clamp(40px, 6vw, 72px);
}
.mo-stage {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 17fr) minmax(0, 36fr);
  align-items: end;
  padding: 0 4%;
}
.mo-dev {
  display: grid;
  justify-items: center;
}
.mo-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: clamp(3px, 0.55cqw, 7px) solid #0b0c13;
  border-radius: clamp(8px, 1.5cqw, 18px);
  background: #0b0c13;
  overflow: hidden;
  box-shadow: var(--shadow-win);
}
.mo-screen .mo-desk {
  border-radius: clamp(4px, 0.9cqw, 11px);
}
/* a monitor's neck and foot */
.mo-stand {
  position: relative;
  width: 13%;
  height: clamp(12px, 3.2cqw, 38px);
  background: linear-gradient(var(--mo-metal-2), var(--mo-metal));
}
.mo-stand::after {
  content: "";
  position: absolute;
  left: -90%;
  right: -90%;
  bottom: 0;
  height: clamp(4px, 0.7cqw, 8px);
  border-radius: 999px 999px 2px 2px;
  background: var(--mo-metal);
}
/* a laptop's base */
.mo-base {
  position: relative;
  width: 118%;
  height: clamp(5px, 1cqw, 12px);
  border-radius: 2px 2px 14px 14px;
  background: linear-gradient(var(--mo-metal), var(--mo-metal-2));
}
.mo-base::after {
  content: "";
  position: absolute;
  left: 42%;
  right: 42%;
  top: 0;
  height: 36%;
  border-radius: 0 0 6px 6px;
  background: rgba(0, 0, 0, 0.28);
}
.mo-remote .wa {
  left: 5%;
  top: 13%;
  width: 46%;
  height: 56%;
}
.mo-remote .wb {
  left: 43%;
  top: 25%;
  width: 42%;
  height: 50%;
  border-color: var(--win-border);
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, 0.42);
}
/* the window is dragged round the screen; on the laptop it follows --lag later, the cursor does not wait */
.mo-drag,
.mo-cur {
  animation: mo-drag 9s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}
.mo-client .mo-drag {
  animation-delay: var(--lag);
}
@keyframes mo-drag {
  0%,
  9% {
    translate: 0 0;
  }
  29%,
  40% {
    translate: 9cqw -8cqw;
  }
  60%,
  73% {
    translate: -25cqw 3cqw;
  }
  93%,
  100% {
    translate: 0 0;
  }
}
.mo-cur {
  position: absolute;
  left: 61%;
  top: 27.5%;
  z-index: 7;
  width: 3.4cqw;
  height: 3.4cqw;
  filter: drop-shadow(0 0.3cqw 0.5cqw rgba(0, 0, 0, 0.4));
}
.mo-minidock {
  position: absolute;
  left: 50%;
  bottom: 2cqw;
  z-index: 6;
  translate: -50% 0;
  display: flex;
  gap: 1cqw;
  padding: 1cqw 1.1cqw;
  border-radius: 2.4cqw;
  background: var(--glass);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
}
.mo-minidock img {
  width: 4.8cqw;
  height: 4.8cqw;
}
/* the link: frames one way, keys and pointer the other */
.mo-link {
  align-self: center;
  display: grid;
  justify-items: center;
  gap: clamp(8px, 1.7cqw, 20px);
  padding: 0 7%;
  translate: 0 12%;
}
.mo-rail {
  position: relative;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 5px, transparent 5px 10px);
}
.mo-rail i {
  position: absolute;
  top: 50%;
  width: clamp(5px, 0.85cqw, 9px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: mo-flow 1.8s linear infinite;
}
.mo-rail i:nth-child(2) {
  animation-delay: -0.45s;
}
.mo-rail i:nth-child(3) {
  animation-delay: -0.9s;
}
.mo-rail i:nth-child(4) {
  animation-delay: -1.35s;
}
.mo-input i {
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: mo-flow 2.6s linear infinite reverse;
}
.mo-input i:nth-child(2) {
  animation-delay: -1.3s;
}
@keyframes mo-flow {
  0% {
    left: 0;
    opacity: 0;
  }
  14%,
  86% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
.mo-ping {
  margin: 0;
  padding: 0.3em 0.85em;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: clamp(0.66rem, 1.45cqw, 0.95rem);
  line-height: 1.5;
  color: var(--text-2);
  white-space: nowrap;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  animation: mo-ping 2.6s ease-out infinite;
}
.mo-ping b {
  font-weight: 500;
  color: var(--text);
}
@keyframes mo-ping {
  0% {
    box-shadow: 0 0 0 0 var(--accent-soft);
  }
  70%,
  100% {
    box-shadow: 0 0 0 14px transparent;
  }
}
.mo-names {
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 17fr) minmax(0, 36fr);
  padding: 0 4%;
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--text-3);
  text-align: center;
}
.mo-names span:last-child {
  grid-column: 3;
}
.mo-remote figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--text-3);
}
.mo-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mo-key::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.mo-key-i::before {
  background: var(--amber);
}
.mo-key-l::before {
  border-radius: 2px;
  background: var(--ok);
}
@media (max-width: 640px) {
  .mo-stage,
  .mo-names {
    grid-template-columns: minmax(0, 46fr) minmax(0, 20fr) minmax(0, 34fr);
    padding: 0 3%;
  }
  .mo-names {
    font-size: 0.76rem;
  }
}

/* --------------------------------------------------------------- languages */

.mo-langs {
  margin-top: clamp(40px, 6vw, 72px);
  container-type: inline-size;
  isolation: isolate;
}
.mo-langs > .stage-bg {
  z-index: -1;
}
/* as tall as its parts need: the menu's five rows set the height, whatever the width */
.mo-langs-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 2cqw;
  padding: clamp(40px, 6.5cqw, 80px) clamp(18px, 8cqw, 110px) clamp(64px, 7.5cqw, 92px);
}
.mo-ui,
.mo-ime {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 12px;
  justify-self: center;
  min-width: 0;
  max-width: 100%;
  min-height: 318px;
}
.mo-tag {
  padding: 4px 10px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.mo-menu {
  position: relative;
  box-sizing: content-box;
  border-radius: 14px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(30px) saturate(1.7);
  backdrop-filter: blur(30px) saturate(1.7);
  box-shadow: var(--shadow-win);
  transition: width var(--d-smooth) var(--spring-smooth);
}
.mo-menu ul {
  position: absolute;
  left: 0;
  top: 0;
  width: max-content;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s, visibility 0s 0.16s;
}
.mo-menu ul.on {
  position: relative;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s 0.1s;
}
.mo-menu li {
  padding: 9px 60px 9px 15px;
  border-radius: 9px;
  font-size: 1.06rem;
  line-height: 1.35;
  color: var(--text);
  white-space: nowrap;
}
.mo-menu li:first-child {
  background: var(--accent-soft);
}
.mo-menu li:last-child {
  position: relative;
  margin-top: 13px;
}
.mo-menu li:last-child::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: -7px;
  height: 1px;
  background: var(--line-2);
}
.mo-langs.is-live .mo-menu ul.on li {
  animation: mo-row 0.45s var(--ease-out) both;
}
.mo-menu li:nth-child(2) {
  animation-delay: 30ms;
}
.mo-menu li:nth-child(3) {
  animation-delay: 60ms;
}
.mo-menu li:nth-child(4) {
  animation-delay: 90ms;
}
.mo-menu li:nth-child(5) {
  animation-delay: 120ms;
}
@keyframes mo-row {
  from {
    opacity: 0;
    translate: 0 7px;
  }
}
.mo-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.mo-lname {
  font-weight: 600;
  color: var(--text);
}
.mo-field {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(36cqw, 390px);
  height: 62px;
  padding: 0 16px 0 10px;
  border-radius: 15px;
  background: var(--glass);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(30px) saturate(1.7);
  backdrop-filter: blur(30px) saturate(1.7);
  box-shadow: var(--shadow-win);
}
.mo-src {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  color: var(--link);
  background: var(--accent-soft);
}
.mo-text {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  line-height: 1;
  white-space: nowrap;
}
.mo-pre {
  text-decoration: underline dotted var(--accent);
  text-underline-offset: 6px;
}
.mo-caret {
  width: 2px;
  height: 1.35em;
  margin-left: 2px;
  border-radius: 1px;
  background: var(--accent);
  animation: mo-blink 1.1s steps(1) infinite;
}
.mo-cands {
  counter-reset: c;
  display: flex;
  gap: 2px;
  min-height: 42px;
  margin-left: 46px;
  padding: 4px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(30px) saturate(1.7);
  backdrop-filter: blur(30px) saturate(1.7);
  box-shadow: var(--shadow-card);
  opacity: 0;
  translate: 0 -6px;
  transition: opacity 0.18s, translate var(--d-snappy) var(--spring-snappy);
}
.mo-cands.on {
  opacity: 1;
  translate: 0 0;
}
.mo-cands li {
  counter-increment: c;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 1.14rem;
  line-height: 1.2;
  white-space: nowrap;
}
.mo-cands li::before {
  content: counter(c);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-3);
}
.mo-cands li:first-child {
  background: var(--accent-soft);
}
/* fewer candidates where the bar would outgrow its column */
@container (max-width: 1000px) {
  .mo-cands li:nth-child(n + 4) {
    display: none;
  }
}
@media (max-width: 860px) {
  .mo-langs-in {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 26px clamp(18px, 7cqw, 64px) 54px;
  }
  .mo-ui,
  .mo-ime {
    justify-self: start;
    min-height: 0;
  }
  .mo-ui {
    min-height: 268px;
  }
  .mo-ime {
    min-height: 118px;
  }
  .mo-field {
    width: min(100%, 300px);
  }
  .mo-menu li {
    padding: 8px 28px 8px 14px;
    font-size: 0.94rem;
  }
  .mo-field {
    height: 56px;
  }
  .mo-text {
    font-size: 1.3rem;
  }
  .mo-cands li {
    padding: 6px 8px;
    font-size: 0.98rem;
  }
}

/* --------------------------------------------------------------- app tiles */

.mo-tiles {
  display: grid;
  gap: 14px;
  margin-top: clamp(32px, 5vw, 56px);
  padding: 8px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.mo-row {
  display: flex;
}
.mo-track {
  flex: none;
  display: flex;
  gap: 18px;
  padding-right: 18px;
  animation: mo-drift 110s linear infinite;
}
.mo-row-2 .mo-track {
  animation-duration: 132s;
  animation-direction: reverse;
}
.mo-tiles:hover .mo-track {
  animation-play-state: paused;
}
.mo-track a {
  flex: none;
  width: 72px;
  height: 72px;
  transition: scale var(--d-snappy) var(--spring-snappy);
}
.mo-track a:hover {
  scale: 1.16;
}
.mo-track img {
  width: 100%;
  height: 100%;
}
@keyframes mo-drift {
  to {
    translate: -33.3333% 0;
  }
}
@media (max-width: 640px) {
  .mo-tiles {
    gap: 10px;
  }
  .mo-track {
    gap: 12px;
    padding-right: 12px;
  }
  .mo-track a {
    width: 54px;
    height: 54px;
  }
}

/* ----------------------------------------------------------------- springs */

.mo-springs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.mo-spring {
  padding: 18px 20px 20px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.mo-spring p {
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-2);
}
.mo-spring .mo-k {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-3);
}
.mo-k span {
  white-space: nowrap;
}
/* Translated spring descriptions need a whole card on a phone; the source-language layout stays as drawn. */
@media (max-width: 600px) {
  :root:not(:lang(en-US)) .mo-springs {
    grid-template-columns: minmax(0, 1fr);
  }
}
:root:not(:lang(en-US)) .mo-k span {
  white-space: normal;
}
/* the spring's curve over one second, and a dot that rides it */
.mo-plot {
  position: relative;
  height: 96px;
  margin-bottom: 14px;
}
.mo-plot svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.mo-plot polyline,
.mo-target {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.mo-plot polyline {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mo-target {
  stroke: var(--line-2);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.mo-dot {
  position: absolute;
  left: 100%;
  bottom: 73.33%;
  width: 10px;
  height: 10px;
  margin: 0 0 -5px -5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 184, 77, 0.24);
  animation: mo-dot-x 3s linear infinite, mo-dot-y 3s var(--plot) infinite, mo-dot-o 3s linear infinite;
}
@keyframes mo-dot-x {
  0% {
    left: 0;
  }
  25%,
  100% {
    left: 100%;
  }
}
@keyframes mo-dot-y {
  0% {
    bottom: 13.33%;
  }
  25%,
  100% {
    bottom: 73.33%;
  }
}
@keyframes mo-dot-o {
  0%,
  34% {
    opacity: 1;
  }
  44%,
  97% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* what the spring is for, moving on it: there in the plot's time, a pause, and back */
.mo-try {
  position: relative;
  container-type: inline-size;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.mo-try i {
  position: absolute;
  animation: mo-go 3s var(--plot) infinite;
}
@keyframes mo-go {
  0% {
    translate: 0 0;
  }
  25%,
  50% {
    translate: var(--to, 0 0);
  }
  75%,
  100% {
    translate: 0 0;
  }
}
/* snappy: a toggle */
.mo-spring-snappy .mo-try i:first-child {
  left: calc(50% - 23px);
  top: 13px;
  width: 46px;
  height: 28px;
  border-radius: 14px;
  background: var(--line-2);
  animation-name: mo-tint;
}
.mo-spring-snappy .mo-try i:last-child {
  left: calc(50% - 20px);
  top: 16px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  --to: 18px 0;
}
@keyframes mo-tint {
  0% {
    background: var(--line-2);
  }
  25%,
  50% {
    background: var(--accent);
  }
  75%,
  100% {
    background: var(--line-2);
  }
}
/* smooth: a window moving */
.mo-spring-smooth .mo-try i:first-child,
.mo-spring-bouncy .mo-try i:first-child {
  left: 10px;
  top: 9px;
  width: 58px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(var(--line-2) 0 9px, transparent 9px), var(--surface-2);
  border: 1px solid var(--line-2);
}
.mo-spring-smooth .mo-try i:first-child {
  --to: calc(100cqw - 80px) 0;
}
.mo-spring-smooth .mo-try i:last-child,
.mo-spring-bouncy .mo-try i:last-child {
  display: none;
}
/* bouncy: a window opening */
.mo-spring-bouncy .mo-try i:first-child {
  left: calc(50% - 38px);
  top: 7px;
  width: 76px;
  height: 40px;
  transform-origin: 50% 50%;
  animation-name: mo-pop;
}
@keyframes mo-pop {
  0% {
    scale: 0.62;
    opacity: 0;
  }
  25%,
  50% {
    scale: 1;
    opacity: 1;
  }
  75%,
  100% {
    scale: 0.62;
    opacity: 0;
  }
}
/* glide: one space sliding out, the next sliding in */
.mo-spring-glide .mo-try i {
  top: 7px;
  bottom: 7px;
  left: 7px;
  width: calc(100% - 14px);
  border-radius: 7px;
  --to: -100cqw 0;
  background: linear-gradient(var(--accent-soft), var(--accent-soft)) 10% 50% / 34% 62% no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) 82% 50% / 46% 62% no-repeat, var(--surface-2);
  border: 1px solid var(--line);
}
.mo-spring-glide .mo-try i:last-child {
  left: calc(100% + 7px);
  background: linear-gradient(var(--accent-soft), var(--accent-soft)) 50% 50% / 62% 62% no-repeat, var(--surface-2);
}
@media (max-width: 980px) {
  .mo-springs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 420px) {
  .mo-spring {
    padding: 14px 14px 16px;
  }
}

/* ------------------------------------------------------------- SmartRoute */

/* the selected route's paths march from one computer to the other, and every location pulses (a quicker pulse when selected) */
@keyframes rt-march {
  to {
    stroke-dashoffset: -12;
  }
}
@keyframes rt-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(3.4);
    opacity: 0;
  }
}
.leg {
  animation: rt-march 1.1s linear infinite;
}
.legp {
  animation: none;
}
.pulse {
  animation: rt-pulse 2.8s ease-out infinite;
  animation-delay: var(--d, 0s);
}
.on > .pulse {
  animation-duration: 2s;
}

/* ------------------------------------------------------------ reduce motion */

@media (prefers-reduced-motion: reduce) {
  .motion *,
  .motion *::before,
  .motion *::after,
  .stage-wrap::before,
  .stage-wrap::after,
  .dock-tile img,
  .brand .mark {
    animation: none !important;
  }
  .feature-media.reveal {
    transform: none;
  }
  /* SmartRoute still: dashed paths hold their dashes, each pulse is a faint ring */
  .leg {
    stroke-dasharray: 2 6;
  }
  .legp {
    stroke-dasharray: none;
  }
  .pulse {
    transform: scale(2.4);
    opacity: 0.35;
  }
  .on > .pulse {
    opacity: 0.5;
  }
  .dot,
  .lab {
    transition: none;
  }
}
@media print {
  .mo-tiles,
  .mo-switch {
    display: none;
  }
}

/* ---------------------------------------------------------- remote benchmark (website/bench.py)
   The Remote page's latency race, sharpness wipe and RustDesk bento. Colours are the site's own tokens plus the few
   --bx-* ones bench.py adds per theme; the keyframes are generated from the data (bench.css). site.js adds .anim to a
   [data-play] figure when it scrolls into view; without script or under reduce motion the end state is shown. */
.wr{--bx-mono:var(--mono);container:bx/inline-size;position:relative;isolation:isolate;overflow-x:clip;font-family:var(--font);color:var(--text);line-height:1.5}
.wr *{box-sizing:border-box}
.wr h2,.wr h3,.wr p,.wr figure{margin:0}
.wr u{text-decoration:none}
.wr button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
.wr .bx-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.wr .bx-wrap{position:relative;width:min(100% - 2 * var(--gutter),var(--wrap));margin-inline:auto}
.wr .bx-eyebrow{display:inline-flex;align-items:center;gap:10px;font-family:var(--mono);font-size:.8rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--amber-ink)}
.wr .bx-eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--amber);box-shadow:0 0 12px 2px var(--bx-gglow)}
.wr .bx-h2{font-size:clamp(2.2rem,1rem + 4cqi,4.25rem);font-weight:650;line-height:1.02;letter-spacing:-.045em;text-wrap:balance;margin-top:20px}
.wr .bx-lede{font-size:1.15rem;line-height:1.6;color:var(--text-2);text-wrap:pretty;max-width:58ch}
.wr .cu{position:relative;display:inline-block}
.wr :is(.gn,.big.sod){--gt:linear-gradient(180deg,var(--bx-g1) 8%,var(--bx-g2) 50%,var(--bx-g3) 100%)}
.wr .gnum.ok{--gt:linear-gradient(180deg,var(--bx-okg1),var(--bx-okg2))}
.wr .cu::after{background:var(--gt,none);-webkit-background-clip:text;background-clip:text}
.wr :is(.gn,.big.sod,.gnum.ok){padding-right:.1em;margin-right:-.08em}
.wr .cu{padding-right:.1em;margin-right:-.1em}
.wr .cu::after{padding-right:.1em}
.wr.bx-hero{padding-top:var(--section)}
/* 1 · the giant number */
.wr.bx-hero{isolation:isolate}
.wr .hero-glow{position:absolute;z-index:-1;left:-20%;right:-20%;top:-160px;height:900px;pointer-events:none;
 background:radial-gradient(38% 46% at 26% 50%,var(--bx-glow-amber),transparent 100%),radial-gradient(40% 40% at 84% 34%,var(--bx-glow-peri),transparent 100%)}
.wr .hh{margin-top:26px;font-size:clamp(2.1rem,.9rem + 4.2cqi,4.6rem);font-weight:650;line-height:1.04;letter-spacing:-.045em;text-wrap:balance}
.wr .giant{display:inline-flex;align-items:baseline;font-size:clamp(9rem,40cqi,19rem);font-weight:700;line-height:.8;letter-spacing:-.075em;
 font-variant-numeric:tabular-nums;margin:0 .02em -.02em -.04em;vertical-align:baseline;white-space:nowrap}
.wr .gn{background:linear-gradient(180deg,var(--bx-g1) 8%,var(--bx-g2) 50%,var(--bx-g3) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;
 filter:drop-shadow(0 0 42px var(--bx-gglow))}
.wr .gu{font-size:.3em;letter-spacing:-.01em;font-weight:600;color:var(--amber-ink);margin-left:.1em}
.wr .hero-foot{display:grid;grid-template-columns:minmax(0,max-content) minmax(0,52ch);justify-content:space-between;align-items:start;gap:16px 64px;margin-top:44px}
.wr .hcap{display:inline-flex;align-items:center;gap:12px;font-family:var(--mono);font-size:.88rem;color:var(--text-2);padding-top:6px}
.wr .hcap i{width:34px;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,var(--amber))}

/* 2 · the race: a dark stage in both themes */
.wr .bx-stage{--st-text:#f2f3f6;--st-2:#b8bdc9;--st-3:#8a90a0;--st-amber:#ffb84d;--st-rus:#c8ccd8;--st-line:rgba(255,255,255,.1);
 position:relative;isolation:isolate;margin:72px 20px 0;border-radius:40px;overflow:hidden;color:var(--st-text);border:1px solid rgba(255,255,255,.08);
 background:radial-gradient(900px 380px at 18% -8%,rgba(130,146,255,.2),transparent 62%),radial-gradient(820px 520px at 68% 118%,rgba(255,170,60,.2),transparent 64%),linear-gradient(180deg,#0a0b17,#06070d);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.08),var(--bx-stage-shadow)}
.wr .bx-stage::after{content:"";position:absolute;inset:0;z-index:-1;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");opacity:.07;mix-blend-mode:overlay;pointer-events:none}
.wr .stage-glow{position:absolute;z-index:-1;inset:auto 0 -40% 30%;height:80%;background:radial-gradient(closest-side,rgba(255,184,77,.12),transparent);pointer-events:none}
.wr .stage-in{padding-top:44px;padding-bottom:40px}
.wr .st-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px 24px}
.wr .st-k{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding-top:8px}
.wr .kick{font-size:1.2rem;font-weight:600;letter-spacing:-.01em}
.wr .slow{display:none;align-items:center;gap:8px;min-height:28px;padding:0 12px;border-radius:999px;font-family:var(--mono);font-size:.76rem;font-weight:500;color:#ffd596;background:rgba(255,184,77,.12);box-shadow:inset 0 0 0 1px rgba(255,184,77,.3)}
.wr .slow::before{content:"";width:6px;height:6px;border-radius:50%;background:#ffb84d;box-shadow:0 0 8px #ffb84d}
.wr .ticker{display:none;align-items:baseline;gap:8px;font-family:var(--mono);font-weight:500;font-size:clamp(2.4rem,1rem + 5cqi,4.4rem);line-height:1;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:#fff}
.wr .ticker u{font-size:.32em;letter-spacing:0;color:var(--st-3)}
.wr .lanes{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:32px;margin-top:40px}
.wr .field{grid-column:2;grid-row:1/4;position:relative;background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.07) 0 1px,transparent 1px calc(100% / 14));box-shadow:inset -1px 0 0 rgba(255,255,255,.07)}
.wr .lname{grid-column:1;align-self:center;font-size:1.05rem;font-weight:600;white-space:nowrap;text-align:right}
.wr .n-s{grid-row:1;color:var(--st-amber)}.wr .n-r{grid-row:2;color:var(--st-rus)}
.wr .trk{grid-column:2;position:relative;height:104px;clip-path:inset(-120px -120px -120px -12px)}
.wr .trk.ln-s{grid-row:1}.wr .trk.ln-r{grid-row:2}
.wr .trk::before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:var(--st-line)}
.wr .laid{position:absolute;left:0;top:50%;height:4px;margin-top:-2px;border-radius:2px}
.wr .ln-s .laid{background:linear-gradient(90deg,rgba(255,184,77,.1),#ffb84d 70%,#ffe2a8);box-shadow:0 0 18px rgba(255,170,60,.7)}
.wr .ln-r .laid{background:linear-gradient(90deg,rgba(200,204,216,.08),#c8ccd8);box-shadow:0 0 12px rgba(200,204,216,.35)}
.wr .head{position:absolute;top:50%;width:0;height:0}
.wr .head .dot{position:absolute;left:0;top:0;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:#fff}
.wr .ln-s .dot{box-shadow:0 0 0 4px rgba(255,184,77,.45),0 0 26px 8px rgba(255,170,60,.9)}
.wr .ln-r .dot{background:#e9ebf1;box-shadow:0 0 0 4px rgba(200,204,216,.3),0 0 20px 5px rgba(200,204,216,.55)}
.wr .trail{position:absolute;right:0;top:-4px;width:min(320px,34cqi);height:8px;border-radius:8px;opacity:0;filter:blur(1.5px)}
.wr .ln-s .trail{background:linear-gradient(90deg,transparent,rgba(255,184,77,.35) 50%,#ffe2a8)}
.wr .ln-r .trail{background:linear-gradient(90deg,transparent,rgba(200,204,216,.3) 50%,#fff)}
.wr .flare{position:absolute;top:-6px;bottom:-6px;width:3px;opacity:0;transform:translateX(-50%);border-radius:3px;background:linear-gradient(180deg,transparent,#fff 50%,transparent)}
.wr .ln-s .flare{box-shadow:0 0 24px 6px rgba(255,184,77,.8)}.wr .ln-r .flare{box-shadow:0 0 20px 4px rgba(200,204,216,.6)}
.wr .burst{position:absolute;top:50%;width:64px;height:64px;border-radius:50%;opacity:0;transform:translate(-50%,-50%)}
.wr .ln-s .burst{box-shadow:inset 0 0 0 2px #ffb84d,0 0 24px rgba(255,184,77,.6)}.wr .ln-r .burst{box-shadow:inset 0 0 0 2px #c8ccd8}
.wr .val{position:absolute;bottom:calc(50% + 24px);transform:translate(-50%,0);display:flex;align-items:baseline;gap:4px;white-space:nowrap;line-height:1}
.wr .val b{font-size:clamp(2rem,1rem + 2.6cqi,3rem);font-weight:700;letter-spacing:-.05em;font-variant-numeric:tabular-nums}
.wr .val u{font-family:var(--mono);font-size:.8rem;color:var(--st-3)}
.wr .ln-s .val b{color:#ffc56a;text-shadow:0 0 28px rgba(255,170,60,.55)}.wr .ln-r .val b{color:var(--st-rus)}
.wr .gapz{position:absolute;top:0;bottom:0;background:linear-gradient(180deg,rgba(255,184,77,.13),rgba(255,184,77,.04));box-shadow:inset 1px 0 0 rgba(255,184,77,.45),inset -1px 0 0 rgba(255,184,77,.45)}
.wr .gp{position:absolute;left:50%;bottom:0;transform:translate(-50%,50%);white-space:nowrap;padding:7px 16px;border-radius:999px;background:linear-gradient(180deg,#ffd38a,#ffb84d);color:#1b1204;font-weight:700;font-size:1rem;letter-spacing:-.01em;box-shadow:0 0 0 4px rgba(255,184,77,.18),0 10px 30px rgba(255,170,60,.35)}
.wr .origin{position:absolute;left:0;top:-14px;bottom:50px;width:0}
.wr .origin::before{content:"";position:absolute;left:-1px;top:14px;bottom:0;width:2px;background:linear-gradient(180deg,#fff,rgba(255,255,255,.15))}
.wr .origin .cur{position:absolute;left:-3px;top:-14px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5))}
.wr .ring{position:absolute;left:0;top:0;width:56px;height:56px;border-radius:50%;opacity:0;transform:translate(-50%,-50%);box-shadow:inset 0 0 0 2px #fff,0 0 18px rgba(255,255,255,.4)}
.wr .axl{grid-column:1;grid-row:3;font-family:var(--mono);font-size:.72rem;color:var(--st-3);text-align:right;padding-top:10px}
.wr .axis{grid-column:2;grid-row:3;position:relative;height:50px}
.wr .axis span{position:absolute;top:10px;transform:translateX(-50%);font-family:var(--mono);font-size:.72rem;color:var(--st-3)}
.wr .axis span:first-child{transform:none}.wr .axis span:last-child{transform:translateX(-100%)}
.wr .st-foot{display:flex;justify-content:flex-end;margin-top:34px;min-height:0}
.wr .st-foot:empty{display:none}
.wr .replay{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 16px;border-radius:999px;color:var(--st-text);font:500 .8rem var(--mono);background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);backdrop-filter:blur(12px)}

/* 3 · sharpness */
.wr.bx-sharp{padding-top:168px;isolation:isolate}
.wr .sharp-glow{position:absolute;z-index:-1;right:-10%;top:80px;width:80%;height:700px;background:radial-gradient(closest-side,var(--bx-glow-peri),transparent 70%);pointer-events:none}
.wr .sh-head{max-width:820px}
.wr .sh-head .bx-lede{margin-top:22px}
.wr .sh-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:40px 56px;align-items:center;margin-top:64px}
.wr .sh-nums{display:flex;flex-direction:column;align-items:flex-start}
.wr .sn{display:flex;flex-direction:column}
.wr .gnum{font-size:clamp(5.5rem,2rem + 11cqi,10.5rem);font-weight:700;line-height:.84;letter-spacing:-.07em;font-variant-numeric:tabular-nums;white-space:nowrap}
.wr .gnum u{font-size:.36em;letter-spacing:-.02em;margin-left:.08em;font-weight:600}
.wr .gnum.ol{color:transparent;-webkit-text-stroke:2px var(--warn)}
.wr .gnum.ol u{-webkit-text-stroke:0;color:var(--warn)}
.wr .gnum.ok{background:linear-gradient(180deg,var(--bx-okg1),var(--bx-okg2));-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 36px var(--bx-okglow))}
.wr .sl{margin-top:12px;font-family:var(--mono);font-size:.84rem;color:var(--text-2)}
.wr .sn-b .sl{color:var(--warn)}.wr .sn-a .sl{color:var(--ok)}
.wr .sh-arr{color:var(--text-3);margin:18px 0 18px 26px}
.wr .wipe{position:relative;height:420px;border-radius:30px;overflow:hidden;background:var(--bx-doc);box-shadow:0 0 0 1px var(--line-2),0 50px 100px -40px rgba(0,0,0,.5);isolation:isolate}
.wr .layer{position:absolute;inset:0;padding:78px 44px 0;overflow:hidden;background:var(--bx-doc)}
.wr .layer.st-b{clip-path:inset(0 calc(100% - var(--split)) 0 0)}
.wr .sc{translate:0 -138px}
.wr .tr{display:flex;align-items:center;gap:12px;height:26px}
.wr .tr s{display:block;height:9px;border-radius:5px;background:var(--bx-doc-ink);opacity:.78}
.wr .tr.h{height:46px}.wr .tr.h s{height:20px;background:var(--bx-doc-head);opacity:1;border-radius:7px}
.wr .tr.pic{height:118px;gap:14px}
.wr .tr.pic s{height:96px;border-radius:14px;opacity:1}
.wr .tr.pic .p1{flex:2.2;background:linear-gradient(135deg,#ffcf7d,#f5a12e 55%,#e0607e)}
.wr .tr.pic .p2{flex:1;background:linear-gradient(135deg,#a9b6ff,#5b6cf0)}
.wr .tr.pic .p3{flex:1.3;background:linear-gradient(135deg,#9ff0c8,#2f9f78)}
.wr .wchip{position:absolute;top:20px;z-index:2;display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:0 14px;border-radius:999px;font:500 .78rem var(--mono);
 background:var(--surface-2);backdrop-filter:blur(16px) saturate(1.6);box-shadow:inset 0 0 0 1px var(--line-2),0 6px 20px rgba(0,0,0,.18)}
.wr .wchip::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.wr .wl{left:20px;color:var(--warn)}.wr .wr2{right:20px;color:var(--ok)}
.wr .handle{position:absolute;top:0;bottom:0;left:var(--split);z-index:3;width:0}
.wr .handle .hl{position:absolute;top:0;bottom:0;left:-1.5px;width:3px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 0 24px rgba(255,255,255,.7)}
.wr .knob{position:absolute;left:0;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:56px;height:56px;border-radius:50%;color:#1a1d27;
 background:rgba(255,255,255,.92);backdrop-filter:blur(10px);box-shadow:0 0 0 1px rgba(0,0,0,.08),0 10px 30px rgba(0,0,0,.35),0 0 0 6px rgba(255,255,255,.18)}
.wr .wipe-range{position:absolute;inset:0;z-index:4;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}
.wr .codes-box{position:relative;display:grid;grid-template-columns:max-content minmax(0,1fr);gap:10px 18px;align-items:end;margin-top:16px;padding:20px 22px 18px;border-radius:24px;
 background:var(--bx-tile-bg);box-shadow:var(--bx-tile-shadow);border:1px solid var(--bx-tile-border);backdrop-filter:blur(24px) saturate(1.5)}
.wr .codes-box .r1{grid-row:1}.wr .codes-box .r2{grid-row:2}.wr .codes-box .cbl{grid-column:1}.wr .codes-box .codes{grid-column:2}
.wr .cbl{font-family:var(--mono);font-size:.76rem;color:var(--text-3);padding-bottom:2px}
.wr .codes{display:flex;align-items:flex-end;gap:1.5px;height:46px}
.wr .codes i{flex:1;min-width:0;border-radius:1.5px}
.wr .c-b i{background:var(--warn)}.wr .c-a i{background:var(--ok)}
.wr .ph-track{grid-column:2;grid-row:1/3;position:relative;align-self:stretch;pointer-events:none}
.wr .phd{display:none;position:absolute;top:-6px;bottom:-6px;left:0;width:2px;margin-left:-1px;border-radius:2px;background:var(--text);box-shadow:0 0 10px var(--text-3)}
.wr .wipe-fig figcaption{margin-top:14px;font-family:var(--mono);font-size:.8rem;color:var(--text-2)}
.wr .wipe-fig figcaption span{color:var(--text-3)}

/* 4 · the bento */
.wr.bx-bento{padding-top:176px;isolation:isolate}
.wr .bento-glow{position:absolute;z-index:-1;left:-10%;right:-10%;top:260px;height:900px;pointer-events:none;
 background:radial-gradient(closest-side at 30% 40%,var(--bx-glow-amber),transparent 70%),radial-gradient(closest-side at 80% 70%,var(--bx-glow-peri),transparent 70%);opacity:.75}
.wr .bh{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:28px 48px}
.wr .bh-t{max-width:700px}
.wr .bh .bx-lede{margin-top:20px}
.wr .vs-key{display:inline-flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:9px 20px 9px 9px;border-radius:999px;background:var(--bx-tile-bg);box-shadow:var(--bx-tile-shadow);border:1px solid var(--bx-tile-border);backdrop-filter:blur(20px);font-weight:600;font-size:1rem}
.wr .vs-key img{border-radius:9px;flex:none}
.wr .k-s{display:inline-flex;align-items:center;gap:10px;color:var(--amber-ink)}
.wr .k-v{font-family:var(--mono);font-size:.78rem;font-weight:500;color:var(--text-3)}
.wr .k-r{display:inline-flex;align-items:center;gap:9px;color:var(--text-2)}
.wr .k-r i{width:12px;height:12px;border-radius:50%;background:var(--bx-rd)}
.wr .bento{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;margin-top:56px}
.wr .t-click{grid-column:1/span 7;grid-row:1}
.wr .t-scroll{grid-column:8/span 5;grid-row:1}
.wr .t-fps{grid-column:1/span 5;grid-row:2}
.wr .t-smooth{grid-column:6/span 7;grid-row:2}
.wr .t-color{grid-column:1/-1;grid-row:3}
.wr .tile.t-color{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:48px;align-items:center}
.wr .t-color>.kicker,.wr .t-color>.stmt{grid-column:1}
.wr .t-color>.pxs{grid-column:2;grid-row:1/span 3;margin-top:0}
.wr .t-color .stmt{font-size:clamp(2.4rem,1rem + 3.4cqi,4rem)}
.wr .tile{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;border-radius:34px;padding:34px 36px 32px;
 background:var(--bx-tile-bg);border:1px solid var(--bx-tile-border);box-shadow:var(--bx-tile-shadow);backdrop-filter:blur(28px) saturate(1.5)}
.wr .tile-glow{position:absolute;z-index:-1;inset:0;pointer-events:none}
.wr .t-click .tile-glow{background:radial-gradient(70% 60% at 18% 78%,var(--bx-glow-amber),transparent 70%),radial-gradient(50% 40% at 100% 0,var(--bx-glow-peri),transparent 70%)}
.wr .t-scroll .tile-glow{background:radial-gradient(60% 70% at 85% 50%,var(--bx-glow-amber),transparent 70%)}
.wr .t-fps .tile-glow{background:radial-gradient(70% 70% at 0 100%,var(--bx-glow-peri),transparent 70%)}
.wr .t-smooth .tile-glow{background:radial-gradient(60% 60% at 100% 0,var(--bx-glow-peri),transparent 70%),radial-gradient(50% 50% at 0 100%,var(--bx-glow-amber),transparent 75%)}
.wr .t-color .tile-glow{background:radial-gradient(60% 60% at 30% 100%,rgba(229,72,77,.18),transparent 70%),radial-gradient(60% 60% at 90% 100%,rgba(59,108,244,.2),transparent 70%)}
.wr .kicker{display:flex;align-items:center;gap:10px;font-family:var(--mono);font-size:.78rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--text-3)}
.wr .stmt{margin-top:14px;font-size:clamp(1.9rem,1rem + 2.2cqi,2.75rem);font-weight:650;line-height:1.04;letter-spacing:-.04em;text-wrap:balance}
.wr .t-click .stmt{font-size:clamp(2.4rem,1rem + 3.4cqi,4rem)}
.wr .big{display:inline-flex;align-items:baseline;font-weight:700;line-height:.86;letter-spacing:-.065em;font-variant-numeric:tabular-nums;font-size:clamp(3.4rem,2rem + 4cqi,5.4rem);white-space:nowrap}
.wr .big.sod{background:linear-gradient(180deg,var(--bx-g1) 8%,var(--bx-g2) 50%,var(--bx-g3) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 26px var(--bx-gglow))}
.wr .big.rus{color:var(--text-2);font-weight:600}
.wr .big u{font-size:.3em;letter-spacing:0;margin-left:.12em;font-weight:600}
.wr .big.sod u{color:var(--amber-ink);-webkit-text-fill-color:var(--amber-ink)}
.wr .big.rus u{color:var(--text-3)}
.wr .t-click .big{font-size:clamp(6.5rem,3rem + 10cqi,11.5rem);letter-spacing:-.075em}
.wr .rd{font-size:1rem;font-weight:500;color:var(--text-3);line-height:1.2}
.wr .rdv{font-size:1.75rem;font-weight:600;letter-spacing:-.03em;color:var(--text-2);font-variant-numeric:tabular-nums}
.wr .rdv u{font-size:.5em;margin-left:3px;color:var(--text-3);font-weight:500}
.wr .small{margin-top:10px;font-family:var(--mono);font-size:.78rem;line-height:1.55;color:var(--text-3)}
.wr .duel{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 30px;margin-top:auto;padding-top:44px}
.wr .duel .rd{padding-bottom:12px}
.wr .ruler{position:relative;height:64px;margin:26px 0 4px}
.wr .rl{position:absolute;left:0;right:0;top:34px;height:2px;border-radius:2px;background:var(--line-2)}
.wr .rgap{position:absolute;top:29px;height:12px;border-radius:6px;background:linear-gradient(90deg,var(--amber),rgba(255,184,77,.25));opacity:.9}
.wr .rm{position:absolute;top:35px;width:0;height:0}
.wr .rm::before{content:"";position:absolute;width:18px;height:18px;left:-9px;top:-9px;border-radius:50%}
.wr .rm-s::before{background:var(--amber);box-shadow:0 0 0 4px rgba(255,184,77,.25),0 0 20px 4px var(--bx-gglow)}
.wr .rm-r::before{background:var(--ground);box-shadow:inset 0 0 0 3px var(--bx-rd)}
.wr .rm b{position:absolute;bottom:14px;left:0;transform:translateX(-50%);font-family:var(--mono);font-size:.82rem;font-weight:500}
.wr .rm-s b{color:var(--amber-ink)}.wr .rm-r b{color:var(--text-3)}
.wr .re{position:absolute;top:46px;font-family:var(--mono);font-size:.7rem;color:var(--text-3)}
.wr .re0{left:0}.wr .re1{right:0}
.wr .split{display:flex;align-items:center;justify-content:space-between;gap:16px 20px;margin-top:22px;flex-wrap:wrap}
.wr .split .col{display:flex;flex-direction:column;gap:12px}
.wr .dial{width:172px;height:172px;flex:none;overflow:visible}
.wr .dial .dt line{stroke:var(--text-3);stroke-width:1.5;opacity:.55}
.wr .dial circle{fill:none}
.wr .trk-o{stroke:var(--line);stroke-width:14}.wr .trk-i{stroke:var(--line);stroke-width:10}
.wr .arc-s{stroke:var(--amber);stroke-width:14;stroke-linecap:round;filter:drop-shadow(0 0 8px var(--bx-gglow))}
.wr .arc-r{stroke:var(--bx-rd);stroke-width:10;stroke-linecap:round}
.wr .d0{font:500 12px var(--mono);fill:var(--text-2);text-anchor:middle}
.wr .strobe{display:grid;gap:20px;margin:26px 0 6px}
.wr .sbh{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.wr .sbh .big{font-size:clamp(2.2rem,1.4rem + 1.6cqi,2.8rem)}
.wr .wn{font-weight:600;font-size:.95rem}
.wr .sb-s .wn,.wr .wl-s .wn{color:var(--amber-ink)}.wr .sb-r .wn,.wr .wl-r .wn{color:var(--text-2)}
.wr .rail{position:relative;height:30px;margin-top:10px;border-radius:15px;background-color:var(--surface);box-shadow:inset 0 0 0 1px var(--line);background-repeat:repeat-x;background-size:calc(100% / var(--n)) 100%}
.wr .sb-s .rail{background-image:radial-gradient(circle,var(--bx-dot-s) 0 1.6px,transparent 2.2px)}
.wr .sb-r .rail{background-image:radial-gradient(circle,var(--bx-rd) 0 2px,transparent 2.6px)}
.wr .ball{position:absolute;top:0;bottom:0;width:calc(100% / var(--n));display:grid;place-items:center}
.wr .ball i{width:20px;height:20px;border-radius:50%;flex:none}
.wr .sb-s .ball i{background:radial-gradient(circle at 35% 35%,#fff3d9,#ffb84d 60%);box-shadow:0 0 18px 4px var(--bx-gglow)}
.wr .sb-r .ball i{background:radial-gradient(circle at 35% 35%,#fff,var(--bx-rd) 70%)}
.wr .wfs{display:grid;gap:20px;margin-top:24px}
.wr .wlh{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px}
.wr .wv{font-size:.92rem;color:var(--text-3)}
.wr .wv b{font-size:2.1rem;font-weight:700;letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin:0 .12em}
.wr .wl-s .wv b{color:var(--amber-ink)}.wr .wl-r .wv b{color:var(--text-2);font-weight:600}
.wr .waffle{display:block;width:100%;height:auto;margin-top:10px;overflow:visible}
.wr .w-s pattern rect{fill:var(--bx-cell-s)}.wr .w-r pattern rect{fill:var(--bx-rd-cell)}
.wr .hole{fill:var(--bx-hole);stroke:var(--bx-drop);stroke-width:1.4}
.wr .wsweep{display:none;fill:var(--bx-wsweep)}
.wr .wfoot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 18px;margin-top:6px}
.wr .key{display:inline-flex;align-items:center;gap:8px;margin-top:10px;font-family:var(--mono);font-size:.78rem;color:var(--text-3)}
.wr .key i{width:11px;height:11px;border-radius:3px;box-shadow:inset 0 0 0 1.5px var(--bx-drop);background:var(--bx-hole)}
.wr .small.fps{margin-top:4px}
.wr .pxs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:26px}
.wr .px{display:block;width:100%;height:auto;border-radius:12px;filter:drop-shadow(0 12px 24px rgba(0,0,0,.22))}
.wr .blk{fill:none;stroke:var(--bx-blk);stroke-width:1.4;stroke-dasharray:4 3}
.wr .pxl{margin-top:12px;font-family:var(--mono);font-size:.78rem;line-height:1.45;color:var(--text-3)}
.wr .pxc.sod .pxl{color:var(--amber-ink)}
.wr.bx-foot{padding-top:44px}
.wr .foot{font-family:var(--mono);font-size:.76rem;line-height:1.6;color:var(--text-3)}

/* phone: the same page at 390 */
@media (max-width: 640px){
 .wr .stage-in{width:auto}
 .wr .hh{font-size:2.15rem;margin-top:20px}
 .wr .giant{margin:0 0 .02em -.04em}
 .wr .hero-foot{grid-template-columns:minmax(0,1fr);margin-top:28px}
 .wr .bx-lede{font-size:1.05rem}
 .wr .bx-stage{margin:48px 8px 0;border-radius:30px}
 .wr .stage-in{padding:28px 18px 24px}
 .wr .lanes{grid-template-columns:minmax(0,1fr);margin-top:30px}
 .wr .field{grid-column:1;grid-row:1/6}
 .wr .lname{grid-column:1;text-align:left;padding-left:14px;font-size:.95rem;align-self:end;position:relative;z-index:1}
 .wr .n-s{grid-row:1}.wr .trk.ln-s{grid-row:2;grid-column:1}.wr .n-r{grid-row:3;padding-top:18px}.wr .trk.ln-r{grid-row:4;grid-column:1}
 .wr .trk{height:80px}
 .wr .axl{display:none}.wr .axis{grid-column:1;grid-row:5}
 .wr .val{bottom:calc(50% + 12px)}
 .wr .gp{font-size:.88rem;padding:6px 12px}
 .wr.bx-sharp{padding-top:112px}
 .wr .sh-grid{grid-template-columns:minmax(0,1fr);margin-top:40px;gap:32px}
 .wr .sh-nums{flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:8px 14px}
 .wr .sh-arr{transform:rotate(-90deg);margin:18px 0 0}
 .wr .gnum{font-size:5.2rem}
 .wr .wipe{height:320px;border-radius:24px}
 .wr .layer{padding:66px 20px 0}
 .wr .wchip{top:14px;font-size:.7rem;padding:0 10px;min-height:28px}
 .wr .wl{left:12px}.wr .wr2{right:12px}
 .wr .knob{width:46px;height:46px}
 .wr .codes-box{padding:16px 16px 14px;gap:8px 12px}
 .wr .codes{gap:1px;height:38px}
 .wr.bx-bento{padding-top:112px}
 .wr .bento{grid-template-columns:minmax(0,1fr);gap:14px;margin:40px -12px 0}
 .wr .bento>.tile{grid-column:1;grid-row:auto}
 .wr .tile.t-color{display:flex;align-items:stretch}
 .wr .t-color>.pxs{margin-top:24px}
 .wr .tile{border-radius:30px;padding:28px 22px 26px}
 .wr .t-click .big{font-size:8rem}
 .wr .duel{padding-top:32px;gap:6px 20px}
 .wr .dial{width:132px;height:132px}
 .wr .pxs{gap:12px}
 .wr .vs-key{font-size:.88rem;border-radius:999px;flex-wrap:nowrap;gap:8px 10px;padding:7px 14px 7px 7px;white-space:nowrap}
}
/* languages: the site's own rules */
.wr [lang=de]{hyphens:auto;-webkit-hyphens:auto}
.wr [lang=de] :is(.h2,.hh,.stmt,.lname,.kick,.wn){hyphens:manual;overflow-wrap:normal}
.wr [lang=ja] :is(.bx-eyebrow,.kicker,.slow,.replay,.wchip,.cbl,.small,.key,.pxl,.foot,.hcap,.sl){letter-spacing:0;text-transform:none}
.wr [lang=ja] :is(.h2,.hh,.stmt){letter-spacing:-.01em;line-height:1.28}
.wr [lang=ja] .giant{letter-spacing:-.075em}
.wr [lang=ja] :is(.h2,.hh,.stmt,.bx-lede,.small,.pxl,.foot,.sl,.wv,.rd,.kick,figcaption,.hcap,.gp){word-break:auto-phrase;overflow-wrap:anywhere}
.wr [lang=ja] :is(.small,.pxl,.foot,.hcap,figcaption,.slow,.replay,.wchip,.cbl,.key,.kicker,.sl){font-family:var(--mono),"Noto Sans CJK JP",sans-serif}

.wr [lang=de]{hyphens:auto;-webkit-hyphens:auto}
:lang(de) .wr :is(.bx-h2,.hh,.stmt,.lname,.kick,.wn),.wr:lang(de) :is(.bx-h2,.hh,.stmt,.lname,.kick,.wn){hyphens:manual;overflow-wrap:normal}
:lang(ja) .wr :is(.bx-eyebrow,.kicker,.slow,.replay,.wchip,.cbl,.small,.key,.pxl,.foot,.hcap,.sl){letter-spacing:0;text-transform:none}
:lang(ja) .wr :is(.bx-h2,.hh,.stmt){letter-spacing:-.01em;line-height:1.28}
:lang(ja) .wr :is(.bx-h2,.hh,.stmt,.bx-lede,.small,.pxl,.foot,.sl,.wv,.rd,.kick,figcaption,.hcap,.gp){word-break:auto-phrase;overflow-wrap:anywhere}
:lang(ja) .wr :is(.small,.pxl,.foot,.hcap,figcaption,.slow,.replay,.wchip,.cbl,.key,.kicker,.sl){font-family:var(--mono),"Noto Sans CJK JP",sans-serif}
.wr .bx-off *{animation-play-state:paused!important}
.wr .wipe{cursor:ew-resize;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.wr .handle:focus-visible{outline:none}
.wr .handle:focus-visible .knob{box-shadow:0 0 0 1px rgba(0,0,0,.08),0 10px 30px rgba(0,0,0,.35),0 0 0 3px #fff,0 0 0 6px var(--accent)}
.wr .replay:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media (prefers-reduced-motion: reduce){.wr .replay{display:none}}

/* the OS's springs, computed from tokens/tokens.json by website/motion.py */
:root{--d-snappy:440ms;--d-smooth:520ms;--d-bouncy:660ms;--d-glide:720ms;}
@supports (transition-timing-function: linear(0, 1)){:root{--spring-snappy:linear(0, 0.034, 0.115, 0.221, 0.336, 0.448, 0.552, 0.645, 0.725, 0.791, 0.846, 0.889, 0.923, 0.948, 0.968, 0.982, 0.991, 0.998, 1.002, 1.005, 1.006, 1.006, 1.006, 1.006, 1.005, 1.004, 1.004, 1.003, 1.002, 1.002, 1.001, 1.001, 1);--plot-snappy:linear(0, 0.059, 0.191, 0.346, 0.497, 0.629, 0.738, 0.822, 0.885, 0.93, 0.961, 0.982, 0.994, 1.001, 1.005, 1.006, 1.006, 1.006, 1.005, 1.004, 1.003, 1.002, 1.001, 1.001, 1.001, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);--spring-smooth:linear(0, 0.029, 0.1, 0.194, 0.296, 0.398, 0.494, 0.582, 0.66, 0.726, 0.783, 0.83, 0.869, 0.9, 0.925, 0.945, 0.96, 0.972, 0.98, 0.987, 0.992, 0.995, 0.998, 0.999, 1, 1.001, 1.001, 1.002, 1.002, 1.001, 1.001, 1.001, 1);--plot-smooth:linear(0, 0.038, 0.128, 0.241, 0.359, 0.473, 0.576, 0.665, 0.74, 0.802, 0.852, 0.891, 0.922, 0.945, 0.962, 0.975, 0.984, 0.99, 0.995, 0.998, 0.999, 1.001, 1.001, 1.001, 1.002, 1.001, 1.001, 1.001, 1.001, 1.001, 1.001, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);--spring-bouncy:linear(0, 0.047, 0.162, 0.308, 0.462, 0.608, 0.735, 0.839, 0.92, 0.978, 1.017, 1.04, 1.052, 1.054, 1.051, 1.045, 1.037, 1.028, 1.02, 1.014, 1.008, 1.004, 1.001, 0.999, 0.998, 0.997, 0.997, 0.997, 0.998, 0.998, 0.999, 0.999, 1);--plot-bouncy:linear(0, 0.04, 0.138, 0.266, 0.406, 0.543, 0.668, 0.776, 0.863, 0.932, 0.982, 1.017, 1.039, 1.05, 1.054, 1.053, 1.048, 1.041, 1.034, 1.026, 1.019, 1.013, 1.008, 1.004, 1.001, 0.999, 0.998, 0.997, 0.997, 0.997, 0.997, 0.998, 0.998, 0.999, 0.999, 0.999, 1, 1, 1, 1, 1);--spring-glide:linear(0, 0.035, 0.118, 0.22, 0.328, 0.431, 0.525, 0.608, 0.68, 0.74, 0.791, 0.832, 0.866, 0.894, 0.916, 0.934, 0.948, 0.959, 0.968, 0.975, 0.981, 0.985, 0.988, 0.991, 0.993, 0.995, 0.996, 0.997, 0.998, 0.998, 0.999, 0.999, 1);--plot-glide:linear(0, 0.025, 0.087, 0.167, 0.256, 0.345, 0.431, 0.51, 0.582, 0.645, 0.701, 0.749, 0.791, 0.826, 0.856, 0.881, 0.902, 0.919, 0.934, 0.946, 0.956, 0.964, 0.971, 0.976, 0.981, 0.984, 0.987, 0.99, 0.992, 0.993, 0.995, 0.996, 0.996, 0.997, 0.998, 0.998, 0.999, 0.999, 0.999, 0.999, 1);}}
:root{--bx-g1:#fff1d2;--bx-g2:#ffc56a;--bx-g3:#f59a1f;--bx-gglow:rgba(255,166,48,.42);--bx-okg1:#d9fbe9;--bx-okg2:#8ee0b6;--bx-okglow:rgba(142,224,182,.35);--bx-rd:#9ea4b2;--bx-cell-s:#ffb84d;--bx-dot-s:rgba(255,184,77,.75);--bx-rd-cell:rgba(200,204,216,.42);--bx-drop:#ff9a85;--bx-hole:#151729;--bx-tile-bg:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.028));--bx-tile-border:rgba(255,255,255,.1);--bx-tile-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 40px 80px -32px rgba(0,0,0,.6);--bx-doc:#121427;--bx-doc-ink:#c9d2d8;--bx-doc-head:#f2f3f6;--bx-glow-amber:rgba(255,170,60,.30);--bx-glow-peri:rgba(130,146,255,.26);--bx-blk:rgba(255,255,255,.7);--bx-stage-shadow:0 50px 120px -40px rgba(0,0,0,.8);--bx-wsweep:rgba(255,255,255,.6);}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]){--bx-g1:#b5700f;--bx-g2:#9a5f10;--bx-g3:#7e5516;--bx-gglow:rgba(255,170,60,.38);--bx-okg1:#2b8a59;--bx-okg2:#1e6d45;--bx-okglow:rgba(60,170,110,.22);--bx-rd:#575d6c;--bx-cell-s:#e8962a;--bx-dot-s:#c27d1a;--bx-rd-cell:rgba(87,93,108,.38);--bx-drop:#c2412d;--bx-hole:#f7f8fb;--bx-tile-bg:linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,255,255,.6));--bx-tile-border:rgba(255,255,255,.95);--bx-tile-shadow:0 0 0 1px rgba(26,29,39,.06),0 1px 0 rgba(255,255,255,1) inset,0 36px 72px -30px rgba(40,46,80,.28);--bx-doc:#ffffff;--bx-doc-ink:#3d4251;--bx-doc-head:#1a1d27;--bx-glow-amber:rgba(255,184,77,.42);--bx-glow-peri:rgba(133,160,245,.34);--bx-blk:rgba(26,29,39,.55);--bx-stage-shadow:0 50px 110px -40px rgba(30,34,70,.55);--bx-wsweep:rgba(26,29,39,.35);}}
:root[data-theme="light"]{--bx-g1:#b5700f;--bx-g2:#9a5f10;--bx-g3:#7e5516;--bx-gglow:rgba(255,170,60,.38);--bx-okg1:#2b8a59;--bx-okg2:#1e6d45;--bx-okglow:rgba(60,170,110,.22);--bx-rd:#575d6c;--bx-cell-s:#e8962a;--bx-dot-s:#c27d1a;--bx-rd-cell:rgba(87,93,108,.38);--bx-drop:#c2412d;--bx-hole:#f7f8fb;--bx-tile-bg:linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,255,255,.6));--bx-tile-border:rgba(255,255,255,.95);--bx-tile-shadow:0 0 0 1px rgba(26,29,39,.06),0 1px 0 rgba(255,255,255,1) inset,0 36px 72px -30px rgba(40,46,80,.28);--bx-doc:#ffffff;--bx-doc-ink:#3d4251;--bx-doc-head:#1a1d27;--bx-glow-amber:rgba(255,184,77,.42);--bx-glow-peri:rgba(133,160,245,.34);--bx-blk:rgba(26,29,39,.55);--bx-stage-shadow:0 50px 110px -40px rgba(30,34,70,.55);--bx-wsweep:rgba(26,29,39,.35);}
@property --n{syntax:"<integer>";inherits:false;initial-value:0}@keyframes cu{0%{--n:0}18.571%,100%{--n:var(--to)}}@keyframes tick{0%,3.571%{--n:0}20.571%,100%{--n:var(--to)}}@keyframes head_s{0%,3.557%{left:0;opacity:0}3.571%{left:0;opacity:1}15.000%,100%{left:57.143%;opacity:1}}@keyframes laid_s{0%,3.571%{width:0}15.000%,100%{width:57.143%}}@keyframes trail_s{0%,3.571%{opacity:0}4.429%,15.000%{opacity:1}20.429%,100%{opacity:0}}@keyframes flare_s{0%,15.000%{opacity:0;transform:translateX(-50%) scaleY(.2)}16.000%{opacity:1;transform:translateX(-50%) scaleY(1)}27.857%,100%{opacity:0;transform:translateX(-50%) scaleY(1.25)}}@keyframes burst_s{0%,15.000%{opacity:0;transform:translate(-50%,-50%) scale(.2)}15.571%{opacity:1}25.000%,100%{opacity:0;transform:translate(-50%,-50%) scale(2.6)}}@keyframes pop_s{0%,15.000%{opacity:0;transform:translate(-50%,12px) scale(.9)}19.286%,100%{opacity:1;transform:translate(-50%,0)}}@keyframes rmk_s{0%,3.571%{left:0}15.000%,100%{left:57.143%}}@keyframes head_r{0%,3.557%{left:0;opacity:0}3.571%{left:0;opacity:1}20.571%,100%{left:85.000%;opacity:1}}@keyframes laid_r{0%,3.571%{width:0}20.571%,100%{width:85.000%}}@keyframes trail_r{0%,3.571%{opacity:0}4.429%,20.571%{opacity:1}26.000%,100%{opacity:0}}@keyframes flare_r{0%,20.571%{opacity:0;transform:translateX(-50%) scaleY(.2)}21.571%{opacity:1;transform:translateX(-50%) scaleY(1)}33.429%,100%{opacity:0;transform:translateX(-50%) scaleY(1.25)}}@keyframes burst_r{0%,20.571%{opacity:0;transform:translate(-50%,-50%) scale(.2)}21.143%{opacity:1}30.571%,100%{opacity:0;transform:translate(-50%,-50%) scale(2.6)}}@keyframes pop_r{0%,20.571%{opacity:0;transform:translate(-50%,12px) scale(.9)}24.857%,100%{opacity:1;transform:translate(-50%,0)}}@keyframes rmk_r{0%,3.571%{left:0}20.571%,100%{left:85.000%}}@keyframes gapin{0%,21.714%{opacity:0}26.571%,100%{opacity:1}}@keyframes ring1{0%{opacity:.95;transform:translate(-50%,-50%) scale(.25)}10.000%,100%{opacity:0;transform:translate(-50%,-50%) scale(2.6)}}@keyframes ring2{0%,2.000%{opacity:0;transform:translate(-50%,-50%) scale(.25)}2.286%{opacity:.7}12.857%,100%{opacity:0;transform:translate(-50%,-50%) scale(2.6)}}@keyframes arc_s{0%,3.571%{stroke-dashoffset:255.55}14.000%,100%{stroke-dashoffset:0}}@keyframes arc_r{0%,3.571%{stroke-dashoffset:268.11}18.286%,100%{stroke-dashoffset:0}}@keyframes qp_b{0.0000%{filter:blur(0.00px)}0.8333%{filter:blur(0.00px)}1.6667%{filter:blur(0.00px)}2.5000%{filter:blur(0.00px)}3.3333%{filter:blur(0.00px)}4.1667%{filter:blur(0.00px)}5.0000%{filter:blur(0.00px)}5.8333%{filter:blur(0.00px)}6.6667%{filter:blur(0.00px)}7.5000%{filter:blur(0.00px)}8.3333%{filter:blur(0.00px)}9.1667%{filter:blur(0.00px)}10.0000%{filter:blur(0.00px)}10.8333%{filter:blur(0.00px)}11.6667%{filter:blur(0.00px)}12.5000%{filter:blur(0.00px)}13.3333%{filter:blur(0.00px)}14.1667%{filter:blur(0.00px)}15.0000%{filter:blur(0.00px)}15.8333%{filter:blur(0.00px)}16.6667%{filter:blur(0.11px)}17.5000%{filter:blur(0.11px)}18.3333%{filter:blur(0.11px)}19.1667%{filter:blur(0.11px)}20.0000%{filter:blur(0.11px)}20.8333%{filter:blur(0.11px)}21.6667%{filter:blur(0.11px)}22.5000%{filter:blur(0.11px)}23.3333%{filter:blur(0.11px)}24.1667%{filter:blur(0.11px)}25.0000%{filter:blur(0.11px)}25.8333%{filter:blur(0.11px)}26.6667%{filter:blur(0.11px)}27.5000%{filter:blur(0.11px)}28.3333%{filter:blur(0.11px)}29.1667%{filter:blur(0.11px)}30.0000%{filter:blur(0.11px)}30.8333%{filter:blur(0.11px)}31.6667%{filter:blur(0.11px)}32.5000%{filter:blur(0.11px)}33.3333%{filter:blur(0.11px)}34.1667%{filter:blur(0.11px)}35.0000%{filter:blur(0.11px)}35.8333%{filter:blur(0.11px)}36.6667%{filter:blur(0.11px)}37.5000%{filter:blur(0.22px)}38.3333%{filter:blur(0.11px)}39.1667%{filter:blur(0.22px)}40.0000%{filter:blur(0.11px)}40.8333%{filter:blur(0.22px)}41.6667%{filter:blur(0.22px)}42.5000%{filter:blur(0.11px)}43.3333%{filter:blur(0.22px)}44.1667%{filter:blur(0.22px)}45.0000%{filter:blur(0.22px)}45.8333%{filter:blur(0.22px)}46.6667%{filter:blur(0.22px)}47.5000%{filter:blur(0.22px)}48.3333%{filter:blur(0.22px)}49.1667%{filter:blur(0.22px)}50.0000%{filter:blur(0.22px)}50.8333%{filter:blur(0.22px)}51.6667%{filter:blur(0.11px)}52.5000%{filter:blur(0.22px)}53.3333%{filter:blur(0.11px)}54.1667%{filter:blur(0.22px)}55.0000%{filter:blur(0.11px)}55.8333%{filter:blur(0.11px)}56.6667%{filter:blur(0.22px)}57.5000%{filter:blur(0.22px)}58.3333%{filter:blur(0.11px)}59.1667%{filter:blur(0.22px)}60.0000%{filter:blur(0.11px)}60.8333%{filter:blur(0.11px)}61.6667%{filter:blur(0.11px)}62.5000%{filter:blur(0.11px)}63.3333%{filter:blur(0.11px)}64.1667%{filter:blur(0.11px)}65.0000%{filter:blur(0.00px)}65.8333%{filter:blur(0.00px)}66.6667%{filter:blur(0.00px)}67.5000%{filter:blur(0.11px)}68.3333%{filter:blur(0.11px)}69.1667%{filter:blur(0.11px)}70.0000%{filter:blur(0.11px)}70.8333%{filter:blur(0.11px)}71.6667%{filter:blur(0.11px)}72.5000%{filter:blur(1.98px)}73.3333%{filter:blur(1.32px)}74.1667%{filter:blur(0.77px)}75.0000%{filter:blur(1.98px)}75.8333%{filter:blur(1.21px)}76.6667%{filter:blur(0.77px)}77.5000%{filter:blur(0.55px)}78.3333%{filter:blur(0.33px)}79.1667%{filter:blur(0.33px)}80.0000%{filter:blur(0.22px)}80.8333%{filter:blur(2.64px)}81.6667%{filter:blur(0.22px)}82.5000%{filter:blur(0.22px)}83.3333%{filter:blur(0.22px)}84.1667%{filter:blur(0.33px)}85.0000%{filter:blur(0.22px)}85.8333%{filter:blur(1.98px)}86.6667%{filter:blur(2.09px)}87.5000%{filter:blur(1.98px)}88.3333%{filter:blur(1.98px)}89.1667%{filter:blur(1.32px)}90.0000%{filter:blur(0.66px)}90.8333%{filter:blur(0.44px)}91.6667%{filter:blur(0.33px)}92.5000%{filter:blur(1.98px)}93.3333%{filter:blur(3.74px)}94.1667%{filter:blur(0.66px)}95.0000%{filter:blur(1.98px)}95.8333%{filter:blur(3.74px)}96.6667%{filter:blur(2.09px)}97.5000%{filter:blur(3.74px)}98.3333%{filter:blur(0.55px)}99.1667%{filter:blur(1.98px)}}@keyframes qp_a{0.0000%{filter:blur(0.55px)}0.8333%{filter:blur(0.55px)}1.6667%{filter:blur(0.55px)}2.5000%{filter:blur(0.33px)}3.3333%{filter:blur(0.44px)}4.1667%{filter:blur(0.44px)}5.0000%{filter:blur(0.44px)}5.8333%{filter:blur(0.55px)}6.6667%{filter:blur(0.55px)}7.5000%{filter:blur(0.55px)}8.3333%{filter:blur(0.66px)}9.1667%{filter:blur(0.66px)}10.0000%{filter:blur(0.77px)}10.8333%{filter:blur(0.66px)}11.6667%{filter:blur(0.66px)}12.5000%{filter:blur(0.44px)}13.3333%{filter:blur(0.33px)}14.1667%{filter:blur(0.22px)}15.0000%{filter:blur(0.22px)}15.8333%{filter:blur(0.22px)}16.6667%{filter:blur(0.33px)}17.5000%{filter:blur(0.44px)}18.3333%{filter:blur(0.22px)}19.1667%{filter:blur(0.33px)}20.0000%{filter:blur(0.33px)}20.8333%{filter:blur(0.22px)}21.6667%{filter:blur(0.11px)}22.5000%{filter:blur(0.22px)}23.3333%{filter:blur(0.11px)}24.1667%{filter:blur(0.33px)}25.0000%{filter:blur(0.22px)}25.8333%{filter:blur(0.33px)}26.6667%{filter:blur(0.22px)}27.5000%{filter:blur(0.22px)}28.3333%{filter:blur(0.33px)}29.1667%{filter:blur(0.22px)}30.0000%{filter:blur(0.33px)}30.8333%{filter:blur(0.22px)}31.6667%{filter:blur(0.22px)}32.5000%{filter:blur(0.33px)}33.3333%{filter:blur(0.22px)}34.1667%{filter:blur(0.11px)}35.0000%{filter:blur(0.22px)}35.8333%{filter:blur(0.22px)}36.6667%{filter:blur(0.22px)}37.5000%{filter:blur(0.11px)}38.3333%{filter:blur(0.22px)}39.1667%{filter:blur(0.22px)}40.0000%{filter:blur(0.11px)}40.8333%{filter:blur(0.22px)}41.6667%{filter:blur(0.11px)}42.5000%{filter:blur(0.22px)}43.3333%{filter:blur(0.22px)}44.1667%{filter:blur(0.11px)}45.0000%{filter:blur(0.11px)}45.8333%{filter:blur(0.11px)}46.6667%{filter:blur(0.22px)}47.5000%{filter:blur(0.22px)}48.3333%{filter:blur(0.11px)}49.1667%{filter:blur(0.11px)}50.0000%{filter:blur(0.11px)}50.8333%{filter:blur(0.11px)}51.6667%{filter:blur(0.11px)}52.5000%{filter:blur(0.22px)}53.3333%{filter:blur(0.11px)}54.1667%{filter:blur(0.00px)}55.0000%{filter:blur(0.11px)}55.8333%{filter:blur(0.22px)}56.6667%{filter:blur(0.22px)}57.5000%{filter:blur(0.22px)}58.3333%{filter:blur(0.22px)}59.1667%{filter:blur(0.33px)}60.0000%{filter:blur(0.33px)}60.8333%{filter:blur(0.22px)}61.6667%{filter:blur(0.33px)}62.5000%{filter:blur(0.33px)}63.3333%{filter:blur(0.22px)}64.1667%{filter:blur(0.22px)}65.0000%{filter:blur(0.22px)}65.8333%{filter:blur(0.33px)}66.6667%{filter:blur(0.22px)}67.5000%{filter:blur(0.22px)}68.3333%{filter:blur(0.22px)}69.1667%{filter:blur(0.11px)}70.0000%{filter:blur(0.22px)}70.8333%{filter:blur(0.33px)}71.6667%{filter:blur(0.22px)}72.5000%{filter:blur(0.22px)}73.3333%{filter:blur(0.11px)}74.1667%{filter:blur(0.11px)}75.0000%{filter:blur(0.11px)}75.8333%{filter:blur(0.11px)}76.6667%{filter:blur(0.11px)}77.5000%{filter:blur(0.22px)}78.3333%{filter:blur(0.11px)}79.1667%{filter:blur(0.11px)}80.0000%{filter:blur(0.22px)}80.8333%{filter:blur(0.11px)}81.6667%{filter:blur(0.11px)}82.5000%{filter:blur(0.11px)}83.3333%{filter:blur(0.22px)}84.1667%{filter:blur(0.11px)}85.0000%{filter:blur(0.22px)}85.8333%{filter:blur(0.11px)}86.6667%{filter:blur(0.22px)}87.5000%{filter:blur(0.00px)}88.3333%{filter:blur(0.11px)}89.1667%{filter:blur(0.22px)}90.0000%{filter:blur(0.22px)}90.8333%{filter:blur(0.22px)}91.6667%{filter:blur(0.11px)}92.5000%{filter:blur(0.22px)}93.3333%{filter:blur(0.22px)}94.1667%{filter:blur(0.22px)}95.0000%{filter:blur(0.33px)}95.8333%{filter:blur(0.11px)}96.6667%{filter:blur(0.22px)}97.5000%{filter:blur(0.11px)}98.3333%{filter:blur(0.11px)}99.1667%{filter:blur(0.00px)}}@keyframes scroll{from{translate:0 0}to{translate:0 -50%}}@keyframes sweep{from{left:0}to{left:100%}}@keyframes strobe{from{left:0}to{left:100%}}@keyframes wsweep{from{transform:translateX(0)}to{transform:translateX(600px)}}@media (prefers-reduced-motion: no-preference){:is(.wr.anim,.wr .anim) .cu{animation:cu 7s cubic-bezier(.2,.8,.2,1) both}:is(.wr.anim,.wr .anim) .cu.tkr{animation:tick 7s linear both}:is(.wr.anim,.wr .anim) .ln-s .head{animation:head_s 7s linear both}:is(.wr.anim,.wr .anim) .ln-s .laid{animation:laid_s 7s linear both}:is(.wr.anim,.wr .anim) .ln-s .trail{animation:trail_s 7s linear both}:is(.wr.anim,.wr .anim) .ln-s .flare{animation:flare_s 7s ease-out both}:is(.wr.anim,.wr .anim) .ln-s .burst{animation:burst_s 7s ease-out both}:is(.wr.anim,.wr .anim) .ln-s .val{animation:pop_s 7s cubic-bezier(.3,1.35,.5,1) both}:is(.wr.anim,.wr .anim) .rm-s{animation:rmk_s 7s linear both}:is(.wr.anim,.wr .anim) .ln-r .head{animation:head_r 7s linear both}:is(.wr.anim,.wr .anim) .ln-r .laid{animation:laid_r 7s linear both}:is(.wr.anim,.wr .anim) .ln-r .trail{animation:trail_r 7s linear both}:is(.wr.anim,.wr .anim) .ln-r .flare{animation:flare_r 7s ease-out both}:is(.wr.anim,.wr .anim) .ln-r .burst{animation:burst_r 7s ease-out both}:is(.wr.anim,.wr .anim) .ln-r .val{animation:pop_r 7s cubic-bezier(.3,1.35,.5,1) both}:is(.wr.anim,.wr .anim) .rm-r{animation:rmk_r 7s linear both}:is(.wr.anim,.wr .anim) .gapz{animation:gapin 7s ease-out both}:is(.wr.anim,.wr .anim) .rgap{animation:gapin 7s ease-out both}:is(.wr.anim,.wr .anim) .ring.r1{animation:ring1 7s ease-out both}:is(.wr.anim,.wr .anim) .ring.r2{animation:ring2 7s ease-out both}:is(.wr.anim,.wr .anim) .arc-s{animation:arc_s 7s linear both}:is(.wr.anim,.wr .anim) .arc-r{animation:arc_r 7s linear both}:is(.wr.anim,.wr .anim) .st-b .sc{animation:qp_b 2s steps(1,end) infinite,scroll 2s linear infinite}:is(.wr.anim,.wr .anim) .st-a .sc{animation:qp_a 2s steps(1,end) infinite,scroll 2s linear infinite}:is(.wr.anim,.wr .anim) .phd{animation:sweep 2s steps(120,end) infinite}:is(.wr.anim,.wr .anim) .ball.f60{animation:strobe 1s steps(60,end) infinite}:is(.wr.anim,.wr .anim) .ball.f30{animation:strobe 1s steps(30,end) infinite}:is(.wr.anim,.wr .anim) .wsweep{animation:wsweep 1s steps(60,end) infinite}:is(.wr.anim,.wr .anim) .cu{counter-reset:n var(--n)}:is(.wr.anim,.wr .anim) .cu>.v{visibility:hidden}:is(.wr.anim,.wr .anim) .cu::after{content:counter(n);position:absolute;right:0;top:0}:is(.wr.anim,.wr .anim) :is(.ticker,.slow){display:inline-flex}:is(.wr.anim,.wr .anim) :is(.wsweep,.phd){display:block}}
