/*
 * New Old World presentation layers
 *
 * 1. The rules before @supports are a conservative, linear presentation.
 * 2. The @supports block adds the modern responsive layout.
 *
 * The document remains complete when this entire file is ignored.
 */

html {
  color: #1e1e20;
  background: #ffffff;
  font-family: Helvetica, Arial, sans-serif;
}

body {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  color: #1e1e20;
  background: #ffffff;
}

a {
  color: #203f87;
}

a:visited {
  color: #563d7c;
}

a:focus {
  outline: 3px solid #1b6fd1;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 8px 12px;
  color: #ffffff;
  background: #1e1e20;
  font-weight: bold;
}

.skip-link:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header,
.site-footer,
.site-main,
.identity,
.copy {
  display: block;
}

.site-header {
  padding: 20px 0;
}

.classic-status {
  clear: both;
  margin: 18px 0 0;
  min-height: 32px;
  padding: 10px 12px;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #77777b;
  border-bottom: 1px solid #77777b;
  color: #222225;
  background: #dedede;
  font-family: Geneva, Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
}

.classic-status img {
  float: left;
  margin: 0 10px 0 0;
}

.classic-status p {
  margin: 0;
}

.wordmark {
  color: #1e1e20;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
}

.wordmark:visited {
  color: #1e1e20;
}

.wordmark img {
  margin-right: 8px;
  vertical-align: middle;
}

.soon,
.kicker,
.platforms,
.site-footer {
  font-family: Monaco, "Courier New", monospace;
}

.soon {
  margin-left: 16px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.header-links {
  float: right;
  margin-top: 14px;
  font-size: 12px;
}

.header-links a + a {
  margin-left: 16px;
}

.classic-rule {
  clear: both;
  height: 1px;
  margin: 0;
  border: 0;
  color: #d7d7d7;
  background: #d7d7d7;
}

.site-main {
  padding: 48px 0;
}

.site-main:focus {
  outline: none;
}

.identity {
  margin-bottom: 32px;
}

.logo {
  display: block;
  width: 64px;
  max-width: 100%;
  height: auto;
}

.copy {
  max-width: 600px;
}

.kicker {
  margin: 0 0 16px;
  color: #5f5f63;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1;
}

.blurb {
  max-width: 560px;
  margin: 26px 0 0;
  color: #444448;
  font-size: 18px;
  line-height: 1.55;
}

.features-heading {
  margin: 32px 0 10px;
  font-size: 16px;
}

.features {
  margin: 0;
  padding-left: 24px;
}

.features li {
  margin: 6px 0;
  font-size: 14px;
  font-weight: bold;
}

.platforms {
  margin: 24px 0 0;
  color: #66666b;
  font-size: 11px;
  line-height: 1.5;
}

.download-main {
  max-width: 760px;
}

.release-date {
  margin: 18px 0 0;
  color: #5f5f63;
  font-size: 13px;
}

.download-card,
.provenance {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #d7d7d7;
}

.download-card h2,
.provenance h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.download-action {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: bold;
}

.download-meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.download-meta dt {
  margin-top: 10px;
  font-weight: bold;
}

.download-meta dd {
  margin-left: 0;
}

.checksum {
  overflow-wrap: anywhere;
  word-break: break-all;
  font-family: Monaco, "Courier New", monospace;
  font-size: 11px;
}

.release-source,
.security-note {
  font-size: 13px;
  line-height: 1.5;
}

.security-note {
  margin-top: 18px;
  padding: 12px;
  border-left: 3px solid #77777b;
  background: #f3f3f3;
}

.site-footer {
  clear: both;
  padding: 26px 0;
  color: #66666b;
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 1.6;
  text-transform: uppercase;
}

.site-footer span {
  display: block;
}

/*
 * Cosmetic treatment for positively matched classic Macintosh browsers.
 * Detection never changes content, links, downloads, or transport behavior.
 */
.classic-mac {
  max-width: 760px;
  padding: 0 16px;
  font-family: Geneva, Helvetica, Arial, sans-serif;
}

.classic-mac .site-header {
  margin: 0 -12px;
  padding: 10px 12px;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #77777b;
  border-bottom: 1px solid #77777b;
  background: #dedede;
}

.classic-mac .classic-status {
  margin-top: 14px;
}

.classic-mac .site-main {
  padding: 24px 0 36px;
}

.classic-mac .identity {
  margin: 0 0 16px;
}

.classic-mac .copy {
  margin-left: 0;
}

.classic-mac .logo {
  width: 64px;
}

.classic-mac h1 {
  font-size: 30px;
  line-height: 1.1;
}

.classic-mac .blurb {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.45;
}

.classic-mac .features-heading {
  margin-top: 24px;
}

.classic-mac .features li {
  margin: 4px 0;
  font-size: 12px;
}

.classic-mac .platforms {
  margin-top: 18px;
}

/* Modern enhancement layer. Older CSS engines ignore this whole block. */
@supports (display: grid) {
  * {
    box-sizing: border-box;
  }

  :root {
    color-scheme: light;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-synthesis: none;
  }

  body {
    width: min(100% - 48px, 1040px);
    min-height: 100vh;
    padding: 0;
  }

  .site-header,
  .site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-links {
    float: none;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 0;
  }

  .header-links a + a {
    margin-left: 0;
  }

  .soon {
    margin-left: 0;
  }

  .site-header {
    min-height: 84px;
    padding: 0;
    border-bottom: 1px solid #e5e5e5;
  }

  .wordmark {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    letter-spacing: -0.02em;
  }

  .wordmark img {
    width: 42px;
    height: 42px;
    margin-right: 0;
    object-fit: contain;
  }

  .soon {
    float: none;
    margin-top: 0;
    letter-spacing: 0.09em;
  }

  .classic-rule {
    display: none;
  }

  .site-main {
    min-height: calc(100vh - 166px);
    display: grid;
    grid-template-columns: minmax(220px, 340px) minmax(0, 600px);
    gap: clamp(48px, 8vw, 104px);
    align-items: center;
    padding: 64px 0;
  }

  .download-page .site-main {
    display: block;
    width: min(100%, 760px);
    min-height: calc(100vh - 166px);
    margin: 0 auto;
    padding: 64px 0;
  }

  .download-page h1 {
    margin-top: 12px;
  }

  .identity {
    margin-bottom: 0;
  }

  .logo {
    width: min(100%, 300px);
    margin: 0 auto;
  }

  h1 {
    font-size: clamp(48px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.06em;
  }

  .blurb {
    letter-spacing: -0.01em;
  }

  .features-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 28px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid #e5e5e5;
    list-style: none;
  }

  .features li {
    margin: 0;
  }

  .features li:not(:last-child) {
    padding-right: 18px;
    border-right: 1px solid #b8b8b8;
  }

  .site-footer {
    min-height: 82px;
    padding: 0;
    border-top: 1px solid #e5e5e5;
  }

  .site-footer span {
    display: inline;
  }

  @media (max-width: 720px) {
    body {
      width: min(100% - 30px, 1040px);
    }

    .site-header {
      min-height: 72px;
    }

    .wordmark img {
      width: 36px;
      height: 36px;
    }

    .site-main {
      grid-template-columns: 1fr;
      gap: 30px;
      padding: 54px 0 64px;
    }

    .logo {
      width: 190px;
      margin: 0;
    }

    h1 {
      font-size: clamp(48px, 14vw, 68px);
    }

    .blurb {
      font-size: 17px;
    }

    .features li:not(:last-child) {
      padding-right: 0;
      border-right: 0;
    }

    .site-footer {
      align-items: flex-start;
      flex-direction: column;
      justify-content: center;
      gap: 6px;
    }
  }
}
