/*
 * Afaron: the website, told the way the film tells it (总-分-总). A question, the five things an
 * agent waits for you for, today's cloud answer, then your own Mac and the same five ticked off.
 *
 * The look is daylight (marketing/品牌-Afaron/README.md): a pale sky above warm paper, ink type,
 * and one lime light that is "on". Lime is never a text colour: it is a highlighter under words,
 * the fill of a button or a pill (with ink words and an ink hairline), or a small lit dot. A
 * deeper green of the same family marks punctuation, ticks and numbers. The part about the problem
 * is a cooler, overcast band. Bricolage Grotesque, set narrow, for headlines and labels; Noto Sans
 * SC (a subset of the glyphs on this page) for Chinese headlines.
 *
 * One page width, one spacing step between sections, one radius for every panel, and every block
 * starts on the same left edge.
 */

@font-face {
  font-family: 'Bricolage';
  src: url('/fonts/bricolage-grotesque-wdth.woff2') format('woff2');
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

/* Only the Chinese characters and punctuation on this site; Latin stays with Bricolage. */
@font-face {
  font-family: 'Noto SC';
  src: url('/fonts/noto-sans-sc-subset.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2E80-2FFF, U+3000-303F, U+3400-4DBF, U+4E00-9FFF, U+FF00-FFEF;
}

:root {
  color-scheme: light;
  --sky: #e2eaec;
  --paper: #f5f4ee;
  /* The solid colour of bars that stay on screen (the top bar, the checklist). */
  --ground: #f3f4ef;
  --ground-cold: #e6eaed;
  --line: rgb(19 22 20 / 0.1);
  --line-2: rgb(19 22 20 / 0.18);
  --fill: rgb(255 255 255 / 0.62);
  --card: #fbfbf8;
  /* Ink, and two quieter inks (8.4 : 1 and 5.6 : 1 on the paper; 5 : 1 on the sky for the quietest). */
  --bone: #131614;
  --bone-2: #454c47;
  --bone-3: #5d645f;
  /* The light: never a text colour. */
  --signal: #d4ff3a;
  --signal-ink: #131614;
  /* Its deeper green: punctuation, ticks, numbers. The darker one is for small text (5.8 : 1). */
  --green: #4c7d0c;
  --green-ink: #3f6a08;
  --claude: #c2410c;
  --codex: #0369a1;
  --cold: #4f6178;
  --cold-line: rgb(79 97 120 / 0.2);
  --warn: #b4321f;
  --key: #946200;
  /* A soft daylight shadow, for things that stand on the page. */
  --lift: 0 30px 60px -34px rgb(32 44 38 / 0.32), 0 2px 6px -2px rgb(32 44 38 / 0.08);
  --display: 'Bricolage', 'Noto SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --text: 'Bricolage', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto SC', system-ui, sans-serif;
  /* Small labels are the text face in capitals now; codes (a license key, an address) a plain mono. */
  --pixel: var(--text);
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 4vw, 40px);
  --page: min(1120px, 100% - 2 * var(--gutter));
  --block: clamp(88px, 10vw, 136px);
  --gap: clamp(28px, 3vw, 40px);
  --r: 18px;
  --top: 56px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top) + 24px);
  background:
    radial-gradient(52rem 30rem at 92% -6rem, rgb(212 255 58 / 0.2), transparent 70%),
    linear-gradient(180deg, var(--sky) 0, var(--paper) 62rem) var(--paper) no-repeat;
}
body {
  margin: 0;
  background: transparent;
  color: var(--bone);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* clip, not hidden: "hidden" makes the body a scroll container, and the top bar and the
     checklist (position: sticky) would then stop sticking. */
  overflow-x: clip;
}
main {
  display: block;
  overflow-x: clip;
}

/* One language at a time. */
html[data-lang='zh'] .en,
html:not([data-lang='zh']) .zh {
  display: none !important;
}

a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
picture {
  display: block;
}
figure {
  margin: 0;
}
/* (English only: Safari's "pretty" ends Chinese lines three characters short of the edge on average.) */
:where(html:not([data-lang='zh'])) :is(p, li, dd, figcaption, summary) {
  text-wrap: pretty;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 60;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--signal);
  color: var(--signal-ink);
  box-shadow: inset 0 0 0 1.5px var(--bone);
}
.skip:focus {
  left: 12px;
}
:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 3px;
  border-radius: 6px;
}

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

/* Small labels: the text face in spaced capitals for English; for Chinese the same face, a little
   larger and without capitals. */
.eyebrow,
.scene-n,
.tag,
.lang button,
.mac-tag,
.pain-tag,
.rail-count {
  font-family: var(--pixel);
  font-size: 11.5px;
  font-weight: 640;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.5;
}
html[data-lang='zh'] :is(.eyebrow, .scene-n, .tag, .mac-tag, .pain-tag) > span,
html[data-lang='zh'] .tag {
  font-family: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
}

/* "01 —— Why you can't leave the desk" */
.eyebrow,
.scene-n {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--bone-2);
}
.eyebrow {
  margin-bottom: 16px;
}
.eyebrow b,
.scene-n b {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-ink);
  font-family: var(--pixel);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.eyebrow b::after {
  content: '';
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.tag {
  margin: 0 0 12px;
  color: var(--bone-3);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 720;
  font-stretch: 82%;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
h1 .line,
h2 .line {
  display: block;
}
/* A Chinese phrase that should not be broken across lines; lines break between them. */
.w {
  display: inline-block;
}
/* The end of a paragraph, kept on one line by lang.js: no character alone on a last line. */
.tail,
.tail * {
  white-space: nowrap !important;
}
/* (Drawn as an underline, which lies under the letters: a background would give the word a box as
   tall as the font, reaching into the line above in a tightly set headline.) */
h2 em {
  font-style: normal;
  text-decoration: underline var(--signal);
  text-decoration-thickness: 0.36em;
  text-underline-offset: -0.3em;
  text-decoration-skip-ink: none;
}
/* Punctuation that carries the line (the opening question's mark) is the deeper green. */
.mark {
  font-weight: inherit;
  color: var(--green);
}
h2 {
  max-width: 17em;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.02;
}
h3 {
  font-size: 19px;
  line-height: 1.28;
  font-stretch: 86%;
  letter-spacing: -0.01em;
}
html[data-lang='zh'] :is(h1, h2, h3) {
  font-weight: 720;
  font-stretch: 92%;
  letter-spacing: 0;
}
html[data-lang='zh'] h2 {
  font-size: clamp(27px, 3.1vw, 42px);
  line-height: 1.3;
}
html[data-lang='zh'] h3 {
  font-weight: 680;
  line-height: 1.42;
}
sup {
  line-height: 0;
}
sup a {
  margin-left: 2px;
  color: var(--green-ink);
  text-decoration: none;
  font-family: var(--pixel);
  font-size: 10px;
}

/* Captions under pictures and the film: small, quiet, honest about what is real. */
.note {
  margin: 12px 0 0;
  color: var(--bone-3);
  font-size: 12.5px;
  line-height: 1.5;
}

/* --- top bar --------------------------------------------------------------------------------- */

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  /* Solid: Safari lets a bright picture scrolling underneath show through a translucent bar. */
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 24px;
  width: var(--page);
  height: var(--top);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  border-radius: 6px;
}
.brand-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 760;
  font-stretch: 86%;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 560;
}
.nav a {
  color: var(--bone-2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--bone);
}
html[data-lang='zh'] .nav {
  font-size: 14px;
  letter-spacing: 0.02em;
}
.lang {
  display: flex;
  padding: 2px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
}
.lang button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  background: transparent;
  color: var(--bone-2);
  letter-spacing: 0.06em;
  cursor: pointer;
}
.lang button[lang] {
  font-family: var(--text);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.lang button[aria-pressed='true'] {
  background: var(--bone);
  color: var(--ground);
}

/* --- shared: the checkbox of the film -------------------------------------------------------- */

.box {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--bone-3);
  border-radius: 7px;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.6s var(--ease);
}
.box svg {
  width: 80%;
  height: 80%;
  fill: none;
  stroke: var(--signal-ink);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  transition: stroke-dashoffset 0.45s 0.12s var(--ease);
}
.is-done > .box {
  border-color: var(--bone);
  background: var(--signal);
}
.is-done > .box svg {
  stroke-dashoffset: 0;
}

/* --- sections: one width, one step between them ---------------------------------------------- */

.hero,
.block,
.five-head,
.scenes,
.closing,
.foot-in {
  width: var(--page);
  margin-left: auto;
  margin-right: auto;
}
.block {
  padding-top: var(--block);
}

/* --- the opening ----------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(44px, 6vw, 84px);
}
/* The light of the film's end card, behind the title. */
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -120px;
  width: max(1400px, 140%);
  height: 1000px;
  translate: -50% 0;
  pointer-events: none;
  background:
    radial-gradient(30% 34% at 84% 10%, rgb(212 255 58 / 0.16), transparent 70%),
    radial-gradient(46% 40% at 40% 60%, rgb(255 255 255 / 0.5), transparent 72%);
}
.kicker {
  max-width: 36em;
  margin: 0 0 18px;
  color: var(--bone-2);
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  line-height: 1.5;
}
h1 {
  font-size: clamp(42px, 6.4vw, 90px);
  line-height: 0.98;
  letter-spacing: -0.026em;
  font-stretch: 80%;
  font-weight: 740;
}
html[data-lang='zh'] h1 {
  font-size: clamp(38px, 6vw, 84px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  font-weight: 760;
}

/* The question, its answer under a highlighter, and the app on a phone beside them. */
.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 290px);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}
.hero-sub {
  margin: clamp(20px, 2.4vw, 30px) 0 0;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 740;
  font-stretch: 84%;
  line-height: 1.32;
  letter-spacing: -0.012em;
}
html[data-lang='zh'] .hero-sub {
  font-size: clamp(21px, 2.5vw, 34px);
  font-stretch: 92%;
  letter-spacing: 0;
}
/* The highlighter: lime laid under the lower half of the words, ink on top. */
/* (Each sentence stays whole: on a phone they take a line each.) */
.hl {
  white-space: nowrap;
  background: linear-gradient(180deg, transparent 52%, var(--signal) 52%, var(--signal) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: clamp(26px, 3vw, 38px) 0 0;
}
.hero-actions .button {
  min-height: 48px;
  padding: 0 24px;
  font-size: 16px;
}
.hero-free {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bone-2);
  font-size: 15px;
  font-weight: 600;
}
/* A lit dot: the light that is on. */
.hero-free::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 1.5px var(--bone);
}
.hero-phone {
  margin: 0;
}
.hero-phone .phone {
  width: 100%;
}
.hero-phone .note {
  margin-top: 14px;
  text-align: center;
  text-wrap: balance;
}
.plan-glyph {
  width: 44px;
  height: 32px;
  fill: none;
  stroke: var(--bone);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.plan-glyph .lit {
  fill: var(--signal);
  stroke: var(--bone);
  stroke-width: 1.4;
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  margin-top: clamp(30px, 3.4vw, 44px);
  border-top: 1px solid var(--line-2);
}
.hero-row > * {
  margin: 0;
  padding: 22px 28px 0 0;
}
.hero-row > .point {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.lede {
  max-width: 30em;
  color: var(--bone-2);
  font-size: 16.5px;
  line-height: 1.6;
}
.point-icon {
  display: flex;
  align-items: center;
  height: 30px;
  margin: 0 0 14px;
}
.marks i {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-style: normal;
}
.marks i + i {
  margin-left: -5px;
  box-shadow: 0 0 0 3px var(--paper);
}
.m-claude {
  background: #fbeee7;
  border: 1px solid rgb(194 65 12 / 0.28);
}
.m-claude svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--claude);
  stroke-width: 2.4;
  stroke-linecap: round;
}
.m-codex {
  background: #e6f1f8;
  border: 1px solid rgb(3 105 161 / 0.28);
  color: var(--codex);
  font-family: var(--pixel);
  font-size: 12px;
  letter-spacing: -0.04em;
}
.devices-glyph {
  width: 58px;
  height: 29px;
  fill: none;
  stroke: var(--bone);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.point-title {
  max-width: none;
  font-family: var(--text);
  font-size: 17px;
  font-weight: 650;
  font-stretch: 100%;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
html[data-lang='zh'] .point-title {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
.point-text {
  margin: 6px 0 0;
  color: var(--bone-2);
  font-size: 15px;
  line-height: 1.55;
}

/* The film, with a play button of ours on its poster (JavaScript only; otherwise the browser's). */
.film {
  margin-top: clamp(36px, 4vw, 52px);
}
.film-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: #000;
  box-shadow: var(--lift);
}
.film-frame video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: cover;
}
.play {
  position: absolute;
  left: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 7px 18px 7px 7px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: rgb(16 16 14 / 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #f3f4ef;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.35s var(--ease);
}
.play[hidden] {
  display: none;
}
.play:hover {
  background: rgb(26 26 22 / 0.75);
  transform: translateY(-1px);
}
.play i {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 1.5px var(--bone);
}
.play i::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 11px;
  width: 12px;
  height: 14px;
  background: var(--signal-ink);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.play small {
  color: rgb(243 244 239 / 0.75);
  font-family: var(--pixel);
  font-size: 11.5px;
  font-weight: 400;
}
.film-note {
  max-width: 60em;
}

/* --- the cold part: why you can't leave, and the cloud --------------------------------------- */

.night {
  position: relative;
  background: linear-gradient(180deg, rgb(230 234 237 / 0) 0, var(--ground-cold) 200px, var(--ground-cold) calc(100% - 240px), rgb(230 234 237 / 0) 100%);
}
.night::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 26% at 84% 30%, rgb(255 255 255 / 0.45), transparent 70%),
    radial-gradient(36% 22% at 12% 72%, rgb(255 255 255 / 0.35), transparent 70%);
}
.night > * {
  position: relative;
  z-index: 1;
}
.night .eyebrow b {
  color: var(--cold);
}

.pains {
  margin: var(--gap) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--cold-line);
}
/* The same columns on every row, so the five line up. */
.pain {
  display: grid;
  grid-template-columns: 24px 8.5em minmax(0, 1fr) 10.5em;
  align-items: center;
  gap: 0 28px;
  padding: 17px 0;
  border-bottom: 1px solid var(--cold-line);
}
.pain .box {
  border-color: rgb(79 97 120 / 0.55);
}
.pain p {
  margin: 0;
}
.pain-label {
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.15;
}
.pain-text {
  color: var(--bone-2);
  font-size: 16.5px;
  line-height: 1.5;
}
.pain-tag {
  justify-self: end;
  padding: 3px 10px;
  border: 1px solid rgb(79 97 120 / 0.3);
  border-radius: 999px;
  color: var(--cold);
  white-space: nowrap;
}
html[data-lang='zh'] .pain-tag > span {
  font-size: 12px;
}

.cloud {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--gap) clamp(32px, 5vw, 72px);
  padding-bottom: calc(var(--block) * 0.55);
}
.cloud-but,
.cloud-cost {
  max-width: 25em;
  margin: 22px 0 0;
  font-size: clamp(16.5px, 1.45vw, 19px);
  line-height: 1.5;
  text-wrap: balance;
}
.cloud-but {
  color: var(--bone-2);
}
.cloud-cost {
  margin-top: 10px;
  color: var(--warn);
}
.cloud-art {
  justify-self: end;
  width: min(100%, 500px);
}
.cloud-art svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.c-cloud {
  fill: url(#cloud-fill);
  stroke: rgb(79 97 120 / 0.45);
  stroke-width: 1.5;
}
.c-over {
  fill: var(--cold);
  font-family: var(--pixel);
  font-size: 13px;
  letter-spacing: 0.14em;
}
html[data-lang='zh'] .c-over {
  font-family: var(--text);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.c-screen {
  fill: #fbfcfc;
  stroke: rgb(79 97 120 / 0.5);
  stroke-width: 1.5;
}
.c-stand {
  fill: none;
  stroke: rgb(79 97 120 / 0.45);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.c-slot rect {
  fill: rgb(79 97 120 / 0.04);
  stroke: rgb(79 97 120 / 0.4);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
}
.c-slot path {
  stroke: var(--warn);
  stroke-width: 2.2;
  stroke-linecap: round;
}
.c-slot text {
  fill: #3b4a5c;
  font-family: var(--text);
  font-size: 14px;
}
.c-trail {
  fill: none;
  stroke: rgb(148 98 0 / 0.45);
  stroke-width: 1.5;
  stroke-dasharray: 2 6;
  stroke-linecap: round;
}
.c-key {
  fill: none;
  stroke: var(--key);
  stroke-width: 2.6;
  stroke-linecap: round;
  transform: translate(70px, 404px);
  animation: key-in 3.6s var(--ease) infinite;
}
@keyframes key-in {
  0% {
    transform: translate(54px, 410px) rotate(-30deg);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translate(170px, 330px) rotate(-62deg) scale(0.7);
    opacity: 0;
  }
}
.c-you {
  fill: var(--key);
  font-family: var(--text);
  font-size: 15px;
}

/* --- the turn: your own Mac. The light comes up. ---------------------------------------------- */

.turn {
  position: relative;
  text-align: center;
}
.turn .eyebrow {
  justify-content: center;
}
.dawn {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -120px;
  width: max(1500px, 150%);
  height: 1200px;
  translate: -50% 0;
  pointer-events: none;
  background:
    radial-gradient(34% 28% at 50% 26%, rgb(255 255 255 / 0.7), transparent 70%),
    radial-gradient(46% 38% at 50% 34%, rgb(212 255 58 / 0.16), transparent 72%);
}
.js .dawn.reveal {
  opacity: 0;
  transform: none;
  transition: opacity 2.4s ease;
}
.js .dawn.reveal.in {
  opacity: 1;
}
.turn h2 {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(36px, 5.2vw, 74px);
  line-height: 0.98;
}
html[data-lang='zh'] .turn h2 {
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.2;
}
.turn-lede {
  max-width: 32em;
  margin: 20px auto 0;
  color: var(--bone-2);
  font-size: clamp(16.5px, 1.45vw, 19px);
  line-height: 1.55;
  text-wrap: balance;
}

/* A laptop's browser, a tablet and a phone, each showing the same session list. */
.devices {
  width: min(880px, 100%);
  margin: clamp(36px, 4.4vw, 56px) auto 0;
}
.stage {
  position: relative;
  padding-top: 57%;
}
.laptop,
.tablet,
.phone {
  container-type: inline-size;
}
.laptop {
  position: absolute;
  left: 3%;
  top: 0;
  width: 70%;
}
.laptop-screen {
  padding: 1.5cqw 1.5cqw 2cqw;
  border-radius: 2.6cqw 2.6cqw 0.8cqw 0.8cqw;
  background: linear-gradient(180deg, #1b1b1d, #0e0e10);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.08),
    var(--lift);
}
.laptop-screen img {
  width: 100%;
  height: auto;
  border-radius: 0.6cqw;
}
.laptop::after {
  content: '';
  display: block;
  height: 2.4cqw;
  margin: 0 -6.5%;
  border-radius: 0 0 2.6cqw 2.6cqw;
  background: linear-gradient(180deg, #4a4a4f, #232326 40%, #141416);
  box-shadow: 0 24px 40px -22px rgb(32 44 38 / 0.45);
}
.tablet {
  position: absolute;
  right: 11%;
  bottom: 4%;
  width: 41%;
  padding: 2.4cqw;
  border-radius: 5cqw;
  background: linear-gradient(160deg, #232326, #0f0f11 55%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.09),
    var(--lift);
}
.tablet img {
  width: 100%;
  height: auto;
  border-radius: 2.8cqw;
}
.devices .phone-s {
  position: absolute;
  right: 1%;
  bottom: 0;
  width: 17%;
}
.devices-note {
  max-width: 40em;
  margin: 20px auto 0;
  text-wrap: balance;
}

/* A phone: a neutral frame around a real capture of the app. */
.phone-screen {
  padding: 2.8cqw;
  border-radius: 15cqw;
  background: linear-gradient(150deg, #2e2d31, #121214 42%, #1d1c20);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.1),
    0 0 0 1px rgb(0 0 0 / 0.5),
    var(--lift);
}
.phone-screen picture {
  position: relative;
  overflow: hidden;
  padding: 8.5cqw 0 6cqw;
  border-radius: 12.4cqw;
  background: #0d0c0b;
}
.phone-screen picture::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 2.4cqw;
  width: 25cqw;
  height: 6.4cqw;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #000;
}
.phone-screen picture::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2.2cqw;
  width: 34cqw;
  height: 1.3cqw;
  transform: translateX(-50%);
  border-radius: 99px;
  background: rgb(239 233 221 / 0.55);
}
.phone-screen img {
  width: 100%;
  height: auto;
}

/* --- the same five, ticked off ---------------------------------------------------------------- */

.five {
  padding-top: var(--block);
}
.five-body {
  margin-top: var(--gap);
}
/* The checklist rides along under the top bar while the five go by. */
.rail {
  position: sticky;
  top: var(--top);
  z-index: 20;
  background: var(--ground);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rail-in {
  display: flex;
  align-items: center;
  gap: 24px;
  width: var(--page);
  height: 52px;
  margin: 0 auto;
}
.rail-list {
  display: flex;
  gap: clamp(16px, 2.8vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.rail-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--bone-3);
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 700;
  font-stretch: 86%;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.4s var(--ease);
}
.rail-list .box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}
.rail-list .box svg {
  stroke-width: 3.6;
}
.rail-list li.is-done {
  color: var(--bone-2);
}
.rail-list li.is-now {
  color: var(--bone);
}
.rail-count {
  margin: 0 0 0 auto;
  color: var(--bone-3);
}
.rail-count b {
  color: var(--green-ink);
  font-weight: 400;
}

/* Two to a row. Each scene is its words over a picture; the words share a row height with their
   neighbour's (subgrid), so the two pictures start on the same line. */
.scenes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 6vw, 80px) var(--gap);
  margin-top: clamp(40px, 4.4vw, 56px);
}
.scene {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  row-gap: 0;
}
.scene-copy {
  padding-bottom: 22px;
}
.scene h3 {
  margin-top: 12px;
  font-size: clamp(20px, 1.75vw, 24px);
  line-height: 1.24;
  letter-spacing: -0.012em;
}
html[data-lang='zh'] .scene h3 {
  line-height: 1.45;
  letter-spacing: 0;
}
.scene-copy > p:last-child:not(.scene-n) {
  max-width: 34em;
  margin: 8px 0 0;
  color: var(--bone-2);
  font-size: 15.5px;
  line-height: 1.55;
}

/* The picture: a panel of one size, the phone in it at one size. */
.panel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 6 / 5;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    radial-gradient(80% 64% at 50% 0%, #ffffff, transparent 72%),
    linear-gradient(180deg, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.35));
}
.panel .phone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40%;
  translate: -50% -50%;
}
/* Where there is a crop of the Mac's screen, the phone moves left to make room for it. */
.art-mail .phone,
.art-chat .phone,
.art-form .phone,
.art-login .phone {
  left: 30%;
}
.mac {
  position: absolute;
  z-index: 2;
  right: 6%;
  overflow: hidden;
  border-radius: 10px;
  background: #f1ede6;
  box-shadow:
    0 0 0 1px rgb(19 22 20 / 0.14),
    var(--lift);
}
.mac img {
  width: 100%;
  height: auto;
}
.mac-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 11px;
  background: #eceee9;
  border-bottom: 1px solid var(--line);
  color: var(--bone-2);
  font-size: 10px;
  white-space: nowrap;
}
html[data-lang='zh'] .mac-tag > span {
  font-size: 11.5px;
  letter-spacing: 0.02em;
}
.mac-tag::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 1px rgb(19 22 20 / 0.55);
}
.art-mail .mac {
  top: 27%;
  width: 42%;
}
.art-chat .mac {
  top: 50%;
  width: 62%;
}
.art-form .mac {
  top: 18%;
  width: 46%;
}
.art-login .mac {
  top: 13%;
  width: 44%;
}

/* 1 · approval: a notification over the phone (an illustration; the phone is real). */
.banner {
  position: absolute;
  z-index: 2;
  left: 10%;
  right: 10%;
  top: 9%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1px 12px;
  padding: 12px 16px 13px 12px;
  border-radius: 20px;
  /* (Nearly opaque: it reaches past the phone onto the paper, where a thinner glass turned grey.) */
  background: rgb(44 43 41 / 0.94);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.1),
    0 24px 50px -16px rgb(0 0 0 / 0.55);
  color: #efe9dd;
  text-align: left;
}
.banner img {
  grid-row: span 3;
  align-self: start;
  border-radius: 8px;
}
.banner p {
  margin: 0;
}
.banner-app {
  display: flex;
  justify-content: space-between;
  /* (0.6 measured 4.3 : 1 on the banner at phone size; small print needs 4.5 : 1.) */
  color: rgb(239 233 221 / 0.72);
  font-family: var(--pixel);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}
.banner-app i {
  font-style: normal;
  letter-spacing: 0.02em;
}
.banner-title {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}
.banner-body {
  color: rgb(239 233 221 / 0.82);
  font-size: 13px;
  line-height: 1.4;
}
.js .art-approve .banner {
  opacity: 0;
  transform: translateY(-14px) scale(0.97);
  transition:
    opacity 0.7s 0.35s var(--ease),
    transform 0.9s 0.35s var(--ease);
}
.js .art-approve.in .banner {
  opacity: 1;
  transform: none;
}
/* The crops arrive a moment after the phone. */
.js .art .mac {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s 0.3s var(--ease),
    transform 1s 0.3s var(--ease);
}
.js .art.in .mac {
  opacity: 1;
  transform: none;
}

/* All five: the session list, with each session's subscription marked, as in the film. The rows' middles are where
   site/capture-app.mjs measured them in p-list-{en,zh}: 42.3%, 51.5%, 60.8%, 70.1%, 79.3% of the picture. */
.map {
  position: absolute;
  left: 2.8cqw;
  right: 2.8cqw;
  top: 11.3cqw;
  height: 158.1cqw;
  pointer-events: none;
}
.map b {
  position: absolute;
  height: 1.5px;
  width: 12cqw;
}
.map b::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 7.5px;
  height: 7.5px;
  border-radius: 50%;
  background: currentColor;
}
.map .c {
  right: calc(100% + 1cqw);
  color: var(--claude);
  background: var(--claude);
}
.map .c::after {
  right: -3px;
}
.map .x {
  left: calc(100% + 1cqw);
  color: var(--codex);
  background: var(--codex);
}
.map .x::after {
  left: -3px;
}
.map i {
  position: absolute;
  width: 1.5px;
}
.map i.c {
  right: calc(100% + 13cqw);
  top: 42.3%;
  height: 27.8%;
  background: var(--claude);
}
.map i.x {
  left: calc(100% + 13cqw);
  top: 51.5%;
  height: 27.8%;
  background: var(--codex);
}
.map .r1 { top: 42.3%; }
.map .r2 { top: 51.5%; }
.map .r3 { top: 60.8%; }
.map .r4 { top: 70.1%; }
.map .r5 { top: 79.3%; }
.sub {
  position: absolute;
  width: max-content;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(12px, 6.4cqw, 17px);
  font-weight: 700;
  font-stretch: 86%;
  line-height: 1.15;
  transform: translateY(-50%);
}
.sub-claude {
  right: calc(100% + 16cqw);
  top: 56.2%;
  color: var(--claude);
  text-align: right;
}
.sub-codex {
  left: calc(100% + 16cqw);
  top: 65.4%;
  color: var(--codex);
}

/* --- the reins ------------------------------------------------------------------------------- */

.cards {
  display: grid;
  gap: 16px;
  margin-top: var(--gap);
}
.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, #ffffff, rgb(255 255 255 / 0.55));
}
.card p {
  margin: 10px 0 0;
  color: var(--bone-2);
  font-size: 15px;
  line-height: 1.6;
}
.ticks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--gap);
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  position: relative;
  padding: 14px 0 0 28px;
  border-top: 1px solid var(--line);
  color: var(--bone-2);
  font-size: 15px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 21px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* --- inside ---------------------------------------------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px var(--gap);
  margin: var(--gap) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: feature;
}
.feature {
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  counter-increment: feature;
}
.feature::before {
  content: counter(feature, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--green-ink);
  font-family: var(--pixel);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.feature h3 {
  font-size: 18px;
}
.feature p {
  margin: 8px 0 0;
  color: var(--bone-2);
  font-size: 14.5px;
  line-height: 1.6;
}

/* --- how it works ---------------------------------------------------------------------------- */

.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1.25fr);
  align-items: stretch;
  margin-top: var(--gap);
}
.node {
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--fill);
}
.node.mac-node {
  border-color: rgb(76 125 12 / 0.40);
  background: linear-gradient(180deg, rgb(212 255 58 / 0.3), rgb(212 255 58 / 0.08));
}
.mac-node .tag {
  color: var(--green-ink);
}
.node > p:not(.tag):not(.stack) {
  margin: 8px 0 0;
  color: var(--bone-2);
  font-size: 15px;
  line-height: 1.55;
}
.stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  font-family: var(--pixel);
  font-size: 11px;
}
.stack b {
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  font-weight: 400;
}
.stack .claude {
  color: var(--claude);
}
.stack .codex {
  color: var(--codex);
}
.stack .screen {
  color: var(--green-ink);
}
html[data-lang='zh'] .stack .screen {
  font-family: var(--text);
  font-size: 12px;
}
.stack i {
  color: var(--bone-3);
  font-style: normal;
}
.wire {
  position: relative;
  align-self: center;
  height: 2px;
  overflow: hidden;
}
.wire i {
  position: absolute;
  inset: 0 -24px 0 0;
  background: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 12px);
  opacity: 0.7;
  animation: flow 1.1s linear infinite;
}
@keyframes flow {
  to {
    transform: translateX(-12px);
  }
}

/* Under the flow: how one more device joins. A drawing of the two screens, then the words. */
.join {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 16px;
  padding: 26px clamp(22px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--fill);
}
.join-art {
  display: block;
  width: 100%;
  height: auto;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.join-art .dev {
  stroke: var(--bone-2);
  stroke-width: 1.6;
}
.join-art .code rect {
  stroke: var(--bone);
  stroke-width: 1.5;
}
.join-art .code .dot {
  fill: var(--bone);
  stroke: none;
}
.join-art .beam {
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-dasharray: 5 6;
  opacity: 0.75;
  animation: beam 1.1s linear infinite;
}
.join-art .find {
  stroke: var(--green);
  stroke-width: 1.8;
}
.join-art .yes {
  fill: var(--signal);
  stroke: var(--bone);
  stroke-width: 1.4;
}
.join-art .tick {
  stroke: var(--signal-ink);
  stroke-width: 1.9;
}
@keyframes beam {
  to {
    stroke-dashoffset: -11;
  }
}
.join-copy h3 {
  font-size: 22px;
}
.join-copy > p:not(.tag) {
  margin: 10px 0 0;
  max-width: 58ch;
  color: var(--bone-2);
  font-size: 15px;
  line-height: 1.6;
}
.join-copy > p.join-fine {
  color: var(--bone-3);
  font-size: 13.5px;
}
.join-copy a {
  color: var(--bone);
  font-weight: 600;
  text-decoration-color: rgb(76 125 12 / 0.55);
  text-underline-offset: 3px;
}
.join-copy a:hover {
  color: var(--green-ink);
}

/* --- the fine print -------------------------------------------------------------------------- */

.yours {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--gap) clamp(32px, 5vw, 72px);
}
.yours-head {
  position: sticky;
  top: calc(var(--top) + 32px);
  align-self: start;
}
.yours h2 {
  font-size: clamp(28px, 3vw, 42px);
}
html[data-lang='zh'] .yours h2 {
  font-size: clamp(26px, 2.6vw, 36px);
}
.keeps {
  margin: 0;
  border-top: 1px solid var(--line-2);
}
.keeps div {
  display: grid;
  grid-template-columns: 9em minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.keeps dt {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 86%;
}
html[data-lang='zh'] .keeps dt {
  font-weight: 650;
}
.keeps dd {
  margin: 0;
  color: var(--bone-2);
  font-size: 15px;
  line-height: 1.6;
}

/* --- where it stands ------------------------------------------------------------------------- */

.status h2 {
  font-size: clamp(28px, 3vw, 42px);
}
html[data-lang='zh'] .status h2 {
  font-size: clamp(26px, 2.6vw, 36px);
}
.status-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: var(--gap) clamp(32px, 5vw, 72px);
  margin-top: var(--gap);
}
.status-copy > p:first-child {
  max-width: 34em;
  margin: 0;
  color: var(--bone-2);
}
.tested {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--bone-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.tested b {
  color: var(--green-ink);
  font-family: var(--display);
  font-size: 56px;
  font-weight: 760;
  font-stretch: 76%;
  line-height: 1;
  letter-spacing: -0.03em;
}
.needs {
  margin: 0;
  padding: 18px 22px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--fill);
  list-style: none;
}
.needs li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--bone-2);
  font-size: 15px;
  line-height: 1.45;
}
.needs .tag {
  margin: 0;
  padding: 0 0 10px;
  border-top: 0;
  color: var(--bone-3);
  font-size: 11.5px;
}
html[data-lang='zh'] .needs .tag {
  font-size: 13px;
}

/* --- the plans (shown once paying is possible) ------------------------------------------------- */

.plans {
  margin-top: calc(var(--gap) * 1.4);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--fill);
}
.plan-pro {
  border-color: var(--bone);
  background: linear-gradient(180deg, rgb(212 255 58 / 0.32), rgb(255 255 255 / 0.6) 60%);
}
.plan h3 {
  font-size: 22px;
}
.plan .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 14px;
  color: var(--bone-2);
  font-size: 15px;
}
.plan .price b {
  color: var(--bone);
  font-family: var(--display);
  font-size: 48px;
  font-weight: 760;
  font-stretch: 76%;
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan-pro .price b {
  color: var(--bone);
}
.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.plan li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--bone-2);
  font-size: 15px;
  line-height: 1.45;
}
@media (max-width: 720px) {
  .plan-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- the closing: the opening question, answered ---------------------------------------------- */

.closing {
  position: relative;
  padding: calc(var(--block) * 1.1) 0 var(--block);
  text-align: center;
}
.closing::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 10%;
  width: max(1200px, 130%);
  height: 90%;
  translate: -50% 0;
  pointer-events: none;
  background: radial-gradient(38% 42% at 50% 56%, rgb(212 255 58 / 0.2), transparent 72%);
}
.closing-ticks {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin: 0 0 clamp(28px, 3.4vw, 40px);
  padding: 0;
  list-style: none;
}
.closing-ticks li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--bone-2);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  font-stretch: 86%;
}
.closing-ticks .box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}
.closing-line {
  max-width: none;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.026em;
  font-stretch: 80%;
}
html[data-lang='zh'] .closing-line {
  font-size: clamp(36px, 5.6vw, 78px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  font-weight: 760;
}
.closing-line .mark {
  display: inline-block;
}
.js .closing-line .mark {
  transform: scale(0.2);
  opacity: 0;
  transition:
    transform 0.7s 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s 0.5s;
}
.js .closing-line.in .mark {
  transform: none;
  opacity: 1;
}
.closing-sub {
  margin: 22px 0 0;
  color: var(--bone-2);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.45;
}

/* --- foot ------------------------------------------------------------------------------------ */

.foot {
  border-top: 1px solid var(--line);
  color: var(--bone-3);
  font-size: 12.5px;
  line-height: 1.6;
}
.foot-in {
  padding: 28px 0 44px;
}
.foot p {
  max-width: 70em;
  margin: 0 0 10px;
}
.foot sup {
  margin-right: 4px;
  color: var(--green-ink);
  font-family: var(--pixel);
  font-size: 10px;
}
.sign {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px !important;
  color: var(--bone);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 760;
  font-stretch: 86%;
}
.sign img {
  border-radius: 5px;
}

/* The 404 page. */
.split {
  width: var(--page);
  min-height: 70vh;
  margin: 0 auto;
  padding-top: 18vh;
}
.split .eyebrow {
  color: var(--green-ink);
  font-size: 12px;
}
.actions {
  margin: 30px 0 0;
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.button.primary {
  background: var(--signal);
  color: var(--signal-ink);
  box-shadow: inset 0 0 0 1.5px var(--bone);
}

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

.rise {
  animation: rise 1s var(--ease) both;
}
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.46s; }
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
/* Things come up as they scroll into view (page.js adds .in). Without JavaScript they are simply there. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s var(--ease),
    transform 1.1s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
.js .pain.reveal:nth-child(2) { transition-delay: 0.06s; }
.js .pain.reveal:nth-child(3) { transition-delay: 0.12s; }
.js .pain.reveal:nth-child(4) { transition-delay: 0.18s; }
.js .pain.reveal:nth-child(5) { transition-delay: 0.24s; }
.js .card.reveal:nth-child(2),
.js .feature.reveal:nth-child(4n + 2) { transition-delay: 0.07s; }
.js .card.reveal:nth-child(3),
.js .feature.reveal:nth-child(4n + 3) { transition-delay: 0.14s; }
.js .feature.reveal:nth-child(4n + 4) { transition-delay: 0.21s; }
.js .scene:nth-child(even) .reveal { transition-delay: 0.08s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .js .art .mac,
  .js .art-approve .banner,
  .js .closing-line .mark,
  .js .dawn.reveal {
    opacity: 1;
    transform: none;
  }
  .c-key {
    transform: translate(120px, 372px) rotate(-45deg);
  }
}

/* --- narrower screens ------------------------------------------------------------------------ */

@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .lang {
    margin-left: auto;
  }
  .hero-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .hero-row > .lede {
    grid-column: 1 / -1;
    max-width: 36em;
    padding-bottom: 22px;
  }
  .hero-row > .point {
    border-top: 1px solid var(--line);
  }
  .hero-row > .point:nth-child(2) {
    padding-left: 0;
    border-left: 0;
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .js .feature.reveal:nth-child(even) { transition-delay: 0.07s; }
  .js .feature.reveal:nth-child(odd) { transition-delay: 0s; }
  .flow {
    grid-template-columns: minmax(0, 1fr);
  }
  .join {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 22px 22px 24px;
  }
  .join-art {
    max-width: 240px;
  }
  .wire {
    width: 2px;
    height: 28px;
    justify-self: center;
  }
  .wire i {
    inset: 0 0 -24px 0;
    background: repeating-linear-gradient(180deg, var(--green) 0 6px, transparent 6px 12px);
    animation-name: flow-down;
  }
  @keyframes flow-down {
    to {
      transform: translateY(-12px);
    }
  }
}

@media (max-width: 900px) {
  .scenes {
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
    margin-left: max(var(--gutter), (100% - 1120px) / 2);
  }
  .scene {
    grid-template-rows: auto auto;
  }
  .cards.three {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .ticks {
    grid-template-columns: minmax(0, 1fr);
  }
  .ticks li {
    padding-bottom: 14px;
  }
  .yours,
  .status-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .yours-head {
    position: static;
  }
  .cloud {
    grid-template-columns: minmax(0, 1fr);
  }
  .cloud-art {
    justify-self: start;
  }
}

/* --- phones ---------------------------------------------------------------------------------- */

@media (max-width: 760px) {
  :root {
    --top: 52px;
    --block: 84px;
    --r: 16px;
  }
  body {
    font-size: 15.5px;
  }
  .top-in {
    gap: 14px;
  }
  .hero-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-phone {
    width: min(64%, 260px);
    margin: 4px auto 0;
  }
  .hero-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-row > * {
    padding-right: 0;
  }
  .hero-row > .point {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    column-gap: 4px;
    padding: 18px 0;
    border-left: 0;
  }
  .hero-row > .point:last-child {
    padding-bottom: 0;
  }
  .point-icon {
    grid-row: span 2;
    margin: 1px 0 0;
  }
  .point-title {
    font-size: 16.5px;
  }
  .point-text {
    margin-top: 3px;
    font-size: 14.5px;
  }
  .play {
    gap: 9px;
    padding: 5px 14px 5px 5px;
    font-size: 14px;
  }
  .play i {
    width: 32px;
    height: 32px;
  }
  .play i::before {
    left: 12px;
    top: 9px;
    width: 11px;
    height: 14px;
  }

  .pain {
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 6px 14px;
    align-items: center;
    padding: 16px 0;
  }
  .pain .box {
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }
  .pain-label {
    font-size: 21px;
  }
  .pain-text {
    grid-column: 2 / -1;
    grid-row: 2;
    font-size: 15.5px;
  }
  .pain-tag {
    grid-column: 3;
    grid-row: 1;
  }
  .cloud-art {
    width: calc(100% + 16px);
    margin: 0 -8px;
  }
  .c-over {
    font-size: 15px;
  }
  .c-slot text {
    font-size: 17px;
  }
  .c-you {
    font-size: 19px;
  }

  .stage {
    padding-top: 68%;
  }
  .laptop {
    left: 0;
    width: 82%;
  }
  .tablet {
    right: 7%;
    width: 46%;
    bottom: 3%;
  }
  .devices .phone-s {
    right: 0;
    width: 22%;
  }

  .rail-in {
    height: 46px;
  }
  .rail-list {
    flex: 1;
    justify-content: space-between;
    gap: 6px;
  }
  .rail-list li {
    gap: 6px;
    font-size: 14px;
    font-stretch: 80%;
  }
  .rail-list .box {
    width: 16px;
    height: 16px;
    border-radius: 4.5px;
  }
  .rail-count {
    display: none;
  }
  .scenes {
    gap: 56px;
    margin-top: 36px;
  }
  .scene-copy {
    padding-bottom: 18px;
  }
  .scene h3 {
    font-size: clamp(19px, 5.4vw, 22px);
  }
  /* Taller panels, and a larger phone in them, on a phone. */
  .panel {
    aspect-ratio: 1 / 1.06;
  }
  .panel .phone {
    width: 54%;
  }
  .art-mail .phone,
  .art-chat .phone,
  .art-form .phone,
  .art-login .phone {
    left: 33%;
  }
  .mac {
    right: 4%;
  }
  .art-mail .mac {
    width: 50%;
  }
  .art-chat .mac {
    width: 76%;
  }
  .art-chat .mac img {
    aspect-ratio: 2.4;
    object-fit: cover;
    object-position: left center;
  }
  .art-form .mac {
    width: 54%;
  }
  .art-login .mac {
    width: 52%;
  }
  .mac-tag {
    padding: 5px 9px;
    font-size: 9px;
  }
  html[data-lang='zh'] .mac-tag > span {
    font-size: 10.5px;
  }
  .banner {
    left: 4%;
    right: 4%;
    top: 7%;
    padding: 10px 12px 11px 10px;
    gap: 1px 10px;
    border-radius: 17px;
  }
  .banner img {
    width: 30px;
    height: 30px;
  }
  .banner-title {
    font-size: 13px;
  }
  .banner-body {
    font-size: 12px;
  }
  /* A smaller phone in the last panel, so the two subscription labels fit beside it. */
  .art-list .panel .phone {
    width: 44%;
  }
  .sub {
    font-size: 11px;
  }

  .features {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .keeps div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .tested b {
    font-size: 48px;
  }
  .closing-ticks {
    gap: 10px 14px;
  }
  .closing-ticks li {
    gap: 6px;
    font-size: 14px;
  }
  .closing-ticks .box {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 380px) {
  .rail-list li {
    font-size: 12.5px;
  }
}

/* --- shared by every page: the Download button, the footer's links, the steps ------------------ */

.top-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: inset 0 0 0 1.5px var(--bone);
  color: var(--signal-ink);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}
.top-cta:hover {
  transform: translateY(-1px);
}
/* The page itself ("page"), or the section a sub-page belongs to ("true", as on /docs/update/). */
.nav a[aria-current] {
  color: var(--bone);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0 0 18px;
}
.foot-links a {
  color: var(--bone-2);
  font-size: 13.5px;
  text-decoration: none;
}
.foot-links a:hover {
  color: var(--bone);
}
.button.ghost {
  border: 1px solid var(--line-2);
  color: var(--bone);
}
.button.ghost:hover {
  border-color: var(--bone-3);
}
.button + .button {
  margin-left: 10px;
}

/* Numbered steps: the number in the app's pixel face, the words beside it. */
.steps {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps > li {
  position: relative;
  padding: 11px 0 11px 40px;
  border-top: 1px solid var(--line);
  color: var(--bone-2);
  font-size: 15.5px;
  line-height: 1.5;
  counter-increment: step;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 11px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgb(76 125 12 / 0.50);
  border-radius: 7px;
  color: var(--green-ink);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.steps > li:last-child {
  border-bottom: 1px solid var(--line);
}
.status-copy .actions {
  margin-top: 26px;
}

/* --- the other pages: download, docs, privacy, terms, refunds ---------------------------------- */

.page-head,
.page-body {
  width: var(--page);
  margin-left: auto;
  margin-right: auto;
}
.page-head {
  position: relative;
  padding: clamp(44px, 6vw, 80px) 0 clamp(28px, 3.4vw, 40px);
  border-bottom: 1px solid var(--line);
}
.page-head::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -160px;
  width: max(1200px, 130%);
  height: 640px;
  translate: -50% 0;
  pointer-events: none;
  background: radial-gradient(34% 40% at 78% 20%, rgb(212 255 58 / 0.16), transparent 70%);
}
.page-head h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1;
}
html[data-lang='zh'] .page-head h1 {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.2;
}
.page-lede {
  max-width: 36em;
  margin: 16px 0 0;
  color: var(--bone-2);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.55;
}
.page-meta {
  margin: 14px 0 0;
  color: var(--bone-3);
  font-family: var(--pixel);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[data-lang='zh'] .page-meta > span {
  font-family: var(--text);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
}
.page-body {
  padding: clamp(32px, 4vw, 52px) 0 var(--block);
}

/* A contents list on the left, the text on the right; one column on a phone. */
.doc-grid {
  display: grid;
  grid-template-columns: 12.5em minmax(0, 1fr);
  align-items: start;
  gap: var(--gap) clamp(32px, 5vw, 72px);
}
.toc {
  position: sticky;
  top: calc(var(--top) + 28px);
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}
.toc a {
  display: block;
  padding: 6px 0 6px 16px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  color: var(--bone-2);
  font-size: 14.5px;
  line-height: 1.35;
  text-decoration: none;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.toc a:hover {
  color: var(--bone);
  border-left-color: var(--green);
}

/* Running text. */
.prose {
  max-width: 44em;
  color: var(--bone-2);
  font-size: 16px;
  line-height: 1.65;
}
.prose > section + section {
  margin-top: clamp(40px, 4.4vw, 56px);
}
.prose h2 {
  max-width: none;
  margin: 0 0 14px;
  color: var(--bone);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15;
}
html[data-lang='zh'] .prose h2 {
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.35;
}
.prose h3 {
  margin: 26px 0 8px;
  color: var(--bone);
  font-size: 17.5px;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 12px;
}
.prose ul,
.prose ol:not(.steps) {
  padding-left: 1.25em;
}
.prose li {
  margin: 4px 0;
}
.prose li::marker {
  color: var(--bone-3);
}
.prose strong {
  color: var(--bone);
  font-weight: 650;
}
.prose a {
  color: var(--bone);
  text-decoration-color: rgb(76 125 12 / 0.55);
  text-underline-offset: 3px;
}
.prose a:hover {
  text-decoration-color: var(--green);
}
.prose code {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--fill);
  color: var(--bone);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.86em;
  overflow-wrap: anywhere;
}
/* A button or menu item as the screen names it. */
.ui {
  color: var(--bone);
  font-weight: 600;
  white-space: nowrap;
}
.callout {
  margin: 18px 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--green);
  border-radius: 4px 12px 12px 4px;
  background: var(--fill);
  font-size: 15px;
}
.callout p:last-child {
  margin-bottom: 0;
}
.prose .steps {
  margin: 14px 0 16px;
}
/* Two columns of short facts (what is kept, and where). */
.facts {
  margin: 14px 0 16px;
  border-top: 1px solid var(--line-2);
}
.facts div {
  display: grid;
  grid-template-columns: 11em minmax(0, 1fr);
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  color: var(--bone);
  font-weight: 600;
}
.facts dd {
  margin: 0;
}

/* Questions and answers. */
.qa {
  border-bottom: 1px solid var(--line);
}
.qa:first-of-type {
  border-top: 1px solid var(--line-2);
}
.qa summary {
  position: relative;
  padding: 14px 36px 14px 0;
  color: var(--bone);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 21px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--bone-2);
  border-bottom: 1.5px solid var(--bone-2);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.qa[open] summary::after {
  transform: translate(0, 4px) rotate(-135deg);
}
.qa > p {
  margin: 0 0 16px;
}

/* The download form. */
.get {
  max-width: 44em;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid rgb(76 125 12 / 0.38);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgb(212 255 58 / 0.22), rgb(255 255 255 / 0.6) 70%);
  box-shadow: var(--lift);
}
.get label {
  display: block;
  margin-bottom: 10px;
  color: var(--bone);
  font-weight: 600;
}
.get-row {
  display: flex;
  gap: 10px;
}
.get input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #ffffff;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.get input::placeholder {
  color: var(--bone-3);
}
.get input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgb(212 255 58 / 0.55);
}
.get button {
  flex: none;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: var(--signal);
  box-shadow: inset 0 0 0 1.5px var(--bone);
  color: var(--signal-ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.get button:disabled {
  opacity: 0.55;
  cursor: progress;
}
.get-status {
  margin: 12px 0 0;
  color: var(--bone-2);
  font-size: 14.5px;
}
.get-status:empty {
  margin: 0;
}
.get-status.is-error {
  color: var(--warn);
}
/* Sign in and the account page (docs/ACCOUNTS.md): the same card as the claim form; an email is typed as it is. */
.get input.plain {
  font-family: var(--text);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}
#mac-code {
  display: block;
  margin-bottom: 14px;
}
.get input.code {
  max-width: 12ch;
  font-size: 22px;
  letter-spacing: 0.32em;
  text-align: center;
}
.signin h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.signin h2:focus {
  outline: none;
}
.google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #ffffff;
  color: var(--bone);
  font-weight: 650;
  text-decoration: none;
}
.google:hover {
  border-color: var(--bone-3);
}
.google:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgb(212 255 58 / 0.55);
}
.google .g {
  flex: none;
}
.signin-note {
  margin: 8px 0 0;
  color: var(--bone-2);
  font-size: 14px;
  text-align: center;
}
.or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 16px;
  color: var(--bone-2);
  font-size: 14px;
}
.or::before,
.or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-2);
}
.get button.link {
  min-height: 44px;
  padding: 0;
  background: none;
  box-shadow: none;
  color: var(--bone);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.signin-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 8px 0 0;
}
.get button.quiet,
.account-actions .quiet {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
  color: var(--bone);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.signin-choice {
  flex-wrap: wrap;
}
.account-email {
  overflow-wrap: anywhere;
}
.account-facts {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
}
.account-facts div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
.account-facts dt {
  color: var(--bone-2);
}
.account-facts dd {
  margin: 0;
  font-weight: 650;
}
.get.account .account-macs h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}
.account-macs ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.account-macs li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 18px;
  padding: 8px 0;
}
.account-macs li span {
  color: var(--bone-2);
}
.account-none {
  margin: 0 0 18px;
  color: var(--bone-2);
}
/* (Text centred too: on the narrowest phones a label wraps, and its lines must stay in the middle.) */
.google,
.passkey-in {
  text-align: center;
}
.passkey-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
}
/* The narrowest phones: the label wraps, and the key beside it would pull the whole off-centre. */
@media (max-width: 359px) {
  .passkey-in .k {
    display: none;
  }
}
.get button.passkey-in {
  border: 1px solid var(--line-2);
  background: #ffffff;
  box-shadow: none;
  color: var(--bone);
}
.account-passkeys {
  margin-bottom: 22px;
}
.get.account .account-passkeys h2 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
}
.account-hint {
  margin: 0 0 10px;
  color: var(--bone-2);
  font-size: 14.5px;
}
.account-passkeys ul {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.account-passkeys li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 0;
}
.account-passkeys li div {
  min-width: 0;
}
.account-passkeys li b {
  display: block;
}
.account-passkeys li span {
  display: block;
  color: var(--bone-2);
  font-size: 14px;
}
.get .account-passkeys li .link {
  flex: none;
  width: auto;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 6px;
}
/* Download across the whole row; the two ways to sign out side by side below it (one under the other on a phone).
   A grid, so every engine gives each button the same width whatever its words measure. */
.account-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.account-actions > * {
  justify-content: center;
}
.account-actions > .button.primary {
  grid-column: 1 / -1;
}
@media (max-width: 599px) {
  .account-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
#verification {
  margin: 12px 0;
}
/* The claim page's result. The key is the thing to keep: it stands in a field like the one a key is pasted into
   on the download page, with a quiet button beside it (under it on a phone) to copy it; the one main action
   after it is the download. */
#grant h2 {
  margin: 0 0 12px;
}
#grant code {
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
  min-height: 50px;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #ffffff;
  overflow-wrap: anywhere;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.02em;
  user-select: all;
}
#grant #copy {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--bone);
  font-weight: 600;
}
#grant #copy:hover,
#grant #copy:focus-visible {
  border-color: var(--green);
}
/* The result's heading takes focus so a screen reader reads it; it is not a control, so it shows no ring. */
#grant-title:focus,
#grant-title:focus-visible {
  outline: none;
}
#grant #download {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 18px 0 4px;
}
#grant p {
  margin: 12px 0 0;
  color: var(--bone-2);
  font-size: 14.5px;
}
/* The guide's link on a line of its own: a whole row to tap, and no uneven line in the sentence before it. */
#grant p a {
  display: block;
  width: fit-content;
  line-height: 44px;
}
/* Keep the same tap area on wide touch screens as on phones, without enlarging the marks. */
@media (min-width: 1024px) {
  .claim-page :is(.top a, .lang button, .foot-links a) {
    position: relative;
  }
  .claim-page :is(.top a, .lang button, .foot-links a)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: max(44px, 100%);
    height: 44px;
  }
  .claim-page .lang button {
    min-width: 44px;
  }
  .claim-page .skip {
    min-height: 44px;
  }
}
.get-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--bone-3);
  font-size: 13.5px;
}
.no-js-note {
  display: none;
}
html:not(.js) .no-js-note {
  display: block;
}

@media (max-width: 1080px) {
  .top-cta {
    margin-left: auto;
  }
  .top-cta ~ .lang {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .doc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc {
    position: static;
  }
  .toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-left: 0;
  }
  .toc a {
    padding: 5px 12px;
    margin: 0;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-size: 13.5px;
  }
  .toc a:hover {
    border-color: var(--green);
  }
}

@media (max-width: 760px) {
  .top-cta {
    height: 28px;
    padding: 0 12px;
    font-size: 13px;
  }
  .get-row {
    flex-direction: column;
  }
  .get input {
    flex: none;
    width: 100%;
  }
  .get button {
    width: 100%;
  }
  .facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .button + .button {
    margin-left: 6px;
  }
}
/* The form, and what comes after it beside it. */
.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--gap) clamp(32px, 5vw, 72px);
}
.download-steps h2 {
  margin-top: 0;
}
/* Real pictures of each step, from the tutorial recording (docs, download). One radius, one
   hairline; phone pictures stand in a row of their own. */
.tut {
  margin: 14px 0 0;
}
.tut .film-frame {
  box-shadow: var(--lift);
}
.tut video::cue {
  font-family: var(--text);
  font-size: 0.9em;
  background: rgb(11 11 10 / 0.8);
}
.tut .note {
  margin-top: 12px;
}
.shot {
  margin: 12px 0 4px;
}
.shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: #000;
}
.shot figcaption {
  margin-top: 8px;
  color: var(--bone-3);
  font-size: 13px;
  line-height: 1.45;
}
/* A picture of something small (a menu, a dialog) stays near its real size. */
.shot-small {
  max-width: 30em;
}
/* A step with more than one picture (the update guide): room between a caption and the next
   sentence, and none under the step's last line. */
.steps .shot + p,
.steps .shot + .callout {
  margin-top: 18px;
}
.steps > li > p:last-child {
  margin-bottom: 0;
}
.callout .shot {
  margin: 12px 0 0;
}
.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  margin: 14px 0 18px;
}
.shots .shot {
  margin: 0;
}
.shots-pair {
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
}
/* A note right after a picture keeps its distance from the caption. */
.shot + .callout {
  margin-top: 22px;
}
/* Two pictures of a phone, side by side: narrow enough that neither is larger than a phone. */
.shots-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  max-width: 36em;
}
.shots-phones {
  max-width: 36em;
}
.get-col {
  min-width: 0;
}
/* Under the form: a word for those who came to update (the app's update item opens this page). */
.get-col .callout {
  max-width: 44em;
  color: var(--bone-2);
}
.get-col .callout strong {
  color: var(--bone);
  font-weight: 650;
}
.get-col .callout a {
  color: var(--bone);
  text-decoration-color: rgb(76 125 12 / 0.55);
  text-underline-offset: 3px;
}
.next {
  margin-top: clamp(24px, 3vw, 34px);
}
.next h2,
html[data-lang='zh'] .next h2 {
  margin: 0;
  color: var(--bone);
  font-family: var(--text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}
.next .shots {
  margin: 12px 0 10px;
  gap: 10px;
}
.next .shot figcaption {
  font-size: 12.5px;
}
.next-more {
  margin: 0;
  color: var(--bone-3);
  font-size: 13px;
}
.next-more a {
  color: var(--bone-2);
}
@media (max-width: 560px) {
  .shots {
    gap: 8px;
  }
  .shots-pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .shots-pair .shot-phone {
    max-width: 46%;
  }
}

@media (max-width: 900px) {
  .download-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .download-steps {
    margin-top: 12px;
  }
}

/* --- /go/: the connect page. A device that wants to be connected shows a code here; a device that
   is connected already scans it inside webssh (go/go.js). ------------------------------------------ */

/* The code must be whole on the first screen, also of a small laptop or a phone: a short head. */
.go-head {
  padding: clamp(26px, 3.4vw, 46px) 0 clamp(20px, 2.2vw, 26px);
}
.go-head + .page-body {
  padding-top: clamp(22px, 2.6vw, 34px);
}
.go {
  display: grid;
  /* (On a low window the code is a little smaller, so that all of it is on the screen.) */
  grid-template-columns: minmax(0, clamp(264px, calc(100vh - 334px), 372px)) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5.4vw, 80px);
}
.go[hidden],
.go-camera[hidden] {
  display: none;
}
.go-card {
  position: relative;
  padding: 10px 10px 16px;
  border: 1px solid rgb(76 125 12 / 0.36);
  border-radius: 30px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgb(212 255 58 / 0.3), transparent 62%),
    linear-gradient(180deg, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.4));
  box-shadow: var(--lift);
}
/* A square in every browser: its height comes from its width by a rule as old as CSS, not from
   aspect-ratio and percentages (WebKit and Chromium worked those out differently, and the white
   tile came out sixteen pixels taller than the corners around it on an iPad). Everything inside
   is placed from this square's own edges. */
.go-stage {
  position: relative;
}
.go-stage::before {
  content: '';
  display: block;
  padding-top: 100%;
}
/* The white tile the code is drawn on (a code is read off white, whatever the page's colours):
   twelve pixels in from the square's edge on every side. */
.go-code {
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(19 22 20 / 0.08), 0 16px 34px -22px rgb(32 44 38 / 0.35);
  transition: opacity 0.35s var(--ease);
}
.go-code svg {
  position: absolute;
  left: 8px;
  top: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
}
.go[data-state='making'] .go-code {
  opacity: 0.35;
}
.go[data-state='found'] .go-code,
.go[data-state='stopped'] .go-code,
.go[data-state='broken'] .go-code {
  opacity: 0.05;
  box-shadow: none;
}
/* Four corners around the tile, as the scanner in the app has them around what it looks at. Each
   sits in a corner of the square, and its curve has the tile's own centre (the tile's radius plus
   the gap: 16 + 12), so the two run side by side all the way round. They never move: while the
   page waits their light comes and goes. */
.go-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 0 solid var(--green);
  pointer-events: none;
}
.go-corner:nth-child(1) {
  left: 0;
  top: 0;
  border-left-width: 3px;
  border-top-width: 3px;
  border-top-left-radius: 28px;
}
.go-corner:nth-child(2) {
  right: 0;
  top: 0;
  border-right-width: 3px;
  border-top-width: 3px;
  border-top-right-radius: 28px;
}
.go-corner:nth-child(3) {
  left: 0;
  bottom: 0;
  border-left-width: 3px;
  border-bottom-width: 3px;
  border-bottom-left-radius: 28px;
}
.go-corner:nth-child(4) {
  right: 0;
  bottom: 0;
  border-right-width: 3px;
  border-bottom-width: 3px;
  border-bottom-right-radius: 28px;
}
.go[data-state='shown'] .go-corner {
  animation: go-glow 2.6s ease-in-out infinite;
}
.go[data-state='stopped'] .go-corner,
.go[data-state='broken'] .go-corner,
.go[data-state='making'] .go-corner {
  opacity: 0.3;
}
@keyframes go-glow {
  0%,
  100% {
    opacity: 1;
    filter: none;
  }
  50% {
    opacity: 0.42;
    filter: none;
  }
}
/* Found: the code makes way for a tick and the address this browser is going to. */
.go-found,
.go-again {
  position: absolute;
  inset: 12px;
  display: none;
}
.go[data-state='found'] .go-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--green-ink);
}
.go-found svg {
  width: 76px;
  height: 76px;
  padding: 14px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: inset 0 0 0 2px var(--bone);
  color: var(--signal-ink);
  animation: go-pop 0.4s var(--ease) both;
}
@keyframes go-pop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
}
.go-host {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: center;
}
.go[data-state='stopped'] .go-again {
  display: grid;
  place-items: center;
  appearance: none;
  border: 0;
  background: none;
  color: var(--green-ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.go-again > span {
  padding: 12px 20px;
  border: 1px solid rgb(76 125 12 / 0.50);
  border-radius: 999px;
}
/* (Where the words take two lines, on the smallest phones, the lines are of a length.) */
#go-status {
  text-wrap: balance;
}
.go-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 22px;
  margin: 12px 14px 0;
  color: var(--bone-2);
  font-family: var(--pixel);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}
html[data-lang='zh'] .go-status > span:first-of-type {
  font-family: var(--text);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: none;
}
.go-led {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  outline: 1.5px solid var(--bone);
  outline-offset: -1.5px;
  animation: go-led 1.6s ease-out infinite;
}
.go[data-net='off'] .go-led,
.go[data-state='stopped'] .go-led,
.go[data-state='broken'] .go-led {
  background: var(--warn);
  animation: none;
}
@keyframes go-led {
  0% {
    box-shadow: 0 0 0 0 rgb(76 125 12 / 0.45);
  }
  100% {
    box-shadow: 0 0 0 9px rgb(76 125 12 / 0);
  }
}
.go-left {
  margin-left: auto;
  color: var(--bone-3);
  font-variant-numeric: tabular-nums;
}
.go-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.go-steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.go-steps li:first-child {
  padding-top: 4px;
  border-top: 0;
}
.go-steps b {
  color: var(--green);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 760;
  font-stretch: 80%;
  line-height: 1;
}
.go-steps p {
  margin: 0;
  color: var(--bone);
  font-size: clamp(16px, 1.32vw, 18px);
  line-height: 1.5;
}
.go-steps strong {
  font-weight: 650;
}
.go-fine {
  max-width: 40em;
  margin: 6px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--bone-3);
  font-size: 13.5px;
  line-height: 1.6;
}
.go-fine.go-needs {
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
}
.go-fine a {
  color: var(--bone-2);
  white-space: nowrap;
}
.go-how .callout {
  max-width: 40em;
  margin: 22px 0 0;
  color: var(--bone-2);
}
.go-how .callout strong {
  color: var(--bone);
}
.go-how .callout a {
  color: var(--bone);
}
.go-camera {
  max-width: 40em;
  padding: 22px 24px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--green);
  border-radius: 4px 16px 16px 4px;
  background: var(--fill);
  color: var(--bone-2);
}
.go-camera-title {
  margin: 0 0 10px;
  color: var(--bone);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
}
.go-camera p {
  margin: 0;
}
.go-camera strong {
  color: var(--bone);
  font-weight: 650;
}
.go-quiet {
  appearance: none;
  /* (As tall as a finger: 44 px, with the words where they were.) */
  min-height: 44px;
  margin: 5px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bone-2);
  font: inherit;
  font-size: 14px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.go-quiet:hover {
  color: var(--bone);
}
@media (max-width: 820px) {
  /* (What the lede says, the steps under the code say again.) */
  .go-head .page-lede {
    display: none;
  }
  .go {
    grid-template-columns: minmax(0, 1fr);
  }
  .go-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .go[data-state='shown'] .go-corner,
  .go-led,
  .go-found svg {
    animation: none;
  }
}

/* --- found by the layout check (npm run test:layout), 2026-11-25 ------------------------------------ */

/* An interface path ("Settings → Devices → …") stays on one line where there is room. On a phone it
   may break: unbroken, it pushed its paragraph past the edge of the screen. */
@media (max-width: 560px) {
  .ui {
    white-space: normal;
  }
}

/* The smallest phones: the checklist's five words fit their bar (the last one stuck out of it). */
@media (max-width: 380px) {
  .rail-list {
    gap: 4px;
  }
  .rail-list li {
    gap: 4px;
    font-size: 12px;
    font-stretch: 78%;
  }
  .rail-list .box {
    width: 13px;
    height: 13px;
    border-radius: 4px;
  }
}

/* The narrowest phones: the bar's three things stand closer, so that none runs into the next
   (with the language buttons at their full 44 px the Download button reached the name). */
@media (max-width: 380px) {
  .top-in {
    gap: 10px;
  }
  .top-cta {
    padding: 0 11px;
  }
}
/* (At 320 px the name beside the mark is one thing too many: the mark stands for it.) */
@media (max-width: 340px) {
  .brand-name {
    display: none;
  }
}

/* On a touch screen whatever is tapped is at least 44 px high and wide. The small ones get room
   around them, not more ink. */
@media (max-width: 1023px) {
  .brand,
  .top-cta,
  .lang button {
    position: relative;
  }
  .brand::after,
  .top-cta::after,
  .lang button::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: max(100%, 44px);
    height: 44px;
    translate: -50% -50%;
  }
  .lang button {
    min-width: 44px;
  }
  .foot-links {
    gap: 0 22px;
  }
  .foot-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  /* (A two-character link is as wide as its words, and tappable 44 px wide: wider words would space the row unevenly.) */
  .foot-links a::after {
    content: '';
    position: absolute;
    inset: 0 min(0px, calc((100% - 44px) / 2));
  }
  .toc a {
    padding-top: 12.5px;
    padding-bottom: 12.5px;
  }
  .skip {
    padding: 12px 16px;
  }
}
