/* 一言 Landing Page v3: original six-section visual language, simplified copy and cohesive motion */
:root { --soft-text: #6c7886; --fine-line: #e8ebef; }
body { overflow-x: clip; }
.site-header { height: 72px; }
.nav-bar { justify-content: space-between; }
.nav-bar > .button { margin-left: auto; }
.hero { padding: 76px 0 33px; background: linear-gradient(#fafbfc 0%, #fff 76%); }
.hero h1 { font-size: clamp(37px, 4.7vw, 62px); letter-spacing: -2.4px; line-height: 1.29; }
.hero-copy > p:not(.meta) { max-width: 700px; margin-inline: auto; }
.hero-stage { margin-top: 50px; }
.hero .desktop-stage { background: none; border: none; box-shadow: none; border-radius: 0; padding: 0 78px; }
.hero .note-window { border: 1px solid #e7eaf0; border-radius: 13px; box-shadow: 0 25px 65px #2532470d,0 3px 14px #2a37460c; }
.hero .note-layout { min-height: 335px; }
.hero .note-page { padding: 35px 45px 30px; }
.hero .note-page h2 { margin-top: 15px; }
.note-recipient { font-size: 10px; color: #9da6b1; padding-top: 7px; }
.hero-writing { margin-top: 22px; min-height: 28px; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
.hero .ime { width: 375px; min-height: 142px; }
.ime { border: 1px solid #eceff3; background: #fff; box-shadow: 0 10px 24px #27364b14, 0 1px 5px #121b250b; }
.ime-raw { min-height: 34px; line-height: 1.6; word-break: break-word; }
.ime-list li { min-height: 27px; }
.ime-en-option { display: flex; align-items: baseline; gap: 14px; padding: 6px 8px; color: #51667f; font-size: 12px; line-height: 1.55; border: 1px solid #e8edf4; border-radius: 5px; background: #f7f9fb; overflow-wrap: anywhere; }
.ime-en-option > span:first-child { font-size: 11px; color: #909aa6; flex: none; }
.ime-en-option.selected-en { background: #e6edf6; color: #243c59; border-color: #d9e3f0; }
.ime-bottom { padding-top: 9px; }
.hero .note-sidebar { padding-top: 27px; }
.section { padding-block: 110px; }
.section-copy h2 { font-size: clamp(29px, 3.2vw, 43px); line-height: 1.4; letter-spacing: -1.4px; }
.section-copy > p { line-height: 2; max-width: 435px; }
.ai-section { grid-template-columns: .95fr 1.05fr; gap: 74px; }
.ai-section .section-copy h2 { margin: 20px 0; }
.model-specs { display: flex; gap: 40px; border-top: 1px solid var(--fine-line); margin-top: 36px; padding-top: 25px; }
.model-specs > div { display: flex; flex-direction: column; }
.model-specs strong { font-weight: 640; font-size: clamp(25px,2.6vw,36px); line-height: 1.5; letter-spacing: -1.1px; white-space: nowrap; color: #232a33; }
.model-specs span { margin-top: 4px; font-size: 11px; color: #8b95a1; }
.context-demo { padding: 0; border: none; background: transparent; border-radius: 0; }
.context-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #798594; padding: 0 4px 15px; }
.context-dots { display: flex; gap: 7px; }
.context-dots i { display: block; width: 6px; height: 6px; background: #dfe3e8; border-radius: 50%; transition: background .25s; }
.context-dots i.active { background: #5b728b; }
.context-paper { margin: 0; padding: 34px 32px; min-height: 265px; background: #fff; border: 1px solid #e6eaf0; border-radius: 12px; box-shadow: 0 16px 40px #25344d09; }
.context-paper p { margin: 33px 0 15px; color: #404c5b; font-size: 18px; line-height: 1.7; font-weight: 500; min-height: 32px; }
.context-pinyin { font-size: 15px; color: #929ba8; }
.context-candidates { max-width: 410px; margin-top: 19px; padding: 8px; gap: 11px; border: 1px solid #f0f2f4; background: #fcfcfd; }
.context-candidates li { font-size: 14px; padding: 7px 9px; }
.context-candidates li.selected { color: #273f5a; background: #eaf0f6; font-weight: 570; }
/* Privacy: left live-app illustration, right value statement */
.privacy-section { background: #f8f9fb; }
.privacy-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; }
.privacy-visual { min-width: 0; position: relative; padding: 14px 0 32px 4px; }
.local-app { overflow: hidden; border: 1px solid #e0e5ec; background: #fff; border-radius: 12px; box-shadow: 0 18px 45px #2c394d0d; }
.local-app-body { padding: 31px 31px 46px; min-height: 242px; }
.local-app-body p { color: #627084; line-height: 1.95; margin-top: 22px; font-size: 13px; }
.local-compose { margin-top: 21px; padding: 13px 15px; border: 1px solid #dfe7f0; box-shadow: 0 3px 12px #2b425507; border-radius: 7px; color: #364859; background: #fafbfd; font-size: 12px; }
.privacy-local-chip { position: absolute; right: 8px; bottom: 0; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e6ebf0; border-radius: 12px; padding: 11px 14px; box-shadow: 0 11px 25px #2f405215; min-width: 225px; }
.privacy-chip-icon { display: grid; place-items: center; width: 42px; height: 42px; background: #f4f6fa; border-radius: 9px; }
.privacy-local-chip div { display: flex; flex-direction: column; gap: 2px; }
.privacy-local-chip strong { font-size: 12px; font-weight: 600; color: #404d5d; }
.privacy-local-chip small { font-size: 10px; color: #8794a0; }
.local-led { width: 7px; height: 7px; border-radius: 50%; background: #779d87; margin-left: auto; }
.privacy-copy h2 { margin-top: 20px; margin-bottom: 20px; }
.privacy-link { display: inline-block; margin-top: 23px; font-size: 12px; color: #597087; border-bottom: 1px solid #abbac7; padding-bottom: 4px; }
.privacy-link:hover { color: #263c54; }
/* Mail animation: one composition, real-time IME and synchronized virtual keyboard */
.expression-section .section-heading h2 { margin: 17px 0; font-size: clamp(29px, 3.2vw, 41px); }
.mail-demo { display: block; margin: 43px auto 0; max-width: 830px; }
.mail-window { border-radius: 12px; }
.mail-content { padding: 27px 33px 31px; }
.mail-content .received { max-width: unset; border-bottom: 1px solid #eef1f5; padding-bottom: 22px; margin: 16px 0 22px; }
.mail-window .reply { padding: 17px 20px 17px; min-height: 235px; position: relative; }
.reply-label { align-items: center; }
.reply-label .reply-language { color: #788b9d; font-size: 10px; }
.reply-field { min-height: 34px; margin-top: 13px; font-size: 13px; line-height: 1.8; color: #34475d; overflow-wrap: anywhere; }
.reply-placeholder { font-size: 12px; color: #b8c0c9; }
.mail-ime { width: min(100%, 490px); margin: 6px 0 17px; padding: 9px; }
.mail-ime .ime-raw { font-size: 12px; padding: 4px 7px 8px; color: #728092; border-bottom: 0; }
.mail-ime .ime-list li { font-size: 12px; }
.mail-ime .ime-en-option { font-size: 12px; }
.mail-ime .ime-bottom { padding-left: 7px; }
.reply-bottom { margin-top: 18px; }
/* Scene pills with abstract purpose icons, not fabricated portraits/testimonials */
.voices-section { background: radial-gradient(ellipse at 50% -20%, #f0f2f6, #fafbfc 60%); border-block: 1px solid #eff0f3; overflow: hidden; padding-bottom: 91px; }
.voices-heading { display: block; text-align: center; }
.voices-heading h2 { margin-top: 14px; }
.voices-heading p { margin-top: 10px; font-size: 13px; color: #8893a0; }
.marquee-field { position: relative; max-width: 1560px; margin: 42px auto 0; display: grid; gap: 14px; overflow: hidden; padding: 5px 0; }
.marquee-field::before,.marquee-field::after { position: absolute; content: ''; top: 0; bottom: 0; width: min(8vw,110px); z-index: 2; pointer-events: none; }
.marquee-field::before { left: 0; background: linear-gradient(90deg,#fafbfc,#fafbfc00); }
.marquee-field::after { right: 0; background: linear-gradient(270deg,#fafbfc,#fafbfc00); }
.marquee-row { overflow: hidden; width: 100%; }
.marquee-track { display: flex; align-items: stretch; width: max-content; }
.marquee-set { display: flex; flex: none; gap: 13px; align-items: center; padding-right: 13px; }
.voice-pill { display: inline-flex; gap: 11px; align-items: center; flex: none; border-radius: 13px; padding: 9px 19px 9px 9px; background: #fff; border: 1px solid #e6eaf0; box-shadow: 0 5px 17px #2d3b4908; color: #536271; font-size: 12px; white-space: nowrap; line-height: 1.65; }
.voice-avatar { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; font-size: 13px; font-weight: 600; flex: none; background: #edf1f7; color: #6c829c; }
.mail-avatar { background: #e9eef7; color: #6d83a4; }
.work-avatar { background: #f4eee6; color: #977e68; }
.privacy-avatar { background: #eaf2ee; color: #638876; }
.tool-avatar { background: #f2ecf5; color: #887499; }
.marquee-track.marquee-ready { animation: ribbon-left 79s linear infinite; }
.marquee-row:nth-child(2) .marquee-track.marquee-ready { animation-duration: 89s; }
.marquee-row:nth-child(3) .marquee-track.marquee-ready { animation-duration: 81s; }
.marquee-row:nth-child(4) .marquee-track.marquee-ready { animation-duration: 96s; }
.marquee-row.reverse .marquee-track.marquee-ready { animation-direction: reverse; }
.marquee-field:hover .marquee-track { animation-play-state: paused; }
@keyframes ribbon-left { to { transform: translateX(-50%); } }
/* Download comparison stays in the same original section */
.download-panel { gap: 80px; padding: 53px 61px; }
.download-copy h2 { font-size: 33px; max-width: 350px; }
.download-choice h3 { font-weight: 600; font-size: 19px; }
.download-choice #edition-description { min-height: 42px; }
.download-choice .text-button { margin-top: 10px; }
.edition-compare { scroll-margin-top: 110px; margin-top: 72px; }
.compare-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.compare-heading h3 { font-size: clamp(23px, 3vw, 30px); font-weight: 600; margin-top: 8px; letter-spacing: -.7px; }
.compare-heading > p { font-size: 12px; color: #798692; padding-bottom: 4px; }
.compare-table-wrap { border: 1px solid #e5e8ed; border-radius: 13px; overflow: hidden; background: #fff; box-shadow: 0 8px 32px #25344c07; }
.compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare-table th,.compare-table td { border-bottom: 1px solid #eef0f3; }
.compare-table thead th { background: #f8f9fb; padding: 20px 24px; text-align: center; font-weight: 500; font-size: 13px; }
.compare-table thead th:first-child { text-align: left; width: 47%; color: #8a929e; font-weight: 400; }
.compare-table thead th:nth-child(2) { background: #f2f5f8; }
.compare-table thead th strong { display: block; font-size: 15px; font-weight: 600; }
.compare-table thead th small { display: block; color: #8c96a3; font-size: 10px; margin-top: 5px; font-weight: 400; }
.compare-table tbody th { padding: 15px 24px; text-align: left; font-size: 13px; color: #586371; font-weight: 450; }
.compare-table tbody td { text-align: center; }
.compare-table tbody tr:last-child th,.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr.compare-divider > * { border-top: 2px solid #e8ebf0; }
.compare-table tbody tr:nth-child(even) > * { background: #fcfdfe; }
.compare-table tbody tr:hover > * { background: #f7f9fc; }
.is-yes { color: #638b76; font-size: 18px; line-height: 1; }
.is-no { color: #bcc3cb; font-size: 16px; }
.download-links { justify-content: end; }
/* Installation modal */
dialog { max-height: min(84vh,760px); overflow-y: auto; }
dialog h3 { font-size: 15px; line-height: 1.4; font-weight: 650; margin-top: 22px; }
dialog p { font-size: 12px; line-height: 2; color: #657385; margin: 12px 0 22px; }
@media (max-width: 1050px) {
  .hero .desktop-stage { padding: 0 32px; }
  .ai-section,.privacy-grid { gap: 40px; }
  .download-panel { padding: 44px; gap: 42px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .site-header { height: 66px; }
  .brand { font-size: 19px; }
  .brand small { font-size: 11px; }
  .nav-bar > .button { margin-left: auto; min-height: 36px; padding: 8px 13px; font-size: 11px; }
  .section { padding-block: 72px; }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(33px,6vw,43px); letter-spacing: -1.4px; line-height: 1.36; }
  .hero-copy > p:not(.meta) { font-size: 13px; max-width: 450px; }
  .hero .desktop-stage { padding: 0 9px; }
  .hero-stage { margin-top: 32px; }
  .hero .note-layout { grid-template-columns: 120px 1fr; min-height: 310px; }
  .hero .note-sidebar { font-size: 10px; padding: 19px 8px; }
  .hero .note-sidebar span { padding: 5px 6px; }
  .hero .note-page { padding: 28px 24px; }
  .hero .note-page h2 { font-size: 20px; }
  .hero .ime { width: 305px; }
  .ai-section { grid-template-columns: 1fr; gap: 31px; }
  .section-copy h2 br { display: none; }
  .section-copy > p { max-width: 560px; }
  .model-specs { max-width: 480px; margin-top: 22px; }
  .context-paper { min-height: 230px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 37px; }
  .privacy-visual { max-width: 580px; width: 100%; margin-inline: auto; }
  .privacy-copy { max-width: 580px; width: 100%; margin-inline: auto; }
  .privacy-copy h2 br { display: none; }
  .expression-section .section-heading > p { font-size: 13px; }
  .mail-demo { margin-top: 30px; }
  .mail-content { padding: 22px 23px; }
  .mail-window .reply { padding: 16px; }
  .voices-section { padding-bottom: 71px; }
  .marquee-field { margin-top: 31px; gap: 11px; }
  .marquee-field::before,.marquee-field::after { width: 30px; }
  .voice-pill { font-size: 11px; padding: 8px 16px 8px 8px; }
  .voice-avatar { width: 30px; height: 30px; }
  .download-panel { grid-template-columns: 1fr; padding: 35px; gap: 25px; }
  .download-choice { padding-top: 20px; border-top: 1px solid #454e5a; }
  .compare-heading { flex-direction: column; align-items: start; gap: 7px; }
  .compare-table thead th { padding: 17px 14px; }
  .compare-table tbody th { padding: 12px 14px; font-size: 12px; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .hero { padding-top: 43px; }
  .hero h1 { font-size: 35px; letter-spacing: -1.1px; }
  .hero-copy > p:not(.meta) { font-size: 12px; line-height: 1.9; }
  .hero .actions { flex-direction: column; gap: 13px; }
  .hero .actions .button { min-width: 185px; }
  .hero .desktop-stage { padding: 0; }
  .hero .note-sidebar { display: none; }
  .hero .note-layout { display: block; min-height: 325px; }
  .hero .note-page { padding: 24px 19px; }
  .hero .note-page h2 { font-size: 19px; }
  .hero .ime { width: 100%; }
  .ime-en-option { font-size: 11px; gap: 9px; }
  .window-bar { font-size: 10px; padding-inline: 11px; }
  .section-copy h2 br { display: block; }
  .model-specs { gap: 26px; }
  .model-specs strong { font-size: 26px; }
  .context-paper { padding: 24px 16px; }
  .context-paper p { font-size: 16px; }
  .context-candidates { gap: 5px; }
  .context-candidates li { padding: 6px 5px; font-size: 12px; }
  .context-candidates span { margin-right: 4px; }
  .privacy-visual { padding-left: 0; }
  .local-app-body { padding: 26px 17px 41px; }
  .local-app-body p { font-size: 12px; }
  .privacy-local-chip { right: 1px; min-width: 195px; padding: 8px 10px; }
  .privacy-copy h2 br { display: none; }
  .section-heading h2,.expression-section .section-heading h2 { font-size: 29px; }
  .mail-content { padding: 20px 15px; }
  .mail-subject { font-size: 18px; }
  .mail-content .received { font-size: 12px; }
  .mail-window .reply { padding: 13px; min-height: 250px; }
  .mail-ime { width: 100%; }
  .mail-ime .ime-en-option { font-size: 11px; }
  .voices-heading h2 { font-size: 28px; }
  .voices-heading p { font-size: 12px; }
  .marquee-field .marquee-row:last-child { display: none; }
  .download-panel { padding: 29px 23px; }
  .download-copy h2 { font-size: 28px; }
  .compare-table thead th:first-child { width: 46%; }
  .compare-table thead th { padding: 14px 5px; font-size: 11px; }
  .compare-table thead th strong { font-size: 12px; }
  .compare-table thead th small { font-size: 9px; }
  .compare-table tbody th { padding: 11px 9px; font-size: 11px; }
  .is-yes { font-size: 16px; }
  .site-footer { flex-wrap: wrap; gap: 14px; font-size: 9px; }
  .site-footer > span:nth-child(2) { display: none; }
  .desktop-break { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .marquee-row { overflow-x: auto; scrollbar-width: none; }
  .marquee-row::-webkit-scrollbar { display: none; }
}
@media (forced-colors: active) {
  .ime,.context-paper,.local-app,.voice-pill,.compare-table-wrap { border: 1px solid CanvasText; }
  .selected,.selected-en { outline: 1px solid Highlight; }
}
