:root {
  color-scheme: light;
  --dawn: #e8edf3;
  --glass: #ffffff;
  --ink: #1f2a44;
  --dusk: #5c6880;
  --sun: #f4b860;
  --line: #d3dae4;
  --bubble: #eef2f7;
  --gutter: clamp(20px, 5.5vw, 96px);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--dawn);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p, ol, ul, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.hero-band { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; border-radius: 6px; }
.skip { position: fixed; z-index: 9; top: -100px; left: 16px; background: var(--glass); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1200px); margin-inline: auto; }

/* 顶栏 */
.nav { display: flex; align-items: center; gap: 40px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand span { font-size: 1.3rem; font-weight: 500; letter-spacing: .01em; }
.nav-links { display: flex; gap: 30px; margin-right: auto; }
.nav-links a { font-size: .94rem; color: var(--dusk); padding-block: 8px; }
.nav-links a:hover, .nav-links a[aria-current=page] { color: var(--ink); }
.nav-links a[aria-current=page] { box-shadow: inset 0 -2px var(--sun); }

/* 按钮 */
.pill { display: inline-flex; align-items: center; padding: 13px 28px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .98rem; transition: background .2s; }
.pill:hover { background: #33405f; }
.pill-small { padding: 9px 18px; font-size: .88rem; }
.quiet-link { font-size: .98rem; color: var(--dusk); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--line); }
.quiet-link:hover { color: var(--ink); text-decoration-color: currentColor; }

/* 首屏 */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(40px, 6vw, 88px) clamp(72px, 9vw, 128px); }
h1 { font-size: clamp(2.2rem, 3.7vw, 3.6rem); font-weight: 300; line-height: 1.3; letter-spacing: .02em; }
.lead { margin-top: 26px; max-width: 30em; font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.9; color: var(--dusk); }
.actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.note { margin-top: 22px; font-size: .86rem; color: var(--dusk); }

/* 拱窗对话框：整页唯一的视觉重点 */
.window { position: relative; justify-self: center; width: min(100%, 430px); }
.hero { isolation: isolate; }
.window::before { content: ''; position: absolute; z-index: -1; inset: 30% -30% -16% -34%; background: radial-gradient(closest-side, rgba(244,184,96,.75), rgba(244,184,96,.25) 55%, rgba(244,184,96,0)); }
.window-glass { position: relative; display: flex; flex-direction: column; height: 560px; padding: 120px 22px 22px; border-radius: 215px 215px 28px 28px; background: linear-gradient(180deg, #fbfcfe 0%, #ffffff 40%); border: 1px solid #fff; box-shadow: 0 40px 70px -40px rgba(31,42,68,.35), inset 0 0 0 8px rgba(232,237,243,.6); overflow: hidden; }
.window-status { position: absolute; top: 66px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: .84rem; color: var(--dusk); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5bb98b; box-shadow: 0 0 0 4px rgba(91,185,139,.18); }
.chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.msg { max-width: 86%; padding: 11px 15px; font-size: .9rem; line-height: 1.7; border-radius: 18px; }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.msg.ai { align-self: flex-start; background: var(--bubble); border-bottom-left-radius: 6px; }
.chat .msg { animation: rise .3s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.msg.typing { display: flex; gap: 5px; padding: 15px 16px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa5b8; animation: blink 1s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .15s; }
.msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .3; } }
.replay { align-self: center; margin-top: 14px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); color: var(--dusk); font: inherit; font-size: .82rem; cursor: pointer; }
.replay:hover { color: var(--ink); border-color: var(--dusk); }

/* 通用标题 */
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 300; line-height: 1.35; letter-spacing: .02em; }
h3 { font-size: 1.15rem; font-weight: 500; line-height: 1.5; }
.section-lead { margin-top: 16px; max-width: 34em; font-size: 1.02rem; line-height: 1.9; color: var(--dusk); }

/* 功能 */
.features { padding-block: clamp(40px, 5vw, 72px) clamp(72px, 9vw, 128px); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.feature:last-child { border-bottom: 0; }
.features .section-lead { margin-bottom: clamp(20px, 3vw, 40px); }
.feature-text p { margin-top: 10px; max-width: 28em; line-height: 1.9; color: var(--dusk); }
.snippet { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px; background: var(--glass); }

/* 步骤 */
.steps-wrap { background: var(--glass); padding-block: clamp(64px, 8vw, 112px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 40px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-size: 3.4rem; font-weight: 200; line-height: 1; color: var(--sun); margin-bottom: 18px; }
.steps p { margin-top: 8px; line-height: 1.9; color: var(--dusk); }

/* 隐私 */
.privacy-band { background: var(--ink); color: #e8edf3; padding-block: clamp(64px, 8vw, 112px); }
.privacy-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.privacy-grid > div p { margin-top: 14px; color: #aab4c8; line-height: 1.8; }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.promises li { padding-top: 16px; border-top: 1px solid rgba(232,237,243,.2); }
.promises p { margin-top: 6px; color: #aab4c8; line-height: 1.8; font-size: .95rem; }

/* 用户说 */
.voices { padding-block: clamp(72px, 9vw, 128px) 0; }
.voice-list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-top: 36px; }
.voice-list blockquote { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 300; line-height: 1.85; }
.voice-list figcaption { margin-top: 16px; font-size: .9rem; color: var(--dusk); }

/* 结尾 */
.cta { padding-block: clamp(72px, 9vw, 128px); }
.cta p { margin: 16px 0 30px; max-width: 32em; line-height: 1.9; color: var(--dusk); }

/* 页脚 */
.foot { border-top: 1px solid var(--line); padding-top: 48px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-grid > div p { margin-top: 12px; font-size: .9rem; color: var(--dusk); }
.foot nav { display: flex; flex-direction: column; gap: 10px; }
.foot nav h2 { font-size: .86rem; font-weight: 500; letter-spacing: 0; color: var(--dusk); margin-bottom: 4px; }
.foot nav a { font-size: .92rem; }
.foot nav a:hover { color: var(--dusk); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-block: 22px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--dusk); }

/* 内页 */
.page-head { padding-block: clamp(48px, 6vw, 88px) clamp(28px, 4vw, 48px); }
.page-head p { margin-top: 18px; max-width: 34em; font-size: 1.05rem; line-height: 1.9; color: var(--dusk); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { padding: 30px 28px 32px; border-radius: 22px; background: var(--glass); }
.plan.featured { box-shadow: inset 0 4px var(--sun); }
.plan h2 { font-size: 1.25rem; font-weight: 500; }
.plan .price { margin: 16px 0 4px; font-size: 2.6rem; font-weight: 300; letter-spacing: .01em; }
.plan .price small { font-size: .95rem; color: var(--dusk); margin-left: 4px; }
.plan .for { color: var(--dusk); font-size: .92rem; line-height: 1.7; min-height: 3.4em; }
.plan ul { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.plan li { position: relative; padding-left: 20px; font-size: .94rem; line-height: 1.6; }
.plan li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.plans-note { margin-top: 18px; font-size: .86rem; color: var(--dusk); }
.beta { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 44px); border-radius: 22px; background: var(--glass); }
.beta p { margin-top: 10px; line-height: 1.9; color: var(--dusk); max-width: 36em; }
.faq { padding-block: clamp(56px, 7vw, 96px) clamp(72px, 9vw, 128px); max-width: 820px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; font-weight: 300; line-height: 1; color: var(--dusk); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; line-height: 1.9; color: var(--dusk); }
.releases { padding-bottom: clamp(72px, 9vw, 128px); }
.release { display: grid; grid-template-columns: 200px 1fr; gap: 16px 48px; padding-block: 36px; border-top: 1px solid var(--line); }
.release-meta h2 { font-size: 1.5rem; font-weight: 400; }
.release-meta time { display: block; margin-top: 6px; font-size: .9rem; color: var(--dusk); }
.release-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.release-body ul { display: flex; flex-direction: column; gap: 8px; }
.release-body ul + h3 { margin-top: 22px; }
.release-body li { position: relative; padding-left: 18px; line-height: 1.8; color: #39445e; }
.release-body li::before { content: ''; position: absolute; left: 0; top: .8em; width: 6px; height: 1.5px; background: var(--dusk); }
.legal { max-width: 760px; padding-bottom: clamp(72px, 9vw, 128px); }
.legal h2 { font-size: 1.4rem; font-weight: 400; margin: 2em 0 .6em; }
.legal p, .legal li { line-height: 1.95; color: #39445e; }
.legal p + p { margin-top: 1em; }
.legal ul { display: flex; flex-direction: column; gap: 6px; margin-top: .6em; }
.legal li { position: relative; padding-left: 18px; }
.legal li::before { content: ''; position: absolute; left: 0; top: .9em; width: 6px; height: 1.5px; background: var(--dusk); }
.legal a { text-decoration: underline; text-underline-offset: 4px; }
.not-found { min-height: 68vh; padding-block: clamp(72px, 10vw, 140px); }
.not-found p { margin: 18px 0 32px; color: var(--dusk); line-height: 1.8; }

@media (max-width: 860px) {
  .hero, .feature, .privacy-grid, .voice-list, .plans, .release { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .window-glass { height: 520px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; }
  .steps li::before { grid-row: span 2; font-size: 2.6rem; margin: 0; }
  .promises { grid-template-columns: 1fr; gap: 24px; }
  .beta { grid-template-columns: 1fr; }
  .plan .for { min-height: 0; }
}
@media (max-width: 640px) {
  .nav { gap: 16px; height: 64px; }
  .nav-links { display: none; }
  .brand { margin-right: auto; }
  h1 { font-size: min(1.8rem, 8.2vw); }
  .actions { gap: 20px; }
  .window-glass { height: 560px; padding: 100px 16px 16px; border-radius: 180px 180px 24px 24px; }
  .window-status { top: 56px; }
  .msg { font-size: .86rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
