:root {
  --ink: #102033;
  --muted: #5c6a7c;
  --line: #dbe8f0;
  --panel: #ffffff;
  --page: #f8fbfd;
  --accent: #008fd3;
  --accent-strong: #006fb4;
  --cyan: #32c7e8;
  --shadow: 0 24px 70px rgba(16, 32, 51, 0.12);
  --radius: 8px;
  color-scheme: light dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--page) 88%, transparent);
  border-bottom: 1px solid rgba(219, 232, 240, 0.9);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
.company-link {
  align-items: center;
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.brand img,
.company-link img {
  border-radius: 8px;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.company-link {
  color: var(--muted);
  font-size: 0.93rem;
  grid-column: 1;
  grid-row: 1;
}

.company-link:hover,
.downloads-index a:hover {
  color: var(--accent-strong);
}

.section-pad {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.narrow {
  margin-inline: auto;
  max-width: 920px;
}

.eyebrow {
  color: #9fd6e4;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.page-hero {
  padding-bottom: 42px;
}

.page-hero p {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  margin-inline: auto;
  max-width: 760px;
}

.downloads-page {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 320px;
  margin: 0 auto;
  max-width: 1120px;
  padding-top: 0;
}

.downloads-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.download-card,
.downloads-index {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.download-card {
  padding: clamp(26px, 4vw, 44px);
}

.download-card p {
  color: var(--muted);
}

.download-card .eyebrow {
  color: #6fe3ff;
}
.latest-release {
  align-items: center;
  box-shadow: var(--shadow);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.button {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
  white-space: nowrap;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  box-shadow: 0 14px 34px rgba(0, 143, 211, 0.25);
  color: #ffffff;
}

.downloads-index {
  display: grid;
  gap: 12px;
  padding: 24px;
  position: sticky;
  top: 92px;
}

.downloads-index h2 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.downloads-index a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}

.aboutmt-section {
  padding: 40px clamp(18px, 4vw, 56px) 64px;
}

.titlemt {
  font-size: 1.5rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.aboutmt-card {
  background: #000000;
  border: 1px solid #4b5563;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: rgb(255, 255, 255);
  margin: 0 auto;
  max-width: 760px;
  padding: clamp(28px, 4vw, 42px);
}

.aboutmt-body {
  margin: 0 0 1rem 0;
}

.aboutmt-quote {
  font-size: 1.15rem;
  font-style: italic;
  margin: 2rem 0;
  padding-left: 2rem;
}

.aboutmtcopyright {
  color: #e7e3e3;
  margin-top: 2.5rem;
  text-align: center;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .company-link span {
    display: none;
  }

  .downloads-page,
  .latest-release {
    grid-template-columns: 1fr;
  }

  .downloads-index {
    position: static;
  }

  .button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eaf4fb;
    --muted: #a8b8c7;
    --line: #243a4d;
    --panel: #101c2a;
    --page: #08131f;
    --accent: #32c7e8;
    --accent-strong: #7adcf2;
    --cyan: #3aa7ff;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  }

  .site-header {
    border-bottom-color: rgba(36, 58, 77, 0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
