:root {
  --md-primary-fg-color: #8f3607;
  --md-primary-fg-color--light: #ba5b22;
  --md-primary-fg-color--dark: #622404;
  --md-accent-fg-color: #ca6702;
  --walter-ink: #1f1a17;
  --walter-sand: #f4ede4;
  --walter-card: #fffaf3;
}

[data-md-color-scheme="default"] {
  --md-default-bg-color: #fbf7f1;
  --md-default-fg-color: rgba(31, 26, 23, 0.92);
}

.md-header {
  background:
    radial-gradient(circle at top right, rgba(232, 147, 76, 0.25), transparent 38%),
    linear-gradient(110deg, #612203, #8f3607 52%, #c15f21);
}

.md-tabs {
  background-color: rgba(77, 28, 4, 0.92);
}

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

.hero {
  padding: 2.2rem;
  border: 1px solid rgba(143, 54, 7, 0.12);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(202, 103, 2, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 250, 243, 0.98), rgba(248, 237, 220, 0.88));
  box-shadow: 0 24px 50px rgba(92, 39, 8, 0.08);
}

.hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--walter-ink);
}

.hero .eyebrow {
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #9a4a15;
}

.hero .lede {
  max-width: 42rem;
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  color: rgba(31, 26, 23, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

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

.hero-actions .md-button--primary {
  background: linear-gradient(135deg, #9f3d0b, #ca6702);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(143, 54, 7, 0.18);
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin: 1.25rem 0 2rem;
}

.doc-card {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: var(--walter-card);
  border: 1px solid rgba(143, 54, 7, 0.12);
}

.doc-card h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

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

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

  .hero .lede {
    font-size: 1rem;
  }
}
