/* Settle landing — the page wears Settle.
   Every skin below is one of the app's ten designs translated to a page:
   its palette, plus a typographic posture bent from one variable sans
   (Archivo) and one variable mono (Martian Mono). */

/* Registered so skins crossfade and type morphs between designs. */
@property --p-bg { syntax: '<color>'; inherits: true; initial-value: #17191d; }
@property --p-ink { syntax: '<color>'; inherits: true; initial-value: #f0f0f3; }
@property --p-mute { syntax: '<color>'; inherits: true; initial-value: #a3a7b1; }
@property --p-line { syntax: '<color>'; inherits: true; initial-value: #2e323a; }
@property --p-soft { syntax: '<color>'; inherits: true; initial-value: #202329; }
@property --p-accent { syntax: '<color>'; inherits: true; initial-value: #ff5579; }
@property --p-on { syntax: '<color>'; inherits: true; initial-value: #15171c; }
@property --p-hi { syntax: '<color>'; inherits: true; initial-value: #ff6f8f; }
@property --p-wght { syntax: '<number>'; inherits: true; initial-value: 760; }
@property --p-wdth { syntax: '<number>'; inherits: true; initial-value: 100; }
@property --p-track { syntax: '<number>'; inherits: true; initial-value: -0.045; }
@property --p-body-wdth { syntax: '<number>'; inherits: true; initial-value: 100; }
@property --p-brand-wght { syntax: '<number>'; inherits: true; initial-value: 600; }
@property --p-rail { syntax: '<length>'; inherits: true; initial-value: 0px; }

:root {
  --f-sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', 'Cascadia Code', Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1320px;
  --skin-time: .8s;

  /* Scratch, the default. */
  --p-bg: #17191d; --p-ink: #f0f0f3; --p-mute: #a3a7b1; --p-line: #2e323a; --p-soft: #202329;
  --p-accent: #ff5579; --p-on: #15171c; --p-hi: #ff6f8f;
  --p-display: var(--f-sans); --p-body: var(--f-sans);
  --p-wght: 760; --p-wdth: 100; --p-track: -0.045; --p-body-wdth: 100; --p-brand-wght: 600;
  --p-radius: 6px; --p-rail: 0px;
  color-scheme: dark;
}
[data-skin="kiln"] {
  --p-bg: #1a1a18; --p-ink: #e5e3dd; --p-mute: #b2b0a9; --p-line: #3a3a35; --p-soft: #242422;
  --p-accent: #ff681b; --p-on: #1a1a17; --p-hi: #ff7d3b;
  --p-display: var(--f-sans); --p-body: var(--f-sans);
  --p-wght: 860; --p-wdth: 62; --p-track: -0.012; --p-body-wdth: 88; --p-brand-wght: 850;
  --p-radius: 0px; --p-rail: 12px; color-scheme: dark;
}
[data-skin="blackbox"] {
  --p-bg: #070806; --p-ink: #f1f0e5; --p-mute: #a5a89b; --p-line: #262922; --p-soft: #11130e;
  --p-accent: #b6f321; --p-on: #0b0d09; --p-hi: #b6f321;
  --p-display: var(--f-sans); --p-body: var(--f-sans);
  --p-wght: 360; --p-wdth: 100; --p-track: -0.035; --p-body-wdth: 100; --p-brand-wght: 500;
  --p-radius: 2px; --p-rail: 5px; color-scheme: dark;
}
[data-skin="optic"] {
  --p-bg: #f4f4f1; --p-ink: #101219; --p-mute: #5d6068; --p-line: #cfcfca; --p-soft: #fafaf8;
  --p-accent: #1837ff; --p-on: #fbfbff; --p-hi: #1837ff;
  --p-display: var(--f-mono); --p-body: var(--f-mono);
  --p-wght: 540; --p-wdth: 87.5; --p-track: -0.07; --p-body-wdth: 87.5; --p-brand-wght: 600;
  --p-radius: 0px; --p-rail: 4px; color-scheme: light;
}
[data-skin="phosphor"] {
  --p-bg: #04150f; --p-ink: #d1f4e8; --p-mute: #8bb9ad; --p-line: #1f3d34; --p-soft: #0a231c;
  --p-accent: #8bf1c9; --p-on: #061b16; --p-hi: #8bf1c9;
  --p-display: var(--f-mono); --p-body: var(--f-mono);
  --p-wght: 400; --p-wdth: 100; --p-track: -0.05; --p-body-wdth: 87.5; --p-brand-wght: 500;
  --p-radius: 6px; --p-rail: 0px; color-scheme: dark;
}
[data-skin="sidecar"] {
  --p-bg: #0e171d; --p-ink: #f1f4f8; --p-mute: #abb7c3; --p-line: #26333d; --p-soft: #131e26;
  --p-accent: #ff813e; --p-on: #131e26; --p-hi: #ff8f52;
  --p-display: var(--f-sans); --p-body: var(--f-sans);
  --p-wght: 640; --p-wdth: 100; --p-track: -0.04; --p-body-wdth: 100; --p-brand-wght: 600;
  --p-radius: 14px; --p-rail: 0px; color-scheme: dark;
}
[data-skin="cobalt"] {
  --p-bg: #1738ee; --p-ink: #fbfbff; --p-mute: #d4dcff; --p-line: #ffffff40; --p-soft: #2445e9;
  --p-accent: #e2ff48; --p-on: #1738ee; --p-hi: #e2ff48;
  --p-display: var(--f-sans); --p-body: var(--f-sans);
  --p-wght: 720; --p-wdth: 118; --p-track: -0.035; --p-body-wdth: 106; --p-brand-wght: 700;
  --p-radius: 4px; --p-rail: 0px; color-scheme: dark;
}
[data-skin="redline"] {
  --p-bg: #ebe8df; --p-ink: #10100f; --p-mute: #5f5d58; --p-line: #26262140; --p-soft: #f2f0e9;
  --p-accent: #ed2b20; --p-on: #fffaf6; --p-hi: #c4170d;
  --p-display: var(--f-sans); --p-body: var(--f-sans);
  --p-wght: 900; --p-wdth: 100; --p-track: -0.065; --p-body-wdth: 100; --p-brand-wght: 850;
  --p-radius: 0px; --p-rail: 14px; color-scheme: light;
}
[data-skin="frost"] {
  --p-bg: #e9eef3; --p-ink: #252e38; --p-mute: #536273; --p-line: #bdc9d6; --p-soft: #f2f5f8;
  --p-accent: #0087a6; --p-on: #fbfeff; --p-hi: #006f88;
  --p-display: var(--f-sans); --p-body: var(--f-sans);
  --p-wght: 520; --p-wdth: 100; --p-track: -0.04; --p-body-wdth: 100; --p-brand-wght: 550;
  --p-radius: 12px; --p-rail: 0px; color-scheme: light;
}
[data-skin="tape"] {
  --p-bg: #ebf23e; --p-ink: #151614; --p-mute: #45481b; --p-line: #15161440; --p-soft: #dfe633;
  --p-accent: #151614; --p-on: #ebf23e; --p-hi: #151614;
  --p-display: var(--f-mono); --p-body: var(--f-mono);
  --p-wght: 720; --p-wdth: 112.5; --p-track: -0.06; --p-body-wdth: 95; --p-brand-wght: 700;
  --p-radius: 3px; --p-rail: 0px; color-scheme: light;
}

:root {
  transition:
    --p-bg var(--skin-time) var(--ease), --p-ink var(--skin-time) var(--ease), --p-mute var(--skin-time) var(--ease),
    --p-line var(--skin-time) var(--ease), --p-soft var(--skin-time) var(--ease), --p-accent var(--skin-time) var(--ease),
    --p-on var(--skin-time) var(--ease), --p-hi var(--skin-time) var(--ease), --p-wght 1.1s var(--ease),
    --p-wdth 1.1s var(--ease), --p-track 1.1s var(--ease), --p-body-wdth 1.1s var(--ease),
    --p-brand-wght 1.1s var(--ease), --p-rail .9s var(--ease);
}
:root.no-skin-transition { transition: none; }

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

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--p-bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0; min-height: 100vh; padding-left: var(--p-rail);
  background: var(--p-bg); color: var(--p-ink);
  font-family: var(--p-body); font-size: 17px; line-height: 1.55; font-weight: 400;
  font-stretch: calc(var(--p-body-wdth) * 1%);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
[data-skin="optic"] body, [data-skin="phosphor"] body, [data-skin="tape"] body { font-size: 15px; line-height: 1.7; }
::selection { background: var(--p-accent); color: var(--p-on); }
a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--p-hi); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: text-decoration-thickness .2s, color .2s; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; border-radius: 2px; }
.win :focus-visible { border-radius: 0; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
p, dd { text-wrap: pretty; }
img, svg { display: block; }

.skip { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 14px; background: var(--p-accent); color: var(--p-on); font: 600 14px var(--f-sans); text-decoration: none; transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip:focus { transform: none; }

.display {
  font-family: var(--p-display); font-weight: var(--p-wght); font-stretch: calc(var(--p-wdth) * 1%);
  letter-spacing: calc(var(--p-track) * 1em);
}

/* Page kbd: matter-of-fact, like the app's. */
.dock-hint kbd, .wake kbd, .pill kbd, .section-note kbd, .key-desc kbd, .keys-last kbd {
  display: inline-block; font: 500 .72em/1 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0;
  padding: .42em .55em .38em; margin: 0 .12em; border: 1px solid var(--p-line); border-radius: 4px;
  color: var(--p-ink); vertical-align: .1em; white-space: nowrap;
}

/* Section boxes share one measure. */
.head, .hero, .keys, .tools, .data, .download, .foot {
  width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
}

/* The design's own frame, worn by the page. */
.frame-rail {
  position: fixed; z-index: 50; inset: 0 auto 0 0; width: var(--p-rail); background: var(--p-accent); pointer-events: none;
}
.frame-rail::after { content: ''; position: fixed; inset: auto 0 0 0; height: 0; background: var(--p-accent); transition: height .9s var(--ease); }
[data-skin="optic"] .frame-rail::after { height: 4px; }
.frame-rail::before {
  content: ''; position: fixed; inset: 8px; border: 1px solid var(--p-accent); border-radius: 10px; opacity: 0; transition: opacity .9s var(--ease);
}
[data-skin="phosphor"] .frame-rail::before { opacity: .55; }

/* ---------- header ---------- */

.head { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.wordmark {
  font-family: var(--p-display); font-weight: var(--p-brand-wght); font-stretch: calc(var(--p-wdth) * 1%);
  font-size: 28px; line-height: 1; letter-spacing: -.035em; text-decoration: none; color: var(--p-ink);
}
[data-skin="phosphor"] .wordmark, [data-skin="cobalt"] .wordmark { letter-spacing: .02em; }
.head-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font: 500 15px var(--f-sans); font-stretch: 100%; }
.head-link { text-decoration: none; color: var(--p-mute); transition: color .2s; }
.head-link:hover { color: var(--p-ink); }
.head-download { color: var(--p-ink); text-decoration: underline; text-decoration-color: var(--p-accent); text-decoration-thickness: 2px; }
.skin-button {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px 7px 8px; cursor: pointer;
  background: none; border: 1px solid var(--p-line); border-radius: max(var(--p-radius), 4px);
  color: var(--p-ink); font: 500 12px/1 var(--f-mono); font-stretch: 87.5%; transition: border-color .2s;
}
.skin-button:hover { border-color: var(--p-accent); }
.skin-swatch { display: inline-flex; width: 22px; height: 16px; border-radius: 2px; overflow: hidden; outline: 1px solid var(--p-line); }
.skin-swatch i { flex: 1; background: var(--p-bg); }
.skin-swatch i + i { flex: 0 0 7px; background: var(--p-accent); }

/* Design switcher */
.skins {
  position: fixed; inset: auto; margin: 0; top: var(--pop-top, 72px); left: var(--pop-left, auto); right: var(--pop-right, 16px);
  width: min(300px, calc(100vw - 32px)); padding: 14px 10px 12px; color: var(--p-ink);
  background: var(--p-soft); border: 1px solid var(--p-line); border-radius: calc(var(--p-radius) + 4px);
  box-shadow: 0 30px 80px -24px rgb(0 0 0 / .6);
}
.skins:popover-open { animation: pop-in .42s var(--ease) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-8px) scale(.97); } }
.skins-label, .skins-note { padding: 0 8px; font: 500 11px var(--f-mono); font-stretch: 87.5%; color: var(--p-mute); }
.skins-label { margin-bottom: 8px; }
.skins-note { margin-top: 10px; }
.skins-list { display: grid; gap: 1px; }
.skin-option {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; width: 100%;
  padding: 8px; border: 0; border-radius: max(var(--p-radius), 4px); background: none; cursor: pointer;
  text-align: left; font: 500 15px/1.2 var(--f-sans); font-stretch: 100%; color: var(--p-ink);
}
.skin-option:hover, .skin-option:focus-visible { background: color-mix(in oklab, var(--p-ink) 8%, transparent); }
.skin-option .sw { display: block; height: 20px; border-radius: 3px; background: linear-gradient(90deg, var(--sw-accent) 0 6px, var(--sw-bg) 6px); outline: 1px solid color-mix(in oklab, var(--p-ink) 18%, transparent); }
.skin-option small { font: 400 10px var(--f-mono); font-stretch: 87.5%; color: var(--p-mute); }
.skin-option[aria-pressed="true"] { color: var(--p-hi); }
.skin-option[aria-pressed="true"] small::before { content: '●  '; color: var(--p-accent); }

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

.hero { padding-top: clamp(28px, 7vh, 110px); padding-bottom: clamp(56px, 8vw, 120px); }
.hero-title {
  display: flex; flex-direction: column; font-size: clamp(38px, 11.2vw, 184px); line-height: .9;
  font-family: var(--p-display); font-weight: var(--p-wght); font-stretch: calc(var(--p-wdth) * 1%);
  letter-spacing: calc(var(--p-track) * 1em);
}
[data-skin="optic"] .hero-title, [data-skin="phosphor"] .hero-title, [data-skin="tape"] .hero-title { font-size: clamp(40px, 8.4vw, 136px); line-height: .98; }
[data-skin="cobalt"] .hero-title { font-size: clamp(44px, 9.6vw, 160px); }
.mask { display: block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
.mask > span { display: block; }
.accent { color: var(--p-accent); }
.js .mask > span { transform: translateY(108%); }
.js.loaded .mask > span { animation: rise 1.25s var(--ease) both; }
.js.loaded .mask + .mask > span { animation-delay: .1s; }
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }

.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 56px; margin-top: clamp(28px, 4vw, 56px); }
.lede { max-width: 34ch; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; color: var(--p-mute); }
[data-skin="optic"] .lede, [data-skin="phosphor"] .lede, [data-skin="tape"] .lede { font-size: clamp(15px, 1.2vw, 17px); max-width: 42ch; }
.cta { display: grid; justify-items: start; gap: 14px; }
.button {
  --lift: 0px;
  display: inline-flex; align-items: center; gap: 16px; padding: 19px 24px 19px 28px;
  background: var(--p-accent); color: var(--p-on); border-radius: var(--p-radius);
  font: 650 19px/1 var(--f-sans); font-stretch: 100%; letter-spacing: -.01em; text-decoration: none;
  transition: background-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--p-accent) 0%, transparent);
}
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.button:hover { background: color-mix(in oklab, var(--p-accent) 86%, var(--p-ink)); transform: translateY(-2px); box-shadow: 0 18px 40px -18px var(--p-accent); }
.button:hover svg { transform: translate(2px, -2px); }
.button:active { transform: translateY(0); transition-duration: .1s; }
.cta-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font: 400 12px/1.5 var(--f-mono); font-stretch: 87.5%; color: var(--p-mute); }

/* The dock holds the live window. */
.dock { position: relative; height: clamp(500px, 56vw, 780px); transition: height .7s var(--ease); margin-top: clamp(48px, 7vw, 104px); }
.dock .win-frame { transition: height .7s var(--ease); }
.dock.is-max { height: clamp(560px, 78vw, 920px); }
.win { box-shadow: 0 60px 120px -40px rgb(0 0 0 / .55), 0 30px 60px -30px rgb(0 0 0 / .35); }
.js .dock:not(.entered) .win-frame { opacity: 0; transform: translateY(70px) scale(.97); }
.js.loaded .dock:not(.entered) .win-frame { animation: window-in 1.4s var(--ease) .38s both; }
@keyframes window-in { from { opacity: 0; transform: translateY(70px) scale(.97); } to { opacity: 1; transform: none; } }
.dock.is-hidden .win-frame { visibility: hidden; }

.ghost { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ghost rect { fill: none; stroke: var(--p-line); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; }
.dock.is-hidden .ghost rect, .dock.is-away .ghost rect { animation: draw 1.6s var(--ease) .1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.wake {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px;
  padding: 24px; border: 0; background: none; cursor: pointer; color: var(--p-ink); text-align: center;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s;
}
.dock.is-hidden .wake { opacity: 1; visibility: visible; transition: opacity .9s var(--ease) .25s, visibility 0s; }
.wake-title { font-family: var(--p-display); font-weight: var(--p-wght); font-stretch: calc(var(--p-wdth) * 1%); letter-spacing: calc(var(--p-track) * 1em); font-size: clamp(32px, 4.6vw, 64px); line-height: 1; }
.wake-keys { font-size: 17px; color: var(--p-mute); }
.wake:hover .wake-keys { color: var(--p-ink); }
.wake:focus-visible { outline-offset: -1px; border-radius: 10px; }
.wake:hover kbd { border-color: var(--p-accent); }

.dock-hint { margin-top: 22px; max-width: 70ch; font-size: 15px; color: var(--p-mute); }
.hint-touch { display: none; }
[data-os="mobile"] .hint-keyboard { display: none; }
[data-os="mobile"] .hint-touch { display: inline; }

/* ---------- ten designs ---------- */

.stage { position: relative; height: calc(var(--steps) * 64svh + 100svh); }
.stage-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--p-bg); color: var(--p-ink); }
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
  gap: clamp(24px, 4vw, 80px); padding: 112px var(--gutter) 128px calc(var(--gutter) + var(--p-rail));
  background: var(--p-bg); color: var(--p-ink); font-family: var(--p-body); font-stretch: calc(var(--p-body-wdth) * 1%);
}
.slide::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p-rail); background: var(--p-accent); }
.slide[data-skin="optic"]::after { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--p-accent); }
.slide[data-skin="phosphor"]::after { content: ''; position: absolute; inset: 8px; border: 1px solid var(--p-accent); border-radius: 10px; opacity: .45; pointer-events: none; }
.slide-meta { position: relative; max-width: 600px; }
.slide-tag { font: 500 12px var(--f-mono); font-stretch: 87.5%; color: var(--p-hi); letter-spacing: .02em; min-height: 1.5em; }
.slide-name {
  margin: 10px 0 22px; font-size: clamp(60px, 9vw, 164px); line-height: .88;
  font-family: var(--p-display); font-weight: var(--p-wght); font-stretch: calc(var(--p-wdth) * 1%); letter-spacing: calc(var(--p-track) * 1em);
}
.slide[data-skin="optic"] .slide-name, .slide[data-skin="phosphor"] .slide-name, .slide[data-skin="tape"] .slide-name { font-size: clamp(44px, 6.6vw, 116px); }
.slide[data-skin="cobalt"] .slide-name { font-size: clamp(52px, 7.6vw, 140px); }
.slide-desc { max-width: 26ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; color: var(--p-mute); }
.slide[data-skin="optic"] .slide-desc, .slide[data-skin="phosphor"] .slide-desc, .slide[data-skin="tape"] .slide-desc { font-size: clamp(15px, 1.15vw, 17px); max-width: 32ch; }
.slide-wear {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 12px 18px; cursor: pointer;
  background: none; color: var(--p-ink); border: 1px solid color-mix(in oklab, var(--p-ink) 40%, transparent); border-radius: var(--p-radius);
  font: 600 15px/1 var(--f-sans); font-stretch: 100%; transition: background-color .3s, color .3s, border-color .3s;
}
.slide-wear:hover { border-color: var(--p-accent); }
.slide-wear[aria-pressed="true"] { background: var(--p-accent); color: var(--p-on); border-color: var(--p-accent); }
.slide-wear svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.slide-wear:not([aria-pressed="true"]) svg { display: none; }
.slide-win { position: relative; justify-self: end; width: 100%; height: min(64svh, 640px); }
.slide-win .win { --wk: .86; }
.stage-top {
  position: absolute; z-index: 3; inset: 0 0 auto 0; display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 30px var(--gutter) 0 calc(var(--gutter) + var(--p-rail)); pointer-events: none;
}
.stage-title { font: 500 clamp(16px, 1.3vw, 19px)/1.2 var(--f-sans); font-stretch: 100%; letter-spacing: -.01em; }
.stage-count { font: 500 12px var(--f-mono); font-stretch: 87.5%; color: var(--p-mute); font-variant-numeric: tabular-nums; }
.stage-index {
  position: absolute; z-index: 3; inset: auto 0 34px 0; display: flex; flex-wrap: wrap; gap: 6px 22px;
  padding: 0 calc(var(--gutter) + 230px) 0 calc(var(--gutter) + var(--p-rail));
}
.stage-index button {
  position: relative; padding: 6px 0; border: 0; background: none; cursor: pointer; color: var(--p-mute);
  font: 500 12px/1 var(--f-mono); font-stretch: 87.5%; transition: color .3s;
}
.stage-index button::after { content: ''; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--p-accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.stage-index button:hover { color: var(--p-ink); }
.stage-index button[aria-current="true"] { color: var(--p-ink); }
.stage-index button[aria-current="true"]::after { transform: none; }
.stage-progress { position: absolute; z-index: 3; inset: auto 0 0 0; height: 3px; }
.stage-progress i { display: block; height: 100%; background: var(--p-accent); transform-origin: left; transform: scaleX(0); }
.stage-pin { transition: --p-bg .6s var(--ease), --p-ink .6s var(--ease), --p-mute .6s var(--ease), --p-accent .6s var(--ease), --p-rail .6s var(--ease); }
.no-skin-transition .stage-pin { transition: none; }

/* "And seven more": the rest of the designs as slabs, each wearing itself. */
.slide-more { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: stretch; align-content: stretch; gap: clamp(22px, 3.6svh, 44px); padding-top: 100px; padding-bottom: 100px; }
.more-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 6px clamp(24px, 4vw, 64px); }
.more-head .slide-tag { grid-column: 1 / -1; }
.more-head .slide-name, .slide-more[data-skin] .slide-name { margin: 0; font-size: clamp(44px, 6vw, 104px); }
.more-head .slide-desc { max-width: 36ch; padding-bottom: .35em; }
.slabs { --focus: var(--p-accent); display: flex; gap: 10px; min-height: 0; }
.slab {
  position: relative; isolation: isolate; flex: 1 1 0; min-width: 0; overflow: hidden; margin: 0; padding: 0; border: 0; cursor: pointer; text-align: left;
  background: var(--p-bg); color: var(--p-ink); font-family: var(--p-body); font-stretch: calc(var(--p-body-wdth) * 1%);
  border-radius: max(var(--p-radius), 4px);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-ink) 14%, transparent), 0 28px 60px -34px rgb(0 0 0 / .65);
  transition: flex-grow .9s var(--ease), transform .5s var(--ease);
}
.slab.is-open { flex-grow: 4.2; }
.slab:not(.is-open):hover { transform: translateY(-6px); }
.slab:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.slab::before { content: ''; position: absolute; z-index: 1; inset: 0 auto 0 0; width: var(--p-rail); background: var(--p-accent); }
.slab[data-skin="optic"]::after { content: ''; position: absolute; z-index: 1; inset: auto 0 0 0; height: 4px; background: var(--p-accent); }
.slab[data-skin="phosphor"]::after { content: ''; position: absolute; z-index: 1; inset: 6px; border: 1px solid var(--p-accent); border-radius: 6px; opacity: .5; }
.slab[data-skin="sidecar"]::after { content: ''; position: absolute; z-index: 1; left: 0; top: 30%; width: 4px; height: 44px; border-radius: 4px; background: var(--p-accent); }
.slab[data-skin="frost"] { background: linear-gradient(160deg, #f6f9fb, #d9e3ec); }
.slab-num { position: absolute; z-index: 2; top: 16px; left: calc(16px + var(--p-rail)); font: 500 11px/1 var(--f-mono); font-stretch: 87.5%; color: var(--p-mute); }
.slab-spine {
  position: absolute; z-index: 2; left: calc(10px + var(--p-rail)); bottom: 16px; writing-mode: vertical-rl; transform: rotate(180deg);
  white-space: nowrap; line-height: 1; font-size: clamp(26px, 2.6vw, 40px);
  font-family: var(--p-display); font-weight: var(--p-wght); font-stretch: calc(var(--p-wdth) * 1%); letter-spacing: calc(var(--p-track) * 1em);
  transition: opacity .35s var(--ease), translate .6s var(--ease);
}
.slab.is-open .slab-spine { opacity: 0; translate: -18px 0; }
.slab-body {
  position: absolute; z-index: 2; inset: 0 auto 0 0; width: clamp(300px, 30vw, 440px); display: flex; flex-direction: column; gap: 14px;
  padding: 46px 26px 24px calc(26px + var(--p-rail));
  opacity: 0; translate: 0 14px; transition: opacity .25s var(--ease), translate .5s var(--ease);
}
.slab.is-open .slab-body { opacity: 1; translate: none; transition: opacity .6s var(--ease) .22s, translate .9s var(--ease) .22s; }
.slab-name {
  font-size: clamp(36px, 3.8vw, 64px); line-height: .9;
  font-family: var(--p-display); font-weight: var(--p-wght); font-stretch: calc(var(--p-wdth) * 1%); letter-spacing: calc(var(--p-track) * 1em);
}
.slab-desc { max-width: 30ch; font-size: 15px; line-height: 1.45; color: var(--p-mute); }
.mini { position: relative; display: block; flex: 1 1 auto; min-height: 64px; overflow: hidden; border: 1px solid color-mix(in oklab, var(--p-ink) 22%, transparent); border-radius: max(calc(var(--p-radius) - 4px), 2px); background: var(--p-soft); }
.mini-bar { display: flex; align-items: center; justify-content: space-between; height: 26px; padding: 0 10px; border-bottom: 1px solid color-mix(in oklab, var(--p-ink) 22%, transparent); font: 400 9px/1 var(--f-mono); color: var(--p-mute); }
.mini-bar b { font-family: var(--p-display); font-weight: var(--p-brand-wght); font-stretch: calc(var(--p-wdth) * 1%); font-size: 14px; line-height: 1; letter-spacing: -.03em; color: var(--p-ink); }
.mini > i { display: block; width: 72%; height: 7px; margin: 14px 14px 0; border-radius: 2px; background: var(--p-ink); opacity: .32; }
.mini > i:first-of-type { width: 42%; background: var(--p-accent); opacity: 1; }
.mini > i:nth-of-type(3) { width: 55%; }
.mini > i:last-of-type { width: 30%; }
.slab[data-skin="tape"] .mini { background: #ebf23e; }
.slab[data-skin="tape"] .mini-bar { background: #151614; color: #b7baad; }
.slab[data-skin="tape"] .mini-bar b { color: #eeeeea; }
.slab[data-skin="cobalt"] .mini::after { content: ''; position: absolute; inset: auto 0 0 0; height: 24px; background: #f9fafc; }
.slab[data-skin="redline"] .mini { border-left: 8px solid var(--p-accent); }
.slab[data-skin="redline"] .mini > i:first-of-type { width: 54%; height: 15px; background: var(--p-ink); }
.slab[data-skin="optic"] .mini { border-left: 3px solid var(--p-accent); border-bottom: 3px solid var(--p-accent); }
.slab-cta {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 11px 16px; white-space: nowrap;
  background: var(--p-accent); color: var(--p-on); border-radius: var(--p-radius); font: 600 14px/1 var(--f-sans); font-stretch: 100%;
}
.slab-cta svg { display: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.slab[aria-pressed="true"] .slab-cta svg { display: block; }

/* ---------- keyboard ---------- */

.keys { padding-top: clamp(120px, 16vw, 240px); padding-bottom: clamp(60px, 8vw, 120px); }
.section-head { display: grid; gap: 22px; }
.section-title {
  max-width: 13ch; font-size: clamp(44px, 7.6vw, 124px); line-height: .92;
  font-family: var(--p-display); font-weight: var(--p-wght); font-stretch: calc(var(--p-wdth) * 1%); letter-spacing: calc(var(--p-track) * 1em);
}
[data-skin="optic"] .section-title, [data-skin="phosphor"] .section-title, [data-skin="tape"] .section-title { font-size: clamp(34px, 5.6vw, 92px); max-width: 16ch; line-height: 1; }
.section-note { font-size: clamp(17px, 1.4vw, 20px); color: var(--p-mute); }
.keys-last { display: inline-block; margin-left: 10px; color: var(--p-ink); }
.key-list { list-style: none; padding: 0; margin-top: clamp(44px, 6vw, 88px); border-top: 1px solid var(--p-line); }
.key-row {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr);
  align-items: baseline; gap: 10px 32px; padding: clamp(18px, 2vw, 26px) 0; border-bottom: 1px solid var(--p-line);
}
.key-row::before {
  content: ''; position: absolute; z-index: -1; inset: -1px calc(-1 * var(--gutter)); background: var(--p-accent);
  transform: scaleX(0); transform-origin: left; opacity: 0;
}
.key-row.hit::before { animation: flood 1.3s var(--ease) both; }
.key-row.hit { animation: on-flood 1.3s var(--ease) both; }
@keyframes flood { 0% { transform: scaleX(0); opacity: 1; } 28% { transform: scaleX(1); opacity: 1; } 62% { opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes on-flood { 0%, 62% { color: var(--p-on); } 100% { color: var(--p-ink); } }
.key-combo { display: flex; flex-wrap: wrap; gap: 8px; }
.key-combo kbd {
  display: inline-block; min-width: 1.9em; padding: .34em .56em .3em; text-align: center;
  font: 500 clamp(17px, 1.8vw, 24px)/1 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0;
  border: 1px solid var(--p-line); border-radius: max(var(--p-radius), 4px); color: inherit; transition: border-color .3s;
}
.key-row:hover .key-combo kbd { border-color: var(--p-accent); }
.key-row.hit .key-combo kbd { border-color: currentColor; }
.key-name { font: 600 clamp(18px, 1.6vw, 22px)/1.2 var(--f-sans); font-stretch: 100%; letter-spacing: -.01em; }
[data-skin="optic"] .key-name, [data-skin="phosphor"] .key-name, [data-skin="tape"] .key-name { font-family: var(--f-mono); font-stretch: 87.5%; font-size: clamp(15px, 1.3vw, 18px); }
.key-desc { color: var(--p-mute); }
.key-row.hit .key-desc { color: inherit; }
.key-desc kbd { font-size: .78em; color: inherit; }

/* ---------- tools ---------- */

.tools { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 96px); padding-block: clamp(80px, 10vw, 160px); }
.tools .section-title { position: sticky; top: 15vh; align-self: start; font-size: clamp(40px, 5.6vw, 92px); }
.tools-grid { display: grid; }
.tool { padding: 28px 0 34px; border-top: 1px solid var(--p-line); }
.tool:last-child { border-bottom: 1px solid var(--p-line); }
.tool-title { margin-bottom: 14px; font: 600 clamp(20px, 1.8vw, 26px)/1.2 var(--f-sans); font-stretch: 100%; letter-spacing: -.015em; }
[data-skin="optic"] .tool-title, [data-skin="phosphor"] .tool-title, [data-skin="tape"] .tool-title { font-family: var(--f-mono); font-stretch: 87.5%; font-size: clamp(17px, 1.4vw, 20px); }
.tool p { max-width: 58ch; color: var(--p-mute); }
.tool p + p { margin-top: 12px; }
.langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px !important; }
.langs span {
  padding: 4px 8px; border: 1px solid var(--p-line); border-radius: max(var(--p-radius), 3px);
  font: 400 12px/1.4 var(--f-mono); font-stretch: 87.5%; color: var(--p-mute); transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.langs span.is-on { background: var(--p-accent); border-color: var(--p-accent); color: var(--p-on); }
.langs .langs-more { border-style: dashed; }

/* ---------- data ---------- */

.data { padding-block: clamp(80px, 10vw, 160px); }
.paths { display: flex; flex-direction: column; gap: 26px; margin-top: clamp(40px, 5vw, 72px); }
[data-os="mac"] [data-path-os="mac"] { order: -1; }
.data-path { display: grid; gap: 8px; }
.data-path code { font: 400 clamp(15px, 2.3vw, 34px)/1.3 var(--f-mono); font-stretch: 87.5%; letter-spacing: -.02em; overflow-wrap: anywhere; color: var(--p-ink); }
.data-path:first-child code { color: var(--p-ink); }
.data-path:first-child code::after { content: ''; display: inline-block; width: .5em; height: .1em; margin-left: .12em; background: var(--p-accent); animation: underscore 1.1s steps(1) infinite; }
.data-path + .data-path code { font-size: clamp(13px, 1.4vw, 19px); color: var(--p-mute); }
@keyframes underscore { 50% { opacity: 0; } }
.data-path-label { font: 500 11px var(--f-mono); font-stretch: 87.5%; color: var(--p-mute); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--p-line); }
.fact { padding: 26px 32px 6px 0; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--p-line); }
.fact dt { margin-bottom: 10px; font: 600 clamp(19px, 1.7vw, 24px)/1.2 var(--f-sans); font-stretch: 100%; letter-spacing: -.015em; }
[data-skin="optic"] .fact dt, [data-skin="phosphor"] .fact dt, [data-skin="tape"] .fact dt { font-family: var(--f-mono); font-stretch: 87.5%; font-size: clamp(16px, 1.3vw, 19px); }
.fact dd { color: var(--p-mute); max-width: 34ch; }

/* ---------- download ---------- */

.download { padding-top: clamp(100px, 13vw, 200px); padding-bottom: clamp(80px, 9vw, 140px); }
.download-title {
  font-size: clamp(76px, 17vw, 280px); line-height: .84; color: var(--p-accent);
  -webkit-text-stroke: .012em var(--p-accent); paint-order: stroke fill;
  font-family: var(--p-display); font-weight: var(--p-wght); font-stretch: calc(var(--p-wdth) * 1%); letter-spacing: calc(var(--p-track) * 1em);
}
[data-skin="optic"] .download-title, [data-skin="phosphor"] .download-title, [data-skin="tape"] .download-title { font-size: clamp(56px, 12vw, 200px); }
.platforms { list-style: none; padding: 0; display: flex; flex-direction: column; margin-top: clamp(40px, 5vw, 80px); border-top: 1px solid var(--p-line); }
[data-os="mac"] .platform[data-platform="macos"] { order: -1; }
.platform-link {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; align-items: center; gap: 12px 32px;
  padding: clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid var(--p-line); color: var(--p-ink); text-decoration: none;
  transition: color .45s var(--ease), padding .6s var(--ease);
}
.platform-link::before {
  content: ''; position: absolute; z-index: -1; inset: -1px calc(-1 * var(--gutter)); background: var(--p-accent);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.platform-link:hover, .platform-link:focus-visible { color: var(--p-on); padding-left: 18px; }
.platform-link:hover::before, .platform-link:focus-visible::before { transform: none; }
.platform-link:focus-visible { outline: none; }
.platform-name {
  font-size: clamp(38px, 5.6vw, 84px); line-height: 1;
  font-family: var(--p-display); font-weight: var(--p-wght); font-stretch: calc(var(--p-wdth) * 1%); letter-spacing: calc(var(--p-track) * 1em);
}
.platform-meta { font: 400 13px/1.5 var(--f-mono); font-stretch: 87.5%; color: var(--p-mute); transition: color .45s var(--ease); }
.platform-meta b { font-weight: 600; color: var(--p-ink); transition: color .45s var(--ease); }
.platform-link:hover .platform-meta, .platform-link:hover .platform-meta b,
.platform-link:focus-visible .platform-meta, .platform-link:focus-visible .platform-meta b { color: var(--p-on); }
.platform-go { display: inline-flex; align-items: center; gap: 12px; font: 500 14px var(--f-mono); font-stretch: 87.5%; }
.platform-go svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.platform-link:hover .platform-go svg { transform: translate(3px, -3px); }
.platform-yours { display: inline-block; margin-right: 12px; padding: 3px 7px; vertical-align: .05em; border: 1px solid currentColor; border-radius: 3px; font: 500 10px/1.2 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0; }
.download-notes { display: grid; gap: 8px; margin-top: 36px; max-width: 72ch; font-size: 15px; color: var(--p-mute); }

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

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 28px 104px; border-top: 1px solid var(--p-line); font: 400 12px/1.5 var(--f-mono); font-stretch: 87.5%; color: var(--p-mute); }
.wordmark-small { margin-right: 14px; font-family: var(--p-display); font-weight: var(--p-brand-wght); font-stretch: calc(var(--p-wdth) * 1%); font-size: 18px; letter-spacing: -.03em; color: var(--p-ink); }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.foot-links a { color: var(--p-mute); }
.foot-links a:hover { color: var(--p-ink); }
.foot-skin { padding: 0; border: 0; background: none; cursor: pointer; color: var(--p-mute); font: inherit; text-decoration: underline; text-decoration-color: var(--p-accent); text-underline-offset: .22em; }
.foot-skin span { color: var(--p-ink); }

/* ---------- always present ---------- */

.pill {
  position: fixed; z-index: 45; right: 18px; bottom: max(18px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; cursor: pointer;
  background: color-mix(in oklab, var(--p-soft) 92%, transparent); color: var(--p-ink);
  border: 1px solid var(--p-line); border-radius: 999px; box-shadow: 0 18px 44px -16px rgb(0 0 0 / .55);
  font: 600 14px/1 var(--f-sans); font-stretch: 100%; letter-spacing: -.01em;
  opacity: 0; transform: translateY(160%); pointer-events: none;
  transition: transform .8s var(--ease), opacity .5s var(--ease), border-color .3s;
}
.pill.is-on { opacity: 1; transform: none; pointer-events: auto; }
.pill:hover { border-color: var(--p-accent); }
.pill i { width: 9px; height: 9px; border-radius: 2px; background: var(--p-accent); animation: breathe 3.2s ease-in-out infinite; }
.pill kbd { font-size: 10px; margin: 0 1px; color: var(--p-mute); }
@keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.72); } }

.summon { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 16px; }
.summon[hidden] { display: none; }
.summon-scrim { position: absolute; inset: 0; background: color-mix(in oklab, var(--p-bg) 70%, transparent); backdrop-filter: blur(6px) saturate(.9); -webkit-backdrop-filter: blur(6px) saturate(.9); }
.summon-slot { position: relative; width: min(1100px, 100%); height: min(720px, calc(100svh - 32px)); transition: width .7s var(--ease), height .7s var(--ease); }
.summon.is-max .summon-slot { width: 100%; height: calc(100svh - 32px); }
.summon .win { box-shadow: 0 40px 140px -20px rgb(0 0 0 / .7); }

/* ---------- reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- smaller screens ---------- */

@media (max-width: 980px) {
  .tools { grid-template-columns: 1fr; }
  .tools .section-title { position: static; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 22px 0 22px; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--p-line); }
  .key-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .key-row .key-desc { grid-column: 2; }
  .key-row .key-name { grid-column: 2; grid-row: 1; }
  .key-row .key-combo { grid-row: 1 / span 2; align-self: start; }
}

@media (max-width: 860px) {
  .slide {
    grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; align-content: stretch;
    gap: 20px; padding: 84px var(--gutter) 92px calc(var(--gutter) + var(--p-rail));
  }
  .slide-name { margin: 6px 0 10px; font-size: clamp(46px, 14vw, 88px); }
  .slide[data-skin="optic"] .slide-name, .slide[data-skin="phosphor"] .slide-name, .slide[data-skin="tape"] .slide-name { font-size: clamp(34px, 10vw, 64px); }
  .slide[data-skin="cobalt"] .slide-name { font-size: clamp(40px, 12vw, 80px); }
  .slide-desc { font-size: 16px; max-width: 34ch; }
  .slide-wear { margin-top: 16px; padding: 10px 14px; font-size: 14px; }
  .slide-win { justify-self: stretch; width: 100%; height: 100%; min-height: 0; }
  .slide-win .win { --wk: .78; }
  .slide-more { align-items: stretch; padding-top: 76px; padding-bottom: 72px; gap: 16px; }
  .more-head { grid-template-columns: 1fr; }
  .more-head .slide-name, .slide-more[data-skin] .slide-name { font-size: clamp(36px, 10.6vw, 64px); }
  .more-head .slide-desc { font-size: 15px; padding-bottom: 0; }
  .slabs { flex-direction: column; gap: 6px; }
  .slab.is-open { flex-grow: 6; }
  .slab:not(.is-open):hover { transform: none; }
  .slab-spine { writing-mode: horizontal-tb; transform: none; top: 50%; bottom: auto; left: calc(16px + var(--p-rail)); translate: 0 -50%; font-size: 21px; }
  .slab.is-open .slab-spine { translate: 0 -50%; }
  .slab-num { top: 50%; left: auto; right: 14px; translate: 0 -50%; }
  .slab.is-open .slab-num { top: 16px; translate: none; }
  .slab-body { inset: 0; width: auto; padding: 14px 18px 14px calc(18px + var(--p-rail)); gap: 8px; }
  .slab-name { font-size: 32px; }
  .slab-desc { font-size: 14px; }
  .mini { display: none; }
  .slab-cta { margin-top: auto; padding: 9px 13px; font-size: 13px; }
  .stage-top { padding-top: 22px; }
  .stage-index { bottom: 26px; gap: 5px; padding-right: 120px; }
  .stage-index button { width: 18px; height: 18px; font-size: 0; color: transparent; }
  .stage-index button::after { height: 3px; transform: none; background: color-mix(in oklab, var(--p-ink) 25%, transparent); bottom: 7px; }
  .stage-index button[aria-current="true"]::after { background: var(--p-accent); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .head { padding-block: 16px; }
  .wordmark { font-size: 24px; }
  .hide-narrow { display: none; }
  .head-nav { gap: 14px; font-size: 14px; }
  .skin-button { padding: 6px 9px 6px 6px; }
  .hero-row { grid-template-columns: 1fr; }
  .dock { height: min(560px, 74svh); margin-top: 44px; }
  .wake { gap: 14px; }
  .key-row { grid-template-columns: 1fr; gap: 10px; }
  .key-row .key-combo, .key-row .key-name, .key-row .key-desc { grid-column: 1; grid-row: auto; }
  .platform-link { grid-template-columns: minmax(0, 1fr) auto; }
  .platform-meta { grid-column: 1 / -1; grid-row: 2; }
  .platform-go { grid-row: 1; grid-column: 2; }
  .pill { right: 12px; padding: 9px 14px 9px 12px; }
  .pill-keys { display: none; }
}

@media (max-width: 420px) {
  .skin-name { display: none; }
}

/* View transition for switching the page's design. */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }
