/* ==========================================================================
   LP (Taiwan landing page) styles — extracted from src/index.html inline <style>.
   Scoped under .lp / .lp-faq / .lp-final so it never collides with the shared
   stylesheets (common2.css, home.css, queries.css, etc.).

   NOTE: SP values follow the Excel "スタイル一式" (480 px). No PC design exists
   as a base: PC shows the SP layout as a centered column, re-arranged in the
   >=1160 px media block.
   ========================================================================== */

.lp, .lp-faq, .lp-final { --lp-navy:#0E4468; --lp-blue:#0A6FB8; --lp-yellow:#FCE84C; --lp-light:#E8F3FB; --lp-text:#1F2933; --lp-note:#4A5A6B; --lp-line:#D9E6F0;
	font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif; color:var(--lp-text); font-size:14.5px; line-height:1.7; }
.lp *, .lp-faq *, .lp-final * { box-sizing:border-box; }
.lp p, .lp-faq p, .lp-final p { margin:0; }
.lp img { max-width:100%; height:auto; }

/* Page column: 100% wide on SP, 600 px centered on tablet (600–1159 px), --lp-pc-max on PC (>=1160 px, see bottom). */
.lp, .lp-faq, .lp-final { --lp-pc-max:1440px; max-width:600px; margin-left:auto; margin-right:auto; }
.lp { background-color:#fff; }
.lp-container { margin:0 auto; padding:0 22px; }
.lp-section { padding:48px 0; }
.lp-section.-bgLight, .lp-faq { background:#F4F8FB; }
.lp-eyebrow { font-weight:700; font-size:12.5px; letter-spacing:.12em; color:var(--lp-blue); text-align:center; margin-bottom:8px; }
.lp-eyebrow.-left { text-align:left; }
.lp-h2 { font-family:"Noto Serif TC",serif; font-weight:900; font-size:24px; line-height:1.45; color:var(--lp-navy); margin:0 0 16px; }
.lp-h2.-center { text-align:center; margin-bottom:32px; }
.lp-h3 { display:flex; align-items:baseline; gap:10px; font-weight:900; font-size:20px; line-height:1.45; color:var(--lp-navy); margin:0 0 16px; }
.lp-h3__no { font-family:"Noto Serif TC",serif; font-weight:900; font-size:34px; color:var(--lp-blue); line-height:1; }
.lp-sub { font-weight:700; font-size:15px; color:var(--lp-blue); margin-bottom:16px !important; }
/* -dark keeps its spacing but uses the blue sub color (per design: match the SP color on both SP and PC). */
.lp-sub.-dark { color:var(--lp-blue); margin-top:16px !important; }
.lp-text { margin-bottom:16px !important; }
.lp-caption { font-size:12.5px; color:var(--lp-note); text-align:center; margin-top:12px !important; }
.lp-caption.-left { text-align:left; }
.lp-img { display:block; margin:16px auto 0; }

/* CTA (image buttons) */
.lp-cta { display:block; max-width:436px; margin:24px auto 0; }
.lp-cta img { display:block; width:100%; }
.lp-cta__note { font-size:12.5px; color:var(--lp-note); text-align:center; margin-top:10px !important; }
/* FV sub-text matches the FV lead: brand black (--lp-text #1F2933) + bold, on all devices */
.lp-fv .lp-cta__note { color:var(--lp-text); font-weight:700; }
.lp-ctaArea { margin-top:32px; }

/* FV */
/* FV: height follows the image ratio (480:660) up to the 600 px column, so the full photo stays visible. Min 660 px on narrow SP. */
.lp-fv { position:relative; overflow:hidden; display:flex; flex-direction:column; min-height:max(660px, min(137.5vw, 825px)); padding:0; }
/* The hero photo is the background of .lp-fv__body (no separate visual element). Top/bottom
   spacing lives on the body so the photo covers the whole section. The 90px white gradient
   is the first (top) background layer, pinned to the bottom, above the photo. */
.lp-fv__body { position:relative; z-index:1; display:flex; flex-direction:column; flex:1 0 auto; width:100%; padding-top:24px; padding-bottom:20px;
	background:
		linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.88) 55%,rgba(255,255,255,.95) 100%) no-repeat left bottom / 100% 90px,
		url('/assets/img/lp/fv_main@2x.webp') no-repeat center top / cover; }
.lp-fv__label { align-self:flex-start; background:var(--lp-navy); color:#fff; font-weight:700; font-size:13px; padding:2px 10px; border-radius:2px; }
.lp-fv__title { font-family:"Noto Serif TC",serif; font-weight:900; font-size:30px; line-height:1.4; color:var(--lp-navy); margin:12px 0 8px; }
.lp-fv__lead { font-weight:700; font-size:15px; }
.lp-fv__cards { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:auto; }
.lp-fv__card { background:#fff; border-radius:6px; box-shadow:0 2px 8px rgba(14,68,104,.25); text-align:center; overflow:hidden; padding-bottom:8px; }
.lp-fv__cardHead { background:var(--lp-navy); color:#fff; font-weight:700; font-size:13px; padding:4px; }
.lp-fv__price { color:var(--lp-blue); font-weight:900; line-height:1.2; margin-top:4px !important; }
.lp-fv__cur, .lp-fv__from { font-size:14px; }
.lp-fv__num { font-size:34px; margin:0 2px; }
.lp-fv__badge { color:var(--lp-blue); font-family:"Noto Serif TC",serif; font-weight:900; font-size:26px; line-height:1.4; margin-top:4px !important; }
.lp-fv__note { font-size:12px; color:var(--lp-note); line-height:1.5; }
.lp-fv .lp-cta { margin-top:16px; }

/* Trust data */
.lp-trust { padding:16px 0; background:#fff; }
.lp-trust__list { display:grid; grid-template-columns:repeat(3,1fr); text-align:center; font-size:12.5px; color:var(--lp-note); }
.lp-trust__item + .lp-trust__item { border-left:1px solid var(--lp-line); }
.lp-trust__item img { display:block; margin:0 auto 4px; }
.lp-trust__strong { font-weight:900; font-size:15px; color:var(--lp-navy); }
.lp-trust__num { font-family:"Noto Serif TC",serif; font-weight:900; font-size:27px; line-height:1.2; color:var(--lp-blue); }
.lp-trust__num small, .lp-stats__num small { font-size:.5em; }

/* Pain: rebuilt in HTML (dark navy section). SP = heading + bubbles + full-bleed photo at
   the very bottom (no padding below the photo). */
.lp-pain { background:var(--lp-navy); padding:40px 0 0; }
/* eyebrow with short rules on each side (yellow) */
.lp-pain__eyebrow { color:var(--lp-yellow); text-align:center; display:flex; align-items:center; justify-content:center; gap:12px; margin-bottom:16px; }
.lp-pain__eyebrow::before, .lp-pain__eyebrow::after { content:""; width:28px; height:2px; background:var(--lp-yellow); }
.lp-pain__heading { font-family:"Noto Serif TC",serif; font-weight:900; font-size:22px; line-height:1.5; color:#fff; text-align:center; margin:0 0 28px; }
/* keep the heading on 2 lines across ALL SP/tablet widths (the <br> must always show here) */
.lp-pain__heading br { display:inline !important; }
/* SP stage. A clear half-circle sits on the TOP border of the navy section: diameter ≈
   screen width + ~20px, flat edge up on the section top (only the bottom half shows). */
.lp-pain { position:relative; overflow:hidden; }
.lp-pain__stage { position:relative; }
/* Shallow arc at the top: the circle touches each side ~30px in and its tip (bottom) is
   ~50px below the section top. A big circle positioned mostly above the section gives that
   wide, shallow curve. Anchored to the pain SECTION top (not the stage). */
/* Shallow top arc. Smaller diameter than before so the left/right touch points sit a bit
   higher while the bottom tip stays ~50px below the section top. */
.lp-pain__stage::before { content:""; position:absolute; z-index:0;
	left:50%; transform:translateX(-50%);
	width:200vw; height:200vw; border-radius:50%;
	bottom:auto; top:calc(-200vw + 12px);
	background:rgba(140,190,235,.32); }
.lp-pain__bubbles { list-style:none; margin:0; padding:0; position:relative; z-index:1; min-height:420px; }
/* Shared bubble basics (same on SP + PC): white box, flex centering. Geometry (size,
   radius, position) and the whole tail are version-specific and live in the media blocks
   below — SP in max-width:1159px, PC in min-width:1160px — so the two never overlap. */
.lp-pain__bubble { position:absolute; background:#fff; display:flex; }
.lp-pain__txt { display:block; }
.lp-pain__lead { display:block; font-size:11px; font-weight:700; color:var(--lp-note); text-align:left; }
.lp-pain__punch { display:block; font-size:16px; font-weight:900; color:var(--lp-blue); line-height:1.3; text-align:center; }

/* SP uses the original flat image (.lp-pain-img); the HTML pain block is PC-only.
   Full-bleed like .lp-fv__visual: no side padding/margin, image fills the full width. */
.lp-pain-img { display:block; width:100%; margin:0; padding:0; background:var(--lp-navy); line-height:0; text-align:left; font-size:0; }
/* !important needed: style-origin.css has "body.reprint_top img { width:revert-layer }",
   which (no @layer in use) falls back to the UA default width:auto — i.e. the HTML
   width="961" attribute wins over any normal-specificity width:100% rule here. */
.lp-pain-img img { display:block !important; width:100% !important; max-width:100% !important; height:auto !important; margin:0; padding:0; border:0; }
@media screen and (max-width:1159px) {
	.lp-pain { display:none; }
}

/* ===== SP bubbles + tails (ONLY below PC; fully independent of the PC block) ===== */
@media screen and (max-width:1159px) {
	/* SP bubbles: ~45% wide, 2 columns, pill radius, absolutely positioned. */
	.lp-pain__bubble { border-radius:999px; padding:10px 24px; width:54%; min-height:58px;
		flex-direction:column; justify-content:center; }
	/* left column (b1,b3,b5): more vertical space between bubbles */
	.lp-pain__bubble.-b1 { left:0;   top:0;    }
	.lp-pain__bubble.-b3 { left:0;   top:170px; }
	.lp-pain__bubble.-b5 { left:0;   top:340px; }
	/* right column (b2,b4): offset down between the left ones */
	.lp-pain__bubble.-b2 { right:0;  top:90px;  left:auto; }
	.lp-pain__bubble.-b4 { right:0;  top:260px; left:auto; }
	/* SP tail: clip-path triangle (26w x 14h), top corner nudged +2px right/up. */
	.lp-pain__bubble::after { content:""; position:absolute; bottom:-2px; z-index:2;
		width:26px; height:14px; background:#fff; border:0; }
	/* left column: points RIGHT, off the right edge */
	.lp-pain__bubble.-b1::after, .lp-pain__bubble.-b3::after, .lp-pain__bubble.-b5::after {
		right:-13px; left:auto; transform:rotate(15deg); transform-origin:left bottom;
		clip-path:polygon(8% 0, 100% 64%, 0 100%); }
	/* right column: exact mirror (flipped x), points LEFT, off the left edge */
	.lp-pain__bubble.-b2::after, .lp-pain__bubble.-b4::after {
		left:-13px; right:auto; transform:rotate(-15deg); transform-origin:right bottom;
		clip-path:polygon(92% 0, 0 64%, 100% 100%); }
}
/* Photo: full-bleed width, shown WHOLE (no crop) — background-size:contain so the full
   image is always visible regardless of screen width; height follows via aspect-ratio. */
.lp-pain__photo { display:block; position:relative; left:50%; right:50%; width:100vw; margin:150px -50vw 0;
	aspect-ratio:480 / 378;
	background:url('/assets/img/lp/pain_person.png') no-repeat center bottom / contain; }
.lp-pain__photo img { display:none; }
/* Summary box: its own section on the light background (not on the navy pain section). */
.lp-pain-summary { background:#F4F8FB; padding:24px 0 8px; }
.lp-pain__box { background:#fff; border-left:4px solid var(--lp-blue); border-radius:0 8px 8px 0; padding:16px 18px; }
.lp-pain__title { font-weight:900; color:var(--lp-navy); font-size:15px; margin-bottom:8px !important; }
.lp-pain__box strong { color:var(--lp-blue); }

/* Reasons */
.lp-reason { margin-top:40px; }
.lp-stats { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:16px; }
.lp-stats__item { background:var(--lp-light); border-radius:8px; text-align:center; padding:12px 8px; font-weight:700; font-size:13px; color:var(--lp-navy); }
.lp-stats__num { font-family:"Noto Serif TC",serif; font-weight:900; font-size:30px; line-height:1.2; color:var(--lp-blue); }
.lp-check { list-style:none; margin:0; padding:0; }
.lp-check li { position:relative; padding:4px 0 4px 32px; }
.lp-check li::before { content:""; position:absolute; left:0; top:8px; width:24px; height:24px;
	background:url('/assets/img/lp/icon_check@2x.webp') no-repeat center / 24px 24px; }
.lp-process { border:1px solid var(--lp-line); border-radius:8px; padding:16px; margin-top:24px; }
.lp-process__title { font-weight:900; color:var(--lp-navy); font-size:15px; margin-bottom:12px !important; }
.lp-process__list { list-style:none; margin:0; padding:0; counter-reset:lpstep; }
.lp-process__list li { position:relative; padding:0 0 12px 34px; counter-increment:lpstep; font-size:13px; color:var(--lp-note); }
.lp-process__list li::before { content:counter(lpstep); position:absolute; left:0; top:0; width:24px; height:24px; border:1.5px solid var(--lp-blue);
	border-radius:50%; background:#fff; color:var(--lp-blue); font-weight:700; font-size:13px; line-height:21px; text-align:center; z-index:1; }
.lp-process__list li:not(:last-child)::after { content:""; position:absolute; left:11.5px; top:24px; bottom:0; width:1px; background:var(--lp-line); }
.lp-process__list li.-active::before { background:var(--lp-blue); color:#fff; }
.lp-process__name { font-weight:900; font-size:15px; color:var(--lp-navy); }
.lp-process__label { display:inline-block; background:var(--lp-blue); color:#fff !important; font-weight:700; padding:0 8px; border-radius:2px; }
.lp-courses { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.lp-courses__item { background:#F4F8FB; border-top:3px solid; padding:10px 12px; font-size:13px; color:var(--lp-note); }
.lp-courses__item.-c1 { border-color:#0A6FB8; } .lp-courses__item.-c2 { border-color:#C2366C; }
.lp-courses__item.-c3 { border-color:#3E8E2E; } .lp-courses__item.-c4 { border-color:#D9780F; }
.lp-courses__name { font-weight:900; font-size:15px; color:var(--lp-navy); }
.lp-half { display:flex; align-items:center; gap:16px; background:var(--lp-light); border-radius:8px; padding:12px 16px; margin-bottom:16px; font-weight:700; color:var(--lp-navy); }
.lp-beginner { border:1px solid var(--lp-line); border-radius:8px; padding:14px 16px; margin-bottom:10px; background:#fff; }
.lp-beginner__label { font-weight:700; font-size:12.5px; color:var(--lp-blue); }
.lp-beginner__title { font-weight:900; font-size:16px; color:var(--lp-navy); margin-bottom:4px !important; }

/* Scenes */
.lp-scenes__grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.lp-scenes__item { background:#fff; border-radius:8px; padding:14px; font-size:13px; color:var(--lp-note); }
.lp-scenes__item img { display:block; margin-bottom:8px; }
.lp-scenes__name { font-weight:900; font-size:16px; color:var(--lp-navy); }

/* Flexible */
.lp-flex__grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.lp-flex__item { background:var(--lp-navy); border-radius:12px; color:#fff; text-align:center; padding:16px 8px; font-weight:700; font-size:13px; }
.lp-flex__icon { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.12); }
.lp-flex__num { font-family:"Noto Serif TC",serif; font-weight:900; font-size:27px; line-height:1.3; color:var(--lp-yellow); }
.lp-flex__num span { font-size:42px; }

/* 3 "no"s + steps */
.lp-nos { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.lp-nos__item { background:#fff; border:2px solid var(--lp-blue); border-radius:10px; text-align:center; padding:14px 6px; font-size:12.5px; }
.lp-nos__title { font-family:"Noto Serif TC",serif; font-weight:900; font-size:18px; color:var(--lp-navy); margin-bottom:6px !important; }
.lp-steps__title { margin-top:48px; }
.lp-steps { list-style:none; margin:0; padding:0; counter-reset:lpstep3; }
.lp-steps li { position:relative; padding:0 0 16px 44px; counter-increment:lpstep3; font-size:13px; color:var(--lp-note); }
.lp-steps li::before { content:counter(lpstep3); position:absolute; left:0; top:0; width:30px; height:30px; border-radius:50%; background:var(--lp-blue);
	color:#fff; font-weight:700; line-height:30px; text-align:center; }
.lp-steps__name { font-weight:900; font-size:16px; color:var(--lp-navy); }

/* Plans */
.lp-plan { position:relative; border:2px solid var(--lp-line); border-radius:8px; padding:14px 16px; margin-bottom:10px; }
.lp-plan.-popular { border-color:var(--lp-blue); }
.lp-plan__tag { position:absolute; right:12px; top:12px; background:var(--lp-blue); color:#fff; font-weight:700; font-size:12px; padding:0 10px; border-radius:10px; }
.lp-plan__name { font-weight:900; font-size:16px; color:var(--lp-navy); }
.lp-plan__chip { background:var(--lp-light); color:var(--lp-navy); font-size:12px; padding:0 6px; margin-left:4px; }
.lp-plan__price { font-weight:900; font-size:28px; line-height:1.3; color:var(--lp-text); }
.lp-plan__price small { font-size:13px; font-weight:700; margin:0 4px; }
.lp-plan__note { font-size:12.5px; color:var(--lp-note); }
.lp-payment { background:#F4F8FB; border-radius:8px; padding:14px 16px; margin:16px 0 0; font-size:13px; }
.lp-payment div { display:flex; gap:6px; }
.lp-payment dt { font-weight:900; color:var(--lp-navy); }
.lp-payment dt::after { content:"｜"; color:var(--lp-note); font-weight:400; }
.lp-payment dd { margin:0; }

/* Logos: carousel (Swiper #logo-slider), same on SP and PC. */
.lp-logos { padding:24px 0; }
.lp-logos__title { font-weight:900; text-align:center; color:var(--lp-navy); margin-bottom:16px !important; }

/* Voices */
.lp-voices__box { background:#F4F8FB; border-radius:12px; padding:20px 12px; }
.lp-voices__title { font-weight:900; font-size:17px; text-align:center; color:var(--lp-navy); margin:0 0 12px; }
.lp-voice { background:#fff; border:1px solid var(--lp-line); border-radius:8px; padding:14px 16px; margin-top:10px; }
.lp-voice__head { display:flex; align-items:center; gap:10px; font-weight:900; color:var(--lp-navy); margin-bottom:8px !important; }
.lp-voice__head img { border-radius:50%; }

/* FAQ (overrides for the existing ToggleList; toggle JS in script.js, multiple open allowed).
   Selectors must beat queries.css "body.reprint_top #faq .ToggleList .ToggleList__button" (>=960 px: padding-left 0, put "Q" on the text)
   and home.css "section#faq" padding. */
body.reprint_top #faq.lp-faq { padding:48px 0; }
body.reprint_top #faq.lp-faq .ToggleList__item { border-bottom:none; border-top:1px solid var(--lp-line); }
body.reprint_top #faq.lp-faq .ToggleList .ToggleList__button { font-family:"Noto Sans TC",sans-serif; font-weight:700; font-size:15px; line-height:1.6; color:var(--lp-navy); min-height:44px; padding:12px 40px 12px 24px; }
body.reprint_top #faq.lp-faq .ToggleList .ToggleList__button::before { content:"Q"; position:absolute; left:0; top:12px; color:var(--lp-blue); font-weight:900; }
body.reprint_top #faq.lp-faq .ToggleList .ToggleList__button::after { top:50%; transform:translateY(-50%); }
body.reprint_top #faq.lp-faq .ToggleList__main { position:relative; font-family:"Noto Sans TC",sans-serif; font-size:14px; padding:0 0 16px 24px; }
body.reprint_top #faq.lp-faq .ToggleList__main::before { content:"A"; position:absolute; left:0; font-weight:900; color:var(--lp-note); }

/* Final CTA */
.lp-final { background:var(--lp-navy); padding:40px 0; }
.lp-final__title { font-family:"Noto Serif TC",serif; font-weight:900; font-size:22px; line-height:1.6; color:#fff; }

/* Wider screens: a bit more side padding inside the 600 px column */
@media screen and (min-width:600px) {
	.lp-container { padding:0 32px; }
}
/* Tablet and up: page sits as a centered column on a grey background */
@media screen and (min-width:640px) {
	body.reprint_top .l-content { background:#E9EEF3; }
	.lp, .lp-faq, .lp-final { box-shadow:1px 0 0 var(--lp-line), -1px 0 0 var(--lp-line); }
}

/* PC (>=1160 px = the site header's SP/PC switch): built to the PC Figma (frame 1440, inner content ~1120 → 1140 column).
   Same HTML as SP; sections re-arranged into the multi-column PC layout. */
@media screen and (min-width:1160px) {
	/* Figma frame is 1440 wide; content is a 1120 block via 160 px side padding (1440-160-160). */
	.lp, .lp-faq, .lp-final { max-width:var(--lp-pc-max); }
	.lp-container { padding:0 160px; }
	/* Logos: carousel handles sizing (Swiper breakpoints); no PC grid override needed. */
	.lp-section { padding:72px 0; }
	.lp-container > .lp-h2, .lp-container > .lp-sub, .lp-container > .lp-eyebrow { text-align:center; }
	.lp-h2 { font-size:32px; }
	/* bigger headers on PC: a 2-line h3 should be ~80px tall (28px text x ~1.45 x 2 lines). */
	.lp-h3 { font-size:28px; line-height:1.45; gap:14px; }
	.lp-h3__no { font-size:48px; }
	/* eyebrow sits ~14px above the heading */
	.lp-eyebrow { margin-bottom:14px; font-size:13px; }
	/* SP-only line breaks collapse on PC (trust items, pain box, etc.) */
	.lp br.sp { display:none; }
	.lp-img { max-width:720px; }
	.lp-caption.-left { text-align:center; }

	/* FV: Figma 1120 column, ~620 tall. The photo is a wide background on the RIGHT
	   (Figma ~835 px wide at its own ratio), faded + softened so it reads as a background.
	   The text/cards sit ON TOP, left-aligned ~200 px from the page edge (not a 2nd column). */
	/* --u = 1 design px: 1px at >=1440 viewport, shrinks linearly below (1440 = Figma frame). */
	.lp-fv, .lp-pain { --u:min(1px, .069444vw); }
	.lp-pain-img { display:none; }
	/* Height scales with the image (620 * u) so the same slice of the photo stays visible at
	   every width. The 55% Y position is relative to that scaled box. */
	.lp-fv { min-height:calc(620 * var(--u)); height:auto; padding:0; background:#E6F0F8; }
	/* PC: the photo is the background of .lp-fv__body, as wide as the section (width follows
	   the section, scales with it) and cropped top/bottom by the 620px-tall section. Only the
	   Y position is tuned: 55% = slice around the figure. No white gradient on PC. */
	/* --fv-shift-y: photo vertical offset at 1440+ (px, more negative = show a lower part of the photo).
	   To nudge the crop later, just change this one number. */
	.lp-fv { --fv-shift-y:-656; }
	.lp-fv.lp-fv .lp-fv__body { padding-top:48px; padding-bottom:48px;
		background:url('/assets/img/lp/fv_main@2x.webp') no-repeat center calc(var(--fv-shift-y) * var(--u)) / 100% auto; }
	/* Body overlays the left side. This element is BOTH .lp-container (padding:0 160px) and
	   .lp-fv__body, so set the left offset absolutely to the Figma 200px (don't rely on
	   adding to 160 — the container shorthand would otherwise win). */
	.lp-fv.lp-fv .lp-fv__body { justify-content:center; padding-left:200px; }
	/* text column stays clear of the photo on the right */
	.lp-fv__body > * { max-width:480px; }
	.lp-fv__title { font-size:42px; margin-top:16px; }
	.lp-fv__lead { font-size:18px; }
	/* cards are wider (540) so they intentionally overlap the photo, per Figma */
	.lp-fv__cards { max-width:none; width:calc(540 * var(--u)); gap:calc(8 * var(--u)); margin-top:28px; }
	.lp-fv__card { border-radius:calc(6 * var(--u)); padding-bottom:calc(8 * var(--u)); }
	.lp-fv__cardHead { font-size:max(10px, calc(13 * var(--u))); padding:calc(4 * var(--u)); }
	.lp-fv__cur, .lp-fv__from { font-size:max(10px, calc(14 * var(--u))); }
	.lp-fv__num { font-size:max(24px, calc(34 * var(--u))); }
	.lp-fv__badge { font-size:max(18px, calc(26 * var(--u))); }
	.lp-fv__note { font-size:max(10px, calc(12 * var(--u))); }
	.lp-fv .lp-cta { margin-left:0; }
	.lp-fv .lp-cta__note { text-align:left; }

	/* Trust band: three items across the content width. Use the normal container padding
	   (don't over-narrow it); ~344 in Figma is the per-item column, not the whole band. */
	.lp-trust { padding:20px 0; }
	.lp-trust .lp-container { padding:0 160px; }
	.lp-trust__list { max-width:none; }
	.lp-trust__num { font-size:34px; }

	/* Pain PC (Figma): navy section is a fixed 843px tall. eyebrow + heading centered;
	   stage = TWO bubble columns on the left, photo on the right (plain image on navy). */
	.lp-pain { padding:calc(64 * var(--u)) 0; height:calc(843 * var(--u)); }
	.lp-pain .lp-container { padding:0 calc(160 * var(--u)); }
	.lp-pain__eyebrow { margin-bottom:calc(24 * var(--u)); }
	.lp-pain__heading { font-size:calc(34 * var(--u)); margin-bottom:calc(48 * var(--u)); }
	/* PC: heading on one line (undo the SP forced break) */
	.lp-pain__heading br { display:none !important; }
	/* no SP blob on PC */
	.lp-pain__stage::before { display:none; }
	/* Navy section 1140x843. The bubble area starts ~234px from the navy top and is 445px
	   tall. All bubble geometry (incl. gaps b1→b3→b5) is positioned via "top" in the same
	   --u unit so the 1→3 and 3→5 gaps scale identically — no edge is pinned to the stage's
	   bottom, which previously made b5's gap scale differently from b1/b3's. */
	.lp-pain__stage { position:relative; height:calc(445 * var(--u)); }
	.lp-pain__bubbles { display:block; position:absolute; inset:0; margin:0; }
	/* both lines block + left-aligned inside the shrink-to-fit .lp-pain__txt box */
	.lp-pain .lp-pain__bubble .lp-pain__lead { display:block; font-size:calc(14 * var(--u)); text-align:left; }
	.lp-pain .lp-pain__bubble .lp-pain__punch { display:block; font-size:calc(28 * var(--u)); line-height:1.2; text-align:left; }
	/* PC bubbles: ~19px corners, 95px tall. The inner text box (.lp-pain__txt) shrinks to the
	   punch (bottom) line and is centered in the bubble; both lines are left-aligned to that
	   box's left edge, so the top line starts where the bottom line starts. */
	.lp-pain__bubble { position:absolute; width:auto; border-radius:calc(28 * var(--u)); padding:calc(20 * var(--u)); margin:0;
		height:calc(95 * var(--u)); min-height:0; display:flex; align-items:center; justify-content:center; }
	.lp-pain__txt { display:inline-block; text-align:left; white-space:nowrap; }
	/* PC tail = a symmetric DOWNWARD triangle via borders (equal left/right => point
	   straight down; flat top flush on the bubble's bottom edge). Self-contained: the SP
	   tail lives in the max-width:1159px block and never applies here, so no resets needed. */
	.lp-pain__bubble::after { content:""; position:absolute; top:100%; margin-top:-1px;
		width:0; height:0;
		border-left:calc(10 * var(--u)) solid transparent; border-right:calc(10 * var(--u)) solid transparent;
		border-top:calc(14 * var(--u)) solid #fff; }
	/* LEFT column (b1,b3,b5): tail fixed on the RIGHT side of the bubble. */
	.lp-pain__bubble.-b1 { left:0;   top:0;     width:calc(316 * var(--u)); }
	.lp-pain__bubble.-b3 { left:0;   top:calc(175 * var(--u)); width:calc(222 * var(--u)); }
	/* bottom-left bubble sits on the stage baseline (~680px from navy top) */
	.lp-pain__bubble.-b5 { left:0;   top:calc(350 * var(--u)); bottom:auto; width:calc(262 * var(--u)); }
	.lp-pain__bubble.-b1::after,
	.lp-pain__bubble.-b3::after,
	.lp-pain__bubble.-b5::after { right:calc(40 * var(--u)); left:auto; }
	/* RIGHT column (b2,b4): tail fixed on the LEFT side, same 40px inset (mirrored).
	   Lowered ~45px so each right bubble's bottom aligns with the left bubble's center. */
	.lp-pain__bubble.-b2 { left:calc(316 * var(--u)); top:calc(135 * var(--u)); width:calc(288 * var(--u)); }
	.lp-pain__bubble.-b4 { left:calc(316 * var(--u)); top:calc(315 * var(--u)); width:calc(288 * var(--u)); }
	.lp-pain__bubble.-b2::after,
	.lp-pain__bubble.-b4::after { left:calc(40 * var(--u)); right:auto; }
	/* photo PC: plain <img>, pinned right at the stage baseline. Reset the SP full-bleed
	   background/aspect-ratio/offset so none of it leaks into PC. */
	.lp-pain__photo { position:absolute; right:0; left:auto; bottom:0; top:auto; width:calc(480 * var(--u)); max-width:none; margin:0;
		background:none; aspect-ratio:auto; }
	.lp-pain__photo img { width:100%; height:auto; display:block; }
	/* summary box section on the light bg, below the navy pain section */
	.lp-pain-summary { padding:40px 0; }
	.lp-pain__box { max-width:760px; margin:0 auto; }

	/* Reasons: 2-column. The number+heading (.lp-h3) is the LEFT-column header (NOT a
	   full-width span). Right-column content top-aligns with that header (grid-row:1).
	   No extra side margin here — the container's 160 px padding already sets the width. */
	.lp-reason { max-width:none; margin:48px 0 0; padding:0; }
	.lp-reason#reason-1, .lp-reason#reason-2, .lp-reason#reason-3 {
		display:grid; grid-template-columns:1fr 1fr; column-gap:55px; align-items:start; }
	/* heading lives in column 1, row 1 (left header); align the big number and the
	   text to the TOP so the text no longer sits mid-way down the number. */
	.lp-reason .lp-h3 { grid-column:1; grid-row:1; align-items:flex-start; }

	/* 01: stats + checklist in the LEFT column (under heading); process in the RIGHT column
	   starting at the heading's top. Figma: stats + check together ~296 px tall. */
	.lp-reason#reason-1 > .lp-stats,
	.lp-reason#reason-1 > .lp-check { grid-column:1; }
	.lp-reason#reason-1 > .lp-process { grid-column:2; grid-row:1 / span 3; margin-top:0; }
	.lp-reason#reason-1 .lp-stats__item { min-height:110px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
	.lp-reason#reason-1 > .lp-stats { margin-bottom:16px; }
	.lp-reason#reason-1 > .lp-check { margin-top:0; }

	/* 02: heading + top sub + 2x2 courses in the LEFT column. The media pair (sub + image)
	   is one wrapper in the RIGHT column, spanning the full height and centered; inside it
	   the sub sits ~20 px above the image, independent of the left column's height. */
	.lp-reason#reason-2 > .lp-sub,
	.lp-reason#reason-2 > .lp-courses { grid-column:1; }
	.lp-reason#reason-2 > .lp-reason2__media {
		grid-column:2; grid-row:1 / span 3; align-self:end; margin:0;
		display:flex; flex-direction:column; }
	.lp-reason2__media > .lp-sub.-dark { margin:0 0 20px !important; }
	.lp-reason2__media > .lp-img { margin:0; max-width:100%; }
	.lp-courses { grid-template-columns:repeat(2,1fr); gap:16px; }
	.lp-courses__item { padding:16px; }

	/* 03: half + text in the LEFT column (under heading); beginner cards AND the
	   "預約時也能篩選…" check in the RIGHT column, top-aligned with the heading. */
	/* LEFT column: heading(row1), half(row2), text(row3). RIGHT column: first beginner card
	   starts at row 1 so its TOP aligns horizontally with the heading's top. */
	.lp-reason#reason-3 > .lp-h3 { grid-column:1; grid-row:1; }
	.lp-reason#reason-3 > .lp-half { grid-column:1; grid-row:2; }
	.lp-reason#reason-3 > .lp-text { grid-column:1; grid-row:3; }
	.lp-reason#reason-3 > .lp-beginner,
	.lp-reason#reason-3 > .lp-check { grid-column:2; }
	.lp-reason#reason-3 > .lp-beginner { margin-bottom:16px; }
	/* right column stack: card(1) aligned to heading top, card(2), then the check line */
	.lp-reason#reason-3 > div.lp-beginner:nth-of-type(1) { grid-row:1; }
	.lp-reason#reason-3 > div.lp-beginner:nth-of-type(2) { grid-row:2; }
	.lp-reason#reason-3 > .lp-check { grid-row:3; margin-top:0; }
	body.reprint_top .lp-half img { width:96px; height:96px; }

	/* Scenes: 2-column — heading + sub + 2x2 cards on the LEFT; the media pair (image +
	   caption) as one centered wrapper on the RIGHT, caption ~14px under the image. */
	.lp-scenes .lp-container { display:grid; grid-template-columns:1fr 1fr; column-gap:55px; align-items:center; }
	.lp-scenes .lp-h2 { grid-column:1; grid-row:1; }
	.lp-scenes .lp-sub { grid-column:1; grid-row:2; }
	.lp-scenes__grid { grid-column:1; grid-row:3; }
	/* media pair aligns to the BOTTOM so the caption's bottom edge lines up with the
	   bottom of the left scene-cards grid. */
	.lp-scenes__media { grid-column:2; grid-row:1 / span 3; align-self:end; display:flex; flex-direction:column; }
	.lp-scenes__media > .lp-img { margin:0 0 14px; max-width:100%; }
	.lp-scenes__media > .lp-caption { margin:0; text-align:center; }
	/* left-align heading/sub (left column) */
	.lp-scenes .lp-container > .lp-h2,
	.lp-scenes .lp-container > .lp-sub { text-align:left; }
	.lp-scenes__grid { grid-template-columns:repeat(2,1fr); gap:16px; }
	.lp-scenes__item { padding:20px; }

	/* Flexible: 2-column. LEFT = eyebrow + h2, LEFT-aligned and vertically centered in the
	   container; RIGHT = the 2-item grid fixed at 674px (not a 50/50 split). */
	.lp-flex .lp-container { display:grid; grid-template-columns:1fr 674px; column-gap:55px; align-items:center; }
	.lp-flex__grid { grid-column:2; grid-row:1 / span 2; max-width:674px; width:674px; margin:0; gap:16px; }
	/* override the generic PC "center direct children" rule for this left column */
	.lp-flex .lp-container > .lp-eyebrow { grid-column:1; grid-row:1; align-self:end; margin:0 0 14px; text-align:left; }
	.lp-flex .lp-container > .lp-h2 { grid-column:1; grid-row:2; align-self:start; margin:0; text-align:left; }
	.lp-flex__item { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:20px 16px; }

	/* Comparison: Figma width is 872 (the width="436" HTML attr was the @1x size).
	   Force 872 and let height scale with the ratio. */
	.lp-compare .lp-img { width:872px; max-width:100%; height:auto; }

	.lp-nos { max-width:960px; margin:0 auto; gap:16px; }
	.lp-nos__item { padding:24px 12px; font-size:14px; }
	.lp-nos__title { font-size:22px; }
	/* keep the steps title on a single line (the <br> is for SP only) */
	.lp-steps__title br { display:none; }
	.lp-steps__title { white-space:nowrap; }
	.lp-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; max-width:1000px; margin:0 auto; }
	/* PC: number ABOVE the text, everything centered horizontally (not number-left/text-right) */
	.lp-steps li { padding:44px 0 0; text-align:center; }
	.lp-steps li::before { left:50%; transform:translateX(-50%); top:0; }

	/* Plans: 3 cards in a row; below, offer image on the LEFT and payment table on the RIGHT.
	   6-col base grid: plan cards span 2 cols each (3 across), img/payment span 3 cols each. */
	.lp-plans .lp-container { display:grid; grid-template-columns:repeat(6,1fr); column-gap:16px; row-gap:16px; align-items:start; }
	.lp-plans .lp-container > .lp-h2 { grid-column:1 / -1; }
	/* equal-height cards: stretch all three to the tallest in the row */
	.lp-plans .lp-container { align-items:stretch; }
	.lp-plan { grid-column:span 2; margin-bottom:0; display:flex; flex-direction:column; }
	/* note: on PC the "｜" becomes a line break (two lines), so hide the pipe and
	   make each half its own line. */
	.lp-plan__note { margin-top:auto; }
	.lp-plan__note > span { display:block; }
	.lp-plan__note .lp-plan__sep { display:none; }
	/* bottom row: offer image (left, Figma 560 wide) + payment table (right), centered to each other */
	.lp-plans .lp-img { grid-column:1 / 4; width:560px; max-width:100%; height:auto; margin:16px 0 0; align-self:center; justify-self:start; }
	.lp-payment { grid-column:4 / 7; width:100%; max-width:100%; margin:16px 0 0; align-self:center; }
	/* payment rows: ~14px gap between lines */
	.lp-payment div + div { margin-top:14px; }
	.lp-plans .lp-ctaArea { grid-column:1 / -1; }

	.lp-review .lp-img { max-width:600px; }

	.lp-voices__box { display:grid; grid-template-columns:1fr 1fr; gap:16px; padding:32px; }
	.lp-voices__title { grid-column:1 / -1; margin:0; font-size:22px; }
	.lp-voice { margin-top:0; }

	body.reprint_top #faq.lp-faq { padding:72px 0; }
	/* FAQ list ~870 wide (Figma 869). Drop the 160px side padding here so the 870 isn't
	   eaten by it (that was leaving only ~580 of usable width). */
	.lp-faq .lp-container { max-width:870px; padding:0; }

	/* Final CTA: 2-column — title text LEFT (left-aligned), CTA button RIGHT, both
	   vertically centered. */
	.lp-final { padding:64px 0; }
	.lp-final .lp-container { display:grid; grid-template-columns:1fr auto; column-gap:55px; align-items:center; }
	.lp-final__title { text-align:left; font-size:28px; margin:0; }
	.lp-final .lp-cta { margin:0; }
}
