.download-page{background:var(--color-canvas)}
.download-page h1,.download-page h2,.download-page h3{font-family:'Bitter',Georgia,serif;font-weight:600;letter-spacing:0;font-style:normal;font-synthesis:none}
.download-page p,.download-page button,.download-page a{font-family:'Work Sans',Arial,sans-serif}

/* 2026-10-30, simplified (review against hilos.sh/download and craft.do/download): only what exists. Hilos's
   order, one centred column: the browser first ("It already works in your browser"), then "For your computer"
   and a Desktop card in Craft's rows: macOS with its download, Windows marked Coming soon as plain text, not a
   control. Our tokens throughout. The frame is still Craft's: inset 20px, 24px corners, clipped, its four-layer
   shadow in light, a 1px ring in dark, 116px of canvas before the footer.
   Contrast, calculated (light / dark): ink on surface-blue 15.58 / 11.44; ink-2 on surface-blue 5.65 / 7.43;
   ink-2 on the cards 6.31 / 9.72; ink-3 notes on the cards 5.70 / 6.84; Coming soon, ink-2 on sunken
   5.33 / 8.83; white on the blue buttons 5.77 / 5.21; the focus ring on the cards 5.77 / 5.11, on surface-blue
   5.16 / 3.91. The row dividers (1.31 / 1.29) are decoration. */
.dl-frame {
  margin: 20px 20px 0; padding: 136px 32px 64px; border-radius: 24px; overflow: clip;
  background: var(--color-surface-blue);
  box-shadow: 0 50px 40px rgb(0 0 0 / 0.01), 0 50px 40px rgb(0 0 0 / 0.02), 0 20px 40px rgb(0 0 0 / 0.05), 0 3px 10px rgb(0 0 0 / 0.08);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dl-frame { box-shadow: 0 0 0 1px rgb(var(--tint) / 0.08); } }
:root[data-theme="dark"] .dl-frame { box-shadow: 0 0 0 1px rgb(var(--tint) / 0.08); }
.download-page .site-footer { margin-top: 116px; }

.dl-hero { max-width: 640px; margin: 0 auto; text-align: center; }
.dl-mark { display: block; width: 64px; height: 64px; margin: 0 auto 20px; }
.dl-hero h1 { margin: 0 0 16px; font: 600 clamp(40px, 5.4vw, 64px)/1.12 var(--font-serif); letter-spacing: 0; color: var(--color-ink); }
.dl-lead { margin: 0; font: 400 18px/1.6 var(--font-sans); color: var(--color-ink-2); }

.dl-column { max-width: 640px; margin: 48px auto 0; }
.dl-card { border-radius: var(--radius-panel); background: var(--color-surface); box-shadow: var(--shadow-lift); }
.dl-cta { min-height: 44px; padding: 0 20px; font-size: 15px; white-space: nowrap; }

.dl-browser { display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: center; gap: 28px; padding: 28px 32px; }
.dl-browser-art { display: block; width: 136px; height: 136px; object-fit: contain; }
.dl-browser h2 { margin: 0 0 6px; font: 600 22px/1.3 var(--font-serif); letter-spacing: 0.01em; color: var(--color-ink); }
.dl-browser-line { margin: 0 0 16px; font: 400 15px/1.5 var(--font-sans); color: var(--color-ink-2); }

.dl-label { margin: 40px 0 12px; font: 600 12px/1.4 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-2); }
.dl-desktop { padding: 8px 32px; }
.dl-rows { margin: 0; padding: 0; list-style: none; }
.dl-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 76px; }
.dl-row + .dl-row { box-shadow: inset 0 1px 0 var(--color-line); }
.dl-row .platform-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--color-ink-2); }
.dl-row-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-row-name b { font: 500 16px/1.35 var(--font-sans); color: var(--color-ink); }
.dl-todo { font: 400 13px/1.4 var(--font-sans); color: var(--color-ink-3); }
.dl-soon { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--color-sunken); font: 500 13px/1 var(--font-sans); color: var(--color-ink-2); white-space: nowrap; }

@media (max-width: 700px) {
  .dl-frame { margin: 16px 16px 0; padding: 112px 16px 32px; }
  .dl-hero h1 { font-size: 40px; }
  .dl-lead { font-size: 16px; }
  .dl-column { margin-top: 32px; }
  .dl-browser { grid-template-columns: 1fr; justify-items: center; gap: 16px; padding: 24px 20px; text-align: center; }
  .dl-browser-art { width: 104px; height: 104px; }
  .dl-desktop { padding: 4px 20px; }
  .dl-row { grid-template-columns: 24px minmax(0, 1fr); row-gap: 10px; padding: 16px 0; }
  .dl-row > .dl-cta, .dl-row > .dl-soon { grid-column: 2; justify-self: start; }
  .download-page .site-footer { margin-top: 64px; }
}

/* The live Mimo in the browser card, as on Contact: the still frame until the renderer starts, then the canvas. */
.dl-mimo { position: relative; }
.dl-mimo img, .dl-mimo canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.dl-mimo canvas { opacity: 0; transition: opacity 0.3s var(--ease-out-soft); }
.dl-mimo.is-live canvas { opacity: 1; }
.dl-mimo.is-live img { visibility: hidden; }

/* Round dp2: "Your workspace, within reach." The card is a workspace canvas: a faint blue grid is the desk (lines
   every 32px, stronger every 128px, like a cutting mat), faded out behind the title so the words sit on plain
   surface-blue. Our own files and folders sit in a ring around the title, about 48px clear of it, and a cursor drags
   moodboard.png in toward it. All of it is decoration: hidden from screen readers, not clickable.
   Contrast (light / dark): grid lines on the card 1.17 / 1.23 (decoration); title on the faded grid 15.58 / 11.44,
   13.26 / 9.30 at worst where a line still shows; lead 5.65 / 7.43, 4.81 / 6.04 at worst; file names 5.65 / 7.43;
   the menu chip's words on its card 17.40 / 14.96. */
.dl-frame { position: relative; isolation: isolate; padding-top: 168px;
  --grid-minor: #d6e2f1; --grid-major: #c6d6eb; --hero-y: 310px;
  --folder-back: #8fb2e4; --folder-front: #b4cdf0; }
:root[data-theme="dark"] .dl-frame { --grid-minor: #24406e; --grid-major: #2d4c80; --folder-back: #3d63a3; --folder-front: #5b84c4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dl-frame { --grid-minor: #24406e; --grid-major: #2d4c80; --folder-back: #3d63a3; --folder-front: #5b84c4; } }
.dl-frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(var(--grid-major) 1px, transparent 1px) 0 0 / 128px 128px,
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px) 0 0 / 128px 128px,
    linear-gradient(var(--grid-minor) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px) 0 0 / 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 380px 190px at 50% var(--hero-y), transparent 55%, #000 100%);
  mask-image: radial-gradient(ellipse 380px 190px at 50% var(--hero-y), transparent 55%, #000 100%);
}

.dl-hero { position: relative; }
.dl-desk { position: absolute; inset: 0; pointer-events: none; }
.dl-file { position: absolute; margin: 0; width: var(--w, 112px); rotate: var(--r, 0deg); text-align: center; }
.dl-file-print { position: relative; display: block; padding: 5px; background: #faf9f6; border-radius: 3px;
  box-shadow: 0 1px 2px rgb(18 26 42 / .12), 0 10px 22px -12px rgb(18 26 42 / .35); }
.dl-file img { display: block; width: 100%; height: auto; border-radius: 1px; }
.dl-file figcaption { margin-top: 7px; font: 500 12px/1.3 var(--font-sans); color: var(--color-ink-2); white-space: nowrap; }
.dl-night { display: none !important; }
:root[data-theme="dark"] .dl-night { display: block !important; } :root[data-theme="dark"] .dl-night + img { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dl-night { display: block !important; } :root:not([data-theme="light"]) .dl-night + img { display: none; } }
.dl-folder svg { display: block; width: 100%; height: auto; }
.dl-folder-back { fill: var(--folder-back); } .dl-folder-front { fill: var(--folder-front); }

/* The ring, measured from the title block (640px wide): left and right of it, 40–170px clear. */
.dl-f-harbour { --w: 124px; --r: -5deg; top: -54px; right: calc(100% + 64px); }
.dl-f-refs    { --w: 76px;  --r: 0deg;  top: 116px; right: calc(100% + 168px); }
.dl-f-palette { --w: 112px; --r: 4deg;  top: 232px; right: calc(100% + 40px); }
.dl-f-notes   { --w: 104px; --r: -3deg; top: 92px;  right: calc(100% + 28px); }
.dl-f-ref001  { --w: 104px; --r: 5deg;  top: -62px; left: calc(100% + 60px); }
.dl-f-boards  { --w: 76px;  --r: 0deg;  top: 108px; left: calc(100% + 178px); }
.dl-f-clip    { --w: 108px; --r: -4deg; top: 322px; left: calc(100% + 150px); }
.dl-f-drag    { --w: 124px; --r: 2deg;  top: 116px; left: calc(100% + 36px); }
.dl-sel { position: absolute; inset: -5px; border: 1px solid var(--color-accent); border-radius: 4px; }
.dl-sel i { position: absolute; width: 7px; height: 7px; background: var(--color-surface); border: 1px solid var(--color-accent); }
.dl-sel i:nth-child(1) { left: -4px; top: -4px; } .dl-sel i:nth-child(2) { right: -4px; top: -4px; }
.dl-sel i:nth-child(3) { left: -4px; bottom: -4px; } .dl-sel i:nth-child(4) { right: -4px; bottom: -4px; }
.dl-cursor { position: absolute; top: 214px; left: calc(100% + 148px); width: 24px; height: 24px; }
.dl-cursor path { fill: var(--color-ink); stroke: var(--color-surface); stroke-width: 1.5; stroke-linejoin: round; }
.dl-menu { position: absolute; top: 264px; left: calc(100% + 20px); display: flex; padding: 3px; border-radius: 10px;
  background: var(--color-surface); box-shadow: var(--shadow-lift); font: 500 12px/1 var(--font-sans); color: var(--color-ink); white-space: nowrap; }
.dl-menu span { padding: 6px 9px; border-radius: 7px; }
.dl-menu span + span { box-shadow: inset 1px 0 0 var(--color-line); }

/* Motion: the files settle into the ring one after another, then the cursor drags moodboard.png 28px in toward the
   title and stops. Once, about 1.5s, on load; never on hover; nothing moves with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .dl-file, .dl-menu { animation: dl-settle 420ms var(--ease-out-soft) both; }
  .dl-f-harbour { animation-delay: 80ms; } .dl-f-ref001 { animation-delay: 140ms; } .dl-f-notes { animation-delay: 200ms; }
  .dl-f-refs { animation-delay: 260ms; } .dl-f-boards { animation-delay: 320ms; } .dl-f-palette { animation-delay: 380ms; }
  .dl-f-clip { animation-delay: 440ms; } .dl-menu { animation-delay: 900ms; }
  .dl-f-drag { animation: dl-settle 420ms var(--ease-out-soft) 500ms both, dl-drag 640ms var(--ease-in-out-soft) 760ms both; }
  .dl-cursor { animation: dl-drag 640ms var(--ease-in-out-soft) 760ms both; }
}
@keyframes dl-settle { from { opacity: 0; translate: 0 10px; scale: .94; } }
@keyframes dl-drag { from { translate: 28px 10px; } }

/* 901–1100: the margins narrow, so the ring tightens and the outer pair of folders goes. */
@media (max-width: 1100px) {
  .dl-f-refs, .dl-f-boards, .dl-f-clip { display: none; }
  .dl-f-harbour { --w: 104px; right: calc(100% + 20px); }
  .dl-f-palette { --w: 96px; top: 120px; right: calc(100% + 14px); }
  .dl-f-notes { display: none; }
  .dl-f-ref001 { --w: 88px; left: calc(100% + 24px); }
  .dl-f-drag { --w: 104px; left: calc(100% + 12px); top: 150px; }
  .dl-menu { display: none; }
  .dl-cursor { left: calc(100% + 102px); top: 232px; }
}
/* Tablets: a half-ring above and beside the title. */
@media (max-width: 900px) {
  .dl-frame { padding-top: 256px; --hero-y: 380px; }
  .dl-f-harbour { --w: 100px; top: -176px; right: auto; left: 2%; }
  .dl-f-palette { display: none; }
  .dl-f-ref001 { --w: 84px; top: -184px; left: auto; right: 4%; }
  .dl-f-refs { display: block; --w: 64px; top: -120px; right: auto; left: 25%; }
  .dl-f-drag { --w: 96px; top: -150px; left: auto; right: 24%; }
  .dl-cursor { top: -70px; left: auto; right: 21%; }
}
/* Phones: one folder and the dragged file beside the app icon, so nothing pushes Open Mimokeep off the screen. */
@media (max-width: 700px) {
  .dl-frame { padding-top: 140px; --hero-y: 230px; }
  .dl-frame::before { -webkit-mask-image: radial-gradient(ellipse 200px 170px at 50% var(--hero-y), transparent 50%, #000 100%); mask-image: radial-gradient(ellipse 200px 170px at 50% var(--hero-y), transparent 50%, #000 100%); }
  .dl-f-harbour, .dl-f-ref001 { display: none; }
  .dl-f-refs { --w: 52px; top: 2px; left: 8%; right: auto; }
  .dl-f-drag { --w: 66px; --r: 3deg; top: -4px; left: auto; right: 6%; }
  .dl-f-drag figcaption, .dl-f-refs figcaption { font-size: 11px; margin-top: 5px; }
  .dl-cursor { top: 44px; left: auto; right: 2%; width: 20px; height: 20px; }
}

/* Round dp3: no fade behind the title. The grid runs right through, and the title is framed like a text box you've
   just selected (after "march sidequests"): a cobalt frame with eight handles round "within reach.", the cursor
   at its bottom-right corner. Over the grid lines the title is still 13.26 / 9.30:1 and the lead 4.81 / 6.04:1. */
.dl-frame::before { -webkit-mask-image: none !important; mask-image: none !important; }
/* The frame sits well clear of the words, like the sidequests reference: about a quarter of the type size above and
   below, a third either side. */
.dl-title-sel { position: relative; display: inline-block; margin-top: 10px; padding: 9px 22px 12px; }
.dl-title-sel .dl-sel { inset: 0; border-radius: 2px; pointer-events: none; }
.dl-title-sel .dl-sel i:nth-child(5) { left: 50%; top: -4px; translate: -50% 0; }
.dl-title-sel .dl-sel i:nth-child(6) { left: 50%; bottom: -4px; translate: -50% 0; }
.dl-title-sel .dl-sel i:nth-child(7) { left: -4px; top: 50%; translate: 0 -50%; }
.dl-title-sel .dl-sel i:nth-child(8) { right: -4px; top: 50%; translate: 0 -50%; }
/* The reference's pointer: a white arrow with a dark outline, its tip resting on the frame's bottom edge a little in
   from the corner, as if it has just dragged the box. */
.dl-title-sel .dl-arrow { top: calc(100% - 3px); bottom: auto; left: auto; right: 10px; width: 26px; height: 26px; }
.dl-arrow path { fill: #faf9f6; stroke: #121a2a; stroke-width: 1.4; stroke-linejoin: round; }
.dl-hero h1 { margin-bottom: 36px; } /* room under the frame for the cursor, clear of the lead */
.dl-title-sel .dl-cursor { animation: none; }

/* The frame draws on once the files have settled: the box fades in, the handles pop, and the cursor glides to the
   corner it's holding. Once, on load; nothing moves with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .dl-title-sel .dl-sel { animation: dl-frame-in 260ms var(--ease-out-soft) 700ms both; }
  .dl-title-sel .dl-sel i { animation: dl-handle-in 220ms var(--ease-out-soft) 820ms both; }
  .dl-title-sel .dl-cursor { animation: dl-cursor-in 420ms var(--ease-out-soft) 640ms both; }
  /* moodboard.png just settles now; the cursor has moved to the title. */
  .dl-f-drag { animation: dl-settle 420ms var(--ease-out-soft) 500ms both; }
}
@keyframes dl-frame-in { from { opacity: 0; } }
@keyframes dl-handle-in { from { opacity: 0; scale: 0.6; } }
@keyframes dl-cursor-in { from { opacity: 0; translate: 22px 18px; } }

/* The references folder now shows at every width, since the Download animation gathers the files into it. */
@media (max-width: 1100px) and (min-width: 901px) {
  .dl-f-refs { display: block; --w: 64px; top: 250px; right: calc(100% + 30px); }
}
@media (max-width: 700px) {
  .dl-title-sel { margin-top: 6px; padding: 5px 14px 8px; }
  .dl-title-sel .dl-arrow { right: 6px; width: 20px; height: 20px; }
  .dl-hero h1 { margin-bottom: 30px; }
}
/* The narrowest phones (up to 360px): 34px keeps "Your workspace," and the framed "within reach." on one line each. */
@media (max-width: 360px) { .dl-hero h1 { font-size: 34px; } .dl-title-sel { padding: 5px 12px 8px; } }
