/* ============================================================
   QMT HOMEPAGE — Hero, Features, Feature Grid, Brand,
   Pricing, CTA Section Styles
   ============================================================ */

/* ============================================================
   HERO SECTION
   ============================================================ */
.qmt-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 35px;
  padding-bottom: 45px;
  min-height: min(45vh, 520px);
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Dark gradient overlay */
.qmt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, var(--qmt-hero-overlay, 0.86)), var(--qmt-bg));
  pointer-events: none;
}

/* Bottom fade to page bg */
.qmt-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(8, 8, 9, 0.6) 50%,
    #080809 100%
  );
  pointer-events: none;
  z-index: 1;
}

.qmt-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 100%;
  width: 1280px;
  margin: 0 auto;
}

.qmt-hero__row {
  display: flex;
  flex-direction: row;
  column-gap: 30px;
  align-items: center;
  width: 100%;
  padding: 10px clamp(20px, 5vw, 51px);
}

.qmt-hero__text {
  width: 55%;
}

.qmt-hero__diagram {
  width: 45%;
}

/* Hero typography */
.qmt-hero__heading {
  font-family: var(--qmt-font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.2px;
  line-height: 1.15;
  margin: 0;
}

.qmt-hero__subheading {
  font-family: var(--qmt-font-display);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
  margin: 12px 0 0 0;
}

.qmt-hero__body {
  font-family: var(--qmt-font-body);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  margin: 24px 0;
}

/* Hero responsive */
@media (max-width: 900px) {
  .qmt-hero__row {
    flex-direction: column;
    padding: 10px clamp(20px, 5vw, 51px);
  }

  .qmt-hero__text {
    width: 100%;
  }

  .qmt-hero__diagram {
    width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 478px) {
  .qmt-hero__row {
    padding: 0 clamp(16px, 5vw, 45px) 20px;
  }
}

/* ============================================================
   HERO BUTTONS
   ============================================================ */
.qmt-hero-btns {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

/* ---- Shared base ---- */
.qmt-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1 1 50%;
  font-family: var(--qmt-font-display);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: clamp(13px, 1.4vw, 16px) clamp(18px, 2vw, 28px);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: color 0.35s var(--qmt-ease);
}

/* ---- Primary: muted gold fill ---- */
.qmt-hero-btn--primary {
  color: var(--qmt-bg);
  background: var(--qmt-gold);
  border-radius: 2px 0 0 2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.qmt-hero-btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--qmt-gold-light);
  transform: translateX(-101%);
  transition: transform 0.4s var(--qmt-ease);
}

.qmt-hero-btn--primary:hover::after {
  transform: translateX(0);
}

/* ---- Secondary: dark surface, gold text ---- */
.qmt-hero-btn--secondary {
  color: var(--qmt-gold-accent);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 2px 2px 0;
  border-left: 1px solid rgba(184, 150, 46, 0.35);
}

.qmt-hero-btn--secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(184, 150, 46, 0.1);
  transform: translateX(101%);
  transition: transform 0.4s var(--qmt-ease);
}

.qmt-hero-btn--secondary:hover {
  color: #E0C070;
}

.qmt-hero-btn--secondary:hover::after {
  transform: translateX(0);
}

/* ---- Icon + label above wipe layer ---- */
.qmt-hero-btn__label,
.qmt-hero-btn__icon {
  position: relative;
  z-index: 1;
}

.qmt-hero-btn__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--qmt-ease);
}

.qmt-hero-btn--primary:hover .qmt-hero-btn__icon {
  transform: translate(3px, -3px);
}

.qmt-hero-btn--secondary:hover .qmt-hero-btn__icon {
  transform: translateX(4px);
}

/* ---- Hero buttons mobile ---- */
@media (max-width: 480px) {
  .qmt-hero-btns {
    flex-direction: column;
    gap: 8px;
  }

  .qmt-hero-btn {
    border-radius: 2px;
    flex: 1 1 auto;
    width: 100%;
    justify-content: space-between;
    padding: 14px 20px;
  }

  .qmt-hero-btn--secondary {
    border-left: none;
    border-top: 1px solid rgba(184, 150, 46, 0.35);
  }
}

/* ============================================================
   FEATURES SECTION (3-column strip)
   ============================================================ */
.qmt-features-section {
  width: 100%;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 5vw, 80px);
  background: var(--qmt-bg);
}

.qmt-features-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.qmt-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  border-top: 1px solid rgba(184, 150, 46, 0.18);
}

/* ---- Single feature ---- */
.qmt-feature {
  position: relative;
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.4s var(--qmt-ease);
  overflow: hidden;
}

.qmt-feature:last-child {
  border-right: none;
}

/* Gold corner accent top-left */
.qmt-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--qmt-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--qmt-ease);
}

@media (hover: hover) {
  .qmt-feature:hover::before {
    transform: scaleX(1);
  }

  .qmt-feature:hover {
    background: rgba(184, 150, 46, 0.03);
  }

  .qmt-feature:hover .qmt-feature__num {
    opacity: 1;
  }

  .qmt-feature:hover .qmt-feature__text {
    color: var(--qmt-text);
  }

  .qmt-feature:hover .qmt-feature__rule::after {
    opacity: 1;
    width: 48px;
  }
}

/* ---- Index number ---- */
.qmt-feature__num {
  font-family: var(--qmt-font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #C9A54A;
  opacity: 1;
  line-height: 1;
  transition: opacity 0.3s;
}

/* ---- Body ---- */
.qmt-feature__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.qmt-feature__title {
  font-family: var(--qmt-font-display);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--qmt-text);
  line-height: 1.15;
  margin: 0;
}

.qmt-feature__text {
  font-family: var(--qmt-font-body);
  font-size: clamp(13px, 1vw, 14px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--qmt-text-muted);
  margin: 0;
  transition: color 0.3s;
}

/* ---- Bottom hairline rule with gold pip ---- */
.qmt-feature__rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  margin-top: auto;
}

.qmt-feature__rule::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 24px;
  background: var(--qmt-gold);
  opacity: 0;
  transition: opacity 0.4s var(--qmt-ease), width 0.4s var(--qmt-ease);
}


/* ---- Features responsive ---- */
@media (max-width: 768px) {
  .qmt-features-section {
    padding: clamp(20px, 3vw, 32px) clamp(20px, 5vw, 40px);
  }

  .qmt-features {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .qmt-feature {
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 28px 0;
    gap: 12px;
  }

  .qmt-feature:first-child {
    border-top: 1px solid rgba(184, 150, 46, 0.18);
  }
}

@media (min-width: 769px) and (max-width: 1050px) {
  .qmt-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qmt-feature:nth-child(2) { border-right: none; }
  .qmt-feature:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.06); }
}

@media (max-width: 480px) {
  .qmt-features-section {
    padding: clamp(48px, 8vw, 72px) clamp(20px, 5vw, 32px);
  }

  .qmt-feature {
    padding: 24px 0;
  }

  .qmt-feature__title {
    font-size: 18px;
  }

  .qmt-feature__text {
    font-size: 13px;
  }
}

/* ============================================================
   FEATURE GRID (.qmt-fg)
   ============================================================ */
.qmt-fg {
  width: 100%;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 5vw, 80px);
  background: var(--qmt-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.qmt-fg__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
}

/* ---- Heading block ---- */
.qmt-fg__heading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.qmt-fg__eyebrow {
  font-family: var(--qmt-font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--qmt-gold);
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 12px;
}

.qmt-fg__eyebrow::before,
.qmt-fg__eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(184, 150, 46, 0.35);
}

.qmt-fg__heading {
  font-family: var(--qmt-font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--qmt-text);
  line-height: 1.15;
  margin: 0;
}

/* ---- Grid ---- */
.qmt-fg__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(184, 150, 46, 0.15);
}

/* Secondary grid sits lower with dimmer separator */
.qmt-fg__grid--secondary {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: -1px;
}

/* ---- Card base ---- */
.qmt-fg__card {
  position: relative;
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.4s var(--qmt-ease);
  overflow: hidden;
}

.qmt-fg__card:last-child {
  border-right: none;
}

/* Gold sweep on top edge */
.qmt-fg__card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 40px;
  background: var(--qmt-gold);
  opacity: 0;
  transition: opacity 0.35s, width 0.4s var(--qmt-ease);
}

@media (hover: hover) {
  .qmt-fg__card:hover {
    background: rgba(184, 150, 46, 0.025);
  }

  .qmt-fg__card:hover::before {
    opacity: 1;
    width: 64px;
  }

  .qmt-fg__card:hover .qmt-fg__card-icon {
    opacity: 1;
  }

  .qmt-fg__card:hover .qmt-fg__card-num {
    opacity: 0.9;
  }

  .qmt-fg__card:hover .qmt-fg__card-text {
    color: var(--qmt-text);
  }

  .qmt-fg__card:hover .qmt-fg__card-rule::after {
    opacity: 1;
    width: 36px;
  }
}

/* ---- Icon ---- */
.qmt-fg__card-icon {
  color: var(--qmt-gold);
  opacity: 0.55;
  display: flex;
  align-items: center;
  width: 18px;
  height: 18px;
  transition: opacity 0.3s;
}

/* ---- Number ---- */
.qmt-fg__card-num {
  font-family: var(--qmt-font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #C9A54A;
  opacity: 1;
  line-height: 1;
  transition: opacity 0.3s;
}

/* ---- Title ---- */
.qmt-fg__card-title {
  font-family: var(--qmt-font-display);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--qmt-text);
  line-height: 1.2;
  margin: 0;
}

/* ---- Body text ---- */
.qmt-fg__card-text {
  font-family: var(--qmt-font-body);
  font-size: clamp(13px, 1vw, 14px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--qmt-text-muted);
  margin: 0;
  transition: color 0.3s;
}

/* ---- Bottom rule with gold pip ---- */
.qmt-fg__card-rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.04);
  margin-top: auto;
  position: relative;
}

.qmt-fg__card-rule::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 20px;
  background: var(--qmt-gold);
  opacity: 0;
  transition: opacity 0.35s, width 0.4s var(--qmt-ease);
}


/* ---- Secondary cards ---- */
.qmt-fg__card--secondary {
  padding: 36px 32px 40px;
  gap: 14px;
}

/* ---- Feature grid responsive ---- */
@media (max-width: 900px) {
  .qmt-fg__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Wrap 3rd card full width */
  .qmt-fg__card:nth-child(3) {
    grid-column: span 2;
    border-right: none;
  }
}

@media (max-width: 600px) {
  .qmt-fg {
    padding: clamp(20px, 3vw, 32px) clamp(20px, 5vw, 32px);
  }

  .qmt-fg__grid,
  .qmt-fg__grid--secondary {
    grid-template-columns: 1fr;
  }

  .qmt-fg__card {
    border-right: none;
    padding: 28px 0 32px;
  }

  .qmt-fg__card--secondary {
    padding: 28px 0 32px;
  }

  .qmt-fg__card:nth-child(3) {
    grid-column: span 1;
  }
}

/* ============================================================
   BRAND SECTION (.qmt-bd)
   ============================================================ */
.qmt-bd {
  width: 100%;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 5vw, 80px);
  background: var(--qmt-bg-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.qmt-bd__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 clamp(40px, 6vw, 80px);
  align-items: start;
}

.qmt-bd__closing {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(184, 150, 46, 0.2);
  color: var(--qmt-gold-light);
  font-family: var(--qmt-font-display);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.qmt-bd__trusted-firms {
  margin: -16px 0 0;
  color: var(--qmt-text-muted);
  font-family: var(--qmt-font-body);
  font-size: 14px;
  line-height: 1.7;
}

.qmt-bd__claims {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.qmt-bd__claims .qmt-bd__pillar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.qmt-bd__claims .qmt-bd__pillar:last-child { border-right: none; }
.qmt-bd__claims .qmt-bd__pillar-label { opacity: 1; }

.qmt-bd__body p { margin: 0; }
.qmt-bd__body cite {
  display: block;
  margin-top: 16px;
  color: var(--qmt-gold);
  font-family: var(--qmt-font-display);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- LEFT: HEADING ---- */
.qmt-bd__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.qmt-bd__eyebrow {
  font-family: var(--qmt-font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--qmt-gold);
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 12px;
}

.qmt-bd__eyebrow::before,
.qmt-bd__eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(184, 150, 46, 0.35);
  flex-shrink: 0;
}

.qmt-bd__heading {
  font-family: var(--qmt-font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--qmt-text);
  line-height: 1.15;
  margin: 0;
}

.qmt-bd__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--qmt-font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qmt-gold);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(184, 150, 46, 0.3);
  align-self: flex-start;
  transition: color 0.25s, border-color 0.25s;
}

.qmt-bd__link svg {
  transition: transform 0.3s var(--qmt-ease);
  flex-shrink: 0;
}

.qmt-bd__link:hover {
  color: var(--qmt-gold-light);
  border-color: rgba(212, 176, 96, 0.5);
}

.qmt-bd__link:hover svg {
  transform: translate(2px, -2px);
}

/* ---- VERTICAL DIVIDER ---- */
.qmt-bd__divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 1px;
  align-self: stretch;
  min-height: 300px;
}

.qmt-bd__divider-line {
  flex: 1;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.qmt-bd__divider-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--qmt-gold);
  opacity: 0.5;
  flex-shrink: 0;
  margin: 12px 0;
  transform: translateX(-2px);
}

/* ---- RIGHT: COPY ---- */
.qmt-bd__right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Desktop: start the quote level with the heading on its left
   (eyebrow line plus the 32px column gap, measured at 51px). */
@media (min-width: 901px) {
  .qmt-bd__right { padding-top: 51px; }
}

.qmt-bd__body {
  font-family: var(--qmt-font-body);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.75;
  color: var(--qmt-text-dim);
  margin: 0;
}

.qmt-bd__tagline {
  font-family: var(--qmt-font-display);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--qmt-text);
  line-height: 1.4;
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--qmt-gold);
}

/* ---- Pillars ---- */
.qmt-bd__pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.qmt-bd__pillar {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.25s, border-color 0.25s;
}

.qmt-bd__pillar-label {
  font-family: var(--qmt-font-display);
  font-size: clamp(12px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--qmt-gold);
  opacity: 0.7;
  transition: opacity 0.25s;
}

@media (hover: hover) {
  .qmt-bd__pillar:hover {
    border-bottom-color: rgba(184, 150, 46, 0.3);
  }

  .qmt-bd__pillar:hover .qmt-bd__pillar-label {
    opacity: 1;
  }

  .qmt-bd__pillar:hover .qmt-bd__pillar-text {
    color: var(--qmt-text);
  }
}

.qmt-bd__pillar-text {
  font-family: var(--qmt-font-body);
  font-size: clamp(12px, 0.95vw, 13px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--qmt-text-faint);
  transition: color 0.25s;
}

/* ---- Brand claims: 3 equal columns >=1024px, single column below ---- */
.qmt-bd__pillars.qmt-bd__claims {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.qmt-bd__pillars.qmt-bd__claims .qmt-bd__pillar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  padding: 20px 0;
  border-right: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.qmt-bd__pillars.qmt-bd__claims .qmt-bd__pillar:last-child { border-bottom: none; }

@media (min-width: 1024px) {
  .qmt-bd__pillars.qmt-bd__claims { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .qmt-bd__pillars.qmt-bd__claims .qmt-bd__pillar {
    padding: 20px 24px;
    border-bottom: none;
  }

  .qmt-bd__pillars.qmt-bd__claims .qmt-bd__pillar:first-child { padding-left: 0; }
  .qmt-bd__pillars.qmt-bd__claims .qmt-bd__pillar:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, 0.06); }
}

.qmt-bd__link:focus-visible {
  outline: 2px solid #D4B060;
  outline-offset: 3px;
}

/* ---- Brand responsive ---- */
@media (max-width: 900px) {
  .qmt-bd__inner {
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 56px) 0;
  }

  .qmt-bd__left {
    position: static;
    gap: 20px;
  }

  /* Divider becomes horizontal on mobile */
  .qmt-bd__divider {
    flex-direction: row;
    width: 100%;
    min-height: unset;
    height: 1px;
    align-self: auto;
  }

  .qmt-bd__divider-line {
    flex: 1;
    height: 1px;
    width: auto;
  }

  .qmt-bd__divider-pip {
    transform: translateY(-2px);
    margin: 0 12px;
  }

  .qmt-bd__pillar {
    grid-template-columns: 1fr;
    gap: 6px;
  }

}

@media (max-width: 560px) {
  .qmt-bd {
    padding: clamp(20px, 3vw, 32px) clamp(20px, 5vw, 32px);
  }

  .qmt-bd__heading {
    font-size: clamp(22px, 7vw, 32px);
  }

  .qmt-bd__tagline {
    font-size: 15px;
  }
}

/* ============================================================
   PRICING (.qmt-pricing)
   ============================================================ */
.qmt-pricing {
  width: 100%;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 5vw, 80px);
  background: var(--qmt-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.qmt-pricing__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
}

/* ---- Heading block ---- */
.qmt-pricing__heading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.qmt-pricing__eyebrow {
  font-family: var(--qmt-font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--qmt-gold);
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 12px;
}

.qmt-pricing__eyebrow::before,
.qmt-pricing__eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(184, 150, 46, 0.35);
}

.qmt-pricing__heading {
  font-family: var(--qmt-font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--qmt-text);
  line-height: 1.15;
  margin: 0;
}

/* ---- Grid ---- */
.qmt-pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px;
}

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

/* Equal-height cards with CTAs on one line when the feature lists differ. */
@media (min-width: 861px) {
  .qmt-pricing__grid--count-3 {
    align-items: stretch;
  }

  .qmt-pricing__grid--count-3 .qmt-pricing__cta {
    margin-top: auto;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .qmt-pricing__grid--count-3 .qmt-pricing__card {
    padding: 32px 24px 36px;
  }
}

/* ---- Card base ---- */
.qmt-pricing__card {
  position: relative;
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
}

.qmt-pricing__card:last-child {
  border-right: none;
}

/* ---- Featured card ---- */
.qmt-pricing__card--featured {
  background: rgba(184, 150, 46, 0.03);
  border-right-color: rgba(184, 150, 46, 0.15);
  border-left: 1px solid rgba(184, 150, 46, 0.15);
  margin-left: -1px;
}

/* Gold top accent on featured */
.qmt-pricing__card--featured::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #B8962E, transparent);
}

/* ---- Recommended badge ---- */
.qmt-pricing__recommended {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-family: var(--qmt-font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--qmt-bg);
  background: var(--qmt-gold);
  padding: 4px 14px;
  border-radius: 2px;
  white-space: nowrap;
}

/* ---- Card top ---- */
.qmt-pricing__card-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qmt-pricing__plan-num {
  font-family: var(--qmt-font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #C9A54A;
  opacity: 1;
  line-height: 1;
}

.qmt-pricing__plan-name {
  font-family: var(--qmt-font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qmt-text);
  margin: 0;
  line-height: 1;
}

/* ---- Price ---- */
.qmt-pricing__price-wrap {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 8px;
}

.qmt-pricing__currency {
  font-family: var(--qmt-font-display);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  color: var(--qmt-text-dim);
  line-height: 1;
}

.qmt-pricing__amount {
  font-family: var(--qmt-font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--qmt-text);
  line-height: 1;
}

.qmt-pricing__card--featured .qmt-pricing__amount {
  color: var(--qmt-gold-accent);
}

.qmt-pricing__decimal {
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: super;
  color: var(--qmt-text-dim);
}

.qmt-pricing__period {
  font-family: var(--qmt-font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--qmt-text-faint);
  line-height: 1.4;
}

.qmt-pricing__was {
  font-family: var(--qmt-font-body);
  font-size: 11px;
  font-weight: 400;
  color: var(--qmt-gold);
  opacity: 0.6;
  letter-spacing: 0.02em;
}

/* ---- Divider ---- */
.qmt-pricing__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
}

.qmt-pricing__card--featured .qmt-pricing__divider {
  background: rgba(184, 150, 46, 0.12);
}

/* ---- Feature list ---- */
.qmt-pricing__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.qmt-pricing__feature {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--qmt-font-body);
  font-size: clamp(12px, 0.95vw, 13px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--qmt-text-muted);
}

.qmt-pricing__card--featured .qmt-pricing__feature {
  color: var(--qmt-text-dim);
}

/* CSS check mark */
.qmt-pricing__check {
  display: inline-block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  position: relative;
  margin-top: 1px;
}

.qmt-pricing__check::before {
  content: '';
  position: absolute;
  width: 7px;
  height: 4px;
  border-left: 1.5px solid var(--qmt-gold);
  border-bottom: 1.5px solid var(--qmt-gold);
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0.6;
}

.qmt-pricing__card--featured .qmt-pricing__check::before {
  opacity: 1;
}

/* ---- CTA buttons ---- */
.qmt-pricing__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--qmt-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: color 0.3s, border-color 0.3s;
}

/* Ghost */
.qmt-pricing__cta--ghost {
  color: var(--qmt-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.qmt-pricing__cta--ghost::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(-101%);
  transition: transform 0.35s var(--qmt-ease);
}

@media (hover: hover) {
  .qmt-pricing__cta--ghost:hover {
    color: var(--qmt-text);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .qmt-pricing__cta--ghost:hover::after {
    transform: translateX(0);
  }
}

/* Primary */
.qmt-pricing__cta--primary {
  color: var(--qmt-bg);
  background: var(--qmt-gold);
  border: 1px solid var(--qmt-gold);
}

.qmt-pricing__cta--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--qmt-gold-light);
  transform: translateX(-101%);
  transition: transform 0.35s var(--qmt-ease);
}

@media (hover: hover) {
  .qmt-pricing__cta--primary:hover::after {
    transform: translateX(0);
  }

  .qmt-pricing__cta:hover svg {
    transform: translate(2px, -2px);
  }
}

.qmt-pricing__cta[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  background: transparent;
  color: var(--qmt-text-muted);
  border: 1px dashed rgba(184, 150, 46, 0.4);
}

.qmt-pricing__cta[aria-disabled="true"]::after {
  display: none;
}

.qmt-pricing__cta svg {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: transform 0.3s var(--qmt-ease);
}

.qmt-pricing__cta span {
  position: relative;
  z-index: 1;
}

/* ---- Pricing page copy blocks ---- */
.qmt-pricing-intro,
.qmt-pricing-under-table {
  width: 100%;
  padding: 0 clamp(24px, 5vw, 80px) 48px;
  background: var(--qmt-bg);
}

.qmt-pricing-intro__inner,
.qmt-pricing-under-table__inner {
  max-width: 840px;
  margin: 0 auto;
}

.qmt-pricing-intro__inner p,
.qmt-pricing-under-table__inner p {
  margin: 0 0 16px;
  color: var(--qmt-text-muted);
  font-family: var(--qmt-font-body);
  font-size: 15px;
  line-height: 1.8;
}

.qmt-pricing-under-table {
  padding-top: 30px;
  padding-bottom: 36px;
}

.qmt-pricing-under-table__inner p:last-child {
  margin-bottom: 0;
}

.qmt-pricing-under-table__inner a {
  color: #D4B060;
  text-decoration: underline;
  text-decoration-color: rgba(212, 176, 96, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.qmt-pricing-under-table__inner a:hover,
.qmt-pricing-under-table__inner a:focus-visible {
  color: #F5F2ED;
  text-decoration-color: currentColor;
}

@media (max-width: 860px) {
  .qmt-pricing-under-table__inner a {
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
    padding: 0 2px;
  }
}

/* ---- Supporting note ---- */
.qmt-pricing__note {
  font-family: var(--qmt-font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--qmt-text-faint);
  text-align: center;
  margin: 0;
}

/* ---- Pricing responsive ---- */
@media (max-width: 860px) {
  .qmt-pricing__grid {
    grid-template-columns: 1fr;
    border: none;
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
  }

  .qmt-pricing__card {
    border-right: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--qmt-bg);
  }

  .qmt-pricing__card:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }

  .qmt-pricing__card--featured {
    border-color: rgba(184, 150, 46, 0.2);
    background: rgba(184, 150, 46, 0.03);
    margin-left: 0;
    order: -1;
  }

  .qmt-pricing__recommended {
    top: 0;
    transform: translateX(-50%) translateY(-50%);
  }
}

@media (max-width: 480px) {
  .qmt-pricing {
    padding: clamp(20px, 3vw, 32px) clamp(20px, 5vw, 32px);
  }

  .qmt-pricing__card {
    padding: 28px 20px 32px;
  }
}

/* ============================================================
   FINAL CTA SECTION (.qmt-cta)
   ============================================================ */
.qmt-cta {
  width: 100%;
  position: relative;
  padding: clamp(96px, 14vw, 160px) clamp(24px, 5vw, 80px);
  background: var(--qmt-bg);
  border-top: 1px solid rgba(184, 150, 46, 0.15);
  overflow: hidden;
  text-align: center;
}

/* ---- Background decoration ---- */
.qmt-cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Concentric rings */
.qmt-cta__bg-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(184, 150, 46, 0.06);
  transform: translate(-50%, -50%);
}

.qmt-cta__bg-ring--outer {
  width: clamp(500px, 80vw, 900px);
  height: clamp(500px, 80vw, 900px);
}

.qmt-cta__bg-ring--inner {
  width: clamp(300px, 50vw, 560px);
  height: clamp(300px, 50vw, 560px);
  border-color: rgba(184, 150, 46, 0.09);
}

/* Hairline diagonal rules */
.qmt-cta__bg-line {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(184, 150, 46, 0.12) 0%,
    rgba(184, 150, 46, 0.03) 50%,
    rgba(184, 150, 46, 0) 100%
  );
}

.qmt-cta__bg-line--left  { left: clamp(40px, 8vw, 120px); }
.qmt-cta__bg-line--right { right: clamp(40px, 8vw, 120px); }

/* ---- Content ---- */
.qmt-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin: 0 auto;
}

.qmt-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* ---- Eyebrow ---- */
.qmt-cta__eyebrow {
  font-family: var(--qmt-font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--qmt-gold);
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 12px;
}

.qmt-cta__eyebrow::before,
.qmt-cta__eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(184, 150, 46, 0.35);
}

/* ---- Heading ---- */
.qmt-cta__heading {
  font-family: var(--qmt-font-display);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--qmt-text);
  line-height: 1.12;
  margin: 0;
}

/* ---- Body ---- */
.qmt-cta__body {
  font-family: var(--qmt-font-body);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.75;
  color: var(--qmt-text-muted);
  margin: 0;
  max-width: 520px;
}

/* ---- Buttons ---- */
.qmt-cta__actions {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 12px;
}

.qmt-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--qmt-font-display);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: clamp(13px, 1.4vw, 16px) clamp(24px, 3vw, 36px);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: color 0.35s var(--qmt-ease);
}

/* Primary: gold fill */
.qmt-cta__btn--primary {
  color: var(--qmt-bg);
  background: var(--qmt-gold);
  border: 1px solid var(--qmt-gold);
  border-radius: 2px 0 0 2px;
}

.qmt-cta__btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--qmt-gold-light);
  transform: translateX(-101%);
  transition: transform 0.4s var(--qmt-ease);
}

.qmt-cta__btn--primary:hover::after {
  transform: translateX(0);
}

/* Ghost: dark surface, gold text */
.qmt-cta__btn--ghost {
  color: var(--qmt-gold);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--qmt-gold);
  border-left: none;
  border-radius: 0 2px 2px 0;
}

.qmt-cta__btn--ghost::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(184, 150, 46, 0.1);
  transform: translateX(101%);
  transition: transform 0.4s var(--qmt-ease);
}

.qmt-cta__btn--ghost:hover {
  color: #E0C070;
}

.qmt-cta__btn--ghost:hover::after {
  transform: translateX(0);
}

.qmt-cta__btn-label,
.qmt-cta__btn-icon {
  position: relative;
  z-index: 1;
}

.qmt-cta__btn-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--qmt-ease);
}

.qmt-cta__btn--primary:hover .qmt-cta__btn-icon {
  transform: translate(3px, -3px);
}

.qmt-cta__btn--ghost:hover .qmt-cta__btn-icon {
  transform: translateX(4px);
}

/* ---- CTA section responsive ---- */
@media (max-width: 600px) {
  .qmt-cta {
    padding: clamp(72px, 12vw, 100px) clamp(20px, 5vw, 32px);
  }

  .qmt-cta__actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .qmt-cta__btn {
    width: 100%;
    border-radius: 2px;
    justify-content: space-between;
  }

  .qmt-cta__btn--primary {
    border-radius: 2px;
  }

  .qmt-cta__btn--ghost {
    border-left: 1px solid var(--qmt-gold);
    border-radius: 2px;
  }

  .qmt-cta__bg-ring--outer {
    width: 120vw;
    height: 120vw;
  }

  .qmt-cta__bg-ring--inner {
    width: 75vw;
    height: 75vw;
  }
}

/* Editable audience list */
.qmt-home-audience{padding:clamp(48px,6vw,88px) 24px;background:var(--qmt-bg);border-top:1px solid rgba(255,255,255,.06);font-family:var(--qmt-font-body)}.qmt-home-audience__inner{max-width:980px;margin:0 auto}.qmt-home-audience h2{font:600 clamp(26px,3vw,40px) var(--qmt-font-display);text-transform:uppercase;text-align:center;color:var(--qmt-text);margin:0 0 32px}.qmt-home-audience ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 36px;list-style:none;margin:0;padding:0}.qmt-home-audience li{position:relative;padding:14px 12px 14px 30px;color:var(--qmt-text-dim);line-height:1.6;border-bottom:1px solid rgba(255,255,255,.07)}.qmt-home-audience li:before{content:"";position:absolute;left:4px;top:23px;width:8px;height:8px;background:var(--qmt-gold);transform:rotate(45deg)}@media(max-width:640px){.qmt-home-audience ul{grid-template-columns:1fr}}
.qmt-home-audience__intro{max-width:850px;margin:-12px auto 28px;color:var(--qmt-text-muted);font-size:15px;line-height:1.75;text-align:center}
