:root {
  color-scheme: dark;
  --mv-bg: #0a0b0d;
  --mv-panel: #14161a;
  --mv-panel-2: #101216;
  --mv-line: #232830;
  --mv-line-soft: #1b1f26;
  --mv-text: #e9ecef;
  --mv-muted: #9aa3ad;
  --mv-dim: #828b95;
  --mv-accent: #22d3ee;
  --mv-accent-deep: #0e7490;
  --mv-warm: #f0a92b;
  --mv-radius: 14px;
  --mv-radius-sm: 8px;
  --mv-container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--mv-bg);
  color: var(--mv-text);
  font-family: "Helvetica Neue", Arial, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.05rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0 0 1.05em;
}

a {
  color: var(--mv-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.mv-prose a,
.mv-source a,
.mv-note a,
.mv-faq__body a,
.mv-section__note a,
.mv-rail__box a,
.mv-cookie p a,
.mv-cta p a,
.mv-foot__note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

table {
  border-collapse: collapse;
}

ul,
ol {
  margin: 0 0 1.05em;
  padding-left: 1.15em;
}

li {
  margin-bottom: 0.5em;
}

code,
time {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--mv-accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.mv-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 90;
  background: var(--mv-accent);
  color: #06222a;
  padding: 12px 18px;
  font-weight: 700;
}

.mv-skip:focus {
  left: 12px;
  top: 12px;
}

.mv-shell {
  max-width: var(--mv-container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.mv-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #0a0b0dfa;
  border-bottom: 1px solid var(--mv-line);
}

.mv-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
}

.mv-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mv-text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.mv-logo:hover {
  text-decoration: none;
}

.mv-logo span {
  color: var(--mv-accent);
}

.mv-nav {
  display: none;
  gap: 22px;
  align-items: center;
}

.mv-nav a {
  color: var(--mv-muted);
  font-size: 0.92rem;
  transition: color 160ms ease;
}

.mv-nav a:hover,
.mv-nav a[aria-current="page"] {
  color: var(--mv-accent);
  text-decoration: none;
}

.mv-burger {
  background: none;
  border: 1px solid var(--mv-line);
  border-radius: var(--mv-radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  min-height: 44px;
}

.mv-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--mv-text);
  transition: transform 160ms ease, opacity 160ms ease;
}

.mv-burger span + span {
  margin-top: 5px;
}

.mv-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
  border-top: 0 solid var(--mv-line);
}

.mv-drawer.is-open {
  max-height: 420px;
  border-top-width: 1px;
}

.mv-drawer a {
  display: block;
  padding: 13px 0;
  min-height: 44px;
  color: var(--mv-muted);
  border-bottom: 1px solid var(--mv-line-soft);
}

.mv-crumb {
  font-size: 0.83rem;
  color: var(--mv-dim);
  padding-top: 22px;
}

.mv-crumb a {
  color: var(--mv-muted);
}

.mv-hero {
  padding-top: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--mv-line);
}

.mv-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mv-accent);
  margin-bottom: 18px;
}

.mv-hero__kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mv-accent);
}

.mv-hero__lead {
  color: var(--mv-muted);
  font-size: 1.06rem;
  max-width: 62ch;
  margin-top: 20px;
}

.mv-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 14px 26px;
  border-radius: var(--mv-radius-sm);
  background: var(--mv-accent);
  color: #06222a;
  font-weight: 700;
  border: 1px solid var(--mv-accent);
  transition: 140ms ease;
}

.mv-btn:hover {
  background: #67e8f9;
  border-color: #67e8f9;
  text-decoration: none;
}

.mv-btn--ghost {
  background: transparent;
  color: var(--mv-text);
  border-color: var(--mv-line);
}

.mv-btn--ghost:hover {
  background: var(--mv-panel);
  border-color: var(--mv-accent);
  color: var(--mv-accent);
}

.mv-layout {
  display: block;
  padding-top: 34px;
  padding-bottom: 20px;
}

.mv-rail {
  margin-bottom: 30px;
}

.mv-rail__title {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mv-dim);
  margin-bottom: 14px;
}

.mv-rail__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  border-left: 1px solid var(--mv-line);
}

.mv-rail__list li {
  margin: 0;
}

.mv-rail__list a {
  display: block;
  padding: 11px 0 11px 16px;
  min-height: 44px;
  color: var(--mv-muted);
  font-size: 0.92rem;
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: color 160ms ease, border-color 160ms ease;
}

.mv-rail__list a:hover,
.mv-rail__list a.is-active {
  color: var(--mv-accent);
  border-left-color: var(--mv-accent);
  text-decoration: none;
}

.mv-rail__num {
  color: var(--mv-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  margin-right: 9px;
}

.mv-rail__box {
  border: 1px solid var(--mv-line);
  border-radius: var(--mv-radius);
  background: var(--mv-panel);
  padding: 18px;
  font-size: 0.88rem;
  color: var(--mv-muted);
}

.mv-rail__box a {
  overflow-wrap: break-word;
}

.mv-section {
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid var(--mv-line-soft);
}

.mv-section:first-child {
  border-top: none;
  padding-top: 0;
}

.mv-section__head {
  margin-bottom: 20px;
}

.mv-section__note {
  color: var(--mv-muted);
  max-width: 66ch;
  margin-top: 12px;
}

.mv-band {
  border-top: 1px solid var(--mv-line);
  border-bottom: 1px solid var(--mv-line);
  background: var(--mv-panel-2);
  padding-top: 40px;
  padding-bottom: 40px;
}

.mv-band--plain {
  background: transparent;
  border-bottom: none;
}

.mv-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--mv-line);
  border-radius: var(--mv-radius);
  background: var(--mv-panel);
}

.mv-table {
  width: 100%;
  min-width: 640px;
  font-size: 0.92rem;
}

.mv-table caption {
  text-align: left;
  padding: 15px 18px;
  color: var(--mv-muted);
  font-size: 0.85rem;
  font-style: italic;
  border-bottom: 1px solid var(--mv-line);
}

.mv-table th,
.mv-table td {
  padding: 12px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--mv-line-soft);
}

.mv-table thead th {
  background: var(--mv-panel-2);
  color: var(--mv-accent);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.mv-table tbody th {
  color: var(--mv-text);
  font-weight: 600;
  white-space: nowrap;
}

.mv-table td {
  color: var(--mv-muted);
}

.mv-table tbody tr:last-child th,
.mv-table tbody tr:last-child td {
  border-bottom: none;
}

.mv-table time {
  color: var(--mv-text);
  white-space: nowrap;
}

.mv-source {
  color: var(--mv-dim);
  font-size: 0.83rem;
  font-style: italic;
  margin-top: 12px;
}

.mv-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.mv-filter__btn {
  border: 1px solid var(--mv-line);
  background: transparent;
  color: var(--mv-muted);
  border-radius: 999px;
  padding: 9px 16px;
  min-height: 44px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 140ms ease;
}

.mv-filter__btn:hover {
  border-color: var(--mv-accent);
  color: var(--mv-accent);
}

.mv-filter__btn.is-active {
  background: var(--mv-accent);
  border-color: var(--mv-accent);
  color: #06222a;
  font-weight: 700;
}

.mv-grid {
  display: grid;
  gap: 16px;
}

.mv-card {
  border: 1px solid var(--mv-line);
  border-radius: var(--mv-radius);
  background: var(--mv-panel);
  padding: 22px;
}

.mv-card__tag {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mv-accent);
  margin-bottom: 10px;
}

.mv-card__title {
  margin-bottom: 10px;
}

.mv-card p {
  color: var(--mv-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.mv-card--wide {
  border-left: 3px solid var(--mv-accent);
}

.mv-method {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: mv-step;
}

.mv-method li {
  counter-increment: mv-step;
  position: relative;
  padding-left: 46px;
  margin-bottom: 18px;
  color: var(--mv-muted);
}

.mv-method li::before {
  content: counter(mv-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mv-accent);
  border-radius: 50%;
  color: var(--mv-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}

.mv-method strong {
  color: var(--mv-text);
}

.mv-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mv-steps > li {
  position: relative;
  padding-left: 54px;
  padding-bottom: 30px;
  border-left: 1px solid var(--mv-line);
  margin-left: 17px;
}

.mv-steps > li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.mv-steps__mark {
  position: absolute;
  left: -18px;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mv-bg);
  border: 1px solid var(--mv-accent);
  color: var(--mv-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
}

.mv-steps__title {
  margin-bottom: 8px;
}

.mv-steps p {
  color: var(--mv-muted);
}

.mv-zig {
  display: grid;
  gap: 26px;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid var(--mv-line-soft);
}

.mv-zig:first-of-type {
  border-top: none;
}

.mv-zig__body p {
  color: var(--mv-muted);
}

.mv-zig__art {
  border: 1px solid var(--mv-line);
  border-radius: var(--mv-radius);
  background: var(--mv-panel);
  padding: 18px;
}

.mv-cover {
  border: 1px solid var(--mv-line);
  border-radius: var(--mv-radius);
  background:
    radial-gradient(120% 130% at 12% 0%, #123b45 0%, #0d1014 55%, #0a0b0d 100%);
  padding: 46px 26px;
  text-align: center;
}

.mv-cover p {
  color: var(--mv-muted);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.mv-narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.mv-dl {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--mv-line);
  border-radius: var(--mv-radius);
  overflow: hidden;
}

.mv-dl div {
  padding: 16px 18px;
  border-bottom: 1px solid var(--mv-line-soft);
  background: var(--mv-panel);
}

.mv-dl div:last-child {
  border-bottom: none;
}

.mv-dl dt {
  color: var(--mv-accent);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.mv-dl dd {
  margin: 0;
  color: var(--mv-muted);
  font-size: 0.93rem;
}

.mv-faq {
  border: 1px solid var(--mv-line);
  border-radius: var(--mv-radius);
  background: var(--mv-panel);
  margin-bottom: 12px;
}

.mv-faq > summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 52px 17px 20px;
  position: relative;
  font-weight: 600;
  min-height: 44px;
}

.mv-faq > summary::-webkit-details-marker {
  display: none;
}

.mv-faq > summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 14px;
  color: var(--mv-accent);
  font-size: 1.35rem;
  line-height: 1;
}

.mv-faq[open] > summary::after {
  content: "\2212";
}

.mv-faq__body {
  padding: 0 20px 18px;
  color: var(--mv-muted);
  font-size: 0.95rem;
}

.mv-cta {
  border: 1px solid var(--mv-line);
  border-radius: var(--mv-radius);
  background: var(--mv-panel);
  padding: 34px 24px;
  text-align: center;
}

.mv-cta p {
  color: var(--mv-muted);
  max-width: 54ch;
  margin: 14px auto 22px;
}

.mv-foot {
  border-top: 1px solid var(--mv-line);
  background: var(--mv-panel-2);
  padding-top: 38px;
  padding-bottom: 32px;
  margin-top: 40px;
}

.mv-foot__cols {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mv-foot__title {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mv-dim);
  margin-bottom: 12px;
}

.mv-foot__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mv-foot__list a {
  display: inline-block;
  padding: 10px 0;
  min-height: 44px;
  color: var(--mv-muted);
  font-size: 0.9rem;
}

.mv-foot__list a:hover {
  color: var(--mv-accent);
}

.mv-foot__note {
  border-top: 1px solid var(--mv-line);
  margin-top: 28px;
  padding-top: 22px;
  color: var(--mv-dim);
  font-size: 0.8rem;
  line-height: 1.7;
}

.mv-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #101216fa;
  border-top: 1px solid var(--mv-line);
  padding: 18px 0;
  transform: translateY(115%);
  transition: transform 240ms ease;
}

.mv-cookie.is-open {
  transform: translateY(0);
}

.mv-cookie__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mv-cookie p {
  margin: 0;
  color: var(--mv-muted);
  font-size: 0.9rem;
  max-width: 68ch;
}

.mv-cookie__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mv-cookie__row .mv-btn {
  flex: 1 1 auto;
}

.mv-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #000000c4;
  padding: 20px;
  align-items: center;
  justify-content: center;
}

.mv-modal[data-open="true"] {
  display: flex;
}

.mv-modal__box {
  background: var(--mv-panel);
  border: 1px solid var(--mv-line);
  border-radius: var(--mv-radius);
  padding: 24px;
  width: 100%;
  max-width: 460px;
}

.mv-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--mv-line-soft);
  color: var(--mv-muted);
  font-size: 0.93rem;
}

.mv-modal__close {
  background: none;
  border: none;
  color: var(--mv-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}

.mv-prose h2 {
  margin-top: 34px;
  margin-bottom: 14px;
}

.mv-prose h3 {
  margin-top: 24px;
  margin-bottom: 10px;
}

.mv-prose p,
.mv-prose li {
  color: var(--mv-muted);
}

.mv-prose strong {
  color: var(--mv-text);
}

.mv-pre {
  border: 1px solid var(--mv-line);
  border-radius: var(--mv-radius);
  background: var(--mv-panel-2);
  padding: 20px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--mv-muted);
  margin: 0 0 12px;
}

.mv-pre b {
  color: var(--mv-accent);
  font-weight: 400;
}

.mv-note {
  border-left: 3px solid var(--mv-warm);
  background: var(--mv-panel);
  border-radius: 0 var(--mv-radius-sm) var(--mv-radius-sm) 0;
  padding: 18px 20px;
  color: var(--mv-muted);
  font-size: 0.95rem;
}

.mv-note strong {
  color: var(--mv-text);
}

.mv-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--mv-line);
  border-radius: var(--mv-radius);
}

.mv-credit {
  display: block;
  color: var(--mv-dim);
  font-size: 0.76rem;
  margin-top: 6px;
}

.mv-shots {
  display: grid;
  gap: 18px;
}

@media (min-width: 700px) {
  .mv-shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mv-figure {
  margin: 0 0 20px;
}

.mv-figure svg {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--mv-line);
  border-radius: var(--mv-radius);
  background: var(--mv-panel);
}

.mv-figure figcaption {
  color: var(--mv-dim);
  font-size: 0.83rem;
  margin-top: 9px;
}

@media (min-width: 620px) {
  .mv-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mv-dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mv-dl div:nth-last-child(2) {
    border-bottom: none;
  }

  .mv-cookie__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .mv-cookie__row .mv-btn {
    flex: 0 0 auto;
  }
}

@media (min-width: 780px) {
  .mv-shell {
    padding-left: 32px;
    padding-right: 32px;
  }

  .mv-hero {
    padding-top: 62px;
    padding-bottom: 58px;
  }

  .mv-section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .mv-band {
    padding-top: 56px;
    padding-bottom: 56px;
  }

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

  .mv-zig {
    grid-template-columns: 1fr 380px;
    gap: 40px;
  }

  .mv-zig--flip .mv-zig__body {
    order: 2;
  }

  .mv-cover {
    padding: 78px 40px;
  }

  .mv-foot__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .mv-nav {
    display: flex;
  }

  .mv-burger,
  .mv-drawer {
    display: none;
  }

  .mv-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 44px;
    align-items: start;
    padding-top: 46px;
  }

  .mv-rail {
    position: sticky;
    top: 92px;
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }

  .mv-cookie {
    transition: none;
  }
}
