:root {
  color-scheme: dark;
  --ink: #090b10;
  --ink-soft: #11151d;
  --panel: #151a24;
  --panel-light: #1c222e;
  --paper: #f2f0e9;
  --muted: #969dab;
  --line: rgb(255 255 255 / 12%);
  --acid: #c7ff3d;
  --acid-dark: #9dcc29;
  --coral: #ff7358;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--ink);
  color: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(rgb(255 255 255 / 2.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2.5%) 1px, transparent 1px),
    var(--ink);
  background-size: 4rem 4rem;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100%, 92rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
}

.site-header {
  min-height: 6.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.45rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 0.55rem;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  transform: rotate(-4deg);
}

.brand-name {
  font-size: 0.9rem;
  font-weight: 760;
  letter-spacing: -0.015em;
}

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

.site-nav a {
  color: #b8bec9;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--acid);
}

.live-status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #c8cdd6;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-dot,
.footer-dot {
  width: 0.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0.3rem rgb(199 255 61 / 10%);
}

.hero {
  min-height: 45rem;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(23rem, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -8rem;
  left: -8rem;
  width: 28rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(199 255 61 / 8%);
  filter: blur(4.5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 2.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow span {
  padding: 0.5rem 0.7rem;
  border: 1px solid rgb(199 255 61 / 36%);
  border-radius: 999px;
  color: var(--acid);
}

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

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4.2rem, 8vw, 7.8rem);
  font-weight: 760;
  line-height: 0.84;
  letter-spacing: -0.075em;
}

h1 em {
  display: block;
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.89em;
  font-weight: 400;
  letter-spacing: -0.065em;
}

.hero-intro {
  max-width: 40rem;
  margin: 2.5rem 0 0;
  color: #a8afbb;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.button {
  min-height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  font-size: 0.83rem;
  font-weight: 780;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--acid);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d5ff70;
}

.button-secondary {
  border-color: var(--line);
  background: rgb(255 255 255 / 3%);
  color: #d4d8df;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgb(255 255 255 / 30%);
  background: rgb(255 255 255 / 7%);
}

.technology-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.technology-list li {
  padding: 0.45rem 0.65rem;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 0.35rem;
  background: rgb(255 255 255 / 2%);
  color: #818998;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
}

.runtime-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 7%), transparent 45%),
    var(--ink-soft);
  box-shadow: 0 2.5rem 7rem rgb(0 0 0 / 38%);
}

.runtime-card::after {
  content: "";
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 12rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--coral);
  filter: blur(5.5rem);
  opacity: 0.16;
  pointer-events: none;
}

.runtime-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.card-label {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.runtime-header h2 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}

.runtime-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  background: rgb(199 255 61 / 10%);
  color: var(--acid);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.runtime-pulse::before {
  content: "";
  width: 0.38rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 rgb(199 255 61 / 30%);
  animation: pulse 2.2s infinite;
}

.request-path {
  position: relative;
  margin: 0;
  padding: 1.2rem 0;
  list-style: none;
}

.request-path::before {
  content: "";
  position: absolute;
  top: 3.7rem;
  bottom: 3.7rem;
  left: 1rem;
  border-left: 1px dashed rgb(199 255 61 / 28%);
}

.request-path li {
  position: relative;
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0;
}

.path-index {
  z-index: 1;
  width: 2rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgb(199 255 61 / 22%);
  border-radius: 50%;
  background: #131822;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 800;
}

.request-path strong,
.request-path small {
  display: block;
}

.request-path strong {
  margin-bottom: 0.28rem;
  font-size: 0.83rem;
}

.request-path small {
  color: #747d8d;
  font-size: 0.69rem;
}

.request-path code {
  color: #a3aab6;
  font-size: 0.7rem;
}

.runtime-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.runtime-meta div {
  min-width: 0;
  padding: 0 0.75rem;
  border-right: 1px solid var(--line);
}

.runtime-meta div:first-child {
  padding-left: 0;
}

.runtime-meta div:last-child {
  padding-right: 0;
  border-right: 0;
}

.runtime-meta dt {
  margin-bottom: 0.45rem;
  color: #697283;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.runtime-meta dd {
  margin: 0;
  color: #c9ced7;
  font-size: 0.72rem;
  font-weight: 700;
}

.deploy-command {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.2rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 0.5rem;
  background: #0b0e14;
  color: #777f8c;
  font-size: 0.68rem;
}

.deploy-command code {
  overflow: hidden;
  color: #bdc4ce;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-result {
  color: var(--acid);
  font-weight: 800;
}

.deployment-section {
  padding: clamp(5rem, 9vw, 8rem) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.section-number,
.feature-number {
  color: var(--acid);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-number {
  margin: 0.5rem 0 0;
}

.section-heading h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  font-weight: 690;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

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

.feature-card {
  position: relative;
  min-height: 24rem;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--ink-soft);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.feature-card:hover {
  border-color: rgb(255 255 255 / 24%);
  transform: translateY(-4px);
}

.feature-card-accent {
  background: var(--acid);
  color: var(--ink);
}

.feature-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.25rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
  color: var(--acid);
}

.feature-card-accent .feature-icon {
  border-color: rgb(9 11 16 / 20%);
  color: var(--ink);
}

.feature-number {
  margin: 0 0 auto;
}

.feature-card-accent .feature-number {
  color: rgb(9 11 16 / 55%);
}

.feature-card h3 {
  margin: 4rem 0 1.2rem;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.feature-card > p:last-child {
  max-width: 30rem;
  margin: 0;
  color: #8f97a5;
  font-size: 0.87rem;
  line-height: 1.7;
}

.feature-card-accent > p:last-child {
  color: rgb(9 11 16 / 68%);
}

.site-footer {
  min-height: 7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: #707887;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer p:first-child {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-dot {
  width: 0.38rem;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 0.45rem rgb(199 255 61 / 0%);
  }

  100% {
    box-shadow: 0 0 0 0 rgb(199 255 61 / 0%);
  }
}

@media (max-width: 64rem) {
  .hero {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-copy {
    max-width: 50rem;
  }

  .runtime-card {
    width: min(100%, 38rem);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 20rem;
  }
}

@media (max-width: 46rem) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  h1 {
    font-size: clamp(3.7rem, 17vw, 6rem);
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-number {
    margin: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.7rem;
  }

  .site-footer p {
    margin: 0;
  }
}

@media (max-width: 32rem) {
  .page-shell {
    padding: 0 1rem;
  }

  .brand-name {
    display: none;
  }

  .live-status {
    font-size: 0.66rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .eyebrow {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .runtime-card {
    padding: 1.15rem;
  }

  .runtime-meta {
    grid-template-columns: 1fr;
  }

  .runtime-meta div,
  .runtime-meta div:first-child,
  .runtime-meta div:last-child {
    padding: 0.75rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .runtime-meta div:first-child {
    padding-top: 0;
  }

  .runtime-meta div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .request-path li {
    grid-template-columns: 2rem 1fr;
  }

  .request-path code {
    display: none;
  }
}

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

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