/* PMM product landing — token values from OpenDesign "Stripe" design system. */
.pmm-landing {
	--pmm-bg: #ffffff;
	--pmm-surface: #f6f9fc;
	--pmm-ink: #061b31;
	--pmm-label: #273951;
	--pmm-muted: #64748d;
	--pmm-border: #e5edf5;
	--pmm-accent: #533afd;
	--pmm-accent-hover: #4434d4;
	--pmm-accent-active: #2e2b8c;
	--pmm-success: #15be53;
	--pmm-dark: #1c1e54;
	--pmm-shadow: rgba(50, 50, 93, 0.25) 0 30px 45px -30px, rgba(0, 0, 0, 0.1) 0 18px 36px -18px;
	--pmm-radius: 6px;
	--pmm-radius-sm: 4px;
	--pmm-container: 1080px;
	--pmm-gutter: 32px;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--pmm-bg);
	color: var(--pmm-ink);
	font-family: var(--wp--preset--font-family--body, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	font-weight: 300;
	line-height: 1.4;
	overflow: hidden;
}
.pmm-landing *,
.pmm-landing *::before,
.pmm-landing *::after { box-sizing: border-box; }
.pmm-landing img { max-width: 100%; height: auto; display: block; }
.pmm-landing a { color: var(--pmm-accent); text-underline-offset: 3px; }
.pmm-landing p { margin: 0 0 16px; color: var(--pmm-muted); font-size: 16px; font-weight: 300; }
.pmm-landing h1,
.pmm-landing h2,
.pmm-landing h3 { color: var(--pmm-ink); font-family: inherit; font-weight: 300; margin: 0 0 16px; letter-spacing: -0.02em; }
.pmm-landing h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.03; letter-spacing: -1.4px; }
.pmm-landing h2 { font-size: clamp(28px, 3vw, 32px); line-height: 1.1; letter-spacing: -0.64px; }
.pmm-landing h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.22px; }
.pmm-landing .pmm-container { width: 100%; max-width: var(--pmm-container); margin: 0 auto; padding-left: var(--pmm-gutter); padding-right: var(--pmm-gutter); }
.pmm-landing .pmm-eyebrow { margin: 0 0 14px; color: var(--pmm-accent); font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
.pmm-landing .pmm-eyebrow--light { color: #b9b9f9; }
.pmm-landing .pmm-section { padding: 96px 0; background: var(--pmm-bg); }
.pmm-landing .pmm-section--surface { background: var(--pmm-surface); }
.pmm-landing .pmm-section--tight { padding: 72px 0; }
.pmm-landing .pmm-section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.pmm-landing .pmm-section-head--left { margin-left: 0; text-align: left; }
.pmm-landing .pmm-section-head p:last-child { margin-bottom: 0; }

/* Hero */
.pmm-hero { position: relative; padding: 80px 0 72px; background: linear-gradient(135deg, #f6f9fc 0%, #ffffff 55%, #f1edff 100%); border-bottom: 1px solid var(--pmm-border); }
.pmm-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.pmm-hero__copy h1 span { color: var(--pmm-accent); }
.pmm-hero__lede { max-width: 560px; font-size: 18px; color: var(--pmm-label); }
.pmm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.pmm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: var(--pmm-radius-sm); font-size: 15px; font-weight: 400; line-height: 1.1; text-decoration: none; transition: background 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease; }
.pmm-landing .pmm-btn--primary { background: var(--pmm-accent); color: #fff; }
.pmm-landing .pmm-btn--primary:hover { background: var(--pmm-accent-hover); color: #fff; }
.pmm-btn--ghost { background: transparent; border-color: #b9b9f9; color: var(--pmm-accent); }
.pmm-btn--ghost:hover { background: rgba(83, 58, 253, 0.05); border-color: var(--pmm-accent); }
.pmm-landing .pmm-btn--light { background: #fff; color: var(--pmm-dark); }
.pmm-landing .pmm-btn--light:hover { background: #f1edff; color: var(--pmm-dark); }
.pmm-hero__points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; color: var(--pmm-muted); font-size: 13px; }
.pmm-hero__points li::before { content: "✓"; display: inline-block; margin-right: 7px; color: var(--pmm-success); font-weight: 400; }
.pmm-hero__visual { position: relative; min-height: 390px; }
.pmm-visual-frame { position: absolute; overflow: hidden; border: 1px solid var(--pmm-border); border-radius: 8px; background: #fff; box-shadow: var(--pmm-shadow); }
.pmm-visual-frame img { width: 100%; }
.pmm-visual-frame--back { top: 0; right: 0; width: 84%; opacity: 0.92; }
.pmm-visual-frame--front { bottom: 0; left: 0; width: 84%; }
.pmm-floating-badge { position: absolute; right: 0; bottom: 22px; display: flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid var(--pmm-border); border-radius: var(--pmm-radius); background: #fff; box-shadow: rgba(23, 23, 23, 0.08) 0 15px 35px; color: var(--pmm-label); font-size: 12px; }
.pmm-floating-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pmm-success); box-shadow: 0 0 0 4px rgba(21, 190, 83, 0.13); }

/* Trust bar */
.pmm-trustbar { border-bottom: 1px solid var(--pmm-border); background: #fff; }
.pmm-trustbar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; padding-top: 18px; padding-bottom: 18px; color: var(--pmm-muted); font-size: 13px; }
.pmm-trustbar span::before { content: "✦"; margin-right: 7px; color: var(--pmm-accent); }

/* Pain */
.pmm-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pmm-pain-card { padding: 24px; border: 1px solid var(--pmm-border); border-radius: var(--pmm-radius); background: #fff; }
.pmm-pain-card__icon { display: inline-block; margin-bottom: 20px; color: var(--pmm-accent); font-family: var(--wp--preset--font-family--mono, monospace); font-size: 12px; }
.pmm-pain-card h3 { font-size: 19px; }
.pmm-pain-card p { margin-bottom: 0; font-size: 14px; }

/* Steps */
.pmm-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pmm-step { padding: 26px; border-top: 2px solid var(--pmm-accent); background: #fff; border-right: 1px solid var(--pmm-border); border-bottom: 1px solid var(--pmm-border); border-left: 1px solid var(--pmm-border); border-radius: 0 0 var(--pmm-radius) var(--pmm-radius); }
.pmm-step > span { display: inline-block; margin-bottom: 18px; color: var(--pmm-accent); font-family: var(--wp--preset--font-family--mono, monospace); font-size: 12px; }
.pmm-step h3 { font-size: 19px; }
.pmm-step p { margin-bottom: 0; font-size: 14px; }

/* Features */
.pmm-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--pmm-border); border-radius: var(--pmm-radius); background: var(--pmm-border); }
.pmm-feature { padding: 26px 22px; background: #fff; }
.pmm-feature__mark { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 18px; border: 1px solid #d6d9fc; border-radius: 50%; color: var(--pmm-accent); font-family: var(--wp--preset--font-family--mono, monospace); font-size: 12px; }
.pmm-feature h3 { font-size: 17px; margin-bottom: 8px; }
.pmm-feature p { margin-bottom: 0; font-size: 13px; line-height: 1.5; }

/* Split sections */
.pmm-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.pmm-split--reverse .pmm-split__copy { order: 2; }
.pmm-split--reverse .pmm-shot-stack { order: 1; }
.pmm-checks { margin: 22px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.pmm-checks li { position: relative; padding-left: 22px; color: var(--pmm-label); font-size: 14px; }
.pmm-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--pmm-success); font-weight: 400; }
.pmm-shot { margin: 0; padding: 10px; border: 1px solid var(--pmm-border); border-radius: var(--pmm-radius); background: #fff; box-shadow: var(--pmm-shadow); }
.pmm-shot img { border-radius: 3px; }
.pmm-shot figcaption { margin: 10px 2px 0; color: var(--pmm-muted); font-size: 12px; }
.pmm-shot-stack { display: grid; gap: 16px; }
.pmm-shot--small { margin-left: 18%; }

/* Dark */
.pmm-landing .pmm-section--dark { background: var(--pmm-dark); }
.pmm-landing .pmm-section--dark h2 { color: #fff; }
.pmm-landing .pmm-section--dark p { color: rgba(255, 255, 255, 0.7); }
.pmm-dark-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.pmm-dark-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pmm-shot--dark { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
.pmm-shot--dark figcaption { color: rgba(255, 255, 255, 0.62); }

/* Audience */
.pmm-audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pmm-audience { padding: 28px; border: 1px solid var(--pmm-border); border-radius: var(--pmm-radius); background: #fff; }
.pmm-audience--featured { border-color: #d6d9fc; box-shadow: 0 1px 0 rgba(83, 58, 253, 0.06); }
.pmm-audience__tag { display: inline-block; margin-bottom: 18px; padding: 3px 8px; border-radius: var(--pmm-radius-sm); background: var(--pmm-surface); color: var(--pmm-accent); font-size: 12px; }
.pmm-audience h3 { font-size: 20px; }
.pmm-audience p { margin-bottom: 0; font-size: 14px; }

/* Pricing */
.pmm-addon-explainer { max-width: 880px; margin: -18px auto 30px; padding: 16px 20px; border: 1px solid #d6d9fc; border-radius: var(--pmm-radius); background: #f8f6ff; }
.pmm-landing .pmm-addon-explainer strong { display: block; margin-bottom: 6px; color: var(--pmm-ink); font-size: 14px; font-weight: 400; }
.pmm-landing .pmm-addon-explainer p { margin: 0; font-size: 13px; }
.pmm-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pmm-price { position: relative; display: flex; flex-direction: column; padding: 26px 22px; border: 1px solid var(--pmm-border); border-radius: var(--pmm-radius); background: #fff; }
.pmm-price--featured { border-color: var(--pmm-accent); box-shadow: var(--pmm-shadow); padding-top: 38px; }
.pmm-landing .pmm-price__badge { position: absolute; top: 12px; right: 14px; left: auto; margin: 0; padding: 4px 8px; border-radius: var(--pmm-radius-sm); background: var(--pmm-accent); color: #fff; font-size: 11px; line-height: 1; }
.pmm-landing .pmm-price__name { margin: 0 0 8px; color: var(--pmm-label); font-size: 14px; font-weight: 400; }
.pmm-landing .pmm-price__amount { margin: 0 0 4px; color: var(--pmm-ink); font-family: var(--wp--preset--font-family--mono, monospace); font-size: 30px; font-weight: 500; letter-spacing: -0.03em; }
.pmm-price__amount span { color: var(--pmm-muted); font-family: inherit; font-size: 12px; font-weight: 300; letter-spacing: 0; }
.pmm-price__for { margin: 0 0 18px; font-size: 12px; }
.pmm-price > ul { flex: 1 0 auto; margin: 0 0 18px; padding: 18px 0 0; border-top: 1px solid var(--pmm-border); list-style: none; }
.pmm-price li { position: relative; padding: 3px 0 3px 20px; color: var(--pmm-label); font-size: 13px; line-height: 1.5; }
.pmm-price li::before { content: "✓"; position: absolute; left: 0; color: var(--pmm-success); }
.pmm-price .pmm-btn { width: 100%; margin-top: auto; }
.pmm-landing .pmm-price__subhead { margin: 2px 0 8px; color: var(--pmm-ink); font-size: 12px; font-weight: 400; }
.pmm-price__subs { flex: 0 0 auto !important; margin: 0 0 20px !important; padding: 10px 0 0 !important; border-top: 1px dashed var(--pmm-border) !important; list-style: none; }
.pmm-price__subs li { color: var(--pmm-muted); font-size: 12px; }
.pmm-landing .pmm-price__addon { margin: -8px 0 18px; color: var(--pmm-accent); font-size: 12px; }
.pmm-landing .pmm-price__included { margin: -8px 0 18px; color: var(--pmm-success); font-size: 12px; }
.pmm-landing .pmm-price__inquiry { margin: 0 0 18px; color: var(--pmm-label); font-size: 12px; line-height: 1.5; }
.pmm-price-note { margin: 24px 0 0; text-align: center; font-size: 12px; }

/* Trial */
.pmm-trial { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.pmm-trial__form { padding: 26px; border: 1px solid var(--pmm-border); border-radius: var(--pmm-radius); background: var(--pmm-surface); }
.pmm-trial__form form { margin: 0; }
.pmm-trial__form p { margin-bottom: 12px; }
.pmm-trial__form label { display: block; margin-bottom: 6px; color: var(--pmm-label); font-size: 13px; }
.pmm-trial__form input[type="text"],
.pmm-trial__form input[type="email"],
.pmm-trial__form input[type="url"],
.pmm-trial__form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--pmm-border); border-radius: var(--pmm-radius-sm); background: #fff; color: var(--pmm-ink); font: inherit; font-size: 15px; }
.pmm-trial__form input:focus,
.pmm-trial__form textarea:focus { outline: 0; border-color: var(--pmm-accent); box-shadow: 0 0 0 3px rgba(83, 58, 253, 0.14); }
.pmm-trial__form textarea { min-height: 110px; resize: vertical; }
.pmm-trial__form input[type="submit"] { padding: 11px 18px; border: 0; border-radius: var(--pmm-radius-sm); background: var(--pmm-accent); color: #fff; font: inherit; font-weight: 400; cursor: pointer; }
.pmm-trial__form input[type="submit"]:hover { background: var(--pmm-accent-hover); }
.pmm-trial__form .wpcf7-not-valid-tip { color: #ea2261; font-size: 12px; }
.pmm-trial__form .wpcf7-response-output { margin: 14px 0 0 !important; padding: 10px 12px !important; border-radius: var(--pmm-radius-sm) !important; font-size: 13px; }
.pmm-trial__hint { margin: 14px 0 0; font-size: 12px; }

/* FAQ */
.pmm-faq { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--pmm-border); }
.pmm-faq details { border-bottom: 1px solid var(--pmm-border); }
.pmm-faq summary { position: relative; padding: 18px 34px 18px 0; color: var(--pmm-ink); font-size: 16px; cursor: pointer; list-style: none; }
.pmm-faq summary::-webkit-details-marker { display: none; }
.pmm-faq summary::after { content: "+"; position: absolute; right: 4px; top: 15px; color: var(--pmm-accent); font-size: 22px; font-weight: 300; }
.pmm-faq details[open] summary::after { content: "–"; }
.pmm-faq details p { margin: 0; padding: 0 34px 20px 0; font-size: 14px; }

/* Final */
.pmm-final { padding: 64px 0; background: var(--pmm-accent); }
.pmm-final__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.pmm-final h2 { max-width: 680px; margin: 0; color: #fff; }
.pmm-final p { margin: 6px 0 0; color: rgba(255, 255, 255, 0.78); }
.pmm-final .pmm-btn { flex: 0 0 auto; }

@media (max-width: 1024px) {
	.pmm-landing .pmm-section { padding: 72px 0; }
	.pmm-hero__grid,
	.pmm-split,
	.pmm-dark-grid,
	.pmm-trial { grid-template-columns: 1fr; gap: 40px; }
	.pmm-hero__visual { min-height: 320px; max-width: 620px; }
	.pmm-hero__copy h1 br { display: none; }
	.pmm-feature-grid { grid-template-columns: repeat(2, 1fr); }
	.pmm-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pmm-split--reverse .pmm-split__copy,
	.pmm-split--reverse .pmm-shot-stack { order: initial; }
}

@media (max-width: 700px) {
	.pmm-landing { --pmm-gutter: 16px; }
	.pmm-landing .pmm-section,
	.pmm-landing .pmm-section--tight { padding: 48px 0; }
	.pmm-hero { padding: 48px 0; }
	.pmm-hero__visual { min-height: 260px; }
	.pmm-visual-frame--back { width: 78%; }
	.pmm-visual-frame--front { width: 78%; }
	.pmm-floating-badge { right: 8px; bottom: 8px; }
	.pmm-pain-grid,
	.pmm-step-grid,
	.pmm-feature-grid,
	.pmm-audience-grid,
	.pmm-price-grid,
	.pmm-dark-shots { grid-template-columns: 1fr; }
	.pmm-checks { grid-template-columns: 1fr; }
	.pmm-feature-grid { gap: 1px; }
	.pmm-shot--small { margin-left: 0; }
	.pmm-final__inner { display: block; }
	.pmm-final .pmm-btn { margin-top: 18px; }
}
/* 100vw 會把捲軸寬度算進去；PMM 頁用全寬背景，關掉水平捲軸避免底部灰條。 */
body.page-template-page-pmm { overflow-x: hidden; }
