@font-face { font-family: "Noto Sans SC"; src: url("assets/fonts/NotoSansSC-Regular.woff2?v=20261011") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("assets/fonts/NotoSansSC-Bold.woff2?v=20261011") format("woff2"); font-weight: 700; font-display: swap; }
/* Native CSS, inspired by 21obsidian.com, retaining the LawFlow palette. */
:root { color-scheme: light dark; --page: #f6f4ee; --surface: #fdfcf8; --surface-strong: #eae6da; --ink: #1c1a16; --muted: #6d675c; --accent: #356a53; --accent-deep: #2a5541; --accent-soft: #d9e3d8; --on-accent: #faf8f2; --line: rgba(28,26,22,.15); --shadow: 0 16px 48px rgba(46,38,30,.09); --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --radius: 16px; --ease-out: cubic-bezier(.22,.61,.36,1); --ease-inout: cubic-bezier(.65,0,.35,1); }
@media (prefers-color-scheme: dark) { :root { --page: #151310; --surface: #1e1a15; --surface-strong: #2a231b; --ink: #f0ece2; --muted: #a89f90; --accent: #8fb8a1; --accent-deep: #a2c6b2; --accent-soft: #2a4034; --on-accent: #14100c; --line: rgba(240,236,226,.14); --shadow: 0 16px 48px rgba(0,0,0,.3); } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure, p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.35; letter-spacing: -.035em; }
h2 { font-size: clamp(30px,3.25vw,46px); }
h3 { font-size: clamp(23px,2.25vw,30px); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
section[id], article[id] { scroll-margin-top: 104px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 40; padding: 12px 20px; background: var(--ink); color: var(--page); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.section { width: min(1120px,calc(100% - 64px)); margin-inline: auto; padding-block: 100px; }
.section-intro { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.section-intro > p:not(.eyebrow) { color: var(--muted); max-width: 650px; margin: 18px auto 0; }
.header-sentinel { position: absolute; top: 0; width: 1px; height: 1px; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 76px; padding-inline: max(32px,calc((100% - 1280px) / 2)); border-bottom: 1px solid var(--line); background: var(--surface); transition: height .35s var(--ease-inout),box-shadow .35s ease; }
.site-header.is-scrolled { height: 64px; box-shadow: 0 4px 20px rgba(28,26,22,.06); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; white-space: nowrap; }
.site-nav a { color: var(--muted); }
.site-nav a:hover, .footer-nav a:hover { color: var(--accent); }
.site-nav .nav-cta { color: var(--on-accent); background: var(--accent); border-radius: 8px; padding: 9px 24px; font-weight: 700; }
.site-nav .nav-cta:hover { background: var(--accent-deep); }
.menu-button { display: none; border: 0; background: transparent; padding: 12px; cursor: pointer; }
.menu-button > span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 5px 0; background: var(--ink); }
.hero { width: min(1120px,calc(100% - 64px)); margin: 0 auto; padding: 72px 0 42px; }
.hero-copy { margin-bottom: 54px; }
.eyebrow { margin-bottom: 20px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.hero h1 { font-size: clamp(40px,4.75vw,68px); line-height: 1.3; }
.line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line-inner { display: inline-block; }
.hero h1 > span:not(.line), .hero h1 .line-inner > span, .privacy h2 > span, .closing h2 > span:not(.line), .closing h2 .line-inner > span { color: var(--accent); }
.hero-intro { color: var(--muted); font-size: 18px; margin-top: 22px; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 11px 25px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .2s,transform .2s,border-color .2s; }
a.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--on-accent); }
.button-primary:hover { background: var(--accent-deep); }
.button-secondary { background: var(--surface); border-color: var(--line); }
a.button-secondary:hover { border-color: var(--accent); }
.hero-media img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transform: perspective(1400px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition: transform .55s var(--ease-out); }
.hero-media figcaption { margin-top: 17px; color: var(--muted); font-size: 13px; text-align: center; }
.mobile-break { display: none; }
.capabilities { padding-top: 80px; }
.product-explorer { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.product-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 18px; border-bottom: 1px solid var(--line); }
.product-tab { display: flex; justify-content: center; align-items: center; border-radius: 8px; padding: 11px 22px; color: var(--muted); font-size: 14px; font-weight: 700; text-align: center; transition: background .2s,color .2s; }
.product-tab:hover { background: var(--page); color: var(--ink); }
.product-tab[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.product-panel { padding: 40px 40px 0; }
.panel-copy { text-align: center; max-width: 700px; margin: 0 auto 30px; }
.panel-copy p { color: var(--muted); margin-top: 14px; font-size: 15px; }
.product-panel figure { max-width: 950px; margin: 0 auto; padding: 12px 12px 0; background: var(--accent-soft); border-radius: 12px 12px 0 0; }
.product-panel img { width: 100%; border-radius: 6px 6px 0 0; }
/* 移动随行：五张手机截图并排，窄屏自动换行 */
.product-panel figure.panel-phones { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 16px; padding: 30px 12px; }
.panel-phones img { width: min(168px, 30vw); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.more-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; margin-top: 40px; }
.more-strip > div { padding: 4px 24px 4px 0; }
.more-strip > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.more-strip h3 { font-size: 20px; }
.more-strip p { color: var(--muted); font-size: 14px; margin-top: 12px; }
.workflow { padding-block: 24px 100px; }
.workflow-inner { padding: 58px 48px; background: color-mix(in srgb,var(--accent-soft) 45%,var(--page)); border: 1px solid var(--line); border-radius: var(--radius); }
.workflow .section-intro { margin-bottom: 45px; }
.workflow-steps { list-style: none; display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; padding: 0; margin: 0; counter-reset: step; }
.workflow-steps li { counter-increment: step; position: relative; }
.workflow-steps li::before { content: "0" counter(step); display: block; color: var(--accent); font-size: 28px; margin-bottom: 18px; font-weight: 700; }
.workflow-steps strong { display: block; font-size: 18px; }
.workflow-steps p { color: var(--muted); font-size: 14px; margin-top: 9px; }
.privacy { padding-block: 50px 100px; }
.privacy-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 100px; align-items: center; }
.privacy-statement p { max-width: 480px; color: var(--muted); margin-top: 24px; }
.privacy-facts { margin: 0; }
.privacy-facts > div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.privacy-facts dt { color: var(--accent); font-weight: 700; }
.privacy-facts dd { margin: 0; color: var(--muted); font-size: 14px; align-self: center; }
.vision { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 80px; padding-block: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vision h2 { font-size: clamp(28px,2.6vw,38px); }
.vision-copy p { max-width: 510px; color: var(--muted); margin-top: 22px; }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 24px; }
.platforms > span { color: var(--accent); font-size: 20px; font-weight: 700; }
.platforms small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); text-align: center; }
.download { padding-block: 100px; }
.download-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.download-card { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.download-platform { color: var(--accent); font-size: 16px; font-weight: 700; }
.download-card h3 { margin-top: 22px; font-size: 26px; }
.download-card p { color: var(--muted); font-size: 14px; margin-top: 12px; margin-bottom: 36px; }
.download-card .button { margin-top: auto; width: 100%; color: var(--muted); cursor: not-allowed; font-weight: 400; }
.download-card.is-pending { background: transparent; border-style: dashed; }
.download-card.is-pending .download-platform { color: var(--muted); }
.closing { text-align: center; padding: 60px 24px 110px; }
.closing h2 { font-size: clamp(32px,3.5vw,50px); line-height: 1.5; }
footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center; padding: 30px max(32px,calc((100% - 1280px) / 2)); border-top: 1px solid var(--line); background: var(--surface); }
.footer-nav { display: flex; gap: 24px; color: var(--muted); font-size: 13px; }
footer > p { justify-self: end; color: var(--muted); font-size: 12px; }
/* 备案号（占位注释在 index.html 页脚）：备案号下来后取消注释即生效 */
footer > .beian { grid-column: 1 / -1; justify-self: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 12px; color: var(--muted); }
.beian a { color: var(--muted); text-decoration: none; }
.beian a:hover { color: var(--accent); }
/* ===== 动效系统：参考 lawtools.top 的收敛版——全部走 opacity/transform 合成层，无 JS / 减少动态效果时页面完整可读 ===== */
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 40; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
/* 顶栏滚动后收窄并淡化为毛玻璃 */
.site-header { transition: height .35s var(--ease-inout),background-color .35s ease,box-shadow .35s ease; }
.site-header.is-scrolled { background: color-mix(in srgb,var(--surface) 82%,transparent); -webkit-backdrop-filter: blur(14px) saturate(1.05); backdrop-filter: blur(14px) saturate(1.05); }
/* 按钮：箭头滑动 + 按压回弹 */
.button { transition: background .25s ease,transform .25s ease,border-color .25s ease; }
a.button:active { transform: translateY(0) scale(.97); }
.button-primary span { display: inline-block; transition: transform .3s var(--ease-out); }
a.button-primary:hover span { transform: translate(2px,-2px); }
/* 汉堡按钮变叉 */
.menu-button > span:not(.sr-only) { transition: transform .3s var(--ease-out); }
.menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
/* 导航文字：悬停上滑露出强调色副本（lawtools 同款文字滚动） */
.nav-roll { display: block; height: 1.5em; overflow: hidden; }
.nav-roll > span { display: flex; flex-direction: column; line-height: 1.5; transition: transform .38s var(--ease-inout); }
.nav-roll > span::after { content: attr(data-text); color: var(--accent); }
.site-nav a:hover .nav-roll > span, .site-nav a:focus-visible .nav-roll > span { transform: translateY(-50%); }
/* 产品选项卡：滑动墨线（位置由 JS 计算） */
.product-tabs { position: relative; }
.tab-ink { position: absolute; top: 40px; left: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--accent); opacity: 0; pointer-events: none; transform-origin: left center; }
/* 下载卡片：悬浮轻抬 + 柔光跟随（--mx/--my 由 JS 写入） */
.download-card { position: relative; transition: transform .35s var(--ease-out),border-color .25s ease,box-shadow .35s ease; }
.download-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(240px circle at var(--mx,50%) var(--my,50%), color-mix(in srgb,var(--accent-soft) 60%,transparent), transparent 70%); opacity: 0; }
.download-card:not(.is-pending):hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
/* Keep content visible without JS, then progressively enhance reveals. */
@media (prefers-reduced-motion: no-preference) {
.motion-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out),transform .7s var(--ease-out); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }
/* 标题逐行升起：JS 按 <br> 拆出 .line > .line-inner，入场时逐行从遮罩滑出 */
.motion-ready .is-split .line-inner { display: block; transform: translateY(115%); transition: transform .9s var(--ease-out); }
.motion-ready .is-split.is-visible .line-inner { transform: translateY(0); }
/* 首屏 eyebrow/导语/按钮/截图由 reveal + JS 兄弟错峰覆盖 */
/* 产品选项卡：墨线滑动 + 面板轻过渡 */
.tab-ink { transition: transform .4s var(--ease-out),width .4s var(--ease-out),top .4s var(--ease-out),opacity .3s ease; }
.tab-ink.is-on { opacity: 1; }
.motion-ready .product-panel.enter { opacity: 0; transform: translateY(12px); }
.motion-ready .product-panel.enter.in { opacity: 1; transform: none; transition: opacity .32s ease,transform .45s var(--ease-out); }
/* 下载卡片柔光随指针亮起 */
.download-card:hover::after { opacity: .85; transition: opacity .3s ease; }
/* 工作步骤编号：描边空心 → 该行入场后填实 */
.motion-ready .workflow-steps li::before { color: transparent; -webkit-text-stroke: 1.2px var(--accent); transition: color .6s ease .2s; }
.motion-ready .workflow-steps li.is-visible::before { color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button,.product-tab,.site-header,.nav-roll > span,.download-card,.hero-media img,.menu-button > span { transition: none; } }
@media (max-width: 980px) {
.hero h1 { font-size: clamp(40px,6.5vw,60px); }
.privacy-grid,.vision { gap: 40px; }
.privacy-facts > div { grid-template-columns: 1fr; gap: 6px; }
.download-card { padding: 24px; }
.product-tab { padding-inline: 16px; }
}
@media (max-width: 700px) {
.section,.hero { width: calc(100% - 40px); }
.section { padding-block: 64px; }
.site-header { height: 68px; padding-inline: 20px; }
.site-header.is-scrolled { height: 58px; }
.menu-button { display: block; }
.site-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; padding: 16px 20px 24px; flex-direction: column; align-items: stretch; gap: 4px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.site-nav.is-open { display: flex; }
.site-nav a { padding: 12px; }
.site-nav .nav-cta { text-align: center; margin-top: 8px; }
.hero { padding-top: 48px; padding-bottom: 0; }
.hero-copy { margin-bottom: 36px; }
.hero h1 { font-size: clamp(32px,8.5vw,48px); }
.hero-intro { font-size: 15px; line-height: 1.9; margin-top: 18px; }
.mobile-break { display: block; }
.eyebrow { font-size: 12px; }
.hero-actions { margin-top: 24px; }
.hero-media img { border-radius: 10px; }
.hero-media figcaption { font-size: 12px; margin-top: 13px; }
.section-intro { margin-bottom: 28px; }
.section-intro h2 { font-size: 28px; }
.section-intro > p:not(.eyebrow) { font-size: 14px; }
.product-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px; }
.tab-ink { display: none; }
.product-tab { padding: 10px 6px; font-size: 13px; }
.product-panel { padding: 24px 16px 0; }
.panel-copy h3 { font-size: 22px; }
.panel-copy p { font-size: 13px; }
.product-panel figure { padding: 6px 6px 0; border-radius: 8px 8px 0 0; }
.more-strip { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
.more-strip > div,.more-strip > div + div { padding: 0 0 0 16px; border: 0; border-left: 2px solid var(--line); }
.more-strip p { margin-top: 8px; }
.workflow { padding-top: 0; }
.workflow-inner { padding: 32px 22px; }
.workflow-steps { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.workflow-steps li::before { margin-bottom: 10px; font-size: 24px; }
.privacy { padding-top: 12px; }
.privacy-grid,.vision { grid-template-columns: 1fr; gap: 28px; }
.privacy-facts > div { grid-template-columns: 100px 1fr; padding-block: 18px; }
.privacy h2 { font-size: 30px; }
.privacy-statement p,.vision-copy p { font-size: 14px; }
.platforms { justify-content: flex-start; }
.download-grid { grid-template-columns: 1fr; }
.download-card { padding: 28px; }
.download-card h3 { margin-top: 14px; }
.download-card p { margin-bottom: 24px; }
.closing { padding-block: 8px 64px; }
.closing h2 { font-size: 28px; }
footer { grid-template-columns: 1fr; gap: 24px; padding-inline: 20px; }
.footer-nav { flex-wrap: wrap; gap: 16px 24px; }
footer > p { justify-self: start; }
}
