/* mvGPT docs — small refinements on top of Material's slate theme. */

:root {
  --md-code-font: "JetBrains Mono";
}

/* The architecture diagrams (mvgpt-*.mmd) use a dark Mermaid theme; frame each
   one on a consistent dark figure panel so it reads cleanly in both the dark
   and light color schemes. */
.md-typeset .mermaid {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  margin: 1.75rem auto;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  text-align: center;
  overflow-x: auto;
}
.md-typeset .mermaid svg {
  max-width: 100%;
  height: auto;
}

/* Responsive 16:9 YouTube embeds. */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 1.5rem 0 0.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* A touch more vertical rhythm around section headings. */
.md-typeset h2 {
  margin-top: 2.4rem;
}

/* Tighten the look of the "model at a glance" style spec tables. */
.md-typeset table:not([class]) {
  font-size: 0.78rem;
}

/* Subtle gradient on the hero tagline used on the home page. */
.mv-tagline {
  font-size: 1.15rem;
  line-height: 1.6;
  opacity: 0.9;
}
