:root {
  color-scheme: light dark;

  /* The dark palette is the fallback; browsers without light-dark() keep it. */
  --bg: #0a0c10;
  --glow-a: #0f4a52;
  --glow-b: #2b2266;
  --ink: #eef1f7;
  --muted: #9aa4b8;
  --faint: #8791a5;
  --hair: rgba(190, 205, 235, .14);
  --glass: rgba(26, 30, 40, .62);
  --glass-solid: #1a1e28;
  --glass-edge: rgba(0, 0, 0, .6);
  --glass-rim: rgba(255, 255, 255, .22);
  --glass-rim-far: rgba(255, 255, 255, .07);
  --glass-shade: rgba(0, 0, 0, .3);
  --glass-shadow: 0 14px 44px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .35);
  --glass-hover: rgba(255, 255, 255, .09);
  --green-ink: #30d158;
  --orange-ink: #ff9f0a;
  --red-ink: #ff453a;
  --btn: #30d158;
  --btn-ink: #04140a;
  --btn-glow: rgba(48, 209, 88, .35);
  --wall-base: #0b1022;
  --wall-a: rgba(10, 132, 255, .42);
  --wall-b: rgba(191, 90, 242, .3);
  --wall-c: rgba(48, 209, 88, .2);
  --code-bg: #0d1016;
}
@supports (color: light-dark(#000, #fff)) {
  :root {
    --bg: light-dark(#eef1f6, #0a0c10);
    --glow-a: light-dark(#c4e4ff, #0f4a52);
    --glow-b: light-dark(#e0d3ff, #2b2266);
    --ink: light-dark(#111623, #eef1f7);
    --muted: light-dark(#4f596c, #9aa4b8);
    --faint: light-dark(#5b6579, #8791a5);
    --hair: light-dark(rgba(20, 30, 60, .13), rgba(190, 205, 235, .14));
    --glass: light-dark(rgba(255, 255, 255, .7), rgba(26, 30, 40, .62));
    --glass-solid: light-dark(#fafbfd, #1a1e28);
    --glass-edge: light-dark(rgba(20, 30, 60, .14), rgba(0, 0, 0, .6));
    --glass-rim: light-dark(rgba(255, 255, 255, .95), rgba(255, 255, 255, .22));
    --glass-rim-far: light-dark(rgba(255, 255, 255, .5), rgba(255, 255, 255, .07));
    --glass-shade: light-dark(rgba(30, 40, 80, .1), rgba(0, 0, 0, .3));
    --glass-shadow: light-dark(0 10px 36px rgba(30, 40, 90, .12), 0 14px 44px rgba(0, 0, 0, .5));
    --glass-hover: light-dark(rgba(255, 255, 255, .9), rgba(255, 255, 255, .09));
    --green-ink: light-dark(#13803a, #30d158);
    --orange-ink: light-dark(#a35600, #ff9f0a);
    --red-ink: light-dark(#c4120a, #ff453a);
    --btn: light-dark(#14833b, #30d158);
    --btn-ink: light-dark(#fff, #04140a);
    --btn-glow: light-dark(rgba(20, 131, 59, .32), rgba(48, 209, 88, .35));
    --wall-base: light-dark(#27358a, #0b1022);
    --wall-a: light-dark(rgba(76, 201, 240, .62), rgba(10, 132, 255, .42));
    --wall-b: light-dark(rgba(155, 93, 229, .55), rgba(191, 90, 242, .3));
    --wall-c: light-dark(rgba(48, 209, 88, .3), rgba(48, 209, 88, .2));
  }
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

:root {
  /* The widget's own tones: the bars themselves are the same in both themes. */
  --g: #30d158;
  --o: #ff9f0a;
  --r: #ff453a;
  --out: cubic-bezier(.23, 1, .32, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", "PingFang SC", "Hiragino Sans", "Microsoft YaHei UI", "Malgun Gothic", sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Helvetica Neue", "PingFang SC", "Hiragino Sans", "Microsoft YaHei UI", "Malgun Gothic", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
:root[lang^="ja"] { --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif; --display: var(--font); }
:root[lang^="ko"] { --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; --display: var(--font); }
:root[lang^="zh"] { --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; --display: var(--font); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100vh;
  font: 17px/1.55 var(--font);
  color: var(--ink);
  background:
    radial-gradient(1000px 620px at 8% -8%, var(--glow-a), transparent 68%),
    radial-gradient(1000px 640px at 96% -12%, var(--glow-b), transparent 68%),
    var(--bg);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  padding: 0 0 env(safe-area-inset-bottom);
  overflow-x: hidden;
  overflow-x: clip;
}
:root[lang^="ja"] body { font-feature-settings: "palt"; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
code { font-family: var(--mono); }

a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible, .shots:focus-visible {
  outline: 2px solid var(--green-ink);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--btn);
  color: var(--btn-ink);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Glass ---------- */

.glass {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  backdrop-filter: blur(16px) saturate(1.8);
  box-shadow:
    0 0 0 .5px var(--glass-edge),
    inset 0 -6px 10px -8px var(--glass-shade),
    var(--glass-shadow);
}
/* The lit rim: brightest where light enters (top left) and where it leaves (bottom right). */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--glass-rim), transparent 32%, transparent 62%, var(--glass-rim-far));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .glass { background: var(--glass-solid); box-shadow: 0 0 0 1.5px var(--ink); }
}

/* ---------- Top bar ---------- */

/* The header's height, for the anchors' scroll-padding: always one row. */
:root { --header-h: 70px; }

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s;
}
.top.is-scrolled {
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border-bottom-color: var(--hair);
}
.top-in {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "brand tools";
  align-items: center;
  gap: 12px;
  padding-block: 12px;
}
/* The section nav needs the width; below it there is no nav, only the toggles and Download. */
@media (min-width: 1180px) {
  .top-in { grid-template-columns: 1fr auto 1fr; grid-template-areas: "brand nav tools"; }
}
.brand {
  grid-area: brand;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font: 650 1.05rem/1 var(--display);
  letter-spacing: -.01em;
  text-decoration: none;
}
.brand img { border-radius: 11px; }
.top .brand { padding-inline-end: 6px; }
.tools { grid-area: tools; justify-self: end; display: flex; align-items: center; gap: 8px; }

/* The section nav: the same glass, height and type as the theme button and the language pill. */
.snav {
  display: none;
  grid-area: nav;
  justify-self: center;
  min-width: 0;
  max-width: 100%;
  height: 44px;
  border-radius: 999px;
}
.snav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
  padding: 4px;
  border-radius: inherit;
}
@media (min-width: 1180px) { .snav { display: block; } }
.snav a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.snav a:hover { background: var(--glass-hover); }
.snav a[aria-current="true"] { color: var(--btn-ink); background: var(--btn); }
.snav a:focus-visible { outline-offset: -3px; }

.theme {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s;
}
.js .theme { display: grid; }
.theme:hover, .lang summary:hover { background: var(--glass-hover); }
.theme svg { transition: transform .5s var(--out); }
:root[data-theme="dark"] .theme svg { transform: rotate(180deg); }

.dl-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-ink);
  font-size: 14.5px;
  font-weight: 650;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 18px -8px var(--btn-glow);
  transition: filter .2s;
}
.dl-top:hover { filter: brightness(1.08); }
.dl-top:active { filter: brightness(.94); }

.flag {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .28), 0 1px 2px rgba(0, 0, 0, .18);
}
.lang { position: relative; z-index: 10; }
.lang summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding-inline: 12px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color .2s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary > svg:last-child { color: var(--muted); transition: transform .3s var(--out); }
.lang[open] summary > svg:last-child { transform: rotate(180deg); }
.lang ul {
  position: absolute;
  inset-inline-end: 0;
  top: 52px;
  width: min(452px, calc(100vw - 32px));
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-radius: 28px;
}
.lang.up ul { top: auto; bottom: 52px; }
.lang-foot { margin-top: 18px; display: inline-block; }
.lang-foot ul { inset-inline-start: 0; inset-inline-end: auto; }
.lang[open] ul { animation: fade .2s var(--out); }
@keyframes fade { from { opacity: 0; } }
.lang li a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 20px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}
.lang li a:hover { background: var(--glass-hover); }
/* A phone keeps the logo, the name, the two toggles and an icon-only Download; narrower, the name goes first. */
@media (max-width: 520px) {
  .top .lang summary { padding-inline: 11px; gap: 7px; }
  .top .lang summary > span { display: none; }
  .lang ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .dl-top { width: 44px; padding: 0; justify-content: center; }
  .dl-top span { display: none; }
}
@media (max-width: 369px) {
  .top .brand span { display: none; }
}

/* ---------- Layout ---------- */

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
section { margin-top: clamp(64px, 10vw, 128px); }
section > h2, .ses-copy > h2, .panel h2 {
  font: 720 clamp(1.7rem, 3.6vw, 2.6rem)/1.12 var(--display);
  letter-spacing: -.028em;
  text-wrap: balance;
}
:root[lang^="ja"] h1, :root[lang^="ko"] h1, :root[lang^="zh"] h1,
:root[lang^="ja"] h2, :root[lang^="ko"] h2, :root[lang^="zh"] h2 { letter-spacing: -.01em; line-height: 1.25; }
.lead { margin-top: 14px; max-width: 46em; font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--muted); text-wrap: pretty; }
.note { margin-top: 18px; max-width: 52em; font-size: 14px; color: var(--faint); text-wrap: pretty; }

/* A five-cell meter ahead of each heading, filled one cell further down the page. */
section > h2::before, .ses-copy > h2::before {
  content: "";
  display: block;
  width: 68px;
  height: 6px;
  margin-bottom: 18px;
  --n: 1;
  background: linear-gradient(90deg, var(--g) 0 calc(var(--n) * 14px - 2px), var(--hair) 0);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 12px, transparent 12px 14px);
  mask: repeating-linear-gradient(90deg, #000 0 12px, transparent 12px 14px);
  border-radius: 3px;
}
.look > h2 { --n: 1; }
.details > h2::before { --n: 2; }
.stats > h2::before, .ses-copy > h2::before { --n: 3; }
.install > h2::before, .update > h2::before { --n: 4; }
.end > h2::before { --n: 5; margin-inline: auto; }

/* ---------- Hero ---------- */

.hero {
  margin-top: clamp(20px, 4vw, 56px);
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.name { font: 680 1.15rem/1 var(--display); letter-spacing: -.015em; }
.ver {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.ver::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 8px var(--g); }
h1 {
  margin-top: 18px;
  max-width: 14em;
  font: 750 clamp(2.4rem, 6.2vw, 4.3rem)/1.04 var(--display);
  letter-spacing: -.036em;
  text-wrap: balance;
}
h1 .keep { display: inline-block; }
.sub { margin-top: 20px; max-width: 32em; font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.5; color: var(--muted); text-wrap: pretty; }

.cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 18px;
  background: var(--btn);
  color: var(--btn-ink);
  font-size: 17px;
  font-weight: 650;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 -8px 12px -8px rgba(0, 0, 0, .3),
    0 12px 28px -8px var(--btn-glow),
    0 2px 4px rgba(0, 0, 0, .18);
  transition: filter .2s, background-color .2s, box-shadow .2s;
}
@media (hover: hover) { .btn:hover { filter: brightness(1.07); } }
.btn:active { filter: brightness(.94); }
/* The button for the visitor's own system keeps the accent; the other steps back. */
[data-os="windows"] .btn-mac, [data-os="macos"] .btn-win {
  background: var(--glass);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--hair), 0 6px 20px -10px rgba(0, 0, 0, .3);
}
@media (hover: hover) {
  [data-os="windows"] .btn-mac:hover, [data-os="macos"] .btn-win:hover { filter: none; background: var(--glass-hover); }
}
@media (max-width: 520px) { .cta-row .btn { width: 100%; } }

.sys { margin-top: 16px; font-size: 14px; color: var(--faint); }
.trust { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; }
.trust li, .trust a { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--green-ink); }
.trust a { text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 4px; }
.trust a:hover { text-decoration-color: currentColor; }

.hero-art { width: 100%; max-width: 580px; justify-self: center; }
/* The desktop the widget sits on. Dark in both themes: the widget itself is. */
.stage {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 4vw, 34px);
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(70% 80% at 92% 6%, var(--wall-a), transparent 62%),
    radial-gradient(60% 70% at 4% 96%, var(--wall-b), transparent 62%),
    radial-gradient(80% 60% at 60% 120%, var(--wall-c), transparent 60%),
    var(--wall-base);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -36px rgba(8, 12, 40, .7);
}
.rings {
  position: absolute;
  z-index: -1;
  inset: -6% -10% auto auto;
  width: 78%;
  aspect-ratio: 1;
  opacity: .8;
}
.rings circle { fill: none; stroke-width: 12; transform: rotate(-90deg); transform-origin: 200px 200px; }
.r-track { stroke: rgba(255, 255, 255, .1); }
.r-five, .r-week { stroke-linecap: round; stroke-dasharray: 0 100; animation: ring 1.6s var(--out) .3s forwards; }
.r-five { stroke: var(--o); --to: 62; }
.r-week { stroke: var(--g); --to: 38; animation-delay: .5s; }
@keyframes ring { to { stroke-dasharray: var(--to) 100; } }

.card { position: relative; z-index: 2; width: min(76%, 372px); margin-inline-start: auto; filter: drop-shadow(0 24px 34px rgba(2, 6, 24, .55)); }

/* ---------- The status line sample ---------- */

.term {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: var(--code-bg);
  color: #cdd5e6;
  font: 12.5px/1.55 var(--mono);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 22px 50px -22px rgba(0, 0, 0, .8);
}
.stage .term { margin-top: -46px; max-width: 480px; margin-inline-end: auto; width: 100%; padding-top: 58px; }
.prompt { display: flex; gap: 10px; padding: 9px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.caret { color: var(--g); font-weight: 700; }
.status { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 2px 10px; color: #8d97ac; font-variant-numeric: tabular-nums; }
.status span { white-space: nowrap; }
.status i { font-style: normal; opacity: .4; }
@media (max-width: 560px) {
  .status { flex-direction: column; gap: 1px; }
  .status i { display: none; }
}

/* ---------- Two ways to look ---------- */

.look-grid { margin-top: 36px; display: grid; gap: 20px; }
.panel { position: relative; padding: clamp(22px, 3.4vw, 34px); border-radius: 30px; background: var(--glass); box-shadow: 0 0 0 .5px var(--glass-edge), var(--glass-shadow); }
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--glass-rim), transparent 32%, transparent 62%, var(--glass-rim-far));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.panel h3 { font: 680 1.3rem/1.2 var(--display); letter-spacing: -.015em; }
.panel > p { margin-top: 10px; color: var(--muted); text-wrap: pretty; }
.look .panel { display: flex; flex-direction: column; }
.panel .term { margin-top: auto; padding-top: 14px; font-size: 13px; }
.look .panel > p { margin-bottom: 24px; }
.log { display: grid; gap: 2px; margin-bottom: 14px; color: #8d97ac; }
.log span { white-space: pre-wrap; overflow-wrap: anywhere; }
.log b { color: var(--g); font-weight: 400; }

.wcard {
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  padding: 16px 20px 18px;
  border-radius: 24px;
  color: #f5f5f7;
  background: linear-gradient(160deg, #2c2f39, #171920 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 44px -20px rgba(0, 0, 0, .6);
  font-size: 14px;
}
.wc-head { display: flex; align-items: center; gap: 7px; color: rgba(235, 235, 245, .6); font-size: 13.5px; }
.wc-head b { color: rgba(235, 235, 245, .8); font-weight: 650; }
.wc-head em { margin-inline-start: auto; display: flex; gap: 10px; opacity: .8; }
.wc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--g); }
.wrow { --tone: var(--g); margin-top: 18px; }
.wrow[data-tone="orange"] { --tone: var(--o); }
.wrow[data-tone="red"] { --tone: var(--r); }
.wr-top { display: flex; align-items: baseline; justify-content: space-between; font-weight: 650; font-size: 15px; }
.wr-top b { color: var(--tone); font: 400 1.7rem/1 var(--display); font-variant-numeric: tabular-nums; transition: color .3s; }
.track { position: relative; margin-top: 9px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .13); }
.fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p);
  border-radius: 4px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--tone) 62%, transparent), var(--tone));
  box-shadow: 0 0 12px color-mix(in srgb, var(--tone) 50%, transparent);
  transition: width .25s var(--out), background .3s, box-shadow .3s;
}
/* The pages carry no inline styles (the CSP forbids them); app.js takes over --p from here. */
.fill[data-p="62"] { --p: 62%; }
.fill[data-p="38"] { --p: 38%; }
.pace { position: absolute; top: -3px; bottom: -3px; left: 53.3%; width: 2px; border-radius: 1px; background: #fff; }
.pace-week { left: 57.1%; }
.wr-note { margin-top: 8px; font-size: 12.5px; color: rgba(235, 235, 245, .55); }
.wr-run { margin-top: 2px; font-size: 12.5px; color: var(--o); }
.wrow[data-full] .wr-run { color: var(--r); }
.wr-run[hidden] { display: none; }

.clip { position: fixed; top: 0; opacity: 0; pointer-events: none; }
.control {
  margin-top: 20px;
  padding: 20px clamp(20px, 3vw, 30px);
  display: grid;
  gap: 16px 36px;
  align-items: center;
  border-radius: 26px;
  background: var(--glass);
  box-shadow: 0 0 0 .5px var(--glass-edge), var(--glass-shadow);
}
.try { display: none; }
.js .try { display: block; }
.try label { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
@media (min-width: 900px) {
  .control { grid-template-columns: minmax(0, 1fr) auto; }
  .try ~ .legend { justify-content: flex-end; }
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 28px;
  margin: 10px 0 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--g) 0 60%, var(--o) 60% 85%, var(--r) 85% 100%); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--g) 0 60%, var(--o) 60% 85%, var(--r) 85% 100%); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 3px 10px rgba(0, 0, 0, .4); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 3px 10px rgba(0, 0, 0, .4); }
input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(255, 255, 255, .22), 0 3px 10px rgba(0, 0, 0, .4); }
input[type="range"]:active::-moz-range-thumb { box-shadow: 0 0 0 6px rgba(255, 255, 255, .22), 0 3px 10px rgba(0, 0, 0, .4); }
input[type="range"]:focus-visible { outline-offset: 6px; border-radius: 6px; }

.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--g); }
.legend li[data-tone="orange"]::before { background: var(--o); }
.legend li[data-tone="red"]::before { background: var(--r); }

/* ---------- Stats view ---------- */

.shots {
  margin-top: 34px;
  padding: clamp(20px, 3.6vw, 44px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  border-radius: 34px;
  background:
    radial-gradient(60% 70% at 100% 0%, var(--wall-a), transparent 62%),
    radial-gradient(60% 80% at 0% 100%, var(--wall-b), transparent 62%),
    radial-gradient(70% 50% at 55% 110%, var(--wall-c), transparent 60%),
    var(--wall-base);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -36px rgba(8, 12, 40, .7);
}
.shot img { width: 100%; filter: drop-shadow(0 22px 28px rgba(2, 6, 24, .5)); }
.shot figcaption { margin-bottom: 18px; display: flex; flex-direction: column; gap: 2px; text-align: center; color: rgba(245, 247, 255, .72); font-size: 14.5px; text-wrap: balance; }
.shot figcaption b { color: #fff; font-size: 16px; }
@media (max-width: 860px) {
  .shots {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78%, 330px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .shot { scroll-snap-align: center; }
}

/* ---------- Small things ---------- */

.details .grid { margin-top: 36px; display: grid; gap: 14px; }
.details li { padding: 22px 22px 24px; border-radius: 24px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--hair); }
.d-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 14px; color: var(--green-ink); background: color-mix(in srgb, var(--g) 14%, transparent); }
.details h3 { font: 670 1.08rem/1.25 var(--display); letter-spacing: -.01em; }
.details p { margin-top: 6px; font-size: 15px; color: var(--muted); text-wrap: pretty; }

/* ---------- Install ---------- */

.os-grid { margin-top: 32px; display: grid; gap: 20px; }
.os { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 3.4vw, 32px); border-radius: 30px; background: var(--glass); box-shadow: 0 0 0 .5px var(--glass-edge), var(--glass-shadow); }
.os h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font: 690 1.3rem/1.2 var(--display); letter-spacing: -.015em; }
.yours { display: none; padding: 3px 11px; border-radius: 999px; font: 600 12px/1.5 var(--font); letter-spacing: 0; color: var(--btn-ink); background: var(--btn); }
[data-os="windows"] .os-win .yours, [data-os="macos"] .os-mac .yours { display: inline-block; }
[data-os="windows"] .os-win, [data-os="macos"] .os-mac { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--g) 70%, transparent), var(--glass-shadow); }
.os ol, .mini { margin-top: 20px; display: grid; gap: 18px; counter-reset: step; }
.os ol > li, .mini > li { position: relative; padding-inline-start: 42px; counter-increment: step; color: var(--ink); }
.os ol > li::before, .mini > li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font: 700 13px/1 var(--font);
  color: var(--green-ink);
  background: color-mix(in srgb, var(--g) 14%, transparent);
}
.os ol > li > span { display: block; color: var(--muted); text-wrap: pretty; }
.os ol > li:last-child > span { color: var(--ink); }

/* A command is centred in its block, one line or several, and the button beside it too. */
.cmd {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 14px;
  background: var(--code-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.cmd code { flex: 1; min-width: 0; padding: 12px 6px 12px 14px; font-size: 13px; line-height: 1.5; color: #d6deef; user-select: all; }
/* A command wraps between its words, never inside an option. */
.cmd code span { white-space: nowrap; }
.copy {
  display: none;
  flex: none;
  align-items: center;
  gap: 7px;
  margin: 5px;
  padding: 0 12px;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  font: 600 13px/1 var(--font);
  color: #d6deef;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.js .copy { display: inline-flex; }
.copy:hover { background: rgba(255, 255, 255, .16); }
.copy .ci { display: inline-flex; }
.copy .i-done { display: none; }
.copy.is-done .i-copy { display: none; }
.copy.is-done .i-done { display: inline-flex; }
.copy.is-done { color: #04140a; background: var(--g); }
.copy:focus-visible { outline-color: #fff; }
@media (max-width: 520px) {
  .copy { width: 40px; padding: 0; justify-content: center; }
  .copy .lbl { display: none; }
}

.cmd-row { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 10px; }
.cmd-row .cmd { margin-top: 0; }
.os-tag { font-size: 13px; font-weight: 650; color: var(--muted); }
@media (max-width: 520px) { .cmd-row { grid-template-columns: 1fr; gap: 6px; } }

/* "Only what you need": the text, and the two commands beside it. */
.only { margin-top: 20px; display: grid; gap: 22px; align-items: center; }
.only h3 { font: 680 1.3rem/1.2 var(--display); letter-spacing: -.015em; }
.only-copy p { margin-top: 10px; color: var(--muted); text-wrap: pretty; }
.only-cmds, .cmds { display: grid; gap: 14px; }
.cmds .fine { margin-top: 2px; padding-top: 14px; }

/* ---------- Update and uninstall ---------- */

.stack .panel h3 { font-size: 1.45rem; }
.p-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 16px; color: var(--green-ink); background: color-mix(in srgb, var(--g) 14%, transparent); }
.fine { font-size: 14px; color: var(--faint); }
.panel .fine { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hair); }
/* Update and uninstall are two wide rows: the words on one side, the demonstration or the commands on the other. */
.stack { margin-top: 36px; display: grid; gap: 20px; }
.upd, .uni { display: grid; gap: 28px; align-items: center; }
.pc > p { margin-top: 10px; color: var(--muted); text-wrap: pretty; }
.upd .mini { margin-top: 22px; }
.mini > li { color: var(--muted); }
.mini > li:last-child { color: var(--ink); }

/* A drawn demonstration of the widget's update cue: a dot on the refresh button, an item in the menu. */
.upd-art {
  margin-top: 0;
  padding: 14px 16px 16px;
  border-radius: 22px;
  color: #f5f5f7;
  background: linear-gradient(160deg, #2c2f39, #171920 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 44px -24px rgba(0, 0, 0, .6);
  font-size: 13.5px;
}
.mhead { display: flex; align-items: center; gap: 7px; color: rgba(235, 235, 245, .6); }
.mhead b { color: rgba(235, 235, 245, .8); font-weight: 650; }
.mhead em { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; font-style: normal; opacity: .85; }
.rf { position: relative; display: inline-flex; }
.ubadge { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #64d2ff; box-shadow: 0 0 0 2px #2a2c34; }
.rf .ubadge { position: absolute; top: -3px; inset-inline-end: -4px; }
.mtip { margin: 10px 0 0; margin-inline-start: auto; width: max-content; max-width: 100%; padding: 6px 10px; border-radius: 8px; font-size: 12px; color: #e9e9f0; background: #1b1c22; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.mmenu { margin-top: 10px; padding: 6px; border-radius: 12px; background: #1f2128; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 14px 30px -14px rgba(0, 0, 0, .7); }
.mi { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #ececf1; }
.mi .ubadge { margin: 3px; }
.mi-new { color: #fff; background: rgba(100, 210, 255, .15); }
.mi-dim { padding-inline-start: 34px; color: rgba(235, 235, 245, .5); }
.mchk { position: relative; flex: none; width: 14px; height: 14px; }
.mchk::after { content: ""; position: absolute; left: 4px; top: 0; width: 5px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- Privacy, requirements, numbers ---------- */

.facts { display: grid; gap: 20px; }
.facts .panel h2 { font-size: clamp(1.3rem, 2.2vw, 1.55rem); }
.ticks { margin-top: 16px; display: grid; gap: 12px; color: var(--muted); }
.ticks li { position: relative; padding-inline-start: 28px; text-wrap: pretty; }
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .42em;
  width: 16px;
  height: 16px;
  background: var(--green-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 10.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 10.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Sessions ---------- */

.sessions { display: grid; gap: 32px; align-items: center; }
.ses-copy .lead { max-width: 30em; }
.ses-art { align-items: center; }
.ses-art img { width: min(100%, 340px); filter: drop-shadow(0 22px 28px rgba(2, 6, 24, .5)); }

/* ---------- Closing call ---------- */

.end {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(44px, 7vw, 88px) clamp(20px, 5vw, 56px);
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(60% 90% at 100% 0%, var(--wall-a), transparent 62%),
    radial-gradient(60% 80% at 0% 100%, var(--wall-b), transparent 62%),
    radial-gradient(70% 60% at 50% 120%, var(--wall-c), transparent 60%),
    var(--wall-base);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -36px rgba(8, 12, 40, .7);
}
.end > h2::before { margin-inline: auto; }
.end p { margin-top: 12px; max-width: 34em; color: rgba(240, 244, 255, .78); font-size: 1.1rem; text-wrap: balance; }
.end .sys { margin-top: 18px; font-size: 14px; color: rgba(240, 244, 255, .6); }
.end .cta-row { justify-content: center; }
/* Kept to the corner, clear of the centred text. */
.end-rings { position: absolute; z-index: -1; inset: auto auto -26% -9%; width: clamp(190px, 27%, 330px); aspect-ratio: 1; opacity: .7; }
.end-rings circle { fill: none; stroke-width: 12; transform: rotate(-90deg); transform-origin: 200px 200px; }
.end-rings .r-track { stroke: rgba(255, 255, 255, .1); }
.e-five, .e-week { stroke-linecap: round; }
.e-five { stroke: var(--o); stroke-dasharray: 62 100; }
.e-week { stroke: var(--g); stroke-dasharray: 38 100; }

/* ---------- Footer ---------- */

.foot { margin-top: clamp(56px, 8vw, 104px); padding: clamp(36px, 6vw, 60px) 0 36px; border-top: 1px solid var(--hair); }
.foot-in { display: grid; gap: 32px 24px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand .brand { font-size: 1.15rem; }
.tag { margin-top: 14px; max-width: 24em; font-size: 14.5px; color: var(--muted); text-wrap: balance; }
.fver { margin-top: 12px; font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.fh { margin-bottom: 12px; font: 650 12.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.foot-in .fcol ul { display: grid; gap: 2px; }
.foot-in .fcol a { display: inline-block; padding: 6px 0; font-size: 15px; color: var(--muted); text-decoration: none; transition: color .2s; }
.foot-in .fcol a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-base { margin-top: 36px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; border-top: 1px solid var(--hair); font-size: 13.5px; color: var(--faint); }
.legal { max-width: 40em; font-size: 12.5px; text-wrap: balance; }
@media (min-width: 900px) {
  .foot-in { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .foot-brand { grid-column: auto; }
}

/* ---------- Wider screens ---------- */

@media (min-width: 620px) {
  .details .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .look-grid, .os-grid { grid-template-columns: 1fr 1fr; }
  .upd, .uni { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; }
  .details .grid { grid-template-columns: repeat(3, 1fr); }
  .sessions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .only { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; }
}
@media (min-width: 700px) and (max-width: 1059px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts .panel:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1060px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .r-five, .r-week, .lang[open] ul { animation: none; }
  .r-five, .r-week { stroke-dasharray: var(--to) 100; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Wide screens: the three screenshots start on one line even when a caption runs to two. */
@media (min-width: 861px) {
  @supports (grid-template-rows: subgrid) {
    .shots { grid-template-rows: auto auto; row-gap: 0; }
    .shot { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
  }
}

/* CJK headlines are wider per character: smaller, and Japanese breaks between phrases, not inside one. */
:root[lang^="ja"] h1, :root[lang^="zh"] h1, :root[lang^="ko"] h1 { font-size: clamp(2.1rem, 4.7vw, 3.5rem); }
:root[lang^="ja"] body { word-break: auto-phrase; line-break: strict; }
:root[lang^="zh"] body { line-break: strict; }
