/* The download part: the first page's `platforms` section, /download/ and /changelog/. Every class starts with dl-.
   The pictures (the four screens, the first five minutes) are drawn at a fixed size and scaled to their room by --k,
   which download.js sets from the room's width; the @media steps at the end are for a page without the script. */

/* ---------------------------------------------------------------- a picture drawn at its own size */
.dl-fit { --k: 1; position: relative; width: 100%; height: calc(var(--dh) * var(--k)); }
.dl-fit > * { position: absolute; top: 0; left: 0; width: var(--dw); height: var(--dh); transform: scale(var(--k)); transform-origin: 0 0; }
.dl-stage { --dw: 1180px; --dh: 640px; }
.dl-pic { --dw: 680px; --dh: 420px; }

/* ---------------------------------------------------------------- the app, as each system frames it */
.dl-win { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; border-radius: 12px; overflow: hidden;
  background: #f1f1ef; color: var(--ink); font-size: 12.5px; line-height: 1.4;
  box-shadow: 0 0 0 .5px #00000033, 0 40px 80px -36px #00000099, 0 10px 24px -12px #00000040; }
.dl-win.windows { border-radius: 8px; }
.dl-app { flex: 1; display: flex; min-height: 0; }
.dl-side { width: 170px; flex: none; display: flex; flex-direction: column; padding: 0 6px 8px; overflow: hidden; }
.dl-win:not(.mac) .dl-side { padding-top: 8px; }
.dl-lights { display: flex; gap: 6px; height: 34px; align-items: center; padding-left: 8px; flex: none; }
.dl-lights i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.dl-lights i:nth-child(2) { background: #febc2e; } .dl-lights i:nth-child(3) { background: #28c840; }
.dl-new, .dl-row { display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 8px; border-radius: 7px; white-space: nowrap; }
.dl-new { background: #ffffffb3; box-shadow: 0 0 0 .5px #0000001a; }
.dl-new .ic, .dl-row .ic { color: var(--muted); }
.dl-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dl-row em { font-style: normal; color: var(--faint); font-size: 11px; }
.dl-row.d1 { margin-left: 14px; }
.dl-row.sel { background: #ffffffd9; box-shadow: 0 0 0 .5px #0000001a, 0 1px 2px #00000014; }
.dl-row.sel .ic { color: var(--ink); }
.dl-dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); flex: none; }
.dl-label { padding: 12px 8px 4px; font-size: 11px; color: var(--faint); }
.dl-grow { flex: 1; }
.dl-sheet { position: relative; flex: 1; min-width: 0; margin: 6px 6px 6px 0; border-radius: 10px; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 .5px #0000001a, 0 2px 8px #0000000f; padding: 40px 26px 0; }
.dl-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 5px 12px;
  border-radius: 0 0 12px 12px; background: #f1f1ef; box-shadow: 0 0 0 .5px #0000001a; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.dl-title { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.dl-subt { margin-top: 2px; color: var(--muted); font-size: 12px; }
.dl-meter { height: 5px; margin: 14px 0 6px; border-radius: 3px; background: #0000000d; overflow: hidden; }
.dl-meter i { display: block; height: 100%; border-radius: 3px; background: var(--ink); }
.dl-list { display: flex; flex-direction: column; }
.dl-item, .dl-gitem { display: flex; align-items: center; gap: 9px; height: 34px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dl-item:last-child, .dl-gitem:last-child { border-bottom: 0; }
.dl-box { width: 15px; height: 15px; flex: none; display: grid; place-items: center; border-radius: 5px; box-shadow: inset 0 0 0 1.5px #00000029; color: #fff; }
.dl-box .ic { stroke-width: 3; }
.dl-item.merged .dl-box, .dl-gitem.done .dl-box { background: var(--ink); box-shadow: none; }
.dl-it { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dl-item.merged .dl-it { color: var(--muted); }
.dl-pr { color: var(--faint); font: 11px ui-monospace, "SF Mono", Menlo, monospace; }
.dl-av { width: 18px; height: 18px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #e6e6e9; font-size: 9.5px; font-weight: 600; }
.dl-chip { flex: none; width: 62px; text-align: center; font-size: 10.5px; font-weight: 500; padding: 2px 0; border-radius: 5px; }
.dl-chip.merged { background: #dff5c9; color: #2c6a12; } .dl-chip.review { background: #fdecd5; color: #9a4a10; } .dl-chip.todo { background: #0000000a; color: var(--muted); }

/* The system's own title bar above the app, on Windows and on KDE Plasma. */
.dl-bar { display: flex; align-items: center; gap: 8px; height: 30px; flex: none; padding-left: 10px; font-size: 12px; }
.dl-bar.win { background: #f3f3f3; border-bottom: 1px solid #0000000f; }
.dl-bar.kde { background: #dee0e2; border-bottom: 1px solid #0000001a; justify-content: center; }
.dl-bar.kde > .dl-appicon { position: absolute; left: 10px; }
.dl-bar.kde { position: relative; }
.dl-ctl { margin-left: auto; display: flex; align-items: center; height: 100%; font-weight: 400; }
.dl-bar.win .dl-ctl .ic { box-sizing: content-box; padding: 0 15px; color: #333; stroke-width: 1.5; }
.dl-bar.kde .dl-ctl { position: absolute; right: 8px; gap: 10px; }
.dl-bar.kde .dl-ctl .ic { color: #31363b; }
.dl-bar.kde .dl-ctl i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #31363b; color: #fff; }
.dl-bar.kde .dl-ctl i .ic { color: #fff; stroke-width: 3; }
.dl-appicon { position: relative; width: 16px; height: 16px; flex: none; border-radius: 4px; background: #2b2b2e; box-shadow: inset 0 0 0 .5px #ffffff33; }
.dl-appicon i { position: absolute; left: 3px; right: 3px; top: 5px; bottom: 5px; border-radius: 50%; box-shadow: inset 0 0 0 1.4px #f2f2f0; }
.dl-appicon.big { width: 40px; height: 40px; border-radius: 10px; }
.dl-appicon.big i { left: 8px; right: 8px; top: 13px; bottom: 13px; box-shadow: inset 0 0 0 3px #f2f2f0; }

/* The same window in the app's dark look, as Linux shows it here. */
.dl-win.dark { background: #26262a; color: #ececef; }
.dl-win.dark .dl-bar.kde { background: #31363b; color: #eff0f1; border-bottom-color: #00000066; }
.dl-win.dark .dl-bar.kde .dl-ctl .ic { color: #eff0f1; }
.dl-win.dark .dl-bar.kde .dl-ctl i { background: #eff0f1; } .dl-win.dark .dl-bar.kde .dl-ctl i .ic { color: #31363b; }
.dl-win.dark .dl-sheet { background: #1c1c1f; box-shadow: 0 0 0 .5px #ffffff14; }
.dl-win.dark .dl-new { background: #ffffff12; box-shadow: none; }
.dl-win.dark .dl-row.sel { background: #ffffff1a; box-shadow: none; }
.dl-win.dark .dl-row .ic, .dl-win.dark .dl-new .ic, .dl-win.dark .dl-subt, .dl-win.dark .dl-item.merged .dl-it { color: #a4a4ad; }
.dl-win.dark .dl-row.sel .ic { color: #fff; }
.dl-win.dark .dl-label, .dl-win.dark .dl-pr, .dl-win.dark .dl-row em { color: #8a8a94; }
.dl-win.dark .dl-dot, .dl-win.dark .dl-meter i { background: #ececef; }
.dl-win.dark .dl-meter { background: #ffffff14; }
.dl-win.dark .dl-item { border-bottom-color: #ffffff12; }
.dl-win.dark .dl-box { box-shadow: inset 0 0 0 1.5px #ffffff38; }
.dl-win.dark .dl-item.merged .dl-box { background: #ececef; color: #1c1c1f; }
.dl-win.dark .dl-notch { background: #26262a; color: #a4a4ad; box-shadow: 0 0 0 .5px #ffffff14; }
.dl-win.dark .dl-av { background: #3a3a40; color: #ececef; }
.dl-win.dark .dl-chip.merged { background: #1f3a12; color: #a8e07f; } .dl-win.dark .dl-chip.review { background: #43290f; color: #f5b46b; }
.dl-win.dark .dl-chip.todo { background: #ffffff12; color: #a4a4ad; }

/* The iPhone: a sheet as wide as the phone, the agent's button in its corner, the bar of tabs floating at the foot. */
.dl-phone { width: 100%; height: 100%; padding: 7px; border-radius: 44px; background: #1b1b1d;
  box-shadow: inset 0 0 0 1.5px #3a3a3e, 0 18px 40px -16px #00000080; }
.dl-screen { position: relative; height: 100%; overflow: hidden; border-radius: 37px; background: #fff; color: var(--ink);
  padding: 46px 16px 0; font-size: 11.5px; line-height: 1.35; }
.dl-status { position: absolute; top: 12px; left: 22px; right: 18px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.dl-island { position: absolute; left: 50%; top: -2px; width: 70px; height: 21px; margin-left: -35px; border-radius: 12px; background: #000; }
.dl-batt { width: 20px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1px #00000066; padding: 1.5px; }
.dl-batt i { display: block; width: 70%; height: 100%; border-radius: 1.5px; background: var(--ink); }
.dl-back { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #f1f1ef; box-shadow: 0 0 0 .5px #0000001a; margin-bottom: 10px; }
.dl-ptitle { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.dl-screen .dl-item { height: 31px; gap: 8px; }
.dl-ask { position: absolute; right: 12px; bottom: 22px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: #f1f1ef; box-shadow: 0 0 0 .5px #0000001f, 0 6px 14px -6px #00000059; }
.dl-dock { position: absolute; left: 10px; right: 10px; bottom: 20px; display: flex; gap: 6px; align-items: center; }
.dl-tabs { flex: 1; min-width: 0; display: flex; justify-content: space-around; height: 40px; align-items: center; border-radius: 20px; background: #f1f1efeb;
  box-shadow: 0 0 0 .5px #0000001f, 0 8px 18px -8px #00000059; color: var(--muted); }
.dl-tabs span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 14px; }
.dl-tabs span.on { background: #fff; color: var(--ink); box-shadow: 0 0 0 .5px #0000001a; }
.dl-plus { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #f1f1efeb; box-shadow: 0 0 0 .5px #0000001f, 0 8px 18px -8px #00000059; }
.dl-home { position: absolute; left: 50%; bottom: 7px; width: 90px; height: 4px; margin-left: -45px; border-radius: 2px; background: var(--ink); }

/* ---------------------------------------------------------------- the first page: four screens, one Spaces */
#platforms { padding-bottom: 96px; }
.dl-desk { position: relative; margin-top: 8px; padding: 48px 40px 40px; border-radius: 28px; background: var(--card); overflow: hidden; }
.dl-dev { position: absolute; }
.dl-at-linux { left: 0; top: 0; width: 540px; height: 360px; }
.dl-at-windows { left: 640px; top: 0; width: 540px; height: 360px; }
.dl-at-mac { left: 200px; top: 128px; width: 680px; height: 450px; }
.dl-at-iphone { left: 930px; top: 210px; width: 200px; height: 412px; }
/* The windows behind stand back a little, so the Mac in front reads first. */
.dl-at-linux .dl-win, .dl-at-windows .dl-win { box-shadow: 0 0 0 .5px #00000033, 0 24px 48px -28px #00000080; }
.dl-at-mac .dl-win { font-size: 13px; box-shadow: 0 0 0 .5px #00000033, 0 22px 44px -22px #00000080, 0 6px 14px -8px #00000033; }
.dl-at-mac .dl-side { width: 184px; }
.dl-at-mac .dl-item { height: 38px; }
/* The picture runs off the foot of its tile, so no empty band shows under the screens. */
.dl-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 12px 0 6px; }
.dl-kpis div { padding: 9px 11px; border-radius: 10px; background: var(--panel); }
.dl-kpis span { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-kpis b { display: block; margin-top: 1px; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }

.dl-systems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; padding: 0; list-style: none; }
.dl-sys { padding: 20px 22px 22px; border-radius: 22px; background: var(--card); }
.dl-sys-name { display: flex; align-items: center; gap: 10px; font-size: 17px; letter-spacing: -.01em; }
.dl-sys-name b { font-weight: 600; }
.dl-sys p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.dl-go { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 40px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- /download/: a card for each system */
.dl-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dl-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dl-card { position: relative; display: flex; flex-direction: column; border-radius: 24px; background: var(--card); scroll-margin-top: 24px;
  transition: box-shadow .3s; }
.dl-cmain { padding: 28px 28px 24px; }
.dl-chead { display: flex; align-items: flex-start; gap: 16px; }
.dl-chead > .logo { margin-top: 2px; }
.dl-chead > div { flex: 1; min-width: 0; }
.dl-chead h3 { font-size: 22px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.dl-chead p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.dl-mine { display: none; align-items: center; gap: 5px; flex: none; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.dl-act { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.dl-off { color: var(--muted); box-shadow: inset 0 0 0 1.5px #00000026; cursor: default; }
.dl-meta { margin-top: 12px; color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums; }
.dl-note { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.55; }
.dl-cmore { padding: 0 28px 26px; }
.dl-steps { margin: 0; padding: 0; list-style: none; counter-reset: dl; display: grid; gap: 8px; }
.dl-steps li { counter-increment: dl; display: grid; grid-template-columns: 22px minmax(0, 1fr); color: var(--muted); font-size: 14px; line-height: 1.5; }
.dl-steps li::before { content: counter(dl); font-size: 12.5px; font-weight: 700; color: var(--ink); padding-top: 1px; font-variant-numeric: tabular-nums; }
.dl-cmd { position: relative; margin-bottom: 14px; padding: 14px 16px; border-radius: 14px; background: #111113; color: #f2f2f0; }
.dl-cmd-lines { display: grid; gap: 4px; padding-right: 72px; }
.dl-cmd code { display: block; font: 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.dl-cmd code::before { content: "$ "; color: #8a8a94; }
.dl-copy { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border: 0;
  border-radius: 8px; background: #ffffff1a; color: #f2f2f0; font: 500 12px var(--font); cursor: pointer; }
.dl-copy:hover { background: #ffffff2e; }
.dl-copy:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* The visitor's own system, once download.js knows it: first, and marked. */
.dl-card.mine { box-shadow: inset 0 0 0 1.5px var(--ink); }
.dl-card.mine .dl-mine { display: inline-flex; }

/* What you need: the plans, then the keys. */
.dl-sub { margin-top: 16px; }
.dl-lab { font-size: 13px; color: var(--faint); margin-bottom: 10px; }
.dl-lab ~ .dl-lab { margin-top: 28px; }
.dl-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0; list-style: none; }
.dl-plans li { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 18px; background: var(--card); }
.dl-plans b { display: block; font-size: 16px; font-weight: 600; }
.dl-plans span { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.dl-keys { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.dl-keys li { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px #00000017; font-size: 14px; font-weight: 500; }
.dl-keys .dl-etc { box-shadow: none; color: var(--faint); font-weight: 400; padding: 0 6px; }
.dl-fine { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 600px; }
.dl-fine + .dl-fine { margin-top: 8px; }

/* The first five minutes: a step's words beside the window at that moment. */
.dl-first { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.dl-five { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: center;
  padding: 12px 12px 12px clamp(20px, 3vw, 40px); border-radius: 26px; background: var(--card); }
.dl-num { display: block; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dl-ftext h3 { margin: 8px 0 10px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.dl-ftext p { color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 420px; }
.dl-frame { padding: 28px; border-radius: 18px; background: #e9e9e7; overflow: hidden; }
.dl-shot { display: flex; border-radius: 12px; overflow: hidden; background: #f1f1ef; color: var(--ink); font-size: 12px; line-height: 1.4;
  box-shadow: 0 0 0 .5px #00000033, 0 24px 50px -26px #00000073; }
.dl-shot .dl-side { width: 150px; }
.dl-h { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
/* 01 the introduction's last step: the plan tiles, the other providers under them */
.dl-connect { position: relative; flex-direction: column; background: #1c1c1f; color: #f2f2f0; }
.dl-connect .dl-lights { position: absolute; top: 0; left: 6px; }
.dl-cc { margin: auto; width: min(400px, calc(100% - 32px)); display: flex; flex-direction: column; align-items: center; text-align: center; }
.dl-cc .dl-h { margin-top: 12px; }
.dl-cc p { margin-top: 6px; color: #a4a4ad; font-size: 12px; }
.dl-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 16px; text-align: left; }
.dl-tile { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 12px; background: #ffffff0d; box-shadow: inset 0 0 0 1px #ffffff14; }
.dl-tile .logo { margin-bottom: 8px; }
.dl-tile b { font-weight: 600; font-size: 13px; } .dl-tile span { color: #a4a4ad; font-size: 11.5px; }
.dl-tile.busy { box-shadow: inset 0 0 0 1.5px #f2f2f0; }
.dl-tile em { margin-top: 6px; font-style: normal; font-size: 11px; color: #f2f2f0; }
.dl-small { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; margin-top: 14px; color: #a4a4ad; font-size: 11px; }
.dl-small span { display: inline-flex; align-items: center; gap: 5px; }
.dl-other { color: #f2f2f0; }
/* 02 home: the question, the prompt field with what was typed, the ideas under it */
.dl-ask-shot .dl-sheet { margin: 6px 6px 6px 0; padding: 0; display: grid; place-items: center; }
.dl-hc { width: min(340px, calc(100% - 32px)); text-align: center; }
.dl-hc p { margin-top: 4px; color: var(--muted); }
.dl-field { margin-top: 16px; padding: 12px 12px 8px; border-radius: 16px; background: #fff; text-align: left;
  box-shadow: 0 0 0 .5px #0000001f, 0 10px 24px -14px #00000040; }
.dl-field > span { display: block; min-height: 34px; font-size: 12.5px; line-height: 1.45; }
.dl-caret { display: inline-block; width: 1.5px; height: 14px; margin-left: 1px; vertical-align: -2px; background: var(--ink); }
.dl-fbar { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--muted); }
.dl-fbar em { font-style: normal; font-size: 11px; }
.dl-send { margin-left: auto; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; }
.dl-ideas { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.dl-ideas span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; background: #0000000a; color: var(--muted); font-size: 11px; }
/* 03 the space, with its notch open over it: the change asked for, done, and Undo */
.dl-change .dl-sheet { padding: 40px 22px 0; }
.dl-change .dl-row.new { background: #e6f4dc; box-shadow: 0 0 0 .5px #3e7d1c33; }
.dl-add { display: flex; align-items: center; gap: 7px; height: 30px; margin: 12px 0 2px; padding: 0 10px; border-radius: 9px; box-shadow: inset 0 0 0 1px #0000001a; color: var(--faint); }
.dl-gitem { height: 30px; }
.dl-gitem.done { opacity: .45; } .dl-gitem.done .dl-it { text-decoration: line-through; }
.dl-open { position: absolute; top: 0; left: 50%; width: 260px; margin-left: -130px; padding: 10px 12px 12px; border-radius: 0 0 16px 16px; background: #f1f1ef;
  box-shadow: 0 0 0 .5px #0000001f, 0 18px 36px -18px #00000066; font-size: 11.5px; }
.dl-ohead { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.dl-ohead b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--ink); }
.dl-you { width: fit-content; max-width: 88%; margin: 10px 0 0 auto; padding: 6px 10px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 .5px #0000001a; }
.dl-open p { margin-top: 8px; color: var(--ink); }
.dl-pub { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 8px; border-radius: 10px; background: #e6f4dc; color: #2c6a12; }
.dl-pub span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #3d5a2e; }
.dl-pub em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; padding: 2px 7px; border-radius: 6px; background: #fff; color: var(--ink); }
.dl-ofield { display: flex; align-items: center; margin-top: 8px; padding: 6px 6px 6px 10px; border-radius: 12px; background: #fff; color: var(--faint); box-shadow: 0 0 0 .5px #0000001a; }

/* What works where. */
.dl-where { border-radius: 24px; background: var(--card); padding: 8px 28px 24px; overflow-x: auto; }
.dl-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.dl-table th, .dl-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid #00000012; vertical-align: middle; }
.dl-table thead th { font-size: 13px; font-weight: 600; color: var(--ink); padding-top: 18px; }
.dl-table tbody th { font-weight: 500; padding-left: 0; width: 34%; }
.dl-table thead th:first-child { padding-left: 0; }
.dl-table tbody tr:last-child > * { border-bottom: 0; }
.dl-v { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: var(--muted); font-size: 14px; }
.dl-v.yes { color: var(--ink); } .dl-v.yes .ic { stroke-width: 2.5; }
.dl-v.no { color: var(--faint); }
.dl-dash { display: block; width: 10px; height: 1.5px; margin: 0 2px; background: #0000004d; }
.dl-v.untried .ic { color: var(--faint); }
.dl-v.words { white-space: normal; color: var(--ink); line-height: 1.35; }
.dl-after { margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.55; max-width: 760px; }

/* Updates, removing it: a mark, the system, what to do. */
.dl-list-rows { margin: 0; padding: 0; list-style: none; }
.dl-list-rows li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-top: 1px solid #00000014; }
.dl-list-rows li:last-child { border-bottom: 1px solid #00000014; }
.dl-list-rows .logo { margin-top: 2px; }
.dl-list-rows b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.dl-list-rows span { display: block; color: var(--muted); font-size: 15px; line-height: 1.55; }
.dl-list-rows code, .dl-early code { font: 13px/1.4 ui-monospace, "SF Mono", Menlo, monospace; padding: 2px 6px; border-radius: 6px; background: #0000000a; color: var(--ink); overflow-wrap: anywhere; }
.dl-list-rows .dl-kept { margin-top: 6px; font-size: 13.5px; color: var(--faint); }
.dl-early { padding-top: 16px; border-top: 1px solid var(--line); }
.dl-early a, .hero .fine a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #00000040; }

/* ---------------------------------------------------------------- /changelog/ */
.dl-log { max-width: 980px; }
.dl-day { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.dl-day:first-child { border-top: 0; padding-top: 8px; }
.dl-date { font-size: 15px; font-weight: 600; letter-spacing: 0; padding-top: 3px; position: sticky; top: 24px; align-self: start; }
.dl-vers { display: grid; gap: 28px; }
.dl-vhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dl-ver h3 { font-size: 22px; font-weight: 700; letter-spacing: -.025em; scroll-margin-top: 24px; }
.dl-ver p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 640px; }
.dl-for { display: flex; gap: 14px; color: var(--faint); font-size: 13px; }
.dl-for span { display: inline-flex; align-items: center; gap: 5px; }
.dl-for i { font-style: normal; }

/* ---------------------------------------------------------------- narrow screens */
@media (max-width: 1100px) {
  .dl-systems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-cards { grid-template-columns: minmax(0, 1fr); }
  .dl-five { grid-template-columns: minmax(0, 1fr); padding: 28px 12px 12px; }
  .dl-ftext { padding: 0 12px; }
}
/* A phone: the Mac and the iPhone alone, nearer, so what is drawn stays readable. */
@media (max-width: 760px) {
  .dl-stage { --dw: 520px; --dh: 520px; }
  .dl-at-linux, .dl-at-windows { display: none; }
  .dl-at-mac { left: 0; top: 0; width: 600px; height: 400px; }
  .dl-at-iphone { left: 268px; top: 64px; width: 222px; height: 456px; }
  .dl-desk { overflow: hidden; }
  .dl-desk { padding: 24px 16px 20px; border-radius: 22px; }
  .dl-plans { grid-template-columns: minmax(0, 1fr); }
  .dl-plans li { flex-direction: row; align-items: flex-start; gap: 12px; }
  .dl-day { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 28px 0; }
  .dl-date { position: static; color: var(--faint); font-weight: 500; }
}
@media (max-width: 620px) {
  .dl-systems { grid-template-columns: minmax(0, 1fr); }
  .dl-go { flex-direction: column; gap: 20px; }
  .dl-cmain { padding: 22px 20px 20px; } .dl-cmore { padding: 0 20px 22px; }
  .dl-chead h3 { font-size: 20px; }
  .dl-chead { flex-wrap: wrap; row-gap: 12px; }
  .dl-mine { order: -1; width: 100%; }
  .dl-frame { padding: 12px; border-radius: 16px; }
  /* A step's picture is drawn narrower here, without the sidebar, so it is scaled down less. */
  .dl-pic { --dw: 400px; --dh: 380px; }
  .dl-shot .dl-side { display: none; }
  .dl-shot .dl-sheet { margin: 6px; }
  .dl-change .dl-sheet { padding: 40px 16px 0; }
  /* On a phone the notch rises from the foot of the sheet, as the phone draws it. */
  .dl-open { top: auto; bottom: 0; width: auto; left: 8px; right: 8px; margin-left: 0; border-radius: 16px 16px 0 0; }
  .dl-five { padding: 24px 8px 8px; border-radius: 22px; }
  .dl-where { padding: 4px 20px 20px; }
  /* The table becomes one block a row, each system under its row's name. */
  .dl-table thead { display: none; }
  .dl-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; padding: 16px 0; border-bottom: 1px solid #00000012; }
  .dl-table tbody tr:last-child { border-bottom: 0; }
  .dl-table tbody th { grid-column: 1 / -1; width: auto; padding: 0 0 2px; border: 0; font-size: 15px; }
  .dl-table td { padding: 0; border: 0; }
  .dl-table td::before { content: attr(data-th); display: block; font-size: 12px; color: var(--faint); margin-bottom: 2px; }
  .dl-cmd-lines { padding-right: 0; padding-top: 30px; }
}

/* Without download.js: the scale at the narrow end of each band, so a picture always fits. */
.dl-stage { --k: .62; } .dl-pic { --k: .62; }
@media (min-width: 1300px) { .dl-stage { --k: .86; } }
@media (min-width: 1100px) { .dl-pic { --k: .8; } }
@media (max-width: 760px) { .dl-stage { --k: .6; } .dl-pic { --k: .7; } }
