:root {
  --md-primary-fg-color: #6f45d8;
  --md-accent-fg-color: #6f45d8;
}

body {
  background: #f8f4ee;
}

.md-header,
.md-tabs {
  background: #f8f4ee;
  color: #25211d;
  border-bottom: 1px solid #dfd2c1;
  box-shadow: none;
}

.md-header__title,
.md-tabs__link {
  color: #25211d;
}

.md-main {
  background: #f8f4ee;
}

.md-content__inner {
  color: #25211d;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  color: #25211d;
  letter-spacing: 0;
}

.md-typeset a {
  color: #5632b7;
}

.hero-panel,
.doc-card {
  background: #fff;
  border: 1px solid #dfd2c1;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(69, 55, 39, 0.08);
}

.hero-panel {
  margin: 1.25rem 0 2rem;
  padding: 1.6rem;
}

.hero-panel h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0.35rem 0 0.75rem;
}

.eyebrow {
  color: #c23a32;
  font-size: 0.72rem;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
}

.primary-button {
  align-items: center;
  background: #25211d;
  border-radius: 7px;
  color: #fff !important;
  display: inline-flex;
  font-weight: 700;
  min-height: 2.4rem;
  padding: 0 0.9rem;
}

.primary-button:hover {
  text-decoration: none;
}

.doc-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.doc-card {
  color: #25211d !important;
  display: block;
  padding: 1rem;
}

.doc-card:hover {
  border-color: #c9bba6;
  text-decoration: none;
}

.doc-card strong,
.doc-card span {
  display: block;
}

.doc-card span {
  color: #69625a;
  font-size: 0.86rem;
  margin-top: 0.25rem;
}

.media-frame {
  background: #fff;
  border: 1px solid #dfd2c1;
  border-radius: 8px;
  margin: 1rem 0;
  overflow: hidden;
}

.media-frame iframe,
.media-frame img {
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  object-fit: cover;
  width: 100%;
}

.md-typeset table:not([class]) {
  border: 1px solid #dfd2c1;
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
}

@media (max-width: 760px) {
  .doc-grid {
    grid-template-columns: 1fr;
  }
}
