/* The download (site/tools/public_switch.py, public_on/download.js): the one line under every Download button, and
   /download itself: what a press lands on. Three heads, one shown: direct (no script, a search, a shared link),
   started (a press brought them here), away (a phone, or a Mac while its app isn't out: no Windows file for them). */
.dl-line { margin: 12px 0 0; font-size: 13px; color: var(--faint); }
.final .dl-line { text-align: center; font-size: 13px; }   /* (the last section's own text is larger: the line stays the line) */
.dl-line a { color: var(--muted); }
nav.top a[data-dl] { font-weight: 700; }
/* (the School's header is one row: on a phone the link would wrap its neighbour onto two lines, and a phone gets
   no Windows file anyway; Home's header keeps its button at every width) */
@media (max-width: 480px) { nav.top a[data-dl] { display: none; } }

.dgot { max-width: 1120px; padding-top: 44px; padding-bottom: 28px; }
.dgot h1, .dgot .dh1 { font-size: 40px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.12; margin: 0 0 10px; color: var(--text); }
.dgot .dlead { margin: 0; max-width: 760px; color: var(--muted); font-size: 16px; }
.dgot .dlead a, .dgot .dknow a, .dgot .dmore a, .dgot .dsteps a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.st-started, .st-away { display: none; }
html[data-dl="started"] .st-started, html[data-dl="phone"] .st-away, html[data-dl="mac"] body:not(.has-mac) .st-away { display: block; }
html[data-dl="started"] .st-direct, html[data-dl="phone"] .st-direct, html[data-dl="mac"] body:not(.has-mac) .st-direct { display: none; }

.dsteps { margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: dstep; }
.dsteps > div { counter-increment: dstep; background: var(--night2); border: 1px solid var(--nl); border-radius: 14px; padding: 18px 18px 16px; }
.dsteps > div::before { content: counter(dstep); display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: var(--night); font-weight: 800; font-size: 14px; }
.dsteps h2 { font-size: 18px; margin: 12px 0 6px; }
.dsteps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.dsteps details { margin-top: 10px; font-size: 14px; color: var(--muted); }
.dsteps details p { font-size: 14px; margin-top: 6px; }
.dsteps summary, .dmore summary { cursor: pointer; color: var(--text); font-weight: 600; }

.dknow { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; }
.dknow h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 0 0 6px; font-weight: 700; }
.dknow p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
/* (one row at every width: the site's form stacks under 900 px, which here made two full-width bars for one small ask) */
.dknow .signup { margin-top: 10px; max-width: 360px; flex-direction: row; }
.dknow .signup input { flex: 1; min-width: 0; height: 44px; }
.dknow .signup .btn { width: auto; min-height: 44px; padding: 10px 16px; font-size: 14px; white-space: nowrap; }
.dknow .sent { max-width: 360px; }

.dmore { margin-top: 26px; border-top: 1px solid var(--nl); padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14.5px; color: var(--muted); }
.dmore details { min-width: 0; }
.dmore details[open] { flex-basis: 100%; }
.dmore p { margin: 6px 0 0; max-width: 760px; }
.dmore .sha { font-family: ui-monospace, Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; word-break: break-all; }
.dmore h2 { font-size: 15px; margin: 14px 0 0; color: var(--text); }

@media (max-width: 900px) {
  .dsteps, .dknow { grid-template-columns: 1fr; }
  .dgot { padding-top: 30px; }
  .dgot h1, .dgot .dh1 { font-size: 32px; letter-spacing: -.8px; }
}
