:root {
  color: #f4f6ff;
  background: #0c1020;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

/* Homepage: compact introduction, full-width scene tabs, focused voice workspace. */
.home-page { color: #f4f6ff; background: radial-gradient(circle at 82% 0, #243477 0, transparent 34rem), #0c1020; overflow-x: visible; }
.home-nav, .home-hero, .demo-section, .workflow-section, .home-cta, .home-footer { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.home-nav { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgb(156 172 224 / .13); }
.home-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; font-size: 20px; letter-spacing: -.04em; }
.home-brand span { display: grid; width: 28px; height: 28px; place-items: center; color: #0c1020; background: #c8ff76; border-radius: 9px; font-size: 18px; }
.home-nav nav { display: flex; gap: 26px; color: #b9c1d9; font-size: 14px; }
.home-nav nav a:hover { color: #fff; }
.home-nav__console { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; }
.home-nav__console span { color: #c8ff76; font-size: 18px; }
.home-nav a { min-height: 44px; align-content: center; }
.home-page :is(a, button, input, summary, [tabindex]):focus-visible { outline: 2px solid #c8ff76; outline-offset: 4px; }

.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: center; gap: 32px; padding: 54px 0 50px; }
.home-eyebrow { margin: 0 0 14px; color: #c8ff76; font-size: 11px; line-height: 1.5; font-weight: 750; letter-spacing: .14em; }
.home-hero h1, .login-intro h1 { margin: 0; font-size: clamp(36px, 4.1vw, 54px); line-height: 1.25; letter-spacing: -.04em; }
.home-hero h1 em, .login-intro h1 em { color: #a7b9ff; font-style: normal; }
.home-hero__lede { max-width: 540px; margin: 20px 0 0; color: #b9c0d7; font-size: 16px; line-height: 1.8; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 10px; padding: 10px 18px; font-weight: 700; font-size: 14px; line-height: 1.5; transition: background .16s ease, border-color .16s ease; }
.button--primary { color: #10162a; background: #c8ff76; }
.button--primary:hover:not(:disabled) { background: #d8ff9f; }
.button--quiet { color: #e1e6f5; border-color: #3b486b; background: #1a233d; }
.button--quiet:hover:not(:disabled) { background: #293657; }
.button--light { color: #172039; background: #f7f8ff; }
.button--end { color: #ffcfcd; background: #422936; border-color: #83515d; }
.button--end:hover:not(:disabled) { background: #593444; }
.home-boundary { margin: 15px 0 0; color: #a2adca; font-size: 12px; line-height: 1.6; }
.hero-orbit { position: relative; width: 300px; aspect-ratio: 1; justify-self: center; border-radius: 50%; background: radial-gradient(circle, rgb(92 121 255 / .16), transparent 65%); }
.hero-orbit__ring { position: absolute; inset: 0; border: 1px solid rgb(161 180 255 / .23); border-radius: 50%; }
.hero-orbit__ring--inner { inset: 18%; border-color: rgb(161 180 255 / .4); }
.hero-orbit__node { position: absolute; z-index: 1; width: 12px; aspect-ratio: 1; background: #c8ff76; border: 3px solid #172045; border-radius: 50%; box-shadow: 0 0 14px #c8ff76; }
.hero-orbit__node--one { top: 15%; left: 16%; }
.hero-orbit__node--two { right: 9%; bottom: 27%; background: #a7b9ff; box-shadow: 0 0 14px #a7b9ff; }
.hero-orbit__core { position: absolute; inset: 31%; display: grid; align-content: center; justify-items: center; border: 1px solid #8596e1; border-radius: 50%; background: linear-gradient(145deg, #465bce, #202d77); box-shadow: 0 24px 80px rgb(0 0 0 / .25); }
.hero-orbit__core span { font-size: 28px; line-height: 1; font-weight: 850; letter-spacing: -.06em; }
.hero-orbit__core small { margin-top: 9px; color: #cad3ff; text-align: center; font-size: 9px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }

.demo-section { padding: 24px 0 60px; scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.4; letter-spacing: -.03em; text-wrap: balance; }
.section-heading > p { margin: 0 0 4px; color: #aeb9d4; font-size: 13px; line-height: 1.75; }
.demo-shell { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 1px; border: 1px solid #303c5d; border-radius: 18px; background: #303c5d; box-shadow: 0 24px 80px rgb(0 0 0 / .16); }
.scene-picker { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; border-radius: 18px 18px 0 0; background: #10172b; }
.scene-picker button { min-width: 0; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 10px; padding: 10px; color: #c6cee2; background: transparent; font-size: 14px; line-height: 1.5; }
.scene-picker small { color: #aeb9d4; font-size: 11px; font-weight: 400; }
.scene-picker button[aria-selected="true"] { color: #d5ff99; border-color: #59764b; background: #263728; font-weight: 750; }
.scene-picker button[aria-selected="true"] small { color: #c2d7b2; }
.scene-picker button:hover:not([aria-selected="true"]):not(:disabled) { background: #202b45; }
.scene-picker button:disabled { cursor: default; }
.demo-card { padding: 28px; border-bottom-left-radius: 18px; background: #141b30; }
.demo-card, .demo-proof { min-width: 0; overflow-wrap: anywhere; }
.demo-card__head { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.agent-avatar { display: grid; width: 44px; height: 44px; place-items: center; color: #142039; background: linear-gradient(145deg, #c8ff76, #9ccff8); border-radius: 14px; font-size: 19px; font-weight: 750; }
.demo-card__head p { margin: 0; color: #aeb9d4; font-size: 12px; }
.demo-card__head h3 { margin: 3px 0 0; font-size: 18px; }
.demo-status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid #3b4867; border-radius: 7px; color: #cad3e8; background: #1c263e; font-size: 12px; line-height: 1.5; }
.demo-status::before { content: ''; flex: 0 0 6px; height: 6px; border-radius: 50%; background: #9faecb; }
.demo-status[data-tone="ready"], .demo-status[data-tone="live"] { color: #d5ff99; border-color: #4c634b; background: #263728; }
.demo-status[data-tone="ready"]::before, .demo-status[data-tone="live"]::before { background: #c8ff76; }
.demo-card__summary { margin: 20px 0; color: #d4dced; font-size: 15px; line-height: 1.75; }
.experience-examples { padding: 14px 16px; border-left: 2px solid #7187c7; background: #1b2540; border-radius: 0 8px 8px 0; }
.experience-examples > p { margin: 0 0 7px; color: #b9c5e1; font-size: 12px; }
.experience-examples ul { margin: 0; padding: 0; list-style: none; color: #edf0fa; font-size: 14px; line-height: 1.7; }
.experience-examples li + li { margin-top: 6px; }
.experience-examples li::before { content: '“'; color: #a7b9ff; margin-right: 4px; }
.experience-examples li::after { content: '”'; color: #a7b9ff; margin-left: 4px; }
.experience-privacy { margin-top: 18px; }
.experience-privacy__title { margin: 0 0 6px; color: #d4dced; font-size: 12px; font-weight: 700; }
#experience-policy { margin: 0; color: #b6c1da; font-size: 12px; line-height: 1.8; }
.experience-consent { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 10px; color: #e2e8f6; font-size: 13px; line-height: 1.7; cursor: pointer; }
.experience-consent input { flex: 0 0 auto; width: 17px; height: 17px; margin: 0; accent-color: #c8ff76; }
.experience-controls { margin-top: 18px; }
.demo-card button:disabled { cursor: not-allowed; color: #c1cadd; border-color: #414f6a; background: #2b354c; }
#experience-hint, #experience-note, #experience-clock { margin: 10px 0 0; font-size: 13px; line-height: 1.75; color: #b6c1da; }
#experience-note:not(:empty) { padding: 10px 12px; border-radius: 8px; background: #212e4a; color: #e0e7f7; }
#experience-clock { color: #d5ff99; font-variant-numeric: tabular-nums; }
#experience-hint:empty, #experience-note:empty, #experience-clock:empty { display: none; }
.experience-live { padding: 16px; border: 1px solid #354362; border-radius: 12px; background: #0f1628; }
.experience-live__heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.experience-live__heading h4 { margin: 0; font-size: 14px; }
.experience-live__heading > span { color: #b6c1da; font-size: 12px; }
.experience-captions { display: flex; flex-direction: column; gap: 12px; min-height: 120px; max-height: 320px; overflow-y: auto; overscroll-behavior: contain; }
.experience-captions:empty::before { content: '准备好了，试着说说你的需求。'; margin: auto; padding: 18px 0; color: #b6c1da; font-size: 13px; line-height: 1.75; }
.experience-caption { flex-shrink: 0; max-width: 90%; padding: 12px 14px; background: #243251; border: 1px solid #40527b; border-radius: 12px 12px 12px 2px; color: #f0f4ff; font-size: 14px; line-height: 1.75; }
.experience-caption[data-speaker="user"] { align-self: flex-end; background: #273d37; border-color: #466556; border-radius: 12px 12px 2px 12px; color: #ecf7ee; }
.experience-caption__meta { display: flex; flex-wrap: wrap; gap: 8px; color: #c5d2ed; font-size: 12px; }
.experience-caption[data-speaker="user"] .experience-caption__meta { color: #c8e2cf; }
.experience-caption p { margin: 5px 0 0; }
#experience-result { border-top: 1px solid #354362; margin-top: 24px; padding-top: 24px; }
#experience-result h3 { margin: 0 0 14px; font-size: 18px; }
#experience-result-summary { margin: 0; padding: 14px 16px; border-radius: 10px; background: #25314a; color: #e0e8fb; font-size: 15px; line-height: 1.75; }
#experience-result[data-verdict="achieved"] #experience-result-summary { background: #263d32; color: #daefb9; }
#experience-result[data-verdict="not_achieved"] #experience-result-summary { background: #3b3240; color: #f3d3b7; }
#experience-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
#experience-steps > div { padding: 12px; border: 1px solid #34415e; border-radius: 8px; }
#experience-steps dt { color: #b6c1da; font-size: 12px; }
#experience-steps dd { margin: 7px 0 0; color: #e7ecf8; font-size: 14px; }
#experience-steps [data-outcome="complete"] dd { color: #d5ff99; }
.experience-result__notice { color: #b6c1da; font-size: 12px; line-height: 1.8; }
#experience-record-details { margin: 16px 0; border-top: 1px solid #34415e; }
#experience-record-details summary { min-height: 44px; padding: 13px 0; color: #e1e7f5; font-size: 13px; cursor: pointer; }
#experience-records { max-height: 320px; overflow-y: auto; overscroll-behavior: contain; color: #d8e0f2; font-size: 14px; line-height: 1.8; }
#experience-records p { margin: 0 0 10px; padding: 10px 12px; border-radius: 8px; background: #1e2942; }
.demo-proof { padding: 28px 24px; border-bottom-right-radius: 18px; background: #10172b; }
.demo-proof h3 { margin: 0; color: #e0e7f5; font-size: 14px; font-weight: 650; }
.experience-duration { display: inline-block; margin: 12px 0 0; padding: 4px 8px; border-radius: 5px; color: #c5d3f1; background: #25304b; font-size: 11px; line-height: 1.6; }
.demo-proof ol { display: grid; gap: 20px; padding: 0; margin: 26px 0; list-style: none; counter-reset: experience; }
.demo-proof li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 8px; }
.demo-proof li::before { counter-increment: experience; content: counter(experience, decimal-leading-zero); padding-top: 1px; color: #a7b9ff; font-size: 11px; }
.demo-proof strong { color: #dbe3f4; font-size: 13px; font-weight: 600; }
.demo-proof li span { grid-column: 2; margin-top: 5px; color: #aebbd6; font-size: 12px; line-height: 1.7; }
.demo-proof__boundary { margin: 0; padding-top: 18px; border-top: 1px solid #2c3855; color: #b6c1da; font-size: 12px; line-height: 1.85; }

.workflow-section { padding: 24px 0 64px; scroll-margin-top: 24px; }
.workflow-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.workflow-list li { padding: 22px; border: 1px solid #2c3855; border-radius: 12px; background: #12192d; }
.workflow-list span { color: #c8ff76; font-size: 12px; font-weight: 750; }
.workflow-list h3 { margin: 18px 0 9px; font-size: 18px; }
.workflow-list p { margin: 0; color: #b6c1da; font-size: 13px; line-height: 1.8; }
.home-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px; border-radius: 16px; background: linear-gradient(115deg, #c8ff76, #9bc5f7); color: #11172d; }
.home-cta .home-eyebrow { margin-bottom: 8px; color: #35456a; }
.home-cta h2 { margin: 0; font-size: clamp(23px, 2.5vw, 30px); line-height: 1.4; letter-spacing: -.03em; }
.home-cta .button { flex-shrink: 0; }
.home-footer { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0 32px; color: #a1aecb; font-size: 11px; line-height: 1.6; }

/* Shared login page. */
.login-input input { min-width: 0; width: 100%; border-radius: 10px; outline: none; }
.login-input:focus-within { border-color: #c8ff76; box-shadow: 0 0 0 3px rgb(200 255 118 / .12); }
.login-page { min-height: 100vh; color: #edf0fb; background: #0c1020; }.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr); }.login-intro { display: flex; flex-direction: column; justify-content: space-between; padding: 52px clamp(40px, 8vw, 128px); background: radial-gradient(circle at 66% 41%, #263c91 0, transparent 28rem), #11172b; }.login-intro h1 { font-size: clamp(42px, 4vw, 64px); line-height: .98; letter-spacing: -.075em; }.login-intro > div > p:last-child { max-width: 520px; margin: 24px 0 0; color: #b7c0da; font-size: 16px; line-height: 1.8; }.login-intro ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 80px 0 0; padding: 0; list-style: none; color: #c9d0e4; font-size: 12px; line-height: 1.5; }.login-intro li span { margin-right: 7px; color: #c8ff76; font-weight: 900; }.login-panel { display: flex; flex-direction: column; justify-content: center; padding: 52px clamp(35px, 7vw, 96px); background: #f8f9fd; color: #172039; }.login-back { align-self: flex-start; margin-bottom: auto; color: #68718b; font-size: 13px; }.login-panel__copy { margin-top: auto; }.login-panel__copy .home-eyebrow { color: #6177d7; }.login-panel h2 { margin: 0; font-size: 38px; letter-spacing: -.06em; }.login-panel__copy > p:last-child { margin: 14px 0 0; color: #6b748e; font-size: 14px; line-height: 1.7; }.login-error { padding: 11px 13px; margin: 24px 0 0; border: 1px solid #fac1c3; border-radius: 10px; color: #9e2731; background: #fff0f1; font-size: 13px; }.login-error[hidden] { display: none; }.login-form { margin-top: 25px; }.login-form > label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 760; }.login-input { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border: 1px solid #d6dced; border-radius: 11px; background: #fff; transition: border-color .16s ease, box-shadow .16s ease; }.login-input span { color: #6c79aa; }.login-input input { height: 100%; border: 0; color: #172039; background: transparent; }.login-form > p { margin: 10px 0 17px; color: #78819a; font-size: 12px; line-height: 1.55; }.login-form .button { width: 100%; height: 50px; }.login-boundary { display: flex; gap: 10px; padding-top: 24px; margin-top: auto; color: #707b96; font-size: 11px; line-height: 1.6; }.login-boundary span { color: #6177d7; }


@media (max-width: 1000px) {
  .home-hero { grid-template-columns: minmax(0, 1fr) 220px; }
  .hero-orbit { width: 220px; }
  .demo-shell { grid-template-columns: minmax(0, 1fr) 230px; }
  .demo-proof { padding: 24px 18px; }
  .demo-card { padding: 24px; }
}
@media (max-width: 860px) {
  .home-nav, .home-hero, .demo-section, .workflow-section, .home-cta, .home-footer { width: min(100% - 40px, 680px); }
  .home-nav nav { display: none; }
  .home-hero { grid-template-columns: 1fr; padding: 40px 0; }
  .hero-orbit { display: none; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 10px; }
  .demo-shell { grid-template-columns: minmax(0, 1fr); }
  .demo-card { border-radius: 0; }
  .demo-proof { border-radius: 0 0 18px 18px; }
  .demo-proof ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
  .scene-picker button { flex-direction: column; gap: 4px; }
  .workflow-list { grid-template-columns: 1fr; }
  .workflow-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; padding: 18px; }
  .workflow-list span { align-self: center; }
  .workflow-list h3 { margin: 0; }
  .workflow-list p { grid-column: 2; margin-top: 8px; }
  .home-cta { flex-direction: column; align-items: flex-start; padding: 28px; }
  .login-layout { grid-template-columns: 1fr; }
  .login-intro { min-height: 400px; padding: 35px 32px; }
  .login-intro ul { margin-top: 52px; }
  .login-panel { min-height: 600px; padding: 35px 32px; }
}
@media (max-width: 520px) {
  .home-nav, .home-hero, .demo-section, .workflow-section, .home-cta, .home-footer { width: calc(100% - 32px); }
  .home-nav { height: 68px; gap: 12px; }
  .home-brand { font-size: 18px; }
  .home-nav__console { font-size: 12px; }
  .home-hero { padding: 30px 0 28px; }
  .home-hero h1 { font-size: clamp(26px, 7.8vw, 39px); line-height: 1.35; letter-spacing: -.035em; }
  .home-hero__lede { margin-top: 16px; font-size: 14px; }
  .home-eyebrow { font-size: 10px; }
  .home-actions { gap: 10px; margin-top: 20px; }
  .button { padding-inline: 14px; font-size: 13px; }
  .demo-section { padding: 18px 0 36px; }
  .section-heading { margin-bottom: 18px; }
  .section-heading h2 { font-size: 23px; }
  .scene-picker { gap: 4px; padding: 8px; }
  .scene-picker button { min-height: 66px; padding: 8px 3px; font-size: 12px; }
  .scene-picker small { font-size: 10px; }
  .demo-card { padding: 20px 16px; }
  .demo-card__head { gap: 10px; grid-template-columns: 40px minmax(0, 1fr); }
  .agent-avatar { width: 40px; height: 40px; }
  .demo-status { grid-column: 1 / -1; justify-self: start; }
  .demo-card__summary { margin: 14px 0; font-size: 14px; }
  .experience-consent { align-items: flex-start; padding: 8px 0; }
  .experience-consent input { margin-top: 3px; }
  .experience-controls .button { flex: 1 1 auto; }
  .experience-live { padding: 12px; }
  .experience-caption { max-width: 96%; padding: 10px 12px; }
  #experience-steps { grid-template-columns: 1fr; }
  #experience-steps > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; }
  #experience-steps dd { margin: 0; }
  .demo-proof { padding: 20px 16px; }
  .demo-proof ol { grid-template-columns: 1fr; gap: 12px; }
  .demo-proof li span { margin-top: 2px; }
  .workflow-section { padding: 20px 0 36px; }
  .home-cta { padding: 24px; }
  .home-footer { flex-direction: column; gap: 7px; }
  .login-intro ul { grid-template-columns: 1fr; margin-top: 35px; }
  .login-panel { padding: 28px 24px; }
  .login-panel h2 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
[hidden] { display: none !important; }
.experience-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
