/* ============================================================
   RimTown 官網首頁(v9.29.0 重新設計)。只有 index.html 載入。
   調性:黃昏的小鎮。深茄紫底、米白字、琥珀色重點;標題用襯線,內文用黑體。
   斷點:860px 以下改單欄(手機/直式平板)。
   ============================================================ */
.landing {
    --lp-bg: #13111f; --lp-bg2: #191628; --lp-card: #201c33; --lp-card2: #272240;
    --lp-line: rgba(244, 236, 223, 0.11); --lp-line2: rgba(244, 236, 223, 0.22);
    --lp-ink: #f4ecdf; --lp-ink2: #cfc6d6; --lp-ink3: #a299b2;
    --lp-accent: #f2a65a; --lp-accent2: #e8674a; --lp-gold: #f7c948; --lp-ok: #8fd3a0;
    --lp-serif: 'Noto Serif TC', 'Songti TC', 'Source Han Serif TC', 'PMingLiU', Georgia, serif;
    --lp-sans: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', system-ui, -apple-system, sans-serif;
    --lp-w: 1160px; --lp-pad: clamp(18px, 4vw, 40px); --lp-gap: clamp(76px, 11vw, 140px); --lp-nav: 64px;
    background: var(--lp-bg); color: var(--lp-ink); font-family: var(--lp-sans); scroll-padding-top: 76px;
}
.lp { position: relative; line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased;
    /* 「村民的大腦」「更新紀錄」沿用舊樣式,把舊色票對到新的 */
    --bg-primary: var(--lp-bg); --bg-secondary: var(--lp-card); --bg-card: var(--lp-card2); --border: var(--lp-line); --text-primary: var(--lp-ink); --text-secondary: var(--lp-ink2); --text-muted: var(--lp-ink3); --accent: var(--lp-accent); --warning: var(--lp-accent); }
:where(.lp) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote) { margin: 0; padding: 0; }
:where(.lp) :where(ul, ol) { list-style: none; }
.lp a { color: inherit; }
.lp button { font-family: inherit; }
.lp-ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.25em; }
.landing-inner { max-width: var(--lp-w); margin: 0 auto; padding: 0 var(--lp-pad); }
.lp :focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; border-radius: 6px; }
.lp-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; color: var(--lp-accent); text-transform: uppercase; }
.lp-note { color: var(--lp-ink3); font-size: 0.86rem; margin-top: 14px; max-width: 60em; }
.lp-sub-h { font-family: var(--lp-serif); font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.4rem); margin: clamp(40px, 5vw, 64px) 0 18px; }

/* 捲到才淡入 */
.lp-rv { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lp-rv.in { opacity: 1; transform: none; }

/* ---------- 上方選單 ---------- */
.lp-top { position: sticky; top: 0; z-index: 40; height: var(--lp-nav); display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px); padding: 0 max(var(--lp-pad), calc((100% - var(--lp-w)) / 2 + var(--lp-pad))); transition: background-color 0.25s ease, border-color 0.25s ease; border-bottom: 1px solid transparent; }
.lp-top.solid { background: rgba(19, 17, 31, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--lp-line); }
.lp-brand { font-family: var(--lp-serif); font-weight: 900; font-size: 1.25rem; text-decoration: none; display: inline-flex; align-items: baseline; gap: 8px; letter-spacing: 0.04em; min-height: 44px; align-items: center; }
.lp-brand span { font-family: var(--lp-sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; color: var(--lp-accent); }
.lp-top-links { display: flex; gap: 4px; margin-left: auto; }
.lp-top-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--lp-ink2); font-size: 0.92rem; border-radius: 8px; transition: color 0.16s ease, background-color 0.16s ease; }
.lp-top-links a:hover { color: var(--lp-ink); background: rgba(244, 236, 223, 0.07); }
.landing-lang { display: inline-flex; border: 1px solid var(--lp-line2); border-radius: 999px; overflow: hidden; }
.landing-lang button { background: none; border: 0; color: var(--lp-ink2); min-height: 36px; padding: 0 13px; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.landing-lang button.active { background: var(--lp-ink); color: var(--lp-bg); }
.lp-top-cta { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--lp-accent); color: #1c1422; font-weight: 800; font-size: 0.9rem; cursor: pointer; transition: filter 0.16s ease, transform 0.12s ease; }
.lp-top-cta:hover { filter: brightness(1.08); } .lp-top-cta:active { transform: scale(0.97); }
.lp-brand, .landing-lang button, .lp-top-cta { white-space: nowrap; }
.landing-lang, .lp-top-cta { flex-shrink: 0; }


/* ---------- 首屏 ---------- */
.lp-hero { position: relative; margin-top: calc(var(--lp-nav) * -1); padding-top: var(--lp-nav); min-height: min(100svh, 920px); display: flex; align-items: center; overflow: hidden; isolation: isolate;
    background: radial-gradient(70% 46% at 70% 86%, rgba(242, 166, 90, 0.26), rgba(242, 166, 90, 0) 70%), radial-gradient(120% 90% at 72% -10%, #40336a 0%, #2a2249 36%, #17142a 72%, var(--lp-bg) 100%); }
.lp-stage { position: absolute; inset: 0; z-index: 0; --lp-shift: 0.215; --lp-lift: 0.07; }
.lp-stage-canvas, .lp-scale-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.9s ease; }
.lp-stage-live .lp-stage-canvas, .lp-stage-live .lp-scale-canvas { opacity: 1; }
.lp-stage-ph { position: absolute; inset: 0; }
.lp-stage-fallback { display: flex; align-items: center; justify-content: flex-end; padding: 96px var(--lp-pad) 40px; }
.lp-stage-fallback img { width: min(56%, 720px); height: auto; border-radius: 16px; border: 1px solid var(--lp-line2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lp-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(19, 17, 31, 0.94) 0%, rgba(19, 17, 31, 0.86) 30%, rgba(19, 17, 31, 0.58) 44%, rgba(19, 17, 31, 0) 60%), linear-gradient(0deg, var(--lp-bg) 0%, rgba(19, 17, 31, 0) 20%); }
.lp-hero-in { position: relative; z-index: 2; width: 100%; pointer-events: none; padding-top: 24px; padding-bottom: 72px; }
.lp-hero-copy { max-width: 580px; pointer-events: auto; }
.lp-title { font-family: var(--lp-serif); font-weight: 900; font-size: clamp(2.2rem, 4.5vw, 3.9rem); line-height: 1.2; letter-spacing: 0.01em; margin-top: 18px; text-wrap: balance; }
.lp-en .lp-title { font-size: clamp(2rem, 3.7vw, 3.2rem); }
.lp-en .lp-hero-copy { max-width: 640px; }
.lp-tagline { margin-top: 22px; font-size: clamp(1rem, 1.22vw, 1.14rem); line-height: 1.9; color: var(--lp-ink2); max-width: 29em; }
.landing-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.landing-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 14px; border: 1px solid transparent; font-size: 1.02rem; font-weight: 800; cursor: pointer; transition: filter 0.16s ease, transform 0.12s ease, background-color 0.16s ease; flex-direction: column; line-height: 1.2; }
.landing-btn .lp-ic { transition: transform 0.2s ease; }
.landing-btn.primary { background: var(--lp-accent); color: #1c1422; box-shadow: 0 10px 30px rgba(242, 166, 90, 0.28); flex-direction: row; }
.landing-btn.primary:hover:not([disabled]) { filter: brightness(1.07); } .landing-btn.primary:hover .lp-ic { transform: translateX(3px); }
.landing-btn.secondary { background: rgba(244, 236, 223, 0.06); color: var(--lp-ink); border-color: var(--lp-line2); }
.landing-btn.secondary:hover { background: rgba(244, 236, 223, 0.12); }
.landing-btn:active:not([disabled]) { transform: scale(0.98); }
.landing-btn[disabled] { opacity: 0.6; cursor: wait; }
.landing-btn#landing-continue { flex-direction: column; }
.landing-continue-sub { display: block; font-size: 0.75rem; font-weight: 500; opacity: 0.85; margin-top: 3px; }
.lp-badges { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--lp-ink2); font-size: 0.88rem; }
.lp-badges li { display: inline-flex; align-items: center; gap: 7px; } .lp-badges .lp-ic { color: var(--lp-ink3); }
.landing-version { margin-top: 16px; color: var(--lp-ink3); font-size: 0.78rem; }
.lp-hero-note { position: absolute; z-index: 2; right: max(var(--lp-pad), calc((100% - var(--lp-w)) / 2 + var(--lp-pad))); bottom: 26px; width: min(340px, 34vw); color: var(--lp-ink3); font-size: 0.76rem; line-height: 1.5; }
/* 決定卡:一張卡分五拍亮起來(處境 → 選項 → 選了哪個 → 理由 → 結果) */
.lp-dc { position: absolute; z-index: 3; right: max(var(--lp-pad), calc((100% - var(--lp-w)) / 2 + var(--lp-pad))); bottom: 92px; width: min(340px, 34vw); padding: 16px 18px 14px; border-radius: 18px; background: rgba(27, 23, 44, 0.84); border: 1px solid var(--lp-line2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; font-size: 0.9rem; line-height: 1.6; pointer-events: none; }
.lp-dc.on { opacity: 1; transform: none; }
.lp-dc-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.lp-dc-name { font-family: var(--lp-serif); font-size: 1.12rem; font-weight: 900; }
.lp-dc-job { color: var(--lp-ink3); font-size: 0.8rem; }
.lp-dc-kind { margin-left: auto; font-size: 0.75rem; font-weight: 700; color: var(--lp-accent); border: 1px solid rgba(242, 166, 90, 0.45); border-radius: 999px; padding: 1px 10px; }
.lp-dc-sit { margin-top: 8px !important; color: var(--lp-ink2); }
.lp-dc-opts { display: grid; gap: 6px; margin-top: 12px !important; }
.lp-dc-opts li { padding: 7px 12px; border-radius: 10px; border: 1px solid var(--lp-line); color: var(--lp-ink2); opacity: 0; transform: translateX(-6px); transition: opacity 0.35s ease calc(var(--i) * 0.16s), transform 0.35s ease calc(var(--i) * 0.16s), border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease; }
.lp-dc-why, .lp-dc-res { opacity: 0; max-height: 0; overflow: hidden; margin-top: 0 !important; transition: opacity 0.5s ease, max-height 0.5s ease, margin-top 0.5s ease; }
.lp-dc-why { font-family: var(--lp-serif); font-size: 1rem; line-height: 1.7; color: var(--lp-ink); }
.lp-dc-res { color: var(--lp-ok); font-size: 0.86rem; }
.lp-dc.p2 .lp-dc-opts li, .lp-dc.p3 .lp-dc-opts li, .lp-dc.p4 .lp-dc-opts li, .lp-dc.p5 .lp-dc-opts li { opacity: 1; transform: none; }
.lp-dc.p3 .lp-dc-opts li:not(.pick), .lp-dc.p4 .lp-dc-opts li:not(.pick), .lp-dc.p5 .lp-dc-opts li:not(.pick) { opacity: 0.42; }
.lp-dc.p3 .lp-dc-opts li.pick, .lp-dc.p4 .lp-dc-opts li.pick, .lp-dc.p5 .lp-dc-opts li.pick { border-color: var(--lp-accent); background: rgba(242, 166, 90, 0.16); color: var(--lp-ink); }
.lp-dc.p4 .lp-dc-why, .lp-dc.p5 .lp-dc-why { opacity: 1; max-height: 9em; margin-top: 12px !important; }
.lp-dc.p5 .lp-dc-res { opacity: 1; max-height: 6em; margin-top: 8px !important; }
.lp-dc.is-static { transition: none; }
.lp-tag { position: absolute; z-index: 2; left: 0; top: 0; padding: 2px 10px; border-radius: 999px; background: var(--lp-accent); color: #1c1422; font-size: 0.78rem; font-weight: 800; white-space: nowrap; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; will-change: transform; }
.lp-tag.on { opacity: 1; }
.lp-tag::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.lp-dc-dots { position: absolute; z-index: 3; right: max(var(--lp-pad), calc((100% - var(--lp-w)) / 2 + var(--lp-pad))); bottom: 72px; width: min(340px, 34vw); display: flex; gap: 6px; }
.lp-dc-dots i { flex: 1; height: 3px; border-radius: 2px; background: rgba(244, 236, 223, 0.18); transition: background-color 0.3s ease; }
.lp-dc-dots i.on { background: var(--lp-accent); }

/* ---------- 一般段落 ---------- */
.lp-sec { padding-top: var(--lp-gap); }
.lp-sec-head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 48px); }
.lp-sec-head h2, .lp-ch-head h2, .lp-scale-top h2, .lp-final h2 { font-family: var(--lp-serif); font-weight: 900; font-size: clamp(1.7rem, 3.1vw, 2.7rem); line-height: 1.28; margin-top: 12px; text-wrap: balance; }
.lp-sec-lead { margin-top: 16px !important; color: var(--lp-ink2); font-size: 1.04rem; line-height: 1.9; }

/* 規模數字 */
.lp-stats { display: grid; grid-template-columns: 1.6fr repeat(6, 1fr); border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); margin-top: clamp(28px, 4vw, 48px); }
.lp-stats li { padding: 22px 14px 20px; border-left: 1px solid var(--lp-line); display: flex; flex-direction: column; gap: 2px; }
.lp-stats li:first-child { border-left: 0; padding-left: 0; }
.lp-stats b { font-family: var(--lp-serif); font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 900; line-height: 1.1; color: var(--lp-ink); }
.lp-stats li:first-child b { color: var(--lp-accent); }
.lp-stats span { color: var(--lp-ink3); font-size: 0.84rem; }

/* 三個重點 */
.lp-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.lp-pillar { padding: 4px clamp(18px, 2.6vw, 36px) 4px 0; }
.lp-pillar + .lp-pillar { border-left: 1px solid var(--lp-line); padding-left: clamp(18px, 2.6vw, 36px); }
.lp-pillar-ic { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; align-items: center; justify-content: center; background: rgba(242, 166, 90, 0.13); color: var(--lp-accent); font-size: 1.15rem; }
.lp-pillar h3 { font-family: var(--lp-serif); font-size: 1.28rem; font-weight: 700; margin-top: 18px; }
.lp-pillar p { color: var(--lp-ink2); margin-top: 10px; font-size: 0.98rem; line-height: 1.85; }

/* 一個決定是怎麼來的 */
.lp-flow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.lp-steps { display: grid; gap: 4px; position: relative; }
.lp-step { position: relative; padding: 4px 0 14px 60px; opacity: 0.62; transition: opacity 0.3s ease; }
.lp-step::before { content: ''; position: absolute; left: 19px; top: 44px; bottom: -4px; width: 2px; background: var(--lp-line); }
.lp-step:last-child::before { display: none; }
.lp-step.on, .lp-step.done, .lp-flow.all .lp-step { opacity: 1; }
.lp-step-btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; }
.lp-step-num { position: absolute; left: 0; top: 4px; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--lp-serif); font-weight: 900; border: 2px solid var(--lp-line2); color: var(--lp-ink2); background: var(--lp-bg); transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease; }
.lp-step.on .lp-step-num { border-color: var(--lp-accent); background: var(--lp-accent); color: #1c1422; }
.lp-step.done .lp-step-num { border-color: var(--lp-accent); color: var(--lp-accent); }
.lp-step-ic { color: var(--lp-accent); display: inline-flex; }
.lp-step h3 { font-size: 1.1rem; font-weight: 700; }
.lp-step p { color: var(--lp-ink2); font-size: 0.94rem; line-height: 1.8; margin-top: 2px; }
.lp-rec { position: sticky; top: 92px; transition: transform 0.35s ease; border-radius: 20px; background: linear-gradient(180deg, var(--lp-card2), var(--lp-card)); border: 1px solid var(--lp-line2); padding: 8px 22px 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.lp-rec-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0 12px; border-bottom: 1px solid var(--lp-line); }
.lp-rec-top span { font-size: 0.75rem; letter-spacing: 0.14em; color: var(--lp-accent); font-weight: 700; }
.lp-rec-top b { font-family: var(--lp-serif); font-size: 1.05rem; }
.lp-rec-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px 10px; margin: 0 -10px; border-radius: 12px; background: linear-gradient(var(--lp-line), var(--lp-line)) no-repeat 10px 100% / calc(100% - 20px) 1px; transition: background-color 0.45s ease; }
.lp-rec-row:last-child { background-image: none; }
.lp-en .lp-rec-row { grid-template-columns: 156px minmax(0, 1fr); }
.lp-rec-row.on { background-color: rgba(242, 166, 90, 0.08); }
.lp-flow.all .lp-rec-row.on { background-color: transparent; }
.lp-rec-k { display: flex; align-items: flex-start; gap: 8px; min-width: 0; font-size: 0.86rem; font-weight: 700; color: var(--lp-ink3); transition: color 0.3s ease; }
.lp-rec-k i { font-style: normal; width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; margin-top: 2px; }
.lp-rec-row.on .lp-rec-k { color: var(--lp-accent); }
.lp-rec-v { font-size: 0.94rem; line-height: 1.75; color: var(--lp-ink2); display: grid; gap: 8px; }
.lp-rec-v b { color: var(--lp-ink); }
.lp-rec-opts { display: grid; gap: 6px; }
.lp-rec-opts li { padding: 6px 12px; border-radius: 10px; border: 1px solid var(--lp-line); font-size: 0.9rem; display: flex; gap: 8px; align-items: center; }
.lp-rec-opts li.pick { border-color: var(--lp-accent); background: rgba(242, 166, 90, 0.14); color: var(--lp-ink); }
.lp-rec-opts .lp-ic { color: var(--lp-accent); }
.lp-rec blockquote { font-family: var(--lp-serif); color: var(--lp-ink); font-size: 1.02rem; line-height: 1.75; border-left: 2px solid var(--lp-accent); padding-left: 14px; }
.lp-rec cite { display: block; font-family: var(--lp-sans); font-style: normal; font-size: 0.78rem; color: var(--lp-ink3); margin-top: 2px; }
.lp-rec-move { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.9rem; }
.lp-rec-move span { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--lp-line2); color: var(--lp-ink); }
.lp-rec-move b { color: var(--lp-gold) !important; } .lp-rec-move i { color: var(--lp-ink3); display: inline-flex; font-size: 0.8rem; }
.lp-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(36px, 5vw, 60px); }
.lp-ba > div { padding: 20px 22px; border-radius: 16px; border: 1px dashed var(--lp-line2); }
.lp-ba b { font-size: 0.82rem; letter-spacing: 0.06em; color: var(--lp-ink3); }
.lp-ba p { font-family: var(--lp-serif); font-size: 1.06rem; line-height: 1.8; margin-top: 8px; color: var(--lp-ink3); }
.lp-ba .now { border: 1px solid rgba(242, 166, 90, 0.55); background: rgba(242, 166, 90, 0.07); }
.lp-ba .now b { color: var(--lp-accent); } .lp-ba .now p { color: var(--lp-ink); }
.lp-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-picks li { padding: 20px 22px; border-radius: 16px; background: var(--lp-card); border: 1px solid var(--lp-line); }
.lp-picks .who { font-size: 0.82rem; color: var(--lp-accent); font-weight: 700; }
.lp-picks h4 { font-size: 1.08rem; margin-top: 6px; }
.lp-picks p { font-family: var(--lp-serif); color: var(--lp-ink2); margin-top: 8px; line-height: 1.75; }

/* 自己決定的 75 種事 */
.lp-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-kind { padding: 22px 24px; border-radius: 18px; background: var(--lp-card); border: 1px solid var(--lp-line); }
.lp-kind-head { display: flex; align-items: center; gap: 12px; }
.lp-kind-ic { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; align-items: center; justify-content: center; background: rgba(242, 166, 90, 0.13); color: var(--lp-accent); }
.lp-kind h3 { font-family: var(--lp-serif); font-size: 1.2rem; font-weight: 700; }
.lp-kind-n { margin-left: auto; font-size: 0.82rem; color: var(--lp-ink3); font-weight: 700; white-space: nowrap; }
.lp-kind > p { color: var(--lp-ink2); font-size: 0.94rem; line-height: 1.8; margin-top: 12px; }
.lp-kind-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px !important; }
.lp-kind-tags li { font-size: 0.8rem; line-height: 1.5; padding: 3px 10px; border-radius: 8px; background: rgba(244, 236, 223, 0.06); color: var(--lp-ink2); border: 1px solid var(--lp-line); }

/* AI 接得上與接不上 */
.lp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-two-col { padding: 24px 26px; border-radius: 18px; background: var(--lp-card); border: 1px solid var(--lp-line); border-top: 3px solid var(--lp-line2); }
.lp-two-col.on { border-top-color: var(--lp-accent); }
.lp-two-col h3 { font-family: var(--lp-serif); font-size: 1.22rem; font-weight: 700; }
.lp-two-col ul { display: grid; gap: 10px; margin-top: 14px !important; }
.lp-two-col li { position: relative; padding-left: 18px; color: var(--lp-ink2); font-size: 0.96rem; line-height: 1.8; }
.lp-two-col li::before { content: ''; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--lp-ink3); }
.lp-two-col.on li::before { background: var(--lp-accent); }
.lp-rule { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px !important; padding: 18px 22px; border-radius: 16px; border: 1px solid rgba(242, 166, 90, 0.4); background: rgba(242, 166, 90, 0.06); color: var(--lp-ink); line-height: 1.85; }
.lp-rule .lp-ic { color: var(--lp-accent); margin-top: 4px; font-size: 1.1rem; }
.lp-proof { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }
.lp-proof li { padding: 22px 20px; border-left: 1px solid var(--lp-line); } .lp-proof li:first-child { border-left: 0; padding-left: 0; }
.lp-proof b { display: block; font-family: var(--lp-serif); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 900; line-height: 1.1; color: var(--lp-accent); }
.lp-proof span { color: var(--lp-ink2); font-size: 0.92rem; }
.lp-points { display: grid; gap: 14px; }
.lp-points > div { padding-left: 16px; border-left: 2px solid var(--c, var(--lp-accent)); }
.lp-points dt { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.lp-points dt .lp-ic { color: var(--c, var(--lp-accent)); }
.lp-points dd { color: var(--lp-ink2); font-size: 0.95rem; line-height: 1.8; margin-top: 3px; }
.lp-points-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* 一件事怎麼牽動整個鎮 */
.lp-chain { position: relative; display: grid; gap: 0; max-width: 820px; counter-reset: ch; }
.lp-chain li { position: relative; padding: 0 0 26px 56px; counter-increment: ch; display: grid; gap: 6px; transition-delay: calc(var(--i) * 0.06s); }
.lp-chain li::before { content: counter(ch); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--lp-serif); font-weight: 900; background: var(--lp-bg); border: 2px solid var(--c); color: var(--c); }
.lp-chain li::after { content: ''; position: absolute; left: 17px; top: 40px; bottom: 2px; width: 2px; background: var(--lp-line); }
.lp-chain li:last-child { padding-bottom: 0; } .lp-chain li:last-child::after { display: none; }
.lp-chain-tag { justify-self: start; display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; text-decoration: none; color: var(--c) !important; border: 1px solid var(--c); transition: background-color 0.16s ease; }
.lp-chain-tag:hover { background: rgba(244, 236, 223, 0.08); }
.lp-chain li > span { font-size: 1.06rem; line-height: 1.8; }

/* ---------- 從一個人到整個世界 ---------- */
.lp-scale { position: relative; margin-top: var(--lp-gap); background: #17152b; }
.lp-scale-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: linear-gradient(180deg, #221d42 0%, #1a1830 46%, #17152b 100%); }
.lp-scale-stage { position: absolute; inset: 0; --lp-lift: 0; --lp-shift: 0.15; }
.lp-scale-pin::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(23, 21, 43, 0.86) 0%, rgba(23, 21, 43, 0.4) 34%, rgba(23, 21, 43, 0) 60%), linear-gradient(180deg, rgba(23, 21, 43, 0.75) 0%, rgba(23, 21, 43, 0) 26%); }
.lp-scale-top { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--lp-nav) + 26px); }
.lp-scale-top h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.lp-scale-dots { position: absolute; z-index: 3; right: var(--lp-pad); top: 50%; transform: translateY(-50%); display: grid; gap: 4px; }
.lp-scale-dots button { display: flex; align-items: center; gap: 10px; justify-content: flex-end; min-height: 40px; min-width: 44px; padding: 0 12px; border: 0; background: none; color: var(--lp-ink3); cursor: pointer; font-size: 0.86rem; border-radius: 999px; transition: color 0.2s ease, background-color 0.2s ease; flex-direction: row-reverse; }
.lp-scale-dots b { font-family: var(--lp-serif); font-weight: 900; width: 28px; height: 28px; border-radius: 50%; border: 1px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; }
.lp-scale-dots button.on { color: var(--c); background: rgba(23, 21, 43, 0.6); } .lp-scale-dots button.on b { background: var(--c); color: #17152b; border-color: var(--c); }
.lp-scale-dots button:hover { color: var(--lp-ink); }
.lp-scale-steps { position: relative; z-index: 2; margin-top: -100svh !important; pointer-events: none; }
.lp-scale-step { min-height: 100svh; display: flex; align-items: center; padding: 0 var(--lp-pad); }
.lp-scale-card { pointer-events: auto; width: min(430px, 100%); margin-left: max(0px, calc((100% - var(--lp-w)) / 2 + var(--lp-pad))); padding: 24px 26px; border-radius: 20px; background: rgba(27, 23, 44, 0.84); border: 1px solid var(--lp-line2); border-left: 3px solid var(--c); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0.25; transform: translateY(12px); transition: opacity 0.45s ease, transform 0.45s ease; }
.lp-scale-step.on .lp-scale-card { opacity: 1; transform: none; }
.lp-scale-num { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--c); }
.lp-scale-card h3 { font-family: var(--lp-serif); font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 900; line-height: 1.35; margin-top: 8px; }
.lp-scale-card p { color: var(--lp-ink2); font-size: 0.97rem; line-height: 1.85; margin-top: 10px; }
.lp-scale-card a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 8px; color: var(--c); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.lp-scale-card a:hover { text-decoration: underline; }
/* 偏好減少動態:不釘住畫面,七張卡照順序排 */
.lp-scale.is-static .lp-scale-pin { position: relative; height: min(60svh, 520px); }
.lp-scale.is-static .lp-scale-dots { display: none; }
.lp-scale.is-static .lp-scale-steps { margin-top: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; padding: 24px var(--lp-pad) 8px; max-width: var(--lp-w); margin-left: auto; margin-right: auto; }
.lp-scale.is-static .lp-scale-step { min-height: 0; padding: 0; } .lp-scale.is-static .lp-scale-card { opacity: 1; transform: none; margin-left: 0; width: 100%; height: 100%; }

/* ---------- 七章細節 ---------- */
.lp-chnav { position: sticky; top: var(--lp-nav); z-index: 30; background: rgba(19, 17, 31, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }
.lp-chnav-in { max-width: var(--lp-w); margin: 0 auto; padding: 0 var(--lp-pad); display: flex; align-items: center; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.lp-chnav-in::-webkit-scrollbar { display: none; }
.lp-chnav-k { flex: none; font-size: 0.8rem; color: var(--lp-ink3); font-weight: 700; }
.lp-chnav ol { display: flex; gap: 2px; }
.lp-chnav a { display: inline-flex; align-items: center; gap: 7px; min-height: 48px; padding: 0 12px; text-decoration: none; color: var(--lp-ink2); font-size: 0.9rem; white-space: nowrap; border-bottom: 2px solid transparent; transition: color 0.16s ease, border-color 0.16s ease; }
.lp-chnav a b { font-family: var(--lp-serif); font-weight: 900; color: var(--c); font-size: 0.82rem; }
.lp-chnav a:hover, .lp-chnav a.on { color: var(--lp-ink); } .lp-chnav a.on { border-bottom-color: var(--c); }
.lp-chapter { border-bottom: 1px solid var(--lp-line); padding: clamp(60px, 7vw, 96px) 0; }
.lp-ch-in { max-width: var(--lp-w); margin: 0 auto; padding: 0 var(--lp-pad); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.lp-ch-head { position: sticky; top: 140px; }
.lp-ch-head .lp-kicker { color: var(--c); }
.lp-ch-num { font-family: var(--lp-serif); font-size: 1.5rem; font-weight: 900; letter-spacing: 0; }
.lp-ch-head h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.lp-ch-lead { color: var(--lp-ink2); margin-top: 16px !important; line-height: 1.9; }
.lp-topics { border-top: 1px solid var(--lp-line); }
.lp-topic { border-bottom: 1px solid var(--lp-line); scroll-margin-top: 124px; }
.lp-topic summary { display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 16px; align-items: start; padding: 20px 0; cursor: pointer; list-style: none; }
.lp-topic summary::-webkit-details-marker { display: none; }
.lp-topic-ic { width: 44px; height: 44px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.lp-topic-t { display: grid; gap: 3px; }
.lp-topic-k { font-size: 0.8rem; font-weight: 700; color: var(--c); display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0.04em; }
.lp-topic-h { font-family: var(--lp-serif); font-size: 1.2rem; font-weight: 700; line-height: 1.45; }
.lp-topic-sum { color: var(--lp-ink2); font-size: 0.95rem; line-height: 1.8; }
.lp-topic-go { color: var(--lp-ink3); margin-top: 10px; transition: transform 0.25s ease; display: inline-flex; }
.lp-topic[open] .lp-topic-go { transform: rotate(180deg); }
.lp-topic summary:hover .lp-topic-h { color: var(--c); }
.lp-topic-body { padding: 0 0 26px 60px; display: grid; gap: 18px; }
.lp-band-lead { color: var(--lp-ink2); line-height: 1.9; }
.lp-scene { border-radius: 14px; background: var(--lp-card); border: 1px solid var(--lp-line); padding: 16px 18px; }
.lp-scene-head { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: var(--lp-ink3); margin-bottom: 10px; }
.lp-log { display: grid; gap: 8px; }
.lp-log li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; font-size: 0.93rem; line-height: 1.7; color: var(--lp-ink2); }
.lp-log time { font-variant-numeric: tabular-nums; color: var(--c, var(--lp-accent)); font-weight: 700; }
.lp-ch-tiers { margin-top: 28px; }
.lp-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lp-tiers li { padding: 16px; border-radius: 14px; background: var(--lp-card); border: 1px solid var(--lp-line); display: grid; gap: 8px; align-content: start; }
.lp-tier-ic { color: var(--c); display: inline-flex; font-size: 1.2rem; }
.lp-tiers h3 { font-family: var(--lp-serif); font-size: 1.08rem; }
.lp-tier-reqs { display: flex; flex-wrap: wrap; gap: 4px; }
.lp-tier-req { font-size: 0.75rem; white-space: nowrap; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--lp-line2); color: var(--lp-ink2); }
.lp-tiers p { color: var(--lp-ink2); font-size: 0.88rem; line-height: 1.7; }
.lp-ch-bridge { margin-top: 28px !important; }
.lp-ch-bridge a, .lp-ch-bridge.is-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; text-decoration: none; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--lp-line); transition: border-color 0.16s ease, background-color 0.16s ease; }
.lp-ch-bridge a:hover { border-color: var(--c); background: rgba(244, 236, 223, 0.04); }
.lp-ch-bridge-txt { font-family: var(--lp-serif); font-size: 1.05rem; }
.lp-ch-bridge-go { display: inline-flex; align-items: center; gap: 6px; color: var(--c); font-weight: 700; font-size: 0.88rem; }

/* ---------- 常見問題、更新紀錄、路線圖、結尾 ---------- */
.lp-faq { border-top: 1px solid var(--lp-line); max-width: 860px; }
.lp-faq details { border-bottom: 1px solid var(--lp-line); }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 8px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.04rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .lp-ic { color: var(--lp-ink3); transition: transform 0.25s ease; } .lp-faq details[open] summary .lp-ic { transform: rotate(180deg); }
.lp-faq p { color: var(--lp-ink2); padding: 0 40px 20px 0; line-height: 1.9; }
.lp-rm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.lp-rm-col { padding: 22px 24px; border-radius: 18px; background: var(--lp-card); border: 1px solid var(--lp-line); display: grid; gap: 16px; }
.lp-rm-h { display: flex; align-items: center; gap: 10px; font-family: var(--lp-serif); font-weight: 700; font-size: 1.12rem; }
.lp-rm-h small { margin-left: auto; font-family: var(--lp-sans); font-weight: 400; font-size: 0.78rem; color: var(--lp-ink3); }
.lp-rm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lp-ok); }
.lp-rm-next .lp-rm-dot { background: var(--lp-accent); } .lp-rm-idea .lp-rm-dot { background: var(--lp-ink3); }
.lp-rm-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
.lp-rm-item > div:only-child { grid-column: 1 / -1; }
.lp-rm-ver { font-size: 0.76rem; font-weight: 700; color: var(--lp-ok); border: 1px solid currentColor; border-radius: 999px; padding: 0 8px; height: 22px; display: inline-flex; align-items: center; margin-top: 3px; }
.lp-rm-item b { font-weight: 700; } .lp-rm-item p { color: var(--lp-ink2); font-size: 0.9rem; line-height: 1.75; margin-top: 4px; }
.lp-rm-more { color: var(--lp-ink3) !important; font-size: 0.86rem; min-height: 44px; display: inline-flex; align-items: center; }
.lp-rm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-rm-pills span { font-size: 0.86rem; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--lp-line2); color: var(--lp-ink2); }
.lp-final { margin-top: var(--lp-gap); padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px); border-radius: 28px; text-align: center; border: 1px solid var(--lp-line2); background: radial-gradient(80% 120% at 50% 110%, rgba(242, 166, 90, 0.24), rgba(242, 166, 90, 0) 70%), linear-gradient(180deg, #2a2249, #1d1934); }
.lp-final p { color: var(--lp-ink2); margin-top: 14px; }
.lp-final .landing-cta { justify-content: center; }
.landing-footer { text-align: center; color: var(--lp-ink3); font-size: 0.82rem; padding: 40px 0 56px; }
.landing-brain { padding-top: var(--lp-gap); }
.lp .landing-log ul, .lp .landing-list { list-style: disc; padding-left: 4px; }
.lp .landing-log { border-radius: 18px; padding: 8px 22px; }
.lp .landing-more { min-height: 44px; border-radius: 12px; color: var(--lp-ink2); }
.lp .landing-more:hover { color: var(--lp-ink); border-color: var(--lp-line2); }
.landing-fold > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding: 22px 26px; border-radius: 18px; border: 1px solid var(--lp-line2); background: var(--lp-card); }
.landing-fold > summary::-webkit-details-marker { display: none; }
.landing-fold > summary h2 { font-family: var(--lp-serif); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 900; }
.landing-fold-hint { color: var(--lp-accent); font-size: 0.88rem; font-weight: 700; }
.landing-fold[open] > summary { margin-bottom: 22px; }

/* ---------- 手機與直式平板 ---------- */
@media (max-width: 860px) {
    .lp-top-links, .lp-brand span { display: none; }
    .landing-lang { margin-left: auto; }
    .lp-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
    .lp-hero::before { display: none; }
    /* 手機:標題 → 3D 小鎮 → 說明與按鈕(右上角的註冊鈕一直都在) */
    .lp-hero-in, .lp-hero-copy { display: contents; }
    .lp-hero-copy > * { padding-left: var(--lp-pad); padding-right: var(--lp-pad); pointer-events: auto; }
    .lp-hero .lp-kicker { order: 1; margin-top: 18px; } .lp-title { order: 2; font-size: clamp(1.9rem, 9vw, 2.6rem); margin-top: 10px; }
    .lp-stage { order: 3; position: relative; inset: auto; margin-top: 6px; --lp-shift: 0; --lp-lift: 0.03; }
    .lp-stage-canvas { position: relative; inset: auto; height: min(46svh, 400px); }
    .lp-stage-ph { position: relative; inset: auto; padding-top: min(46svh, 400px); }
    .lp-hero-note { order: 4; position: static; width: auto; padding: 8px var(--lp-pad) 0; }
    .lp-tagline { order: 5; margin-top: 14px; } .lp-hero .landing-cta { order: 6; margin-top: 22px; } .lp-badges { order: 7; margin-top: 20px; } .lp-hero .landing-version { order: 8; padding-bottom: 8px; }
    .lp-en .lp-title br { display: none; }
    .landing-cta .landing-btn { flex: 1 1 140px; }
    .lp-dc { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -34px 12px 0; min-height: 268px; padding: 14px 16px 12px; font-size: 0.88rem; }
    .lp-dc-dots { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: 10px 12px 0; }
    .lp-dc-opts { gap: 5px; } .lp-dc-opts li { padding: 5px 10px; }
    .lp-stage-fallback { padding: 12px var(--lp-pad); justify-content: center; } .lp-stage-fallback img { width: 100%; }
    .lp-stats { grid-template-columns: repeat(3, 1fr); }
    .lp-stats li { padding: 16px 10px; } .lp-stats li:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--lp-line); }
    .lp-stats li:nth-child(2), .lp-stats li:nth-child(5) { border-left: 0; padding-left: 0; }
    .lp-stats li:nth-child(n+5) { border-top: 1px solid var(--lp-line); }
    .lp-pillars { grid-template-columns: 1fr; gap: 28px; } .lp-pillar + .lp-pillar { border-left: 0; padding-left: 0; border-top: 1px solid var(--lp-line); padding-top: 28px; }
    .lp-flow { grid-template-columns: 1fr; } .lp-rec { position: static; padding: 4px 16px 8px; }
    .lp-rec-row, .lp-en .lp-rec-row { grid-template-columns: 1fr; gap: 6px; }
    .lp-ba, .lp-picks, .lp-kinds, .lp-two, .lp-points-3, .lp-rm { grid-template-columns: 1fr; }
    .lp-proof { grid-template-columns: 1fr; } .lp-proof li { border-left: 0; padding-left: 0; border-top: 1px solid var(--lp-line); } .lp-proof li:first-child { border-top: 0; }
    .lp-scale-pin::after { background: linear-gradient(180deg, rgba(23, 21, 43, 0.8) 0%, rgba(23, 21, 43, 0) 24%, rgba(23, 21, 43, 0) 52%, rgba(23, 21, 43, 0.9) 100%); }
    .lp-scale-stage { --lp-lift: 0.16; --lp-shift: 0; }
    .lp-scale-dots { right: 0; left: 0; top: auto; bottom: 10px; transform: none; display: flex; justify-content: center; gap: 0; }
    .lp-scale-dots span { display: none; } .lp-scale-dots button { padding: 0 6px; min-width: 40px; justify-content: center; }
    .lp-scale-step { align-items: flex-end; padding-bottom: 64px; }
    .lp-scale-card { margin-left: 0; padding: 18px 20px; }
    .lp-ch-in { grid-template-columns: 1fr; } .lp-ch-head { position: static; }
    .lp-topic summary { grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 12px; } .lp-topic-ic { width: 40px; height: 40px; }
    .lp-topic-body { padding-left: 0; }
    .lp-tiers { grid-template-columns: 1fr 1fr; }
    .lp-faq p { padding-right: 0; }
}
@media (max-width: 420px) { .lp-top { gap: 10px; } .lp-top-cta { padding: 0 14px; } }
@media (max-width: 350px) { .lp-brand { font-size: 1.1rem; letter-spacing: 0.02em; } .landing-lang button { padding: 0 10px; } .lp-top-cta { padding: 0 12px; } }
@media (prefers-reduced-motion: reduce) {
    .lp-rv { opacity: 1; transform: none; transition: none; }
    .lp *, .lp *::before, .lp *::after { transition-duration: 0.01ms !important; animation: none !important; }
    .lp-dc-opts li { opacity: 1; transform: none; }
}

/* ---------- 沿用:村民的大腦、技術細節、更新紀錄 ---------- */
.landing-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.landing-card .ic { font-size: 1.8rem; }
.landing-card h3 { margin: 6px 0 4px; font-size: 1rem; }
.landing-card p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.55; margin: 0; }
.landing-log { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 10px; padding: 6px 16px; }
.landing-log-item { padding: 10px 0; border-bottom: 1px solid var(--border); }
.landing-log-item:last-child { border-bottom: none; }
.landing-log-item.extra { display: none; }
.landing-log.expanded .landing-log-item.extra { display: block; }
.landing-log-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.landing-log-head time { color: var(--text-muted); font-weight: 400; font-size: 0.78rem; }
.landing-log ul { margin: 6px 0 0 18px; padding: 0; color: var(--text-secondary); font-size: 0.85rem; line-height: 1.55; }
.landing-more { margin-top: 10px; background: none; border: 1px solid var(--border); color: var(--text-secondary); padding: 8px 14px; border-radius: 6px; cursor: pointer; }
.landing-brain-intro { color: var(--text-secondary); line-height: 1.6; margin: 0 0 14px; }
.landing-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; counter-reset: step; }
.landing-step { position: relative; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 10px; padding: 14px 12px 12px; }
.landing-step-no { position: absolute; top: -8px; left: 10px; background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.landing-step-ic { font-size: 1.6rem; }
.landing-step h3 { margin: 4px 0 4px; font-size: 0.95rem; }
.landing-step p { margin: 0; color: var(--text-secondary); font-size: 0.8rem; line-height: 1.5; }
.landing-howto .landing-step { padding: 16px 14px 14px; }
.landing-howto .landing-step-ic { font-size: 1.9rem; }
.landing-howto .landing-step h3 { font-size: 1.02rem; }
.landing-howto .landing-step p { font-size: 0.88rem; line-height: 1.6; }
.landing-ai .landing-card { border-left: 3px solid var(--accent); }
.landing-brain-grid { columns: 2; column-gap: 12px; margin-top: 14px; }
.landing-brain-grid > .landing-card { break-inside: avoid; page-break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 12px; box-sizing: border-box; }
@media (max-width: 700px) {
    .landing-brain-grid {columns: 1; }
}
.landing-brain-grid .landing-card h3 { margin-top: 0; }
.landing-brain-grid .landing-card p { margin: 6px 0; }
.landing-formula { font-family: monospace; background: var(--bg-primary); border: 1px dashed var(--border); border-radius: 6px; padding: 8px 10px; margin: 8px 0; font-size: 0.85rem; color: var(--warning); }
.landing-list { margin: 6px 0 0 18px; padding: 0; color: var(--text-secondary); font-size: 0.83rem; line-height: 1.55; }
.landing-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.landing-chip { display: inline-flex; flex-direction: column; background: var(--bg-primary); border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px; font-size: 0.8rem; line-height: 1.25; }
.landing-chip small { color: var(--text-muted); font-size: 0.66rem; }
.landing-chip.small { flex-direction: row; padding: 2px 8px; margin: 2px 2px 0 0; }
.landing-muted { color: var(--text-muted); font-size: 0.78rem; }
.landing-ladder { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin: 8px 0; }
.landing-ladder-row { display: flex; justify-content: space-between; padding: 6px 10px; font-size: 0.82rem; border-bottom: 1px solid var(--border); }
.landing-ladder-row:last-child { border-bottom: none; }
.landing-ladder-row span { color: var(--text-muted); font-family: monospace; }
.landing-table-wrap { overflow-x: auto; }
.landing-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.landing-table th, .landing-table td { padding: 4px 6px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
.landing-table th { color: var(--text-muted); font-weight: 600; }
.landing-table td.pos { color: #34d399; }
.landing-table td.neg { color: #f87171; }
.landing-demo { background: var(--bg-primary); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; margin-top: 10px; }
.landing-demo-title { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 6px; }
.landing-demo label { display: block; font-size: 0.78rem; margin: 4px 0; }
.landing-demo label span { color: var(--warning); font-family: monospace; margin-left: 4px; }
.landing-demo input[type=range] { width: 100%; accent-color: var(--accent); }
.landing-demo-score { font-size: 0.85rem; margin-top: 6px; }
.landing-demo-score b { font-family: monospace; color: var(--warning); }
.landing-brain-foot { margin-top: 12px; }
.landing-fold > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.landing-fold > summary::-webkit-details-marker { display: none; }
.landing-fold > summary h2 { margin: 0; }
.landing-fold-hint { color: var(--text-muted); font-size: 0.8rem; white-space: nowrap; }
.landing-fold-hint::after { content: ' ▾'; }
.landing-fold[open] > summary .landing-fold-hint::after { content: ' ▴'; }
.landing-fold[open] > summary { margin-bottom: 10px; }
.landing-tech { margin-top: 14px; border: 1px dashed var(--border); border-radius: 10px; background: var(--bg-secondary); }
.landing-tech > summary { cursor: pointer; padding: 12px 16px; font-weight: 600; color: var(--text-primary); list-style: none; }
.landing-tech > summary::-webkit-details-marker { display: none; }
.landing-tech > summary::after { content: '▾'; float: right; color: var(--text-muted); transition: transform .2s; }
.landing-tech[open] > summary::after { transform: rotate(180deg); }
.landing-tech-body { padding: 0 16px 16px; border-top: 1px solid var(--border); }
.landing-tech-body h4 { margin: 16px 0 6px; font-size: 0.95rem; }
.landing-tech-body .landing-list { font-size: 0.83rem; }
.landing-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 4px; }
.landing-flow-step { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; font-size: 0.8rem; }
.landing-flow-ico { font-size: 1rem; }
.landing-flow-arrow { color: var(--text-muted); }
.landing-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 6px 0; font-size: 0.83rem; }
.landing-dl dt { color: var(--warning); font-weight: 600; white-space: nowrap; }
.landing-dl dd { margin: 0; color: var(--text-secondary); line-height: 1.5; }
@media (max-width: 700px) {
    .landing-dl {grid-template-columns: 1fr; }
    .landing-dl dd {margin-bottom: 6px; }
}
.lp-ai .landing-card { background: var(--lp-card) !important; border: 1px solid var(--lp-line) !important; border-left: 3px solid var(--lp-accent) !important; border-radius: 16px !important; padding: 20px !important; }
.lp .landing-brain { margin-top: 72px; }
.lp .landing-log, .lp .landing-roadmap-col { background: var(--lp-card); border-color: var(--lp-line); border-radius: 14px; }

/* ============================================================
   v9.30.1 首頁精簡:七章細節收進側邊面板、75 種事改成分頁、各段減字
   ============================================================ */
.lp { --lp-gap: clamp(64px, 8vw, 108px); }
/* 七個尺度的卡片:一句話＋主題標籤(點了打開那一章的面板) */
.lp-scale-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lp-scale-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 13px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--lp-ink); font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer; transition: background-color 0.16s ease, border-color 0.16s ease; }
.lp-scale-chip .lp-ic { width: 1.05em; height: 1.05em; color: var(--c); vertical-align: 0; }
.lp-scale-chip:hover { background: color-mix(in srgb, var(--c) 24%, transparent); border-color: var(--c); }
.lp-scale-card .lp-scale-more { margin-top: 6px; }
/* 75 種事:十類分頁 */
.lp-kindtabs { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-kindtab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--lp-line); background: var(--lp-card); color: var(--lp-ink2); font: inherit; font-size: 0.94rem; font-weight: 700; cursor: pointer; transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease; }
.lp-kindtab .lp-ic { color: var(--lp-accent); }
.lp-kindtab b { font-weight: 700; font-size: 0.8rem; color: var(--lp-ink3); font-variant-numeric: tabular-nums; }
.lp-kindtab:hover { border-color: var(--lp-line2); color: var(--lp-ink); }
.lp-kindtab.on { border-color: var(--lp-accent); background: rgba(242, 166, 90, 0.14); color: var(--lp-ink); }
.lp-kindtab.on b { color: var(--lp-accent); }
.lp-kinds { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 12px !important; }
.lp-kind { display: none; }
.lp-kind.on { display: block; animation: lp-sheet-fade 0.25s ease; }
.lp-kind > p { margin-top: 0; }
.lp-kind-tags { gap: 8px; margin-top: 16px !important; }
.lp-kind-tags li { font-size: 0.92rem; padding: 6px 13px; border-radius: 10px; color: var(--lp-ink); }
.lp-ai .lp-proof { margin-top: 20px; }
/* 側邊面板:每一章的細節 */
.lp-lock { overflow: hidden !important; }
.lp-sheet { position: fixed; inset: 0; z-index: 80; }
.lp-sheet[hidden] { display: none; }
.lp-sheet-bg { position: absolute; inset: 0; background: rgba(10, 8, 20, 0.64); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: lp-sheet-fade 0.2s ease; }
.lp-sheet-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(780px, 94vw); overflow-y: auto; overscroll-behavior: contain; background: var(--lp-bg); border-left: 1px solid var(--lp-line2); box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5); animation: lp-sheet-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
.lp-sheet-panel:focus { outline: none; }
@keyframes lp-sheet-in { from { transform: translateX(36px); opacity: 0; } }
@keyframes lp-sheet-up { from { transform: translateY(36px); opacity: 0; } }
@keyframes lp-sheet-fade { from { opacity: 0; } }
.lp-sheet-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 4px; padding: 6px 10px 6px 0; background: rgba(19, 17, 31, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--lp-line); }
.lp-sheet .lp-chnav { position: static; flex: 1 1 auto; min-width: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; }
.lp-sheet .lp-chnav-in { max-width: none; padding: 0 14px; }
.lp-sheet .lp-chnav-k { display: none; }
.lp-sheet-x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--lp-line2); background: var(--lp-card2); color: var(--lp-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.16s ease; }
.lp-sheet-x:hover { background: rgba(244, 236, 223, 0.14); }
.lp-sheet .lp-chapter { display: none; border-bottom: 0; padding: 28px 0 56px; }
.lp-sheet .lp-chapter.on { display: block; }
.lp-sheet .lp-ch-in { max-width: none; padding: 0 clamp(18px, 3vw, 34px); grid-template-columns: minmax(0, 1fr); gap: 22px; }
.lp-sheet .lp-ch-head { position: static; }
.lp-sheet .lp-topic { scroll-margin-top: 72px; }
.lp-sheet .lp-tiers { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) {
    .lp-sheet-panel { top: 6svh; left: 0; width: 100%; border-left: 0; border-top: 1px solid var(--lp-line2); border-radius: 20px 20px 0 0; box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.5); animation-name: lp-sheet-up; }
    .lp-sheet-bar { border-radius: 20px 20px 0 0; }
    .lp-kindtab { padding: 0 12px; font-size: 0.9rem; gap: 6px; }
    .lp-kind { padding: 18px 18px; }
    .lp-scale-chip { font-size: 0.84rem; padding: 0 11px; }
}
@media (prefers-reduced-motion: reduce) { .lp-sheet-panel, .lp-sheet-bg, .lp-kind.on { animation: none; } }
