:root {
  --ground: #080807;
  --ink: #f2f0ea;
  --dim: rgba(242, 240, 234, .62);
  --faint: rgba(242, 240, 234, .38);
  --line: rgba(242, 240, 234, .1);
  --line2: rgba(242, 240, 234, .2);
  --sheet: #0e0e0d;
  --well: #161614;
  --paper: #efeee9;
  --amber: #dcab22;
  --vermilion: #f2542d;
  --gutter: 32px;
  --sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --out: cubic-bezier(.23, 1, .32, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { background: var(--ground); }
body {
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 72px; padding: 0 32px;
}
.nav.solid { background: var(--ground); box-shadow: 0 1px 0 var(--line); }
.nav-marker { position: absolute; top: 0; left: 0; width: 1px; height: 8px; pointer-events: none; }
html { scroll-padding-top: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; justify-self: start; }
.links { display: flex; gap: 32px; font-size: 14px; color: var(--dim); }
.links a { transition: color .2s; }
.links a:hover { color: var(--ink); }
.end { justify-self: end; display: flex; align-items: center; gap: 20px; }
.gh { color: var(--dim); display: grid; transition: color .2s; }
.gh:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 22px;
  font: 500 15px/1 var(--sans);
  border: 1.5px solid var(--line2);
  transition: background-color .2s, border-color .2s, transform .12s var(--out);
}
.btn:hover { background: rgba(242, 240, 234, .06); border-color: rgba(242, 240, 234, .32); }
.btn:active { transform: translateY(1px); }
.btn.small { height: 36px; padding: 0 14px; font-size: 13px; background: var(--ink); color: var(--ground); border-color: var(--ink); }
.btn.small:hover { background: #fff; border-color: #fff; }

.hero {
  position: relative; overflow: hidden;
  height: 100svh; min-height: 760px;
}
.hands { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.copy {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(88px, 9.5vh, 108px) 24px 0;
}
.made-by { display: block; }
.made-by img { display: block; width: 178px; height: 44px; }
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  height: 28px; padding: 0 10px 0 4px;
  font: 400 12px/1 var(--mono); color: var(--dim);
  border: 1px solid var(--line);
  transition: border-color .2s, color .2s;
}
.tag span { background: rgba(242, 240, 234, .1); color: var(--ink); padding: 5px 6px; }
.tag:hover { color: var(--ink); border-color: var(--line2); }

h1 {
  margin-top: 24px;
  font: 500 clamp(40px, 4.2vw, 60px)/1.02 var(--sans);
  letter-spacing: -.045em;
}
.lede {
  margin-top: 20px; max-width: 33em;
  font-size: 16.5px; line-height: 1.55; color: var(--dim);
  text-wrap: pretty;
}

.install { margin-top: 28px; display: flex; gap: 10px; }
.install { flex-wrap: wrap; justify-content: center; }
.install-hint { order: 3; flex-basis: 100%; margin-top: 2px; font: 400 12px/1.5 var(--mono); color: var(--faint); }
.cmdbox { display: flex; height: 56px; background: var(--ink); color: #0b0b0a; transition: background-color .2s; }
.cmdbox:hover { background: #fff; }
.os { position: relative; display: flex; align-items: center; border-right: 1.5px solid rgba(11, 11, 10, .12); }
.os select {
  appearance: none; height: 100%; padding: 0 32px 0 18px;
  font: 500 13px/1 var(--mono); color: inherit; background: none; border: 0; cursor: pointer;
}
.os svg { position: absolute; right: 14px; pointer-events: none; color: rgba(11, 11, 10, .55); }
.os select:focus-visible { outline: 1.5px solid #0b0b0a; outline-offset: -4px; }
.cmd {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  height: 56px; padding-left: 18px;
  color: inherit;
  font: 500 14px/1 var(--mono);
  transition: transform .12s var(--out), background-color .2s;
}
.cmd:active { transform: translateY(1px); }
.cmd .sigil { color: rgba(11, 11, 10, .4); margin-right: 12px; }
.cmd code { font: inherit; white-space: nowrap; }
.copy-cell {
  position: relative; display: grid; place-items: center;
  width: 56px; height: 100%; margin-left: 20px;
  border-left: 1.5px solid rgba(11, 11, 10, .12);
}
.copy-cell svg { grid-area: 1 / 1; transition: opacity .2s, transform .35s var(--out); }
.i-done { opacity: 0; transform: scale(.6); }
.cmd.copied .i-copy { opacity: 0; transform: scale(.6); }
.cmd.copied .i-done { opacity: 1; transform: none; }

/* A thin band of nacre crosses the button once, the way light moves over a shell. */
.cmd::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 214, 228, .55) 44%, rgba(214, 226, 255, .6) 50%, rgba(206, 244, 232, .55) 56%, transparent 65%);
  mix-blend-mode: multiply; opacity: 0;
  transform: translateX(-100%);
}
.cmd.shine::after { animation: shine .9s var(--out); }
@keyframes shine {
  0% { opacity: 1; transform: translateX(-100%); }
  100% { opacity: 1; transform: translateX(100%); }
}



/* Sections share one frame: a 12 column grid, an index column on the left, the headline from column 4. */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: 128px 0; border-top: 1px solid var(--line); }
.head {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: baseline;
  margin-bottom: 64px;
}
.idx {
  grid-column: 1 / 4;
  display: flex; gap: 12px; align-items: baseline;
  font: 400 13px/1 var(--mono); color: var(--dim);
}
.idx b { font-weight: 500; color: var(--ink); }
.head h2 {
  grid-column: 4 / 12;
  font: 500 40px/1.05 var(--sans); letter-spacing: -.035em;
  text-wrap: balance;
}
.head .lead { grid-column: 4 / 11; margin-top: 20px; }
.body { font-size: 16px; line-height: 1.55; color: var(--dim); max-width: 33em; text-wrap: pretty; }
code { font: 400 .92em var(--mono); }
.s { color: var(--ink); }
.paper + .sec, .sec + .paper { border-top: 0; }
.d { opacity: .38; }
.a { color: var(--amber); }

/* 01 The room */
.room-body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.chapters { grid-column: 1 / 4; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.chapters li { border-bottom: 1px solid var(--line); }
.chapters button {
  display: grid; grid-template-columns: 52px 1fr; gap: 12px; width: 100%; padding: 14px 0;
  text-align: left; font-size: 14px; line-height: 1.45; color: var(--faint);
  transition: color .2s;
}
.chapters button:hover { color: var(--dim); }
.chapters button[aria-current] { color: var(--ink); }
.chapters .tc { font: 400 12px/1.7 var(--mono); }
.chapters button[aria-current] .tc { color: var(--ink); }
.screen { grid-column: 4 / 13; margin: 0; }
.screen video {
  display: block; width: 100%; height: auto; aspect-ratio: 1600 / 970;
  background: var(--sheet); border: 1px solid var(--line2);
}
.screen figcaption {
  display: flex; justify-content: space-between; padding-top: 12px;
  font: 400 12px/1 var(--mono); color: var(--faint);
}

/* 02 How it works, set as a data sheet on paper */
.paper {
  --ink: #0e0e0d; --dim: rgba(14, 14, 13, .64); --faint: rgba(14, 14, 13, .42);
  --line: rgba(14, 14, 13, .12); --line2: rgba(14, 14, 13, .22); --amber: #a87c00;
  background: var(--paper); color: var(--ink); border-top: 0;
}
.plates { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); }
.plate { padding: 20px 24px 8px 0; border-right: 1px solid var(--line); }
.plate + .plate { padding-left: 24px; }
.plate:last-child { border-right: 0; padding-right: 0; }
.plate-no { display: flex; justify-content: space-between; font: 500 12px/1 var(--mono); }
.plate-no span { font-weight: 400; color: var(--dim); }
.fig, .swatch, .meter pre {
  margin: 0; font: 400 12px/1.25 var(--mono); white-space: pre; letter-spacing: 0;
}
.fig {
  margin: 28px 0 32px; height: calc(10 * 1.25em); overflow: hidden;
  color: rgba(14, 14, 13, .62);
}
.plate h3 { font: 500 20px/1.2 var(--sans); letter-spacing: -.02em; }
.plate p:last-child { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--dim); text-wrap: pretty; }

/* 03 Agents */
.table { border-top: 1.5px solid var(--ink); }
.row {
  display: grid; grid-template-columns: 3fr 3fr 3fr 3fr; column-gap: 24px; align-items: center;
  min-height: 72px; border-bottom: 1px solid var(--line); font-size: 18px; letter-spacing: -.01em;
}
.row span:nth-child(2), .row span:nth-child(3) { color: var(--dim); font-size: 16px; }
.row.th { min-height: 44px; font: 400 12px/1 var(--mono); color: var(--faint); letter-spacing: 0; }
.row.th span { color: var(--faint); font-size: 12px; }
.swatch { color: var(--faint); font-size: 13px; line-height: 1.2; }
.more { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; margin-top: 48px; }
.more h3 { font: 500 12px/1 var(--mono); color: var(--ink); margin-bottom: 12px; }
.more p { font-size: 15px; line-height: 1.55; color: var(--dim); max-width: 28em; }

/* 04 Pool */
.split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.head.stack { grid-column: 1 / 6; display: block; margin: 0; }
.head.stack .idx { margin-bottom: 24px; }
.head.stack h2 { margin-bottom: 20px; }
.meter { grid-column: 6 / 13; margin: 0; background: var(--sheet); border: 1px solid var(--line2); }
.meter-top {
  display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line);
  font: 400 12px/1 var(--mono); color: var(--faint);
}
.meter-top span:first-child { color: var(--ink); }
.meter-rows { padding: 4px 20px 12px; }
.mrow {
  display: grid; grid-template-columns: 80px 1fr 1fr 76px; column-gap: 20px; align-items: center;
  height: 52px; border-bottom: 1px solid var(--line); font-size: 15px;
}
.mrow:last-child { border-bottom: 0; }
.mrow.mhead { height: 40px; font: 400 11px/1.2 var(--mono); color: var(--faint); }
.mrow pre { font-size: 13px; color: var(--dim); overflow: hidden; }
.mrow .num { font: 400 12px/1 var(--mono); color: var(--dim); text-align: right; font-variant-numeric: tabular-nums; }
.mrow.mhead span:last-child { text-align: right; }

/* Panels: a framed sheet with a mono title bar, shared by Savings and Side by side */
.panel { margin: 0; background: var(--sheet); border: 1px solid var(--line2); }
.panel-top {
  display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line);
  font: 400 12px/1 var(--mono); color: var(--faint);
}
.panel-top span:first-child { color: var(--ink); }

/* 05 Savings */
.head.stack.right { grid-column: 8 / 13; grid-row: 1; }
.head.stack.right .body + .body { margin-top: 14px; }
.panel.cache { grid-column: 1 / 7; grid-row: 1; }
.cache-fig { padding: 24px 20px 8px; color: var(--dim); font-size: 13px; line-height: 1.7; overflow: hidden; }
.legend { display: flex; gap: 24px; padding: 12px 20px 18px; font: 400 12px/1 var(--mono); color: var(--faint); }
.legend i { display: inline-block; width: 8px; height: 8px; margin-right: 8px; vertical-align: 0; }
.k-paid { background: var(--ink); }
.k-cached { background: var(--faint); }

.sec-foot { display: flex; justify-content: flex-end; margin-top: 48px; }
.btn.line { height: 48px; border-color: var(--line2); }
.paper .btn.line:hover { background: rgba(14, 14, 13, .05); border-color: rgba(14, 14, 13, .4); }

/* The note a Mac download gets, rising from the bottom so the download itself never waits on it */
.mac-note {
  position: fixed; z-index: 20; left: 50%; bottom: 24px; width: min(440px, calc(100vw - 32px));
  padding: 0 20px 18px; background: var(--well); border: 1px solid var(--line2);
  transform: translate(-50%, 6px); opacity: 0;
  transition: opacity .3s var(--out), transform .35s var(--out);
}
.mac-note.open { transform: translate(-50%, 0); opacity: 1; }
.mac-note-head {
  display: flex; align-items: center; gap: 10px; height: 48px; margin: 0 -8px 16px 0;
  border-bottom: 1px solid var(--line); font: 400 12px/1 var(--mono); color: var(--faint);
}
.mac-note-x { margin-left: auto; display: grid; place-items: center; width: 32px; height: 32px; color: var(--dim); transition: color .2s; }
.mac-note-x:hover { color: var(--ink); }
.mac-note h2 { font: 500 18px/1.3 var(--sans); letter-spacing: -.015em; outline: 0; }
.mac-note p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--dim); }
.mac-note .mac-path {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px;
  font: 400 11px/1 var(--mono); color: var(--ink);
}
.mac-path span { display: inline-flex; align-items: center; gap: 8px; }
.mac-path b { font-weight: 400; padding: 7px 8px; background: rgba(242, 240, 234, .06); border: 1px solid var(--line); white-space: nowrap; }
.mac-path span:not(:first-child)::before {
  content: ""; width: 5px; height: 5px; margin-right: 2px;
  border-top: 1.5px solid var(--faint); border-right: 1.5px solid var(--faint); transform: rotate(45deg);
}
.mac-note-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.btn.small.line { height: 36px; background: none; color: var(--ink); border-color: var(--line2); }
.btn.small.line:hover { background: rgba(242, 240, 234, .06); border-color: rgba(242, 240, 234, .32); }
.mac-note-copy { display: block; margin-top: 14px; padding: 0; font-size: 13px; color: var(--faint); transition: color .2s; }
.mac-note-copy:hover { color: var(--ink); }

/* Features page */
.fhero { padding-top: 168px; border-top: 0; }
.fgroup {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  padding: 24px 0 8px; border-top: 1.5px solid var(--ink);
}
.fgroup + .fgroup { margin-top: 48px; }
.fgroup .idx { grid-column: 1 / 4; }
.frows { grid-column: 4 / 13; }
.frow {
  display: grid; grid-template-columns: 3fr 6fr; column-gap: 24px;
  padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.frow:last-child { border-bottom: 0; margin-bottom: 0; }
.frow h3 { font: 500 17px/1.4 var(--sans); letter-spacing: -.01em; }
.frow p { font-size: 15px; line-height: 1.55; color: var(--dim); max-width: 36em; }

/* 06 Side by side */
.arena-ask {
  display: flex; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.45;
}
.arena-ask span:first-child { font: 400 12px/1.8 var(--mono); color: var(--faint); }
.arena-cols { display: grid; grid-template-columns: repeat(4, 1fr); }
.arena-col { display: flex; flex-direction: column; border-right: 1px solid var(--line); transition: opacity .3s var(--out); }
.arena-col:last-child { border-right: 0; }
.arena-col.dim { opacity: .38; }
.arena-name {
  display: flex; justify-content: space-between; padding: 14px 16px;
  font: 500 13px/1 var(--sans); border-bottom: 1px solid var(--line);
}
.arena-name small { font: 400 11px/1 var(--mono); color: var(--faint); }
.arena-col.kept .arena-name { background: var(--ink); color: var(--ground); }
.arena-col.kept .arena-name small { color: rgba(11, 11, 10, .55); }
.arena-col pre { margin: 0; padding: 16px; height: 168px; overflow: hidden; font: 400 12px/1.5 var(--mono); color: var(--dim); white-space: pre; }
.arena-keep { margin: 0 16px 16px; height: 36px; font: 500 13px/1 var(--sans); border: 1.5px solid var(--line2); color: var(--dim); transition: background-color .2s, color .2s, border-color .2s, opacity .2s; }
.arena-keep:hover:not(:disabled) { color: var(--ink); border-color: rgba(242, 240, 234, .32); }
.arena-keep:disabled { opacity: 0; pointer-events: none; }
.arena-col.kept .arena-keep { opacity: 1; background: none; border-color: transparent; color: var(--ink); }
.arena-foot {
  display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line);
  font: 400 12px/1 var(--mono); color: var(--faint);
}
.arena-tally { display: flex; gap: 20px; font-variant-numeric: tabular-nums; }
.arena-tally b { font-weight: 400; color: var(--ink); }
.arena-tally .bump { animation: bump .5s var(--out); }
@keyframes bump { from { color: var(--ink); transform: translateY(-3px); } to { transform: none; } }

/* 06 Facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); }
.facts div { padding: 24px 24px 32px 0; border-bottom: 1px solid var(--line); }
.facts div:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font: 500 12px/1 var(--mono); margin-bottom: 14px; }
.facts dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--dim); max-width: 26em; }

/* 07 Install: the furoshiki mark drawn in all four alphabets, one quarter each */
.end-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.mark-ascii {
  grid-column: 1 / 6; justify-self: start; margin: 0; font: 400 11px/1.1 var(--mono); white-space: pre;
  color: var(--faint); overflow: hidden;
}
.end-main { grid-column: 6 / 13; }
.end-main .idx { margin-bottom: 24px; }
.end-main h2 { font: 500 40px/1.05 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.end-main .install { margin-top: 40px; justify-content: flex-start; }
.end-main .install-hint { text-align: left; }
.btn { white-space: nowrap; }
.files { margin-top: 40px; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.files a {
  display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; transition: color .2s;
}
.files a span:last-child { font: 400 13px/1.5 var(--mono); color: var(--faint); transition: color .2s; }
.files a:hover span:last-child { color: var(--ink); }

.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.foot-row { display: flex; align-items: center; gap: 32px; }
.foot .brand { font-size: 15px; }
.foot-links { display: flex; gap: 24px; font-size: 14px; color: var(--dim); }
.foot-links a:hover { color: var(--ink); }
.fine { margin-left: auto; font: 400 12px/1 var(--mono); color: var(--faint); }

@media (max-width: 1100px) {
  .plates { grid-template-columns: repeat(2, 1fr); }
  .plate, .plate + .plate { padding: 20px 24px 24px 0; }
  .plate:nth-child(2n) { padding-left: 24px; border-right: 0; }
  .plate:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .head h2 { grid-column: 4 / 13; }
  .head.stack, .meter, .panel.cache, .head.stack.right { grid-column: 1 / 13; }
  .head.stack.right { grid-row: 1; }
  .panel.cache { grid-row: 2; }
  .head.stack { margin-bottom: 40px; }
  .mark-ascii { grid-column: 1 / 6; font-size: 9px; }
  .end-main { grid-column: 6 / 13; }
}

@media (max-width: 820px) {
  :root { --gutter: 20px; }
  .sec { padding: 88px 0; }
  .head { display: block; margin-bottom: 40px; }
  .idx { margin-bottom: 16px; }
  .screen figcaption { flex-direction: column; gap: 6px; }
  .head h2 { font-size: 30px; }
  .room-body { display: flex; flex-direction: column-reverse; gap: 24px; }
  .chapters button { grid-template-columns: 44px 1fr; padding: 12px 0; }
  .plates { grid-template-columns: 1fr; }
  .plate, .plate + .plate, .plate:nth-child(2n) { padding: 20px 0 28px; border-right: 0; }
  .plate + .plate { border-top: 1px solid var(--line); }
  .row { grid-template-columns: 1fr 1fr; row-gap: 4px; padding: 14px 0; min-height: 0; font-size: 17px; }
  .row span:nth-child(3) { grid-column: 1; }
  .row span:nth-child(4) { grid-column: 2; grid-row: 1 / 3; justify-self: end; }
  .row span:nth-child(2) { display: none; }
  .row.th { display: none; }
  .more { grid-template-columns: 1fr; row-gap: 28px; }
  .mrow { grid-template-columns: 58px 1fr 1fr; column-gap: 12px; }
  .mrow > :last-child { display: none; }
  .mrow pre { font-size: 11px; }
  .arena-cols { grid-template-columns: repeat(2, 1fr); }
  .arena-col:nth-child(2) { border-right: 0; }
  .arena-col:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .arena-col pre { height: 120px; font-size: 11px; padding: 12px; }
  .arena-foot { flex-direction: column; gap: 10px; }
  .arena-tally { flex-wrap: wrap; gap: 14px; }
  .facts { grid-template-columns: 1fr; }
  .fhero { padding-top: 120px; }
  .fgroup { display: block; }
  .fgroup .idx { margin-bottom: 20px; }
  .frow { grid-template-columns: 1fr; row-gap: 6px; }
  .sec-foot { justify-content: stretch; }
  .sec-foot .btn { width: 100%; }
  .legend { flex-direction: column; gap: 10px; }
  .cache-fig { font-size: 11px; padding: 20px 16px 4px; }
  .facts div, .facts div:not(:nth-child(3n + 1)) { padding: 20px 0 24px; border-left: 0; }
  .end-grid { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 48px; }
  .end-main h2 { font-size: 30px; }
  .mark-ascii { font-size: 8px; align-self: center; }
  .foot-row { flex-wrap: wrap; gap: 20px; }
  .fine { margin-left: 0; width: 100%; }
  .links { display: none; }
  .nav { grid-template-columns: 1fr auto; padding: 0 20px; height: 64px; }
  .copy { padding-top: 96px; }
  .end { gap: 14px; }
  .gh { display: none; }
  .made-by img { width: 146px; height: 36px; }
  .mac-note { bottom: 16px; }
  .mac-note .mac-path { font-size: 11px; gap: 6px; }
  .mac-path b { padding: 6px 7px; }
  .lede { font-size: 16px; }
  .install { flex-direction: column; flex-wrap: nowrap; width: 100%; max-width: 440px; }
  .install-hint { order: 0; margin: 0 0 6px; }
  .end-main .install { max-width: none; }
  .cmdbox { width: 100%; min-width: 0; }
  .cmd { flex: 1; min-width: 0; padding-left: 14px; font-size: 13px; }
  .cmd .sigil { margin-right: 8px; }
  .os select { padding: 0 26px 0 14px; font-size: 12px; }
  .os svg { right: 10px; }
  .copy-cell { width: 48px; margin-left: 10px; }
  .cmd code { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; }
  .btn.ghost { width: 100%; }
  .hero { height: auto; min-height: 0; padding-bottom: 340px; }
  .tag { font-size: 11px; white-space: nowrap; }
  .lede { font-size: 15px; }
}

@media (max-width: 820px) and (pointer: coarse) {
  .hero .install .btn.ghost { display: none; }
}

@media (max-width: 420px) {
  .nav .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::after { animation: none !important; transition: none !important; }
}
