/* Extend the established AiType emerald, ink and paper identity. */
.download-hero { background: #f6f8f4; color: #102820; padding: 3.5rem 1.5rem; }
.download-shell { width: min(1120px, 100%); }
.download-shell .eyebrow { color: #047857; }
.download-shell h1 { max-width: 16ch; font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.download-shell h1 span { color: #047857; }
.download-lead { max-width: 44rem; color: #52625a; margin-bottom: 1.4rem; }
.device-recommendation { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem; background: #e7eee7; border-radius: 12px; }
.device-recommendation[hidden] { display: none; }
.device-recommendation p { margin: 0; }
.device-recommendation small { display: block; color: #52625a; margin-top: .2rem; }
.device-recommendation a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.2rem; background: #047857; color: #fff; border-radius: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.download-grid { gap: 0; border-top: 1px solid #cad8ce; border-bottom: 1px solid #cad8ce; }
.download-card { position: relative; min-height: 240px; padding: 1.5rem; border: 0; border-right: 1px solid #cad8ce; border-radius: 0; background: transparent; box-shadow: none; }
.download-card:last-child { border-right: 0; }
.download-card:hover, .download-card.is-recommended { background: #e7eee7; transform: none; }
.download-card strong { font-size: 1.3rem; }
.download-card span { color: #52625a; }
.download-card .device-kind { display: block; margin-bottom: .75rem; color: #047857; font-size: .72rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.download-card em { color: #047857; }
.download-note { color: #52625a; font-size: .875rem; }
.download-note a, .download-start a { color: #047857; text-decoration: underline; text-underline-offset: 3px; }
.download-start { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #cad8ce; }
.download-start h2 { font-size: 1.35rem; line-height: 1.3; letter-spacing: -.02em; }
.download-start ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 0; list-style-position: inside; }
.download-start li { color: #047857; font-weight: 700; }
.download-start li p { color: #52625a; font-size: .875rem; font-weight: 400; line-height: 1.6; margin-top: .35rem; }
.download-shell a:focus-visible { outline: 3px solid #047857; outline-offset: 4px; }
@media (max-width: 820px) {
  .download-card { min-height: 220px; }
  .download-card:nth-child(2) { border-right: 0; }
  .download-card:nth-child(-n+2) { border-bottom: 1px solid #cad8ce; }
  .download-start { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 560px) {
  .download-hero { padding: 2rem 1rem; }
  .download-shell h1 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .download-lead { font-size: 1rem; line-height: 1.6; }
  .device-recommendation { flex-direction: column; align-items: stretch; padding: 1rem; }
  .device-recommendation a { width: 100%; }
  .download-card { min-height: 180px; padding: 1.25rem .75rem; border-right: 0; border-bottom: 1px solid #cad8ce; }
  .download-card:last-child { border-bottom: 0; }
  .download-start { margin-top: 2rem; }
  .download-start ol { grid-template-columns: 1fr; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .download-card { transition: none; }
}
