:root {
  --blue: #1043c2;
  --ink: #101010;
  --focus: #9ab9ff;
  font-family: Arial,Helvetica,sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  cursor: pointer;
}

button,a,summary {
  touch-action: manipulation;
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

button {
  border: 0;
  background: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only,.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: absolute;
  z-index: 5;
  background: #fff;
  padding: 12px;
}

.header {
  height: 72px;
  padding: 0 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #fff;
}

.brand {
  flex: 0 0 40px;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.header nav {
  display: flex;
  gap: 55px;
  align-items: center;
  margin-left: 115px;
}

.header nav a,.header nav button {
  text-decoration: none;
  font-size: 12px;
  padding: 12px 0;
  color: #111;
  white-space: nowrap;
}

.header nav a:hover,.header nav button:hover {
  color: var(--blue);
}

.account-actions {
  display: flex;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  min-width: 90px;
  border-radius: 3px;
  font-size: 12px;
}

.button-outline {
  border: 1px solid #555;
}

.button-outline:hover {
  background: #f4f6fc;
}

.button-blue {
  background: var(--blue);
  color: white;
}

.button-blue:hover {
  background: #0c3395;
}

.announcements {
  background: var(--blue);
  color: #fff;
  min-height: 158px;
  padding: 34px 24px;
}

.announcements-inner {
  max-width: 575px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 44px;
}

.announcement {
  position: relative;
}

.announcement h2 {
  font-size: 11px;
  line-height: 1.4;
  margin: 0 0 3px;
  font-weight: 700;
}

.announcement h2:before {
  content: "";
  position: absolute;
  left: -15px;
  top: 3px;
  width: 9px;
  height: 9px;
  background: url("assets/caret-right-fill.svg") center/contain no-repeat;
  filter: invert(1);
}

.announcement p {
  font-size: 10px;
  line-height: 1.3;
  margin: 0;
  min-height: 39px;
}

.news-link {
  display: inline-block;
  border: 1px solid #a6bcfa;
  padding: 4px 5px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 10px;
  margin-top: 7px;
}

.news-link:hover {
  background: #fff;
  color: var(--blue);
}

.hero {
  min-height: 396px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 24px 66px;
  background: linear-gradient(180deg,#080509 0%,#211525 48%,#5b3a64 100%);
  color: white;
  text-align: center;
}

.wordmark {
  width: min(480px,100%);
  margin: 0 0 29px;
  line-height: 0;
}

.wordmark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 24px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}

.download-button:hover {
  background: #151015;
  box-shadow: 0 0 0 1px #9f6baf;
}

.download-button img {
  filter: invert(1);
}

.beta-note {
  font-size: 10px;
  line-height: 1.25;
  color: #eee;
  margin: 20px 0 0;
}

.beta-note>span {
  margin-right: 8px;
}

.download-status {
  font-size: 11px;
  margin: 10px 0 -24px;
  min-height: 14px;
  color: #fff;
}

.release-notes {
  max-width: 710px;
  margin: 0 auto;
  padding: 60px 0 70px;
}

.release {
  margin-bottom: 28px;
}

.release summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.release summary::-webkit-details-marker {
  display: none;
}

.release summary:before {
  content: "";
  width: 7px;
  height: 9px;
  background: url("assets/caret-right-fill.svg") center/contain no-repeat;
  flex: none;
}

.release h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 0;
  font-weight: 700;
}

.release-content {
  padding-left: 17px;
}

.release h3 {
  font-size: 11px;
  line-height: 1.5;
  margin: 7px 0 16px;
  font-weight: 700;
}

.release h3:not(:first-child) {
  margin-top: 24px;
}

.release ul {
  padding: 0;
  list-style: none;
  margin: 0;
  font-size: 10px;
  line-height: 1.65;
}

.release li:before {
  content: "- ";
}

.release:not([open]) {
  padding-top: 12px;
  border-top: 1px solid #e8e8e8;
}

.changelog-source {
  display: inline-block;
  font-size: 12px;
  color: var(--blue);
  margin-left: 17px;
  text-underline-offset: 3px;
}

dialog {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 28px;
  max-width: 470px;
  width: calc(100% - 40px);
  color: #111;
}

dialog::backdrop {
  background: #0008;
}

.dialog-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.dialog-top h2 {
  font-size: 23px;
  margin: 0;
}

.close-dialog {
  font-size: 12px;
  color: var(--blue);
  padding: 5px;
}

#dialog-content {
  font-size: 14px;
  line-height: 1.65;
}

#dialog-content a {
  color: var(--blue);
}

@media (min-width: 1600px) {

  .header {
    padding-inline: max(55px,calc((100vw - 1440px)/2));
  }
}

@media (max-width: 1100px) {

  .header {
    padding-inline: 30px;
  }

  .header nav {
    gap: 30px;
    margin-left: 20px;
  }

  .release-notes {
    padding-inline: 25px;
  }
}

@media (max-width: 700px) {

  .header {
    height: auto;
    min-height: 100px;
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 14px;
  }

  .brand {
    flex-basis: 34px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .account-actions {
    margin-left: auto;
  }

  .header nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 12px;
  }

  .header nav a,.header nav button {
    font-size: 12px;
    padding: 5px 0;
  }

  .button {
    min-width: 72px;
    height: 32px;
  }

  .announcements {
    padding: 30px 35px;
  }

  .announcements-inner {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .announcement h2 {
    font-size: 12px;
  }

  .announcement p {
    font-size: 11px;
    min-height: 0;
    line-height: 1.5;
  }

  .news-link {
    font-size: 11px;
  }

  .desktop-break {
    display: none;
  }

  .hero {
    min-height: 330px;
    padding: 55px 20px;
  }

  .wordmark {
    width: min(280px,100%);
    margin-bottom: 28px;
  }

  .download-button {
    font-size: 10px;
    padding-inline: 15px;
    gap: 8px;
  }

  .beta-note {
    max-width: 310px;
    font-size: 10px;
    line-height: 1.5;
  }

  .release-notes {
    padding: 38px 24px 50px;
  }

  .release h2 {
    font-size: 27px;
  }

  .release h3 {
    font-size: 12px;
  }

  .release ul {
    font-size: 12px;
    line-height: 1.65;
  }

  .release li {
    margin-bottom: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }
}
