:root {
  color-scheme: dark;
  --background: #0b0b0d;
  --surface: #141416;
  --line: #29292e;
  --text: #f4f4f6;
  --muted: #acacb6;
  --accent: #70adff;
  --button: #4694ff;
  --button-hover: #76afff;
  --sans: "Manrope", "Avenir Next", "DejaVu Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

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

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

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.91em;
  color: var(--text);
}

::selection {
  color: var(--text);
  background: #244e87;
}

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

.wrap {
  width: min(100% - 64px, 1184px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--text);
  color: var(--background);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgb(11 11 13 / 94%);
  backdrop-filter: blur(14px);
}

.header-inner,
.wordmark,
.site-header nav {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 76px;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  flex-shrink: 0;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.6px;
  text-decoration: none;
}

.site-header nav {
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}

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

.site-header nav .nav-download {
  min-height: 36px;
  padding: 5px 16px;
  border: 1px solid #3c3c44;
  border-radius: 999px;
  color: var(--text);
  background: #1b1b1f;
}

.hero {
  padding-top: 64px;
}

.hero-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
  margin-bottom: 42px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(44px, 5.4vw, 68px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.hero-summary {
  max-width: 480px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.button-primary {
  background: var(--button);
  color: #071326;
}

.button-primary:hover {
  background: var(--button-hover);
}

.button-primary span {
  font-weight: 500;
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
}

.button-secondary:hover {
  border-color: #4b4b56;
  background: #1d1d21;
}

.platforms {
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
}

.platforms span,
.release-meta span {
  margin-inline: 5px;
}

.screenshot-frame {
  overflow: hidden;
  border: 1px solid #35353d;
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 18px 64px rgb(0 0 0 / 25%);
}

.screenshot-frame img {
  width: 100%;
  height: auto;
}

figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
}

.preview-label {
  color: var(--muted);
}

.workspace-section {
  padding-top: 100px;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 72px;
  margin-bottom: 32px;
}

.section-intro > p {
  max-width: 47ch;
  color: var(--muted);
  font-size: 15px;
}

.workflow-details,
.connections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.workflow-details {
  margin-top: 36px;
}

.workflow-details article {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.workflow-details p,
.connections-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.connections-section {
  padding-block: 90px;
  margin-top: 90px;
  border-block: 1px solid var(--line);
  background: #101012;
}

.section-heading {
  margin-bottom: 36px;
}

.provider-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.provider-list li {
  padding: 3px 9px;
  border: 1px solid #33333a;
  border-radius: 6px;
  color: #c8c8d0;
  font-size: 11px;
}

.download-section {
  padding-block: 90px;
}

.download-intro {
  margin-bottom: 28px;
}

.release-meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.download-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.platform-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.platform-heading h3 {
  font-size: 17px;
}

.platform-heading > span {
  color: var(--muted);
  font-size: 11px;
}

.download-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-block: 8px;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.download-link > span {
  flex-shrink: 0;
  color: var(--muted);
}

.download-link:hover,
.release-link:hover,
.questions a:hover {
  color: #a5ccff;
  text-decoration: underline;
}

.release-link {
  display: inline-block;
  margin-top: 22px;
  padding-block: 5px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.questions-section {
  padding-block: 60px 80px;
  border-top: 1px solid var(--line);
}

.questions-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: start;
  gap: 72px;
}

.questions > div {
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.questions > div:first-child {
  padding-top: 4px;
}

.questions > div:last-child {
  border-bottom: 0;
}

.questions dt {
  margin-bottom: 9px;
  font-size: 15px;
  font-weight: 600;
}

.questions dd {
  max-width: 65ch;
  color: var(--muted);
  font-size: 14px;
}

.questions a {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  color: var(--muted);
  font-size: 11px;
}

.site-footer .wordmark {
  margin-right: auto;
  color: var(--text);
  font-size: 15px;
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-intro,
  .section-intro {
    gap: 32px;
  }

  .hero-summary .lead {
    font-size: 16px;
  }

  .workflow-details,
  .connections-grid {
    gap: 24px;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) 2fr;
    align-items: start;
    column-gap: 24px;
    padding: 20px 24px;
  }

  .platform-heading {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 10px 0 0;
  }

  .download-link {
    grid-column: 2;
  }

  .questions-layout {
    grid-template-columns: 1fr 2fr;
    gap: 32px;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 68px;
    gap: 12px;
  }

  .wordmark {
    font-size: 17px;
  }

  .site-header nav {
    gap: 16px;
    font-size: 11px;
  }

  .site-header nav .nav-download {
    min-height: 34px;
    padding-inline: 12px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-intro,
  .section-intro,
  .questions-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-intro {
    margin-bottom: 30px;
  }

  h1 {
    font-size: 52px;
  }

  .hero-summary {
    max-width: 47ch;
  }

  .actions {
    margin-top: 20px;
  }

  .workspace-section {
    padding-top: 64px;
  }

  .section-intro {
    margin-bottom: 24px;
  }

  .screenshot-frame {
    border-radius: 9px;
  }

  .workflow-details,
  .connections-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .workflow-details {
    margin-top: 28px;
  }

  .connections-section {
    margin-top: 60px;
    padding-block: 56px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .download-section {
    padding-block: 56px;
  }

  .questions-section {
    padding-block: 44px 52px;
  }

  .questions-layout {
    gap: 26px;
  }

  .footer-inner {
    gap: 12px;
  }

  .footer-inner > span {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 440px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 12px 4px;
  }

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

  .site-header nav .nav-download {
    min-height: 36px;
  }

  html {
    scroll-padding-top: 126px;
  }

  .download-card {
    display: block;
    padding: 20px;
  }

  .platform-heading {
    margin: 0 0 12px;
  }

  .button {
    padding-inline: 13px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
  }
}
