/* Fmode 落地页 · 样式层(图标的 @import 必须出现在所有规则之前,故置顶) */ @import url("./assets/icons/phosphor-regular.css"); @import url("./assets/icons/phosphor-bold.css"); @import url("./assets/icons/phosphor-fill.css"); /* ========================================================================= Fmode 落地页 · 样式层 分层:1 令牌 → 2 基础 → 3 排版与布局原语 → 4 导航 → 5 Hero → 6 演示窗 → 7 标签墙 → 8 能力 → 9 步骤 → 10 实验室 → 11 产品预览 → 12 数字 / FAQ / CTA / 页脚 → 13 动效与降级 纪律:不使用背景渐变(唯一例外是 Hero 标题的文字渐变)与 data URI 图片; 只动 transform / opacity;阴影一律用颜色加不透明度,不用模糊滤镜。 ========================================================================= */ /* ---------- 1. 本地字体与图标(离线可用) ---------- */ @font-face { font-family: "Geist"; src: url("./assets/fonts/geist-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; } @font-face { font-family: "Geist Mono"; src: url("./assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; } /* ---------- 令牌 ---------- */ :root { --f-sans: "Geist", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; --f-mono: "Geist Mono", "SFMono-Regular", Consolas, monospace; /* 间距(8pt 网格 + 4/2 细档) */ --s-0: 0; --s-2: 2px; --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-24: 24px; --s-32: 32px; --s-40: 40px; --s-48: 48px; --s-64: 64px; --s-80: 80px; --s-96: 96px; /* 圆角 */ --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-full: 999px; /* 动效 */ --ease: cubic-bezier(0.22, 1, 0.36, 1); --d-micro: 200ms; --d-base: 500ms; --d-reveal: 700ms; /* 布局 */ --page-max: 1180px; --gutter: 24px; --nav-h: 56px; /* 色彩(暗色为默认) */ --canvas: #000000; --surface: #0b0b0c; --surface-2: #181818; --surface-3: #1f1f1f; --surface-4: #272727; --surface-5: #313131; --edge: rgba(255, 255, 255, 0.08); --edge-strong: rgba(255, 255, 255, 0.16); --ink: #ffffff; --ink-2: #c9c9c9; --muted: #8c8c8c; --faint: #8a8a8a; --grain: #131209; --primary: #f5f5f5; --primary-ink: #0a0a0a; --accent: #a78bfa; --success: #4ade80; --success-soft: rgba(74, 222, 128, 0.12); --danger: #f87171; --danger-soft: rgba(248, 113, 113, 0.12); --warning: #fbbf24; --code-bg: #08080a; --sel: rgba(167, 139, 250, 0.24); } :root[data-theme="light"] { --canvas: #ffffff; --surface: #fafafa; --surface-2: #f4f4f5; --surface-3: #ededee; --surface-4: #e4e4e7; --surface-5: #d9d9de; --edge: rgba(0, 0, 0, 0.08); --edge-strong: rgba(0, 0, 0, 0.16); --ink: #000000; --ink-2: #2e2e32; --muted: #6b6b73; --faint: #6e6e78; --grain: #f6f4ec; --primary: #0a0a0a; --primary-ink: #ffffff; --accent: #7c5cf0; --success: #16a34a; --success-soft: rgba(22, 163, 74, 0.1); --danger: #dc2626; --danger-soft: rgba(220, 38, 38, 0.08); --warning: #b45309; --code-bg: #f7f7f8; --sel: rgba(124, 92, 240, 0.18); } /* ---------- 2. 基础 ---------- */ * { box-sizing: border-box; } ::selection { background: var(--sel); } html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } } body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--f-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "cv11", "ss01"; overflow-x: hidden; } h1, h2, h3, h4, p { margin: 0; text-wrap: pretty; } h1, h2, h3, h4 { text-wrap: balance; letter-spacing: -0.02em; line-height: 1.15; } a { color: inherit; text-decoration: none; } button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; } code, pre, kbd { font-family: var(--f-mono); } :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); } .skip { position: fixed; left: var(--s-16); top: -100px; z-index: 100; padding: var(--s-8) var(--s-12); border-radius: var(--r-sm); background: var(--primary); color: var(--primary-ink); font-size: 14px; transition: transform var(--d-micro) var(--ease); } .skip:focus { top: var(--s-16); } .wrap { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--gutter); } /* ---------- 3. 排版与布局原语 ---------- */ .eyebrow { display: inline-flex; align-items: center; gap: var(--s-8); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); } .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: var(--r-full); background: var(--accent); } .h2 { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; } .lede { color: var(--ink-2); font-size: 18px; line-height: 1.6; max-width: 680px; } .section-head { display: grid; gap: var(--s-16); max-width: 720px; } section { padding-block: var(--s-96); position: relative; } .hr { height: 1px; background: var(--edge); border: 0; margin: 0; } .btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-8); min-height: 44px; padding: var(--s-8) var(--s-12); border-radius: var(--r-md); font-size: 16px; font-weight: 600; transition: transform var(--d-micro) var(--ease), background-color var(--d-micro) var(--ease), border-color var(--d-micro) var(--ease), color var(--d-micro) var(--ease); } .btn:active { transform: scale(0.98); } .btn--primary { background: var(--primary); color: var(--primary-ink); padding-inline: var(--s-24); } .btn--primary:hover { background: color-mix(in srgb, var(--primary) 88%, var(--accent)); } .btn--ghost { border: 1px solid var(--edge); color: var(--ink-2); } .btn--ghost:hover { border-color: var(--edge-strong); color: var(--ink); background: var(--surface-2); } .btn--sm { min-height: 36px; font-size: 14px; padding-inline: var(--s-12); } .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; } .btn i { font-size: 18px; } .card { border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--edge); } .kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding-inline: var(--s-4); border-radius: var(--r-sm); border: 1px solid var(--edge); background: var(--surface-3); font-family: var(--f-mono); font-size: 11px; color: var(--muted); } /* 卡片/按钮的柔和高光:用颜色层模拟模糊,不用 filter: blur */ .gloss { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); } :root[data-theme="light"] .gloss { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9); } /* ---------- 4. 导航 ---------- */ .nav { position: fixed; top: var(--s-12); left: 50%; z-index: 50; translate: -50% 0; width: min(var(--page-max), calc(100% - 32px)); height: var(--nav-h); display: flex; align-items: center; gap: var(--s-16); padding-inline: var(--s-8) var(--s-8); border-radius: var(--r-full); border: 1px solid transparent; transition: background-color var(--d-base) var(--ease), border-color var(--d-base) var(--ease), box-shadow var(--d-base) var(--ease); } .nav[data-scrolled="true"] { background: color-mix(in srgb, var(--surface-2) 82%, transparent); border-color: var(--edge); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); } .brand { display: inline-flex; align-items: center; gap: var(--s-8); padding-inline: var(--s-8); font-weight: 600; letter-spacing: -0.01em; } .brand__mark { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); font-family: var(--f-mono); font-size: 15px; font-weight: 700; } .nav__links { display: flex; align-items: center; gap: var(--s-4); margin-inline-start: var(--s-16); } .nav__link { padding: var(--s-8) var(--s-12); border-radius: var(--r-full); font-size: 14px; color: var(--muted); transition: color var(--d-micro) var(--ease), background-color var(--d-micro) var(--ease); } .nav__link:hover { color: var(--ink); background: var(--surface-3); } .nav__link[aria-current="true"] { color: var(--ink); background: var(--surface-3); } .nav__spacer { flex: 1; } .nav__actions { display: flex; align-items: center; gap: var(--s-8); } .icon-btn { width: 36px; height: 36px; border-radius: var(--r-full); display: grid; place-items: center; color: var(--muted); font-size: 18px; transition: color var(--d-micro) var(--ease), background-color var(--d-micro) var(--ease), transform var(--d-micro) var(--ease); } .icon-btn:hover { color: var(--ink); background: var(--surface-3); } .icon-btn:active { transform: scale(0.94); } .icon-btn i { transition: transform var(--d-base) var(--ease), opacity var(--d-micro) var(--ease); } /* 主题切换:两枚图标互相旋转交叠,而不是瞬间替换 */ .theme-toggle { position: relative; } .theme-toggle i { position: absolute; } .theme-toggle .i-sun { transform: rotate(-90deg) scale(0.4); opacity: 0; } .theme-toggle .i-moon { transform: rotate(0) scale(1); opacity: 1; } :root[data-theme="light"] .theme-toggle .i-sun { transform: rotate(0) scale(1); opacity: 1; } :root[data-theme="light"] .theme-toggle .i-moon { transform: rotate(90deg) scale(0.4); opacity: 0; } .nav__toggle { display: none; } /* 移动菜单:全高面板 */ .menu { position: fixed; inset: 0; z-index: 49; background: color-mix(in srgb, var(--canvas) 86%, transparent); backdrop-filter: blur(28px) saturate(140%); -webkit-backdrop-filter: blur(28px) saturate(140%); padding: calc(var(--nav-h) + var(--s-48)) var(--gutter) var(--s-32); display: grid; align-content: start; gap: var(--s-4); opacity: 0; pointer-events: none; transition: opacity var(--d-base) var(--ease); } .menu[data-open="true"] { opacity: 1; pointer-events: auto; } .menu a { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; padding: var(--s-8) 0; opacity: 0; transform: translateY(24px); transition: opacity var(--d-base) var(--ease), transform var(--d-base) var(--ease); } .menu[data-open="true"] a { opacity: 1; transform: none; } .menu a:nth-child(1) { transition-delay: 60ms; } .menu a:nth-child(2) { transition-delay: 120ms; } .menu a:nth-child(3) { transition-delay: 180ms; } .menu a:nth-child(4) { transition-delay: 240ms; } .menu a:nth-child(5) { transition-delay: 300ms; } .menu a:nth-child(6) { transition-delay: 360ms; } .menu__foot { margin-top: var(--s-32); color: var(--muted); font-size: 14px; } /* ---------- 5. Hero ---------- */ .hero { padding-top: calc(var(--nav-h) + var(--s-96)); padding-bottom: var(--s-64); } .hero__inner { display: grid; gap: var(--s-32); justify-items: center; text-align: center; } .hero__badge { display: inline-flex; align-items: center; gap: var(--s-8); height: 32px; padding-inline: var(--s-12) var(--s-16); border-radius: var(--r-full); border: 1px solid var(--edge); background: var(--surface-2); font-size: 13px; color: var(--ink-2); } .hero__badge .dot { width: 6px; height: 6px; border-radius: var(--r-full); background: var(--success); box-shadow: 0 0 0 0 var(--success); animation: ping 2.4s var(--ease) infinite; } .hero__badge b { color: var(--ink); font-weight: 500; } .hero__badge i { color: var(--faint); } h1.hero__title { max-width: 680px; font-size: 60px; font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, #9b9b9b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; } :root[data-theme="light"] h1.hero__title { background: linear-gradient(90deg, #000000 0%, #000000 40%, #666666 100%); -webkit-background-clip: text; background-clip: text; } .hero__sub { max-width: 680px; font-size: 18px; line-height: 1.65; color: var(--ink-2); } .hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-12); justify-content: center; } .hero__proof { display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-16); justify-content: center; color: var(--muted); font-size: 13px; } .hero__proof span { display: inline-flex; align-items: center; gap: var(--s-4); } .hero__proof i { color: var(--success); font-size: 15px; } /* ---------- 6. 演示窗(Codex 版式) ---------- */ .stage { width: 100%; max-width: 920px; margin-top: var(--s-16); border-radius: var(--r-xl); border: 1px solid var(--edge); background: var(--surface); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.7), 0 0 0 6px rgba(255, 255, 255, 0.02); overflow: hidden; text-align: left; } :root[data-theme="light"] .stage { box-shadow: 0 40px 80px -32px rgba(0, 0, 0, 0.2), 0 0 0 6px rgba(0, 0, 0, 0.02); } .stage__bar { display: flex; align-items: center; gap: var(--s-12); height: 48px; padding-inline: var(--s-16); border-bottom: 1px solid var(--edge); background: var(--surface-2); } .dots { display: inline-flex; gap: var(--s-8); } .dots i { width: 10px; height: 10px; border-radius: var(--r-full); background: var(--surface-5); } .stage__title { font-family: var(--f-mono); font-size: 12px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pill i { font-size: 11px; } .stage__title b { color: var(--ink-2); font-weight: 500; } .stage__right { margin-inline-start: auto; display: flex; align-items: center; gap: var(--s-8); } .pill { display: inline-flex; align-items: center; gap: var(--s-4); height: 24px; padding-inline: var(--s-8); border-radius: var(--r-full); font-size: 12px; background: var(--surface-3); color: var(--ink-2); font-family: var(--f-mono); } .pill--live { background: var(--success-soft); color: var(--success); white-space: nowrap; flex-shrink: 0; } .pill--mute { color: var(--muted); } .stage__body { display: grid; grid-template-columns: 200px 1fr; min-height: 460px; } .stage__side { border-right: 1px solid var(--edge); padding: var(--s-16) var(--s-12); display: grid; align-content: start; gap: var(--s-4); background: var(--surface); } .side__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); padding: var(--s-8) var(--s-8) var(--s-4); } .side__item { display: flex; align-items: center; gap: var(--s-8); padding: var(--s-8); border-radius: var(--r-md); font-size: 13px; color: var(--muted); transition: background-color var(--d-micro) var(--ease), color var(--d-micro) var(--ease); } .side__item:hover { background: var(--surface-2); color: var(--ink-2); } .side__item[data-on="true"] { background: var(--surface-3); color: var(--ink); } .side__item i { font-size: 16px; } .side__item .dot { width: 6px; height: 6px; border-radius: var(--r-full); margin-inline-start: auto; background: var(--success); } .side__item .dot[data-s="busy"] { background: var(--accent); animation: ping 1.6s var(--ease) infinite; } .side__item .dot[data-s="idle"] { background: var(--faint); } .side__item .avatar { width: 22px; height: 22px; border-radius: var(--r-full); display: grid; place-items: center; font-size: 11px; font-weight: 600; background: var(--surface-5); color: var(--ink); } .timeline { display: grid; align-content: start; padding: var(--s-16) var(--s-24) var(--s-24); height: 460px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--surface-5) transparent; } .timeline::-webkit-scrollbar { width: 6px; } .timeline::-webkit-scrollbar-thumb { background: var(--surface-5); border-radius: 3px; } .stage__body { height: 460px; min-height: 0; } .stage__side { overflow-y: auto; } @media (max-width: 1024px) { .timeline, .stage__body { height: 420px; } } /* 消息行 */ .msg > div { min-width: 0; } .msg { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-12); padding-block: var(--s-12); border-bottom: 1px dashed var(--edge); } .msg:last-child { border-bottom: 0; } .msg__avatar { width: 28px; height: 28px; border-radius: var(--r-full); display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; font-weight: 600; background: var(--surface-4); color: var(--ink-2); } .msg__avatar[data-a="lead"] { background: var(--primary); color: var(--primary-ink); } .msg__avatar[data-a="dev"] { background: color-mix(in srgb, var(--accent) 22%, var(--surface-4)); color: var(--ink); } .msg__avatar[data-a="me"] { background: transparent; border: 1px solid var(--edge-strong); color: var(--muted); } .msg__head { display: flex; align-items: baseline; gap: var(--s-8); font-size: 13px; } .msg__name { font-weight: 600; color: var(--ink); } .msg__role { font-size: 11px; color: var(--faint); font-family: var(--f-mono); } .msg__time { font-size: 11px; color: var(--faint); font-family: var(--f-mono); margin-inline-start: auto; } .msg__body { font-size: 14px; line-height: 1.65; color: var(--ink-2); margin-top: var(--s-4); } .msg__body b { color: var(--ink); font-weight: 600; } .msg__body .hl { color: var(--accent); } .msg__enter { animation: msgIn 420ms var(--ease) both; } @keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } } /* 流式打字:最后一个字符位置的光标 */ .caret { display: inline-block; width: 7px; height: 1.05em; margin-left: 1px; translate: 0 2px; background: var(--accent); border-radius: 1px; animation: caret 1s steps(1) infinite; } @keyframes caret { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } } /* 选择项(组长确认口径) */ .choice { display: flex; align-items: center; gap: var(--s-8); flex-wrap: wrap; margin-top: var(--s-8); padding: var(--s-8) var(--s-12); border: 1px solid var(--edge); border-radius: var(--r-md); background: var(--surface-2); font-size: 13px; } .choice span { color: var(--muted); } .choice b { display: inline-flex; align-items: center; gap: var(--s-4); padding: 2px var(--s-8); border-radius: var(--r-sm); background: var(--surface-4); color: var(--ink); font-weight: 500; } .choice b[data-pick="true"] { background: var(--primary); color: var(--primary-ink); } /* ---------- Codex 部件的共用形态 ---------- */ .cx { margin-top: var(--s-8); } .cx + .cx { margin-top: var(--s-8); } .cx-think { border: 1px solid var(--edge); border-radius: var(--r-md); background: var(--surface-2); overflow: hidden; } .cx-think__head { width: 100%; display: flex; align-items: center; gap: var(--s-8); padding: var(--s-8) var(--s-12); font-size: 13px; color: var(--muted); transition: color var(--d-micro) var(--ease), background-color var(--d-micro) var(--ease); } .cx-think__head:hover { color: var(--ink-2); background: var(--surface-3); } .cx-think__head i.ph { font-size: 16px; transition: transform var(--d-base) var(--ease); } .cx-think[data-open="false"] .cx-think__head i.ph { transform: rotate(0deg); } .cx-think[data-open="true"] .cx-think__head i.ph { transform: rotate(90deg); } .cx-think__head .label { font-family: var(--f-mono); font-size: 12px; } .cx-think__head .secs { margin-inline-start: auto; font-family: var(--f-mono); font-size: 12px; color: var(--faint); } .cx-think__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--d-base) var(--ease); } .cx-think[data-open="true"] .cx-think__body { grid-template-rows: 1fr; } .cx-think__inner { overflow: hidden; } .cx-think__text { border-top: 1px solid var(--edge); padding: var(--s-12); font-size: 13px; line-height: 1.7; color: var(--muted); white-space: pre-wrap; } .cx-think__text em { color: var(--ink-2); font-style: normal; } .cx-tools { display: grid; gap: var(--s-2); } .cx-tool { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: var(--s-8); padding: var(--s-8) var(--s-12); border-radius: var(--r-md); font-size: 13px; color: var(--ink-2); transition: background-color var(--d-micro) var(--ease); } .cx-tool:hover { background: var(--surface-2); } .cx-tool > i { font-size: 15px; color: var(--muted); } .cx-tool > div { min-width: 0; } .cx-tool .verb { color: var(--muted); } .cx-tool .target { font-family: var(--f-mono); font-size: 12px; color: var(--ink); } .cx-tool .meta { font-family: var(--f-mono); font-size: 12px; color: var(--faint); } .cx-tool[data-state="run"] .spinner { width: 12px; height: 12px; } .cx-tool[data-state="ok"] > .status i { color: var(--success); font-size: 15px; } .cx-tool[data-state="err"] > .status i { color: var(--danger); font-size: 15px; } .cx-tool .status { display: grid; place-items: center; width: 18px; } .spinner { display: inline-block; width: 14px; height: 14px; border-radius: var(--r-full); border: 1.5px solid color-mix(in srgb, var(--accent) 30%, transparent); border-top-color: var(--accent); animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* 代码 diff */ .cx-diff { border: 1px solid var(--edge); border-radius: var(--r-md); background: var(--code-bg); overflow: hidden; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.75; } .cx-diff__bar { display: flex; align-items: center; gap: var(--s-8); padding: var(--s-8) var(--s-12); border-bottom: 1px solid var(--edge); color: var(--muted); font-size: 12px; } .cx-diff__bar i { font-size: 14px; } .cx-diff__bar .stat { margin-inline-start: auto; display: flex; gap: var(--s-8); } .cx-diff__bar .add { color: var(--success); } .cx-diff__bar .del { color: var(--danger); } .cx-diff__body { padding-block: var(--s-4); overflow-x: auto; } .dl { display: grid; grid-template-columns: 40px 16px 1fr; padding-inline: var(--s-8); white-space: pre; animation: lineIn 260ms var(--ease) both; } @keyframes lineIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } } .dl .n { color: var(--faint); text-align: right; padding-inline-end: var(--s-8); user-select: none; } .dl .s { color: var(--muted); user-select: none; } .dl .t { color: var(--ink-2); } .dl[data-k="add"] { background: var(--success-soft); } .dl[data-k="add"] .t, .dl[data-k="add"] .s { color: var(--success); } .dl[data-k="del"] { background: var(--danger-soft); } .dl[data-k="del"] .t, .dl[data-k="del"] .s { color: var(--danger); } .dl .k { color: var(--accent); } .dl .str { color: color-mix(in srgb, var(--warning) 85%, var(--ink-2)); } .dl .fn { color: #7dd3fc; } :root[data-theme="light"] .dl .fn { color: #0369a1; } :root[data-theme="light"] .cx-diff .k { color: #5b3fd6; } /* 演示控制条 */ .stage__foot { display: flex; align-items: center; gap: var(--s-8); min-height: 52px; padding: var(--s-8) var(--s-16); border-top: 1px solid var(--edge); background: var(--surface-2); color: var(--muted); font-size: 13px; } .stage__foot .progress { margin-inline-start: auto; width: 120px; height: 3px; border-radius: var(--r-full); background: var(--surface-5); overflow: hidden; } .stage__foot .progress i { display: block; height: 100%; width: 0%; background: var(--accent); border-radius: inherit; transition: width 300ms linear; } .spk { display: inline-flex; align-items: center; gap: var(--s-2); } .spk i { width: 2px; border-radius: 1px; background: currentColor; animation: wave 1s var(--ease) infinite; } .spk i:nth-child(1) { height: 6px; animation-delay: 0ms; } .spk i:nth-child(2) { height: 12px; animation-delay: 120ms; } .spk i:nth-child(3) { height: 8px; animation-delay: 240ms; } .spk i:nth-child(4) { height: 14px; animation-delay: 60ms; } @keyframes wave { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } } /* ---------- 7. 标签墙(逐词点亮) ---------- */ .manifesto { padding-block: var(--s-96); } .manifesto__text { max-width: 680px; font-size: 48px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.2; color: var(--ink); } .manifesto__text .w { opacity: 0.26; transition: opacity 600ms var(--ease); } .manifesto__text .w[data-on="true"] { opacity: 1; } .manifesto__text .w[data-accent="true"][data-on="true"] { color: var(--accent); } .manifesto__foot { margin-top: var(--s-32); display: flex; align-items: center; gap: var(--s-16); color: var(--muted); font-size: 14px; } .manifesto__foot .line { flex: 1; height: 1px; background: var(--edge); } /* ---------- 8. 问题 → 方案 ---------- */ .compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16); margin-top: var(--s-48); } .compare__col { padding: var(--s-24); border-radius: var(--r-lg); border: 1px solid var(--edge); background: var(--surface); } .compare__col[data-kind="bad"] { background: var(--surface); } .compare__col[data-kind="good"] { background: var(--surface-2); border-color: var(--edge-strong); } .compare__title { display: flex; align-items: center; gap: var(--s-8); font-size: 14px; font-weight: 600; margin-bottom: var(--s-16); } .compare__title i { font-size: 18px; } .compare__col[data-kind="bad"] .compare__title i { color: var(--danger); } .compare__col[data-kind="good"] .compare__title i { color: var(--success); } .compare__list { display: grid; gap: var(--s-12); list-style: none; padding: 0; margin: 0; } .compare__list li { display: grid; grid-template-columns: 18px 1fr; gap: var(--s-8); font-size: 14px; color: var(--ink-2); line-height: 1.55; } .compare__list li i { font-size: 16px; margin-top: 2px; } .compare__col[data-kind="bad"] li i { color: var(--faint); } .compare__col[data-kind="good"] li i { color: var(--success); } /* 三个窗口的拟真(旧做法) */ .win-stack { position: relative; height: 150px; margin-bottom: var(--s-24); } .win { position: absolute; width: 62%; height: 110px; border-radius: var(--r-md); border: 1px solid var(--edge); background: var(--surface-2); padding: var(--s-8); transition: transform var(--d-reveal) var(--ease); } .win:nth-child(1) { left: 0; top: 0; transform: rotate(-3deg); } .win:nth-child(2) { right: 0; top: 16px; transform: rotate(2.5deg); } .win:nth-child(3) { left: 19%; top: 36px; transform: rotate(-1deg); } .compare__col[data-kind="bad"]:hover .win:nth-child(1) { transform: rotate(-6deg) translate(-6px, -4px); } .compare__col[data-kind="bad"]:hover .win:nth-child(2) { transform: rotate(6deg) translate(6px, 4px); } .win__bar { display: flex; gap: 4px; margin-bottom: var(--s-8); } .win__bar i { width: 6px; height: 6px; border-radius: var(--r-full); background: var(--surface-5); } .win__l { height: 5px; border-radius: 3px; background: var(--surface-4); margin-bottom: 5px; } .win__l:nth-child(3) { width: 70%; } .win__l:nth-child(4) { width: 45%; } .room-union { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8); padding: var(--s-12); border-radius: var(--r-md); border: 1px solid var(--edge-strong); background: var(--surface-3); margin-bottom: var(--s-24); height: 150px; align-content: center; } .room-union .m { display: grid; gap: var(--s-4); justify-items: center; font-family: var(--f-mono); font-size: 11px; color: var(--muted); } .room-union .m b { width: 30px; height: 30px; border-radius: var(--r-full); display: grid; place-items: center; background: var(--surface-5); color: var(--ink); font-size: 11px; } .room-union .m[data-lead="true"] b { background: var(--primary); color: var(--primary-ink); } .room-union .thread { grid-column: 1 / -1; height: 1px; background: var(--edge-strong); position: relative; margin-block: var(--s-8); } .room-union .thread::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 900ms var(--ease) 200ms; } .compare__col[data-kind="good"]:hover .room-union .thread::after, .reveal.is-in .compare__col[data-kind="good"] .room-union .thread::after { transform: scaleX(1); } /* ---------- 9. 能力卡 ---------- */ .features { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-16); margin-top: var(--s-48); } .feat { border-radius: var(--r-lg); border: 1px solid var(--edge); background: var(--surface); overflow: hidden; display: grid; grid-template-rows: 200px auto; transition: border-color var(--d-base) var(--ease), transform var(--d-base) var(--ease), background-color var(--d-base) var(--ease); } .feat:hover { border-color: var(--edge-strong); transform: translateY(-3px); background: var(--surface-2); } .feat__art { position: relative; border-bottom: 1px solid var(--edge); background: var(--surface-2); overflow: hidden; } .feat__text { padding: var(--s-24); display: grid; gap: var(--s-8); align-content: start; } .feat__text h3 { font-size: 20px; font-weight: 600; } .feat__text p { color: var(--muted); font-size: 14px; line-height: 1.6; } .feat__tag { font-family: var(--f-mono); font-size: 11px; color: var(--faint); letter-spacing: 0.08em; } /* 艺术图 1:多人在同一房间 */ .art-room { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8); padding: var(--s-16); height: 100%; } .art-room .p { display: grid; gap: var(--s-8); justify-items: center; align-content: center; border-radius: var(--r-md); background: var(--surface-3); padding: var(--s-8); } .art-room .p b { width: 36px; height: 36px; border-radius: var(--r-full); display: grid; place-items: center; font-size: 12px; background: var(--surface-5); color: var(--ink-2); transition: transform var(--d-base) var(--ease), background-color var(--d-base) var(--ease); } .art-room .p[data-lead="true"] b { background: var(--primary); color: var(--primary-ink); } .art-room .p span { font-family: var(--f-mono); font-size: 10px; color: var(--muted); } .art-room .p em { font-size: 10px; color: var(--faint); font-style: normal; } .feat:hover .art-room .p b { transform: translateY(-2px); } .feat:hover .art-room .p:nth-child(2) b { transition-delay: 60ms; } .feat:hover .art-room .p:nth-child(3) b { transition-delay: 120ms; } .art-room .link { position: absolute; inset: 0; pointer-events: none; } /* 艺术图 2:运行态流水 */ .art-trace { padding: var(--s-16); display: grid; gap: var(--s-4); align-content: center; font-family: var(--f-mono); font-size: 11.5px; } .art-trace .r { display: grid; grid-template-columns: 14px 1fr auto; gap: var(--s-8); align-items: center; color: var(--muted); padding: 3px 0; } .art-trace .r i { font-size: 12px; } .art-trace .r .ok { color: var(--success); } .art-trace .r .run { color: var(--accent); } .art-trace .r .tm { color: var(--faint); } .art-trace .r:nth-child(even) { opacity: 0.85; } /* 艺术图 3:成果归档 */ .art-archive { padding: var(--s-16); display: grid; gap: var(--s-8); align-content: center; } .art-archive .f { display: grid; grid-template-columns: 26px 1fr auto; gap: var(--s-8); align-items: center; padding: var(--s-8); border-radius: var(--r-sm); background: var(--surface-3); font-size: 12px; transition: transform var(--d-base) var(--ease); } .art-archive .f i.ph { font-size: 18px; color: var(--accent); } .art-archive .f .nm { font-family: var(--f-mono); color: var(--ink-2); } .art-archive .f .vd { font-family: var(--f-mono); font-size: 10px; color: var(--faint); } .feat:hover .art-archive .f:nth-child(2) { transform: translateX(4px); transition-delay: 60ms; } .feat:hover .art-archive .f:nth-child(3) { transform: translateX(8px); transition-delay: 120ms; } /* 艺术图 4:回环检测 */ .art-loop { padding: var(--s-16); display: grid; gap: var(--s-8); align-content: center; height: 100%; } .art-loop .b { max-width: 80%; padding: 6px var(--s-8); border-radius: var(--r-sm); font-size: 11px; font-family: var(--f-mono); background: var(--surface-3); color: var(--muted); } .art-loop .b[data-side="r"] { justify-self: end; } .art-loop .cut { justify-self: center; display: inline-flex; align-items: center; gap: var(--s-4); margin-top: var(--s-4); padding: 2px var(--s-8); border-radius: var(--r-full); background: var(--danger-soft); color: var(--danger); font-size: 11px; font-family: var(--f-mono); } /* ---------- 10. 如何运作 ---------- */ .steps { display: grid; gap: 0; margin-top: var(--s-48); } .step { display: grid; grid-template-columns: 96px 1fr; gap: var(--s-24); padding-block: var(--s-32); border-top: 1px solid var(--edge); transition: background-color var(--d-base) var(--ease); } .step:last-child { border-bottom: 1px solid var(--edge); } .step__n { font-family: var(--f-mono); font-size: 14px; color: var(--faint); padding-top: 2px; } .step__n b { color: var(--accent); font-weight: 500; } .step__body { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-32); align-items: start; } .step h3 { font-size: 24px; font-weight: 600; } .step p { color: var(--muted); font-size: 15px; margin-top: var(--s-8); line-height: 1.65; } .step__demo { border-radius: var(--r-md); border: 1px solid var(--edge); background: var(--surface-2); padding: var(--s-12); font-size: 13px; color: var(--ink-2); font-family: var(--f-mono); min-height: 96px; display: grid; align-content: center; gap: var(--s-8); } .step__demo .row { display: flex; align-items: center; gap: var(--s-8); } .step__demo .row i { color: var(--accent); } .step__demo .chip { padding: 1px var(--s-8); border-radius: var(--r-sm); background: var(--surface-4); font-size: 12px; } .step__demo .chip[data-on="true"] { background: var(--primary); color: var(--primary-ink); } .step__demo .dim { color: var(--faint); } .step__demo .caret-sm { width: 6px; height: 1em; background: var(--accent); display: inline-block; translate: 0 2px; animation: caret 1s steps(1) infinite; } /* ---------- 11. 实验室(Codex 级输出) ---------- */ .lab { background: var(--surface); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); } .lab__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-16); margin-top: var(--s-48); } .lab__panel { border-radius: var(--r-lg); border: 1px solid var(--edge); background: var(--canvas); display: grid; grid-template-rows: auto 1fr; overflow: hidden; min-height: 320px; } .lab__panel > header { display: flex; align-items: center; gap: var(--s-8); padding: var(--s-12) var(--s-16); border-bottom: 1px solid var(--edge); font-size: 13px; color: var(--muted); } .lab__panel > header i { color: var(--accent); font-size: 16px; } .lab__panel > header .replay { margin-inline-start: auto; } .lab__panel > .body { padding: var(--s-16); overflow: hidden; } .lab__panel--wide { grid-column: 1 / -1; } .lab__note { margin-top: var(--s-16); color: var(--faint); font-size: 13px; display: flex; gap: var(--s-8); align-items: center; } /* 终端风打字(实验室 1) */ .term { font-family: var(--f-mono); font-size: 13px; line-height: 1.7; color: var(--ink-2); white-space: pre-wrap; min-height: 180px; } .term .u { color: var(--accent); } .term .c { color: var(--faint); } /* 步骤流(实验室 2) */ .steps-flow { display: grid; gap: var(--s-2); } .steps-flow .cx-tool { background: var(--surface); } /* 思考(实验室 3) */ .reason { display: grid; gap: var(--s-12); } .reason__meta { display: flex; align-items: center; gap: var(--s-8); font-family: var(--f-mono); font-size: 12px; color: var(--muted); } .reason__text { font-size: 13px; line-height: 1.75; color: var(--muted); white-space: pre-wrap; min-height: 120px; } .reason__text em { color: var(--ink-2); font-style: normal; } /* diff(实验室 4) */ /* ---------- 12. 产品预览(可点) ---------- */ .preview { padding-block: var(--s-96); } .preview__shell { margin-top: var(--s-48); display: grid; grid-template-columns: 1fr 280px; gap: var(--s-24); align-items: start; } .device-desktop { border-radius: var(--r-lg); border: 1px solid var(--edge-strong); background: var(--surface); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); height: 560px; display: grid; grid-template-rows: 36px 1fr; } .dd__bar { display: flex; align-items: center; gap: var(--s-8); padding-inline: var(--s-12); border-bottom: 1px solid var(--edge); background: var(--surface-2); } .urlbar { flex: 1; max-width: 320px; height: 22px; margin-inline: auto; display: flex; align-items: center; gap: var(--s-4); padding-inline: var(--s-8); border-radius: var(--r-full); background: var(--surface-4); font-family: var(--f-mono); font-size: 11px; color: var(--muted); } .urlbar i { font-size: 11px; color: var(--success); } .dd__app { display: grid; grid-template-columns: 56px minmax(160px, 200px) minmax(0, 1fr); min-height: 0; } .appnav { border-right: 1px solid var(--edge); background: var(--surface-2); display: grid; align-content: start; gap: var(--s-4); padding: var(--s-8) 6px; } .appnav button { height: 40px; border-radius: var(--r-md); display: grid; place-items: center; color: var(--muted); font-size: 18px; transition: background-color var(--d-micro) var(--ease), color var(--d-micro) var(--ease); } .appnav button:hover { color: var(--ink); background: var(--surface-3); } .appnav button[aria-selected="true"] { color: var(--ink); background: var(--surface-4); } .applist { border-right: 1px solid var(--edge); display: grid; grid-template-rows: auto 1fr; min-height: 0; min-width: 0; } .applist__head { padding: var(--s-12); display: grid; gap: var(--s-8); border-bottom: 1px solid var(--edge); } .applist__head h4 { font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; } .applist__head h4 span { font-family: var(--f-mono); font-size: 11px; color: var(--faint); font-weight: 400; } .applist__head h4 .acts { display: flex; gap: var(--s-2); } .applist__head h4 .acts button { width: 22px; height: 22px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--muted); font-size: 14px; } .applist__head h4 .acts button:hover { background: var(--surface-3); color: var(--ink); } .search { height: 30px; border-radius: var(--r-sm); border: 1px solid var(--edge); background: var(--surface-2); display: flex; align-items: center; gap: var(--s-4); padding-inline: var(--s-8); font-size: 12px; color: var(--faint); } .search i { font-size: 13px; } .applist__items { overflow-y: auto; padding: var(--s-4); display: grid; align-content: start; gap: var(--s-2); } .applist__items::-webkit-scrollbar { width: 6px; } .applist__items::-webkit-scrollbar-thumb { background: var(--surface-5); border-radius: 3px; } .li { width: 100%; text-align: left; display: grid; grid-template-columns: 30px 1fr auto; gap: var(--s-8); align-items: center; padding: var(--s-8); border-radius: var(--r-sm); transition: background-color var(--d-micro) var(--ease); } .li:hover { background: var(--surface-3); } .li[aria-current="true"] { background: var(--surface-4); } .li__av { width: 30px; height: 30px; border-radius: var(--r-full); display: grid; place-items: center; font-size: 11px; font-weight: 600; background: var(--surface-5); color: var(--ink-2); } .li__av[data-lead="true"] { background: var(--primary); color: var(--primary-ink); } .li__t { min-width: 0; } .li__t b { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .li__t span { display: block; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .li__m { display: grid; justify-items: end; gap: 2px; } .li__m time { font-family: var(--f-mono); font-size: 10px; color: var(--faint); } .li__m em { min-width: 16px; height: 16px; padding-inline: 4px; border-radius: var(--r-full); background: var(--accent); color: #fff; font-size: 10px; font-style: normal; display: grid; place-items: center; } .li__av[data-on] { position: relative; } .li__av[data-on]::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: var(--r-full); background: var(--success); border: 2px solid var(--surface); } .appmain { display: grid; grid-template-rows: 44px 1fr auto; min-height: 0; min-width: 0; overflow: hidden; background: var(--canvas); } .appmain__head { display: flex; align-items: center; gap: var(--s-8); padding-inline: var(--s-16); border-bottom: 1px solid var(--edge); } .appmain__head b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .appmain__head { min-width: 0; } .appmain__head .pill { flex-shrink: 0; } .appmain__head .pill { height: 20px; font-size: 10px; } .appmain__head .acts { margin-inline-start: auto; display: flex; gap: var(--s-2); } .appmain__head .acts button { width: 28px; height: 28px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--muted); font-size: 15px; } .appmain__head .acts button:hover { background: var(--surface-3); color: var(--ink); } .appmain__body { overflow-y: auto; overflow-x: hidden; padding: var(--s-16); display: grid; align-content: start; gap: var(--s-12); min-width: 0; } .appmain__body * { overflow-wrap: anywhere; } .appmain__body::-webkit-scrollbar { width: 6px; } .appmain__body::-webkit-scrollbar-thumb { background: var(--surface-5); border-radius: 3px; } .composer { margin: var(--s-8) var(--s-16) var(--s-12); border-radius: var(--r-md); border: 1px solid var(--edge); background: var(--surface-2); padding: var(--s-8) var(--s-8) var(--s-4); } .composer textarea { width: 100%; resize: none; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: var(--f-sans); font-size: 13px; line-height: 1.5; min-height: 40px; padding: var(--s-4); } .composer textarea::placeholder { color: var(--faint); } .composer__bar { display: flex; align-items: center; gap: var(--s-4); } .composer__bar button { width: 26px; height: 26px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--muted); font-size: 14px; } .composer__bar button:hover { background: var(--surface-3); color: var(--ink); } .composer__bar .send { margin-inline-start: auto; width: 30px; height: 26px; border-radius: var(--r-sm); background: var(--primary); color: var(--primary-ink); } .composer__bar .send:disabled { opacity: 0.35; } /* 内部视图:成果 / 运行态 / 任务 */ .view { display: grid; gap: var(--s-8); } .view__title { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: var(--s-8); } .view__title .pill { margin-inline-start: auto; } .file-row { display: grid; grid-template-columns: 24px 1fr auto; gap: var(--s-8); align-items: center; padding: var(--s-8); border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--edge); } .file-row i { font-size: 17px; color: var(--accent); } .file-row b { font-family: var(--f-mono); font-size: 12px; font-weight: 400; color: var(--ink); } .file-row span { font-size: 11px; color: var(--faint); } .file-row button { font-size: 14px; color: var(--muted); } .file-row button:hover { color: var(--ink); } .metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-8); } .metric { border: 1px solid var(--edge); border-radius: var(--r-md); background: var(--surface-2); padding: var(--s-12); } .metric span { font-size: 11px; color: var(--muted); display: block; } .metric b { font-family: var(--f-mono); font-size: 20px; font-weight: 500; display: block; margin-top: var(--s-4); } .metric em { font-style: normal; font-size: 11px; color: var(--success); font-family: var(--f-mono); } .metric em[data-down="true"] { color: var(--danger); } .board { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8); } .col { display: grid; gap: var(--s-8); align-content: start; } .col__h { font-size: 11px; color: var(--muted); font-family: var(--f-mono); display: flex; justify-content: space-between; } .tcard { border: 1px solid var(--edge); border-radius: var(--r-sm); background: var(--surface-2); padding: var(--s-8); font-size: 11.5px; display: grid; gap: var(--s-4); } .tcard b { font-weight: 500; color: var(--ink); font-size: 12px; } .tcard span { color: var(--faint); font-family: var(--f-mono); font-size: 10px; } .tcard .tag { justify-self: start; padding: 0 var(--s-4); border-radius: 4px; background: var(--surface-4); font-size: 10px; } /* 手机样机 */ .phone { width: 280px; height: 560px; margin-inline: auto; border-radius: 40px; padding: 10px; background: var(--surface-4); border: 1px solid var(--edge-strong); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 30px 60px -30px rgba(0, 0, 0, 0.8); } .phone__screen { height: 100%; border-radius: 31px; overflow: hidden; background: var(--canvas); display: grid; grid-template-rows: auto 1fr auto; position: relative; } .phone__status { display: flex; justify-content: space-between; padding: 10px var(--s-16) 0; font-size: 10px; font-family: var(--f-mono); color: var(--ink-2); } .phone__nav { display: flex; align-items: center; justify-content: space-between; padding: var(--s-8) var(--s-16); font-size: 14px; font-weight: 600; } .phone__body { overflow-y: auto; padding: 0 var(--s-12) var(--s-8); display: grid; gap: var(--s-8); align-content: start; } .phone__body::-webkit-scrollbar { display: none; } .phone__tabs { margin: var(--s-4) var(--s-8) var(--s-8); height: 52px; border-radius: var(--r-full); background: var(--surface-4); display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 0 var(--s-4); } .phone__tabs button { display: grid; place-items: center; gap: 1px; font-size: 9px; color: var(--faint); } .phone__tabs button i { font-size: 18px; } .phone__tabs button[aria-selected="true"] { color: var(--ink); } .pcard { border: 1px solid var(--edge); border-radius: var(--r-md); background: var(--surface-2); padding: var(--s-12); display: grid; gap: var(--s-4); } .pcard b { font-size: 12px; } .pcard span { font-size: 11px; color: var(--muted); } .pcard .row { display: flex; gap: var(--s-4); } .pcard .row em { font-size: 10px; font-style: normal; font-family: var(--f-mono); padding: 0 var(--s-4); border-radius: 4px; background: var(--surface-4); color: var(--ink-2); } .phone__hint { text-align: center; color: var(--faint); font-size: 12px; margin-top: var(--s-16); font-family: var(--f-mono); } /* ---------- 13. 数字 ---------- */ .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-24); margin-top: var(--s-48); } .stat { display: grid; gap: var(--s-4); } .stat b { font-family: var(--f-mono); font-size: 48px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; } .stat span { color: var(--muted); font-size: 14px; } .stat em { font-style: normal; color: var(--accent); font-size: 14px; font-family: var(--f-mono); } /* ---------- 14. FAQ ---------- */ .faq { display: grid; gap: 0; margin-top: var(--s-48); border-top: 1px solid var(--edge); } .faq details { border-bottom: 1px solid var(--edge); } .faq summary { display: flex; align-items: center; gap: var(--s-16); padding: var(--s-24) 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; transition: color var(--d-micro) var(--ease); } .faq summary::-webkit-details-marker { display: none; } .faq summary:hover { color: var(--accent); } .faq summary i { margin-inline-start: auto; font-size: 18px; color: var(--muted); transition: transform var(--d-base) var(--ease); } .faq details[open] summary i { transform: rotate(45deg); } .faq details > p { padding: 0 0 var(--s-24); color: var(--muted); font-size: 15px; max-width: 720px; line-height: 1.7; } /* ---------- 15. 页尾 CTA / 页脚 ---------- */ .final { text-align: center; padding-block: var(--s-96); } .final h2 { font-size: 48px; letter-spacing: -0.04em; } .final p { margin-top: var(--s-16); color: var(--muted); font-size: 18px; } .final .hero__cta { margin-top: var(--s-32); } .footer { border-top: 1px solid var(--edge); padding-block: var(--s-48); } .footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-32); } .footer h5 { font-size: 13px; font-weight: 600; margin-bottom: var(--s-12); color: var(--ink); } .footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-8); } .footer a { color: var(--muted); font-size: 14px; transition: color var(--d-micro) var(--ease); } .footer a:hover { color: var(--ink); } .footer__brand p { color: var(--muted); font-size: 14px; margin-top: var(--s-12); max-width: 280px; } .footer__bottom { margin-top: var(--s-48); padding-top: var(--s-24); border-top: 1px solid var(--edge); display: flex; justify-content: space-between; gap: var(--s-16); flex-wrap: wrap; color: var(--faint); font-size: 13px; } /* ---------- 16. 通用交互残留 ---------- */ .reveal { opacity: 0; transform: translateY(32px); } .reveal.is-in { opacity: 1; transform: none; transition: opacity var(--d-reveal) var(--ease), transform var(--d-reveal) var(--ease); } @keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 6px transparent; } } .toast-area { position: fixed; right: var(--s-24); bottom: var(--s-24); z-index: 60; display: grid; gap: var(--s-8); } .toast { display: flex; align-items: center; gap: var(--s-8); padding: var(--s-12) var(--s-16); border-radius: var(--r-md); background: var(--surface-4); border: 1px solid var(--edge-strong); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); font-size: 14px; animation: msgIn 300ms var(--ease) both; } .toast i { color: var(--success); } /* ---------- 17. 响应式 ---------- */ @media (max-width: 1024px) { :root { --gutter: 20px; } h1.hero__title { font-size: 48px; } .manifesto__text { font-size: 36px; } h2.h2, .final h2 { font-size: 30px; } .preview__shell { grid-template-columns: 1fr; justify-items: center; } .device-desktop { width: 760px; zoom: calc(min(100%, 760px) / 760); } .stats { grid-template-columns: repeat(2, 1fr); } .stage__body { grid-template-columns: 1fr; } .stage__side { display: none; } } @media (max-width: 768px) { section { padding-block: var(--s-64); } .hero { padding-top: calc(var(--nav-h) + var(--s-64)); } h1.hero__title { font-size: 36px; letter-spacing: -0.035em; } .hero__sub, .lede { font-size: 16px; } .manifesto__text { font-size: 30px; } h2.h2, .final h2 { font-size: 24px; } .nav__links { display: none; } .nav__toggle { display: grid; } .nav[data-scrolled="false"] { background: color-mix(in srgb, var(--canvas) 66%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--edge); } .nav { border-color: var(--edge); } .nav__actions .btn--primary { display: none; } .compare, .features, .lab__grid, .step__body { grid-template-columns: 1fr; } .footer__grid { grid-template-columns: 1fr 1fr; } .stage__bar .dots { display: none; } .timeline { padding: var(--s-8) var(--s-12) var(--s-16); } .cx-diff { font-size: 11px; } .step { grid-template-columns: 1fr; gap: var(--s-16); } .stats { gap: var(--s-16); } .stat b { font-size: 36px; } .toast-area { left: var(--s-16); right: var(--s-16); bottom: var(--s-16); } } @media (max-width: 420px) { h1.hero__title { font-size: 30px; } .manifesto__text { font-size: 24px; } } /* ---------- 18. 动效降级 ---------- */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; } .reveal { opacity: 1; transform: none; } .manifesto__text .w { opacity: 1; } .caret, .caret-sm { display: none; } .menu a { opacity: 1; transform: none; } }