:root {
  color-scheme: dark;
  --page-gutter: clamp(24px, 5vw, 80px);
  --content-width: 1280px;
  --brand-green: #76b900;
  --brand-green-bright: #9fe000;
  --surface: #050505;
  --surface-raised: #0c0c0c;
  --line: rgba(255, 255, 255, 0.1);
  --muted: #a7a7a7;
  --mesh-x: 0px;
  --mesh-y: 0px;
  --spot-x: 72%;
  --spot-y: 48%;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
}

html {
  background: var(--surface);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text-color-primary, #f7f7f7);
  font-family: var(--font-sans, Inter, ui-sans-serif, system-ui, sans-serif);
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

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

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.99) 0%, rgba(5, 5, 5, 0.93) 45%, rgba(5, 5, 5, 0.68) 100%),
    radial-gradient(circle at 80% 40%, #121212 0%, #050505 62%);
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.36;
  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;
  mask-image: linear-gradient(90deg, transparent 5%, #000 55%, #000 100%);
}

.pointer-light {
  position: absolute;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    circle 260px at var(--spot-x) var(--spot-y),
    rgba(118, 185, 0, 0.07),
    transparent 72%
  );
  transition: opacity 250ms ease-out;
}

.ambient {
  position: absolute;
  z-index: -4;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.ambient-one {
  width: 34vw;
  height: 34vw;
  right: -15vw;
  top: 5vh;
  background: rgba(118, 185, 0, 0.055);
}

.ambient-two {
  width: 24vw;
  height: 24vw;
  left: 30vw;
  bottom: -20vw;
  background: rgba(255, 255, 255, 0.025);
}

.geometry {
  position: absolute;
  z-index: -2;
  inset: -3%;
  width: 106%;
  height: 106%;
  pointer-events: none;
  opacity: 0.72;
  transform: translate3d(var(--mesh-x), var(--mesh-y), 0) scale(1.02);
  transform-origin: 70% 50%;
  transition: transform 900ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mesh-triangle {
  fill: url(#mesh-fill);
  stroke: rgba(255, 255, 255, 0.075);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
  will-change: opacity;
}

.mesh-triangle.is-accent {
  fill: url(#accent-fill);
  stroke: rgba(118, 185, 0, 0.2);
  animation: accent-breathe 5s ease-in-out infinite;
}

.mesh-node {
  fill: url(#node-fill);
  opacity: 0.58;
  animation: node-breathe 4s ease-in-out infinite;
}

.mesh-ripple polygon {
  fill: rgba(118, 185, 0, 0.025);
  stroke: rgba(159, 224, 0, 0.58);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  animation: facet-ripple 900ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.site-header,
.hero,
.site-footer {
  width: min(100%, calc(var(--content-width) + (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding-inline: var(--page-gutter);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  text-decoration: none;
}

.nvidia-logo {
  width: 132px;
  height: auto;
  flex: none;
}

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

.product-name {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #e0e0e0;
}

.hero {
  display: grid;
  align-content: center;
  min-height: 560px;
  padding-block: clamp(76px, 12vh, 148px);
}

.hero-copy {
  width: min(680px, 62vw);
}

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

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

h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.93;
  text-wrap: balance;
}

.hero-description {
  max-width: 560px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.5;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 190px;
  text-decoration: none;
  box-shadow: 0 0 0 rgba(118, 185, 0, 0);
  transition:
    background-color 200ms ease-out,
    box-shadow 250ms ease-out,
    transform 200ms ease-out;
}

.hero-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 200ms ease-out;
}

.hero-cta:hover {
  box-shadow: 0 10px 32px rgba(118, 185, 0, 0.16);
  transform: translateY(-2px);
}

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

.site-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  color: #636363;
  font-size: 12px;
}

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

@keyframes accent-breathe {
  0%,
  100% {
    opacity: 0.52;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes node-breathe {
  0%,
  100% {
    opacity: 0.34;
  }
  50% {
    opacity: 0.78;
  }
}

@keyframes facet-ripple {
  from {
    opacity: 0.8;
    transform: scale(0.35) rotate(0deg);
  }
  to {
    opacity: 0;
    transform: scale(2.4) rotate(38deg);
  }
}

@media (max-width: 760px) {
  .page-shell {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.98) 70%),
      radial-gradient(circle at 75% 22%, #171717 0%, #050505 64%);
  }

  .page-shell::before {
    opacity: 0.22;
    mask-image: linear-gradient(180deg, #000, transparent 82%);
  }

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

  .nvidia-logo {
    width: 106px;
  }

  .brand-divider {
    height: 20px;
  }

  .product-name {
    font-size: 16px;
  }

  .geometry {
    inset: -6% -38% auto -8%;
    width: 150%;
    height: 70%;
    opacity: 0.48;
  }

  .hero {
    min-height: auto;
    padding-block: 110px 90px;
  }

  .hero-copy {
    width: 100%;
  }

  .eyebrow {
    align-items: flex-start;
    max-width: 280px;
    line-height: 1.5;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(54px, 16vw, 64px);
    line-height: 0.98;
    text-wrap: wrap;
  }

  .hero-description {
    margin-top: 26px;
  }

  .hero-actions {
    margin-top: 34px;
  }

  .hero-cta {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .geometry {
    transform: none;
  }
}
