/* Dropsmith, the site. The tokens are those of DESIGN.md (crates/app/ui/src/styles/tokens.css): the same night
   indigo, the same ten style colours used as fields, the same two typefaces. Nothing here loads from another host. */
@font-face { font-family: "Anybody"; src: url("/assets/fonts/Anybody-latin.woff2?v=8dfc02ccf3") format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/HankenGrotesk-latin.woff2?v=1f21c6eaa0") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ground: #131022;
  --panel: #1b1730;
  --raised: #262142;
  --raised-hover: #332d56;
  --well: #0e0b1b;
  --line: #3a3460;
  --text: #f2eefc;
  --muted: #aaa2cc;
  --faint: #9891c4;
  --ink: #14101f;
  --ok: #7be0a1;
  --warn: #ffc857;
  --over: #ff5d6c;
  --deep-house: #f2a35e;
  --house: #ffd166;
  --tech-house: #ff8a73;
  --progressive-house: #d7a6ff;
  --minimal-techno: #55e0cf;
  --techno: #ff4b3e;
  --acid-techno: #c8f24a;
  --hard-techno: #ff4d9e;
  --trance: #7fb2ff;
  --drum-and-bass: #8f7bff;
  --now: var(--minimal-techno);
  --display: "Anybody", "Arial Narrow", sans-serif;
  --ui: "Hanken Grotesk", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --bar: 56px;
  --section: clamp(72px, 10vw, 136px);
}

/* The stage colour is bound, as in the application: the style chosen in the first screen re-colours every field
   that follows --now. It is a radio group and one :has() rule per style; no script is involved. */
html:has(#st-deep-house:checked) { --now: var(--deep-house); }
html:has(#st-house:checked) { --now: var(--house); }
html:has(#st-tech-house:checked) { --now: var(--tech-house); }
html:has(#st-progressive-house:checked) { --now: var(--progressive-house); }
html:has(#st-minimal-techno:checked) { --now: var(--minimal-techno); }
html:has(#st-techno:checked) { --now: var(--techno); }
html:has(#st-acid-techno:checked) { --now: var(--acid-techno); }
html:has(#st-hard-techno:checked) { --now: var(--hard-techno); }
html:has(#st-trance:checked) { --now: var(--trance); }
html:has(#st-drum-and-bass:checked) { --now: var(--drum-and-bass); }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); color: var(--text); color-scheme: dark; scroll-padding-top: calc(var(--bar) + 20px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--line) var(--ground); }
body { margin: 0; font: 450 1.0625rem/1.55 var(--ui); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: break-word; }
::selection { background: var(--now); color: var(--ink); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
p, ul, ol, dl, dd, figure, h1, h2, h3 { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 700; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 30; padding: 12px 16px; border-radius: 10px; background: var(--text); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; }

/* ---- type */
h1, h2, .display { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: .94; font-stretch: 118%; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: .95; font-stretch: 108%; }
h3 { font: 700 1.1875rem/1.25 var(--ui); letter-spacing: -.005em; }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.45; max-width: 60ch; text-wrap: pretty; }
.meta { color: var(--muted); font-size: .9375rem; }
.prose p { max-width: 68ch; text-wrap: pretty; }
.prose p + p { margin-top: 1em; }

/* ---- buttons (DESIGN.md: 10px radius, 15px bold; here one step larger, for a page that is read on a phone) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 10px; font: 700 1rem/1.2 var(--ui); text-decoration: none; cursor: pointer; transition: background-color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn.primary { background: var(--now); border-color: var(--now); color: var(--ink); }
.btn.primary:hover { background: color-mix(in oklab, var(--now) 86%, white); }
.btn.secondary { background: var(--raised); border-color: var(--line); color: var(--text); }
.btn.secondary:hover { background: var(--raised-hover); }
.btn.ink { background: var(--ink); border-color: var(--ink); color: var(--now); }
.btn.ink:hover { background: color-mix(in oklab, var(--ink) 86%, var(--now)); }
.btn.inkline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn.inkline:hover { background: color-mix(in oklab, var(--ink) 14%, transparent); }
.btn.small { min-height: 36px; padding: 6px 14px; font-size: .9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--ground); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--bar); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.375rem/1 var(--display); font-stretch: 130%; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.topnav { display: flex; gap: 4px; margin-left: 12px; }
.topnav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: .9375rem; font-weight: 600; text-decoration: none; transition: color .16s var(--ease), background-color .16s var(--ease); }
.topnav a:hover { color: var(--text); background: var(--raised); }
.spacer { flex: 1; }
/* The language choice is the application's segmented control: the current one is filled, state is fill and weight. */
.lang { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); }
.lang a { display: grid; place-items: center; min-width: 40px; min-height: 32px; padding: 0 10px; border-radius: 6px; color: var(--muted); font-size: .875rem; font-weight: 600; text-decoration: none; }
.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: var(--text); color: var(--ink); font-weight: 700; }

/* ---- the first screen: a title band in the stage colour, as over the playing track */
.flood { background: var(--now); color: var(--ink); transition: background-color .6s var(--ease); }
.flood ::selection { background: var(--ink); color: var(--now); }
.flood :focus-visible { outline-color: var(--ink); }
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); }
.hero h1 span { display: block; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-top: clamp(20px, 3vw, 32px); }
.hero .lede { font-weight: 500; }
.hero-act { display: grid; gap: 14px; justify-items: start; }
.hero-note { font-size: .9375rem; font-weight: 600; line-height: 1.4; max-width: 44ch; }
.hero-note a { white-space: nowrap; }

/* ---- the ten styles: the tiles of the start screen, as a radio group */
.stage { padding: 20px 0 0; }
.styles { margin: 0; padding: 0; border: 0; min-width: 0; }
.styles legend { padding: 0; margin-bottom: 12px; color: var(--muted); font-size: .9375rem; max-width: 76ch; }
.tiles { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.c-deep-house { --c: var(--deep-house); }
.c-house { --c: var(--house); }
.c-tech-house { --c: var(--tech-house); }
.c-progressive-house { --c: var(--progressive-house); }
.c-minimal-techno { --c: var(--minimal-techno); }
.c-techno { --c: var(--techno); }
.c-acid-techno { --c: var(--acid-techno); }
.c-hard-techno { --c: var(--hard-techno); }
.c-trance { --c: var(--trance); }
.c-drum-and-bass { --c: var(--drum-and-bass); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 68px; padding: 9px 10px; border-radius: 10px; background: color-mix(in oklab, var(--c) 26%, var(--panel)); color: color-mix(in oklab, var(--c) 70%, var(--text)); cursor: pointer; transition: background-color .16s var(--ease), color .16s var(--ease); }
.tile:hover { background: color-mix(in oklab, var(--c) 40%, var(--panel)); }
.tile input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tile b { font: 800 1.1875rem/.95 var(--display); font-stretch: 68%; letter-spacing: -.02em; overflow-wrap: normal; }
.tile.long b { font-stretch: 58%; }
.tile small { font-size: .75rem; font-weight: 600; color: color-mix(in oklab, var(--c) 50%, var(--text)); }
.tile:has(input:checked) small { color: var(--ink); }
.tile:has(input:checked) { background: var(--c); color: var(--ink); outline: 2px solid var(--text); outline-offset: 2px; }
.tile:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 4px; }

/* ---- pictures of the interface: sunk in a well; on a narrow screen they slide sideways instead of shrinking */
.screen { margin-top: 20px; }
.shots picture { display: block; }
.shots picture.shot { display: none; }
.crop { max-width: 420px; }
.mask-art { display: block; width: 100%; height: auto; font-family: var(--ui); font-weight: 700; }
.shots.mask { max-width: 920px; }
.stage .screen { margin-top: 16px; }
.shots { position: relative; border: 1px solid var(--line); border-radius: 12px; background: var(--well); overflow: hidden; }
.shots img { width: 100%; }
.screen figcaption, .cap { margin-top: 12px; color: var(--muted); font-size: .9375rem; max-width: 84ch; }
.shot { display: none; }
.shots picture.shot-minimal-techno { display: block; }
html:has(.tiles input:checked:not(#st-minimal-techno)) .shots picture.shot-minimal-techno { display: none; }
html:has(#st-deep-house:checked) .shots picture.shot-deep-house,
html:has(#st-house:checked) .shots picture.shot-house,
html:has(#st-tech-house:checked) .shots picture.shot-tech-house,
html:has(#st-progressive-house:checked) .shots picture.shot-progressive-house,
html:has(#st-techno:checked) .shots picture.shot-techno,
html:has(#st-acid-techno:checked) .shots picture.shot-acid-techno,
html:has(#st-hard-techno:checked) .shots picture.shot-hard-techno,
html:has(#st-trance:checked) .shots picture.shot-trance,
html:has(#st-drum-and-bass:checked) .shots picture.shot-drum-and-bass { display: block; animation: shot-in .5s var(--ease); }
@keyframes shot-in { from { opacity: 0; } }
.pan-hint, .slide-hint { display: none; }

/* ---- the excerpts: each one a slot of the running order. At rest it wears its style's colour dimmed; the one
        that plays is flooded with it, as the playing slot is. */
.takes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.take { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 14px; padding: 16px 16px 28px; border-radius: 10px; overflow: hidden; background: color-mix(in oklab, var(--c) 26%, var(--panel)); color: color-mix(in oklab, var(--c) 70%, var(--text)); transition: background-color .3s var(--ease), color .3s var(--ease); }
.take.is-playing { background: var(--c); color: var(--ink); }
.take-play { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 10px; background: var(--c); color: var(--ink); cursor: pointer; transition: background-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease); }
.take-play:hover { background: color-mix(in oklab, var(--c) 86%, white); }
.take-play:active { transform: translateY(1px); }
.take.is-playing .take-play { background: var(--ink); color: var(--c); }
.take.is-playing :focus-visible { outline-color: var(--ink); }
.take-play svg { width: 24px; height: 24px; fill: currentColor; }
.take-play .i-pause { display: none; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; }
.take.is-playing .i-play { display: none; }
.take.is-playing .i-pause { display: block; }
.take-title { font: 800 1.375rem/1 var(--display); font-stretch: 86%; letter-spacing: -.02em; }
.take-meta { margin-top: 5px; font-size: .8125rem; font-weight: 600; line-height: 1.2; color: color-mix(in oklab, var(--c) 50%, var(--text)); }
.take.is-playing .take-meta { color: var(--ink); }
.take-time { min-width: 10ch; font-size: .875rem; font-weight: 700; text-align: right; white-space: nowrap; }
.take-note, .take-status { grid-column: 1 / -1; font-size: .9375rem; line-height: 1.4; }
.take-note { color: var(--text); }
.take.is-playing .take-note { color: var(--ink); }
.take-status { display: flex; align-items: baseline; gap: 8px; font-weight: 700; }
.take-status[hidden] { display: none; }
.take.is-failed .take-status::before { content: ""; flex: none; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg) translateY(-1px); }
.take audio { grid-column: 1 / -1; width: 100%; }
.take.is-ready { grid-template-rows: auto auto; }
.take.is-ready audio { display: none; }
/* the position in the excerpt: a bar along the bottom edge of the slot, the playhead a short upright line */
.take-seek { -webkit-appearance: none; appearance: none; position: absolute; left: 0; right: 0; bottom: -8px; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; --rail: color-mix(in oklab, var(--c) 50%, var(--panel)); --fill: var(--c); --head: var(--text); }
.take.is-playing .take-seek { --rail: color-mix(in oklab, var(--ink) 22%, transparent); --fill: var(--ink); --head: var(--ink); }
.take-seek::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(to right, var(--fill) var(--p, 0%), var(--rail) var(--p, 0%)); }
.take-seek::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 4px; height: 18px; margin-top: -6px; border-radius: 2px; background: var(--head); }
.take-seek::-moz-range-track { height: 6px; background: var(--rail); }
.take-seek::-moz-range-progress { height: 6px; background: var(--fill); }
.take-seek::-moz-range-thumb { width: 4px; height: 18px; border: 0; border-radius: 2px; background: var(--head); }
.take-seek:focus-visible { outline-offset: -4px; }

/* ---- the film of the visuals, and their silent loop */
.film { position: relative; aspect-ratio: 16 / 9; }
.film video, .film img { width: 100%; height: 100%; object-fit: cover; }
.film-play { position: absolute; left: clamp(14px, 3vw, 32px); bottom: clamp(14px, 3vw, 32px); display: inline-flex; align-items: center; gap: 14px; padding: 14px 22px 14px 16px; border: 0; border-radius: 10px; background: var(--now); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background-color .16s var(--ease), transform .16s var(--ease); }
.film-play[hidden] { display: none; }
.film-play:hover { background: color-mix(in oklab, var(--now) 86%, white); }
.film-play:active { transform: translateY(1px); }
.film-play:focus-visible { outline-offset: 4px; }
.film-play svg { flex: none; width: 30px; height: 30px; fill: currentColor; }
.film-play b { display: block; font: 800 1.375rem/1 var(--display); letter-spacing: -.02em; }
.film-play small { display: block; margin-top: 4px; font-size: .875rem; font-weight: 600; }
.loop-box { position: relative; }
.loop-box video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.loop-toggle { position: absolute; right: 12px; bottom: 12px; }
.loop-toggle[hidden] { display: none; }

/* ---- sections */
.section { padding-top: var(--section); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lede { color: var(--muted); }
.two { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: start; }
.two > .a { grid-column: span 5; }
.two > .b { grid-column: span 7; }
.two > .half { grid-column: span 6; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.after-figure { margin-top: clamp(28px, 4vw, 48px); }
.low { align-self: end; }
.section > .two + .screen { margin-top: clamp(28px, 4vw, 48px); }
.lost { gap: 72px; padding-bottom: var(--section); }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; max-width: 62ch; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--now); transition: background-color .6s var(--ease); }

/* ---- the plan of the room: what goes into the Mac, what comes out of it */
.plot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 250px) minmax(0, 1fr); gap: 0 44px; align-items: stretch; }
.plot-side { display: grid; align-content: center; }
.plot ul { display: grid; gap: 10px; }
.plot li { position: relative; }
.node { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--raised); text-decoration: none; transition: background-color .16s var(--ease); }
a.node:hover { background: var(--raised-hover); }
.node b { font-weight: 700; font-size: 1rem; }
.node span { color: var(--muted); font-size: .875rem; line-height: 1.35; }
/* a wire from each node to the Mac, with the direction it carries */
.plot li::after { content: ""; position: absolute; top: 50%; width: 44px; border-top: 1px solid var(--faint); }
.plot-in li::after { left: 100%; }
.plot-out li::after { right: 100%; }
.plot li::before { content: ""; position: absolute; top: 50%; z-index: 1; width: 7px; height: 7px; margin-top: -3.5px; border-top: 1px solid var(--faint); border-right: 1px solid var(--faint); transform: rotate(45deg); }
.plot-in li::before { left: calc(100% + 36px); }
.plot-out li::before { left: -9px; }
.plot-core { display: grid; align-content: center; justify-items: center; gap: 6px; padding: 24px 16px; border-radius: 12px; text-align: center; }
.plot-core img { width: 64px; height: 64px; border-radius: 12px; margin-bottom: 8px; }
.plot-core b { font: 800 1.625rem/1 var(--display); font-stretch: 118%; letter-spacing: -.02em; }
.plot-core span { font-size: .9375rem; font-weight: 600; }
.plot-label { display: none; }

/* ---- a track being made, as the running order draws it: dashed until it exists */
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.slot { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 74px; padding: 9px 12px; border-radius: 10px; overflow: hidden; }
.slot b { position: relative; font: 800 1.25rem/1 var(--display); font-stretch: 84%; letter-spacing: -.02em; }
.slot small { position: relative; font-size: .75rem; font-weight: 600; }
.slot.made { border: 1.5px dashed color-mix(in oklab, var(--now) 70%, var(--panel)); color: color-mix(in oklab, var(--now) 70%, var(--text)); transition: border-color .6s var(--ease), color .6s var(--ease); }
.slot.p0 { --p: 0%; }
.slot.p1 { --p: 45%; }
.slot.p2 { --p: 85%; }
.slot.made::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: color-mix(in oklab, var(--now) 24%, transparent); transition: background-color .6s var(--ease); }
.slot.ready { background: var(--now); color: var(--ink); transition: background-color .6s var(--ease); }

/* ---- what it needs: a specification, not a row of cards */
.spec { border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px clamp(24px, 4vw, 56px); padding: 22px 0; border-bottom: 1px solid color-mix(in oklab, var(--line) 55%, transparent); }
.spec dt { font: 800 1.375rem/1.12 var(--display); font-stretch: 100%; letter-spacing: -.02em; text-wrap: balance; }
.spec dd { max-width: 68ch; }
.spec dd p + p { margin-top: .7em; }

/* ---- what it is not: dashed, as the application draws what does not exist */
.nots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dashed { display: grid; gap: 8px; align-content: start; padding: 18px 20px; border: 1px dashed var(--line); border-radius: 10px; }
.dashed p { color: var(--muted); font-size: 1rem; }
.for { display: grid; gap: 10px; width: fit-content; max-width: 100%; margin-top: 44px; padding: 22px 24px; border-radius: 10px; }
.for h3 { font: 800 1.375rem/1.05 var(--display); letter-spacing: -.02em; }
.for p { max-width: 70ch; font-weight: 500; }

/* ---- the comparison */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
table.compare { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .9375rem; line-height: 1.4; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid color-mix(in oklab, var(--line) 55%, transparent); text-align: left; vertical-align: top; }
.compare tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 700 .9375rem/1.25 var(--ui); color: var(--muted); vertical-align: bottom; }
.compare tbody th { width: 21%; font-weight: 700; }
.compare td { width: 19.75%; color: var(--muted); }
.compare .us { background: var(--raised); color: var(--text); }
.compare thead .us { background: var(--now); color: var(--ink); font: 800 1.25rem/1 var(--display); font-stretch: 112%; letter-spacing: -.02em; transition: background-color .6s var(--ease); }
/* yes, no, partly: a shape and a word, the colour only repeats it */
.v { display: flex; align-items: baseline; gap: 8px; color: var(--text); font-weight: 700; }
.v::before { content: ""; flex: none; width: 8px; height: 8px; transform: translateY(-1px); }
.v.yes::before { border-radius: 50%; background: var(--ok); }
.v.no::before { border-radius: 50%; border: 1.5px solid var(--faint); }
.v.part::before { border-radius: 2px; background: var(--warn); }
.v + span { display: block; margin-top: 2px; }

/* ---- the price */
.price { padding: clamp(28px, 5vw, 56px); border-radius: 12px; }
.price h2 span { display: block; }
.price .two { margin-top: clamp(24px, 3vw, 40px); align-items: start; }
.terms { display: grid; gap: 12px; }
.terms li { position: relative; padding-left: 22px; max-width: 60ch; font-weight: 500; }
.terms li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.price .actions { margin-top: 4px; }
.price .fine { font-size: .9375rem; font-weight: 600; max-width: 52ch; }

/* ---- questions */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid color-mix(in oklab, var(--line) 55%, transparent); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 1.125rem; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:hover::after { border-color: var(--text); }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 68ch; }
.faq .answer p + p { margin-top: .7em; }
.faq .answer a { color: var(--text); }

/* ---- the last word, and the foot */
.close { margin-top: var(--section); padding: clamp(48px, 7vw, 88px) 0; background: var(--panel); border-top: 1px solid var(--line); }
.close .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.close p { color: var(--muted); max-width: 60ch; }
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 28px clamp(24px, 4vw, 56px); }
.foot b { color: var(--text); }
.foot ul { display: grid; gap: 6px; }
.foot a { color: var(--text); }
.foot .small { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid color-mix(in oklab, var(--line) 55%, transparent); font-size: .875rem; }

/* ---- narrower windows */
@media (max-width: 1180px) {
  .topnav { display: none; }
}
@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tile b { font-stretch: 84%; }
  .tile.long b { font-stretch: 72%; }
  .plot { gap: 0 28px; }
  .plot li::after { width: 28px; }
  .plot-in li::before { left: calc(100% + 20px); }
}
@media (max-width: 860px) {
  .hero-row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero h1 span { display: inline; }
  .two > .a, .two > .b, .two > .half { grid-column: 1 / -1; }
  .spec > div { grid-template-columns: minmax(0, 1fr); }
  .nots { grid-template-columns: minmax(0, 1fr); }
  .foot .wrap { grid-template-columns: minmax(0, 1fr); }
  /* the plan becomes a column: in, the Mac, out */
  .plot { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .plot li::after, .plot li::before { display: none; }
  .plot-label { display: block; margin: 0 0 8px; color: var(--muted); font-size: .875rem; font-weight: 700; }
  .plot-core { margin: 14px 0; padding: 18px 16px; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 14px; text-align: left; }
  .plot-core img { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
}
@media (max-width: 700px) {
  /* a picture of a whole laptop window is unreadable at phone width: keep its size and let it slide */
  .pan { overflow-x: auto; scrollbar-width: thin; }
  .pan img { width: 860px; max-width: none; }
  .pan-hint { display: inline; }
  .pan .mask-art { width: 900px; }
}
@media (max-width: 860px) {
  table.compare { min-width: 700px; font-size: .875rem; }
  .compare th, .compare td { padding: 12px; }
  .compare tr > :first-child { position: sticky; left: 0; z-index: 1; width: 150px; min-width: 150px; background: var(--panel); border-right: 1px solid var(--line); }
  .slide-hint { display: block; }
}
@media (max-width: 560px) {
  .topbar .wrap { gap: 10px; }
  .brand { font-size: 1.1875rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 56px; }
  .tile b { font-stretch: 80%; white-space: nowrap; }
  .tile.long b { font-stretch: 62%; white-space: nowrap; }
  .price h2 { font-stretch: 84%; }
  /* the bar keeps its three things on one line: the word of the button gives way, its arrow stays */
  .get { min-width: 44px; padding-inline: 10px; }
  .get span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-act .btn, .price .btn, .close .btn { width: 100%; }
  .hero-act, .price .actions, .close .actions { justify-items: stretch; width: 100%; }
  .actions { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

@media print {
  html, body { background: #fff; color: #000; }
  .topbar, .foot, .skip, .legal-nav { display: none; }
}

/* what is hidden stays hidden, whatever its display says (the custom controls wait for the script) */
[hidden] { display: none !important; }

/* The release beside the Download buttons: the version and its date, and the way to "What's new". Before the first
   version is out a Download button is not a link: a dashed outline, and its words say that the version is coming. */
.release { font-size: .9375rem; }
.btn.soon { cursor: default; background: none; border: 1.5px dashed var(--line); color: var(--muted); }
.btn.soon:hover { background: none; }
.btn.soon:active { transform: none; }
.btn.ink.soon, .btn.inkline.soon { border-color: var(--ink); color: var(--ink); }
/* The "What's new" page: the notes of a version, under its heading. */
.legal-text .notes { margin-top: 12px; }
.legal-text .notes h3 { margin-top: 20px; }
.legal-text .updates { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); }
