/* mm-brands.css: the brand-facing landing sections (why MadeMirror, live in two weeks) and the nav's demo button.
   Colours come from the porcelain tokens the landing sets on every section after the hero (mm-pitch.css).
   Unlayered: these classes are new, so nothing in the page layers competes with them. */

/* ---------------- nav: book a demo (desktop, next to Try it on) ---------------- */
.nav-demo { display: none; }
@media (min-width: 900px) { .nav-demo { display: inline-flex; margin-left: 8px; } }

/* ---------------- shared rhythm, same as the other sections ---------------- */
.why, .setup { padding-block: max(48px, var(--mm-section) - 24px); border-top: 1px solid var(--mm-hair-1); }
@media (min-width: 800px) { .why, .setup { padding-block: var(--mm-section); } }
.why-head, .setup-head { display: grid; gap: 14px; margin-bottom: clamp(24px, 4vw, 52px); }
@media (min-width: 900px) {
  .why-head, .setup-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: clamp(48px, 6vw, 112px); }
}

/* ---------------- why MadeMirror: one compact table ---------------- */
.why-table { width: 100%; max-width: 1040px; border-collapse: collapse; font: 500 15px/1.35 var(--mm-f-display); color: var(--mm-fg-1); }
.why-table th, .why-table td { padding: 15px 10px; border-bottom: 1px solid var(--mm-hair-1); text-align: left; vertical-align: middle; }
.why-table thead th { padding-top: 0; font: 500 11px/1.3 var(--mm-f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mm-fg-2); border-bottom-color: var(--mm-hair-2); }
.why-table th:first-child, .why-table td:first-child { padding-left: 0; }
.why-table .why-col { width: 28%; text-align: center; }
.why-table .why-us { background: var(--mm-surface-1); }
.why-table thead .why-us { border-radius: 12px 12px 0 0; padding-top: 14px; color: var(--mm-fg-1); }
.why-table tbody tr:last-child .why-us { border-radius: 0 0 12px 12px; }
.why-table tbody th { font-weight: 500; }
.why-yes, .why-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.why-yes { background: var(--mm-shade); color: var(--mm-on-shade, #fff); }
.why-yes .i { width: 15px; height: 15px; stroke-width: 2.4; }
.why-no { color: var(--mm-fg-3); font-size: 18px; }
.why-val { font: 500 14px/1.3 var(--mm-f-display); color: var(--mm-fg-2); white-space: nowrap; }
.why-us .why-val { color: var(--mm-fg-1); font-weight: 600; }
.why-note { margin: 16px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--mm-fg-2); max-width: 70ch; }
@media (min-width: 800px) { .why-table { font-size: 17px; } .why-table .why-col { width: 22%; } .why-table th, .why-table td { padding-block: 18px; } }
@media (max-width: 420px) { .why-table th, .why-table td { padding-inline: 6px; } .why-val { font-size: 13px; } }

/* ---------------- live in two weeks ---------------- */
.setup-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--mm-hair-2); }
.setup-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--mm-hair-1); }
.setup-steps .n { grid-row: span 2; font: 500 12px/1.6 var(--mm-f-mono); letter-spacing: .1em; color: var(--mm-accent-text); }
.setup-steps b { font: 600 19px/1.25 var(--mm-f-display); }
.setup-steps span { font-size: 15px; line-height: 1.45; color: var(--mm-fg-2); }
@media (min-width: 800px) {
  .setup-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; border-top: 0; }
  .setup-steps li { grid-template-columns: 1fr; padding: 22px 0 0; border-bottom: 0; border-top: 2px solid var(--mm-fg-1); }
  .setup-steps li:first-child { border-top-color: var(--mm-shade); }
  .setup-steps .n { grid-row: auto; margin-bottom: 10px; }
}
.setup-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(24px, 4vw, 44px) 0 0; padding: 0; list-style: none; }
.setup-chips li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--mm-hair-2); border-radius: var(--mm-r-pill); font: 500 13.5px/1 var(--mm-f-display); color: var(--mm-fg-1); }
.setup-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mm-shade); }

@media (forced-colors: active) {
  .why-yes { forced-color-adjust: none; background: CanvasText; color: Canvas; }
  .why-table .why-us { outline: 1px solid CanvasText; }
}

/* ---------------- pricing on the landing: four compact plans (checkout via mm-checkout.js) ---------------- */
.plans { padding-block: max(48px, var(--mm-section) - 24px); border-top: 1px solid var(--mm-hair-1); }
@media (min-width: 800px) { .plans { padding-block: var(--mm-section); } }
.plans .why-head { margin-bottom: clamp(24px, 4vw, 44px); }
.lp-cards { display: grid; gap: 14px; }
@media (min-width: 700px) { .lp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .lp-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lp-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--mm-hair-2); border-radius: var(--mm-r-card); background: var(--mm-surface-1); }
.lp-card--lead { border-color: var(--mm-shade); box-shadow: inset 0 0 0 1px var(--mm-shade); }
.lp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; }
.lp-top h3 { margin: 0; font: 600 20px/1.2 var(--mm-f-display); }
.lp-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--mm-r-pill); background: var(--mm-shade); color: var(--mm-on-shade); font: 500 12px/1 var(--mm-f-display); white-space: nowrap; }
.lp-badge--quiet { background: var(--mm-surface-2); color: var(--mm-fg-1); }
.lp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; margin: 8px 0 0; }
.lp-price b { font: var(--mm-w-number) clamp(38px, 3.4vw, 48px)/1 var(--mm-f-display); font-stretch: 118%; letter-spacing: -.02em; }
.lp-price span { font: 500 13px/1 var(--mm-f-mono); letter-spacing: .06em; color: var(--mm-fg-2); }
.lp-term { margin: 0; font: 500 11px/1.4 var(--mm-f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mm-fg-2); }
.lp-line { flex: 1; margin: 6px 0 10px; font-size: 15px; line-height: 1.45; color: var(--mm-fg-1); }
.lp-card .pp-status { margin: 0; font-size: 13px; line-height: 1.4; color: var(--mm-fg-2); }
.lp-card .pp-status:empty { display: none; }
.lp-card .pp-status.is-error { color: var(--mm-accent-text); }
.lp-card .pp-status a { color: inherit; }
.lp-fine { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin: 18px 0 0; font-size: 13.5px; color: var(--mm-fg-2); }
.lp-fine span { display: inline-flex; align-items: center; gap: 6px; }
.lp-fine .i { width: 14px; height: 14px; }
.lp-fine a { min-height: 44px; display: inline-flex; align-items: center; color: var(--mm-fg-1); text-decoration: underline; text-decoration-color: var(--mm-hair-2); text-underline-offset: 5px; }
.lp-fine a:hover { text-decoration-color: var(--mm-accent-text); }

/* setup: the link to connect.html under the chips */
.setup-cta { margin: clamp(20px, 3vw, 32px) 0 0; }
