/* The two pages on the way to the app, download.html and start.html, on top of site.css (design.md): a Counter. The
   first screen is the download itself: the icon, the headline, one line, the button (on start.html the retry link)
   and the facts under it on columns 1 to 6, the real recording of what you get on 7 to 12. download.html goes on with
   what installing involves in one line on the second paper, the questions as rows and the careful things in one
   disclosure, its heading the summary; start.html, where the visitor is as the download arrives, with the four steps
   (their one place) on the second paper, a real list across four columns, large numerals under hairlines, no boxes,
   then the first ten seconds set large, three things worth trying as rows, and a way to tell someone. Nothing moves but the
   recording, which settles once as the site's one entrance. Since 27 Nov download.html takes the home page's style
   instead (the end of this file, main.home-style). */

.get-page main { padding-bottom: var(--section-gap-s); }
.get-page :is(.lede, p, li, dd, summary) { text-wrap: pretty; }

/* ---------- The first screen ---------- */

/* One column first (a phone, a narrow window): the words, then the recording. From 60rem the words on 1 to 6 and the
   recording on 7 to 12 (640 x 512 at 1440), centred on each other. download.html fills the screen under the nav;
   start.html stops at its content, so the step to do now is on the first screen too. */
.get-top { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); align-items: center; padding-block: var(--space-xl) var(--space-2xl); }
.get-words { display: grid; justify-items: start; align-content: center; min-width: 0; }
.get-icon { width: 96px; height: 96px; filter: var(--shadow-icon); }
.get-top h1 { margin-top: var(--space-lg); }
.get-top .lede { margin-top: var(--space-md); color: var(--text-2); }
/* start.html's line, a sentence a line where there's room. */
@media (min-width: 601px) { .lede-line { display: block; } }

/* The one filled button on the page, the hero's 56 px. */
.get-btn { margin-top: var(--space-xl); gap: var(--space-sm); min-height: 56px; padding-inline: calc(var(--space-lg) + var(--space-2xs)); font-size: var(--text-md); }
.get-btn svg { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* The facts: the owner's lines as he wrote them, quiet, under the button (on start.html the signature on its own line
   under them, the download page's words). */
.get-facts { width: 100%; max-width: 34rem; margin: var(--space-lg) 0 0; font-size: var(--text-sm); line-height: 1.6; color: var(--text-2); }
.get-signed { max-width: 34rem; margin-top: var(--space-3xs); font-size: var(--text-sm); line-height: 1.6; }
/* start.html's retry (a Mac's only): the question, then the download as an outlined pill, a button and not a link. */
.get-retry { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); margin: var(--space-lg) 0 0; color: var(--text-2); font-size: var(--text-md); }

/* The recording: shown whole, its caption under it. */
.get-clip { display: grid; gap: var(--space-sm); min-width: 0; }
.get-clip .frame { width: 100%; }
.get-clip .clip-caption { min-height: 0; max-width: none; color: var(--text-2); font-size: var(--text-sm); }
/* The site's one entrance (design.md): the hero recording's frame settles. Visible without scripts; under reduced
   motion it ends at once (site.css). */
@media (prefers-reduced-motion: no-preference) {
  .get-clip { transition: opacity var(--dur-entrance) var(--ease-out), transform var(--dur-entrance) var(--ease-out); }
  @starting-style { .get-clip { opacity: 0; transform: translateY(16px); } }
}

/* start.html's icon, with our own mark at its corner: a downward arrow in the accent, still. */
.arrive { position: relative; justify-self: start; }
.arrive-mark { position: absolute; right: calc(-1 * var(--space-sm)); bottom: calc(-1 * var(--space-xs)); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-mark); }
.arrive-mark svg { fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- The four steps, on the second paper ---------- */

/* A real list. One step a row on a phone, the numeral beside the words; two by two from 720 px; four across from
   60rem, each under its hairline with its numeral above it. On start.html the first step is the one to do now: its
   rule and its numeral in the accent. */
.start-steps { padding-block: var(--section-gap-s); background: var(--bg-2); }
.start-steps h2:not(.vh) { max-width: 16ch; margin-bottom: var(--space-2xl); }
.install-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--gap-columns); }
.install-step { display: grid; grid-template-columns: var(--space-xl) minmax(0, 1fr); column-gap: var(--space-sm); align-items: baseline; min-width: 0; padding-block: var(--space-lg); border-top: 1px solid var(--line); }
.install-n { font-size: 1.75rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--text); }
.install-words { display: grid; align-content: start; gap: var(--space-xs); min-width: 0; }
.install-step h3 { font-size: var(--text-title); }
.install-step p { font-size: 1rem; line-height: 1.5; color: var(--text-2); }
.install-step .file { font-weight: 600; color: var(--text); white-space: nowrap; }
.install-now { border-top-color: var(--accent); box-shadow: 0 -1px 0 var(--accent); }
.install-now .install-n { color: var(--accent); }
.now-tag { justify-self: start; color: var(--accent); font-size: var(--text-sm); font-weight: 600; }
/* On a phone (start.html) the steps are the Mac's, said so over them, and none is "now". */
.start-steps:has(.steps-where:not([hidden])) .install-now { border-top-color: var(--line); box-shadow: none; }
.start-steps:has(.steps-where:not([hidden])) .install-now .install-n { color: var(--text); }
.steps-where { margin-bottom: var(--space-lg); font-size: var(--text-title); font-weight: 600; line-height: 1.2; letter-spacing: -0.012em; }
.steps-why { max-width: 46em; margin-top: var(--space-2xl); color: var(--text-2); }
.steps-why a { color: var(--accent); font-weight: 600; white-space: nowrap; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.steps-why a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.steps-why a:active { color: var(--accent-deep); }
/* start.html's Homebrew: install and update, each command in its dark box (site.css .cmd) with its Copy button, under
   a hairline after the steps; side by side from 60rem. The quiet ink is the second paper's (design.md). */
.steps-brew { --text-2: var(--text-2-on-2); display: grid; gap: var(--space-md); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--line); }
.steps-brew h3 { font-size: var(--text-title); }
.brew-cmds { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg) var(--gap-columns); }
.brew-cmd { display: grid; align-content: start; gap: var(--space-xs); min-width: 0; }
.brew-cmd p { font-size: 1rem; line-height: 1.5; color: var(--text-2); }
@media (min-width: 60.0625rem) { .brew-cmds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (min-width: 720px) {
  .install-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }
  .install-step { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); align-content: start; padding-block: var(--space-lg) 0; }
  .install-n { font-size: 2.25rem; }
}

/* ---------- download.html: installing in one line, help as rows, the careful things folded ---------- */

/* What installing involves, before the download: one band on the second paper, the heading on 1 to 4 as the help's
   is, the line at the lead size on 5 to 12. The steps themselves are start.html's. */
.get-how { padding-block: var(--space-3xl); background: var(--bg-2); }
.get-how-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg) var(--gap-columns); align-items: start; }
.get-how p { max-width: 40em; font-size: var(--text-lead); line-height: 1.45; }
/* Download's four steps, short: a numeral in the accent over each title, four across from 720px, a list on a phone. */
.get-steps { counter-reset: step; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.get-step { counter-increment: step; display: grid; grid-template-columns: 2em minmax(0, 1fr); align-items: baseline; padding-block: var(--space-md); border-top: 1px solid var(--line); font-size: var(--text-title); font-weight: 600; line-height: 1.25; letter-spacing: -0.012em; }
.get-step::before { content: counter(step); color: var(--accent); font-variant-numeric: tabular-nums; }
.get-how .get-steps-note { font-size: 1rem; color: var(--text-2); }
@media (min-width: 60.0625rem) {
  .get-how-in { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .get-how h2 { grid-column: 1 / span 4; grid-row: span 2; }
  .get-how p { grid-column: 5 / -1; }
  /* Two by two (the audit, 27 Nov, F17: in four columns "Drag Cofferly to Applications" took four lines in 192 px). */
  .get-steps { grid-column: 5 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); }
  .get-step { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-sm); }
}
@media (max-width: 719px) { .get-how { padding-block: var(--space-2xl); } }

/* The questions, an index: the heading on 1 to 4, the rows on 5 to 12 between hairlines. */
.get-help { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); padding-top: var(--section-gap); }
.help-list { min-width: 0; }
.help-list summary { min-height: 80px; font-size: var(--text-lead); line-height: 1.35; letter-spacing: -0.01em; }
.help-list details p { max-width: 60ch; color: var(--text-2); }
.get-help .go { margin-top: 0; }

/* For the careful: one disclosure across the row, its heading the summary and the line under it what's inside; open,
   the checksum and the two commands on 5 to 12. */
.get-more { padding-top: var(--section-gap-s); }
.get-more details { border-block: 1px solid var(--line); }
.get-more summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-xs) var(--gap-columns); padding-block: var(--space-xl); }
.get-more-h { grid-column: 1; font-size: var(--text-section-s); line-height: 1.1; letter-spacing: -0.022em; }
.get-more-what { grid-column: 1; color: var(--text-2); font-size: var(--text-md); font-weight: 400; }
.get-more summary::after { grid-column: 2; grid-row: 1 / span 2; font-size: 2rem; }
.more-in { display: grid; gap: var(--space-xl); padding-bottom: var(--space-2xl); }
.more-in p { padding-bottom: 0; }
.more-part { display: grid; gap: var(--space-md); }
.more-part h3 { font-size: var(--text-title); }
.more-part ol { margin: 0; padding-inline-start: var(--space-lg); display: grid; gap: var(--space-sm); font-size: 1rem; }
/* The commands in the face of the hash's box (site.css .cmd), which keeps its own size. */
.more-part ol code { font: 500 0.9em var(--font-mono); overflow-wrap: anywhere; }
.more-in a { color: var(--accent); }
.more-in a:active { color: var(--accent-deep); }

/* ---------- start.html: the first ten seconds, what to try, tell someone ---------- */

/* What the recording at the top shows, as a statement: two lines at 40 px with their numerals, keycaps at real scale. */
.get-first { padding-top: var(--section-gap); }
.get-first-words { display: grid; gap: var(--space-2xl); min-width: 0; }
.first-lines { margin: 0; padding: 0; list-style: none; counter-reset: line; display: grid; gap: var(--space-lg); max-width: 34em; }
.first-lines li { counter-increment: line; display: grid; grid-template-columns: 1.4em minmax(0, 1fr); align-items: baseline; font-size: var(--text-title); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
.first-lines li::before { content: counter(line); color: var(--text-2); font-variant-numeric: tabular-nums; }

/* start.html's small things (moved from site.css, which every page loads): a keycap, four words and a sentence. */
.tiles { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: var(--space-md); }
.tile { display: grid; align-content: start; gap: var(--space-xs); min-width: 0; padding: var(--space-lg); border-top: 1px solid var(--line); }
.tile kbd { justify-self: start; }
.tile strong { font-size: var(--text-md); font-weight: 600; line-height: 1.3; }
.tile p { font-size: 1rem; line-height: 1.45; color: var(--text-2); }

/* Three things worth trying, an index: each row a link, its title beside its keys, the heading on 1 to 4. */
.get-worth { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); padding-top: var(--section-gap-s); }
.worth-tiles { margin: 0; padding: 0; list-style: none; display: grid; min-width: 0; border-bottom: 1px solid var(--line); }
.worth-tiles li { display: grid; min-width: 0; }
.worth-tile { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); padding: var(--space-lg) 0; color: var(--text); text-decoration: none; }
.worth-keys { color: var(--text-2); font-size: var(--text-md); }
.worth-tile strong { font-size: var(--text-title); font-weight: 600; line-height: 1.2; letter-spacing: -0.012em; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
@media (hover: hover) { .worth-tile:hover strong { text-decoration-line: underline; } }
.worth-tile:active strong { color: var(--accent); }

/* Tell someone: one quiet row, the question and its two buttons. Without scripts the buttons can't work, so the row
   isn't shown. */
.get-tell { padding-top: var(--section-gap-s); }
.tell-in { display: grid; gap: var(--space-md); align-items: center; padding-top: var(--space-xl); border-top: 1px solid var(--line); }
.tell-in p:first-child { font-size: var(--text-title); font-weight: 600; line-height: 1.2; letter-spacing: -0.012em; }
.tell-in .actions { align-items: center; }
@media (scripting: none) { .get-tell { display: none; } }
.get-end { margin-top: var(--space-xl); }
.get-end a { color: var(--accent); font-weight: 600; text-underline-offset: 0.2em; }
.get-end a:active { color: var(--accent-deep); }

@media (min-width: 720px) {
  .tell-in { grid-template-columns: minmax(0, 1fr) auto; }
  .worth-tile { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-areas: "title keys"; align-items: baseline; column-gap: var(--gap-columns); }
  .worth-tile strong { grid-area: title; }
  .worth-keys { grid-area: keys; justify-self: end; }
  .first-lines li { font-size: var(--text-section-s); line-height: 1.15; letter-spacing: -0.022em; }
}

/* ---------- From 60rem: everything on the twelve columns ---------- */
@media (min-width: 60.0625rem) {
  .get-top, .get-help, .get-worth, .get-more summary { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
  .get-top { padding-block: var(--space-xl); }
  .get-screen { min-height: calc(100svh - var(--nav-h)); }
  .get-words { grid-column: 1 / span 6; padding-inline-end: var(--space-xl); }
  .get-clip { grid-column: 7 / -1; }
  .install-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .get-help h2, .get-worth h2 { grid-column: 1 / span 4; grid-row: 1 / span 2; }
  .help-list, .get-help .go, .worth-tiles { grid-column: 5 / -1; }
  .get-more-h { grid-column: 1 / span 4; grid-row: 1; }
  .get-more-what { grid-column: 5 / span 7; grid-row: 1; }
  .get-more summary::after { grid-column: 12; grid-row: 1; justify-self: end; }
  /* The open part starts where the rows above it do, on column 5. */
  .more-in { padding-inline-start: calc((100% - 11 * var(--gap-columns)) / 3 + 4 * var(--gap-columns)); }
  /* The statement on 1 to 10, its heading over it on 1 to 7. */
  .get-first-words { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
  .get-first-words h2 { grid-column: 1 / span 7; }
  .first-lines { grid-column: 1 / span 10; max-width: none; }
  .get-done { grid-column: 1 / span 10; }
}

/* A phone: the top a little tighter, the button the full width. */
@media (max-width: 719px) {
  .get-top { padding-top: var(--space-lg); }
  .get-icon { width: 80px; height: 80px; }
  .get-btn { width: 100%; }
  .get-facts { max-width: none; }
  .help-list summary { min-height: 64px; font-size: var(--text-md); }
}

/* The page's end: said once, in the app's own shortcut. On a phone the three tiles that point at other pages are left
   out, so the page stops where the install does. */
.get-done { margin: 0; padding-top: var(--space-lg); border-top: 1px solid var(--accent); font-size: var(--text-title); font-weight: 600; line-height: 1.3; letter-spacing: -0.012em; }
@media (max-width: 719px) { .get-worth { display: none; } .get-first { padding-top: var(--section-gap-s); } .get-tell { padding-top: var(--space-xl); } }

/* start.html: the install steps come right under the words, the picture after them, so the steps are above the fold
   on a Mac and on a phone. The top's two children join the page's column and the steps sit between them. */
main:has(.start-steps) { display: flex; flex-direction: column; }
.get-top:has(.get-first-clip) { display: contents; }
.get-top:has(.get-first-clip) .get-words { order: 1; width: 100%; max-width: var(--container); margin-inline: auto; padding: var(--space-lg) var(--gutter-end) var(--space-xl) var(--gutter); }
.start-steps { order: 2; }
.get-first-clip { order: 3; width: calc(100% - var(--gutter) - var(--gutter-end)); max-width: 960px; margin: var(--space-xl) auto 0; }
main:has(.start-steps) > .get-first { order: 4; }
main:has(.start-steps) > .get-worth { order: 5; }
main:has(.start-steps) > .get-tell { order: 6; }
main:has(.start-steps) > .get-end { order: 7; }
@media (min-width: 720px) {
  /* Wide: the icon and the heading on the left, what to do and the facts on the right, so the steps start high. */
  .get-top:has(.get-first-clip) .get-words { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; padding-block: var(--space-xl); }
  .get-words .arrive, .get-words h1 { grid-column: 1 / span 6; }
  .get-words > :not(.arrive):not(h1) { grid-column: 8 / -1; }
  .get-words .arrive { grid-row: 1 / span 2; }
}
/* start.html on a phone has one next step, the button; "tell someone" is for the Mac's visit. */
@media (max-width: 719px) { .get-tell { display: none; } }
/* On a phone the download path's footer is the wordmark, the description and the trust links: the other lists are the
   top menu's and the guides', and leave the page's one action alone. */
@media (max-width: 719px) {
  .get-page .foot-groups > div:not(:nth-child(3)) { display: none; }
  .get-page .foot-groups > div:nth-child(3) { grid-column: 1 / -1; }
  .get-page .foot-groups > div:nth-child(3) ul { columns: 2; column-gap: var(--gap-columns); }
}

.get-sent { margin-top: var(--space-sm); font-size: var(--text-md); color: var(--text); }

.get-maconly { margin: var(--space-sm) 0 0; font-size: var(--text-md); font-weight: 600; color: var(--text); }
/* The keys inside the large first-steps lines get room above and below in proportion (the audit, 27 Nov, gate 72:
   5 px over 34 px text read cramped). */
.first-lines kbd { padding: 0.3em 0.5em; }

/* ---------- download.html in the home page's style (the owner, 27 Nov: "Redo each inner page in the home page's
   style"; it also loads page.css, whose main.home-style gives the tokens, .tone and the dark recordings' lilac stage).
   start.html keeps its own layout above. ---------- */

/* The first screen, the home's: the words on 5 parts and the recording on 7, centred under the nav; on a phone the
   recording 32 px under the words. In dark the frame stands on its 6 px stage, so it keeps its own width. */
.home-style .get-top { row-gap: var(--p-space-words); }
.home-style .get-top h1 { font-size: var(--text-display-s); font-weight: 600; line-height: 1.04; letter-spacing: -0.025em; }
.home-style .get-top .lede { color: var(--p-ink-2); }
.home-style .get-clip .frame { width: auto; }
@media (min-width: 60.0625rem) {
  .home-style .get-top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--p-space-cols); padding-block: var(--space-2xl); }
  .home-style .get-words { grid-column: 1; padding-inline-end: 0; }
  .home-style .get-clip { grid-column: 2; }
}

/* The four steps on the violet band, the home's turn: the heading and its line in a row, the four steps across under
   them, each numeral large over its title. */
.home-style .get-how.tone { margin-top: var(--section-gap); padding-block: var(--section-gap); background: var(--p-tone); }
.home-style .get-how-in { row-gap: var(--p-space-words); }
.home-style .get-how h2 { font-size: var(--p-text-across); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; }
.home-style .get-how .get-steps-note { max-width: 38ch; font-size: var(--p-text-line); line-height: 1.45; color: var(--p-ink-2); }
.home-style .get-step { border-top-color: color-mix(in oklab, var(--text) 35%, transparent); }
.home-style .get-step::before { color: var(--text); }
@media (min-width: 900px) {
  .home-style .get-how-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--p-space-cols); align-items: end; }
  .home-style .get-how h2 { grid-column: 1; grid-row: 1; }
  .home-style .get-how .get-steps-note { grid-column: 2; grid-row: 1; }
  .home-style .get-steps { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--p-space-cols); margin-top: var(--space-xl); }
  .home-style .get-step { grid-template-columns: minmax(0, 1fr); align-items: start; row-gap: var(--space-sm); padding-block: var(--space-lg) 0; }
  .home-style .get-step::before { font-size: var(--p-text-across); font-weight: 600; line-height: 1; letter-spacing: -0.025em; }
}

/* If something's in the way: a moment, its heading on 5 parts beside the questions on 7. */
.home-style .get-help { row-gap: var(--p-space-words); padding-top: var(--section-gap); }
.home-style .get-help h2 { font-size: var(--p-text-moment); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; }
@media (min-width: 900px) {
  .home-style .get-help { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--p-space-cols); align-items: start; }
  .home-style .get-help h2 { grid-column: 1; grid-row: 1 / span 2; }
  .home-style :is(.help-list, .get-help .go) { grid-column: 2; }
}

/* For the careful: one disclosure across the width, its heading on 5 parts and what's inside on 7, as the help. */
.home-style .get-more { padding-top: var(--section-gap); }
.home-style .get-more-h { font-size: var(--p-text-moment); font-weight: 600; letter-spacing: -0.025em; }
@media (min-width: 900px) {
  /* The mark at the end of the line of what's inside, so that line starts where the questions do. */
  .home-style .get-more summary { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--p-space-cols); }
  .home-style .get-more-h { grid-column: 1; grid-row: 1; }
  .home-style .get-more-what { grid-column: 2; grid-row: 1; padding-right: var(--space-2xl); }
  .home-style .get-more summary::after { grid-column: 2; grid-row: 1; justify-self: end; }
  .home-style .more-in { padding-inline-start: calc((100% - var(--p-space-cols)) * 5 / 12 + var(--p-space-cols)); }
}
