:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111827;
  background: #f9fafb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #16a34a; outline-offset: 4px; }
.shell {
  width: min(1120px, 100%);
  min-height: 100vh;
  min-height: 100svh;
  padding: 18px 36px;
  margin: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
}
.header { display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; line-height: 0; }
.brand img { object-fit: contain; }
.header-label { border-left: 1px solid #d1d5db; padding-left: 20px; color: #6b7280; font-size: 14px; }
main { align-self: center; padding: 6px 0 16px; }
.intro { margin-bottom: 28px; }
.eyebrow { color: #15803d; font-size: 13px; font-weight: 600; margin: 0 0 10px; }
h1 { font-size: 36px; line-height: 1.16; letter-spacing: -.9px; font-weight: 650; margin: 0 0 14px; }
.lead { font-size: 15px; line-height: 1.55; color: #6b7280; margin: 0; }
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: white; border: 1px solid #e5e7eb; border-radius: 8px; }
.platform { padding: 20px; }
.platform:not(:nth-child(3n+1)) { border-left: 1px solid #e5e7eb; }
.platform:nth-child(n+4) { border-top: 1px solid #e5e7eb; }
.platform-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.platform-heading .system-icon { margin: 0; flex-shrink: 0; width: 28px; height: 28px; }
.platform-heading h2 { font-size: 16px; margin-bottom: 5px; }
.platform-heading .architecture { margin: 0; font-size: 11px; }
.system-icon { display: block; object-fit: contain; margin-bottom: 14px; }
h2 { font-size: 20px; font-weight: 600; line-height: 1.25; margin: 0 0 6px; }
.architecture { font-size: 13px; color: #6b7280; margin: 0 0 22px; }
.download, .diagnostic-download { text-decoration: none; display: flex; justify-content: center; align-items: center; min-height: 42px; padding: 10px 14px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.download { background: #16a34a; color: white; }
.download:hover { background: #15803d; }
.format-note { margin: 12px 0 0; color: #6b7280; line-height: 1.5; font-size: 11px; }
.linux-downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.alternative { color: #15803d; display: inline-block; margin-top: 8px; font-size: 12px; text-underline-offset: 3px; }
.diagnostic { margin-top: 16px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-left: 3px solid #16a34a; background: #f0fdf4; border-radius: 6px; }
.diagnostic h2 { font-size: 15px; margin-bottom: 5px; }
.diagnostic p { font-size: 12px; line-height: 1.5; color: #4b5563; margin: 0; }
.diagnostic-download { white-space: nowrap; border: 1px solid #bbf7d0; color: #166534; background: white; font-size: 13px; gap: 12px; }
.diagnostic-download:hover { border-color: #16a34a; background: #dcfce7; }
.requirements { font-size: 12px; line-height: 1.65; color: #6b7280; margin: 16px 0 0; }
.release-note { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 16px; color: #15803d; font-size: 12px; line-height: 1.5; }
.release-note .alternative { margin: 0; white-space: nowrap; }
.footer { border-top: 1px solid #e5e7eb; padding-top: 14px; display: flex; justify-content: space-between; gap: 16px; color: #6b7280; font-size: 11px; line-height: 1.5; }
.footer div { display: flex; gap: 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #15803d; text-decoration: underline; }
@media (max-height: 760px) and (min-width: 761px) {
  .shell { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .intro { margin-bottom: 20px; }
  h1 { font-size: 32px; }
  .platform { padding: 20px; }
  .diagnostic { padding-top: 12px; padding-bottom: 12px; }
}
@media (max-width: 760px) {
  .shell { padding: 16px 22px; gap: 16px; }
  .header { gap: 12px; }
  .header-label { padding-left: 12px; font-size: 12px; }
  .brand img { width: 125px; height: 48px; }
  main { padding-top: 12px; }
  h1 { font-size: 29px; }
  .desktop-break { display: none; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .platform { padding: 16px; display: block; }
  .system-icon { grid-row: 1 / 3; width: 30px; height: 30px; margin: 2px 0 0; }
  .platform h2 { font-size: 18px; }
  .architecture { margin-bottom: 14px; }
  .platform > .download, .linux-downloads, .format-note, .alternative { grid-column: 1 / -1; }
  .platform:not(:nth-child(3n+1)) { border-left: 0; }
  .platform:nth-child(even) { border-left: 1px solid #e5e7eb; }
  .platform:nth-child(n+3) { border-top: 1px solid #e5e7eb; }
  .diagnostic { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .footer { flex-direction: column; gap: 8px; }
  .release-note { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-height: 660px) and (min-width: 761px) {
  .shell { padding-top: 8px; padding-bottom: 8px; gap: 8px; }
  .brand img { height: 48px; width: 124px; }
  main { padding: 2px 0 8px; }
  .intro { margin-bottom: 16px; }
  .eyebrow { font-size: 12px; margin-bottom: 6px; }
  h1 { font-size: 28px; margin-bottom: 10px; }
  .lead { font-size: 14px; line-height: 1.5; }
  .platform { padding: 16px; }
  .system-icon { width: 28px; height: 28px; margin-bottom: 10px; }
  .platform h2 { font-size: 18px; }
  .architecture { margin-bottom: 12px; }
  .download, .diagnostic-download { min-height: 38px; padding-top: 8px; padding-bottom: 8px; font-size: 13px; }
  .format-note { font-size: 10px; margin-top: 8px; }
  .diagnostic { margin-top: 12px; }
  .requirements { margin-top: 12px; line-height: 1.5; }
  .footer { padding-top: 10px; }
}
@media (max-width: 500px) {
  .platforms { grid-template-columns: 1fr; }
  .platform:nth-child(even) { border-left: 0; }
  .platform + .platform { border-top: 1px solid #e5e7eb; }
}
