/* /download: homepage feature-row layout. Overrides the old /download block in pages.css. */
.dl-page .page-hero{padding-bottom:140px}

/* Cards in this page size to their content instead of the homepage's fixed ratio. */
.dl-page .dl-card{aspect-ratio:auto;width:100%}

/* (1) Setup steps */
.dl-steps{display:flex;flex-direction:column;align-items:center;padding:48px 40px 36px}
.dl-panel{width:100%;max-width:440px;background:#fff;border-radius:18px;padding:18px 20px 6px;box-shadow:0 0 0 1px rgba(0,0,0,.05),0 14px 34px rgba(26,24,20,.08)}
.dl-panel-head{display:flex;align-items:center;gap:10px;padding:0 2px 14px;border-bottom:1px solid #eeede8;font-family:var(--body);font-size:15px;color:#1c1c1a}
.dl-panel-head img{display:block;width:20px;height:20px}
.dl-panel-head b{font-weight:600}
.dl-pill{margin-left:auto;font-size:12px;color:#4f8b43;background:#eef6ea;padding:4px 10px;border-radius:999px;white-space:nowrap}
.dl-step-list{list-style:none;margin:0;padding:0}
.dl-step-list li{display:grid;grid-template-columns:32px 1fr;gap:14px;align-items:start;padding:18px 2px;border-bottom:1px solid #f3f2ee}
.dl-step-list li:last-child{border-bottom:0}
.dl-step-n{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#f0f0ed;font-family:var(--head);font-size:15px;line-height:1;color:#1c1c1a}
.dl-step-list strong{display:block;font-family:var(--body);font-size:15px;font-weight:500;line-height:22px;color:#1c1c1a}
.story .dl-step-list p{font-family:var(--body);font-size:14px;line-height:21px;color:#808080;margin:3px 0 0}
.story .dl-foot{display:flex;align-items:center;gap:8px;margin:22px 0 0;font-family:var(--body);font-size:13px;color:#8a8a86}
.dl-foot svg{width:14px;height:14px;color:#4f8b43;flex:none}

/* (2) Demo video */
.dl-video{padding:12px 12px 0}
.dl-video .demo-video{border-radius:16px}
.story .dl-video-caption{font-family:var(--body);font-size:12px;line-height:18px;color:#8a8a86;text-align:center;padding:14px 12px 16px;margin:0}

/* (3) Platforms */
.dl-platforms{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px}
.dl-platform{display:flex;flex-direction:column;gap:6px;min-height:196px;padding:20px;border-radius:16px;background:#fff;color:#1c1c1a;box-shadow:0 0 0 1px rgba(0,0,0,.04),0 6px 18px rgba(26,24,20,.05);transition:transform .3s var(--ease),box-shadow .3s var(--ease)}
.dl-platform:hover{transform:translateY(-2px);box-shadow:0 0 0 1px rgba(0,0,0,.05),0 14px 30px rgba(26,24,20,.09)}
.dl-platform-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#f0f0ed;color:#1c1c1a}
.dl-icon svg{width:22px;height:22px}
.dl-status{font-family:var(--body);font-size:11px;padding:3px 9px;border-radius:999px;background:#f0f0ed;color:#8a8a86;white-space:nowrap}
.dl-live .dl-status{background:#eef6ea;color:#4f8b43}
.dl-power .dl-status{background:#fff3de;color:#c47a12}
.dl-platform strong{font-family:var(--head);font-weight:400;font-size:22px;line-height:1.15;letter-spacing:-.04em}
.dl-note{font-family:var(--body);font-size:13px;line-height:19px;color:#8a8a86}
.dl-cta{margin-top:auto;padding-top:14px;font-family:var(--body);font-size:13px;font-weight:500;color:#222}
.dl-live{background:#1b1b1a;color:#fff}
.dl-live .dl-icon{background:#2c2c2a;color:#fff}
.dl-live .dl-status{background:rgba(111,170,96,.18);color:#9fd08f}
.dl-live .dl-note{color:#a3a3a3}
.dl-live .dl-cta{color:#fff}
.story .feat-copy .dl-oss{font-size:15px;line-height:24px;color:#9a9a96}

/* Video row: the 16:9 demo reads better a little wider than the homepage cards. */
@media(min-width:881px){.dl-list #listen{padding-right:6%}.dl-list #listen .dl-video{flex:1.35;max-width:680px}}

/* Requirements */
.dl-facts-section{padding-top:104px;padding-bottom:24px}
.dl-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:960px;margin:0 auto}
.dl-facts>div{padding:28px;border-radius:24px;background:#f0f0ed}
.dl-facts dt{font-family:var(--body);font-size:12px;color:#999}
.dl-facts dd{margin:12px 0 0;font-family:var(--head);font-size:24px;line-height:1.2;letter-spacing:-.04em;color:#1c1c1a}
.story .dl-facts p{font-size:13px;line-height:20px;color:#888;margin-top:10px}
.dl-facts code{font-size:12px;color:#555}
.dl-page .story h2{font-family:var(--head);font-weight:400;letter-spacing:-.04em}

@media(max-width:1000px){.dl-platform{min-height:180px}}
@media(max-width:880px){.dl-page .dl-list{padding:0}.dl-facts{grid-template-columns:1fr}}
@media(max-width:720px){
  .dl-page .page-hero{padding-bottom:96px}
  .dl-page .feat-intro{padding:64px 0 40px}
  .dl-steps{padding:24px 14px 20px}
  .dl-panel{padding:14px 14px 4px;border-radius:16px}
  .dl-step-list li{grid-template-columns:28px 1fr;gap:12px;padding:14px 0}
  .dl-step-n{width:28px;height:28px;font-size:13px}
  .story .dl-step-list p{font-size:13px;line-height:20px}
  .dl-video{padding:8px 8px 0}
  .dl-video .demo-video{border-radius:12px}
  .dl-platforms{gap:10px;padding:10px}
  .dl-platform{min-height:0;padding:14px;border-radius:14px}
  .dl-cta{font-size:12px;padding-top:12px}
  .dl-status{font-size:10px;padding:3px 8px}
  .dl-platform-top{margin-bottom:8px}
  .dl-icon{width:34px;height:34px;border-radius:10px}
  .dl-icon svg{width:19px;height:19px}
  .dl-platform strong{font-size:19px}
  .dl-note{font-size:12px;line-height:17px}
  .dl-facts-section{padding-top:72px;padding-bottom:8px}
  .dl-facts>div{padding:22px;border-radius:18px}
  .dl-facts dd{font-size:20px}
}
@media(max-width:359px){.dl-platforms{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.dl-platform{transition:none}.dl-platform:hover{transform:none}}
