@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono NL';
  src: url('/fonts/JetBrainsMonoNL-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #1e1e1e;
  --surface: #262626;
  --surface-raised: #2a2a2a;
  --surface-active: #333333;
  --border: #363636;
  --border-strong: #4a4a4a;
  --focus: #c4b5fd;
  --shadow: #00000080;
  --text: #f7f5ff;
  --text-secondary: #c4c2d0;
  --text-faint: #a5a2b5;
  --on-primary: #ffffff;
  --primary: #8456f0;
  --accent: #8b5cf6;
  --primary-container: #2a1f4d;
  --link: #c4b5fd;
  --success: #3fb950;
  --added: #1b3a29;
  --added-text: #7ee787;
  --removed: #3f1d22;
  --removed-text: #ff7b72;
  --flow: linear-gradient(110deg, #8456f0, #5b21f4);

  --radius-card: 20px;
  --radius-button: 14px;
  --radius-label: 999px;
  --radius-small: 14px;
  --s-xs: 4px;
  --s-s: 8px;
  --s-m: 12px;
  --s-l: 16px;
  --s-xl: 24px;
  --s-2xl: 32px;
  --s-3xl: 48px;
  --gutter: 16px;
  --page: 1200px;
  --measure: 66ch;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --fast: 200ms;
  --slow: 300ms;

  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-code: 'JetBrains Mono NL', ui-monospace, 'SFMono-Regular', Menlo, monospace;

}

:root[data-theme='light'] {
  color-scheme: light;
  --background: #f5f5f7;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-active: #eaeaee;
  --border: #e3e3e3;
  --border-strong: #d4d4d8;
  --focus: #5b21b6;
  --shadow: #2a1f4d33;
  --text: #1a1530;
  --text-secondary: #544e6a;
  --text-faint: #635d79;
  --primary: #5b21f4;
  --accent: #5b21f4;
  --primary-container: #e9d5ff;
  --link: #5b21f4;
  --success: #1a7f37;
  --added: #dafbe1;
  --added-text: #116329;
  --removed: #ffebe9;
  --removed-text: #a40e26;
  --flow: linear-gradient(110deg, #8456f0, #5b21f4);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    color-scheme: light;
    --background: #f5f5f7;
    --surface: #ffffff;
    --surface-raised: #ffffff;
    --surface-active: #eaeaee;
    --border: #e3e3e3;
    --border-strong: #d4d4d8;
    --focus: #5b21b6;
    --shadow: #2a1f4d33;
    --text: #1a1530;
    --text-secondary: #544e6a;
    --text-faint: #635d79;
    --primary: #5b21f4;
    --accent: #5b21f4;
    --primary-container: #e9d5ff;
    --link: #5b21f4;
    --success: #1a7f37;
    --added: #dafbe1;
    --added-text: #116329;
    --removed: #ffebe9;
    --removed-text: #a40e26;
    --flow: linear-gradient(110deg, #8456f0, #5b21f4);
  }
}

@media (min-width: 600px) {
  :root {
    --gutter: 24px;
  }
}
@media (min-width: 840px) {
  :root {
    --gutter: 40px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--border-strong) var(--background);
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--primary);
  color: var(--on-primary);
}

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

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

code,
pre,
kbd {
  font-family: var(--font-code);
  font-variant-ligatures: none;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  overflow-wrap: break-word;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -80px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 var(--s-l);
  border-radius: var(--radius-button);
  background: var(--primary);
  color: var(--on-primary);
}
.skip:focus {
  top: var(--s-s);
}

.wrap {
  width: 100%;
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 600px) {
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (min-width: 840px) {
  .wrap {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.state-layer {
  position: relative;
  isolation: isolate;
}
.state-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--fast) var(--ease);
}
.state-layer:hover::after {
  opacity: 0.08;
}
.state-layer:focus-visible::after,
.state-layer:active::after {
  opacity: 0.1;
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--background) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.top .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0 var(--s-s);
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-right: auto;
  color: var(--text);
  text-decoration: none;
  font: 600 1.125rem / 1 var(--font-ui);
  letter-spacing: -0.01em;
}
.brand img {
  flex: none;
  width: 30px;
  max-width: none;
}
.top nav {
  display: flex;
  align-items: center;
  gap: var(--s-xs);
}
.top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 var(--s-m);
  border-radius: var(--radius-button);
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}
.top nav a:hover,
.top nav a[aria-current='page'] {
  color: var(--text);
}
.top nav a.cta {
  min-height: 40px;
  margin-left: var(--s-xs);
  color: var(--on-primary);
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius-label);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}
.icon-button:hover {
  color: var(--text);
}
.icon-button svg {
  width: 20px;
  height: 20px;
}
.theme-toggle .moon {
  display: none;
}
:root[data-theme='light'] .theme-toggle .sun {
  display: none;
}
:root[data-theme='light'] .theme-toggle .moon {
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 var(--s-xl);
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font: 600 1rem / 1.2 var(--font-ui);
  text-decoration: none;
  cursor: pointer;
}
.button svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.button.filled {
  background: var(--primary);
  color: var(--on-primary);
}
.button.tonal {
  background: var(--primary-container);
  color: var(--text);
}
.button.outlined {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-l) var(--s-xl);
}
.download {
  display: grid;
  gap: var(--s-s);
  justify-items: start;
}
.download .meta {
  color: var(--text-faint);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.4;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-s) var(--s-l);
  margin: var(--s-xl) 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}
.platforms li {
  display: inline-flex;
  align-items: center;
  gap: var(--s-l);
}
.platforms li + li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-strong);
}
.platforms .later {
  color: var(--text-faint);
  font-weight: 400;
}

.hero {
  padding-block: clamp(48px, 9vw, 112px) var(--s-3xl);
}
.hero h1 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.subtitle {
  max-width: var(--measure);
  margin: var(--s-l) 0 0;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
}
.hero .downloads {
  margin-top: var(--s-2xl);
}

.views {
  padding-bottom: clamp(56px, 9vw, 112px);
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-xs);
  width: fit-content;
  max-width: 100%;
  margin: 0 0 var(--s-l);
  padding: var(--s-xs);
  border: 1px solid var(--border);
  border-radius: var(--radius-label);
  background: var(--surface);
}
.tabs[data-wrapped] {
  border-radius: var(--radius-card);
}
.tabs button {
  flex: 1 1 auto;
  min-height: 48px;
  padding: 0 var(--s-l);
  border: 0;
  border-radius: var(--radius-label);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}
.tabs button[aria-selected='true'],
.tabs button[aria-checked='true'] {
  background: var(--flow);
  color: var(--on-primary);
}
.view-caption {
  margin: var(--s-m) 0 0;
  color: var(--text-secondary);
}
.view-caption strong {
  color: var(--text);
  font-weight: 600;
}

.window {
  position: relative;
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 24px 48px -32px var(--shadow);
  aspect-ratio: 1440 / 926;
}
.window img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.window img.incoming {
  animation: reveal var(--slow) var(--ease) both;
}
@keyframes reveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 0 12%);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

.section {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid var(--border);
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.section-head p {
  margin: var(--s-m) 0 0;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
}

.style-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-xl);
}
.style-grid > * {
  min-width: 0;
}
.style-grid .tabs {
  margin-bottom: var(--s-l);
}
.file {
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  background: var(--surface);
  overflow: hidden;
}
.file-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-m);
  padding: var(--s-s) var(--s-l);
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font: 400 0.8125rem / 1.5 var(--font-code);
}
.file-head .path {
  min-width: 0;
  overflow-wrap: break-word;
}
.file-head span:last-child {
  flex: none;
  color: var(--text-faint);
}
.code {
  margin: 0;
  padding: var(--s-s) 0;
  overflow-x: auto;
  font-size: 0.8125rem;
  line-height: 1.7;
}
.code .row {
  display: grid;
  grid-template-columns: 3rem 1.75rem auto;
  min-width: max-content;
  padding-right: var(--s-l);
  white-space: pre;
}
.code .n {
  padding-right: var(--s-s);
  color: var(--text-faint);
  text-align: right;
  user-select: none;
}
.code .s {
  text-align: center;
  user-select: none;
}
.code .row.del {
  background: var(--removed);
  color: var(--removed-text);
}
.code .row.add {
  background: var(--added);
  color: var(--added-text);
}
.code .row.ctx {
  color: var(--text-secondary);
}

.eyebrow,
.section-head .eyebrow {
  margin: 0 0 var(--s-m);
  color: var(--link);
  font-family: var(--font-code);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cards {
  display: grid;
  gap: var(--s-xl);
}
.card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-xl);
  padding: var(--s-xl);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.card .shot {
  background: var(--background);
}
.card h3 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.card p {
  max-width: 52ch;
  margin: var(--s-s) 0 0;
  color: var(--text-secondary);
}
.card p code {
  font-size: 0.875em;
  color: var(--text);
}
.shot {
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-button);
  background: var(--surface);
  overflow: hidden;
}
.shot.narrow {
  max-width: 560px;
}

.transcript .row {
  grid-template-columns: 2.25rem auto;
}
.transcript .dir {
  color: var(--text-faint);
  text-align: center;
  user-select: none;
}
.transcript .row.out {
  color: var(--text);
}
.transcript .row.out .dir {
  color: var(--link);
}
.transcript .row.in {
  color: var(--text-secondary);
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-s);
  margin: var(--s-l) 0 0;
  padding: 0;
  list-style: none;
}
.tools li {
  padding: var(--s-xs) var(--s-m);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--text-secondary);
  font: 400 0.8125rem / 1.5 var(--font-code);
}

.checklist {
  display: grid;
  gap: var(--s-l);
}
.checklist section {
  padding: var(--s-xl);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.checklist h3 {
  margin: 0 0 var(--s-m);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
}
.checklist ul {
  display: grid;
  gap: var(--s-s);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
}
.checklist li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--s-s);
}
.checklist li svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--success);
}
.checklist .not-yet {
  border: 1px dashed var(--border-strong);
  background: transparent;
}
.checklist .not-yet li svg {
  color: var(--text-faint);
}

.closing {
  padding-top: 64px;
  padding-bottom: 64px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.closing h2 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.closing .downloads {
  margin-top: var(--s-2xl);
}

.foot {
  padding-block: var(--s-xl) var(--s-3xl);
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.875rem;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-s) var(--s-xl);
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s-xs);
}
.foot nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 var(--s-s);
  color: var(--text-secondary);
}
.foot .foot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: var(--s-xl);
}
.foot-brand {
  grid-column: 1 / -1;
}
.foot-brand p {
  margin: 0;
}
.foot-col {
  flex-direction: column;
  align-items: flex-start;
}
.foot-col h2 {
  margin: 0 0 var(--s-xs);
  padding: 0 var(--s-s);
  color: var(--text);
  font: 500 0.75rem / 1.4 var(--font-code);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.foot nav.foot-col a {
  min-height: 40px;
}

.page-head {
  padding-block: clamp(48px, 8vw, 96px) var(--s-2xl);
}
.page-head h1 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.dl {
  padding-bottom: clamp(56px, 8vw, 104px);
}
.state[hidden] {
  display: none !important;
}
.notice {
  max-width: 760px;
  padding: var(--s-xl);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.notice h2 {
  margin: 0 0 var(--s-s);
  font-family: var(--font-ui);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
}
.notice p {
  margin: 0 0 var(--s-l);
  color: var(--text-secondary);
}
.notice p:last-child {
  margin-bottom: 0;
}
.notice .actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-m);
}
.loading {
  color: var(--text-secondary);
}
.note {
  max-width: 760px;
  margin: 0 0 var(--s-xl);
  padding: var(--s-m) var(--s-l);
  border-radius: var(--radius-button);
  background: var(--primary-container);
  color: var(--text);
}

.platform {
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.platform + .platform {
  margin-top: var(--s-l);
}
.platform.primary {
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
}
.platform-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-xs) var(--s-m);
  margin-bottom: var(--s-l);
}
.platform-head h2,
.platform-head h3 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
}
.platform-head .version {
  color: var(--text-secondary);
  font: 400 0.875rem / 1.4 var(--font-code);
}
.files {
  display: grid;
  gap: var(--s-m);
  margin: 0;
  padding: 0;
  list-style: none;
}
.file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-s) var(--s-l);
  align-items: center;
  padding: var(--s-l);
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  background: var(--background);
}
.file-row .name {
  font: 400 0.875rem / 1.5 var(--font-code);
  overflow-wrap: anywhere;
}
.file-row .kind {
  color: var(--text-faint);
  font-size: 0.8125rem;
}
.sha {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-s);
  min-width: 0;
  color: var(--text-faint);
  font-size: 0.8125rem;
}
.sha code {
  flex: 1 1 260px;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text-secondary);
  font-size: 0.75rem;
}
.copy {
  flex: none;
  min-height: 48px;
  padding: 0 var(--s-l);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-label);
  background: transparent;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}
.install {
  margin-top: var(--s-xl);
}
.install-box {
  display: grid;
  gap: var(--s-l);
}
.install-box > * {
  min-width: 0;
}
.command {
  display: flex;
  align-items: center;
  gap: var(--s-s);
  padding-right: var(--s-s);
  background: var(--background);
}
.command[hidden] {
  display: none;
}
.command .code {
  flex: 1 1 auto;
  min-width: 0;
}
.command .code .row {
  grid-template-columns: 2rem minmax(0, 1fr);
  min-width: 0;
  white-space: pre-wrap;
}
.command .code .p {
  color: var(--text-faint);
  text-align: center;
  user-select: none;
}
.command code {
  color: var(--text);
  overflow-wrap: anywhere;
}
.install-note {
  margin: var(--s-s) 0 0;
  color: var(--text-secondary);
}
.install-note:empty {
  display: none;
}
.install h3,
.install h4 {
  margin: 0 0 var(--s-s);
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}
.install p {
  margin: var(--s-s) 0 0;
  color: var(--text-secondary);
}
.install .file {
  background: var(--background);
}
.install .code .row {
  grid-template-columns: 2rem auto;
}
.install .code .p {
  color: var(--text-faint);
  text-align: center;
  user-select: none;
}
.install .code .c {
  color: var(--text-faint);
}
.others > h2 {
  margin: clamp(40px, 6vw, 64px) 0 var(--s-l);
  font-family: var(--font-ui);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
}

.platform.soon .platform-head {
  margin-bottom: var(--s-s);
}
.platform.soon p,
.whats-new {
  margin: 0;
  color: var(--text-secondary);
}
.whats-new {
  margin: calc(-1 * var(--s-s)) 0 var(--s-l);
}
.whats-new a,
.platform.soon a,
.subtitle a {
  color: var(--primary);
  text-underline-offset: 3px;
}

.changelog {
  display: grid;
  gap: var(--s-l);
  padding-bottom: clamp(56px, 8vw, 104px);
}
.release {
  max-width: 860px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-card);
  background: var(--surface);
  scroll-margin-top: var(--s-2xl);
}
.release:target {
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
}
.release-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-xs) var(--s-m);
  margin-bottom: var(--s-s);
}
.release-head h2 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
}
.release-head h2 a {
  color: inherit;
  text-decoration: none;
}
.release-head .version {
  color: var(--text-secondary);
  font: 400 0.875rem / 1.4 var(--font-code);
}
.release h3 {
  margin: var(--s-l) 0 var(--s-s);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
}
.release ul {
  display: grid;
  gap: var(--s-s);
  margin: 0;
  padding-left: 1.2em;
  color: var(--text-secondary);
}
.release li strong {
  color: var(--text);
}
.release .empty {
  margin: 0;
  color: var(--text-faint);
}
.release details {
  margin-top: var(--s-l);
  padding-top: var(--s-m);
  border-top: 1px solid var(--border);
}
.release summary {
  padding-block: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
}

.lost {
  padding-block: clamp(64px, 12vw, 160px);
}
.lost h1 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.lost .path {
  display: inline-block;
  max-width: 100%;
  margin-top: var(--s-xl);
  padding: var(--s-s) var(--s-m);
  border-radius: var(--radius-small);
  background: var(--removed);
  color: var(--removed-text);
  font: 400 0.875rem / 1.5 var(--font-code);
  overflow-wrap: anywhere;
}
.lost .downloads {
  margin-top: var(--s-2xl);
}

@media (min-width: 600px) {
  .checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 840px) {
  .section {
    padding-top: 104px;
    padding-bottom: 104px;
  }
  .closing {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .install-box {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }
  .foot .foot-grid {
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  }
  .foot-brand {
    grid-column: auto;
  }
  .checklist {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .style-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    align-items: start;
  }
}

@media (max-width: 599px) {
  .top nav .hide-compact {
    display: none;
  }
  .top nav .cta {
    padding: 0 var(--s-l);
  }
  .downloads,
  .download,
  .download .button {
    width: 100%;
  }
  .window {
    border-radius: var(--radius-button);
  }
  .file-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .file-row .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
