@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --md-text-font: "Space Grotesk";
  --md-code-font: "IBM Plex Mono";
  --ta-radius-xl: 28px;
  --ta-radius-lg: 20px;
  --ta-radius-md: 14px;
  --ta-shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.18);
  --ta-shadow-md: 0 14px 40px rgba(0, 0, 0, 0.12);
  --ta-border-light: rgba(15, 23, 42, 0.1);
  --ta-border-dark: rgba(255, 255, 255, 0.12);
  --ta-amber: #f4b400;
  --ta-amber-soft: rgba(244, 180, 0, 0.18);
  --ta-ink: #0b0d12;
}

[data-md-color-scheme="default"] {
  --md-default-bg-color: #fbf8f1;
  --md-default-bg-color--light: #ffffff;
  --md-default-bg-color--lighter: #fffdf8;
  --md-default-bg-color--lightest: #fffefb;
  --md-default-fg-color: #16181d;
  --md-default-fg-color--light: #4f5561;
  --md-default-fg-color--lighter: #7a818d;
  --md-primary-fg-color: #111111;
  --md-primary-bg-color: #ffffff;
  --md-accent-fg-color: #b46900;
  --md-code-bg-color: #f1ece1;
  --md-typeset-a-color: #a96100;
}

[data-md-color-scheme="slate"] {
  --md-default-bg-color: #000000;
  --md-default-bg-color--light: #000000;
  --md-default-bg-color--lighter: #050505;
  --md-default-bg-color--lightest: #0a0a0a;
  --md-default-fg-color: #f5f1e8;
  --md-default-fg-color--light: rgba(245, 241, 232, 0.72);
  --md-default-fg-color--lighter: rgba(245, 241, 232, 0.44);
  --md-primary-fg-color: #000000;
  --md-primary-bg-color: #ffffff;
  --md-accent-fg-color: #ffc247;
  --md-code-bg-color: #050505;
  --md-footer-bg-color: #000000;
  --md-footer-bg-color--dark: #000000;
  --md-typeset-a-color: #ffc247;
}

body {
  background:
    radial-gradient(circle at top left, rgba(244, 180, 0, 0.08), transparent 22%),
    radial-gradient(circle at top right, rgba(235, 94, 40, 0.08), transparent 24%),
    var(--md-default-bg-color);
}

[data-md-color-scheme="slate"] body {
  background:
    radial-gradient(circle at top left, rgba(244, 180, 0, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 18%),
    #000000;
}

.md-header {
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--md-default-bg-color) 84%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--md-default-fg-color) 10%, transparent);
}

.md-tabs,
.md-header__source,
.md-search__form {
  font-family: var(--md-text-font);
}

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

.md-content__inner {
  max-width: 860px;
  padding-bottom: 3rem;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  letter-spacing: -0.03em;
  font-weight: 700;
}

.md-typeset h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.md-typeset h2 {
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
  margin-top: 2.8rem;
  padding-top: 0.4rem;
}

.md-typeset h2 + p,
.md-typeset h2 + ul,
.md-typeset h2 + table {
  margin-top: 1rem;
}

.md-typeset p,
.md-typeset li {
  font-size: 0.98rem;
  line-height: 1.72;
}

.md-typeset strong {
  color: inherit;
}

.md-typeset table:not([class]) {
  display: table;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--md-default-fg-color) 10%, transparent);
  border-radius: var(--ta-radius-lg);
  background: color-mix(in srgb, var(--md-default-bg-color) 88%, var(--md-accent-fg-color) 12%);
  box-shadow: var(--ta-shadow-md);
}

.md-typeset table:not([class]) th,
.md-typeset table:not([class]) td {
  padding: 0.95rem 1rem;
  border-top: 1px solid color-mix(in srgb, var(--md-default-fg-color) 8%, transparent);
}

.md-typeset table:not([class]) thead th {
  border-top: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: color-mix(in srgb, var(--md-default-bg-color) 70%, var(--md-accent-fg-color) 30%);
}

.md-typeset code {
  border-radius: 0.55rem;
  padding: 0.15rem 0.42rem;
}

.md-typeset pre > code {
  border-radius: var(--ta-radius-lg);
}

.md-typeset ul li::marker,
.md-typeset ol li::marker {
  color: var(--md-accent-fg-color);
}

.md-sidebar__scrollwrap {
  padding-top: 0.5rem;
}

.md-nav--primary .md-nav__title,
.md-nav--primary .md-nav__item > .md-nav__link {
  border-radius: 0.9rem;
}

.md-nav--primary .md-nav__item > .md-nav__link:hover,
.md-nav--primary .md-nav__item > .md-nav__link:focus {
  background: color-mix(in srgb, var(--md-accent-fg-color) 14%, transparent);
}

.md-nav--primary .md-nav__item .md-nav__link--active {
  background: color-mix(in srgb, var(--md-accent-fg-color) 18%, transparent);
  font-weight: 700;
}

.md-nav--primary .md-nav__title {
  background: transparent;
  color: var(--md-default-fg-color);
}

.md-nav__item--section > .md-nav__link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--md-default-fg-color--light);
}

.hero-mark {
  display: flex;
  justify-content: center;
  margin: 0.6rem 0 1.2rem;
}

.hero-mark img {
  width: min(480px, 90vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.18));
}

.hero-panel {
  position: relative;
  overflow: hidden;
  margin: 1.3rem 0 2rem;
  padding: 1.4rem;
  border: 1px solid color-mix(in srgb, var(--md-default-fg-color) 12%, transparent);
  border-radius: var(--ta-radius-xl);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--md-accent-fg-color) 22%, transparent), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--md-default-bg-color) 88%, var(--md-accent-fg-color) 12%), color-mix(in srgb, var(--md-default-bg-color) 95%, black 5%));
  box-shadow: var(--ta-shadow-lg);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -8% -36% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--md-accent-fg-color) 20%, transparent);
  filter: blur(24px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--md-accent-fg-color);
  background: color-mix(in srgb, var(--md-accent-fg-color) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--md-accent-fg-color) 18%, transparent);
}

.hero-title {
  margin: 0.9rem 0 0.7rem;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.92;
  max-width: 11ch;
}

.hero-lead {
  max-width: 66ch;
  margin: 0 0 1.1rem;
  font-size: 1.07rem;
  line-height: 1.7;
}

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

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.hero-action.primary {
  background: var(--ta-ink);
  color: #fff8ef;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-md-color-scheme="slate"] .hero-action.primary {
  background: #f5f1e8;
  color: #0c0c0c;
}

.hero-action.secondary {
  color: inherit;
  background: color-mix(in srgb, var(--md-default-bg-color) 78%, var(--md-accent-fg-color) 22%);
  border: 1px solid color-mix(in srgb, var(--md-default-fg-color) 10%, transparent);
}

.hero-action:hover,
.hero-action:focus {
  transform: translateY(-1px);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.95rem;
}

.hero-card {
  position: relative;
  z-index: 1;
  padding: 1rem 1rem 1.05rem;
  border-radius: var(--ta-radius-lg);
  background: color-mix(in srgb, var(--md-default-bg-color) 82%, var(--md-accent-fg-color) 18%);
  border: 1px solid color-mix(in srgb, var(--md-default-fg-color) 10%, transparent);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--md-default-fg-color) 7%, transparent);
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.hero-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 1.6rem;
}

.signal-card {
  padding: 1rem;
  border-radius: var(--ta-radius-lg);
  border: 1px solid color-mix(in srgb, var(--md-default-fg-color) 10%, transparent);
  background: color-mix(in srgb, var(--md-default-bg-color) 90%, var(--md-accent-fg-color) 10%);
}

.signal-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.3rem;
  line-height: 1;
}

.signal-card span {
  font-size: 0.84rem;
  color: var(--md-default-fg-color--light);
}

.section-band {
  margin: 2.2rem 0 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: var(--ta-radius-lg);
  border: 1px solid color-mix(in srgb, var(--md-default-fg-color) 10%, transparent);
  background: color-mix(in srgb, var(--md-default-bg-color) 86%, var(--md-accent-fg-color) 14%);
}

.section-band p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 76.2344em) {
  .md-content__inner {
    max-width: none;
  }
}

@media screen and (max-width: 44.9375em) {
  .hero-panel {
    padding: 1.05rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 13vw, 3.6rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-action {
    width: 100%;
  }
}
