:root {
  --tmv-ink: #0c1417;
  --tmv-ink-soft: #152126;
  --tmv-green: #0dfb2c;
  --tmv-green-deep: #08733a;
  --tmv-green-soft: #e8fbed;
  --tmv-paper: #fbfcfb;
  --tmv-surface: #ffffff;
  --tmv-surface-soft: #f3f7f4;
  --tmv-border: #dce5df;
  --tmv-text: #1d292e;
  --tmv-muted: #5b696f;
  --tmv-link: #17638f;
  --tmv-link-hover: #0b4f76;
  --tmv-shadow: 0 18px 48px rgba(12, 20, 23, 0.1);
  --tmv-radius: 16px;
  --tmv-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tmv-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--tmv-paper);
  color: var(--tmv-text);
  font-family: var(--tmv-font);
}

::selection {
  background: rgba(13, 251, 44, 0.3);
  color: var(--tmv-ink);
}

a {
  color: var(--tmv-link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--tmv-link-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--tmv-green);
  outline-offset: 3px;
}

.tmv-skip-link {
  background: var(--tmv-green);
  color: var(--tmv-ink) !important;
  font-size: 0.88rem;
  font-weight: 800;
  left: 1rem;
  padding: 0.7rem 0.9rem;
  position: fixed;
  top: -5rem;
  z-index: 1000;
}

.tmv-skip-link:focus {
  top: 1rem;
}

.tmv-skip-mobile {
  display: none;
}

.wy-nav-side {
  background: #091114;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.wy-side-scroll {
  scrollbar-color: #34434a #091114;
}

.wy-side-nav-search {
  background:
    radial-gradient(circle at 18% 0%, rgba(13, 251, 44, 0.14), transparent 42%),
    linear-gradient(145deg, #111d21, #091114 70%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 1.2rem 1.15rem;
}

.tmv-site-brand {
  align-items: center;
  color: #fff !important;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  text-align: left;
}

.tmv-site-brand:hover .tmv-site-brand-copy strong {
  color: var(--tmv-green);
}

.tmv-site-brand-mark {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  display: grid;
  flex: 0 0 48px;
  height: 48px;
  overflow: hidden;
  place-items: center;
}

.tmv-site-brand-mark img {
  display: block;
  height: 44px;
  margin: 0;
  object-fit: cover;
  width: 44px;
}

.tmv-site-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.06;
}

.tmv-site-brand-copy strong {
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  transition: color 150ms ease;
}

.tmv-site-brand-copy small {
  color: #aab8bd;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin-top: 0.28rem;
  text-transform: uppercase;
}

.wy-side-nav-search > .version {
  color: #a9b7bc;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin: -0.25rem 0 0.8rem 3.75rem;
  text-align: left;
  text-transform: uppercase;
}

.wy-side-nav-search input[type="text"] {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  box-shadow: none;
  color: #fff;
  font-family: var(--tmv-font);
  padding: 0.72rem 0.8rem;
}

.wy-side-nav-search input[type="text"]::placeholder {
  color: #a9b6bb;
}

.wy-menu-vertical {
  padding: 0.65rem 0 4rem;
}

.wy-menu-vertical p.caption {
  color: #6ff781;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 1.2rem 1.2rem 0.35rem;
}

.wy-menu-vertical a {
  border-left: 2px solid transparent;
  color: #c5cfd2;
  font-size: 0.86rem;
  line-height: 1.35;
  padding: 0.58rem 1.2rem;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.wy-menu-vertical a:hover {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.wy-menu-vertical li.current > a,
.wy-menu-vertical li.on a {
  background: rgba(13, 251, 44, 0.09);
  border-left-color: var(--tmv-green);
  color: #fff;
  font-weight: 700;
}

.wy-menu-vertical li.current a:hover {
  background: rgba(13, 251, 44, 0.14);
}

.wy-menu-vertical li.current,
.wy-menu-vertical li.current > ul {
  background: #0d181c;
}

.wy-menu-vertical li.current li a {
  background: transparent;
  border-bottom: 0;
  border-left-color: transparent;
  border-right: 0;
  color: #b9c6ca;
  padding-bottom: 0.48rem;
  padding-top: 0.48rem;
}

.wy-menu-vertical li.current li a:hover,
.wy-menu-vertical li.current li.current > a {
  background: rgba(13, 251, 44, 0.09);
  border-left-color: var(--tmv-green);
  color: #fff;
}

.wy-nav-content-wrap {
  background:
    linear-gradient(90deg, rgba(13, 251, 44, 0.025) 1px, transparent 1px),
    var(--tmv-paper);
  background-size: 64px 64px;
}

.wy-nav-content {
  background: transparent;
  max-width: 1180px;
  padding: 2.2rem 3.5rem 3.5rem;
}

.rst-content {
  color: var(--tmv-text);
  font-size: 1rem;
  line-height: 1.72;
}

.rst-content .wy-breadcrumbs {
  border-bottom: 1px solid var(--tmv-border);
  color: var(--tmv-muted);
  font-size: 0.78rem;
  margin-bottom: 2rem;
  padding-bottom: 0.8rem;
}

.rst-content .wy-breadcrumbs a {
  color: var(--tmv-link);
}

.rst-content h1,
.rst-content h2,
.rst-content h3,
.rst-content h4,
.rst-content h5,
.rst-content h6 {
  color: var(--tmv-ink);
  font-family: var(--tmv-font);
  font-weight: 760;
  letter-spacing: -0.028em;
  line-height: 1.18;
}

.rst-content h1 {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  margin-bottom: 1.25rem;
}

.rst-content h2 {
  border-top: 1px solid var(--tmv-border);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  margin-top: 3rem;
  padding-top: 2rem;
}

.rst-content h3 {
  font-size: 1.28rem;
  margin-top: 2.2rem;
}

.rst-content p,
.rst-content li {
  color: var(--tmv-text);
}

.rst-content blockquote {
  background: var(--tmv-surface-soft);
  border-left: 4px solid var(--tmv-green-deep);
  color: var(--tmv-text);
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
}

.rst-content code,
.rst-content tt {
  background: #edf3ef;
  border: 1px solid #d8e4dc;
  border-radius: 5px;
  color: #174d31;
  font-family: var(--tmv-mono);
  font-size: 0.88em;
  padding: 0.12em 0.34em;
  white-space: normal;
}

.rst-content pre,
.rst-content div[class^="highlight"] pre,
.rst-content div[class*=" highlight"] pre {
  background: #0d171a;
  border: 1px solid #233337;
  border-left: 4px solid var(--tmv-green);
  border-radius: 11px;
  box-shadow: 0 12px 28px rgba(12, 20, 23, 0.12);
  color: #e8f1ed;
  font-family: var(--tmv-mono);
  line-height: 1.62;
  overflow-x: auto;
  padding: 1.1rem 1.2rem;
}

.rst-content pre code,
.rst-content div[class^="highlight"] pre code {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
  white-space: pre;
}

.rst-content table.docutils,
.rst-content table.field-list,
.rst-content table {
  background: var(--tmv-surface);
  border: 1px solid var(--tmv-border);
  border-collapse: separate;
  border-radius: 10px;
  border-spacing: 0;
  box-shadow: 0 8px 24px rgba(12, 20, 23, 0.05);
  display: block;
  margin: 1.4rem 0 1.8rem;
  max-width: 100%;
  overflow-x: auto;
  width: max-content;
}

.rst-content table th {
  background: #eaf2ed;
  color: var(--tmv-ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.rst-content table th,
.rst-content table td {
  border-bottom: 1px solid var(--tmv-border);
  border-left: 0;
  border-right: 1px solid var(--tmv-border);
  border-top: 0;
  padding: 0.72rem 0.85rem;
  vertical-align: top;
}

.rst-content table td,
.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td {
  background: var(--tmv-surface);
  color: var(--tmv-text);
}

.rst-content table.docutils:not(.field-list) tr:nth-child(2n) td {
  background: var(--tmv-surface-soft);
}

.rst-content table tr:last-child td {
  border-bottom: 0;
}

.rst-content table th:last-child,
.rst-content table td:last-child {
  border-right: 0;
}

.rst-content .admonition {
  background: var(--tmv-surface);
  border: 1px solid var(--tmv-border);
  border-left: 4px solid var(--tmv-green-deep);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(12, 20, 23, 0.055);
  overflow: hidden;
}

.rst-content .admonition-title {
  background: var(--tmv-surface-soft);
  color: var(--tmv-ink);
}

.rst-content .section > hr,
.rst-content footer hr {
  border-color: var(--tmv-border);
}

.btn,
.btn-neutral {
  background: var(--tmv-ink) !important;
  border: 1px solid var(--tmv-ink) !important;
  border-radius: 8px;
  box-shadow: none;
  color: #fff !important;
  font-family: var(--tmv-font);
}

.btn:hover,
.btn-neutral:hover {
  background: #1b2a2f !important;
}

.wy-nav-top {
  align-items: center;
  background: #091114;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 58px;
  padding: 0 0.85rem;
}

.tmv-nav-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.45rem;
  height: 44px;
  justify-content: center;
  margin-right: 0.65rem;
  width: 44px;
}

.tmv-mobile-brand {
  align-items: center;
  color: #fff !important;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 750;
  gap: 0.55rem;
  line-height: 1;
}

.tmv-mobile-brand img {
  background: #fff;
  border-radius: 7px;
  height: 34px;
  margin: 0;
  width: 34px;
}

.tmv-mobile-brand small {
  color: #9fb0b6;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  margin-left: 0.3rem;
  text-transform: uppercase;
}

.tmv-main-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 1rem;
}

/* Homepage */

.tmv-home {
  margin-top: -0.5rem;
}

.tmv-home .tmv-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(13, 251, 44, 0.16), transparent 27%),
    radial-gradient(circle at 12% 105%, rgba(27, 120, 76, 0.2), transparent 30%),
    #0b1417;
  border: 1px solid #243338;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(6, 13, 15, 0.22);
  color: #fff;
  display: grid;
  gap: clamp(2rem, 5vw, 4.25rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.25rem);
  position: relative;
}

.tmv-home .tmv-hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 78%);
  pointer-events: none;
  position: absolute;
}

.tmv-hero-copy,
.tmv-hero-visual {
  position: relative;
  z-index: 1;
}

.tmv-home .tmv-eyebrow,
.tmv-home .tmv-kicker {
  color: #52636a;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.145em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.tmv-home .tmv-eyebrow {
  color: #a6b4b9;
}

.tmv-home .tmv-eyebrow span {
  color: var(--tmv-green);
  margin-right: 0.5rem;
}

.tmv-home .tmv-hero h1 {
  border: 0;
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 0 0 1.35rem;
  max-width: 8.5ch;
  padding: 0;
}

.tmv-home .tmv-hero-lede {
  color: #c7d1d4;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  line-height: 1.65;
  margin: 0;
  max-width: 59ch;
}

.tmv-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 1.75rem;
}

.tmv-button {
  border-radius: 9px;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 800;
  justify-content: center;
  padding: 0.72rem 1rem;
  text-decoration: none !important;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.tmv-button:hover {
  transform: translateY(-1px);
}

.tmv-button-primary {
  background: var(--tmv-green);
  box-shadow: 0 8px 24px rgba(13, 251, 44, 0.16);
  color: var(--tmv-ink) !important;
}

.tmv-button-primary:hover {
  background: #56ff69;
}

.tmv-button-secondary {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.19);
  color: #fff !important;
}

.tmv-button-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
}

.tmv-example-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 1.5rem;
}

.tmv-example-actions .tmv-button-primary {
  box-shadow: none;
}

.tmv-example-secondary {
  background: var(--tmv-surface);
  border: 1px solid var(--tmv-border);
  color: var(--tmv-ink) !important;
}

.tmv-example-secondary:hover {
  background: var(--tmv-surface-soft);
}

.tmv-text-link {
  color: #ccfbd4 !important;
  font-size: 0.87rem;
  font-weight: 750;
  padding: 0.7rem 0.3rem;
  text-decoration: none;
}

.tmv-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  list-style: none !important;
  margin: 1.7rem 0 0 !important;
  padding: 0 !important;
}

.rst-content .tmv-hero-facts > li {
  color: #aebdc1 !important;
  display: flex;
  font-family: var(--tmv-mono);
  font-size: 0.68rem;
  letter-spacing: 0.035em;
  list-style: none !important;
  margin-left: 0;
}

.rst-content .tmv-hero-facts > li::marker {
  color: transparent;
  font-size: 0;
}

.rst-content .tmv-hero-facts > li::before {
  color: var(--tmv-green);
  content: "/";
  margin-right: 0.45rem;
}

.tmv-hero-visual {
  align-self: center;
}

.tmv-logo-surface {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
  padding: clamp(0.7rem, 2vw, 1.2rem);
}

.tmv-logo-surface img {
  display: block;
  height: auto;
  margin: 0;
  width: 100%;
}

.tmv-runtime-card {
  background: rgba(9, 17, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  display: grid;
  gap: 0.7rem;
  margin: -0.35rem 1rem 0;
  padding: 1rem;
  position: relative;
}

.tmv-runtime-card > div {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
}

.tmv-runtime-card span {
  color: #8ea0a6;
  font-family: var(--tmv-mono);
  font-size: 0.69rem;
}

.tmv-runtime-card strong {
  color: #e4fae8;
  font-size: 0.78rem;
  font-weight: 750;
}

.tmv-preview-note {
  align-items: flex-start;
  background: #f0f7f2;
  border: 1px solid #cde0d2;
  border-radius: 13px;
  color: #34443b;
  display: flex;
  font-size: 0.88rem;
  gap: 0.85rem;
  line-height: 1.62;
  margin: 1rem 0 0;
  padding: 1rem 1.15rem;
}

.tmv-preview-note code {
  background: rgba(255, 255, 255, 0.65);
  border-color: #cadacf;
}

.tmv-status-dot {
  background: var(--tmv-green-deep);
  border: 4px solid #c8f2d3;
  border-radius: 50%;
  flex: 0 0 13px;
  height: 13px;
  margin-top: 0.35rem;
  width: 13px;
}

.tmv-section {
  margin-top: clamp(4rem, 8vw, 6.5rem);
}

.tmv-section-heading {
  max-width: 730px;
}

.tmv-home .tmv-section-heading h2,
.tmv-home .tmv-start-panel h2 {
  border: 0;
  margin: 0;
  padding: 0;
}

.tmv-section-heading > p:last-child {
  color: var(--tmv-muted);
  font-size: 1.04rem;
  margin: 0.85rem 0 0;
}

.tmv-card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.tmv-card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tmv-card-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tmv-card,
.tmv-feature-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--tmv-border);
  border-radius: var(--tmv-radius);
  box-shadow: 0 12px 34px rgba(12, 20, 23, 0.055);
}

.tmv-card {
  padding: 1.35rem;
}

.tmv-card-index {
  color: var(--tmv-green-deep);
  font-family: var(--tmv-mono);
  font-size: 0.7rem;
  font-weight: 800;
}

.tmv-card h3,
.tmv-feature-card h3 {
  margin: 0.75rem 0 0.55rem;
}

.tmv-card p,
.tmv-feature-card p {
  color: var(--tmv-muted);
  font-size: 0.9rem;
  line-height: 1.62;
  margin: 0;
}

.tmv-feature-card {
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
  padding: 1.35rem;
}

.tmv-feature-icon {
  align-items: center;
  background: var(--tmv-ink);
  border: 1px solid #26373d;
  border-radius: 10px;
  color: var(--tmv-green);
  display: flex;
  font-family: var(--tmv-mono);
  font-size: 0.8rem;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  letter-spacing: -0.04em;
  width: 42px;
}

.tmv-feature-card h3 {
  margin-top: 0.05rem;
}

.tmv-feature-card a {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 0.85rem;
  text-decoration: none;
}

.tmv-flow {
  counter-reset: steps;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none !important;
  margin: 1.8rem 0 0 !important;
  padding: 0 !important;
}

.tmv-flow > li {
  border-top: 2px solid var(--tmv-border);
  color: var(--tmv-text);
  padding: 1.2rem 1rem 0 0;
  position: relative;
}

.tmv-flow > li::before {
  background: var(--tmv-green-deep);
  border: 4px solid var(--tmv-paper);
  border-radius: 50%;
  content: "";
  height: 14px;
  left: 0;
  position: absolute;
  top: -8px;
  width: 14px;
}

.tmv-flow > li > span {
  color: var(--tmv-green-deep);
  display: block;
  font-family: var(--tmv-mono);
  font-size: 0.7rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.tmv-flow strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.42rem;
}

.tmv-flow p {
  color: var(--tmv-muted) !important;
  font-size: 0.8rem;
  line-height: 1.55;
  margin: 0;
}

.tmv-start-panel {
  align-items: center;
  background:
    radial-gradient(circle at 90% 0%, rgba(13, 251, 44, 0.12), transparent 30%),
    #0c1518;
  border: 1px solid #27383d;
  border-radius: 20px;
  color: #fff;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  margin-top: clamp(4rem, 8vw, 6.5rem);
  padding: clamp(1.7rem, 4vw, 3rem);
}

.tmv-start-panel .tmv-kicker {
  color: var(--tmv-green);
}

.tmv-home .tmv-start-panel h2 {
  color: #fff;
}

.tmv-start-panel p {
  color: #b9c7ca !important;
  margin-bottom: 0;
}

.tmv-start-panel pre {
  border-color: #31464b;
  box-shadow: none;
  margin: 0;
  min-width: 0;
}

.tmv-start-panel code {
  color: #e8f1ed !important;
}

.tmv-prompt {
  color: var(--tmv-green);
  font-weight: 800;
}

.tmv-resource-strip {
  border-bottom: 1px solid var(--tmv-border);
  border-top: 1px solid var(--tmv-border);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.tmv-resource-strip a {
  border-right: 1px solid var(--tmv-border);
  display: flex;
  flex-direction: column;
  padding: 1.05rem;
  text-decoration: none;
}

.tmv-resource-strip a:last-child {
  border-right: 0;
}

.tmv-resource-strip span {
  color: var(--tmv-ink);
  font-size: 0.83rem;
  font-weight: 800;
}

.tmv-resource-strip small {
  color: var(--tmv-muted);
  font-size: 0.7rem;
  margin-top: 0.18rem;
}

.tmv-resource-strip a:hover {
  background: var(--tmv-surface-soft);
}

.tmv-docs-footer {
  align-items: center;
  border-top: 1px solid var(--tmv-border);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
}

.tmv-docs-footer > div {
  display: flex;
  flex-direction: column;
}

.tmv-footer-brand {
  align-items: center;
  display: flex !important;
  flex-direction: row !important;
  gap: 0.65rem;
}

.tmv-footer-brand > img {
  background: #fff;
  border-radius: 7px;
  height: 36px;
  margin: 0;
  width: 36px;
}

.tmv-footer-brand > div {
  display: flex;
  flex-direction: column;
}

.tmv-docs-footer strong {
  color: var(--tmv-ink);
  font-size: 0.85rem;
}

.tmv-docs-footer span {
  color: var(--tmv-muted);
  font-size: 0.7rem;
}

.tmv-docs-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.tmv-docs-footer a {
  font-size: 0.74rem;
  font-weight: 750;
}

@media screen and (max-width: 1080px) {
  .tmv-home .tmv-hero {
    gap: 2.2rem;
    grid-template-columns: 1fr;
  }

  .tmv-hero-visual {
    max-width: 590px;
  }

  .tmv-card-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tmv-card-grid-three .tmv-card:last-child {
    grid-column: 1 / -1;
  }

  .tmv-flow {
    gap: 1.4rem 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tmv-start-panel {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .tmv-skip-desktop {
    display: none;
  }

  .tmv-skip-mobile {
    display: block;
  }

  .wy-nav-side:not(.shift) {
    visibility: hidden;
  }

  .wy-nav-side.shift {
    visibility: visible;
  }

  .wy-nav-content {
    padding: 1.35rem 1.1rem 2.5rem;
  }

  .rst-content .wy-breadcrumbs {
    margin-bottom: 1.4rem;
  }

  .tmv-home .tmv-hero {
    border-radius: 16px;
    padding: 1.6rem;
  }

  .tmv-home .tmv-hero h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .tmv-card-grid-two,
  .tmv-card-grid-three {
    grid-template-columns: 1fr;
  }

  .tmv-card-grid-three .tmv-card:last-child {
    grid-column: auto;
  }

  .tmv-resource-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tmv-resource-strip a:nth-child(2) {
    border-right: 0;
  }

  .tmv-resource-strip a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--tmv-border);
  }

  .tmv-docs-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .tmv-home .tmv-hero {
    padding: 1.35rem;
  }

  .tmv-actions,
  .tmv-actions .tmv-button {
    align-items: stretch;
    width: 100%;
  }

  .tmv-actions .tmv-text-link {
    text-align: center;
    width: 100%;
  }

  .tmv-runtime-card {
    margin-left: 0.4rem;
    margin-right: 0.4rem;
  }

  .tmv-feature-card {
    grid-template-columns: 1fr;
  }

  .tmv-flow {
    grid-template-columns: 1fr;
  }

  .tmv-resource-strip {
    grid-template-columns: 1fr;
  }

  .tmv-resource-strip a,
  .tmv-resource-strip a:nth-child(2) {
    border-bottom: 1px solid var(--tmv-border);
    border-right: 0;
  }

  .tmv-resource-strip a:last-child {
    border-bottom: 0;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --tmv-paper: #0d1518;
    --tmv-surface: #121d21;
    --tmv-surface-soft: #172429;
    --tmv-border: #2a3a3f;
    --tmv-text: #d7e0dc;
    --tmv-muted: #a3b1b5;
    --tmv-link: #72c9f4;
    --tmv-link-hover: #a5ddf8;
  }

  body,
  .wy-nav-content-wrap {
    background-color: var(--tmv-paper);
  }

  .rst-content h1,
  .rst-content h2,
  .rst-content h3,
  .rst-content h4,
  .rst-content h5,
  .rst-content h6,
  .tmv-resource-strip span,
  .tmv-docs-footer strong {
    color: #f0f5f2;
  }

  .rst-content code,
  .rst-content tt {
    background: #15251f;
    border-color: #294639;
    color: #a8f6ba;
  }

  .rst-content table th {
    background: #17282d;
    color: #eef5f1;
  }

  .tmv-card,
  .tmv-feature-card {
    background: rgba(18, 29, 33, 0.92);
  }

  .tmv-home .tmv-kicker {
    color: #849aa1;
  }

  .tmv-preview-note {
    background: #12241a;
    border-color: #29553a;
    color: #c9d9ce;
  }

  .tmv-preview-note code {
    background: #172c20;
    border-color: #2f5b40;
  }

  .tmv-example-secondary {
    color: #eef5f1 !important;
  }

  .tmv-flow > li::before {
    border-color: var(--tmv-paper);
  }

  .tmv-resource-strip a:hover {
    background: #142126;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .wy-nav-side,
  .wy-nav-top,
  .wy-breadcrumbs-aside,
  .rst-footer-buttons,
  .tmv-actions,
  .tmv-resource-strip {
    display: none !important;
  }

  .wy-nav-content-wrap {
    margin-left: 0;
  }

  .wy-nav-content {
    max-width: none;
    padding: 0;
  }

  .tmv-home .tmv-hero,
  .tmv-start-panel {
    background: #fff !important;
    border: 1px solid #555;
    box-shadow: none;
    color: #000;
  }

  .tmv-home .tmv-hero h1,
  .tmv-home .tmv-start-panel h2,
  .tmv-home .tmv-hero-lede,
  .tmv-start-panel p,
  .tmv-hero-facts li {
    color: #000 !important;
  }

  .tmv-card,
  .tmv-feature-card,
  .rst-content .admonition {
    break-inside: avoid;
    box-shadow: none;
  }

  .wy-table-responsive {
    overflow: visible !important;
  }

  .rst-content table.docutils,
  .rst-content table.field-list,
  .rst-content table {
    display: table;
    table-layout: fixed;
    width: 100%;
  }

  .rst-content table th,
  .rst-content table td {
    overflow-wrap: anywhere;
    white-space: normal !important;
  }
}
