:root {
  --ink: #0c1011;
  --ink-2: #121718;
  --panel: #171d1e;
  --panel-2: #1d2425;
  --line: #31393a;
  --text: #f4f7f5;
  --muted: #aab4b1;
  --mint: #67e5a4;
  --mint-deep: #3fbd7d;
  --max: 72rem;
  --cut: 1.15rem;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 20rem;
  background:
    radial-gradient(circle at 87% 4%, rgba(103, 229, 164, 0.09), transparent 23rem),
    var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--mint);
  text-underline-offset: 0.22em;
}

a:hover {
  color: #a7f4cc;
}

.shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--mint);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #181a1e;
  backdrop-filter: blur(16px);
}

.nav-shell {
  position: relative;
  display: flex;
  min-height: 4.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand img {
  width: 4.35rem;
  height: 4.35rem;
  object-fit: contain;
}

.footer-brand img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.27rem auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

.primary-nav a {
  padding: 0.58rem 0.72rem;
  color: #dbe2df;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--panel-2);
  color: var(--mint);
}

.breadcrumbs {
  padding: 1.3rem 0 0;
}

.breadcrumbs ol {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.84rem;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: #65706d;
}

.breadcrumbs a {
  color: var(--text);
  text-decoration: none;
}

.breadcrumbs li:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-article {
  padding-bottom: 5rem;
}

.page-hero {
  position: relative;
  padding: 3.7rem 0 2.5rem;
}

.page-hero::before {
  position: absolute;
  top: 2.45rem;
  left: 0;
  width: 4.5rem;
  height: 0.34rem;
  background: var(--mint);
  content: "";
  clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
}

h1,
h2,
h3 {
  color: var(--text);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.05;
}

h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.65rem, 10vw, 5.6rem);
  text-wrap: balance;
}

h2 {
  margin: 0 0 1.3rem;
  font-size: clamp(2rem, 6.4vw, 3rem);
  scroll-margin-top: 6rem;
  text-wrap: balance;
}

h3 {
  margin: 2.2rem 0 0.8rem;
  color: #ddf6e9;
  font-family: inherit;
  font-size: clamp(1.2rem, 4.5vw, 1.55rem);
  line-height: 1.3;
  scroll-margin-top: 6rem;
}

.hero-copy {
  max-width: 50rem;
  margin-top: 1.6rem;
  color: #c3ceca;
  font-size: 1.06rem;
}

.hero-copy p {
  margin: 0 0 0.9rem;
}

.download-stage {
  display: grid;
  margin: 2.2rem 0 0;
  justify-items: center;
}

.download-stage img {
  width: min(18rem, 74vw);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 1.4rem 3rem rgba(0, 0, 0, 0.48));
}

.download-button {
  min-width: min(100%, 21rem);
  margin-top: -3.75rem;
  padding: 1rem 1.5rem;
  background: var(--mint);
  color: #07110c;
  font-weight: 950;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  clip-path: polygon(0.75rem 0, 100% 0, calc(100% - 0.75rem) 100%, 0 100%);
  box-shadow: 0 1rem 3rem rgba(103, 229, 164, 0.12);
  transition: background 160ms ease, transform 160ms ease;
}

.download-button:hover {
  background: #9af1c4;
  color: #07110c;
  transform: translateY(-2px);
}

.quick-facts {
  display: grid;
  margin-top: 2.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.quick-facts article {
  position: relative;
  min-height: 8rem;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #1c2423, #131819 75%);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: border-color 180ms ease, transform 180ms ease;
}

.quick-facts article::after {
  position: absolute;
  right: -1.6rem;
  bottom: -2rem;
  width: 5rem;
  height: 5rem;
  border: 0.75rem solid rgba(103, 229, 164, 0.08);
  border-radius: 50%;
  content: "";
}

.quick-facts article:hover {
  border-color: rgba(103, 229, 164, 0.62);
  transform: translateY(-3px);
}

.quick-facts span,
.quick-facts strong {
  position: relative;
  z-index: 1;
  display: block;
}

.quick-facts span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.quick-facts strong {
  margin-top: 0.55rem;
  color: var(--mint);
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  line-height: 1.1;
}

.toc {
  margin-bottom: 2.5rem;
  border: 1px solid var(--line);
  background: var(--panel);
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 1rem, 100% 100%, 0 100%);
}

.toc summary {
  position: relative;
  padding: 1rem 3.25rem 1rem 1rem;
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.toc summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.toc summary::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  color: var(--mint);
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  transform: translateY(-50%);
}

.toc[open] summary::after {
  content: "−";
}

.toc nav {
  max-height: 70vh;
  padding: 0 1rem 1.25rem;
  overflow: auto;
  border-top: 1px solid var(--line);
}

.toc ol {
  margin: 0.9rem 0 0;
  padding-left: 1.4rem;
}

.toc ol ol {
  margin-top: 0.35rem;
}

.toc li {
  margin: 0.3rem 0;
  color: var(--muted);
}

.toc a {
  color: #c7d1ce;
  text-decoration: none;
}

.toc a:hover {
  color: var(--mint);
}

.screenshot-section {
  max-width: none;
}

.screenshot-slider {
  position: relative;
  padding-inline: 2.75rem;
}

.screenshot-viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.screenshot-viewport::-webkit-scrollbar {
  display: none;
}

.screenshot-track {
  display: flex;
  margin: 0;
  padding: 0.3rem 0 1rem;
  gap: 1rem;
  list-style: none;
}

.screenshot-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.screenshot-frame {
  position: relative;
  margin: 0;
  padding: 0.45rem;
  overflow: hidden;
  border: 1px solid #384341;
  background: linear-gradient(145deg, #1c2423, #111617);
  box-shadow: 0 1.2rem 2.8rem rgba(0, 0, 0, 0.28);
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 1rem, 100% 100%, 0 100%);
}

.screenshot-frame::after {
  position: absolute;
  inset: 0.45rem;
  border: 1px solid rgba(103, 229, 164, 0.18);
  pointer-events: none;
  content: "";
}

.screenshot-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #080c0d;
}

.slider-control {
  position: absolute;
  z-index: 2;
  top: calc(50% - 2.4rem);
  display: grid;
  width: 2.35rem;
  height: 3.4rem;
  padding: 0;
  place-items: center;
  border: 1px solid #40504b;
  background: #18201f;
  color: var(--mint);
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.slider-control:hover:not(:disabled) {
  border-color: var(--mint);
  background: #202b28;
  transform: translateY(-2px);
}

.slider-control:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.slider-previous {
  left: 0;
}

.slider-next {
  right: 0;
}

.screenshot-meta {
  display: flex;
  margin-top: 0.7rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.screenshot-count {
  min-width: 3.8rem;
  color: #c4ceca;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: right;
}

.screenshot-progress {
  display: block;
  width: min(10rem, 45vw);
  height: 0.28rem;
  overflow: hidden;
  background: #283130;
}

.screenshot-progress i {
  display: block;
  width: 6.6667%;
  height: 100%;
  background: var(--mint);
  transition: width 180ms ease;
}

.article-body {
  max-width: 58rem;
}

.content-section {
  padding: 2.7rem 0;
  border-top: 1px solid var(--line);
}

.content-section > p,
.faq-answer > p {
  color: #c3cdca;
}

.content-section > p:first-of-type {
  font-size: 1.04rem;
}

p {
  margin: 0 0 1rem;
}

strong {
  color: #f8fffb;
}

.process-flow {
  margin: 1.4rem 0;
  padding: 1rem;
  overflow-x: auto;
  border-left: 0.25rem solid var(--mint);
  background: #151b1b;
  color: var(--text) !important;
  font-weight: 800;
  white-space: nowrap;
}

.table-wrap {
  margin: 1.5rem 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #111617;
  box-shadow: inset 0 0.2rem 0 var(--mint);
}

table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.94rem;
}

th,
td {
  padding: 0.82rem 0.9rem;
  border-bottom: 1px solid #293031;
  text-align: left;
  vertical-align: top;
}

th {
  background: #1b2222;
  color: var(--mint);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr {
  transition: background 140ms ease;
}

tbody tr:hover {
  background: rgba(103, 229, 164, 0.055);
}

.feature-list,
.steps-list {
  display: grid;
  margin: 1.35rem 0 1.6rem;
  padding: 0;
  gap: 0.55rem;
  list-style: none;
}

.feature-list li,
.steps-list li {
  position: relative;
  min-height: 3rem;
  padding: 0.72rem 0.9rem 0.72rem 2.6rem;
  border: 1px solid #293031;
  background: #131819;
  color: #cbd5d2;
  transition: border-color 160ms ease, transform 160ms ease;
}

.feature-list li:hover,
.steps-list li:hover {
  border-color: #42524d;
  transform: translateX(0.2rem);
}

.feature-list li::before {
  position: absolute;
  top: 1.18rem;
  left: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--mint);
  content: "";
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.steps-list {
  counter-reset: steps;
}

.steps-list li {
  counter-increment: steps;
  padding-left: 3.25rem;
}

.steps-list li::before {
  position: absolute;
  top: 0.66rem;
  left: 0.75rem;
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  background: var(--mint);
  color: #0a120e;
  content: counter(steps);
  font-size: 0.76rem;
  font-weight: 950;
  clip-path: polygon(0.35rem 0, 100% 0, calc(100% - 0.35rem) 100%, 0 100%);
}

.faq-item {
  margin: 0.65rem 0;
  border: 1px solid #2c3535;
  background: #131819;
}

.faq-item summary {
  position: relative;
  padding: 1rem 3.2rem 1rem 1rem;
  color: var(--text);
  font-weight: 850;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::after {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  color: var(--mint);
  content: "+";
  font-size: 1.45rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 1rem 0.35rem;
  border-top: 1px solid #293031;
}

.faq-answer p:first-child {
  margin-top: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #181a1e;
}

.footer-inner {
  display: grid;
  padding-block: 2.5rem;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.footer-links a {
  color: #bdc8c4;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-inner p {
  margin: 0;
  color: #7f8b87;
  font-size: 0.84rem;
}

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

@media (max-width: 47.99rem) {
  .has-js .nav-toggle {
    display: block;
  }

  .has-js .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-top: 0;
    background: #101516;
    box-shadow: 0 1.25rem 2rem rgba(0, 0, 0, 0.35);
  }

  .has-js .primary-nav[data-open="true"] {
    display: grid;
  }

  .has-js .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .has-js .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .has-js .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .primary-nav a {
    display: block;
  }
}

@media (min-width: 48rem) {
  .shell {
    width: min(100% - 3rem, var(--max));
  }

  .page-hero {
    padding-block: 5rem 3.4rem;
  }

  .home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    grid-template-areas:
      "title download"
      "copy download"
      "facts facts";
    align-items: start;
    column-gap: clamp(2rem, 5vw, 4rem);
  }

  .home-hero h1 {
    grid-area: title;
    font-size: clamp(3.35rem, 6.5vw, 5.2rem);
  }

  .home-hero .download-stage {
    grid-area: download;
    margin-top: 0;
    justify-self: end;
    transform: translateY(-0.75rem);
  }

  .home-hero .hero-copy {
    grid-area: copy;
  }

  .home-hero .quick-facts {
    grid-area: facts;
    width: 100%;
    margin-top: 2.8rem;
  }

  .page-hero::before {
    top: 3.6rem;
  }

  .quick-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .screenshot-slider {
    padding-inline: 3.25rem;
  }

  .screenshot-slide {
    flex-basis: 17rem;
  }

  .screenshot-track {
    padding-inline: calc(50% - 8.5rem);
  }

  .download-stage img {
    width: 21rem;
  }

  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .footer-links {
    justify-content: flex-end;
  }

  .footer-inner p {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64rem) {
  .page-hero {
    padding-top: 6rem;
  }

  .page-hero::before {
    top: 4.35rem;
  }

  .hero-copy {
    font-size: 1.12rem;
  }

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

  .toc {
    max-width: 58rem;
  }

  .content-section {
    padding-block: 3.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
