/* =============================================================================
   QUOTR MARKETING — MODERN
   Editorial / asymmetric / mono-accented · token-aligned
   ============================================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-page); color: var(--fg-1);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; }
button { font-family: inherit; cursor: pointer; }

/* ── Layout primitives ────────────────────────────────────────────── */
.qmm-container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.qmm-rule { border: 0; border-top: 1px solid var(--border); }

/* Mono "tag" used to label sections — sits left-aligned, looks editorial */
.qmm-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em; color: var(--fg-2);
  text-transform: uppercase;
}
.qmm-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
}

/* Buttons */
.qmm-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  border: 1px solid transparent;
  transition: all 160ms cubic-bezier(.2,.6,.2,1);
}
.qmm-btn-primary { background: var(--zinc-900); color: #fff; }
.qmm-btn-primary:hover { background: var(--zinc-800); transform: translateY(-1px); }
.qmm-btn-ghost { color: var(--fg-1); border-color: var(--border); background: #fff; }
.qmm-btn-ghost:hover { border-color: var(--zinc-900); }
.qmm-btn-sm { padding: 8px 14px; font-size: 13px; }
.qmm-btn .arrow { transition: transform 160ms; }
.qmm-btn:hover .arrow { transform: translateX(2px); }

/* ── Top bar ──────────────────────────────────────────────────────── */
.qmm-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.qmm-nav-inner {
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.qmm-logo { display: inline-flex; align-items: center; flex-shrink: 1; min-width: 0; }
.qmm-logo img { height: 64px; width: auto; max-width: 100%; }
.qmm-nav-links { display: flex; gap: 32px; }
.qmm-nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--fg-2);
  transition: color 120ms;
}
.qmm-nav-links a:hover { color: var(--fg-1); }
.qmm-nav-cta { display: flex; gap: 8px; align-items: center; }
.qmm-nav-cta .login {
  font-size: 13.5px; color: var(--fg-2); padding: 8px 12px;
  display: inline-flex; align-items: center; gap: 6px;
}
.qmm-nav-cta .login .qmm-login-icon { width: 16px; height: 16px; display: none; }

/* ── HERO ─────────────────────────────────────────────────────────── */
.qmm-hero {
  position: relative; padding: 56px 0 56px;
  overflow: hidden; isolation: isolate;
}
/* soft mesh background */
.qmm-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 400px at 70% 0%, rgba(249,115,22,0.08), transparent 60%),
    radial-gradient(600px 300px at 10% 30%, rgba(249,115,22,0.04), transparent 60%);
}
.qmm-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.4;
  background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}

.qmm-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px;
  align-items: center;
}

.qmm-hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--fg-1);
  margin: 24px 0 28px;
}
.qmm-hero h1 .accent {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.qmm-hero h1 .strike {
  position: relative; display: inline-block;
  color: var(--fg-3);
}
.qmm-hero h1 .strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 52%;
  height: 6px; background: var(--brand);
  transform: rotate(-3deg); border-radius: 3px;
}
.qmm-hero p.lead {
  font-size: 18px; line-height: 1.55; color: var(--fg-2);
  max-width: 520px; margin-bottom: 28px;
}
.qmm-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.qmm-hero-trust {
  margin-top: 24px; padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.qmm-hero-trust strong { color: var(--fg-1); font-weight: 600; }

/* ── Hero product peek (right side) ───────────────────────────────── */
.qmm-peek {
  position: relative;
  aspect-ratio: 5 / 4.6;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 32px 80px -32px rgba(0,0,0,0.18),
    0 0 0 1px rgba(0,0,0,0.04);
  overflow: hidden;
}

/* Voice card — top-left floating */
.qmm-voice {
  position: absolute; top: 28px; left: 28px;
  width: 62%;
  background: var(--zinc-900); color: #fff;
  border-radius: 14px; padding: 18px 20px;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.35);
}
.qmm-voice-row { display: flex; align-items: center; gap: 12px; }
.qmm-mic {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  position: relative; flex-shrink: 0;
}
.qmm-mic::before, .qmm-mic::after {
  content: ""; position: absolute; inset: -8px;
  border-radius: 50%; border: 1px solid var(--brand);
  opacity: 0.4; animation: qmm-ping 2s ease-out infinite;
}
.qmm-mic::after { animation-delay: 1s; }
@keyframes qmm-ping {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}
.qmm-voice-meta {
  display: flex; flex-direction: column; gap: 3px;
}
.qmm-voice-meta span:first-child { font-size: 10px; font-family: var(--font-mono); color: var(--zinc-400); letter-spacing: 0.06em; text-transform: uppercase; }
.qmm-voice-meta span:last-child { font-size: 13px; font-weight: 500; color: #fff; }

.qmm-wave {
  display: flex; align-items: center; gap: 3px;
  height: 24px; flex: 1;
}
.qmm-wave span {
  display: block; width: 3px; background: var(--brand-tint);
  border-radius: 2px;
  animation: qmm-wave 1.2s ease-in-out infinite;
}
.qmm-wave span:nth-child(1)  { height: 30%; animation-delay: 0.0s; }
.qmm-wave span:nth-child(2)  { height: 60%; animation-delay: 0.1s; }
.qmm-wave span:nth-child(3)  { height: 90%; animation-delay: 0.2s; }
.qmm-wave span:nth-child(4)  { height: 50%; animation-delay: 0.3s; }
.qmm-wave span:nth-child(5)  { height: 80%; animation-delay: 0.4s; }
.qmm-wave span:nth-child(6)  { height: 40%; animation-delay: 0.5s; }
.qmm-wave span:nth-child(7)  { height: 70%; animation-delay: 0.6s; }
.qmm-wave span:nth-child(8)  { height: 90%; animation-delay: 0.7s; }
.qmm-wave span:nth-child(9)  { height: 35%; animation-delay: 0.8s; }
.qmm-wave span:nth-child(10) { height: 60%; animation-delay: 0.9s; }
@keyframes qmm-wave { 0%, 100% { opacity: 0.5; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

.qmm-transcript {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 13px; line-height: 1.5; color: var(--zinc-300);
  font-style: italic;
}

/* Quote card — bottom-right */
.qmm-quote-card {
  position: absolute; bottom: 28px; right: 28px;
  width: 62%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.18);
}
.qmm-quote-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.qmm-quote-id { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); }
.qmm-quote-status {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  color: var(--brand); background: var(--brand-light);
  padding: 3px 8px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.04em;
}
.qmm-quote-line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0; font-size: 12px; color: var(--fg-2);
  border-bottom: 1px dashed var(--border);
}
.qmm-quote-line:last-of-type { border: 0; }
.qmm-quote-line .price { font-family: var(--font-mono); color: var(--fg-1); font-variant-numeric: tabular-nums; }
.qmm-quote-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--zinc-900);
}
.qmm-quote-total span:first-child { font-size: 12px; font-weight: 600; }
.qmm-quote-total .amt { font-family: var(--font-mono); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Connector arrow between voice & quote */
.qmm-connector {
  position: absolute; top: 50%; left: 48%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.12);
  z-index: 2;
}
.qmm-connector svg { width: 24px; height: 24px; color: var(--brand); }

/* ── Steps section ────────────────────────────────────────────────── */
.qmm-section { padding: 120px 0; }
.qmm-section-head { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 64px; }
.qmm-section-head .lhs { max-width: 640px; }
.qmm-section-head h2 {
  font-size: clamp(32px, 4.2vw, 52px); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.03em; color: var(--fg-1);
  margin-top: 16px;
}
.qmm-section-head p.intro {
  font-size: 17px; color: var(--fg-2); line-height: 1.55;
  max-width: 480px;
}

.qmm-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.qmm-step {
  position: relative; padding: 40px 32px 40px 0;
  border-right: 1px solid var(--border);
}
.qmm-step:last-child { border-right: 0; padding-right: 0; }
.qmm-step:not(:first-child) { padding-left: 32px; }
.qmm-step-num {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--brand); margin-bottom: 56px;
  letter-spacing: 0.06em;
}
.qmm-step h3 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--fg-1); margin-bottom: 12px;
}
.qmm-step p {
  font-size: 14.5px; line-height: 1.6; color: var(--fg-2);
}
.qmm-step-icon {
  position: absolute; top: 36px; right: 0;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--zinc-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-1);
}
.qmm-step:last-child .qmm-step-icon { right: 0; }

/* ── Bento features ───────────────────────────────────────────────── */
.qmm-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 12px;
}
.qmm-cell {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: all 200ms cubic-bezier(.2,.6,.2,1);
  position: relative; overflow: hidden;
}
  display: flex; flex-direction: column; justify-content: space-between;
  transition: all 200ms cubic-bezier(.2,.6,.2,1);
  position: relative; overflow: hidden;
}
.qmm-cell:hover {
  border-color: var(--zinc-300);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.10);
}
.qmm-cell h4 { font-size: 15.5px; font-weight: 700; letter-spacing: -0.012em; margin-bottom: 6px; color: var(--fg-1); line-height: 1.25; }
.qmm-cell p { font-size: 13px; line-height: 1.5; color: var(--fg-2); }
.qmm-cell .qmm-tag { margin-bottom: 16px; }

/* bento spans */
.qmm-cell.span-3 { grid-column: span 3; }
.qmm-cell.span-2 { grid-column: span 2; }
.qmm-cell.span-4 { grid-column: span 4; }
.qmm-cell.span-6 { grid-column: span 6; }
.qmm-cell.row-2 { grid-row: span 2; }

/* dark hero cell */
.qmm-cell.dark { background: var(--zinc-900); color: #fff; border-color: var(--zinc-800); }
.qmm-cell.dark h4 { color: #fff; }
.qmm-cell.dark p { color: var(--zinc-400); }
.qmm-cell.dark .qmm-tag { color: var(--zinc-400); }
.qmm-cell.dark .qmm-tag::before { background: var(--brand); }

/* device peek inside dark cell */
.qmm-devices { display: flex; gap: 14px; margin-top: 24px; }
.qmm-device {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--zinc-300);
  flex: 1;
}
.qmm-device svg { color: var(--brand); }

/* features icon bubble */
.qmm-bubble {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--brand-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-dark);
  flex-shrink: 0;
}
.qmm-bubble svg { width: 17px; height: 17px; }

/* plan tag inside cell — top-right corner marker */
.qmm-plan-tag {
  position: absolute;
  top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-2);
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 4px 8px 4px 6px;
  border-radius: 100px;
  white-space: nowrap;
  transition: all 200ms cubic-bezier(.2,.6,.2,1);
}
.qmm-plan-tag::before {
  content: "";
  width: 11px; height: 11px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0110 0v4'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0110 0v4'/%3E%3C/svg%3E") no-repeat center / contain;
  flex-shrink: 0;
  opacity: 0.7;
}
/* cell that has a plan tag — leave room at top-right */
.qmm-cell:has(.qmm-plan-tag) { padding-right: 24px; }
.qmm-cell:has(.qmm-plan-tag):hover .qmm-plan-tag {
  background: var(--brand-light);
  border-color: var(--brand);
  color: var(--brand-dark);
}
/* TotalEntreprise gets a slight darker accent (rarer / higher tier) */
.qmm-plan-tag[data-tier="total"] {
  background: rgba(24,24,27,0.92);
  border-color: var(--zinc-900);
  color: #fff;
}
.qmm-plan-tag[data-tier="total"]::before { opacity: 0.9; }
.qmm-cell:has(.qmm-plan-tag[data-tier="total"]):hover .qmm-plan-tag {
  background: var(--zinc-900);
  border-color: var(--zinc-900);
  color: #fff;
}

/* mini PDF preview (used in feature cell) */
.qmm-pdf {
  margin-top: 18px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-2);
  line-height: 1.7;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.06);
}
.qmm-pdf .row { display: flex; justify-content: space-between; }
.qmm-pdf .row strong { color: var(--fg-1); font-weight: 600; }
.qmm-pdf hr { margin: 6px 0; border: 0; border-top: 1px dashed var(--border); }

/* customers/list stack */
.qmm-stack { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.qmm-stack-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; background: var(--zinc-100);
  border-radius: 8px; font-size: 12px;
}
.qmm-stack-row .avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600;
  flex-shrink: 0;
}
.qmm-stack-row .name { flex: 1; color: var(--fg-1); font-weight: 500; }
.qmm-stack-row .meta { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); }

/* ── Pricing ──────────────────────────────────────────────────────── */
.qmm-pricing-section { background: var(--zinc-100); padding: 120px 0; }
.qmm-pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 48px;
  align-items: start;
}
.qmm-price {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: all 200ms cubic-bezier(.2,.6,.2,1);
}
.qmm-price:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -16px rgba(0,0,0,0.10); }
.qmm-price.featured {
  background: var(--zinc-900); color: #fff; border: 1px solid var(--zinc-900);
  transform: translateY(-8px);
}
.qmm-price.featured:hover { transform: translateY(-10px); }

.qmm-price-name {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-2); margin-bottom: 24px;
}
.qmm-price.featured .qmm-price-name { color: var(--brand); }

.qmm-price-amt-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.qmm-price-amt { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: inherit; }
.qmm-price-amt.contact { font-size: 32px; font-weight: 700; }
.qmm-price-per { font-size: 14px; color: var(--fg-2); }
.qmm-price.featured .qmm-price-per { color: var(--zinc-400); }

.qmm-price-desc {
  font-size: 14px; line-height: 1.55; color: var(--fg-2);
  min-height: 44px; margin-bottom: 20px;
}
.qmm-price.featured .qmm-price-desc { color: var(--zinc-300); }

.qmm-price-trial {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-2);
  margin-bottom: 14px;
}
.qmm-price.featured .qmm-price-trial { color: var(--zinc-400); }
.qmm-price-trial svg { color: var(--brand); }

.qmm-price-cta {
  width: 100%; padding: 12px;
  border-radius: 8px; font-size: 14px; font-weight: 600;
  background: var(--zinc-900); color: #fff; border: 1px solid var(--zinc-900);
  margin-top: auto;
  transition: all 160ms;
}
.qmm-price-cta:hover { background: var(--zinc-800); }
.qmm-price.featured .qmm-price-cta { background: var(--brand); border-color: var(--brand); }
.qmm-price.featured .qmm-price-cta:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

.qmm-price-feat {
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--border);
  margin-bottom: 20px;
  font-size: 14px; line-height: 1.45;
}
.qmm-price.featured .qmm-price-feat { border-color: var(--zinc-800); }
.qmm-price-feat li { display: flex; gap: 10px; align-items: flex-start; color: var(--fg-1); }
.qmm-price.featured .qmm-price-feat li { color: var(--zinc-200); }
.qmm-price-feat li svg { flex-shrink: 0; margin-top: 3px; color: var(--brand); }
.qmm-price-feat li em {
  font-style: normal;
  color: var(--fg-3);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.7;
}
.qmm-price.featured .qmm-price-feat li em {
  color: var(--zinc-500);
  opacity: 0.75;
}
.qmm-price-feat li .qmm-soon {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--zinc-100);
  border: 1px solid var(--border);
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  vertical-align: middle;
  white-space: nowrap;
}
.qmm-price.featured .qmm-price-feat li .qmm-soon {
  background: rgba(255,255,255,0.06);
  border-color: var(--zinc-700);
  color: var(--zinc-400);
}

/* ── Pricing comparison matrix ────────────────────────────────────── */
.qmm-pmatrix {
  margin-top: 48px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.qmm-pmatrix-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.qmm-pmatrix-head > div {
  padding: 32px 28px 28px;
  border-left: 1px solid var(--border);
  position: relative;
  display: flex; flex-direction: column;
}
.qmm-pmatrix-head > div:first-child {
  border-left: none;
  background: var(--zinc-50, #fafafa);
}
.qmm-pmatrix-head > .featured {
  background: var(--zinc-900);
  color: #fff;
}
.qmm-pmatrix-corner {
  justify-content: flex-end;
}
.qmm-pmatrix-corner-eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 8px;
}
.qmm-pmatrix-corner-title {
  font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--fg-1);
}
.qmm-pmatrix-tier-name {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-2); margin-bottom: 16px;
}
.qmm-pmatrix-head > .featured .qmm-pmatrix-tier-name { color: var(--brand); }
.qmm-pmatrix-tier-amt-row {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px;
}
.qmm-pmatrix-tier-amt {
  font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
}
.qmm-pmatrix-tier-amt.contact { font-size: 26px; font-weight: 700; }
.qmm-pmatrix-tier-per { font-size: 13px; color: var(--fg-2); }
.qmm-pmatrix-head > .featured .qmm-pmatrix-tier-per { color: var(--zinc-400); }
.qmm-pmatrix-tier-desc {
  font-size: 13px; line-height: 1.5; color: var(--fg-2);
  margin: 0 0 18px;
  min-height: 38px;
}
.qmm-pmatrix-head > .featured .qmm-pmatrix-tier-desc { color: var(--zinc-300); }
.qmm-pmatrix-tier-cta {
  margin-top: auto;
  padding: 11px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  background: var(--zinc-900); color: #fff;
  border: 1px solid var(--zinc-900);
  cursor: pointer; transition: all 160ms;
}
.qmm-pmatrix-tier-cta:hover { background: var(--zinc-800); }
.qmm-pmatrix-head > .featured .qmm-pmatrix-tier-cta {
  background: var(--brand); border-color: var(--brand);
}
.qmm-pmatrix-head > .featured .qmm-pmatrix-tier-cta:hover {
  background: var(--brand-dark); border-color: var(--brand-dark);
}
.qmm-pmatrix-pop {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--brand); color: #fff;
  padding: 4px 9px; border-radius: 100px;
}

/* feature rows */
.qmm-pmatrix-group-label {
  display: grid;
  grid-template-columns: 1.4fr 3fr;
  background: var(--zinc-50, #fafafa);
  border-top: 1px solid var(--border);
}
.qmm-pmatrix-group-label > div {
  padding: 14px 28px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-3);
}
.qmm-pmatrix-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  border-top: 1px solid var(--border);
  transition: background 160ms;
}
.qmm-pmatrix-row:hover { background: rgba(249,115,22,0.025); }
.qmm-pmatrix-row > div {
  padding: 16px 28px;
  border-left: 1px solid var(--border);
  font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  color: var(--fg-1);
}
.qmm-pmatrix-row > div:first-child {
  border-left: none;
  font-weight: 500;
  color: var(--fg-1);
}
.qmm-pmatrix-row > .featured {
  background: rgba(24,24,27,0.02);
}
.qmm-pmatrix-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.qmm-pmatrix-check svg { width: 10px; height: 10px; }
.qmm-pmatrix-dash {
  width: 18px; height: 2px;
  background: var(--zinc-300, #d4d4d8);
  border-radius: 1px;
  display: inline-block;
}
.qmm-pmatrix-val {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--fg-1);
}
.qmm-pmatrix-row > div .qmm-pmatrix-detail {
  font-size: 12px; color: var(--fg-3); margin-left: 4px;
}

@media (max-width: 980px) {
  .qmm-pmatrix-head,
  .qmm-pmatrix-row { grid-template-columns: 1fr; }
  .qmm-pmatrix-head > div,
  .qmm-pmatrix-row > div { border-left: none; border-top: 1px solid var(--border); }
  .qmm-pmatrix-head > div:first-child,
  .qmm-pmatrix-row > div:first-child { border-top: none; }
  .qmm-pmatrix-row > div:first-child {
    background: var(--zinc-50, #fafafa);
    font-family: var(--font-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.05em;
  }
  .qmm-pmatrix-group-label { grid-template-columns: 1fr; }
}

.qmm-price-badge {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand); background: rgba(249,115,22,0.12);
  padding: 4px 10px; border-radius: 100px;
}

/* ── CTA banner ───────────────────────────────────────────────────── */
.qmm-cta-banner {
  margin: 80px 0 0;
  background: var(--zinc-900); color: #fff;
  border-radius: 24px;
  padding: 64px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px;
  align-items: center; position: relative; overflow: hidden;
}
.qmm-cta-banner::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.4), transparent 70%);
}
.qmm-cta-banner h2 {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.1; color: #fff;
}
.qmm-cta-banner h2 em { color: var(--brand); }
.qmm-cta-banner p { color: var(--zinc-400); margin-top: 16px; max-width: 460px; line-height: 1.55; }
.qmm-cta-banner .qmm-btn-primary {
  background: var(--brand); border-color: var(--brand);
}
.qmm-cta-banner .qmm-btn-primary:hover { background: var(--brand-dark); }
.qmm-cta-banner .qmm-btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.20);
}
.qmm-cta-banner .qmm-btn-ghost:hover { border-color: #fff; }
.qmm-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.qmm-cta-stat { position: relative; z-index: 1; }
.qmm-cta-stat .num {
  font-size: clamp(56px, 7vw, 96px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 0.9;
  background: linear-gradient(180deg, #fff, var(--zinc-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.qmm-cta-stat .lbl {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--zinc-400); margin-top: 12px;
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* ── Footer ───────────────────────────────────────────────────────── */
.qmm-footer { background: var(--zinc-950); color: var(--zinc-400); padding: 80px 0 40px; }
.qmm-footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 64px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.qmm-footer-brand { display: flex; align-items: center; justify-content: flex-start; }
.qmm-footer-brand img { height: 112px; width: auto; filter: invert(1) brightness(2); }
.qmm-footer-col h5 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--zinc-500); margin-bottom: 18px;
}
.qmm-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.qmm-footer-col a { font-size: 13.5px; color: var(--zinc-300); transition: color 120ms; }
.qmm-footer-col a:hover { color: #fff; }
.qmm-footer-bottom {
  padding-top: 24px; display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; color: var(--zinc-600);
  letter-spacing: 0.04em;
}
.qmm-footer-bottom a:hover { color: var(--zinc-300); }

/* ── responsive ───────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .qmm-hero { padding: 32px 0 40px; }
  .qmm-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .qmm-hero h1 { font-size: clamp(34px, 9vw, 54px); margin: 16px 0 18px; }
  .qmm-hero p.lead { font-size: 16px; margin-bottom: 22px; }
  .qmm-section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .qmm-steps { grid-template-columns: 1fr; }
  .qmm-step { border-right: 0; border-bottom: 1px solid var(--border); padding: 32px 0 !important; }
  .qmm-step:last-child { border-bottom: 0; }
  .qmm-bento { grid-template-columns: repeat(2, 1fr) !important; }
  .qmm-cell.span-3, .qmm-cell.span-2, .qmm-cell.span-4 { grid-column: span 2; }
  .qmm-pricing-grid { grid-template-columns: 1fr; }
  .qmm-cta-banner { grid-template-columns: 1fr; padding: 40px; }
  .qmm-footer { padding: 56px 0 32px; }
  .qmm-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding-bottom: 36px;
  }
  .qmm-footer-brand {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 4px;
  }
  .qmm-footer-brand img { height: 128px; }
  .qmm-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .qmm-nav-inner { height: 64px; }
  .qmm-logo img { height: 44px; }
  .qmm-nav-links { display: none; }
  /* Mobile/tablet: arrow on the RIGHT side of "Prøv gratis" with tighter gap.
     Order: text → arrow (already right-side); just tighten the .arrow gap. */
  .qmm-nav-cta .qmm-btn-sm { gap: 4px; }
}

@media (max-width: 540px) {
  .qmm-container { padding: 0 20px; }
  .qmm-nav-inner { height: 58px; }
  .qmm-logo img { height: 38px; }
  .qmm-nav-cta { gap: 4px; }
  .qmm-nav-cta #qmmNavTrial { display: none; }
  .qmm-nav-cta .login {
    padding: 8px;
    width: 40px; height: 40px;
    justify-content: center;
    border-radius: 8px;
    color: var(--fg-1);
  }
  .qmm-nav-cta .login:hover { background: var(--zinc-100, #f4f4f5); }
  .qmm-nav-cta .login .qmm-login-icon { display: block; width: 20px; height: 20px; }
  .qmm-nav-cta .login .qmm-login-label { display: none; }
  .qmm-hero h1 { font-size: clamp(30px, 10vw, 44px); letter-spacing: -0.03em; }
  .qmm-hero h1 .strike::after { height: 4px; }
  .qmm-hero-cta { flex-direction: column; align-items: stretch; gap: 8px; }
  .qmm-hero-cta .qmm-btn-ghost { width: 100%; justify-content: center; }
  .qmm-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .qmm-footer-brand img { height: 112px; }
}
