:root {
  --hg-accent: #d5ff3f;
  --hg-ink: #0b0d0e;
  --hg-ink-soft: #15191b;
  --hg-grid: rgba(213, 255, 63, 0.08);
}

[data-md-color-scheme="default"] {
  --md-primary-fg-color: #0b0d0e;
  --md-accent-fg-color: #5d8f00;
  --md-typeset-a-color: #335f00;
}

[data-md-color-scheme="slate"] {
  --md-default-bg-color: #0b0d0e;
  --md-default-bg-color--light: #15191b;
  --md-default-fg-color: #f5f7f8;
  --md-primary-fg-color: #0b0d0e;
  --md-primary-bg-color: #f5f7f8;
  --md-accent-fg-color: #d5ff3f;
  --md-typeset-a-color: #d5ff3f;
}

.md-header,
.md-tabs {
  background:
    linear-gradient(90deg, rgba(213, 255, 63, 0.14), transparent 30%),
    #0b0d0e;
}

.md-typeset h1 {
  letter-spacing: -0.03em;
  font-weight: 800;
}

.md-typeset h2,
.md-typeset h3 {
  letter-spacing: -0.02em;
}

.md-typeset .md-button--primary {
  background-color: var(--hg-accent);
  border-color: var(--hg-accent);
  color: #0b0d0e;
}

.md-typeset .md-button {
  border-radius: 999px;
  font-weight: 700;
}

.hero-actions {
  margin: 1.5rem 0 2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hg-hero {
  position: relative;
  overflow: hidden;
  margin: -0.8rem 0 2rem;
  padding: 1.4rem 1.2rem 1rem;
  border: 1px solid rgba(213, 255, 63, 0.18);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(213, 255, 63, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(213, 255, 63, 0.04)),
    rgba(11, 13, 14, 0.82);
}

.hg-kicker {
  margin: 0 0 0.8rem;
  color: var(--hg-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hg-hero h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 0.96;
}

.hg-lede {
  max-width: 52rem;
  font-size: 1.05rem;
}

.hg-signal-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 1rem 0 0.4rem;
}

.hg-signal {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(213, 255, 63, 0.2);
  border-radius: 999px;
  background: rgba(213, 255, 63, 0.08);
  color: #f5f7f8;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.hg-grid {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0 2rem;
}

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

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

.hg-panel {
  padding: 1rem 1rem 0.2rem;
  border: 1px solid rgba(213, 255, 63, 0.16);
  border-radius: 1rem;
  background: rgba(11, 13, 14, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hg-panel h3 {
  margin-top: 0;
}

.hg-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(213, 255, 63, 0.3);
  background: rgba(11, 13, 14, 0.82);
}

.md-main {
  background-image:
    linear-gradient(var(--hg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hg-grid) 1px, transparent 1px);
  background-size: 28px 28px;
}

.md-content__inner {
  backdrop-filter: blur(1px);
}

@media screen and (max-width: 76.2344em) {
  .hg-grid-2,
  .hg-grid-3 {
    grid-template-columns: 1fr;
  }
}
