:root {
  color-scheme: dark;
  --dx-green: #76b900;
  --dx-green-bright: #9fe000;
  --dx-surface: #050505;
  --dx-text: #f7f7f7;
  --dx-muted: #aaa;
  --dx-line: rgba(255, 255, 255, 0.12);
  --dx-gutter: clamp(24px, 5vw, 80px);
  --cover-background-color: transparent;
  --cover-color: var(--dx-text);
  --cover-heading-color: #fff;
  --cover-max-width: none;
  --cover-padding: 0;
  --theme-color: var(--dx-green);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  background: var(--dx-surface);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--dx-text);
  font-family: NVIDIASans, Inter, ui-sans-serif, system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 58%, #000);
  mask-image: linear-gradient(90deg, transparent 8%, #000 58%, #000);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.99) 0%, rgba(5, 5, 5, 0.91) 43%, rgba(5, 5, 5, 0.6) 100%),
    radial-gradient(circle at 82% 42%, #151515 0%, var(--dx-surface) 62%);
}

#launchpad-mesh {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.75;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  transform: translateY(-160%);
  transition: transform 150ms ease-out;
}

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

.dx-header,
.dx-footer {
  position: fixed;
  z-index: 100;
  left: 50%;
  width: min(100%, 1440px);
  padding-inline: var(--dx-gutter);
  transform: translateX(-50%);
}

.dx-header {
  top: 0;
  display: flex;
  align-items: center;
  min-height: 96px;
  border-bottom: 1px solid var(--dx-line);
}

.dx-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #e0e0e0;
  font-size: 18px;
  text-decoration: none;
}

.dx-brand:visited,
.dx-brand:hover {
  color: #e0e0e0;
}

.dx-brand img {
  width: 132px;
  height: auto;
  flex: none;
}

.dx-brand-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.28);
}

.dx-footer {
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  color: #686868;
  font-size: 12px;
}

.dx-footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #4b4b4b;
}

#app,
.cover {
  position: relative;
  z-index: 2;
}

.cover {
  min-height: 100svh !important;
  padding: 126px var(--dx-gutter) 98px !important;
  background: transparent !important;
}

.cover::before,
.cover .mask {
  display: none !important;
}

.cover .cover-main {
  display: grid;
  align-content: center;
  width: min(100%, 1280px);
  max-width: none;
  min-height: calc(100svh - 224px);
  margin: 0 auto;
  padding: 0 !important;
  border: 0;
  background: transparent;
  box-shadow: none;
  gap: 0;
  text-align: left;
}

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

.dx-hero {
  width: 100%;
}

.dx-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #b8b8b8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.dx-eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--dx-green);
  box-shadow: 0 0 18px rgba(118, 185, 0, 0.38);
}

.cover .cover-main .dx-hero h1 {
  max-width: 960px;
  margin: 0;
  border: 0;
  color: #fff;
  font-size: clamp(52px, 6.6vw, 94px);
  font-weight: 300;
  letter-spacing: -0.052em;
  line-height: 0.96;
  text-transform: none;
  text-wrap: balance;
}

.cover .cover-main .dx-intro {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--dx-muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.5;
}

.dx-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(48px, 7vh, 72px);
  border: 1px solid var(--dx-line);
  background: var(--dx-line);
}

.dx-resource-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
  background: rgba(9, 9, 9, 0.9);
  backdrop-filter: blur(14px);
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.dx-resource-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--dx-green);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition:
    opacity 220ms ease,
    transform 260ms ease;
}

.dx-resource-card:hover {
  background: rgba(14, 17, 11, 0.94);
  box-shadow: inset 0 0 0 1px rgba(118, 185, 0, 0.16);
}

.dx-resource-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.dx-resource-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.dx-resource-topline > svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--dx-green);
  stroke-width: 1.25;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.dx-resource-topline > span {
  color: #646464;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.cover .cover-main .dx-resource-card h2 {
  margin: 0;
  border: 0;
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: none;
}

.cover .cover-main .dx-resource-card p {
  margin: 16px 0 28px;
  color: #b5b5b5;
  font-size: 16px;
  line-height: 1.55;
}

.dx-cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 10px 0 6px;
  border-bottom: 1px solid var(--dx-green);
  color: #f5f5f5 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}

.dx-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.dx-cta:hover {
  color: var(--dx-green-bright) !important;
}

.dx-cta:hover svg {
  transform: translateX(3px);
}

.dx-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .cover {
    padding-top: 112px !important;
  }

  .dx-footer {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100%, 1440px);
    margin: 0 auto;
    transform: none;
  }

  .dx-resource-grid {
    grid-template-columns: 1fr;
  }

  .dx-resource-card {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  body::after {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.76), rgba(5, 5, 5, 0.98) 58%),
      radial-gradient(circle at 75% 22%, #171717 0%, #050505 64%);
  }

  .dx-header {
    min-height: 78px;
  }

  .dx-brand {
    gap: 12px;
    font-size: 16px;
  }

  .dx-brand img {
    width: 106px;
  }

  .dx-brand-divider {
    height: 20px;
  }

  .cover {
    padding: 106px var(--dx-gutter) 96px !important;
  }

  .cover .cover-main {
    min-height: calc(100svh - 202px);
  }

  .dx-hero h1 {
    font-size: clamp(46px, 14vw, 68px);
  }

  .dx-resource-grid {
    margin-top: 44px;
  }

  .dx-footer {
    flex-wrap: wrap;
    padding-block: 18px;
  }

  #launchpad-mesh {
    opacity: 0.48;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link,
  .dx-resource-card,
  .dx-resource-card::before,
  .dx-cta svg {
    transition: none;
  }
}
