:root {
  --paper: #f6f0e5;
  --paper-2: #eee4d2;
  --ink: #28261f;
  --muted: #6f695f;
  --line: rgba(47, 43, 34, 0.16);
  --card: rgba(255, 253, 248, 0.78);
  --accent: #d95f3b;
  --accent-dark: #a83f27;
  --navy: #263642;
  --sage: #788977;
  --shadow: 0 24px 70px rgba(66, 52, 35, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 4%, rgba(217, 95, 59, 0.10), transparent 28rem),
    linear-gradient(180deg, #fbf8f1 0%, var(--paper) 62%, #f2e9db 100%);
  font: 16px/1.65 Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251, 248, 241, 0.82); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 28px rgba(50, 43, 33, .06); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; font-size: 1.16rem; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px 11px 11px 4px; color: white; background: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 28px; color: #504c44; font-size: .94rem; }
.nav-links a:hover, .footer-links a:hover { color: var(--accent-dark); }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 700; }
.menu-button { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); }
.hero { padding: 76px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr); gap: 70px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 22px; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(3.2rem, 7vw, 6.5rem); line-height: .98; letter-spacing: -.065em; font-weight: 500; }
h1 em { color: var(--accent); font-style: normal; }
.hero-copy { max-width: 640px; margin-bottom: 30px; color: var(--muted); font-size: 1.12rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font-weight: 750; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 28px rgba(40, 38, 31, .18); }
.btn-primary:hover { background: #111; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: white; }
.hero-note { margin: 16px 0 0; color: var(--muted); font-size: .86rem; }
.visual-stage { position: relative; min-height: 510px; }
.orb { position: absolute; border-radius: 50%; filter: blur(.2px); }
.orb-one { width: 310px; height: 310px; right: 8%; top: 6%; background: #d2b98f; }
.orb-two { width: 230px; height: 230px; left: 0; bottom: 4%; background: #7d8c7c; }
.app-window { position: absolute; inset: 58px 0 0 55px; padding: 18px; background: rgba(255,255,255,.83); border: 1px solid rgba(255,255,255,.82); border-radius: 28px; box-shadow: var(--shadow); backdrop-filter: blur(22px); transform: rotate(-2deg); }
.window-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.traffic { display: flex; gap: 7px; }
.traffic i { width: 9px; height: 9px; border-radius: 50%; background: #cfbea4; }
.status-pill { padding: 4px 9px; border-radius: 999px; color: #546454; background: #e4eadf; font-size: .72rem; font-weight: 700; }
.translate-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 16px; }
.language-card { min-height: 235px; padding: 18px; border-radius: 18px; background: #f8f4ec; border: 1px solid var(--line); }
.language-card:last-child { background: #283843; color: white; }
.language-label { display: flex; justify-content: space-between; color: #756e62; font-size: .78rem; }
.language-card:last-child .language-label { color: #c2ccd2; }
.sample { margin: 28px 0 0; font-family: Georgia, "Noto Serif SC", serif; font-size: 1.22rem; line-height: 1.8; }
.confidence { display: flex; align-items: center; gap: 9px; margin-top: 18px; color: #d8e0e3; font-size: .76rem; }
.confidence span { flex: 1; height: 4px; border-radius: 99px; background: linear-gradient(90deg, #f0b16c 88%, rgba(255,255,255,.18) 88%); }
.float-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-radius: 16px; background: #fffdf8; box-shadow: 0 16px 36px rgba(57, 48, 37, .16); font-size: .82rem; font-weight: 700; }
.float-chip.one { right: -12px; top: 28px; }
.float-chip.two { left: 2px; bottom: 16px; }
.chip-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: #f3e7d4; color: var(--accent-dark); }
.trust-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.24); }
.trust-row { min-height: 88px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); align-items: center; gap: 20px; }
.trust-label { color: var(--muted); font-size: .88rem; }
.trust-item { font-family: Georgia, serif; font-size: 1.04rem; text-align: center; }
.section { padding: 110px 0; }
.section-head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: end; margin-bottom: 54px; }
.section-kicker { color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h2 { margin-bottom: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(2.3rem, 4.8vw, 4.35rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 500; }
.section-intro { max-width: 600px; margin: 18px 0 0; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--card); box-shadow: 0 12px 40px rgba(74, 60, 39, .05); }
.icon-box { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 48px; border-radius: 14px; color: var(--accent-dark); background: #f2dfc7; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { margin-bottom: 0; color: var(--muted); }
.card-number { display: inline-block; margin-bottom: 36px; color: var(--accent-dark); font: 500 2.5rem/1 Georgia, serif; }
.download-band { position: relative; overflow: hidden; padding: 52px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; border-radius: var(--radius-lg); color: #fff; background: var(--navy); box-shadow: var(--shadow); }
.download-band::after { content: "译"; position: absolute; right: -20px; top: -80px; color: rgba(255,255,255,.05); font: 500 20rem/1 Georgia, serif; }
.download-band > * { position: relative; z-index: 1; }
.download-band h2 { max-width: 680px; font-size: clamp(2.2rem, 4.4vw, 4rem); }
.download-band p { max-width: 570px; margin: 18px 0 0; color: #ced7db; }
.download-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.download-actions small { color: #bec8cd; }
.feature-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-large { grid-row: span 2; min-height: 480px; display: flex; flex-direction: column; justify-content: space-between; background: #dcc5a1; }
.feature-large .demo-capture { margin-top: 40px; padding: 24px; border-radius: 18px; background: rgba(255,253,248,.74); box-shadow: inset 0 0 0 1px rgba(58,48,36,.12); }
.selection { display: inline; background: #f2d29e; box-shadow: 6px 0 0 #f2d29e, -6px 0 0 #f2d29e; }
.mini-result { margin: 18px 0 0; padding: 14px; border-radius: 12px; color: white; background: var(--navy); font-family: Georgia, serif; }
.feature-dark { color: white; background: var(--ink); }
.feature-dark p { color: #ccc7bd; }
.feature-compact { min-height: 230px; }
.guide-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.step-list { display: grid; gap: 16px; counter-reset: steps; }
.step { counter-increment: steps; display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step::before { content: "0" counter(steps); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--accent-dark); background: #ead7bd; font-weight: 800; }
.step h3 { margin: 0 0 4px; font-size: 1.02rem; }
.step p { margin: 0; color: var(--muted); }
.quote-panel { position: relative; padding: 54px; overflow: hidden; color: white; background: var(--accent); border-radius: var(--radius-lg); }
.quote-panel blockquote { position: relative; z-index: 1; margin: 0; font: 500 clamp(2rem, 3.6vw, 3.3rem)/1.16 Georgia, "Noto Serif SC", serif; letter-spacing: -.035em; }
.quote-panel cite { display: block; margin-top: 28px; font: 700 .86rem/1.5 Inter, sans-serif; opacity: .85; }
.quote-panel::after { content: "“"; position: absolute; right: 20px; bottom: -120px; color: rgba(255,255,255,.14); font: 24rem/1 Georgia, serif; }
.advanced-wrap { padding: 64px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(255,255,255,.65), rgba(238,228,210,.6)); }
.advanced-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); }
.advanced-item { padding: 28px; background: #f7f1e6; }
.advanced-item strong { display: block; margin-bottom: 8px; font-size: 1.05rem; }
.advanced-item span { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border: 0; color: var(--ink); background: transparent; text-align: left; font-weight: 750; cursor: pointer; }
.faq-question::after { content: "+"; flex: none; color: var(--accent-dark); font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer { display: none; max-width: 760px; padding: 0 0 24px; color: var(--muted); }
.faq-question[aria-expanded="true"] + .faq-answer { display: block; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-card { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; padding: 38px; border-radius: var(--radius-lg); background: #e3d0b2; }
.about-card.dark { color: white; background: var(--navy); }
.about-card.dark p { color: #cdd5d8; }
.metric { font: 500 4rem/1 Georgia, serif; letter-spacing: -.05em; }
.changelog { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.release { padding: 24px 0; border-bottom: 1px solid var(--line); }
.release:first-child { padding-top: 0; }
.release-meta { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .84rem; }
.release h3 { margin: 10px 0 5px; }
.security-stamp { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fffaf2; }
.stamp-seal { width: 88px; height: 88px; display: grid; place-items: center; margin-bottom: 34px; border: 2px solid var(--sage); border-radius: 50%; color: var(--sage); font-weight: 900; transform: rotate(-8deg); }
.check-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; color: var(--muted); }
.check-list li::before { content: "✓"; color: var(--sage); font-weight: 900; }
.testimonials { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 18px; }
.testimonial { min-height: 290px; display: flex; flex-direction: column; justify-content: space-between; }
.testimonial blockquote { margin: 0; font: 500 1.35rem/1.5 Georgia, "Noto Serif SC", serif; }
.testimonial:first-child blockquote { font-size: clamp(1.55rem, 2.6vw, 2.3rem); }
.person { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent); font-weight: 800; }
.person small { display: block; color: var(--muted); }
.contact-panel { padding: 58px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; color: white; background: var(--ink); border-radius: var(--radius-lg); }
.contact-panel p { margin: 16px 0 0; color: #c9c5bc; }
.contact-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.contact-panel .btn { border-color: #f6f0e5; color: #fff; }
.contact-panel .btn-accent { border-color: var(--accent); }
.site-footer { padding: 42px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: .88rem; }
.footer-note { color: var(--muted); font-size: .84rem; }

/* Download page */
.download-hero { padding: 72px 0 88px; }
.download-hero-inner { padding: 64px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; color: white; background: var(--navy); border-radius: 38px; overflow: hidden; position: relative; }
.download-hero-inner::after { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; top: -180px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.02); }
.download-hero h1 { max-width: 680px; font-size: clamp(3rem, 6vw, 5.6rem); }
.download-hero h1 em { color: #f0b16c; }
.download-hero .hero-copy { color: #ced7db; }
.detected-card { position: relative; z-index: 2; padding: 28px; color: var(--ink); background: #fffaf2; border-radius: 24px; box-shadow: var(--shadow); }
.detected-label { color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.detected-os { margin: 18px 0 5px; font: 500 2rem/1.2 Georgia, serif; }
.detected-detail { color: var(--muted); }
.detected-card .btn { width: 100%; margin-top: 22px; }
.platform-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.platform-tab { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; }
.platform-tab[aria-selected="true"] { color: #fff; border-color: var(--ink); background: var(--ink); }
.platform-panel { display: none; }
.platform-panel.is-active { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.version-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--card); }
.version-card.recommended { border-color: rgba(217,95,59,.5); box-shadow: 0 14px 34px rgba(162,82,53,.1); }
.version-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.version-badge { padding: 4px 9px; border-radius: 999px; color: var(--accent-dark); background: #f3dfca; font-size: .72rem; font-weight: 800; }
.version-card p { color: var(--muted); }
.version-card .btn { width: 100%; margin-top: 10px; min-height: 46px; }
.install-flow { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.install-step { position: relative; padding: 34px; border-left: 1px solid var(--line); }
.install-step:first-child { border-left: 0; }
.install-step .card-number { margin-bottom: 54px; }
.security-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; }
.requirements { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.requirement { display: flex; justify-content: space-between; gap: 20px; padding: 18px 20px; background: #fbf7ef; }
.requirement span { color: var(--muted); }
.support-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.support-card { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.support-link { font-weight: 800; color: var(--accent-dark); }
.modal { width: min(calc(100% - 32px), 520px); padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: #fffaf2; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(30,28,24,.52); backdrop-filter: blur(5px); }
.modal-content { padding: 34px; }
.modal-top { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.modal-close { width: 38px; height: 38px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.modal p { color: var(--muted); }
.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; }

@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 77px 16px auto; display: none; padding: 18px; flex-direction: column; align-items: stretch; background: #fffaf1; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .menu-button { display: grid; }
  .nav-cta { display: none; }
  .hero { padding-top: 52px; }
  .hero-grid, .section-head, .download-band, .guide-shell, .about-grid, .changelog, .contact-panel, .download-hero-inner, .security-grid { grid-template-columns: 1fr; gap: 34px; }
  .visual-stage { min-height: 460px; }
  .grid-3 { grid-template-columns: 1fr; }
  .advanced-grid, .testimonials, .platform-panel.is-active, .install-flow { grid-template-columns: 1fr; }
  .feature-showcase { grid-template-columns: 1fr; }
  .feature-large { grid-row: auto; min-height: 400px; }
  .install-step { border-left: 0; border-top: 1px solid var(--line); }
  .install-step:first-child { border-top: 0; }
  .contact-actions { justify-content: flex-start; }
  .trust-row { grid-template-columns: 1fr 1fr; padding-block: 24px; }
  .trust-label { grid-column: 1 / -1; text-align: center; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 42px 0 64px; }
  h1 { font-size: clamp(3rem, 17vw, 4.25rem); }
  .hero-copy { font-size: 1rem; }
  .button-row .btn { width: 100%; }
  .visual-stage { min-height: 390px; margin-top: 8px; }
  .app-window { inset: 38px 0 0 10px; padding: 12px; }
  .translate-panel { gap: 8px; }
  .language-card { min-height: 210px; padding: 14px; }
  .sample { font-size: .98rem; }
  .float-chip.one { right: 2px; top: 5px; }
  .float-chip.two { left: -4px; bottom: 0; }
  .section { padding: 78px 0; }
  .download-band, .advanced-wrap, .quote-panel, .contact-panel, .download-hero-inner { padding: 32px 24px; }
  .download-hero { padding: 34px 0 64px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .support-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-label { grid-column: auto; }
}
