/* ==========================================================================
   dulus.ai — download.css
   The /download/ page, loaded after dulus.css: the hero stage (the Windows
   card and the CLI card, which html[data-os] puts in order), the copyable
   command blocks, the install tabs and the terminal, verify, what you need,
   and what to do next. Every class is prefixed dl-.
   ========================================================================== */

/* ----------------------------------------------------------- nav state -- */
/* You are already here: the nav pill steps back, so the card's button is
   the only primary call to action on screen. */

.nav .btn--primary[aria-current="page"] {
  color: var(--gold);
  background: rgba(245, 152, 42, 0.09);
  box-shadow: 0 0 0 1px rgba(245, 152, 42, 0.3) inset;
}
.nav .btn--primary[aria-current="page"]::after {
  opacity: 0;
}

/* Anything a visitor may type is set without ligatures: JetBrains Mono
   would otherwise draw `--` and `->` as single glyphs. */
main code,
main pre {
  font-variant-ligatures: none;
}

/* Inline code in the page's prose. */
main p > code {
  padding: 0.12em 0.4em;
  border-radius: 6px;
  font-size: 0.86em;
  color: var(--ink-2);
  background: rgba(255, 245, 230, 0.05);
  box-shadow: 0 0 0 1px var(--line) inset;
  white-space: nowrap;
}

/* dulus.css paints a split headline's accent per word, on spans main.js
   creates; without a script there are no spans, so paint the <em>. */
html:not(.js) .split .serif {
  background: var(--plumage);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* A download page is a tool: a tighter rhythm than the story pages. */
.dl-install,
.dl-verify,
.dl-needs,
.dl-next {
  padding-block: clamp(64px, 7.4vw, 124px);
}
.dl-install {
  padding-top: clamp(72px, 8.4vw, 136px);
}

/* ----------------------------------------------------------------- hero -- */

.dl-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(44px, 6.4vw, 96px)) 0 clamp(64px, 9vw, 136px);
  overflow: clip;
  isolation: isolate;
}
.dl-hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(44% 40% at 30% 76%, rgba(245, 152, 42, 0.15), transparent 70%),
    radial-gradient(30% 34% at 80% 70%, rgba(255, 210, 122, 0.06), transparent 70%),
    radial-gradient(50% 36% at 64% 0%, rgba(200, 92, 35, 0.09), transparent 70%);
}
.dl-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 30%, var(--line-2) 70%, transparent);
}

.dl-hero__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 22px clamp(32px, 5vw, 88px);
  margin-bottom: clamp(36px, 4.4vw, 60px);
}
.dl-hero__titles {
  display: grid;
  justify-items: start;
  gap: 22px;
}
.dl-hero__title {
  font-size: clamp(3.1rem, 1.2rem + 5.4vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.054em;
}
/* "home." gets a line of its own, and the bird flies in after it. */
.dl-hero__title .serif {
  display: block;
  margin-top: 0.02em;
}
.dl-hero__title .serif::after {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.8em;
  margin-left: 0.14em;
  vertical-align: 0.06em;
  background: url("/assets/img/bird-128.webp") center / contain no-repeat;
  background-image: image-set(url("/assets/img/bird-128.webp") 1x, url("/assets/img/bird-360.webp") 2x);
  filter: drop-shadow(0 10px 26px rgba(245, 152, 42, 0.5));
  transform: rotate(-6deg);
}
.dl-hero__intro {
  padding-bottom: 0.5rem;
}
.dl-hero__intro .lede {
  max-width: 31rem;
}

/* The stage: whichever card leads takes the wide column. */
.dl-hero__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(16px, 1.6vw, 22px);
}
.dl-cli {
  order: 1;
}
:is([data-os="mac"], [data-os="linux"], [data-os="mobile"]) .dl-cli {
  order: -1;
}

/* Where it comes from: source, package, license, checksum. */
.dl-hero__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  margin-top: clamp(26px, 3vw, 40px);
}
.dl-hero__facts a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color var(--t-fast);
}
.dl-hero__facts a:hover {
  color: var(--ink);
}
.dl-hero__facts .ico {
  width: 16px;
  height: 16px;
  color: var(--gold-ink);
}

/* ---------------------------------------------------------------- cards -- */
/* --lead is 1 on the card that leads for this visitor: a gold hairline, a
   warm light underneath and a lit top edge. */

.dl-card {
  --lead: 0;
  --pad: clamp(22px, 2.6vw, 36px);
  container: dlcard / inline-size;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: var(--pad);
  border-radius: var(--r-xl);
  background:
    radial-gradient(110% 70% at 0% 0%, rgba(245, 152, 42, calc(0.11 * var(--lead))), transparent 62%),
    linear-gradient(180deg, rgba(255, 245, 230, 0.04), rgba(255, 245, 230, 0.012)),
    var(--bg-1);
  box-shadow:
    0 0 0 1px rgba(250, 211, 139, calc(0.09 + 0.2 * var(--lead))) inset,
    0 60px 140px -56px rgba(245, 152, 42, calc(0.55 * var(--lead))),
    var(--shadow-2);
}
.dl-win {
  --lead: 1;
}
:is([data-os="mac"], [data-os="linux"], [data-os="mobile"]) .dl-win {
  --lead: 0;
}
:is([data-os="mac"], [data-os="linux"], [data-os="mobile"]) .dl-cli {
  --lead: 1;
}
.dl-card__sheen {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 231, 190, 0.9), transparent);
  opacity: calc(0.2 + 0.8 * var(--lead));
}

.dl-card__top {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
}
.dl-card__id {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.dl-kicker {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.dl-card__title {
  font-size: clamp(1.65rem, 1.15rem + 1.25vw, 2.35rem);
  font-size: clamp(1.5rem, 0.6rem + 3.6cqi, 2.35rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.dl-card__req {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}
.dl-card__text {
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* The OS glyph: four panes cut from one plumage gradient, lit from inside. */
.dl-glyph {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 26px;
  background:
    radial-gradient(70% 70% at 50% 38%, rgba(250, 211, 139, 0.2), transparent 72%),
    linear-gradient(180deg, rgba(255, 245, 230, 0.07), rgba(255, 245, 230, 0.015)),
    var(--bg-2);
  box-shadow:
    0 0 0 1px rgba(250, 211, 139, 0.24) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 24px 50px -22px rgba(245, 152, 42, 0.75);
}
.dl-glyph--win {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 5px;
  padding: 23px;
}
.dl-glyph--win i {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-1) 30%, var(--orange) 66%, var(--orange-2));
  background-size: calc(200% + 5px) calc(200% + 5px);
  box-shadow: 0 0 16px -3px rgba(245, 152, 42, 0.7), 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}
.dl-glyph--win i:nth-child(2) {
  background-position: 100% 0;
}
.dl-glyph--win i:nth-child(3) {
  background-position: 0 100%;
}
.dl-glyph--win i:nth-child(4) {
  background-position: 100% 100%;
}
.dl-glyph--term span {
  font-family: var(--mono);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: var(--plumage);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(-1px);
}

/* ------------------------------------------------------- windows card -- */

.dl-win__main {
  display: grid;
  gap: 22px;
}
.dl-win__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 4px;
}
.dl-win__btn {
  height: 62px;
  padding: 0 9px 0 26px;
  gap: 12px;
  font-size: 1.08rem;
}
.dl-win__btn svg {
  width: 20px;
  height: 20px;
}
.dl-win__ver {
  display: inline-grid;
  place-items: center;
  height: 44px;
  padding: 0 15px;
  margin-left: 8px;
  border-radius: var(--pill);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(29, 16, 3, 0.13);
  box-shadow: 0 0 0 1px rgba(29, 16, 3, 0.14) inset;
}
.btn--glass .dl-win__ver {
  color: var(--gold);
  background: rgba(255, 245, 230, 0.05);
  box-shadow: 0 0 0 1px var(--line-2) inset;
}
.dl-win__perks {
  display: grid;
  gap: 7px;
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
.dl-win__perks li {
  display: flex;
  align-items: center;
  gap: 11px;
}
.dl-win__perks li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 5px;
  margin-top: -3px;
  border-left: 1.6px solid var(--gold-ink);
  border-bottom: 1.6px solid var(--gold-ink);
  transform: rotate(-45deg);
}
.dl-win__phone {
  max-width: 26rem;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  background: rgba(255, 245, 230, 0.03);
  box-shadow: 0 0 0 1px var(--line-2) inset;
}

/* The release sheet: a sunken strip across the bottom of the card. */
.dl-spec {
  display: grid;
  gap: 18px;
  margin: auto calc(var(--pad) * -1) calc(var(--pad) * -1);
  padding: 20px var(--pad) calc(var(--pad) - 4px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 7, 8, 0.5), rgba(7, 7, 8, 0.82));
}
.dl-spec__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 18px;
}
.dl-spec__title,
.dl-notes__label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.dl-spec__live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.dl-spec__live .dot {
  width: 6px;
  height: 6px;
}
.dl-spec__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px 20px;
  margin: 0;
}
.dl-spec__grid > div {
  display: grid;
  gap: 5px;
  align-content: start;
}
.dl-spec__grid dt {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.dl-spec__grid dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* SHA-256: the whole hash, always — it is what people compare. */
.dl-sha {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 16px;
  padding: 9px 7px 9px 16px;
  border-radius: var(--r-sm);
  background: rgba(255, 245, 230, 0.025);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.dl-sha__label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.dl-sha__value {
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--ink-2);
  word-break: break-all;
}
.dl-sha .cmd__copy {
  width: 34px;
  height: 34px;
  margin: 0;
}

.dl-notes {
  display: grid;
  gap: 7px;
}
.dl-notes__text {
  max-width: 44rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-3);
}

/* Too narrow for one line: two even rows of 32, and a 2 × 2 sheet. */
@container dlcard (max-width: 600px) {
  .dl-sha__value {
    max-width: 32.4ch;
  }
  .dl-spec__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* When the app is not for this machine, its release notes are noise. */
:is([data-os="mac"], [data-os="linux"], [data-os="mobile"]) .dl-win .dl-notes {
  display: none;
}
/* A narrow card: the button takes the full width and its label may wrap
   (Spanish is longer) instead of pushing the version out of the card. */
@container dlcard (max-width: 470px) {
  .dl-win__cta,
  .dl-win__btn {
    width: 100%;
  }
  .dl-win__btn {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    justify-content: stretch;
    gap: 3px 14px;
    height: auto;
    min-height: 68px;
    padding: 11px 22px;
    border-radius: 22px;
    line-height: 1.2;
    text-align: left;
    white-space: normal;
  }
  .dl-win__btn svg {
    grid-row: span 2;
  }
  .dl-win__ver {
    justify-self: start;
    height: auto;
    padding: 0;
    margin: 0;
    font-size: 0.74rem;
    font-weight: 500;
    background: none;
    box-shadow: none;
    opacity: 0.8;
  }
  .btn--glass .dl-win__ver {
    background: none;
    box-shadow: none;
  }
  .dl-sha {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .dl-sha__label {
    grid-column: 1 / -1;
  }
}
/* A phone-sized card: the glyph sits above the title. */
@container dlcard (max-width: 420px) {
  .dl-card__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .dl-glyph {
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }
  .dl-glyph--win {
    padding: 15px;
    gap: 4px;
  }
  .dl-glyph--term span {
    font-size: 1.2rem;
  }
}

/* ------------------------------------------------------------ cli card -- */

/* On Windows the app is the way in; the card says so before its command. */
.dl-cli__app {
  padding: 10px 14px;
  border-radius: var(--r);
  font-size: var(--fs-sm);
  color: var(--gold-ink, var(--ink-2));
  background: rgba(245, 152, 42, 0.07);
  box-shadow: 0 0 0 1px rgba(245, 152, 42, 0.22) inset;
}
.dl-cli__app[hidden] {
  display: none;
}
.dl-cli__then {
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
.dl-cli__alt {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.dl-cli__alt > p {
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
.dl-cli__alt .cmd {
  justify-self: start;
  height: 44px;
}
.dl-cli__more {
  align-self: flex-start;
  font-size: var(--fs-sm);
}

/* ------------------------------------------------------ command blocks -- */
/* A .cmd that wraps: long one-liners are shown whole, never ellipsed —
   you should see exactly what you pipe into a shell. */

.dl-cmd {
  border-radius: var(--r);
  background: rgba(245, 152, 42, 0.05);
  box-shadow: 0 0 0 1px rgba(245, 152, 42, 0.24) inset;
}
.dl-cmd__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 42px;
  padding: 0 5px 0 18px;
  border-bottom: 1px solid rgba(245, 152, 42, 0.13);
}
.dl-cmd__shell {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.dl-cmd .cmd__copy {
  width: 34px;
  height: 34px;
  margin: 0;
}
.dl-cmd__text {
  --pw: 2ch;
  position: relative;
  display: block;
  padding: 14px 20px 16px calc(18px + var(--pw));
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--gold);
  overflow-wrap: anywhere;
}
.dl-cmd__text::before {
  content: "$";
  position: absolute;
  left: 18px;
  top: 14px;
  color: var(--ink-4);
}
.dl-cmd__text[data-prompt] {
  --pw: 4.2ch;
}
/* Flags stay with their values; a file name never splits at a hyphen. */
.dl-cmd__text .dl-nw,
.dl-cmd__text [data-release="file"] {
  white-space: nowrap;
}
.dl-cmd__text[data-prompt]::before {
  content: attr(data-prompt);
}
.dl-cmd--lg .dl-cmd__text {
  padding: 18px 24px 20px calc(22px + var(--pw));
  font-size: 0.95rem;
}
.dl-cmd--lg .dl-cmd__text::before {
  left: 22px;
  top: 18px;
}

/* ------------------------------------------------------------- install -- */

.dl-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(32px, 5vw, 88px);
}
.dl-row + .dl-row {
  margin-top: clamp(72px, 8vw, 120px);
}
/* The heading keeps you company while the longer column scrolls by. */
@media (min-width: 961px) {
  .dl-row__head {
    position: sticky;
    top: calc(var(--nav-h) + 52px);
  }
}

.dl-tabs {
  display: grid;
  gap: 18px;
}
.dl-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 5px;
  border-radius: 22px;
  background: rgba(255, 245, 230, 0.03);
  box-shadow: 0 0 0 1px var(--line-2) inset;
}
.dl-tabs__tab {
  height: 40px;
  padding: 0 17px;
  border-radius: var(--pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-3);
  transition: color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
}
.dl-tabs__tab:hover {
  color: var(--ink);
}
.dl-tabs__tab[aria-selected="true"] {
  color: var(--gold);
  background: rgba(245, 152, 42, 0.12);
  box-shadow: 0 0 0 1px rgba(245, 152, 42, 0.36) inset;
}
.dl-tabs__panel {
  display: grid;
  gap: 16px;
}
.dl-tabs__label {
  display: none;
}
.dl-tabs__note {
  max-width: 44rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-3);
}
/* Without a script there are no tabs: every way to install, one after
   another, each with its own heading. */
html:not(.js) .dl-tabs__list {
  display: none;
}
html:not(.js) .dl-tabs [role="tabpanel"][hidden] {
  display: grid !important;
}
html:not(.js) .dl-tabs {
  gap: 34px;
}
html:not(.js) .dl-tabs__label {
  display: block;
  font-family: var(--mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

/* Run it: three steps beside a terminal. */
.dl-run {
  align-items: center;
}
.dl-steps {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}
.dl-steps li {
  display: grid;
  grid-template-columns: 6.6rem minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.dl-steps__cmd {
  justify-self: start;
  font-size: 0.86rem;
  color: var(--gold);
  line-height: 1.6;
}
.dl-steps li > p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-3);
}

.dl-term {
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #0f0e0d, #080808 70%);
  box-shadow: 0 0 0 1px var(--line-2) inset, var(--shadow-3), 0 60px 120px -60px rgba(245, 152, 42, 0.35);
  overflow: hidden;
}
.dl-term__bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 245, 230, 0.022);
}
.dl-term__dots {
  display: inline-flex;
  gap: 7px;
}
.dl-term__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 236, 210, 0.16);
}
.dl-term__bar p {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ink-4);
  white-space: nowrap;
}
.dl-term__body {
  margin: 0;
  padding: 22px 24px 26px;
  font-size: 0.8rem;
  line-height: 1.62;
  color: var(--ink-2);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
/* The banner is the CLI's own block glyphs, drawn as one SVG path: set as
   text, every block cell shows a hairline seam. */
.dl-term__banner {
  display: block;
  width: min(100%, 272px);
  height: auto;
  margin: 6px 0 2px;
}
.dl-term__dim {
  color: var(--ink-4);
}
.dl-term__info {
  color: var(--ink-3);
}
.dl-term__ok {
  color: var(--live);
}
.dl-term__cyan {
  color: var(--gold-ink);
  font-weight: 700;
}
.dl-term__cursor {
  display: inline-block;
  width: 0.62em;
  height: 1.2em;
  margin-left: 3px;
  vertical-align: -0.24em;
  background: var(--gold-1);
}
.dl-term.is-live .dl-term__cursor {
  animation: blink 1.1s step-end infinite;
}

/* -------------------------------------------------------------- verify -- */

.dl-verify__steps {
  display: grid;
  gap: 14px;
  counter-reset: verify;
}
.dl-verify__step {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 26px 28px 28px 84px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 245, 230, 0.03), rgba(255, 245, 230, 0.01));
  box-shadow: 0 0 0 1px var(--line) inset;
}
.dl-verify__step::before {
  counter-increment: verify;
  content: counter(verify, decimal-leading-zero);
  position: absolute;
  left: 28px;
  top: 27px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--gold-ink);
  box-shadow: 0 0 0 1px var(--line-gold) inset;
}
.dl-verify__title {
  font-size: var(--fs-4);
  line-height: 1.25;
  padding-top: 4px;
}
.dl-verify__step > p,
.dl-verify__eq > p {
  font-size: var(--fs-sm);
  line-height: 1.62;
  color: var(--ink-3);
}
.dl-verify__eq {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.dl-sha--block {
  grid-template-columns: minmax(0, 1fr) auto;
}
.dl-sha--block .dl-sha__label {
  grid-column: 1 / -1;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* ----------------------------------------------------------- what you need -- */

.dl-needs__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.dl-needs__item {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 30px 28px 6px 0;
}
.dl-needs__item + .dl-needs__item {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.dl-needs__k {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.dl-needs__title {
  font-size: var(--fs-4);
  line-height: 1.2;
}
.dl-needs__item > p:not(.dl-needs__k) {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-3);
}

/* -------------------------------------------------------------- next -- */

.dl-next__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}
.dl-next__card .card__pad {
  display: grid;
  align-content: start;
  gap: 14px;
  height: 100%;
}
.dl-next__card .ico-tile {
  margin-bottom: 8px;
}
.dl-next__title {
  font-size: var(--fs-4);
  line-height: 1.2;
}
.dl-next__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.dl-next__link:focus-visible {
  outline: none;
}
.dl-next__card:has(.dl-next__link:focus-visible) {
  outline: 2px solid var(--gold-1);
  outline-offset: 3px;
}
.dl-next__card .card__pad > p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-3);
}
.dl-next__card .dl-next__go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-weight: 500;
  color: var(--gold-ink);
}
.dl-next__go .ico {
  width: 15px;
  height: 15px;
  transition: transform var(--t) var(--ease);
}
.dl-next__card:hover .dl-next__go .ico {
  transform: translateX(3px);
}
.dl-next__legal {
  margin-top: 28px;
  max-width: 52rem;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

/* ------------------------------------------------- macOS and Linux -- */
/* The same app for the other two desktops. Each card is "coming soon"
   (.dl-os__soon) until download.js finds its build in the catalogue; then
   the download row (.dl-os__live) takes its place. */

.dl-plat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 22px);
  margin-top: clamp(16px, 1.6vw, 22px);
}
.dl-os {
  gap: 18px;
}
/* A visitor's own platform leads once its build is out: its card comes
   first, right under the head, and carries the lead light. */
.dl-hero__inner {
  display: flex;
  flex-direction: column;
}
.dl-hero__head {
  order: -2;
}
:is([data-os="mac"][data-dl-macos="live"], [data-os="linux"][data-dl-linux="live"]) .dl-plat {
  order: -1;
  margin-top: 0;
  margin-bottom: clamp(16px, 1.6vw, 22px);
}
[data-os="linux"][data-dl-linux="live"] .dl-os--linux {
  order: -1;
}
[data-os="mac"][data-dl-macos="live"] .dl-os--macos,
[data-os="linux"][data-dl-linux="live"] .dl-os--linux {
  --lead: 1;
}
:is([data-os="mac"][data-dl-macos="live"], [data-os="linux"][data-dl-linux="live"]) .dl-cli {
  --lead: 0;
}
.dl-glyph--os {
  width: 76px;
  height: 76px;
  border-radius: 22px;
}
.dl-glyph--os .ico {
  width: 34px;
  height: 34px;
  color: var(--gold-1);
  filter: drop-shadow(0 0 14px rgba(245, 152, 42, 0.55));
}
.dl-os .dl-card__title {
  font-size: clamp(1.4rem, 0.6rem + 3cqi, 1.9rem);
}
.dl-os .dl-card__text {
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
.dl-os__live {
  display: grid;
  gap: 16px;
  margin-top: auto;
}
.dl-os__live[hidden],
.dl-os__soon[hidden] {
  display: none;
}
.dl-os__btn {
  justify-self: start;
}
.dl-os__spec {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
}
.dl-os__spec > div {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.dl-os__spec > div[hidden] {
  display: none;
}
.dl-os__spec dt {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.dl-os__spec dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--ink);
}
.dl-os__soon {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 16px 18px;
  border-radius: var(--r);
  background: rgba(255, 245, 230, 0.02);
  box-shadow: 0 0 0 1px var(--line-2) inset;
  background-image: repeating-linear-gradient(135deg, rgba(255, 245, 230, 0.025) 0 10px, transparent 10px 20px);
}
.dl-os__soon-text {
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink-2);
}
.dl-os__soon-text strong {
  color: var(--gold-ink);
  font-weight: 600;
}
.dl-os__soon .link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  font-size: var(--fs-sm);
}
.dl-os__soon .link .ico {
  width: 16px;
  height: 16px;
}

/* The Mac and Linux lede: one for before their builds are out, one after. */
html:not([data-dl-mine="live"]) .dl-when-live,
html[data-dl-mine="live"] .dl-when-soon {
  display: none;
}

.dl-verify__alt {
  font-size: var(--fs-sm);
  line-height: 1.62;
  color: var(--ink-3);
}

/* ---------------------------------------------------------- responsive -- */

@media (max-width: 1100px) {
  .dl-hero__stage {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .dl-plat {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 1000px) {
  .dl-needs__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dl-needs__item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .dl-needs__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    margin-top: 24px;
  }
}
@media (max-width: 960px) {
  .dl-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .dl-next__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .dl-hero__head {
    grid-template-columns: minmax(0, 1fr);
  }
  .dl-hero__intro {
    padding-bottom: 0;
  }
}
@media (max-width: 600px) {
  .dl-hero__titles {
    gap: 18px;
  }
  .dl-card {
    gap: 18px;
    border-radius: var(--r-lg);
  }
  .dl-cmd__text {
    font-size: 0.8rem;
  }
  .dl-tabs__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    border-radius: 18px;
  }
  .dl-tabs__tab {
    border-radius: 13px;
    padding: 0 10px;
    font-size: 0.86rem;
  }
  .dl-cmd--lg .dl-cmd__text {
    padding: 16px 18px 18px calc(18px + var(--pw));
    font-size: 0.88rem;
  }
  .dl-cmd--lg .dl-cmd__text::before {
    left: 18px;
    top: 16px;
  }
  .dl-steps li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .dl-term__body {
    padding: 18px 16px 20px;
    font-size: 0.7rem;
  }
  .dl-verify__step {
    padding: 72px 20px 22px;
  }
  .dl-verify__step::before {
    left: 20px;
    top: 22px;
  }
  .dl-needs__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .dl-needs__item,
  .dl-needs__item + .dl-needs__item {
    padding: 24px 0 4px;
    border-left: 0;
  }
  .dl-needs__item + .dl-needs__item {
    border-top: 1px solid var(--line);
    margin-top: 20px;
  }
  .dl-needs__item:nth-child(n + 3) {
    margin-top: 20px;
  }
}

@media (forced-colors: active) {
  /* Hairlines here are box-shadows, which forced colours drop. */
  .dl-card,
  .dl-cmd,
  .dl-sha,
  .dl-verify__step,
  .dl-term,
  .dl-tabs__list {
    border: 1px solid CanvasText;
  }
  .dl-tabs__tab[aria-selected="true"] {
    outline: 2px solid Highlight;
  }
  .dl-glyph--win i {
    background: CanvasText;
  }
  .dl-glyph--term span {
    color: CanvasText;
    background: none;
  }
  .dl-term__banner path {
    fill: CanvasText;
  }
  .dl-card__sheen {
    display: none;
  }
}
