/* 预览沿用登录页的品牌色，舞台材质与动效状态仅在本页使用。 */
.showcase {
    --hairline: rgba(var(--primary-rgb), .16);
    --glass: linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(249, 252, 255, .84));
    --glass-shadow: inset 0 1px 0 white, 0 8px 24px rgba(29, 65, 118, .09);
    --brand-gradient: linear-gradient(135deg, var(--chart-2) 0%, var(--primary) 70%);
    --success-ink: #137b62;
    --cyan-ink: #08769c;
    --rating-active: color-mix(in srgb, var(--warning) 57%, var(--warning-foreground));
    --rating-empty: #bfccdf;
    --header-height: 72px;
    position: relative; margin: 0;
    color-scheme: light;
    background: linear-gradient(180deg, #f7faff, #eef3ff) #f4f7fe;
    color: var(--foreground);
    font: 400 1rem/1.6 "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.showcase *, .showcase *::before, .showcase *::after { box-sizing: border-box; }
.showcase :is(h1, h2, h3, p, ul) { margin: 0; }
.showcase a { color: inherit; text-decoration: none; }
.showcase button { font: inherit; color: inherit; cursor: pointer; }
.showcase :is(a, button):focus-visible { outline: 2px solid var(--accent-foreground); outline-offset: 4px; }
.showcase .wrap, .masthead-inner { width: min(87.5%, 1280px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 30; top: 8px; left: 8px; padding: 8px 16px; background: var(--card); border-radius: var(--radius); translate: 0 -160%; }
.skip-link:focus { translate: 0 0; }
.masthead {
    position: fixed; z-index: 10; inset: 0 0 auto;
    background: rgba(250, 252, 255, .86); border-bottom: 1px solid var(--hairline);
    backdrop-filter: blur(20px) saturate(135%); -webkit-backdrop-filter: blur(20px) saturate(135%);
}
.masthead-inner { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 1.28rem; font-weight: 720; letter-spacing: .035em; white-space: nowrap; }
.wordmark img { object-fit: contain; padding: 3px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 1px white, 0 3px 10px rgba(var(--primary-rgb), .14); }
.wordmark span, .intro-copy h1 span { color: var(--primary); background: var(--brand-gradient); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.chapter-nav, .masthead-actions, .console-link, .intro-actions, .watch-link { display: flex; align-items: center; }
.chapter-nav { gap: clamp(18px, 2.4vw, 38px); }
.chapter-nav a { position: relative; padding-block: 10px; color: var(--muted-foreground); font-size: .9rem; transition: color .2s; }
.chapter-nav a::after { content: ""; position: absolute; inset: auto 25% 1px; height: 2px; border-radius: 2px; background: var(--primary); opacity: 0; }
.chapter-nav a:hover, .chapter-nav a[aria-current] { color: var(--accent-foreground); }
.chapter-nav a[aria-current]::after { opacity: 1; }
.masthead-actions { gap: 10px; }
.showcase .console-link { color: var(--accent-foreground); }
.console-link { gap: 8px; padding: 7px 15px; border: 1px solid var(--hairline); border-radius: var(--radius); background: rgba(var(--primary-rgb), .07); font-size: .875rem; transition: background .2s, border-color .2s; white-space: nowrap; }
.console-link:hover { border-color: rgba(var(--primary-rgb), .3); background: rgba(var(--primary-rgb), .12); }
.menu-toggle { display: none; background: transparent; border: 0; width: 40px; height: 40px; font-size: 1.5rem !important; }

/* 场景在自然文档流中连续经过视口，停留时仍可看完演示。 */
.story-scroll { position: relative; overflow: clip; }
.chapter { position: relative; }
.scene-frame {
    min-height: 100vh; min-height: 100svh; padding: calc(var(--header-height) + 30px) 0 40px;
    display: flex; align-items: center; position: relative; isolation: isolate;
}
.scene-frame::before {
    content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 49% 60%, rgba(var(--primary-rgb), .085), transparent 58%);
}
.centered { text-align: center; }
.scene-heading { position: relative; z-index: 3; }
.scene-heading h2 { color: var(--foreground); font-size: clamp(2.15rem, 4.25vw, 4.3rem); font-weight: 700; line-height: 1.24; letter-spacing: -.05em; }
.scene-heading h2 span { color: var(--primary); }
.scene-heading p, .intro-copy p { color: var(--muted-foreground); font-size: clamp(1rem, 1.35vw, 1.14rem); line-height: 1.85; }
.scene-heading p { margin: 15px auto 0; }
.with-motion .replay { display: inline-flex; }
.replay { display: none; align-items: center; gap: 7px; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 6px 13px; background: var(--glass); font-size: .86rem !important; transition: background .2s, border-color .2s; }
.replay:hover { background: var(--secondary); border-color: var(--ring); }
.replay .bi { color: var(--accent-foreground); }
.stage-grid {
    position: absolute; inset: -6% -4%; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse, rgba(var(--primary-rgb), .075), transparent 68%), radial-gradient(circle, rgba(var(--primary-rgb), .31) .8px, transparent 1px) center / 19px 19px;
    mask-image: radial-gradient(ellipse, #000 15%, transparent 72%);
}
.transfer-canvas { display: none; position: absolute; z-index: 4; pointer-events: none; }
.with-motion .transfer-canvas:not([hidden]) { display: block; }

/* 首屏 */
.intro-frame { display: grid; grid-template-rows: 1fr auto; padding: var(--header-height) 0 0; overflow: clip; }
.intro-frame::before { background: radial-gradient(ellipse at 74% 45%, rgba(var(--primary-rgb), .19), transparent 53%), radial-gradient(ellipse at 95% 61%, rgba(102, 219, 177, .1), transparent 39%), radial-gradient(ellipse at 8% 0%, rgba(var(--primary-rgb), .07), transparent 60%); }
.intro-body { display: grid; grid-template-columns: 47% 53%; align-items: center; min-width: 0; }
.intro-copy { position: relative; z-index: 2; padding-block: 46px; }
.intro-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 10px; color: var(--accent-foreground); border: 1px solid var(--hairline); background: rgba(var(--primary-rgb), .065); border-radius: 100px; font-size: .85rem; }
.intro-tag .bi { font-size: 1rem; }
.intro-copy h1 { margin: 25px 0 21px; font-size: clamp(3.35rem, 5.85vw, 6.15rem); font-weight: 740; line-height: 1.14; letter-spacing: -.055em; }
.intro-actions { gap: 26px; margin-top: 33px; }
.showcase .start-link { display: inline-flex; align-items: center; justify-content: center; padding: 0 30px; height: 49px; line-height: 1; border: 1px solid var(--chart-2); border-radius: var(--radius) !important; background: var(--chart-2); color: var(--primary-foreground); font-weight: 700; font-size: 1.1875rem; transition: background-color .2s, transform .15s; }
.showcase .start-link:hover { background: var(--primary); opacity: 1; }
.showcase .start-link:active { transform: translateY(1px); }
.watch-link { gap: 8px; font-size: .94rem; }
.watch-link i { color: var(--primary); font-size: 1.25rem; }
.showcase .watch-link:hover { color: var(--accent-foreground); }
.hero-art { width: 119%; min-width: 0; margin-left: -9%; position: relative; aspect-ratio: 1.43; pointer-events: none; }
.hero-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(#ffffff6b 1px, transparent 1px), linear-gradient(90deg, #ffffff6b 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse, #000 22%, transparent 69%); }
.hero-art img { position: absolute; width: 100%; height: 100%; object-fit: contain; }
.orbit-guide { position: absolute; inset: 17% 6% 15%; border: 1px dashed rgba(var(--primary-rgb), .22); border-radius: 50%; transform: rotate(-26deg); }
.orbit-guide::before, .orbit-guide::after { content: ""; width: 4px; height: 4px; position: absolute; left: 20%; top: 9%; border-radius: 50%; background: var(--chart-2); }
.orbit-guide::after { left: auto; top: auto; right: 13%; bottom: 16%; width: 3px; height: 3px; }
.fiber-spark { position: absolute; top: 75%; left: 31%; width: 2px; height: 2px; }
.intro-foot { display: flex; align-items: center; justify-content: space-between; min-height: 77px; align-self: end; border-top: 1px solid var(--hairline); }
.showcase .scroll-cue, .chapter-index { display: inline-flex; align-items: center; color: var(--muted-foreground); font-size: .8rem; }
.scroll-cue { gap: 10px; }
.mouse-wheel { width: 14px; height: 22px; border: 1px solid #73849b; border-radius: 9px; display: grid; justify-items: center; padding-top: 4px; }
.mouse-wheel::before { content: ""; width: 2px; height: 5px; border-radius: 2px; background: var(--primary); }
.chapter-index { gap: 1px; }
.chapter-index span { font: .76rem/1 ui-monospace, monospace; letter-spacing: .07em; margin-right: 10px; }
.chapter-index em { color: var(--muted-foreground); font-style: normal; }
.chapter-index a { display: grid; align-items: center; width: 19px; height: 36px; padding: 2px; }
.chapter-index a::after { content: ""; height: 2px; background: var(--ring); border-radius: 3px; }
.chapter-index a:first-of-type::after, .chapter-index a:hover::after { background: var(--primary); }

/* 可开合的能力箱 */
.kit-stage { position: relative; width: min(100%, 900px); height: clamp(300px, 43svh, 435px); margin: clamp(22px, 4svh, 42px) auto 0; isolation: isolate; }
.kit-ground { position: absolute; width: 70%; height: 39%; bottom: 0; left: 15%; background: repeating-radial-gradient(ellipse, transparent 0 19%, rgba(var(--primary-rgb), .23) 19.3% 19.6%, transparent 20% 27%), radial-gradient(ellipse, rgba(var(--primary-rgb), .15), transparent 66%); }
.kit-box { position: absolute; left: 50%; top: 66%; width: clamp(138px, 20vw, 211px); transform: translate(-50%,-50%); filter: drop-shadow(0 12px 15px rgba(var(--primary-rgb), .19)); }
.kit-box svg { display: block; width: 100%; overflow: visible; }
.kit-port { position: absolute; left: 50%; top: 60%; width: 1px; height: 1px; }
.kit-node {
    --tone: var(--primary);
    position: absolute; left: calc(50% + var(--dx)); top: calc(60% + var(--dy));
    min-width: 90px; padding: 12px 16px; display: grid; justify-items: center; gap: 5px;
    transform: translate(-50%, -50%);
    border: 1px solid color-mix(in srgb, var(--tone) 22%, var(--card));
    border-radius: var(--big-radius); background: var(--glass); box-shadow: var(--glass-shadow);
}
.kit-node .bi { display: grid; place-items: center; width: 37px; height: 37px; font-size: 1.45rem; border-radius: 12px; color: var(--tone); background: color-mix(in srgb, var(--tone) 13%, transparent); }
.kit-node strong { white-space: nowrap; font-weight: 550; font-size: .9rem; }
.kit-node:nth-of-type(3) { --dx: -39%; --dy: -6%; }
.kit-node:nth-of-type(4) { --dx: -23%; --dy: -36%; --tone: var(--success-ink); }
.kit-node:nth-of-type(5) { --dx: 0%; --dy: -48%; --tone: #425cbe; }
.kit-node:nth-of-type(6) { --dx: 23%; --dy: -36%; --tone: var(--rating-active); }
.kit-node:nth-of-type(7) { --dx: 39%; --dy: -6%; --tone: var(--cyan-ink); }

/* 生成输入框、飞行轨迹和两幕共享的手机 */
.generation .scene-frame::before { background: radial-gradient(ellipse at 68% 52%, rgba(var(--primary-rgb), .11), transparent 54%); }
.generation-layout { display: grid; grid-template-columns: 41% 59%; align-items: center; }
.generation .scene-heading h2 { font-size: clamp(2.65rem, 5vw, 5.1rem); }
.generation .scene-heading p { max-width: 23em; margin-left: 0; }
.generation .replay { margin-top: 24px; }
.generation-stage { position: relative; display: grid; place-items: center; min-height: 430px; isolation: isolate; }
.prompt-box {
    position: relative; isolation: isolate; z-index: 2; width: min(92%, 425px); text-align: left; padding: 20px 23px 16px;
    border-radius: 20px; background: var(--card); color: var(--foreground);
    box-shadow: 0 16px 40px rgba(32, 72, 145, .13), 0 0 18px rgba(var(--primary-rgb), .1);
}
.prompt-rim { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; background: var(--ring); pointer-events: none; }
.rim-wheel { position: absolute; left: 50%; top: 50%; width: 125%; aspect-ratio: 1; translate: -50% -50%; background: conic-gradient(var(--primary), var(--chart-4) 24%, var(--chart-3) 44%, var(--warning) 56%, var(--chart-5) 71%, var(--primary)); }
.prompt-rim::after { content: ""; position: absolute; inset: 2px; border-radius: 18px; background: linear-gradient(130deg, var(--card), var(--accent)); }
.prompt-heading { display: flex; align-items: center; gap: 7px; color: var(--accent-foreground); font-size: .87rem; font-weight: 650; }
.prompt-heading i { font-size: 1.15rem; }
.showcase .demo-input { resize: none; display: block; width: 100%; height: 77px; min-height: 0; padding: 13px 0 0; font: inherit; font-size: 1.12rem; color: var(--foreground); border: 0 !important; box-shadow: none !important; background: transparent; cursor: default; }
.demo-input::placeholder { color: var(--muted-foreground); }
.prompt-tools { display: flex; justify-content: space-between; align-items: center; color: var(--muted-foreground); font-size: .8rem; }
.demo-send { position: relative; width: 37px; height: 37px; display: grid; place-items: center; border-radius: var(--radius); color: var(--primary-foreground); background: var(--primary); }
.demo-pointer { position: absolute; top: 70%; left: 70%; color: var(--foreground); filter: drop-shadow(0 1px 1px white); opacity: 0; pointer-events: none; }
.flying-plane { position: absolute; left: 0; top: 0; z-index: 4; font-size: 24px; line-height: 1; color: var(--primary); filter: drop-shadow(0 3px 4px rgba(var(--primary-rgb), .25)); opacity: 0; pointer-events: none; }
.generated-phone { position: relative; margin-top: 24px; }
.with-motion .prompt-box, .with-motion .generated-phone { grid-area: 1 / 1; margin: 0; }
.demo-phone {
    width: clamp(145px, 19vw, 196px); padding: 5px; border: 1px solid #748aa7; border-radius: 29px;
    text-align: left; background: linear-gradient(125deg, #f5faff, #9db2cb 19%, #526b8e 42%, #d3e1f3 78%, #93a8c1);
    box-shadow: 0 16px 34px rgba(25, 58, 108, .19), inset 0 0 0 2px #e5edf6;
}
.phone-screen { position: relative; overflow: hidden; padding: 7px 8px 18px; border-radius: 23px; background: var(--card); color: var(--foreground); }
.phone-status { display: flex; align-items: center; justify-content: space-between; position: relative; margin: 0 5px 6px; font: 600 .67rem/1.3 Arial, sans-serif; }
.phone-status b { position: absolute; left: 34%; top: 0; width: 32%; height: 8px; border-radius: 20px; background: var(--foreground); }
.phone-address { display: flex; justify-content: center; align-items: center; gap: 4px; min-height: 18px; border-radius: 7px; color: var(--muted-foreground); background: var(--accent); font-size: .65rem; }
.phone-address i { font-size: .58rem; }
.phone-cover { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; height: clamp(58px, 6.5vw, 81px); margin-top: 8px; border: 1px solid var(--hairline); border-radius: 10px; color: var(--primary); background: linear-gradient(135deg, var(--secondary), var(--accent)); }
.phone-cover .bi { font-size: 1.25rem; }
.phone-cover .skeleton-line { width: 32%; }
.is-landing .phone-cover { align-items: flex-start; justify-content: flex-end; padding: 8px; background: linear-gradient(90deg, #e2efff 9%, #e2efffe8 29%, transparent 66%), url('/static/images/home-preview/optical-loop-blue.webp') right center / auto 115% no-repeat var(--secondary); }
.phone-cover strong { color: var(--foreground); font-size: 1rem; }
.phone-content { padding: 9px 1px 0; }
.skeleton-line, .phone-module b { display: block; height: 4px; width: 55%; margin-bottom: 5px; border-radius: 9px; background: #8aa9d2; }
.skeleton-line.short { width: 36%; opacity: .52; margin-bottom: 9px; }
.phone-module { display: flex; align-items: center; gap: 7px; padding: 5px 7px; margin: 5px 0; border: 1px solid var(--hairline); border-radius: 8px; background: var(--accent); color: var(--foreground); font-size: .75rem; }
.phone-module i { color: var(--accent-foreground); }
.phone-module b { width: 22%; height: 3px; margin: 0 0 0 auto; opacity: .7; }
.phone-home { position: absolute; left: 34%; bottom: 5px; width: 32%; height: 3px; border-radius: 3px; background: #64748b; }

/* 访客事件与归因复用同一组数据卡片。 */
.analysis-stage, .attribution-stage { position: relative; display: flex; justify-content: space-between; align-items: center; isolation: isolate; margin: 32px auto 0; width: min(100%, 840px); text-align: left; }
.analysis-stage { justify-content: center; padding-block: 7px; }
.visitor-phone { flex: none; }
.analysis-link { width: clamp(35px, 9vw, 132px); height: 1px; background: repeating-linear-gradient(90deg, var(--chart-2) 0 3px, transparent 3px 8px); }
.analysis-link span { display: block; position: relative; left: 55%; top: -2px; height: 5px; width: 5px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .14); }
.event-list, .sync-list { padding: 0; list-style: none; }
.event-list { width: min(100%, 322px); display: grid; gap: 12px; }
.event-card, .combined-card, .sync-list li {
    display: flex; align-items: center; gap: 13px; border: 1px solid var(--hairline); border-radius: 17px;
    background: var(--glass); box-shadow: var(--glass-shadow);
}
.sync-list li { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.event-card, .combined-card { padding: 12px 15px; min-height: 70px; }
.event-card > div, .combined-card > div { min-width: 0; }
.event-card strong, .combined-card strong { display: block; font-size: .98rem; line-height: 1.45; font-weight: 620; }
.event-card small, .combined-card small { display: block; margin-top: 3px; font-size: .85rem; line-height: 1.4; color: var(--muted-foreground); overflow-wrap: anywhere; }
.event-icon, .combined-card > .bi, .sync-list li > .bi { flex: none; display: grid; place-items: center; width: 37px; height: 37px; border-radius: 12px; background: rgba(var(--primary-rgb), .09); color: var(--accent-foreground); font-size: 1.15rem; }
.event-card:nth-child(2) .event-icon { background: color-mix(in srgb, var(--chart-4) 23%, white); color: var(--cyan-ink); }
.event-card:nth-child(3) .event-icon { background: color-mix(in srgb, var(--chart-3) 21%, white); color: var(--success-ink); }
.stars { display: flex; gap: 4px; margin-top: 4px; color: var(--rating-empty); font-size: .79rem; line-height: 1.2; }
.stars .bi:nth-child(-n+3) { color: var(--rating-active); }
.event-check { margin-left: auto; color: var(--success-ink); font-size: 1rem; }
.attribution-stage { width: min(92%, 810px); min-height: 304px; gap: 14%; }
.return-wires { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; overflow: visible; }
.return-wires path { stroke-width: 2; stroke-dasharray: 1; stroke-linecap: round; }
.return-wires path:last-child { stroke-width: 3; }
.signal-stack { position: relative; width: 39%; }
.signal-stack .event-list { width: 100%; }
.combined-card { margin-top: 14px; border-color: rgba(var(--primary-rgb), .36); background: linear-gradient(120deg, white, var(--secondary)); }
.with-motion .combined-card { position: absolute; inset: 50% 0 auto; margin: 0; transform: translateY(-50%); }
.platform-hub {
    position: relative; flex: none; width: min(40%, 264px); aspect-ratio: 1; border-radius: 50%;
    border: 1px solid var(--ring); background: radial-gradient(circle at 45% 37%, white 12%, var(--accent) 63%, var(--secondary) 100%);
    display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 14px 10px;
    box-shadow: inset 0 0 0 4px #ffffffad, 0 10px 30px rgba(var(--primary-rgb), .11);
}
.hub-ring { position: absolute; inset: -8px; border: 1px dashed rgba(var(--primary-rgb), .36); border-radius: 50%; }
.platform { flex: 0 0 26%; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--foreground); white-space: nowrap; font-size: .8rem; line-height: 1.4; }
.platform img { display: block; width: clamp(29px, 3.2vw, 42px); height: auto; aspect-ratio: 1; object-fit: contain; background: var(--card); box-shadow: 0 2px 7px rgba(23, 61, 113, .1); border-radius: 10px; padding: 4px; }
.attribution .replay { margin-top: 16px; }

/* 企业微信 */
.wecom .scene-frame::before { background: radial-gradient(ellipse at 63% 57%, rgba(102, 219, 177, .12), transparent 43%), radial-gradient(ellipse at 37% 52%, rgba(var(--primary-rgb), .1), transparent 52%); }
.sync-layout { display: grid; grid-template-columns: 1fr 1.42fr 1fr; align-items: center; gap: clamp(14px, 1.7vw, 29px); margin: clamp(28px, 5svh, 58px) auto 32px; }
.sync-list { display: grid; gap: 15px; text-align: left; }
.sync-list li { align-items: flex-start; gap: 11px; padding: 16px; transition: border-color .2s, background .2s; }
.sync-list li:hover { border-color: var(--ring); }
.sync-list li > .bi { width: 32px; height: 32px; font-size: 1rem; border-radius: 10px; }
.sync-list h3 { font-size: 1rem; color: var(--foreground); font-weight: 620; }
.sync-list p { font-size: .88rem; line-height: 1.7; color: var(--muted-foreground); margin-top: 5px; }
.sync-orbit { position: relative; isolation: isolate; }
.sync-orbit svg { display: block; width: 100%; }
.sync-beads { position: absolute; inset: 0; pointer-events: none; }
.sync-beads > span { position: absolute; left: 0; top: 0; width: .8%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 1px white; }
.sync-beads > span:nth-child(3n+1) { width: 1.36%; }
.sync-entry { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; }
.sync-brand { position: absolute; left: 24%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 5px; white-space: nowrap; }
.sync-brand:last-child { left: 76%; }
.sync-brand img { height: clamp(32px, 3.6vw, 49px); width: auto; aspect-ratio: 1; object-fit: contain; border-radius: 12px; background: var(--card); box-shadow: 0 4px 13px rgba(var(--primary-rgb), .16); }
.sync-brand:first-of-type img { padding: 3px; }
.sync-brand strong { font-size: .82rem; font-weight: 550; }
.page-foot { border-top: 1px solid var(--hairline); color: var(--muted-foreground); font-size: .85rem; background: rgba(255, 255, 255, .62); }
.page-foot .wrap { padding-block: 26px 18px; }
.foot-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 26px 40px; flex-wrap: wrap; }
.foot-brand { display: grid; gap: 9px; max-width: 320px; }
.foot-brand-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 13px; }
.brand-wecom { display: inline-flex; transition: opacity .2s; }
.brand-wecom img { display: block; width: auto; height: 20px; }
.brand-wecom:hover { opacity: .88; }
.foot-wordmark { display: inline-flex; align-items: center; gap: 9px; color: var(--foreground); font-size: 1.08rem; font-weight: 700; letter-spacing: .03em; }
.foot-wordmark img { width: 40px; height: 40px; padding: 3px; object-fit: contain; }
.foot-brand p { font-size: .8rem; line-height: 1.6; }
.page-foot .foot-links h3 { margin-bottom: 9px; color: var(--foreground); font-size: .86rem; font-weight: 600; }
.foot-links ul { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0; list-style: none; }
.foot-links a, .foot-base a { transition: color .2s; }
.foot-links a:hover, .foot-base a:hover { color: var(--accent-foreground); }
.foot-qr { display: flex; gap: 18px; }
.foot-qr figure { display: grid; justify-items: center; gap: 6px; margin: 0; }
.foot-qr img { width: 96px; height: 96px; padding: 3px; object-fit: contain; border: 1px solid var(--hairline); border-radius: 10px; background: var(--card); box-shadow: inset 0 1px white, 0 4px 13px rgba(var(--primary-rgb), .1); }
.foot-qr figcaption { font-size: .78rem; line-height: 1.4; }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--hairline); font-size: .8rem; }
.kit-node, .event-card, .combined-card { transition: border-color .2s, box-shadow .2s; }
@media (hover: hover) {
    :is(.kit-node, .event-card, .combined-card):hover { border-color: var(--ring); box-shadow: inset 0 1px white, 0 8px 24px rgba(var(--primary-rgb), .15); }
}

@media (min-width: 1500px) {
    .hero-art { width: 120%; }
}
@media (max-width: 980px) {
    .showcase .wrap, .masthead-inner { width: 91%; }
    .hero-art { width: 115%; }
    .masthead-inner, .chapter-nav { gap: 12px; }
    .sync-layout { grid-template-columns: 1fr 1.06fr 1fr; gap: 12px; }
    .sync-list li { display: block; padding: 13px; }
    .sync-list li > .bi { margin-bottom: 7px; }
}
@media (max-width: 740px) {
    .showcase { --header-height: 60px; }
    .showcase .wrap, .masthead-inner { width: 89%; }
    .masthead-inner { gap: 10px; }
    .wordmark { font-size: 1.12rem; gap: 5px; }
    .wordmark img { width: 28px; height: 28px; }
    .console-link { font-size: .82rem; padding: 6px 11px; }
    .has-navigation .menu-toggle { display: grid; place-items: center; }
    .chapter-nav { display: none; position: absolute; top: calc(var(--header-height) + 6px); right: 5.5%; min-width: 152px; padding: 8px; background: var(--glass); border: 1px solid var(--hairline); border-radius: 15px; box-shadow: var(--glass-shadow); }
    .chapter-nav.open { display: grid; gap: 0; }
    .chapter-nav a { padding: 9px 15px; border-radius: 8px; }
    .chapter-nav a[aria-current] { background: rgba(var(--primary-rgb), .08); }
    .chapter-nav a::after { display: none; }
    .scene-frame { padding-top: calc(var(--header-height) + 20px); padding-bottom: 32px; }
    .scene-heading h2 { font-size: clamp(1.9rem, 6.5vw, 2.75rem); }
    .scene-heading p { font-size: 1rem; margin-top: 12px; }
    .wide-only { display: none; }
    .intro-frame { padding: var(--header-height) 0 0; }
    .intro-body { grid-template-columns: minmax(0, 1fr); align-content: center; }
    .intro-copy { padding: 27px 0 0; }
    .intro-copy h1 { margin: 16px 0 12px; font-size: clamp(2.65rem, 9.4vw, 3.9rem); line-height: 1.12; }
    .intro-copy p { font-size: 1rem; line-height: 1.65; }
    .intro-actions { margin-top: 20px; gap: 18px; }
    .showcase .start-link { height: 43px; padding: 0 23px; }
    .hero-art { justify-self: center; width: min(100%, 465px); height: clamp(178px, 31svh, 315px); aspect-ratio: auto; margin: 0; }
    .intro-foot { min-height: 51px; }
    .intro-tag { font-size: .79rem; padding-block: 3px; }
    .chapter-index a { width: 16px; }
    .kit-stage { height: clamp(270px, 43svh, 370px); margin-top: 32px; }
    .kit-node { min-width: 64px; padding: 8px 9px; border-radius: 14px; }
    .kit-node strong { font-size: .79rem; }
    .kit-node .bi { width: 30px; height: 30px; font-size: 1.15rem; }
    .kit-node:nth-of-type(4), .kit-node:nth-of-type(6) { --dy: -32%; }
    .generation-layout { grid-template-columns: 1fr; text-align: center; gap: 10px; }
    .generation .scene-heading h2 { font-size: clamp(1.95rem, 7.2vw, 2.9rem); }
    .generation .scene-heading h2 br { display: none; }
    .generation .scene-heading p { margin-inline: auto; }
    .generation .replay { margin-top: 11px; }
    .generation-stage { min-height: 330px; }
    .prompt-box { width: min(95%, 425px); padding-inline: 14px; }
    .analysis-stage { margin-top: 30px; }
    .analysis-stage .demo-phone { width: clamp(110px, 33vw, 157px); padding: 3px; border-radius: 21px; }
    .analysis-stage .phone-screen { padding: 6px 5px 15px; border-radius: 18px; }
    .analysis-stage .phone-cover { height: 54px; }
    .analysis-link { flex: 1; min-width: 8px; }
    .analysis-stage .event-list { width: 56%; }
    .event-list { gap: 8px; }
    .event-card, .combined-card { min-height: 59px; padding: 8px; gap: 6px; border-radius: 12px; }
    .event-icon, .combined-card > .bi { width: 26px; height: 28px; border-radius: 8px; font-size: .92rem; }
    .event-card strong, .combined-card strong { font-size: .85rem; }
    .event-card small, .combined-card small { font-size: .75rem; }
    .event-check { font-size: .77rem; }
    .stars { font-size: .72rem; gap: 2px; }
    .attribution-stage { width: 100%; min-height: 235px; gap: clamp(14px, 4vw, 30px); margin-top: 24px; }
    .signal-stack { width: 47%; }
    .signal-stack :is(.event-card, .combined-card) { padding-inline: 6px; gap: 4px; }
    .combined-card small { word-break: keep-all; overflow-wrap: normal; }
    .platform-hub { width: clamp(158px, 50%, 228px); gap: 9px 6px; }
    .platform { font-size: clamp(.7rem, 3.2vw, .75rem); }
    .platform img { width: clamp(24px, 7vw, 27px); border-radius: 7px; padding: 3px; }
    .hub-ring { inset: -4px; }
    .sync-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px auto 22px; }
    .sync-orbit { grid-column: 1 / -1; grid-row: 1; width: min(70%, 305px); margin-inline: auto; }
    .sync-list { gap: 10px; align-self: stretch; grid-template-rows: 1fr 1fr; }
    .sync-list li { padding: 11px; }
    .sync-list h3 { font-size: .89rem; }
    .sync-list p { font-size: .81rem; line-height: 1.6; }
    .sync-brand img { height: 28px; border-radius: 7px; }
    .sync-brand strong { font-size: .74rem; line-height: 1.3; }
    .foot-main { flex-direction: column; gap: 20px; }
    .foot-qr { gap: 14px; }
    .foot-qr img { width: 88px; height: 88px; }
    .foot-base { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 375px) {
    .showcase .wrap, .masthead-inner { width: 92%; }
    .event-icon, .combined-card > .bi { display: none; }
    .sync-layout { gap: 7px; }
}
@media (max-height: 600px) {
    .scene-frame { padding-block: calc(var(--header-height) + 20px) 30px; }
    .intro-frame { padding-block: var(--header-height) 0; }
}
@media (prefers-reduced-motion: reduce) {
    .showcase *, .showcase *::before, .showcase *::after { transition-duration: 0s !important; }
    .sync-beads { display: none; }
}
