:root {
  color-scheme: dark;
  --background: #0f1115;
  --background-deep: #0b0d10;
  --surface: #15181d;
  --surface-strong: #1a1e24;
  --border: #2a313b;
  --border-soft: #20262e;
  --text: #eef2f6;
  --muted: #9ba5b0;
  --faint: #7f8994;
  --action: #2f81f7;
  --success: #4ecb71;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--text);
}

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

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

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

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

p {
  margin-top: 0;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 9px 12px;
  border-radius: 2px;
  background: var(--text);
  color: var(--background-deep);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: 100%;
  border-bottom: 1px solid var(--border-soft);
  background: var(--background);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  flex: 0 0 auto;
  color: var(--text);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--text);
}

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-status span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
}

.hero {
  padding-block: clamp(64px, 9vw, 116px) clamp(64px, 8vw, 104px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(44px, 7vw, 84px);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1 {
  max-width: 650px;
  font-size: clamp(42px, 5.3vw, 56px);
  letter-spacing: -0.045em;
}

.lede {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 32px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.button.primary {
  background: var(--action);
  color: var(--background-deep);
}

.button.primary:hover {
  color: var(--background-deep);
  filter: brightness(1.08);
}

.text-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.hero-note {
  margin: 17px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.product-shot {
  min-width: 0;
  margin: 0;
}

.product-shot img {
  width: 100%;
  aspect-ratio: 94 / 65;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgb(0 0 0 / 28%);
}

.product-shot figcaption {
  margin-top: 10px;
  color: var(--faint);
  font-size: 12px;
  text-align: right;
}

.trust-strip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--background-deep);
}

.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 23px 30px;
}

.trust-strip li:first-child {
  padding-left: 0;
}

.trust-strip li + li {
  border-left: 1px solid var(--border-soft);
}

.trust-strip strong {
  font-size: 14px;
  line-height: 1.3;
}

.trust-strip span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding-block: clamp(78px, 9vw, 112px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(130px, 0.34fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.section-heading .eyebrow {
  margin-top: 8px;
}

h2 {
  font-size: clamp(32px, 4.2vw, 44px);
  letter-spacing: -0.035em;
}

.section-heading > div > p,
.security-intro > p:last-child,
.beta-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 64px 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.steps li {
  min-width: 0;
  padding: 27px 30px 0;
}

.steps li:first-child {
  padding-left: 0;
}

.steps li + li {
  border-left: 1px solid var(--border-soft);
}

.step-number {
  display: block;
  margin-bottom: 34px;
  color: var(--action);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.steps h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.security {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface);
}

.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(52px, 9vw, 120px);
}

.security-intro {
  min-width: 0;
}

.security-list {
  margin: 0;
}

.security-list > div {
  display: grid;
  grid-template-columns: minmax(116px, 0.35fr) minmax(0, 1fr);
  gap: 30px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.security-list > div:last-child {
  border-bottom: 1px solid var(--border);
}

.security-list dt {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.security-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.beta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(54px, 10vw, 132px);
}

.download-state {
  margin-top: 32px;
}

.download-state button {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #39414c;
  border-radius: 4px;
  background: var(--surface-strong);
  color: #aab3bd;
  font-weight: 680;
  cursor: not-allowed;
  opacity: 1;
}

.download-state p {
  margin: 10px 0 0;
  color: var(--faint);
  font-size: 12px;
}

.release-info {
  min-width: 0;
  padding-top: 3px;
}

.release-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.release-row > div {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 22px 24px;
}

.release-row > div:first-child {
  padding-left: 0;
}

.release-row > div + div {
  border-left: 1px solid var(--border-soft);
}

.release-row span {
  color: var(--faint);
  font-size: 12px;
}

.release-row strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

details {
  border-bottom: 1px solid var(--border);
}

summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

summary:hover {
  color: var(--text);
}

.release-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding: 8px 0 28px;
}

.release-details h3 {
  margin-bottom: 12px;
  font-size: 14px;
}

.checksum code {
  display: block;
  padding: 10px;
  overflow-wrap: anywhere;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  background: var(--background-deep);
  color: #d6dce2;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  line-height: 1.55;
}

.release-details p,
.release-details ol {
  color: var(--muted);
  font-size: 12px;
}

.checksum p {
  margin: 10px 0 0;
}

.install ol {
  margin: 0;
  padding-left: 18px;
}

.install li + li {
  margin-top: 5px;
}

.install p {
  margin: 12px 0 0;
}

.install a {
  color: #b7cff3;
}

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--background-deep);
}

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-inner a {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .hero-grid,
  .security-grid,
  .beta-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 680px;
  }

  .product-shot {
    max-width: 760px;
  }

  .security-grid,
  .beta-grid {
    gap: 52px;
  }

  .security-intro,
  .beta-copy {
    max-width: 650px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(var(--shell), calc(100% - 32px));
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .section-heading .eyebrow {
    margin-top: 0;
  }

  .steps {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .steps li,
  .steps li:first-child {
    padding: 23px 0 27px;
  }

  .steps li + li {
    border-top: 1px solid var(--border-soft);
    border-left: 0;
  }

  .step-number {
    margin-bottom: 20px;
  }

  .release-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 0;
    flex-wrap: wrap;
    gap: 14px;
    padding-block: 15px;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .site-header nav a {
    font-size: 12px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 48px);
  }

  .hero {
    padding-block: 56px 64px;
  }

  .trust-strip ul {
    grid-template-columns: 1fr;
  }

  .trust-strip li,
  .trust-strip li:first-child {
    padding: 17px 0;
  }

  .trust-strip li + li {
    border-top: 1px solid var(--border-soft);
    border-left: 0;
  }

  .section {
    padding-block: 68px;
  }

  .security-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .release-row {
    grid-template-columns: 1fr;
  }

  .release-row > div,
  .release-row > div:first-child {
    padding: 18px 0;
  }

  .release-row > div + div {
    border-top: 1px solid var(--border-soft);
    border-left: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .site-header,
  .trust-strip,
  .trust-strip li,
  .steps,
  .steps li,
  .security,
  .security-list > div,
  .release-row,
  .release-row > div,
  details,
  .product-shot img,
  .checksum code,
  .site-footer {
    border-color: CanvasText;
  }

  .nav-status span {
    background: CanvasText;
  }
}
