:root {
  --walnut: #171411;
  --walnut-2: #211b17;
  --panel: #28211c;
  --panel-soft: #302720;
  --bone: #e9d8b4;
  --bone-dim: #c9bda9;
  --verdigris: #68a992;
  --verdigris-light: #9ac9b8;
  --madder: #6d4ae6;
  --madder-light: #937ced;
  --brass: #d1b76f;
  --line: rgba(233, 216, 180, .14);
  --shadow: 0 24px 70px rgba(0, 0, 0, .32);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--bone);
  background:
    radial-gradient(circle at 12% 7%, rgba(104, 169, 146, .18), transparent 27rem),
    radial-gradient(circle at 88% 18%, rgba(109, 74, 230, .13), transparent 25rem),
    repeating-linear-gradient(118deg, rgba(233, 216, 180, .018) 0 1px, transparent 1px 14px),
    var(--walnut);
  font-family: "Raleway", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .2;
  pointer-events: none;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(233, 216, 180, .08) 49% 51%, transparent 52%),
    linear-gradient(150deg, transparent 48%, rgba(104, 169, 146, .08) 49% 51%, transparent 52%);
  background-size: 96px 56px;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }

.mqt-skip {
  position: absolute;
  left: 14px;
  top: -120px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bone);
  color: var(--walnut);
}
.mqt-skip:focus { top: 14px; }

.mqt-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.mqt-head {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(23, 20, 17, .9);
  backdrop-filter: blur(16px);
}
.mqt-head__in {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.mqt-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: "Viaoda Libre", Georgia, serif;
  font-size: 28px;
  letter-spacing: .02em;
}
.mqt-brand svg { width: 42px; height: 42px; }
.mqt-brand small {
  display: block;
  color: var(--bone-dim);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mqt-nav { display: flex; gap: 22px; margin-left: auto; }
.mqt-nav a {
  color: var(--bone-dim);
  text-decoration: none;
  font-size: 14px;
}
.mqt-nav a:hover { color: var(--bone); }

.mqt-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--madder);
  border-radius: 8px 20px 8px 20px;
  background: var(--madder);
  color: #fff8ef;
  box-shadow: 0 12px 30px rgba(109, 74, 230, .22);
  text-decoration: none;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease;
}
.mqt-btn:hover { transform: translateY(-2px); background: var(--madder-light); }
.mqt-btn--ghost {
  border-color: rgba(233, 216, 180, .35);
  background: transparent;
  box-shadow: none;
  color: var(--bone);
}
.mqt-btn--ghost:hover { background: rgba(233, 216, 180, .08); }
.mqt-btn--head { min-height: 42px; padding-inline: 18px; font-size: 14px; }

.mqt-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  min-height: 720px;
  padding: 88px 0 72px;
}
.mqt-kicker, .mqt-over {
  margin: 0 0 12px;
  color: var(--verdigris-light);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3, h4 {
  margin-top: 0;
  color: var(--bone);
  font-family: "Viaoda Libre", Georgia, serif;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { margin-bottom: 24px; font-size: clamp(43px, 6.2vw, 76px); font-weight: 600; letter-spacing: -.035em; }
h1 span { color: var(--madder-light); }
h2 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 54px); font-weight: 600; letter-spacing: -.025em; }
h3 { margin-bottom: 10px; font-size: 25px; font-weight: 600; }
h4 { margin-bottom: 8px; font-size: 18px; }
p { margin: 0 0 18px; }
.mqt-lead { max-width: 70ch; color: var(--bone-dim); font-size: 20px; line-height: 1.72; }
.mqt-hero__copy { width: 90%; min-width: 0; }
.mqt-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }
.mqt-hero__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mqt-hero__facts div { padding: 18px 12px; border-right: 1px solid var(--line); }
.mqt-hero__facts div:last-child { border-right: 0; }
.mqt-hero__facts span, .mqt-hero__facts small { display: block; color: var(--bone-dim); font-size: 12px; }
.mqt-hero__facts i { display: block; margin: 2px 0; color: var(--bone); font-family: "Cascadia Mono", Consolas, monospace; font-size: 20px; font-style: normal; }

.mqt-inlay {
  position: relative;
  min-height: 560px;
  padding: 30px;
  border: 1px solid rgba(233, 216, 180, .2);
  border-radius: 86px 18px 74px 18px;
  background:
    linear-gradient(135deg, rgba(233, 216, 180, .09), transparent 35%),
    linear-gradient(28deg, rgba(104, 169, 146, .2), transparent 40%),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mqt-inlay::before, .mqt-inlay::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(233, 216, 180, .22);
  border-radius: 45% 55% 42% 58%;
  transform: rotate(-17deg);
}
.mqt-inlay::before { inset: 62px 46px 120px 80px; }
.mqt-inlay::after { inset: 110px 88px 55px 30px; border-color: rgba(109, 74, 230, .38); }
.mqt-inlay svg { position: relative; z-index: 2; width: 100%; height: 310px; }
.mqt-inlay__note {
  position: relative;
  z-index: 3;
  margin-top: 12px;
  padding: 20px;
  border-left: 3px solid var(--verdigris);
  background: rgba(23, 20, 17, .76);
}
.mqt-inlay__note span { color: var(--brass); font-family: "Cascadia Mono", Consolas, monospace; font-size: 12px; text-transform: uppercase; }
.mqt-inlay__note p { margin: 6px 0 0; color: var(--bone-dim); }

.mqt-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 34px;
  border: 1px solid var(--line);
  background: rgba(40, 33, 28, .68);
}
.mqt-band div { padding: 24px; border-right: 1px solid var(--line); }
.mqt-band div:last-child { border-right: 0; }
.mqt-band span { color: var(--madder-light); font-family: "Cascadia Mono", Consolas, monospace; font-size: 13px; }
.mqt-band small { display: block; margin: 7px 0; color: var(--bone); font-weight: 700; }
.mqt-band p { margin: 0; color: var(--bone-dim); font-size: 14px; }

.mqt-section {
  position: relative;
  margin: 34px 0;
  padding: clamp(34px, 5vw, 68px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(40, 33, 28, .76);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .18);
  overflow: hidden;
}
.mqt-section::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(104, 169, 146, .22);
  border-radius: 45% 55% 50% 50%;
  transform: rotate(23deg);
  pointer-events: none;
}
.mqt-section--bone { background: var(--bone); color: #362c25; }
.mqt-section--bone h2, .mqt-section--bone h3 { color: var(--walnut); }
.mqt-section--bone .mqt-over { color: var(--verdigris); }
.mqt-sub { max-width: 82ch; color: var(--bone-dim); }
.mqt-section--bone .mqt-sub { color: #6b5d51; }

.mqt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.mqt-grid--4 { grid-template-columns: repeat(4, 1fr); }
.mqt-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px 28px 8px 28px;
  background: rgba(23, 20, 17, .58);
}
.mqt-card::before {
  content: attr(data-mark);
  display: inline-flex;
  min-width: 36px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(104, 169, 146, .6);
  color: var(--verdigris-light);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
}
.mqt-card p { margin: 0; color: var(--bone-dim); font-size: 15px; }
.mqt-section--bone .mqt-card { border-color: rgba(23, 20, 17, .15); background: rgba(255, 255, 255, .35); }
.mqt-section--bone .mqt-card p { color: #6b5d51; }

.mqt-route { display: grid; grid-template-columns: .92fr 1.08fr; gap: 28px; align-items: start; }
.mqt-route__list { display: grid; gap: 12px; }
.mqt-route__list div { padding: 18px 20px; border-left: 3px solid var(--madder); background: rgba(23, 20, 17, .45); }
.mqt-route__list span { display: block; color: var(--bone); font-weight: 700; }
.mqt-route__list small { color: var(--bone-dim); }

.mqt-bonus { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: center; }
.mqt-bonus__sum { color: var(--walnut); font-family: "Viaoda Libre", Georgia, serif; font-size: clamp(46px, 6vw, 76px); line-height: 1; }
.mqt-bonus__sum span { display: block; color: var(--madder); font-size: .5em; }
.mqt-steps { display: grid; gap: 10px; }
.mqt-step { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 15px; border: 1px solid rgba(23, 20, 17, .14); border-radius: 10px 24px 10px 24px; }
.mqt-step i { color: var(--verdigris); font-family: "Cascadia Mono", Consolas, monospace; font-style: normal; }
.mqt-step span { color: var(--walnut); font-weight: 750; }
.mqt-step small { color: #6b5d51; }

.mqt-slotgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.mqt-slot { min-height: 220px; padding: 22px; border: 1px solid var(--line); border-radius: 28px 8px 28px 8px; background: linear-gradient(145deg, rgba(104, 169, 146, .2), rgba(23, 20, 17, .75) 55%); }
.mqt-slot:nth-child(3n+2) { background: linear-gradient(145deg, rgba(109, 74, 230, .2), rgba(23, 20, 17, .75) 55%); }
.mqt-slot:nth-child(3n) { background: linear-gradient(145deg, rgba(201, 169, 94, .17), rgba(23, 20, 17, .75) 55%); }
.mqt-slot__num { color: var(--brass); font-family: "Cascadia Mono", Consolas, monospace; font-size: 12px; }
.mqt-slot h3 { margin: 34px 0 8px; font-size: 23px; }
.mqt-slot p { margin: 0; color: var(--bone-dim); font-size: 14px; }
.mqt-slot a { margin-top: 18px; display: inline-block; color: var(--verdigris-light); text-decoration: none; font-weight: 700; }

.mqt-livegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.mqt-live { padding: 22px; border: 1px solid rgba(23, 20, 17, .14); border-radius: 8px 26px 8px 26px; background: rgba(255,255,255,.34); }
.mqt-live span { display: block; color: var(--verdigris); font-family: "Cascadia Mono", Consolas, monospace; font-size: 12px; text-transform: uppercase; }
.mqt-live h3 { color: var(--walnut); margin: 18px 0 8px; }
.mqt-live p { margin: 0; color: #6b5d51; font-size: 15px; }

.mqt-table-wrap { overflow-x: auto; margin-top: 24px; }
.mqt-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.mqt-table th, .mqt-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.mqt-table th { color: var(--verdigris-light); font-family: "Cascadia Mono", Consolas, monospace; font-size: 12px; text-transform: uppercase; }
.mqt-table td { color: var(--bone-dim); }
.mqt-table td:first-child { color: var(--bone); font-weight: 700; }

.mqt-mobile { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; }
.mqt-phone { padding: 18px; border: 1px solid var(--line); border-radius: 42px; background: var(--walnut); box-shadow: var(--shadow); }
.mqt-phone__screen { padding: 28px; border: 1px solid rgba(233, 216, 180, .12); border-radius: 28px; background: linear-gradient(160deg, rgba(104,169,146,.28), rgba(109,74,230,.13)); }
.mqt-phone__screen span { color: var(--brass); font-family: "Cascadia Mono", Consolas, monospace; font-size: 12px; }
.mqt-phone__screen p { color: var(--bone-dim); }

.mqt-final { text-align: center; background: linear-gradient(125deg, rgba(104,169,146,.32), rgba(109,74,230,.22)), var(--panel); }
.mqt-final p { max-width: 68ch; margin: 0 auto 26px; color: var(--bone-dim); }
.mqt-final .mqt-actions { justify-content: center; }

.mqt-overview { background: #241d18; }
.mqt-overview h2:not(:first-of-type) { margin-top: 52px; font-size: clamp(29px, 3.3vw, 42px); }
.mqt-overview h3 { margin-top: 38px; }
.mqt-overview ul, .mqt-overview ol { margin: 18px 0 24px; padding-left: 24px; }
.mqt-overview li { margin-bottom: 10px; color: var(--bone-dim); }
.mqt-overview p { max-width: 90ch; color: var(--bone-dim); }

.mqt-faq details { border-top: 1px solid var(--line); }
.mqt-faq details:last-child { border-bottom: 1px solid var(--line); }
.mqt-faq summary { position: relative; padding: 20px 46px 20px 0; cursor: pointer; color: var(--bone); font-weight: 750; list-style: none; }
.mqt-faq summary::-webkit-details-marker { display: none; }
.mqt-faq summary::after { content: "+"; position: absolute; right: 8px; color: var(--madder-light); font-size: 25px; }
.mqt-faq details[open] summary::after { content: "−"; }
.mqt-faq details p { max-width: 82ch; padding: 0 44px 18px 0; color: var(--bone-dim); }

.mqt-note { display: grid; grid-template-columns: .32fr .68fr; gap: 34px; }
.mqt-note p { color: var(--bone-dim); }
.mqt-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.mqt-badges span { padding: 8px 12px; border: 1px solid rgba(104,169,146,.5); border-radius: 999px; color: var(--verdigris-light); font-family: "Cascadia Mono", Consolas, monospace; font-size: 11px; }

.mqt-foot { margin-top: 54px; padding: 58px 0 34px; border-top: 1px solid var(--line); background: #100e0c; }
.mqt-foot__top { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; }
.mqt-foot__brand p { color: var(--bone-dim); font-size: 14px; }
.mqt-foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mqt-foot__cols h4 a { text-decoration: none; }
.mqt-foot__cols ul { margin: 0; padding: 0; list-style: none; }
.mqt-foot__cols li { margin: 8px 0; }
.mqt-foot__cols a { color: var(--bone-dim); font-size: 14px; text-decoration: none; }
.mqt-foot__cols a:hover { color: var(--bone); }
.mqt-foot__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--bone-dim); font-size: 12px; }

@media (max-width: 980px) {
  .mqt-nav { display: none; }
  .mqt-head__in { justify-content: space-between; }
  .mqt-hero { grid-template-columns: 1fr; min-height: auto; }
  .mqt-inlay { min-height: 470px; }
  .mqt-hero__facts, .mqt-band { grid-template-columns: repeat(2, 1fr); }
  .mqt-hero__facts div:nth-child(2), .mqt-band div:nth-child(2) { border-right: 0; }
  .mqt-grid--4, .mqt-slotgrid { grid-template-columns: repeat(2, 1fr); }
  .mqt-route, .mqt-bonus, .mqt-mobile, .mqt-note, .mqt-foot__top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .mqt-wrap { width: min(100% - 24px, 1180px); }
  .mqt-head__in { min-height: 68px; }
  .mqt-brand { font-size: 24px; }
  .mqt-brand small { display: none; }
  .mqt-btn--head { padding-inline: 13px; }
  .mqt-hero { padding: 54px 0 42px; gap: 30px; }
  h1 { font-size: clamp(36px, 9.4vw, 50px); overflow-wrap: anywhere; text-wrap: initial; }
  h2 { font-size: clamp(31px, 9vw, 45px); }
  .mqt-lead { font-size: 18px; }
  .mqt-hero__facts, .mqt-band { grid-template-columns: 1fr 1fr; }
  .mqt-inlay { min-height: 430px; padding: 18px; border-radius: 56px 14px 48px 14px; }
  .mqt-inlay svg { height: 260px; }
  .mqt-section { padding: 32px 22px; border-radius: 18px; }
  .mqt-grid, .mqt-grid--4, .mqt-slotgrid, .mqt-livegrid { grid-template-columns: 1fr; }
  .mqt-step { grid-template-columns: 36px 1fr; }
  .mqt-step small { grid-column: 2; }
  .mqt-foot__cols { grid-template-columns: 1fr 1fr; }
  .mqt-foot__bottom { flex-direction: column; }
  .mqt-head .mqt-btn--head { display: none; }
}

@media (max-width: 460px) {
  .mqt-head .mqt-btn--head { display: none; }
  .mqt-actions { flex-direction: column; }
  .mqt-actions .mqt-btn { width: 100%; }
  .mqt-hero__facts, .mqt-band { grid-template-columns: 1fr; }
  .mqt-hero__facts div, .mqt-band div { border-right: 0; border-bottom: 1px solid var(--line); }
  .mqt-foot__cols { grid-template-columns: 1fr; }
}

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