:root {
  color-scheme: dark;
  --black: #020202;
  --panel: #080908;
  --panel-2: #10110f;
  --line: rgba(255, 255, 255, 0.12);
  --muted: #9a9f98;
  --text: #f1f5ed;
  --green: #65ff7a;
  --cyan: #5ee7ff;
  --amber: #ffc857;
  --red: #ff4d5e;
  --site-gutter: 1rem;
  --site-max-width: 1280px;
  --site-width: min(var(--site-max-width), calc(100% - (var(--site-gutter) * 2)));
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  background: #020202;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #020202;
  background-size: 52px 52px;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.1;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 5px);
}

#signal-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.48;
  pointer-events: none;
}

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

.text-link {
  color: #dfffe3;
  text-decoration: underline;
  text-decoration-color: rgba(101, 255, 122, 0.58);
  text-underline-offset: 0.16em;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--green);
}

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

code {
  padding: 0.08rem 0.35rem;
  border: 1px solid rgba(101, 255, 122, 0.22);
  border-radius: 4px;
  background: rgba(101, 255, 122, 0.08);
  color: #c9ffd0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 10;
  display: flex;
  width: var(--site-width);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 2, 2, 0.76);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(101, 255, 122, 0.46);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(101, 255, 122, 0.18), rgba(94, 231, 255, 0.08)),
    #071008;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 22px rgba(101, 255, 122, 0.18);
}

.brand-mark img {
  width: 1.58rem;
  height: 1.58rem;
  object-fit: contain;
  filter:
    invert(1)
    brightness(1.3)
    contrast(1.2)
    drop-shadow(0 0 5px rgba(101, 255, 122, 0.55));
  opacity: 0.96;
}

.github-button {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f6fbf4;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.github-button:hover,
.github-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(101, 255, 122, 0.62);
  background: rgba(101, 255, 122, 0.1);
  color: var(--green);
  box-shadow: 0 0 22px rgba(101, 255, 122, 0.16);
}

.github-button svg {
  width: 1.28rem;
  height: 1.28rem;
  fill: currentColor;
}

.hero {
  position: relative;
  min-height: 0;
  display: grid;
  align-items: start;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(2, 2, 2, 0.94) 0%, rgba(2, 2, 2, 0.82) 36%, rgba(2, 2, 2, 0.38) 68%, rgba(2, 2, 2, 0.78) 100%),
    linear-gradient(0deg, rgba(2, 2, 2, 0.96) 0%, rgba(2, 2, 2, 0.28) 42%, rgba(2, 2, 2, 0.7) 100%),
    url("assets/slides/gui.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 14% 36%, rgba(101, 255, 122, 0.12) 0 1px, transparent 1px),
    radial-gradient(circle at 78% 72%, rgba(94, 231, 255, 0.16) 0 1px, transparent 1px);
  background-size: 22px 22px, 34px 34px;
  mix-blend-mode: screen;
  opacity: 0.55;
}

.hero-content {
  position: relative;
  width: var(--site-width);
  margin: 0 auto;
  padding: clamp(6rem, 8.5vh, 7.2rem) 0 clamp(1.35rem, 3vh, 2.2rem);
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--green);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.75rem, 2vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow .mark {
  position: relative;
  top: -0.35em;
  margin-left: 0.06em;
  font-size: 0.58em;
  line-height: 0;
}

.section-kicker sup {
  font-size: 0.72em;
  line-height: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  position: relative;
  isolation: isolate;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  color: #f4f8f1;
  font-size: 5.35rem;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: none;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 18px rgba(101, 255, 122, 0.08);
}

h1::before {
  position: absolute;
  left: 0.03em;
  bottom: -0.12em;
  z-index: -1;
  width: min(58%, 11rem);
  height: 0.035em;
  content: "";
  background:
    linear-gradient(90deg, rgba(101, 255, 122, 0.72), rgba(94, 231, 255, 0.2) 58%, transparent 100%);
  box-shadow:
    0 0 6px rgba(101, 255, 122, 0.16),
    0 0 8px rgba(94, 231, 255, 0.04);
  transform: skewX(-10deg);
}

h1::after {
  content: none;
}

.hero-copy {
  width: min(820px, 100%);
  margin: 1.5rem 0 0;
  color: #d9ded7;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.hero-footnote {
  width: min(760px, 100%);
  margin: 1.45rem 0 0;
  color: #8d968b;
  font-size: 0.72rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #f6fbf4;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(101, 255, 122, 0.58);
  background: rgba(101, 255, 122, 0.1);
}

.button.primary {
  border-color: rgba(101, 255, 122, 0.48);
  background:
    linear-gradient(180deg, rgba(101, 255, 122, 0.18), rgba(101, 255, 122, 0.06)),
    rgba(6, 18, 8, 0.78);
  color: #dcffe1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 18px rgba(101, 255, 122, 0.08);
}

.button.primary:hover,
.button.primary:focus-visible {
  border-color: rgba(101, 255, 122, 0.64);
  background:
    linear-gradient(180deg, rgba(101, 255, 122, 0.24), rgba(101, 255, 122, 0.09)),
    rgba(8, 24, 10, 0.84);
  color: #f0fff2;
}

.button.quiet {
  color: #c7ccc5;
}

.danger-panel {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 77, 94, 0.55);
  border-left: 4px solid var(--red);
  border-radius: 7px;
  background: rgba(255, 77, 94, 0.09);
  color: #ffe0e4;
}

.danger-panel summary {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.38rem;
  cursor: pointer;
  list-style: none;
}

.danger-panel summary::-webkit-details-marker {
  display: none;
}

.danger-panel summary::after {
  grid-column: 2;
  grid-row: 1;
  color: var(--red);
  content: "+";
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.danger-panel[open] summary::after {
  content: "-";
}

.danger-panel-hint {
  grid-column: 1 / -1;
  justify-self: start;
  color: #ff9aa4;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.danger-panel-body {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  color: #c9d0c7;
}

.danger-panel-body p,
.danger-panel-body ol {
  margin: 0.75rem 0 0;
}

.danger-panel-body ol {
  padding-left: 1.35rem;
}

.danger-panel-body li + li {
  margin-top: 0.32rem;
}

.sip-command-block {
  max-width: 36rem;
  margin: 0.85rem 0 0.2rem;
  padding: 0.76rem 0.82rem;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.34);
}

.sip-command-block code {
  padding: 0;
  border: 0;
  background: transparent;
  color: #f4f8f1;
  font-size: 0.86rem;
  line-height: 1.45;
}

.danger-panel[open] .danger-panel-hint {
  color: #ffc7cd;
}

.danger-panel strong {
  color: #fff;
}

.start-strip {
  width: var(--site-width);
  margin: 0 auto;
  padding: clamp(0.8rem, 1.8vw, 1.2rem) 0 0;
}

.hero-metrics {
  display: grid;
  width: 100%;
  margin-top: 1rem;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(2, 2, 2, 0.76);
  backdrop-filter: blur(12px);
}

.hero-metrics div {
  min-width: 0;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-metrics span,
.link-grid span,
.feature-code {
  display: block;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-metrics strong {
  display: block;
  margin-top: 0.25rem;
  color: #fff;
  font-size: clamp(0.9rem, 2.1vw, 1.05rem);
  line-height: 1.25;
}

.section {
  width: var(--site-width);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.section.intro {
  padding-top: clamp(2.2rem, 4vw, 3.8rem);
  padding-bottom: clamp(1.75rem, 3.5vw, 3rem);
}

.setup {
  padding-bottom: clamp(2rem, 4vw, 3.6rem);
}

.setup + .credits {
  padding-top: clamp(2rem, 4vw, 3.6rem);
}

.section h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead,
.final-cta p {
  max-width: 900px;
  margin: 1.35rem 0 0;
  color: #cfd5cc;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
}

.split,
.feature-grid,
.warning-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.split article,
.feature-grid article,
.warning-card,
.link-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.split article,
.feature-grid article,
.warning-card {
  padding: 1.2rem;
}

.split h3,
.feature-grid h3,
.warning-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.16rem;
  line-height: 1.2;
}

.split p,
.feature-grid p,
.warning-card p,
.link-grid em,
.setup-note {
  margin: 0.75rem 0 0;
  color: #abb2a9;
}

.release-strip {
  display: flex;
  width: 100%;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.release-link {
  display: inline-flex;
  min-width: 0;
  min-height: 3.05rem;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.78rem;
  border-radius: 5px;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.release-link.primary {
  flex: 1 1 auto;
  border: 1px solid rgba(101, 255, 122, 0.5);
  background:
    linear-gradient(180deg, rgba(101, 255, 122, 0.2), rgba(101, 255, 122, 0.075)),
    rgba(6, 20, 8, 0.84);
  color: #dcffe1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 18px rgba(101, 255, 122, 0.08);
}

.release-link.secondary {
  flex: 0 1 auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
  color: #c4cec0;
}

.release-link.manual {
  flex: 0 0 16rem;
  flex-direction: column;
  gap: 0.16rem;
  text-align: center;
  border: 1px solid rgba(255, 77, 94, 0.52);
  background:
    linear-gradient(180deg, rgba(255, 77, 94, 0.28), rgba(95, 8, 18, 0.84)),
    rgba(18, 2, 5, 0.78);
  color: #fff1f3;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 0 22px rgba(255, 77, 94, 0.1);
}

.release-link.manual span {
  line-height: 1;
}

.release-link.manual small {
  display: block;
  color: #ffb8c0;
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: normal;
  white-space: nowrap;
}

.release-link:hover,
.release-link:focus-visible {
  transform: translateY(-1px);
}

.release-link.manual:hover,
.release-link.manual:focus-visible {
  border-color: rgba(255, 77, 94, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 77, 94, 0.36), rgba(117, 10, 22, 0.92)),
    rgba(22, 2, 6, 0.84);
}

.release-link.secondary:hover,
.release-link.secondary:focus-visible {
  border-color: rgba(101, 255, 122, 0.48);
  background: rgba(101, 255, 122, 0.09);
}

.release-link.primary:hover,
.release-link.primary:focus-visible {
  border-color: rgba(101, 255, 122, 0.68);
  background:
    linear-gradient(180deg, rgba(101, 255, 122, 0.27), rgba(101, 255, 122, 0.105)),
    rgba(8, 26, 10, 0.88);
  color: #f0fff2;
}

.release-link.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.button.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.screenshot-band {
  width: 100%;
  padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(2rem, 5vw, 4.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(101, 255, 122, 0.08), transparent 34%, rgba(255, 200, 87, 0.08)),
    #030303;
}

.screenshot-carousel {
  width: var(--site-width);
  margin: 0 auto;
}

.screenshot-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.88);
  overflow: hidden;
}

.screenshot-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3394 / 2336;
  background: #050505;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050505;
  opacity: 0;
  transform: translateX(1.2rem);
  transition: opacity 420ms ease, transform 420ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: clamp(1.95rem, 2.4vw, 2.35rem);
  height: clamp(3rem, 4.6vw, 3.85rem);
  padding: 0;
  place-items: center;
  border: 1px solid rgba(101, 255, 122, 0.52);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(101, 255, 122, 0.16), rgba(101, 255, 122, 0.035)),
    rgba(0, 0, 0, 0.72);
  color: var(--green);
  cursor: pointer;
  font-size: clamp(1.58rem, 2.65vw, 2rem);
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 0 8px rgba(101, 255, 122, 0.82),
    0 0 22px rgba(101, 255, 122, 0.38);
  transform: translateY(-50%);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 0 20px rgba(101, 255, 122, 0.08),
    0 0 24px rgba(101, 255, 122, 0.18),
    0 22px 56px rgba(0, 0, 0, 0.55);
}

.carousel-arrow.previous {
  left: clamp(0.5rem, 1.15vw, 1rem);
}

.carousel-arrow.next {
  right: clamp(0.5rem, 1.15vw, 1rem);
}

.carousel-arrow::before {
  position: absolute;
  top: 0.48rem;
  bottom: 0.48rem;
  width: 0.13rem;
  border-radius: 999px;
  background: #baffc3;
  content: "";
  box-shadow:
    0 0 8px rgba(101, 255, 122, 0.92),
    0 0 22px rgba(101, 255, 122, 0.62),
    0 0 46px rgba(101, 255, 122, 0.36);
}

.carousel-arrow.previous::before {
  left: 0.34rem;
}

.carousel-arrow.next::before {
  right: 0.34rem;
}

.carousel-arrow span {
  position: relative;
  top: -0.03em;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  border-color: rgba(186, 255, 195, 0.92);
  background:
    linear-gradient(180deg, rgba(101, 255, 122, 0.24), rgba(101, 255, 122, 0.08)),
    rgba(0, 0, 0, 0.78);
  color: #d8ffdc;
  box-shadow:
    inset 0 0 28px rgba(101, 255, 122, 0.14),
    0 0 34px rgba(101, 255, 122, 0.34),
    0 24px 66px rgba(0, 0, 0, 0.66);
}

.carousel-arrow.previous:hover,
.carousel-arrow.previous:focus-visible {
  transform: translate(-2px, -50%);
}

.carousel-arrow.next:hover,
.carousel-arrow.next:focus-visible {
  transform: translate(2px, -50%);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.58rem;
  margin-top: 1.05rem;
}

.carousel-dot {
  width: 0.72rem;
  height: 0.72rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.carousel-dot:hover,
.carousel-dot:focus-visible {
  border-color: rgba(101, 255, 122, 0.72);
  background: rgba(101, 255, 122, 0.36);
}

.carousel-dot.is-active {
  border-color: rgba(101, 255, 122, 0.86);
  background: var(--green);
  box-shadow: 0 0 18px rgba(101, 255, 122, 0.42);
  transform: scale(1.16);
}

.carousel-captions {
  width: 100%;
  min-height: 4.25rem;
  margin: 0;
  padding: 0.85rem 1rem 0.95rem;
  border-top: 1px solid rgba(101, 255, 122, 0.15);
  background:
    linear-gradient(180deg, rgba(101, 255, 122, 0.065), rgba(101, 255, 122, 0.025)),
    rgba(0, 0, 0, 0.14);
}

.carousel-caption {
  display: none;
  margin: 0;
  color: #b8c7b5;
  font-size: clamp(0.88rem, 1.25vw, 1rem);
  line-height: 1.52;
}

.carousel-caption.is-active {
  display: block;
}

.carousel-caption strong {
  color: #f4fff1;
}

.carousel-note {
  display: block;
  margin-top: 0.62rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--amber);
  color: #9ea99b;
}

.key-combo {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0 0.12rem;
  white-space: nowrap;
  vertical-align: -0.08em;
}

.key-combo kbd {
  display: inline-grid;
  min-width: 1.8em;
  height: 1.65em;
  padding: 0 0.38em;
  place-items: center;
  border: 1px solid rgba(186, 255, 195, 0.42);
  border-bottom-color: rgba(101, 255, 122, 0.72);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(101, 255, 122, 0.105) 44%, rgba(4, 18, 6, 0.92)),
    #071208;
  color: #f0fff1;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -2px 0 rgba(101, 255, 122, 0.22),
    0 2px 0 rgba(12, 70, 20, 0.72),
    0 0 14px rgba(101, 255, 122, 0.14);
  text-shadow: 0 0 8px rgba(101, 255, 122, 0.28);
}

.grid-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.feature-code {
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(101, 255, 122, 0.28);
  border-radius: 4px;
  color: var(--green);
  background: rgba(101, 255, 122, 0.08);
}

.feature-grid sup {
  color: var(--green);
  font-size: 0.62em;
  font-weight: 900;
  line-height: 0;
}

.feature-footnote {
  max-width: 980px;
  margin: 1rem 0 0;
  color: #7f897d;
  font-size: 0.76rem;
  line-height: 1.55;
}

.warning-section {
  width: 100%;
  padding-left: max(var(--site-gutter), calc((100% - var(--site-max-width)) / 2));
  padding-right: max(var(--site-gutter), calc((100% - var(--site-max-width)) / 2));
  border-top: 1px solid rgba(255, 77, 94, 0.26);
  border-bottom: 1px solid rgba(255, 77, 94, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 77, 94, 0.12), transparent 46%),
    #040202;
}

.warning-card.hard {
  border-color: rgba(255, 77, 94, 0.6);
  background: rgba(255, 77, 94, 0.09);
}

.setup-lead {
  max-width: 930px;
}

.setup-guide {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: setup-step;
}

.setup-guide-item {
  position: relative;
  min-height: 4.4rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
  color: #c3c9c1;
  counter-increment: setup-step;
}

.setup-guide-item::before {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1;
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid rgba(101, 255, 122, 0.42);
  border-radius: 7px;
  color: var(--green);
  content: counter(setup-step, decimal-leading-zero);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 900;
}

.setup-disclosure {
  min-width: 0;
  margin: 0 1rem 1rem 4.8rem;
  border: 1px solid rgba(101, 255, 122, 0.24);
  border-radius: 7px;
  background: rgba(101, 255, 122, 0.045);
}

.setup-disclosure > summary {
  display: flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  padding: 0.72rem 1rem;
  cursor: pointer;
  list-style: none;
  color: #dfffe3;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.setup-disclosure > summary::-webkit-details-marker {
  display: none;
}

.setup-disclosure > summary::before,
.setup-disclosure > summary::after {
  color: var(--green);
  content: "↓";
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, color 160ms ease;
}

.setup-disclosure[open] > summary::before,
.setup-disclosure[open] > summary::after {
  content: "↑";
}

.setup-disclosure > summary:hover,
.setup-disclosure > summary:focus-visible {
  background: rgba(101, 255, 122, 0.09);
  color: var(--green);
}

.setup-disclosure:hover,
.setup-disclosure:focus-within {
  border-color: rgba(101, 255, 122, 0.72);
}

.setup-expanded {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid rgba(101, 255, 122, 0.16);
}

.setup-copy {
  min-width: 0;
  color: #c3c9c1;
}

.setup-visible {
  padding: 1rem 1rem 1rem 4.8rem;
}

.setup-copy strong {
  display: block;
  color: #fff;
}

.setup-copy em {
  color: #fff;
  font-style: normal;
  font-weight: 800;
}

.setup-subtitle {
  display: block;
  margin-top: 0.82rem;
  color: #fff;
  font-weight: 800;
}

.setup-danger {
  display: block;
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 77, 94, 0.58);
  border-radius: 7px;
  background: rgba(255, 77, 94, 0.09);
  color: #c9d0c7;
  font-weight: 400;
}

.setup-danger-title {
  display: block;
  margin-bottom: 0.28rem;
  color: #fff;
  font-weight: 400;
}

.setup-command-block {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0.72rem 0 0.2rem;
  overflow: hidden;
  border: 1px solid rgba(101, 255, 122, 0.38);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(101, 255, 122, 0.105), rgba(101, 255, 122, 0.045)),
    #030603;
}

.setup-command-block code {
  display: block;
  min-width: 0;
  padding: 0.76rem 0.82rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #baffc3;
  font-size: 0.86rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.copy-command {
  min-width: 5.2rem;
  padding: 0 0.82rem;
  border: 0;
  border-left: 1px solid rgba(101, 255, 122, 0.32);
  background: rgba(101, 255, 122, 0.14);
  color: #dfffe3;
  cursor: pointer;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.copy-command:hover,
.copy-command:focus-visible,
.copy-command.is-copied {
  background: var(--green);
  color: #031105;
}

.setup-shot-grid {
  display: grid;
  min-width: 0;
  gap: 0.74rem;
}

.setup-shot-grid.single {
  grid-template-columns: minmax(0, 20rem);
}

.setup-shot-grid.quad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.setup-shot-grid.driver-flow,
.setup-shot-grid.helper-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.setup-shot-grid.nvidia-flow {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.setup-shot-grid .wide {
  grid-column: span 2;
}

.setup-shot {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #030303;
}

.setup-shot.callout-shot {
  border-color: rgba(255, 200, 87, 0.72);
  box-shadow: 0 0 28px rgba(255, 200, 87, 0.08);
}

.setup-shot img {
  width: 100%;
  height: auto;
  max-height: 25.5rem;
  object-fit: contain;
  background: #000;
}

.setup-shot-grid.single .setup-shot img,
.setup-shot-grid.helper-flow .setup-shot img {
  max-height: 27rem;
}

.setup-shot figcaption {
  padding: 0.48rem 0.58rem 0.56rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #abb2a9;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.setup-note {
  max-width: 900px;
  padding-left: 1rem;
  border-left: 3px solid var(--amber);
}

.credits h2 {
  max-width: 990px;
}

.link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-grid a {
  min-height: 12rem;
  padding: 1.1rem;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.link-grid a:hover,
.link-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(94, 231, 255, 0.55);
  background: rgba(94, 231, 255, 0.06);
}

.link-grid strong {
  display: block;
  margin-top: 1rem;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.15;
}

.link-grid em {
  display: block;
  font-style: normal;
}

.credits-footnote {
  max-width: 980px;
  margin: 1rem 0 0;
  color: #7f897d;
  font-size: 0.76rem;
  line-height: 1.55;
}

.final-cta {
  padding-top: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.final-cta .button {
  margin-top: 1.4rem;
}

.cta-actions .button {
  margin-top: 0;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: var(--site-width);
  margin: 0 auto;
  padding: 1.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #888e86;
  font-size: 0.9rem;
}

.site-footer::before {
  position: absolute;
  left: 50%;
  top: -1px;
  z-index: -1;
  width: 100vw;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
}

.footer-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.62rem;
}

.footer-brand img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  filter:
    invert(1)
    brightness(1.18)
    contrast(1.18)
    drop-shadow(0 0 6px rgba(101, 255, 122, 0.36));
}

.footer-brand span {
  display: grid;
  gap: 0.02rem;
}

.footer-brand strong {
  color: #f4fff1;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.footer-brand em {
  color: #889286;
  font-size: 0.78rem;
  font-style: normal;
}

.policy-trigger {
  display: inline-flex;
  min-height: 2.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.46rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: #c1cabd;
  font-size: 0.78rem;
  font-weight: 800;
}

.policy-trigger:hover,
.policy-trigger:focus-visible {
  border-color: rgba(101, 255, 122, 0.5);
  background: rgba(101, 255, 122, 0.08);
  color: #e7ffea;
}

.overlay-host {
  position: relative;
  isolation: isolate;
}

.overlay-host.is-open,
.overlay-host:hover,
.overlay-host:focus-within {
  z-index: 200;
}

.footer-policy {
  display: inline-flex;
  justify-content: flex-end;
}

.policy-overlay {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(46rem, calc(100vw - 2rem));
  max-height: min(68vh, 34rem);
  padding: 1rem;
  overflow: auto;
  border: 1px solid rgba(101, 255, 122, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 20, 15, 0.98), rgba(4, 5, 4, 0.98)),
    #050605;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.86);
  color: #b9c2b6;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.overlay-host.is-open .policy-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.policy-overlay p {
  margin: 0 0 0.65rem;
  color: #b9c2b6;
  font-size: 0.9rem;
}

.policy-overlay ul {
  display: grid;
  gap: 0.34rem;
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  color: #aab4a7;
  font-size: 0.88rem;
}

.policy-overlay strong {
  color: #f4f8f1;
}

.policy-overlay a {
  color: #dfffe3;
  text-decoration: underline;
  text-decoration-color: rgba(101, 255, 122, 0.5);
  text-underline-offset: 0.16em;
}

@media (max-width: 980px) {
  .feature-grid,
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content {
    padding-bottom: 4.5rem;
  }

  h1 {
    font-size: 4.85rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .hero-backdrop {
    background-image:
      linear-gradient(0deg, rgba(2, 2, 2, 0.96) 0%, rgba(2, 2, 2, 0.58) 42%, rgba(2, 2, 2, 0.8) 100%),
      url("assets/slides/gui.webp");
    background-position: 58% center;
  }

  .hero-content {
    padding-top: 7.6rem;
    padding-bottom: 3rem;
  }

  h1 {
    font-size: 3.85rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .release-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .release-link {
    width: 100%;
  }

  .release-link.manual {
    flex-basis: auto;
  }

  .hero-metrics,
  .split,
  .feature-grid,
  .warning-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding: 0.72rem 0.85rem;
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .carousel-arrow::before {
    top: 0.42rem;
    bottom: 0.42rem;
  }

  .setup-visible {
    padding: 4.4rem 1rem 1rem;
  }

  .setup-disclosure {
    margin: 0 1rem 1rem;
  }

  .setup-disclosure > summary {
    padding: 0.72rem;
  }

  .setup-expanded {
    padding: 0.75rem;
  }

  .setup-command-block {
    grid-template-columns: 1fr;
  }

  .copy-command {
    min-height: 2.4rem;
    border-top: 1px solid rgba(101, 255, 122, 0.32);
    border-left: 0;
  }

  .setup-shot-grid.single,
  .setup-shot-grid.quad,
  .setup-shot-grid.driver-flow,
  .setup-shot-grid.helper-flow,
  .setup-shot-grid.nvidia-flow {
    grid-template-columns: 1fr;
  }

  .setup-shot-grid .wide {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .footer-brand,
  .footer-policy {
    justify-content: flex-start;
  }

  .footer-policy,
  .policy-trigger {
    width: 100%;
  }

  .policy-overlay {
    left: 0;
    right: auto;
    width: min(100%, calc(100vw - 2rem));
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 3.25rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  #signal-canvas {
    display: none;
  }
}
