/* MARTENSIA · download.css — the download page, plain and shaped by ?get= (English and Spanish) */

/* ── After a download starts ── */
.dlx { max-width: 1100px; margin: 0 auto; padding: 112px 44px 24px; }
body[data-get="datum"] [data-for="recon"], body[data-get="recon"] [data-for="datum"] { display: none !important; }
body[data-get="datum"] { --accent: var(--datum); --accent-deep: var(--datum-deep); }
body[data-get="datum"] .ink { color: var(--datum-deep); }
.dlx-strip { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: 40px; counter-reset: s; }
.dlx-strip li { position: relative; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--fg2); padding-right: 12px; }
.dlx-strip li + li::before { content: ''; position: absolute; right: calc(100% + 0px); top: 50%; width: 0; }
.dlx-strip li:not(:last-child)::after { content: ''; flex: 1; height: 1px; background: var(--border-med); min-width: 16px; }
.dlx-n { width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--border-med); font-family: var(--mono); font-size: 13px; color: var(--fg); background: var(--bg-1); }
.dlx-strip li.is-on { color: var(--fg); font-weight: 600; }
.dlx-strip li.is-on .dlx-n { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--on-deep); }
.dlx-h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
.dlx-sub { margin-top: 14px; font-family: var(--mono); font-size: 13px; color: var(--fg2); }
.dlx-sub a { color: var(--fg); }
.dlx-grid { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
.dlx-panel { border: 1px solid var(--border-med); border-radius: 14px; padding: 22px 24px; background: var(--bg-1); min-width: 0; }
.dlx-panel h2 { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.dlx-panel > p { font-size: 14.5px; line-height: 1.6; color: var(--fg2); }
.dlx-panel > p b { color: var(--fg); }
.dlx-note { margin-top: 14px; }
.dlx-cards { display: grid; gap: 8px; margin-top: 8px; }
.dlx-card { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--border-med); border-radius: 10px; text-decoration: none; color: var(--fg); background: var(--bg); min-height: 44px; }
.dlx-card:hover { border-color: var(--fg3); }
.dlx-card b { font-size: 15px; font-weight: 600; }
.dlx-card span:last-child { font-size: 13.5px; color: var(--fg2); }
.dlx-over { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg3); }
.dlx-other { margin-top: 18px; font-size: 15px; color: var(--fg2); }
.dlx-other a { color: var(--fg); }


/* ── The plain page ── */
.dl-pick { max-width: 1100px; margin: 0 auto; padding: 0 44px 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dl-prod { --prod: var(--recon); border: 1px solid var(--border-med); border-radius: 14px; padding: 28px; background: var(--bg-1); display: flex; flex-direction: column; gap: 14px; min-width: 0; border-top: 3px solid var(--prod); }
.dl-prod--datum { --prod: var(--datum); }
.dl-prod__name { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.dl-prod__name i { width: 10px; height: 10px; border-radius: 50%; background: var(--prod); }
.dl-prod__line { color: var(--fg); font-size: 15.5px; line-height: 1.5; }
.dl-prod__note { color: var(--fg2); font-size: 14px; line-height: 1.6; }
.dl-prod__links { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: 14px; }
.dl-prod__links a { color: var(--fg2); display: inline-flex; align-items: center; min-height: 44px; }
.dl-prod .btn-hero { align-self: flex-start; }
.dl-next { max-width: 1100px; margin: 0 auto; padding: 56px 44px 20px; }
.dl-steps { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 28px; margin-top: 32px; border-top: 2px solid var(--fg); padding-top: 26px; }
.dl-step h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin: 6px 0 8px; }
.dl-step p { color: var(--fg2); font-size: 14.5px; line-height: 1.65; }
.dl-step p b { color: var(--fg); font-weight: 600; }
.dl-samples { margin-top: 12px; display: grid; gap: 10px; font-size: 14px; }
.dl-samples span { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg3); margin-bottom: 0; }
.dl-samples a { color: var(--fg); display: inline-flex; align-items: center; min-height: 44px; }

/* what Windows shows: an illustration, in Windows' own colours whatever the theme */
.ss { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ss__win { position: relative; background: #1d5aa6; color: #fff; border-radius: 4px; padding: 14px 14px 12px; font-family: "Segoe UI", system-ui, sans-serif; font-size: 12px; line-height: 1.45; min-width: 0; }
.ss__win b { display: block; font-size: 15px; font-weight: 400; margin-bottom: 6px; }
.ss__win p { color: #fff; font-size: 12px; margin: 0 0 10px; overflow-wrap: anywhere; }
.ss__row { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.ss__link { margin-right: auto; text-decoration: underline; }
.ss__btn { border: 1px solid #fff; padding: 3px 10px; }
.is-hit { outline: 2px solid #ffd54a; outline-offset: 3px; border-radius: 2px; }
.ss__n { position: absolute; top: -9px; left: -9px; width: 20px; height: 20px; border-radius: 50%; background: #ffd54a; color: #1a1a1a; font: 700 12px/20px var(--mono); text-align: center; }
.ss__label { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg3); }

.dl-verify { max-width: 1100px; margin: 0 auto; padding: 24px 44px 10px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
.dl-verify details { border: 1px solid var(--border-med); border-radius: 14px; padding: 20px 24px; }
.dl-verify summary { cursor: pointer; font-weight: 600; font-size: 15px; min-height: 32px; }
.dl-card { border: 1px solid var(--border-med); border-radius: 14px; padding: 24px; background: var(--bg-1); min-width: 0; }
.dl-card h2 { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 8px; }
.dl-card .sub { color: var(--fg2); font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.dl-sum { margin-top: 18px; }
.dl-sum-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg3); margin-bottom: 8px; overflow-wrap: anywhere; }
.dl-sum-row { display: flex; align-items: center; gap: 10px; background: var(--hover); border-radius: 8px; padding: 10px 12px; min-width: 0; }
.dl-sum-row code { background: none; padding: 0; font-size: 12px; flex: 1; min-width: 0; overflow-wrap: anywhere; word-break: break-all; line-height: 1.5; }
.dl-copy { font-family: var(--mono); font-size: 12px; background: var(--bg-1); border: 1px solid var(--control-line); border-radius: 6px; padding: 5px 10px; cursor: pointer; color: var(--fg); min-height: 32px; }
.dl-copy:hover { border-color: var(--fg3); }
.req { list-style: none; display: flex; flex-direction: column; }
.req li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--fg2); }
.req li:last-child { border-bottom: none; }
.req li b { font-family: var(--mono); font-size: 12.5px; color: var(--fg); font-weight: 500; text-align: right; }
.dl-faq { max-width: 820px; margin: 0 auto; padding: 40px 44px 90px; }

@media (max-width: 900px) {
  .dlx, .dl-pick, .dl-next, .dl-verify, .dl-faq { padding-left: 16px; padding-right: 16px; }
  .dlx { padding-top: 88px; }
  .dl-pick, .dl-verify, .dl-steps, .ss, .dlx-grid { grid-template-columns: 1fr; }
  /* the strip becomes four numbered rows */
  .dlx-strip { grid-template-columns: 1fr; gap: 6px; margin-bottom: 24px; }
  .dlx-strip li:not(:last-child)::after { display: none; }
}

/* Coming soon (before the apps can be downloaded): where the download button will be, not a button */
.btn-hero.is-soon { cursor: default; opacity: 0.55; pointer-events: none; }
/* in identity C: a quiet edged label, as brand.css draws a secondary button, without the hatched cut */
html[data-brand="next"] .dl-prod .btn-hero.is-soon { background: transparent !important; color: var(--c-fg2) !important; box-shadow: inset 0 0 0 1px var(--c-line); border-radius: 7px; padding-right: 20px; opacity: 1; }
html[data-brand="next"] .dl-prod .btn-hero.is-soon::after { content: none; }
