@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter.woff2') format('woff2');
}

:root {
  --bg: #212121;
  --panel: #262626;
  --panel-soft: #2b2b2b;
  --line: #383838;
  --line-soft: #2f2f2f;
  --text: #ededed;
  --text-soft: #d4d4d4;
  --muted: #9a9a9a;
  --dim: #7a7a7a;
  --accent: #2ad4c0;
  --accent-ink: #06231f;
  --max: 1320px;
  --nav-h: 96px;
  --font: 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

code {
  font-family: 'SF Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--panel-soft);
  color: var(--text);
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}

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

.button.primary:hover {
  filter: brightness(1.05);
}

.button.ghost {
  background: var(--panel-soft);
  color: var(--text);
}

.button.ghost:hover {
  background: #343434;
}

.button.large {
  height: 62px;
  padding: 0 36px;
  font-size: 22px;
}

.button.block {
  width: 100%;
  justify-content: space-between;
  height: 54px;
  font-size: 17px;
}

.size {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
}

.button.ghost .size {
  color: var(--dim);
}

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 3px solid var(--accent);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1600px;
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 40px;
}

.brand {
  flex: 0 0 auto;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 auto;
}

.nav-links a {
  font-size: 21px;
  color: var(--text-soft);
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 0 0 auto;
}

.github {
  font-size: 21px;
  color: var(--text-soft);
  transition: color 0.15s ease;
}

.github:hover {
  color: var(--accent);
}

.nav-download {
  height: 56px;
  padding: 0 28px;
  font-size: 21px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding: 8px 24px 18px;
}

.mobile-menu a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 18px;
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

/* Hero */

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 116px 40px 132px;
}

.hero h1 {
  max-width: 1200px;
  font-size: clamp(52px, 7.2vw, 110px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero h1 span {
  color: var(--accent);
}

.lede {
  max-width: 980px;
  margin-top: 44px;
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.5;
  color: var(--text-soft);
}

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

.version {
  margin-left: 8px;
  font-size: 19px;
  color: var(--text-soft);
}

.support {
  margin-top: 22px;
  font-size: 17px;
  color: var(--dim);
}

/* Sections */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 40px;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 920px;
}

.eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-head h2,
.split-copy h2,
.notes-head h2 {
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.section-head p {
  max-width: 860px;
  margin-top: 22px;
  font-size: 19px;
  color: var(--muted);
}

/* Screenshots */

.shots {
  padding-top: 0;
  border-top: 0;
}

.shot {
  min-width: 0;
}

.shot img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--panel);
}

.shot figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--dim);
  letter-spacing: 0.02em;
}

.shot-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.feature {
  padding: 36px 44px 40px 0;
  border-bottom: 1px solid var(--line);
}

.feature:nth-child(2n) {
  padding-left: 44px;
  border-left: 1px solid var(--line);
}

.feature-number {
  color: var(--accent);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.feature h3 {
  margin: 14px 0 10px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.feature p {
  max-width: 52ch;
  font-size: 16.5px;
  color: var(--muted);
}

/* Split sections */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-reverse > .shot {
  order: 2;
}

.split-reverse > .split-copy {
  order: 1;
}

.split-copy h2 {
  margin-bottom: 22px;
}

.split-copy p {
  margin-bottom: 18px;
  font-size: 17px;
  color: var(--muted);
}

.ticks {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.ticks li {
  position: relative;
  padding: 14px 0 14px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--text-soft);
}

.ticks li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Download */

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.download-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.download-links,
.download-links .button {
  min-width: 0;
}

.download-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.os-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  background: var(--panel-soft);
  color: var(--accent);
}

.download-head h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.download-head p {
  margin-top: 2px;
  font-size: 14px;
  color: var(--dim);
}

.download-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.download-note {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.download-note strong {
  color: var(--text);
  font-weight: 500;
}

.command {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 12px;
  background: #1b1b1b;
  border: 1px solid var(--line);
}

.command code {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  color: var(--text-soft);
}

.copy {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 0;
  background: var(--panel-soft);
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}

.copy:hover {
  background: #383838;
}

.requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 13px;
  color: var(--dim);
}

.requirements span::before {
  content: '+';
  margin-right: 7px;
  color: var(--accent);
}

.download-foot {
  margin-top: 30px;
  font-size: 15px;
  color: var(--dim);
}

.download-foot a {
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
}

.download-foot a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Notes */

.notes-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.notes-head h2 span {
  color: var(--accent);
}

.notes-body {
  max-width: 860px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 16px;
}

.notes-body ul {
  margin: 0;
  padding-left: 18px;
}

.notes-body li {
  margin-bottom: 6px;
}

.notes-body p {
  margin-bottom: 10px;
}

/* FAQ */

.faq-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: '+';
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.15s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 860px;
  padding: 0 0 26px;
  font-size: 16px;
  color: var(--muted);
}

.faq-list code {
  padding: 2px 6px;
  background: #1b1b1b;
  color: var(--text-soft);
}

/* Footer */

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.footer-brand span {
  display: block;
  font-size: 13px;
  color: var(--dim);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-note {
  font-size: 13px;
  color: var(--dim);
}

/* Responsive */

@media (max-width: 1080px) {
  .nav-links {
    gap: 26px;
  }

  .nav-links a,
  .github {
    font-size: 18px;
  }

  .nav-download {
    height: 50px;
    font-size: 18px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-reverse > .shot {
    order: 1;
  }

  .split-reverse > .split-copy {
    order: 2;
  }

  .hero-inner {
    padding: 88px 40px 100px;
  }
}

@media (max-width: 860px) {
  .nav-inner {
    height: 78px;
    padding: 0 22px;
    gap: 16px;
  }

  .brand {
    font-size: 24px;
  }

  .nav-links,
  .github {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
    gap: 14px;
  }

  .nav-download {
    height: 44px;
    padding: 0 18px;
    font-size: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu:not([hidden]) {
    display: flex;
  }

  .hero-inner,
  .section,
  .footer-inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-inner {
    padding-top: 64px;
    padding-bottom: 76px;
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 64px);
  }

  .lede {
    margin-top: 30px;
    font-size: 19px;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 32px;
  }

  .button.large {
    height: 54px;
    padding: 0 26px;
    font-size: 19px;
  }

  .version {
    width: 100%;
    margin: 4px 0 0;
    font-size: 16px;
  }

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

  .section-head p {
    font-size: 17px;
  }

  .feature-grid,
  .download-grid,
  .shot-pair {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature:nth-child(2n) {
    padding: 26px 0 30px;
    border-left: 0;
  }

  .shot-pair {
    margin-top: 44px;
  }

  .download-card {
    padding: 20px;
  }

  .download-links .button {
    height: auto;
    min-height: 54px;
    padding: 12px 16px;
    white-space: normal;
    text-align: left;
  }

  .download-head p {
    overflow-wrap: anywhere;
  }

  .command code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .notes-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
