:root {
  font-family: Jost, Arial, sans-serif;
  font-synthesis: none;
  color-scheme: light;
  --orange: #ff5f34;
  --purple: #7157ad;
  --text: #242338;
  --muted: #66697d;
  --line: rgba(71, 75, 112, 0.15);
  color: var(--text);
  background: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 0% 8%, #eee8ff66, transparent 38%),
    radial-gradient(ellipse at 100% 28%, #e9f6ff66, transparent 43%), #fff;
  min-height: 100vh;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  box-shadow: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: not-allowed;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}
button:hover:not(:disabled),
a:hover {
  filter: brightness(0.94);
}
[hidden] {
  display: none !important;
}
.site {
  max-width: 1296px;
  padding: 22px 48px 0;
  margin: auto;
}
.nav {
  max-width: 1152px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 26px;
  border: 1px solid #ececf3;
  border-radius: 80px;
  background: #ffffffef;
}
.nav > a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.nav img,
footer img {
  display: block;
  object-fit: contain;
  filter: brightness(0);
}
.nav nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: #686779;
}
.nav nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.download-page-heading {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: 48px 0 35px;
}
.download-page-heading:before {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(520px, 85%);
  height: 190px;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, #e9e1ff70, transparent 65%);
  pointer-events: none;
}
.download-heading-label {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #7d7396;
  margin-bottom: 15px;
}
.download-page-heading h1 {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0;
}
.download-page-heading h1 span {
  background: linear-gradient(110deg, #766299 5%, #7297b8 95%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.heading-accent {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 23px;
}
.heading-accent span {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c5b9e3);
}
.heading-accent span:last-child {
  transform: rotate(180deg);
  background: linear-gradient(90deg, transparent, #afcce3);
}
.heading-accent i {
  width: 6px;
  height: 6px;
  border: 1px solid #a399bf;
  transform: rotate(45deg);
}
.app-section {
  padding-top: 12px;
}
.app-info {
  margin-bottom: 34px;
}
.app-identity {
  display: flex;
  align-items: center;
  gap: 17px;
}
.app-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #080808;
  overflow: hidden;
}
.app-icon img {
  display: block;
  width: 56px;
  height: auto;
  object-fit: contain;
}
.app-icon.is-final {
  background: transparent;
}
.app-icon.is-final img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.23em;
  color: var(--purple);
  margin: 0 0 18px;
}
.app-identity .eyebrow {
  font-size: 9px;
  margin-bottom: 7px;
  letter-spacing: 0.19em;
}
.app-identity h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0;
  overflow-wrap: anywhere;
}
.app-description {
  max-width: 770px;
  font-size: 16px;
  line-height: 1.75;
  color: #56586e;
  margin-top: 22px;
}
.app-description p {
  margin: 0 0 15px;
}
.compatibility {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #72758a;
}
.compatibility svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: #82769c;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.download-cards {
  display: grid;
  gap: 24px;
}
.download-dock {
  padding: 30px;
  border: 1px solid #e4e5ef;
  border-radius: 24px;
  background: linear-gradient(120deg, #fff 45%, #fdfcff 78%, #f9fcff);
}
.desktop-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}
.desktop-card.has-preview {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.desktop-content {
  min-width: 0;
}
.platform-group-label {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #2a2940;
  margin: 0 0 24px;
}
.app-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 0;
  padding: 24px 0;
  margin: 0 0 28px;
  border-block: 1px solid var(--line);
}
.app-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 13px;
  padding: 0 10px;
  min-width: 0;
}
.app-features svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  fill: none;
  stroke: #7b66b6;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-features strong {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #48445f;
  overflow-wrap: anywhere;
}
.platform-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.platform-item {
  text-align: center;
  min-width: 0;
}
.platform-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 55px;
  padding: 10px 12px;
  border: 1px solid #191919;
  border-radius: 999px;
  background: #fff;
  color: #191919;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: none;
  transition:
    background 0.15s,
    transform 0.15s;
}
.platform-button svg {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.platform-button .windows-mark,
.platform-button .apple-mark {
  fill: currentColor;
  stroke: none;
}
.platform-button.is-available[data-platform='windows'] svg {
  color: #0078d4;
}
.platform-button.is-available[data-platform='mac'] svg {
  color: #6d54aa;
}
.platform-button.is-available[data-platform='ios'] svg {
  color: #367bf5;
}
.platform-button.is-available[data-platform='android'] svg {
  color: #278343;
}
.platform-button.is-available:hover {
  background: #f5f5f5;
  filter: none;
}
.platform-button.is-available:active {
  transform: translateY(1px);
  background: #eaeaea;
}
.platform-button:focus-visible {
  outline: 3px solid #b5d8ff;
  outline-offset: 4px;
}
.platform-button:disabled {
  background: #f6f6f6;
  border-color: #ddd;
  color: #999;
  cursor: not-allowed;
  opacity: 1;
}
.platform-button:disabled svg {
  color: #aaa;
}
.button-status {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  color: inherit;
  border-left: 1px solid #ccc;
  padding-left: 12px;
  overflow-wrap: anywhere;
}
.download-arrow {
  position: relative;
  flex: 0 0 18px;
  height: 18px;
  margin-left: 2px;
  font-size: 0;
}
.download-arrow::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 8px;
  width: 1px;
  height: 13px;
  background: currentColor;
}
.download-arrow::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 5px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
.platform-name {
  flex-shrink: 0;
}
.release-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 8px;
  padding: 8px 12px;
  background: none;
  border: 0;
  color: #715a9f;
  font-size: 12px;
}
.info-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
}
.info-dot {
  fill: currentColor;
  stroke: none;
}
.platform-details {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  text-align: left;
  overflow-wrap: anywhere;
}
.alternative {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  font-size: 13px;
}
.desktop-preview {
  position: relative;
  min-width: 0;
  min-height: 300px;
  overflow: hidden;
  border: 1px dashed #c9c7e1;
  border-radius: 18px;
  background: linear-gradient(140deg, #f7f4ff99, #f2faff99);
}
.desktop-placeholder {
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 28px;
  color: #60577d;
}
.desktop-placeholder svg {
  width: 64px;
  height: 48px;
  fill: none;
  stroke: #8b7abc;
  stroke-width: 1.4;
  margin-bottom: 8px;
}
.desktop-placeholder span {
  font-size: 17px;
}
.desktop-placeholder small {
  font-size: 12px;
  color: #76758a;
}
.preview-image {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
}
.mobile-card {
  background: linear-gradient(110deg, #fff 65%, #fbfdff);
  border-color: #e4e8ef;
}
.help {
  margin: 46px auto 0;
  padding: 31px 0 35px;
  border-block: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 40px;
}
.help > div {
  margin-right: auto;
}
.help .eyebrow {
  font-size: 9px;
  margin-bottom: 10px;
}
.help h2 {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
}
.help > a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  font-size: 13px;
  color: #58566d;
}
.help > a span {
  color: var(--purple);
}
footer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0 32px;
  font-size: 11px;
  color: #76758a;
}
footer > div {
  margin-left: auto;
  display: flex;
  gap: 22px;
}
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
dialog {
  width: min(480px, calc(100% - 32px));
  max-height: 85dvh;
  overflow: auto;
  padding: 30px;
  border: 1px solid #d7d5e9;
  border-radius: 24px;
  background: linear-gradient(145deg, #fff 65%, #faf7ff, #f7fcff);
  color: #29263d;
  box-shadow: 0 24px 80px #34355224;
}
dialog::backdrop {
  background: #30395140;
  backdrop-filter: blur(7px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-top p {
  margin: 0;
}
.dialog-top button {
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: 0;
  font-size: 26px;
  margin-right: -12px;
}
dialog h2 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  margin: 20px 0;
}
dialog p {
  font-size: 15px;
  line-height: 1.7;
  color: #656179;
  overflow-wrap: anywhere;
}
.dialog-done {
  margin-top: 20px;
  border: 0;
  border-radius: 30px;
  min-height: 44px;
  padding: 9px 26px;
  background: var(--orange);
  color: #fff;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  transform: translateY(-160%);
  background: white;
  border: 1px solid var(--purple);
  border-radius: 8px;
}
.skip-link:focus {
  transform: translateY(0);
}
.loading {
  padding: 32px;
  text-align: center;
  line-height: 1.8;
}
.loading a {
  text-decoration: underline;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 960px) and (max-width: 1100px) {
  .desktop-card .platform-button {
    font-size: 12px;
    gap: 5px;
    padding-inline: 8px;
  }
  .desktop-card .platform-button svg {
    width: 18px;
    height: 18px;
  }
  .desktop-card .button-status {
    font-size: 9px;
    padding-left: 5px;
    margin: 0;
  }
}
@media (max-width: 1099px) {
  .site {
    padding-inline: 32px;
  }
  .help {
    gap: 25px;
  }
}
@media (max-width: 959px) {
  .desktop-card.has-preview {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .desktop-preview {
    min-height: 220px;
    aspect-ratio: 16/9;
  }
  .desktop-placeholder {
    min-height: 220px;
  }
}
@media (max-width: 639px) {
  .site {
    padding: 16px 20px 0;
  }
  .nav {
    padding: 7px 17px;
  }
  .nav img {
    width: 78px;
    height: 23px;
  }
  .nav nav {
    gap: 18px;
    font-size: 12px;
  }
  .download-page-heading {
    padding: 29px 0 25px;
  }
  .download-page-heading h1 {
    font-size: 38px;
  }
  .download-heading-label {
    font-size: 8px;
    margin-bottom: 12px;
  }
  .heading-accent {
    margin-top: 18px;
  }
  .app-section {
    padding-top: 8px;
  }
  .app-info {
    margin-bottom: 28px;
  }
  .app-icon {
    width: 56px;
    height: 56px;
    border-radius: 15px;
  }
  .app-icon img {
    width: 43px;
  }
  .app-identity h2 {
    font-size: 31px;
  }
  .app-description {
    font-size: 14px;
    line-height: 1.75;
    margin-top: 18px;
  }
  .compatibility {
    font-size: 11px;
  }
  .download-cards {
    gap: 20px;
  }
  .download-dock {
    padding: 24px 16px 18px;
    border-radius: 20px;
  }
  .platform-group-label {
    font-size: 23px;
  }
  .app-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
    margin-bottom: 24px;
    padding: 22px 0;
  }
  .app-features li {
    flex-direction: row;
    text-align: left;
    gap: 10px;
    padding: 0;
  }
  .app-features svg {
    width: 25px;
    height: 25px;
  }
  .platform-downloads {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .platform-button {
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    min-height: 52px;
  }
  .platform-button svg {
    width: 22px;
    height: 22px;
  }
  .release-link {
    margin-top: 4px;
  }
  .desktop-preview {
    min-height: 200px;
    height: 200px;
    aspect-ratio: auto;
  }
  .desktop-placeholder {
    min-height: 200px;
    padding: 20px;
  }
  .desktop-placeholder span {
    font-size: 15px;
  }
  .help {
    margin-top: 35px;
    padding-block: 28px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .help > div {
    margin-bottom: 17px;
  }
  .help > a {
    min-height: 48px;
    justify-content: space-between;
  }
  footer {
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 27px;
  }
  footer > span {
    margin-left: auto;
  }
  footer > div {
    width: 100%;
    justify-content: flex-end;
  }
  dialog {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .platform-button {
    transition: none;
  }
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
  }
}

/* Available downloads carry the reference blue beta badge. */
.platform-button.is-available {
  position: relative;
  overflow: visible;
}
.platform-button.is-available .button-beta {
  position: absolute;
  top: 0;
  right: 12px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #0078d4;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  pointer-events: none;
  box-shadow: none;
}

/* Preparing and failure feedback belong to the clicked platform only. */
.platform-button.is-loading,
.platform-button.is-loading:hover,
.platform-button.is-loading:active {
  background: #fff;
  border-color: #999;
  color: #666;
  cursor: wait;
  transform: none;
  filter: none;
}
.download-spinner {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 1.5px solid #ddd;
  border-top-color: #666;
  border-radius: 50%;
  animation: download-spin 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes download-spin {
  to {
    transform: rotate(360deg);
  }
}
.download-feedback {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #aa3b30;
  overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: reduce) {
  .download-spinner {
    animation: none;
  }
}
