/* /dl.css */
/* The download page (after Granola's "Thanks for downloading" page, notes.granola.ai/download, watched 2026-11-30):
   the file starts by itself about a second after the page is there, the page stays and shows the next steps as
   pictures. Step 2 is our real install window (scripts/assets/dmg in the app: 660 x 420, #FFFAFA, two #FEF4ED
   circles, the peach arrow), not a generic one. */
.dl__chip { display: inline-flex; align-items: center; gap: 10px; height: 36px; margin-bottom: 28px; padding: 0 16px 0 12px; border-radius: 999px; background: rgb(30 81 65 / 0.1); color: var(--forest); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.dl__chip .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.dl[data-state="wait"] .dl__chip-go, .dl:not([data-state="wait"]) .dl__chip-wait { display: none; }
.dl[data-state="wait"] .dl__chip .ic { opacity: 0.35; }
/* three views of one page: a Mac, a Windows computer, anything else (html[data-dl], set at the top of the page).
   .dl__mac / .dl__win: that system's own parts; .dl__dev: shared by both computers; .dl__other: phones and the rest */
html[data-dl="win"] .dl__mac, html:not([data-dl="win"]) .dl__win { display: none; }
html[data-dl="other"] .dl__mac, html[data-dl="other"] .dl__dev, html[data-dl="other"] .dl__steps, html:not([data-dl="other"]) .dl__other { display: none; }
.dl .ph__h { max-width: 17ch; }
.dl .ph__lead a { color: var(--ink); text-decoration-color: var(--forest); text-decoration-thickness: 1.5px; }

.dsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(16px, 2vw, 28px); counter-reset: d; }
.dsteps > li { counter-increment: d; }
.dsteps__n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--ink); color: var(--morning); font-family: var(--display); font-weight: 600; font-variation-settings: var(--head-axes-sm); font-size: 1.25rem; line-height: 1; }
.dsteps__n::before { content: counter(d); }
.dplate { display: block; min-height: 0; padding: 0; aspect-ratio: 36 / 25; }
.dg { display: block; width: 100%; height: 100%; font-family: var(--sans); }
.dg__win { filter: drop-shadow(0 14px 18px rgb(60 40 10 / 0.26)); }
.dg__title { font-size: 11px; font-weight: 600; fill: rgb(22 19 15 / 0.7); }
.dg__file { font-size: 13px; font-weight: 500; fill: #16130f; }
.dg__meta { font-size: 11px; fill: rgb(22 19 15 / 0.55); }
.dg__label { font-size: 26px; font-weight: 500; fill: #16130f; }
.dg__fn { font-size: 20px; font-weight: 600; fill: #16130f; }
.dsteps p { margin-top: 18px; max-width: 30ch; font-size: 1.125rem; line-height: 1.5; color: var(--ink-2); }
.dsteps p b { font-weight: 600; color: var(--ink); }
.dl__foot { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--rule); font-size: 1.0625rem; color: var(--ink-2); }
.dl__foot a { color: var(--ink); }

/* the three pictures move a little, each showing its own step: a double click, the drag, speaking */
@media (prefers-reduced-motion: no-preference) {
  /* the pointer sits in a group that places it, so the click shrinks it around its own tip (with the place on the
     pointer itself the click also pulled it toward the corner of the picture, over the file name) */
  .dg__cur { animation: dg-click 2.6s var(--ease-out) infinite; transform-box: fill-box; transform-origin: 0 0; }
  .dg__drag { animation: dg-drag 3.4s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
  .dg__cap { animation: dg-press 3s var(--ease-out) infinite; }
  .dg__pill .b { animation: dg-bar 900ms ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
  .dg__pill .b:nth-child(2n) { animation-duration: 700ms; }
  .dg__pill .b:nth-child(3n) { animation-duration: 1100ms; animation-delay: -300ms; }
}
@media (prefers-reduced-motion: reduce) { .dg__drag { display: none; } }
@keyframes dg-click { 0%, 55%, 100% { scale: 1; } 62% { scale: 0.86; } 70% { scale: 1; } 78% { scale: 0.86; } 86% { scale: 1; } }
@keyframes dg-drag { 0%, 18% { transform: translateX(0); opacity: 0; } 22% { transform: translateX(0); opacity: 1; } 68% { transform: translateX(330px); opacity: 1; } 80%, 100% { transform: translateX(330px); opacity: 0; } }
@keyframes dg-press { 0%, 30%, 100% { transform: translateY(0); } 40%, 85% { transform: translateY(6px); } }
@keyframes dg-bar { from { transform: scaleY(0.45); } to { transform: scaleY(1.1); } }

@media (max-width: 900px) {
  .dsteps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .dsteps > li { max-width: 460px; }
}

/* the Windows steps: the installer's own words inside its window */
.dg__inh { font-size: 12px; font-weight: 700; fill: #16130f; }
.dg__opt { font-size: 12px; fill: #16130f; }
.dg__bt { font-size: 11px; fill: #16130f; }
.dg__path { font-size: 10.5px; fill: rgb(22 19 15 / 0.78); }
/* What Windows and Edge ask while the installer is new to them (SmartScreen shows only "Nicht ausführen" until
   "Weitere Informationen" is clicked; Edge keeps the file back until it is kept by hand). The answers stand in one
   quiet block under the three steps, in the words those windows use: each begins with the question itself, so the
   block needs no heading, and the steps keep one sentence each. */
.dl__ask { margin-top: clamp(28px, 3.4vw, 44px); display: grid; gap: 10px; max-width: 78ch; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-3); }
.dl__ask b { font-weight: 600; color: var(--ink); }
/* Edge keeps a freshly published installer back with a warning of its own ("... wird häufig nicht heruntergeladen");
   its visitors get the way past it, in Edge's own words (seen on the owner's PC, 2026-12-03). Other browsers do not
   see this line. ?browser=edge shows it anywhere. */
.dl__ask .dl__edge { display: none; }
html[data-browser="edge"] .dl__ask .dl__edge { display: block; }
