:root {
  --radar-ink: #123047;
  --radar-border: #cbd5df;
  --radar-surface: #eef3f7;
}

[data-md-color-scheme="default"] {
  --md-primary-fg-color: #17344c;
  --md-primary-fg-color--light: #264d69;
  --md-primary-fg-color--dark: #102437;
  --md-accent-fg-color: #0f5d78;
}

.md-header {
  background: linear-gradient(90deg, #17344c 0%, #234d69 100%);
  box-shadow: none;
}

.md-main__inner {
  margin-top: 1.1rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 2rem 2rem 2.15rem;
  border: 1px solid var(--radar-border);
  border-radius: 1.2rem;
  background:
    linear-gradient(135deg, rgba(23, 52, 76, 0.98) 0%, rgba(32, 74, 102, 0.96) 52%, rgba(220, 232, 240, 0.98) 52%, rgba(238, 243, 247, 1) 100%);
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 28, 42, 0.28) 0%, rgba(13, 28, 42, 0.18) 46%, rgba(13, 28, 42, 0.04) 62%, rgba(13, 28, 42, 0) 76%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-top: 0.35rem;
  margin-bottom: 0.6rem;
  color: #ffffff;
  font-weight: 700;
  max-width: min(48rem, 72%);
}

.hero p {
  max-width: min(45rem, 70%);
  font-size: 1.02rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(11, 27, 41, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  color: #d9dfe4;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.hero .md-button {
  border-radius: 999px;
}

.hero .md-button:not(.md-button--primary) {
  color: #17344c;
  border-color: rgba(23, 52, 76, 0.24);
  background-color: rgba(238, 243, 247, 0.76);
}

.md-typeset .grid.cards > ul > li,
.md-typeset .grid.cards > ol > li {
  border-radius: 0.9rem;
  border: 1px solid var(--radar-border);
  box-shadow: none;
}

.md-typeset table:not([class]) {
  border: 1px solid var(--radar-border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.md-typeset table:not([class]) th {
  background-color: var(--radar-surface);
  color: var(--radar-ink);
}

.md-typeset .admonition,
.md-typeset details {
  border-radius: 0.9rem;
  border-width: 0;
  box-shadow: inset 0 0 0 1px var(--radar-border);
}

.md-typeset h2,
.md-typeset h3 {
  color: var(--radar-ink);
}

@media screen and (max-width: 76.234375em) {
  .hero {
    background: linear-gradient(160deg, rgba(23, 52, 76, 0.98) 0%, rgba(35, 77, 105, 0.97) 60%, rgba(238, 243, 247, 1) 100%);
  }

  .hero h1,
  .hero p {
    max-width: min(44rem, 78%);
  }
}

@media screen and (max-width: 44.9375em) {
  .hero {
    padding: 1.4rem;
    border-radius: 1rem;
  }

  .hero h1,
  .hero p {
    max-width: 100%;
  }

  .hero-eyebrow {
    padding: 0.4rem 0.7rem;
  }

  .hero-actions {
    gap: 0.6rem;
  }
}
