.qm-body{
  background: var(--qm-fog);
  color: var(--qm-basalt);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Arial, "Apple Color Emoji", "Segoe UI Emoji";
}
.qm-skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.qm-skip:focus{
  left:14px; top:14px; width:auto; height:auto; padding:10px 12px;
  background:#fff; border:1px solid var(--qm-border); border-radius: 12px;
  box-shadow: var(--qm-shadow-soft); z-index: 9999;
}

/* Backdrop */
.qm-backdrop{
  position: fixed; inset: 0; pointer-events:none; z-index: -1;
  background: var(--qm-grad);
}
.qm-topo{
  position:absolute; inset:0;
  background-image:
    radial-gradient(rgba(15,22,32,.10) 1px, transparent 1px),
    linear-gradient(rgba(15,22,32,.06) 1px, transparent 1px);
  background-size: 18px 18px, 52px 52px;
  opacity: .16;
  mask-image: radial-gradient(circle at 30% 20%, black 0%, black 55%, transparent 78%);
}
.qm-glow{
  position:absolute; width: 560px; height: 560px;
  border-radius: 999px; filter: blur(44px); opacity: .36;
}
.qm-glow--1{ left:-240px; top:-260px; background: rgba(91,140,255,.30); }
.qm-glow--2{ right:-260px; top:-240px; background: rgba(15,109,91,.26); }
.qm-glow--3{ right: 18%; bottom:-340px; background: rgba(242,108,42,.22); }

/* Header / nav */
.qm-header{ position: sticky; top: 0; z-index: 50; }
.qm-nav{
  background: rgba(243,245,249,.74);
  border-bottom: 1px solid var(--qm-border);
  backdrop-filter: blur(10px);
}
.qm-nav .nav-link{ color: rgba(15,22,32,.78); }
.qm-nav .nav-link:hover{ color: rgba(15,22,32,.95); }

.qm-logo{
  width: 36px; height: 36px;
  display:grid; place-items:center;
  background: rgba(15,22,32,.06);
  border: 1px solid var(--qm-border);
  border-radius: 14px;
  color: var(--qm-basalt);
}
.qm-logo--foot{
  background: rgba(15,22,32,.05);
  border: 1px solid var(--qm-border);
}

.qm-badge{
  background: rgba(15,109,91,.10);
  border: 1px solid rgba(15,109,91,.16);
  color: rgba(15,22,32,.86);
  border-radius: 999px;
  padding: .35rem .6rem;
}

.btn:focus{ box-shadow: var(--qm-focus) !important; }

.btn-qm{
  --bs-btn-color: #0F1620;
  --bs-btn-bg: linear-gradient(135deg, rgba(91,140,255,1), rgba(242,108,42,1));
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #0F1620;
  --bs-btn-hover-bg: linear-gradient(135deg, rgba(15,109,91,1), rgba(91,140,255,1));
  --bs-btn-hover-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 91,140,255;
  border-radius: 14px;
  font-weight: 800;
}
.btn-lg {
  padding: 0.75rem 1.2rem;
  background-color: rgba(241, 233, 219, 0.56);
}
/* Sections */
.qm-section{ padding: 72px 0; }
.qm-section--alt{
  background: rgba(255,255,255,.72);
  border-top: 1px solid var(--qm-border);
  border-bottom: 1px solid var(--qm-border);
}
.qm-headline{ max-width: 760px; }

/* Hero */
.qm-hero{ position: relative; padding: 78px 0 0; }
.qm-kicker{
  display:inline-flex; gap:10px; align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--qm-border);
  color: rgba(15,22,32,.76);
  font-size: .92rem;
  margin-bottom: 12px;
}
.qm-kdot{
  width: 10px; height: 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--qm-glacier), var(--qm-kelp));
  box-shadow: 0 0 0 4px rgba(91,140,255,.12);
}

.qm-metrics{ display:flex; flex-wrap:wrap; gap: 10px; }
.qm-metric{
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid var(--qm-border);
  background: rgba(255,255,255,.72);
  min-width: 150px;
}
.qm-metric__k{ font-size: .78rem; color: rgba(15,22,32,.60); }
.qm-metric__v{ font-weight: 900; }

/* Hero card */
.qm-heroCard{
  border-radius: var(--qm-radius-lg);
  border: 1px solid var(--qm-border);
  background: rgba(255,255,255,.82);
  box-shadow: var(--qm-shadow);
  overflow: hidden;
}
.qm-heroCard__cap{
  display:flex; justify-content: space-between; gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--qm-border);
  background: rgba(255,255,255,.74);
}
.qm-capItem__k{ font-size: .78rem; color: rgba(15,22,32,.60); }
.qm-capItem__v{ font-weight: 900; }

.qm-heroCard__body{
  padding: 18px;
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 14px;
  align-items: center;
}
.qm-heroIll{
  border-radius: 18px;
  border: 1px solid var(--qm-border);
  background: #fff;
  padding: 10px;
}
.qm-checkPanel{
  border-radius: 18px;
  border: 1px solid var(--qm-border);
  background: rgba(243,245,249,.78);
  padding: 14px;
}
.qm-checkPanel__t{ font-weight: 900; margin-bottom: 8px; }

.qm-heroCard__foot{
  display:flex; flex-wrap: wrap; gap: 12px;
  align-items:center;
  padding: 14px 18px;
  border-top: 1px solid var(--qm-border);
  background: rgba(255,255,255,.72);
}
.qm-link{ color: var(--qm-basalt); text-decoration:none; font-weight: 800; }
.qm-link:hover{ text-decoration: underline; }
.qm-dot{
  width: 6px; height: 6px; border-radius: 999px;
  background: rgba(15,22,32,.25);
}

.qm-cut{ margin-top: 34px; }

/* Cards */
.qm-card{
  position: relative;
  padding: 18px;
  border-radius: var(--qm-radius);
  border: 1px solid var(--qm-border);
  background: rgba(255,255,255,.80);
  box-shadow: var(--qm-shadow-soft);
  overflow:hidden;
}
.qm-card--cut::after{
  content:"";
  position:absolute;
  right:-64px; top:-58px;
  width: 200px; height: 140px;
  background: linear-gradient(135deg, rgba(91,140,255,.16), rgba(242,108,42,.12), rgba(15,109,91,.12));
  border: 1px solid rgba(15,22,32,.08);
  border-radius: 46px;
  transform: rotate(14deg);
}
.qm-card__n{
  width: 46px; height: 46px;
  border-radius: 18px;
  display:grid; place-items:center;
  font-weight: 900;
  background: rgba(15,22,32,.06);
  border: 1px solid var(--qm-border);
  margin-bottom: 12px;
}

.qm-panel{
  border-radius: var(--qm-radius-lg);
  border: 1px solid var(--qm-border);
  background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(243,245,249,.76));
  box-shadow: var(--qm-shadow-soft);
  padding: 18px;
}
.qm-stamp{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(15,22,32,.22);
  background: rgba(255,255,255,.72);
}
.qm-stamp__pin{
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--qm-ember);
  box-shadow: 0 0 0 4px rgba(242,108,42,.12);
}

/* Steps */
.qm-step{
  display:flex; gap: 12px;
  padding: 16px;
  border-radius: var(--qm-radius);
  border: 1px solid var(--qm-border);
  background: rgba(255,255,255,.80);
  box-shadow: var(--qm-shadow-soft);
}
.qm-step__icon{
  width: 42px; height: 42px;
  border-radius: 18px;
  display:grid; place-items:center;
  font-weight: 900;
  background: rgba(15,109,91,.10);
  border: 1px solid rgba(15,109,91,.16);
}

/* Blocks */
.qm-block{
  padding: 18px;
  border-radius: var(--qm-radius);
  border: 1px solid var(--qm-border);
  background: rgba(255,255,255,.80);
  box-shadow: var(--qm-shadow-soft);
}
.qm-block__cap{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--qm-border);
  background: rgba(15,22,32,.05);
  font-size: .82rem;
  margin-bottom: 10px;
}
.qm-note{
  display:flex; gap: 12px; align-items:flex-start;
  padding: 16px; border-radius: var(--qm-radius);
  border: 1px solid var(--qm-border);
  background: rgba(255,255,255,.74);
}
.qm-note__i{
  width: 28px; height: 28px; border-radius: 12px;
  display:grid; place-items:center; font-weight: 900;
  background: rgba(91,140,255,.12);
  border: 1px solid rgba(91,140,255,.18);
}

/* Plans */
.qm-plan{
  border-radius: var(--qm-radius-lg);
  border: 1px solid var(--qm-border);
  background: rgba(255,255,255,.82);
  box-shadow: var(--qm-shadow);
  overflow:hidden;
  position:relative;
  height: 100%;
  display:flex; flex-direction: column;
}
.qm-plan__top{
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--qm-border);
  background: rgba(255,255,255,.74);
  display:flex; align-items:center; justify-content: space-between; gap: 10px;
}
.qm-plan__name{ font-weight: 900; }
.qm-plan__tag{
  font-size: .82rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--qm-border);
  background: rgba(15,22,32,.05);
}
.qm-plan__body{ padding: 16px; flex: 1 1 auto; }
.qm-plan__bottom{ padding: 16px; border-top: 1px solid var(--qm-border); background: rgba(255,255,255,.74); }
.qm-plan--featured{
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(243,245,249,.78));
}
.qm-plan__flare{
  position:absolute;
  right:-72px; top:-72px;
  width: 196px; height: 196px;
  border-radius: 54px;
  background: linear-gradient(135deg, rgba(242,108,42,.16), rgba(91,140,255,.14), rgba(15,109,91,.12));
  transform: rotate(18deg);
  border: 1px solid rgba(15,22,32,.08);
}
.qm-disclaimer{
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--qm-border);
  background: rgba(255,255,255,.72);
  color: rgba(15,22,32,.74);
}

/* Lists */
.qm-list{ margin: 0; padding-left: 18px; color: rgba(15,22,32,.72); }
.qm-list--tight li{ margin: 6px 0; }

/* Accordion */
.qm-accordion .accordion-item{
  border-radius: 16px !important;
  overflow:hidden;
  border: 1px solid var(--qm-border) !important;
  background: rgba(255,255,255,.80);
  box-shadow: var(--qm-shadow-soft);
  margin-bottom: 12px;
}
.qm-accordion .accordion-button{
  background: rgba(255,255,255,.74);
  font-weight: 900;
}
.qm-accordion .accordion-button:focus{ box-shadow: var(--qm-focus); }

/* Stories */
.qm-story{
  padding: 18px;
  border-radius: var(--qm-radius);
  border: 1px solid var(--qm-border);
  background: rgba(255,255,255,.80);
  box-shadow: var(--qm-shadow-soft);
}
.qm-story__top{
  display:flex; justify-content: space-between; align-items:center;
  margin-bottom: 10px;
}
.qm-story__t{ font-weight: 900; }
.qm-story__tag{
  font-size: .82rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(217,180,140,.18);
  border: 1px solid rgba(217,180,140,.22);
}

/* CTA + alerts */
.qm-cta{
  padding: 18px;
  border-radius: var(--qm-radius-lg);
  border: 1px solid var(--qm-border);
  background: linear-gradient(135deg, rgba(91,140,255,.10), rgba(242,108,42,.10), rgba(15,109,91,.10));
  box-shadow: var(--qm-shadow-soft);
}
.qm-mini-form .form-control{ border-radius: 14px; }
.qm-alert{
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(15,109,91,.22);
  background: rgba(15,109,91,.12);
  color: rgba(15,22,32,.82);
  margin-bottom: 12px;
}

/* Contact */
.qm-contact{
  border-radius: var(--qm-radius-lg);
  border: 1px solid var(--qm-border);
  background: rgba(255,255,255,.82);
  box-shadow: var(--qm-shadow);
  padding: 18px;
}
.qm-contact__h{ font-weight: 900; margin-bottom: 12px; }
.qm-kv{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(15,22,32,.14);
}
.qm-kv:last-of-type{ border-bottom: none; }
.qm-k{ color: rgba(15,22,32,.60); font-size: .92rem; }
.qm-v a{ color: var(--qm-basalt); }
.qm-hint{
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(91,140,255,.10);
  border: 1px solid rgba(91,140,255,.16);
  color: rgba(15,22,32,.78);
}

.qm-form{
  border-radius: var(--qm-radius-lg);
  border: 1px solid var(--qm-border);
  background: rgba(255,255,255,.84);
  box-shadow: var(--qm-shadow);
  overflow:hidden;
}
.qm-form__top{
  padding: 16px 18px;
  border-bottom: 1px solid var(--qm-border);
  background: rgba(255,255,255,.74);
  display:flex; align-items: baseline; justify-content: space-between; gap: 14px;
}
.qm-form__bottom{
  padding: 14px 18px;
  border-top: 1px solid var(--qm-border);
  background: rgba(255,255,255,.74);
  display:flex; gap: 12px; flex-wrap: wrap; align-items:center;
}

.qm-mini{
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--qm-border);
  background: rgba(255,255,255,.72);
}

/* Footer */
.qm-footer{
  padding: 44px 0 36px;
  border-top: 1px solid var(--qm-border);
  background: rgba(255,255,255,.72);
}
.qm-foot-title{ font-weight: 900; margin-bottom: 10px; }
.qm-foot-links{
  list-style:none; padding:0; margin:0;
  display:grid; gap: 8px;
}
.qm-foot-links a{
  text-decoration:none;
  color: rgba(15,22,32,.78);
}
.qm-foot-links a:hover{ text-decoration: underline; }
.qm-social{
  text-decoration:none;
  color: rgba(15,22,32,.78);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--qm-border);
  background: rgba(255,255,255,.74);
}
.qm-social:hover{ color: rgba(15,22,32,.92); }
