:root {
  --len-ink: #16303a;
  --len-surface: #f6f3ea;
  --len-surface-strong: #ece4d4;
  --len-accent: #0f766e;
  --len-accent-soft: #d7efe9;
  --len-warm: #b45309;
}

[data-md-color-scheme="default"] {
  --md-default-bg-color: var(--len-surface);
  --md-default-bg-color--light: #fbf8f1;
  --md-default-bg-color--lighter: #fffdf8;
  --md-default-fg-color: var(--len-ink);
  --md-default-fg-color--light: #36515b;
  --md-primary-fg-color: #114b5f;
  --md-primary-fg-color--light: #1d6e79;
  --md-primary-fg-color--dark: #0a2d38;
  --md-accent-fg-color: var(--len-warm);
}

.md-header {
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.96), rgba(17, 75, 95, 0.96)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 60%);
  box-shadow: 0 10px 30px rgba(17, 75, 95, 0.18);
}

.md-tabs {
  background: rgba(17, 75, 95, 0.92);
}

.md-main {
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 24rem),
    linear-gradient(180deg, #fbf8f1 0%, #f6f3ea 100%);
}

.md-content__inner {
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(17, 75, 95, 0.08);
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(22, 48, 58, 0.07);
  margin-top: 1rem;
  padding: 1.4rem 1.6rem;
}

.hero {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(180, 83, 9, 0.12)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.54));
  border: 1px solid rgba(17, 75, 95, 0.12);
  border-radius: 1.2rem;
  margin-bottom: 1.4rem;
  padding: 1.6rem;
}

.hero h2 {
  font-size: 2rem;
  line-height: 1.08;
  margin-top: 0;
  max-width: 14ch;
}

.hero p {
  font-size: 1.05rem;
  max-width: 62ch;
}

.hero .md-button {
  margin-right: 0.5rem;
  margin-top: 0.4rem;
}

.md-typeset .grid.cards > ul > li,
.md-typeset .grid > .card {
  border: 1px solid rgba(17, 75, 95, 0.12);
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(22, 48, 58, 0.05);
}

.md-typeset .grid.cards > ul > li:hover,
.md-typeset .grid > .card:hover {
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.09);
}

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

.md-typeset h1 {
  color: #0c3b49;
}

.md-typeset a {
  text-decoration-thickness: 0.08em;
}

.md-typeset code {
  border-radius: 0.35rem;
}

.md-typeset pre > code {
  border: 1px solid rgba(17, 75, 95, 0.12);
}

.md-nav__link--active,
.md-tabs__link--active {
  font-weight: 700;
}

.md-typeset table:not([class]) {
  border-radius: 0.8rem;
  overflow: hidden;
}

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

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

  .hero {
    padding: 1.2rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }
}