/* The download page in the Bold look (the text is unchanged): a large heading, rounded cards, pill buttons and larger, brighter text. */
.page-download .page-hero { padding: calc(var(--nav-h) + 48px) 0 28px; }
.page-download .page-hero .eyebrow, .page-download .section__head .eyebrow, .page-download .spec__head .eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 700 1.05rem var(--sans); letter-spacing: 0; text-transform: none; color: #fff; }
.page-download .page-hero h1 { font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.02; color: #fff; margin: 12px 0 18px; }
.page-download .page-hero .lead { max-width: 40em; font-size: 1.25rem; font-weight: 500; line-height: 1.6; color: #e3e9ee; }
.page-download h2 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.08; color: #fff; }
.page-download h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; color: #fff; }

.page-download .download-card { margin-top: 36px; padding: 34px; border-radius: 28px; background: #10191f; border: 1px solid #ffffff26; box-shadow: 0 24px 60px #0006; }
.page-download .download-card h2 { font-size: 1.9rem; margin-bottom: 10px; }
.page-download .download-card p { font-size: 1.1rem; font-weight: 500; line-height: 1.6; color: #e3e9ee; }
.page-download .download-card .btn { height: 56px; padding: 0 32px; font-size: 1.1rem; }
.page-download .plans__note, .page-download .licence__meta { font-size: 1.02rem; line-height: 1.6; color: #c9d3da; }
.page-download .plans__note a { color: #fff; font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: 4px; text-decoration-thickness: 2px; }

.page-download .steps { gap: 20px; border-top: 0; }
.page-download .steps li { padding: 28px; border-radius: 24px; background: #10191f; border: 1px solid #ffffff26; }
.page-download .steps li::before { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--orange); color: #140b00; font: 700 1.1rem var(--sans); letter-spacing: 0; }
.page-download .steps li p { font-size: 1.08rem; line-height: 1.6; color: #e3e9ee; }

.page-download .spec__table { margin-top: 28px; border-top: 0; display: grid; gap: 12px; }
.page-download .spec__row { border: 1px solid #ffffff26; border-radius: 20px; background: #10191f; padding: 18px 24px; }
.page-download .spec__row dt { font-size: 1.08rem; font-weight: 700; color: var(--orange); }
.page-download .spec__row dd { font-size: 1.08rem; color: #fff; line-height: 1.55; }
.page-download .spec__row dd a { color: #fff; text-decoration-color: var(--orange); text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* From Tesselform-Site-Changes-Pack (13 October 2026), approved by James 2026-10-13 ("update the fonts and add the dark grey colour to break up the sections"). */
/* Download heading: solid white (no grey fade), with the key words underlined in orange, as on the home and Contact pages */
.page-download .page-hero h1 { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: #fff; color: #fff; }
.page-download .page-hero h1 em { font-style: normal; -webkit-text-fill-color: #fff;
  background: linear-gradient(#ff8300, #ff8300) left 94% / 100% .09em no-repeat; padding-bottom: .04em; }
.page-download .page-hero { padding-top: calc(var(--nav-h) + 40px); }

/* Alternating bands: the top and "Before you install" stay near-black; "Getting started" and "Open source" sit on a lighter slate grey,
   with the cards on them a little darker so they still stand out */
.page-download main > section { padding-block: clamp(56px, 7vw, 96px); }
.page-download main > section.page-hero { padding-bottom: clamp(40px, 5vw, 72px); }
.page-download main > section[aria-labelledby="install-title"],
.page-download main > section#source { background: #2c3c4b; border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.page-download main > section[aria-labelledby="dl-req-title"] { background: #080b0e; }
.page-download main > section[aria-labelledby="install-title"] .steps li,
.page-download main > section#source .spec__row { background: #17222c; border-color: rgba(255, 255, 255, .16); }
.page-download main > section#source.rule-top { border-top: 1px solid rgba(255, 255, 255, .08); }

/* Phones (James, 2026-10-13: the page did not fit the screen): the download card's single column may shrink below its
   widest content and the long button text wraps, so the card stays inside the screen; tighter cards and bands. */
@media (max-width: 700px) {
  .page-download .page-hero { padding-top: calc(var(--nav-h) + 28px); }
  .page-download .page-hero h1 { font-size: clamp(2.4rem, 11vw, 3rem); }
  .page-download .page-hero .lead { font-size: 1.08rem; }
  .page-download .download-card { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 26px; padding: 22px 18px; border-radius: 22px; }
  .page-download .download-card h2 { font-size: 1.5rem; }
  .page-download .download-card p { font-size: 1rem; }
  .page-download .download-card .licence__meta { font-size: .85rem; overflow-wrap: anywhere; }
  .page-download .download-card .actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .page-download .download-card .btn { width: 100%; height: auto; min-height: 52px; padding: 12px 20px; white-space: normal; text-align: center; line-height: 1.25; }
  .page-download main > section { padding-block: 48px; }
  .page-download main > section.page-hero { padding-bottom: 36px; }
  .page-download .steps li { padding: 20px; border-radius: 20px; }
  .page-download .spec__row { padding: 14px 16px; border-radius: 16px; }
  .page-download .spec__row dd { overflow-wrap: anywhere; }
}
/* More contrast between the bands (James, 2026-10-13: the dark grey was too close to the black): a lighter slate grey,
   the black bands a touch darker, and the hero on the darker black too. */
.page-download main > section.page-hero { background-color: #080b0e; }
