:root {
  color-scheme: dark;
  --bg: #17191a;
  --panel: #1e2021;
  --line: #373a3a;
  --text: #eeeee6;
  --muted: #b4b7b2;
  --accent: #d5ed9b;
  --max: 1240px;
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
  text-underline-offset: .25em;
}

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

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

figure {
  margin: 0;
}

p {
  color: var(--muted);
}

h1,h2,h3,p {
  margin-top: 0;
}

h1,h2,h3 {
  font-weight: 500;
}

h1,h2 {
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: balance;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(4rem,8vw,7.7rem);
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

h2 {
  font-size: clamp(2.7rem,5vw,4.3rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: .65rem;
}

a,summary {
  touch-action: manipulation;
}

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  z-index: 20;
  background: var(--accent);
  color: var(--bg);
  padding: .7rem 1rem;
}

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

.nav {
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: .9rem max(1.4rem,calc((100% - var(--max))/2));
  background: var(--bg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.07em;
}

.brand-dot {
  color: var(--accent);
  margin-left: -.4rem;
}

.brand img {
  margin-right: .1rem;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav nav a {
  text-decoration: none;
  font-size: .88rem;
}

.nav-install {
  padding: .6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.nav-install span {
  margin-left: 1rem;
}

main,footer {
  width: min(100%,calc(var(--max) + 2.8rem));
  margin-inline: auto;
  padding-inline: 1.4rem;
}

section {
  padding: 6.5rem 0;
  border-bottom: 1px solid var(--line);
}

.hero {
  padding-top: 4.8rem;
  padding-bottom: 0;
}

.eyebrow,.code-label {
  font: 500 .72rem/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.8rem;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: .6rem;
}

.hero-copy {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: end;
  margin-bottom: 3.8rem;
}

.hero-description {
  max-width: 460px;
  justify-self: end;
  padding-bottom: .2rem;
}

.hero-description>p:first-child {
  font-size: 1.1rem;
}

.actions {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin: 1.8rem 0 1.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  border-radius: 4px;
  text-decoration: none;
  padding: .85rem 1.2rem;
  font-size: .9rem;
  font-weight: 600;
}

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

.button.primary:hover {
  background: #e4f8b4;
}

.text-link {
  font-size: .9rem;
}

.text-link span {
  margin-left: .4rem;
}

.fine-print {
  font-size: .74rem;
  margin: 0;
}

.product-shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.product-shot>a {
  display: block;
}

.product-shot img {
  width: 100%;
}

.product-shot a:hover {
  filter: brightness(1.07);
}

.product-shot figcaption {
  padding: .85rem 1.1rem;
  border-top: 1px solid var(--line);
  font-size: .75rem;
  color: var(--muted);
}

.hero-shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.hero-shot {
  box-shadow: 0 20px 60px #0003;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  padding: 1.8rem 0;
  gap: 1rem;
  font-size: .8rem;
  color: var(--muted);
}

.principles b {
  font: inherit;
  color: var(--accent);
  margin-right: .7rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading>p {
  max-width: 350px;
  margin-bottom: .25rem;
  font-size: .95rem;
}

kbd {
  font: .8em ui-monospace,monospace;
  border: 1px solid #565b55;
  border-radius: 3px;
  padding: .1rem .25rem;
  color: var(--text);
}

.workspace-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 3rem;
}

.feature-list article {
  display: flex;
  gap: 1.3rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-list article:first-child {
  padding-top: 0;
}

.feature-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.feature-list p {
  font-size: .9rem;
  margin: 0;
}

.number {
  font: .7rem ui-monospace,monospace;
  color: var(--accent);
  padding-top: .3rem;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery figcaption {
  padding: 1.4rem;
}

.gallery figcaption strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: .4rem;
}

.gallery figcaption span {
  display: block;
  font-size: .86rem;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}

.mode-heading {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.mode-heading h3 {
  font-size: 1.6rem;
  margin-bottom: .2rem;
}

.mode-heading span {
  color: var(--accent);
  font: .7rem ui-monospace,monospace;
}

.mode-grid img {
  border: 1px solid var(--line);
  border-radius: 4px;
}

.mode-grid p {
  font-size: .9rem;
  margin: 1.2rem 0 0;
}

.capture-note {
  font-size: .75rem;
  max-width: 780px;
  margin: 2.5rem 0 0;
}

.settings-section {
  display: grid;
  grid-template-columns: .85fr 1.3fr;
  align-items: center;
  gap: 5rem;
}

.settings-section>div>p:not(.eyebrow) {
  font-size: .95rem;
  max-width: 390px;
}

#install>p:not(.eyebrow) {
  font-size: 1rem;
}

.install-box {
  padding: 1.6rem 1.8rem;
  margin: 2rem 0 1rem;
  border: 1px solid #596444;
  border-radius: 6px;
  background: #1b201a;
}

.code-label {
  color: var(--muted);
  font-size: .65rem;
}

.install-box pre {
  margin: 1.3rem 0;
  overflow-x: auto;
  padding-bottom: .5rem;
  font-size: clamp(.74rem,1.4vw,1rem);
  color: var(--accent);
}

.install-box p {
  margin: 0;
  font-size: .8rem;
}

.install-box p a {
  margin-left: 1rem;
}

.download-menu {
  border: 1px solid var(--line);
  border-radius: 6px;
}

.download-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  font-size: .9rem;
  list-style: none;
}

.download-menu summary::-webkit-details-marker {
  display: none;
}

.download-menu summary span {
  font-size: 1.3rem;
  color: var(--accent);
}

.download-menu[open] summary span {
  transform: rotate(45deg);
}

.download-options {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--line);
}

.download-options>a {
  padding: 1.5rem;
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.download-options>a:last-child {
  border: 0;
}

.download-options>a:hover {
  background: var(--panel);
}

.install-tag {
  display: block;
  font: .65rem ui-monospace,monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.download-options strong {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  font-weight: 500;
}

.download-options small {
  display: block;
  color: var(--muted);
  margin-top: .6rem;
  line-height: 1.6;
}

.support-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.support-section h2 {
  font-size: 2.6rem;
}

.support-section p:not(.eyebrow) {
  font-size: .9rem;
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  font-size: .8rem;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-block: 2.5rem;
}

footer p {
  font-size: .75rem;
  margin: .8rem 0 0;
}

footer>div:last-child {
  display: flex;
  gap: 1.5rem;
  font-size: .8rem;
}

footer a {
  text-decoration: none;
}

@media(min-width:1500px) {
  .hero-copy {
    gap: 8rem;
  }
}

@media(max-width:1000px) {
  .hero-copy {
    gap: 2rem;
  }
  .hero-description {
    max-width: 390px;
  }
  .workspace-layout {
    grid-template-columns: 1fr;
  }
  .feature-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
  }
  .feature-list article,.feature-list article:first-child,.feature-list article:last-child {
    padding: 0;
    border: 0;
  }
  .feature-list article {
    gap: .8rem;
  }
  .settings-section {
    gap: 2rem;
  }
  .mode-heading span {
    font-size: .65rem;
  }
}

@media(max-width:700px) {
  .nav {
    min-height: 74px;
    flex-wrap: wrap;
  }
  .nav nav {
    gap: 1.1rem;
    flex-wrap: wrap;
  }
  .nav nav a {
    font-size: .8rem;
  }
  .brand {
    font-size: 1.6rem;
  }
  .brand img {
    width: 26px;
    height: 26px;
  }
  .nav-install {
    padding: .45rem .65rem;
  }
  .nav-install span {
    margin-left: .3rem;
  }
  section {
    padding: 4rem 0;
  }
  .hero {
    padding-top: 3.5rem;
  }
  .hero-copy {
    grid-template-columns: 1fr;
    gap: 1.7rem;
    margin-bottom: 2.3rem;
  }
  .hero-description {
    justify-self: start;
    max-width: 100%;
  }
  .hero-description>p:first-child {
    max-width: 480px;
    font-size: 1rem;
  }
  .hero-shot figcaption {
    font-size: .65rem;
  }
  .hero-shot figcaption>span:last-child {
    display: none;
  }
  .principles {
    grid-template-columns: 1fr 1fr;
    font-size: .7rem;
    padding: 1.4rem 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 2rem;
  }
  .section-heading>p {
    margin-top: 1.5rem;
    max-width: 100%;
  }
  .feature-list {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .workspace-layout {
    gap: 2rem;
  }
  .gallery,.mode-grid,.settings-section,.support-section {
    grid-template-columns: 1fr;
  }
  .gallery {
    gap: 1.5rem;
  }
  .mode-grid {
    gap: 2rem;
  }
  .mode-grid img {
    width: 100%;
  }
  .settings-section,.support-section {
    gap: 1.8rem;
  }
  .download-options {
    grid-template-columns: 1fr;
  }
  .download-options>a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .install-box {
    padding: 1.2rem;
  }
  .install-box p a {
    display: block;
    margin: .5rem 0 0;
  }
  footer {
    align-items: start;
  }
  footer>div:last-child {
    flex-direction: column;
    gap: .5rem;
  }
  .eyebrow {
    margin-bottom: 1.3rem;
  }
}

@media(max-width:380px) {
  main,footer {
    padding-inline: 1rem;
  }
  .nav {
    padding-inline: 1rem;
  }
  .nav nav {
    gap: .7rem;
  }
  .nav nav>a:first-child {
    display: none;
  }
  h1 {
    font-size: 3.6rem;
  }
  .actions {
    gap: 1rem;
  }
  .principles {
    font-size: .65rem;
  }
}

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