/* LeadPages Australia — Marketplace Apps marketing page */

:root {
  --navy: #0B1B2A;
  --ink: #0B1B2A;
  --ink-soft: #1E2B34;
  --cream: #F4EBDE;
  --cream-warm: #EBDDCD;
  --oat: #EBDDCD;
  --surface: #FFFFFF;
  --orange: #C85A2C;
  --orange-hover: #B44E24;
  --partner: #9E4A23;
  --green: #5E8C5B;
  --green-deep: #4A7348;
  --gold: #E0A33A;
  --star: #E0A33A;
  --cream-price: #F5EDE2;
  --muted: #6B7680;
  --muted-on-dark: #B8C6D1;
  --on-dark: #F4EBDE;
  --border: #E7DDCD;
  --shadow: 0 18px 48px rgba(11, 27, 42, 0.16);
  --shadow-soft: 0 10px 26px rgba(40, 35, 25, 0.08);
  --disp: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --max: 1440px;
  --wide: 1440px;
  --header-h: 118px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --blue: #3B6EA5;
  --blue-soft: #E8F0F8;
  --ico-goal: 88px;
  --ico-tile: 80px;
  --ico-prem: 96px;
  --ico-app: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body.mp {
  margin: 0;
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.mp img {
  max-width: 100%;
  display: block;
}

body.mp a {
  color: inherit;
  text-decoration: none;
}

body.mp button {
  font-family: inherit;
}

/* —— Layout —— */
.wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 48px, var(--wide));
  margin-inline: auto;
}

.sec {
  padding: clamp(64px, 8vw, 96px) 0;
}

.sec-cream {
  background: var(--cream);
}

.sec-surface {
  background: var(--surface);
}

.sec-navy {
  background: var(--ink);
  color: var(--on-dark);
}

.sec-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.sec-head .lede {
  margin-inline: auto;
}

.sec-head-left {
  text-align: left;
  max-width: none;
  margin: 0 0 28px;
}

.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.sec-head-row .sec-head {
  margin: 0;
  text-align: left;
  flex: 1;
  min-width: 0;
}

.sec-head-row .sec-head .lede {
  margin-inline: 0;
}

.on-dark .h1,
.on-dark .h2,
.on-dark .h3 {
  color: var(--on-dark);
}

.on-dark .lede {
  color: var(--muted-on-dark);
}

/* —— Typography —— */
.h1,
.h2,
.h3 {
  font-family: var(--disp);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}

.h1 {
  font-size: clamp(2.85rem, 5.2vw, 3.875rem);
}

.h2 {
  font-size: clamp(2.15rem, 3.6vw, 2.875rem);
}

.h3 {
  font-family: var(--body);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lede {
  margin: 18px 0 0;
  font-size: clamp(1.12rem, 1.5vw, 1.28rem);
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.55;
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.on-dark .eyebrow {
  color: var(--orange);
}

.text-link {
  font-size: 17px;
  font-weight: 700;
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.text-link:hover {
  color: var(--orange-hover);
  border-color: var(--orange-hover);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font: 700 17px/1.2 var(--body);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn-orange {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

body.mp a.btn-orange {
  color: #fff;
}

.btn-orange:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-1px);
}

.btn-ghost-w {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(249, 247, 242, 0.45);
}

body.mp a.btn-ghost-w {
  color: var(--on-dark);
}

.btn-ghost-w:hover {
  background: rgba(249, 247, 242, 0.1);
  border-color: rgba(249, 247, 242, 0.7);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(11, 27, 42, 0.28);
}

body.mp a.btn-outline {
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: rgba(11, 27, 42, 0.04);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* —— Badges —— */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.badge-inc {
  background: color-mix(in srgb, var(--green, #5E8C5B) 18%, transparent);
  color: var(--green-deep, #4A7348);
  border: 1px solid color-mix(in srgb, var(--green, #5E8C5B) 42%, transparent);
}

.badge-inc::before {
  content: none;
}

.badge-free {
  background: var(--blue-soft, #e8f0f8);
  color: #2a5f9e;
  border: 1px solid color-mix(in srgb, var(--blue, #3B6EA5) 28%, transparent);
}

.badge-prem {
  background: color-mix(in srgb, var(--orange, #C85A2C) 14%, transparent);
  color: var(--orange-hover, #a04e18);
  border: 1px solid color-mix(in srgb, var(--orange, #C85A2C) 36%, transparent);
}

/* —— Header —— */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header .wrap-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

body.mp .brand .leadpages-logo,
body.mp .brand .lp-logo-wrap {
  --lp-logo-height: 102px !important;
  --lp-logo-ink: var(--on-dark) !important;
  --lp-logo-accent: var(--orange) !important;
  height: 102px !important;
  width: auto !important;
  display: block;
}

.brand-au {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  font-size: 16px;
  font-weight: 600;
  color: rgba(249, 247, 242, 0.9);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

body.mp .nav a {
  color: rgba(249, 247, 242, 0.9);
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
}

.nav a.is-active {
  color: #fff;
  border-bottom-color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.login {
  font-size: 16px;
  font-weight: 600;
  color: rgba(249, 247, 242, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(249, 247, 242, 0.45);
}

body.mp a.login {
  color: rgba(249, 247, 242, 0.9);
}

.login:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.header .btn-orange {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px;
}

.menu-btn {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(249, 247, 242, 0.35);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.drawer {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--ink);
  padding: 24px 20px 40px;
  z-index: 79;
  overflow-y: auto;
}

.drawer.is-open {
  display: block;
}

.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.mp .drawer a {
  display: block;
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--on-dark);
}

.drawer a:hover,
.drawer a:focus-visible {
  background: rgba(249, 247, 242, 0.08);
}

.drawer a.is-active {
  color: var(--orange);
}

body.mp .drawer .btn-orange {
  color: #fff;
  text-align: center;
  margin-top: 8px;
}

/* —— Hero —— */
.mp-hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 96px);
  overflow: hidden;
}

.mp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.mp-hero-copy .h1 {
  color: var(--on-dark);
}

.mp-hero-copy .lede {
  color: var(--muted-on-dark);
  max-width: 38ch;
}

.mp-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 22px;
}

.mp-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
  color: rgba(249, 247, 242, 0.92);
}

.mp-hero-trust .ck {
  color: var(--green);
  font-weight: 800;
  font-size: 15px;
}

.mp-hero-visual {
  position: relative;
  min-height: 520px;
}

.mp-hero-collage {
  position: relative;
  width: min(100%, 680px);
  margin-inline: auto;
}

.mp-hero-collage-main {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink-soft);
  aspect-ratio: 16 / 11;
}

.mp-hero-collage-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-hero-widget {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 130px;
  z-index: 2;
}

.mp-hero-widget img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex: none;
}

.mp-hero-widget .wlab {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.mp-hero-widget .wval {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.mp-hero-widget:nth-child(2) {
  top: 4%;
  left: -4%;
}

.mp-hero-widget:nth-child(3) {
  top: 22%;
  right: -6%;
}

.mp-hero-widget:nth-child(4) {
  bottom: 28%;
  left: -2%;
}

.mp-hero-widget:nth-child(5) {
  bottom: 6%;
  right: 4%;
}

/* —— Search —— */
.mp-search {
  background: var(--cream);
}

.mp-search-box {
  max-width: 920px;
  margin: 0 auto 32px;
  position: relative;
}

.mp-search-box input {
  width: 100%;
  min-height: 64px;
  padding: 16px 24px 16px 64px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font: 500 18px/1.3 var(--body);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.mp-search-box input::placeholder {
  color: var(--muted);
}

.mp-search-box input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(227, 107, 33, 0.15);
}

.mp-search-icon {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  color: var(--muted);
  pointer-events: none;
}

.mp-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.pill {
  appearance: none;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: #fff;
  font: 700 16px/1.2 var(--body);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.pill:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.pill.is-on {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.pill:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.mp-goal-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.mp-goal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 8px 6px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
  transition: transform 0.18s ease, color 0.18s ease;
  cursor: pointer;
  color: var(--ink);
}

.mp-goal:hover {
  transform: translateY(-2px);
  color: var(--orange);
}

.mp-goal .ico {
  width: var(--ico-goal);
  height: var(--ico-goal);
  border-radius: 0;
  background: none;
  display: grid;
  place-items: center;
  color: inherit;
  line-height: 0;
}

.mp-goal .ico svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
}

.mp-goal .name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
}

/* —— Popular apps —— */
.mp-popular {
  background: #fff;
}

.mp-app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* Filtering uses the hidden attribute — beat display:flex/grid on cards */
.mp-app-card[hidden],
.mp-tile[hidden],
[data-app][hidden] {
  display: none !important;
}

.mp-app-card {
  background: #fff;
  border: 1px solid rgba(11, 27, 42, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mp-app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.mp-app-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--oat);
  overflow: hidden;
}

.mp-app-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-app-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.mp-app-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mp-app-icon {
  width: var(--ico-app);
  height: var(--ico-app);
  border-radius: 0;
  background: none;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--ink);
  line-height: 0;
}

.mp-app-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
}

.mp-app-title {
  flex: 1;
  min-width: 0;
}

.mp-app-title .h3 {
  margin-bottom: 4px;
}

.mp-app-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.mp-app-card .btn-outline {
  align-self: flex-end;
  min-height: 44px;
  font-size: 15px;
  padding: 10px 18px;
  margin-top: auto;
}

/* —— Match —— */
.mp-match {
  background: var(--ink);
  color: var(--on-dark);
}

.mp-match-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.85fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.mp-match-benefits .h2 {
  color: #fff;
  margin-bottom: 20px;
}

.mp-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.mp-benefit-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.45;
  color: rgba(249, 247, 242, 0.95);
}

.mp-benefit-list .ck {
  color: var(--green);
  font-weight: 800;
  flex: none;
  margin-top: 2px;
}

.mp-match-phone {
  position: relative;
  display: grid;
  place-items: center;
}

.mp-match-phone img {
  width: min(100%, 420px);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.mp-theme-panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.mp-theme-panel .h3 {
  margin-bottom: 14px;
}

.mp-theme-swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.mp-theme-swatch {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.mp-theme-swatch.is-on {
  border-color: var(--orange);
  transform: scale(1.04);
}

.mp-theme-swatch:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.mp-theme-panel .note {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.45;
}

/* —— Grow steps —— */
.mp-grow {
  background: #fff;
}

.mp-grow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  position: relative;
}

.mp-grow-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mp-grow-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.mp-grow-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 42%;
  right: -18px;
  width: auto;
  height: auto;
  background: none;
  color: #B8B0A4;
  font-size: 28px;
  font-weight: 400;
  transform: translateY(-50%);
  z-index: 1;
  line-height: 1;
}

.mp-grow-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--orange);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.mp-grow-step .h3 {
  margin-bottom: 8px;
}

.mp-grow-step p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* —— Industry —— */
.mp-industry {
  background: var(--partner);
  color: var(--on-dark);
}

.mp-industry .sec-head .h2,
.mp-industry .h2 {
  color: #fff;
}

.mp-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mp-industry-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 380px;
  background: var(--ink-soft);
}

.mp-industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.mp-industry-card:hover img {
  transform: scale(1.03);
}

.mp-industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(11, 27, 42, 0.92) 78%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px;
  color: #fff;
}

.mp-industry-overlay .h3 {
  color: #fff;
  font-family: var(--disp);
  font-weight: 400;
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.mp-industry-overlay ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.mp-industry-overlay li {
  font-size: 13.5px;
  line-height: 1.35;
  opacity: 0.92;
  display: flex;
  gap: 8px;
}

.mp-industry-overlay li::before {
  content: '•';
  color: var(--orange);
  font-weight: 800;
}

.mp-industry-card .btn-ghost-w {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 14px;
  align-self: flex-start;
}

/* —— Explore —— */
.mp-explore {
  background: var(--cream);
}

.mp-explore-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.mp-explore-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.mp-explore-sidebar .h3 {
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.mp-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.mp-cat-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.mp-cat-list a:hover {
  background: rgba(11, 27, 42, 0.04);
  color: var(--ink);
}

.mp-cat-list a.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}

.mp-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mp-tile {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid rgba(11, 27, 42, 0.06);
  border-radius: var(--radius-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mp-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--border);
}

.mp-tile .ico {
  width: var(--ico-tile);
  height: var(--ico-tile);
  border-radius: 0;
  background: none;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--ink);
  line-height: 0;
}

.mp-tile .ico svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
}

.mp-tile-body {
  flex: 1;
  min-width: 0;
}

.mp-tile-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.mp-tile-head .name {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.mp-tile .desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

/* —— Premium —— */
.mp-premium {
  background: var(--ink);
  color: var(--on-dark);
}

.mp-premium-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mp-premium-block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mp-premium-block:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}

.mp-premium-block .ico {
  width: var(--ico-prem);
  height: var(--ico-prem);
  border-radius: 0;
  background: none;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  line-height: 0;
}

.mp-premium-block .ico svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 1.5;
}

.mp-premium-block .ico-seo { color: #7DCF8A; }
.mp-premium-block .ico-ads { color: #6BB3FF; }
.mp-premium-block .ico-quote { color: #FF9B6A; }
.mp-premium-block .ico-gallery { color: var(--gold); }

.mp-premium-block .ico svg { stroke: currentColor; }

.mp-premium-block .h3 {
  color: var(--on-dark);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.mp-premium-block p {
  font-size: 16px;
  color: var(--muted-on-dark);
  line-height: 1.5;
  margin: 0 0 14px;
}

.mp-premium-block .badge-prem {
  background: rgba(227, 107, 33, 0.2);
  color: #f5c49a;
}

/* —— Partner —— */
.mp-partner {
  background: var(--surface);
}

.mp-partner-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.mp-partner-copy .lede {
  max-width: 44ch;
}

.mp-partner-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--oat);
}

.mp-partner-visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

/* —— Steps —— */
.mp-steps {
  background: #fff;
}

.mp-steps-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.mp-step {
  position: relative;
  text-align: center;
  padding: 20px 16px;
}

.mp-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -6px;
  top: 28px;
  font-size: 20px;
  color: var(--orange);
  font-weight: 700;
  opacity: 0.7;
}

.mp-step .num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}

.mp-step .h3 {
  margin-bottom: 6px;
}

.mp-step p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
  max-width: 22ch;
  margin-inline: auto;
}

/* —— Proof / testimonials (homepage tcard style) —— */
.mp-proof {
  background: var(--cream-price);
  padding-top: 20px;
}

.mp-tgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mp-tcard {
  display: flex;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(40, 35, 25, 0.09);
  min-height: 236px;
  text-align: left;
  padding: 0;
  border: 0;
}

.mp-tcard .avatar-col {
  width: 154px;
  flex: 0 0 154px;
  align-self: stretch;
  overflow: hidden;
  background: #5C4630;
}

.mp-tcard .avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
}

.mp-tcard .tcontent {
  flex: 1;
  background: #FBF5EA;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mp-tcard .stars {
  color: var(--star);
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  text-align: left;
}

.mp-tcard blockquote {
  margin: 11px 0 0;
  font-size: 15.5px;
  color: #2C3742;
  line-height: 1.5;
  font-style: normal;
  font-weight: 500;
}

.mp-tcard .tname {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

.mp-tcard .t-metric {
  margin-top: auto;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  background: #E7F0E6;
  color: var(--green);
  font-weight: 800;
  font-size: 22px;
  padding: 10px 14px;
  border-radius: 10px;
  width: fit-content;
}

.mp-tcard .t-metric small {
  font-size: 12px;
  color: #5C6B62;
  font-weight: 600;
}

.mp-proof .demo-note {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

/* —— FAQ —— */
.mp-faq {
  background: var(--cream);
}

.mp-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.mp-faq-item {
  background: #fff;
  border: 1px solid rgba(11, 27, 42, 0.06);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.mp-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  transition: background 0.15s ease;
}

.mp-faq-item summary::-webkit-details-marker {
  display: none;
}

.mp-faq-item summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  flex: none;
}

.mp-faq-item[open] summary {
  background: rgba(0, 21, 41, 0.03);
}

.mp-faq-item[open] summary::after {
  content: '−';
}

.mp-faq-item .answer {
  padding: 0 18px 16px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 52ch;
}

/* —— Footer —— */
.mp-footer {
  background: var(--ink);
  color: var(--muted-on-dark);
  padding: 56px 0 28px;
  font-size: 14px;
}

.mp-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.1fr;
  gap: 28px;
}

.mp-footer .leadpages-logo {
  --lp-logo-height: 34px;
  --lp-logo-ink: #f9f7f2;
  --lp-logo-accent: #e36b21;
  margin-bottom: 12px;
  display: block;
}

.mp-footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mp-footer a {
  display: block;
  margin: 0 0 8px;
  color: var(--muted-on-dark);
  font-weight: 550;
  transition: color 0.15s ease;
}

body.mp .mp-footer a {
  color: var(--muted-on-dark);
}

.mp-footer a:hover {
  color: #fff;
}

.mp-footer .blurb {
  max-width: 28ch;
  margin: 0 0 14px;
  line-height: 1.5;
}

.mp-footer-featured {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.mp-footer-featured img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mp-footer-featured .cap {
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--on-dark);
}

.mp-footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(249, 247, 242, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 13px;
}

/* —— Reveal animation —— */
.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

/* —— Responsive: 1100px —— */
@media (max-width: 1100px) {
  .mp-goal-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mp-premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mp-match-layout {
    grid-template-columns: 1fr 1fr;
  }

  .mp-match-phone {
    grid-column: 1 / -1;
    order: -1;
  }

  .mp-footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .mp-footer-featured {
    grid-column: 1 / -1;
    max-width: 360px;
  }
}

/* —— Responsive: 900px —— */
@media (max-width: 900px) {
  .nav,
  .header-actions .login,
  .header-actions .btn-orange {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .mp-hero-grid,
  .mp-partner-layout,
  .mp-match-layout {
    grid-template-columns: 1fr;
  }

  .mp-hero-visual {
    min-height: 360px;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .mp-hero-widget:nth-child(2) {
    top: 0;
    left: 0;
  }

  .mp-hero-widget:nth-child(3) {
    top: auto;
    bottom: 38%;
    right: 0;
  }

  .mp-hero-widget:nth-child(4) {
    bottom: 8%;
    left: 0;
  }

  .mp-hero-widget:nth-child(5) {
    bottom: 0;
    right: 0;
  }

  .mp-app-grid,
  .mp-industry-grid,
  .mp-tgrid {
    grid-template-columns: 1fr;
  }

  .mp-tcard {
    min-height: 0;
  }

  .mp-grow-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mp-grow-step:not(:last-child)::after {
    display: none;
  }

  .mp-explore-layout {
    grid-template-columns: 1fr;
  }

  .mp-explore-sidebar {
    position: static;
  }

  .mp-cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .mp-cat-list a {
    padding: 8px 14px;
    border: 1px solid var(--border);
    background: #fff;
  }

  .mp-steps-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .mp-step:not(:last-child)::after {
    display: none;
  }

  .mp-faq-grid {
    grid-template-columns: 1fr;
  }

  .mp-goal-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* —— Responsive: 640px —— */
@media (max-width: 640px) {
  .wrap,
  .wrap-wide {
    width: min(100% - 28px, var(--max));
  }

  .sec-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-row {
    flex-direction: column;
  }

  .btn-row .btn {
    width: 100%;
  }

  .mp-tcard {
    flex-direction: column;
  }

  .mp-tcard .avatar-col {
    width: 100%;
    flex: none;
    height: 160px;
  }

  .mp-goal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mp-tile-grid {
    grid-template-columns: 1fr;
  }

  .mp-premium-grid,
  .mp-steps-row,
  .mp-footer-grid {
    grid-template-columns: 1fr;
  }

  .mp-hero-widget {
    min-width: 110px;
    padding: 8px 10px;
  }

  .mp-hero-widget img {
    width: 36px;
    height: 36px;
  }

  .mp-industry-card {
    min-height: 320px;
  }
}

/* —— Utilities referenced by marketplace.html —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ph {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(227, 107, 33, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
  vertical-align: middle;
}

.mp-hero-leaf {
  position: absolute;
  top: -8%;
  right: -6%;
  width: min(28%, 120px);
  height: auto;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

/* —— Stroke icons (global) —— */
body.mp .ico svg,
body.mp .mp-app-icon svg {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

@media (max-width: 960px) {
  body.mp {
    --header-h: 72px;
  }
  body.mp .brand .leadpages-logo,
  body.mp .brand .lp-logo-wrap {
    --lp-logo-height: 56px !important;
    height: 56px !important;
  }
  body.mp {
    --ico-goal: 72px;
    --ico-tile: 64px;
    --ico-prem: 80px;
    --ico-app: 64px;
  }
}


/* Marketplace footer aligns to 1440 shell */
body.mp .mkt-site-footer .wrap-wide {
  width: min(100% - 48px, var(--wide));
  max-width: var(--wide);
  margin-inline: auto;
}

@media (max-width: 640px) {
  body.mp .mkt-site-footer .wrap-wide {
    width: min(100% - 28px, var(--wide));
  }
}

.mp-grow-visual {
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.mp-grow-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mp-step-visual {
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

.mp-step-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mp-grow-step {
  text-align: left;
}

.mp-grow-steps {
  align-items: stretch;
}
