/* Limit local Georgia to Latin text so Chromium never uses it for missing Han glyphs. */
@font-face {
  font-family: "Desk Georgia Latin";
  src: local("Georgia");
  font-weight: 400;
  unicode-range: U+0000-024F, U+0300-036F, U+1E00-1EFF, U+2010-2015, U+2018-201F, U+2026;
}

@font-face {
  font-family: "Desk Georgia Latin";
  src: local("Georgia Bold"), local("Georgia-Bold");
  font-weight: 600 900;
  unicode-range: U+0000-024F, U+0300-036F, U+1E00-1EFF, U+2010-2015, U+2018-201F, U+2026;
}

:root {
  --desk-text-font: "Desk Georgia Latin", "Noto Serif SC", serif;
  color-scheme: light;
  --paper: #fff;
  --ink: #1b1b19;
  --muted: #5e5e59;
  --line: #e0e0dc;
  --soft: #f7f7f5;
  --selected: #eeeeeb;
  --action: #171715;
  --action-text: #fff;
  --border: #c9c9c3;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0c0c0c;
  --ink: #efefeb;
  --muted: #b1b1aa;
  --line: #30302e;
  --soft: #151515;
  --selected: #252523;
  --action: #f1f1ee;
  --action-text: #171715;
  --border: #52524f;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--desk-text-font); font-size: 16px; line-height: 1.6; }
main { flex: 1; }
code, pre, kbd, samp { font-family: var(--desk-code-font); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { line-height: 1.14; font-weight: 600; }
.home-hero h1 span, .closing h2 span { display: block; }
.copy-phrase { white-space: nowrap; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2; top: 10px; left: 12px; padding: 9px 16px; background: var(--action); color: var(--action-text); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; min-height: 87px; position: relative; }
.site-header a, .site-footer a { text-decoration: none; }
.site-header a:hover, .site-footer a:hover { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-size: 22px; font-weight: 700; white-space: nowrap; }
.brand img { flex: none; border-radius: 8px; }
.desktop-nav, .header-tools { display: flex; align-items: center; white-space: nowrap; }
.desktop-nav { gap: 28px; color: var(--muted); font-size: 14px; }
.desktop-nav [aria-current="page"], .mobile-menu [aria-current="page"] { color: var(--ink); text-decoration: underline; }
.header-tools { justify-self: end; gap: 15px; font-size: 14px; }
.language, .sign-in { min-height: 36px; display: inline-flex; align-items: center; }
.icon-button { display: inline-grid; place-items: center; padding: 0; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%; color: var(--ink); background: var(--paper); cursor: pointer; }
.icon-button:hover { background: var(--soft); }
.icon-button:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; box-shadow: none; }
@media (forced-colors: active) {
  .icon-button:focus-visible { outline: 2px solid Highlight; outline-offset: -4px; }
}
.icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.theme-half { fill: currentColor; stroke: none; }
.mobile-menu { display: none; }
.mobile-menu summary { list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; z-index: 1; inset: calc(100% - 1px) 0 auto; padding: 9px 18px; border: 1px solid var(--line); background: var(--paper); }
.mobile-menu nav a { display: block; padding: 10px 0; }
.mobile-menu nav a + a { border-top: 1px solid var(--line); }

.home-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 650px; padding-block: 56px 64px; text-align: center; }
.hero-logo { width: clamp(132px, 15vw, 205px); margin-bottom: 29px; border-radius: 24%; }
.home-hero h1 { font-size: clamp(43px, 5.9vw, 80px); letter-spacing: -.045em; }
:lang(zh-CN) .home-hero h1 { letter-spacing: -.065em; }
.home-hero p { margin: 22px 0 27px; max-width: 620px; color: var(--muted); font-size: clamp(15px, 1.5vw, 18px); text-wrap: balance; }
.home-hero small { margin-top: 16px; color: var(--muted); font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 21px; border: 1px solid var(--action); border-radius: 999px; background: var(--action); color: var(--action-text); text-align: center; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.35; }
.button:hover { text-decoration: underline; }
.button.secondary { background: var(--paper); color: var(--ink); border-color: var(--border); }
.button:focus-visible { outline-color: var(--ink); }
.home-product { border-top: 1px solid var(--line); padding-block: 54px 0; }
.product-figure { width: min(100%, 900px); margin-inline: auto; }
.product-window { border: 1px solid var(--border); border-radius: 13px; overflow: hidden; background: var(--paper); }
.sample-bar { min-height: 47px; padding: 7px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sample-bar span:first-child { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; white-space: nowrap; }
.sample-bar span:last-child { text-align: end; }
.sample-bar img { border-radius: 5px; }
.sample-layout { display: grid; grid-template-columns: 185px 1fr; background: var(--soft); }
.sample-nav { list-style: none; padding: 19px 12px; margin: 0; border-right: 1px solid var(--line); }
.sample-nav li { padding: 5px 9px; margin-bottom: 3px; color: var(--muted); font-size: 13px; }
.sample-nav li:first-child { background: var(--selected); border-radius: 5px; color: var(--ink); font-weight: 700; }
.sample-content { padding: 28px; min-width: 0; }
.sample-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; margin-bottom: 18px; }
.sample-heading strong { font-size: 22px; text-wrap: balance; }
.sample-heading span { color: var(--muted); font-size: 12px; }
.sample-records { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sample-records div { padding: 14px; border: 1px solid var(--line); background: var(--paper); border-radius: 7px; }
.sample-records strong { display: block; margin: 3px 0; text-wrap: balance; }
.sample-records small, .sample-records p, figcaption { color: var(--muted); font-size: 13px; }
figcaption { margin-top: 9px; text-align: end; }
.home-ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 50px; border-top: 1px solid var(--line); }
.home-ideas article { padding: 30px 23px 38px; }
.home-ideas article:first-child { padding-left: 0; }
.home-ideas article + article { border-left: 1px solid var(--line); }
.home-ideas h2 { font-size: clamp(19px, 1.7vw, 24px); margin-bottom: 10px; }
.home-ideas p { color: var(--muted); }
:lang(en) .home-ideas p { text-wrap: balance; }
@media (601px <= width <= 840px) {
  :lang(en) .home-ideas article { padding-inline: 12px; }
  :lang(en) .home-ideas article:first-child { padding-inline-start: 0; }
  :lang(en) .home-ideas h2 { font-size: 17px; }
}
.closing { padding-block: 77px 88px; border-top: 1px solid var(--line); text-align: center; }
.closing h2 { margin-bottom: 24px; font-size: clamp(36px, 5.5vw, 62px); letter-spacing: -.04em; }

.page-intro { padding-block: 100px 54px; border-bottom: 1px solid var(--line); }
.page-intro h1 { font-size: clamp(43px, 6vw, 76px); letter-spacing: -.04em; }
.page-intro p { color: var(--muted); max-width: 620px; margin-top: 18px; font-size: 18px; }
.feature-list section { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 55px; padding-block: 37px; border-bottom: 1px solid var(--line); }
.feature-list h2, .download-safety h2 { margin-bottom: 12px; font-size: clamp(24px, 4vw, 36px); }
.feature-list p, .download-safety p { color: var(--muted); }
.download-safety p { max-width: 46ch; }
.feature-list ul { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: 8px; margin: 0; }
.feature-list li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 14px; }
.page-end { padding-block: 37px 67px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 37px 81px; }
.plan { display: flex; flex-direction: column; align-items: start; padding: 8px 25px 17px; }
.plan:first-child { padding-left: 0; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan h2 { font-size: clamp(22px, 3vw, 34px); margin-bottom: 12px; }
.plan p, .plan li { color: var(--muted); }
.plan ul { margin: 17px 0 23px; padding-left: 19px; }
.plan .button { margin-top: auto; }
.download-intro { text-align: center; }
.download-intro img, .download-intro p { margin-inline: auto; }
.download-intro img { margin-bottom: 22px; border-radius: 23%; }
.download-intro .actions { margin-top: 24px; }
.download-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 28px 0; border-bottom: 1px solid var(--line); }
.download-details div { padding: 4px 20px; }
.download-details div:first-child { padding-left: 0; }
.download-details div + div { border-left: 1px solid var(--line); }
.download-details dt { font-weight: 700; }
.download-details dd { margin-top: 5px; color: var(--muted); }
.download-safety { padding-block: 43px 72px; }
.download-safety a { display: inline-block; margin-top: 10px; }

.not-found { text-align: center; border-bottom: 0; }
.not-found p { margin-inline: auto; }
.not-found .actions { margin-top: 24px; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 12px 30px; padding-block: 20px; }
.corporate-brand, .footer-inner nav { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 18px; }
.corporate-brand img { width: 200px; }
.corporate-dark, [data-theme="dark"] .corporate-light { display: none; }
[data-theme="dark"] .corporate-dark { display: block; }
.corporate-brand small, .footer-inner nav { font-size: 13px; white-space: nowrap; }

@media (max-width: 840px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { display: flex; justify-content: space-between; gap: 12px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 71px; gap: 8px; }
  .brand { font-size: 18px; gap: 7px; }
  .brand img { width: 28px; }
  .header-tools { gap: 7px; font-size: 13px; }
  .icon-button { width: 34px; height: 34px; }
  .home-hero { min-height: 556px; padding-block: 48px 52px; }
  .home-hero h1 { font-size: clamp(32px, 10.8vw, 56px); }
  html[lang="en"] .home-hero h1 { font-size: clamp(30px, 9.2vw, 51px); }
  .home-hero p { max-width: 330px; margin-block: 17px 24px; }
  .button { padding-inline: 15px; font-size: 13px; }
  .home-product { padding-top: 32px; }
  .sample-layout { grid-template-columns: 1fr; }
  .sample-nav { display: none; }
  .sample-content { padding: 14px; }
  .sample-heading strong { font-size: 18px; }
  .sample-records { gap: 7px; }
  .sample-records div { padding: 9px; }
  .sample-records strong { font-size: 13px; }
  :lang(en) .sample-records div { padding-inline: 6px; }
  :lang(en) #faq summary { text-wrap: balance; }
  .home-ideas, .feature-list section, .plan-grid, .download-details { grid-template-columns: 1fr; }
  .home-ideas { margin-top: 28px; }
  .home-ideas article, .plan, .download-details div { padding: 19px 0; }
  .home-ideas article + article, .plan + .plan, .download-details div + div { border-left: 0; border-top: 1px solid var(--line); }
  .closing { padding-block: 48px 54px; }
  :lang(en) .closing h2 { max-width: 23ch; margin-inline: auto; font-size: clamp(30px, 6vw, 36px); }
  .page-intro { padding-block: 56px 34px; }
  .page-intro h1 { font-size: clamp(35px, 10vw, 50px); }
  .page-intro p { font-size: 16px; margin-top: 12px; }
  .feature-list section { gap: 17px; padding-block: 25px; }
  .plan-grid { padding-block: 8px 35px; }
  .download-details { padding-block: 4px; }
  .download-safety { padding-block: 30px 42px; }
  .corporate-brand img { width: 170px; }
  .footer-inner { padding-block: 19px; }
}

:root {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
  --desk-code-font: "Cascadia Code", "Noto Serif SC", Consolas, monospace;
}
:lang(zh-CN) { word-break: keep-all; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
button, input, select, summary, textarea { font: inherit; font-variant-numeric: inherit; font-feature-settings: inherit; }
.product-name { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.product-name img { width: 119px; border-radius: 0; }
.product-name i { width: 5px; height: 5px; background: #bd463b; border-radius: 50%; flex: none; }
.red { color: #bd463b; font-weight: inherit; }
.language { white-space: nowrap; }
.home-hero { min-height: 590px; }
.hero-logo { width: clamp(114px, 13vw, 174px); }
.sample-bar .product-name img { border-radius: 0; }
.home-ideas { grid-auto-rows: 1fr; }
.home-ideas h2 { min-height: 1.15em; }
.scenes, .info-block { padding-block: 30px; border-bottom: 1px solid var(--line); }
.scene-actions { justify-content: flex-start; }
.scene-panel { min-height: 120px; margin-top: 18px; padding: 20px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; }
.scene-panel h2, .info-block h2 { margin-bottom: 12px; }
.scene-actions [aria-pressed="true"] { color: var(--action-text); background: var(--action); }
.info-block p, .scene-panel p { color: var(--muted); }
.info-block .actions, .info-block .button { margin-block: 12px; }
.info-block details { padding-block: 12px; border-top: 1px solid var(--line); }
.info-block details p { margin-top: 8px; }
.info-block summary { cursor: pointer; }
#faq { margin-bottom: 45px; }
.text-button { background: none; color: inherit; border: 0; padding: 0; cursor: pointer; }
.text-button:hover { text-decoration: underline; }
.mobile-menu nav .text-button { display: block; padding-block: 10px; border-top: 1px solid var(--line); text-align: start; width: 100%; }
#contact { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: clamp(18px, 4vw, 30px); background: var(--paper); color: var(--ink); border: 1px solid var(--border); border-radius: 16px; }
#contact::backdrop { background: #0008; }
.dialog-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
#contact:has(#contact-form) { width: min(760px, calc(100% - 32px)); }
.contact-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 12px; align-items: start; margin-block: 16px; }
.contact-card { display: grid; gap: 5px; min-width: 0; padding: 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--soft); overflow-wrap: anywhere; }
a.contact-card { text-decoration: none; }
a.contact-card span { text-decoration: underline; }
#contact-form { display: grid; gap: 12px; margin-top: 12px; }
#contact-form label, .operator { display: block; }
#contact-form input, #contact-form textarea { display: block; width: 100%; padding: 8px; color: var(--ink); background: var(--soft); border: 1px solid var(--border); border-radius: 6px; }
#contact-form textarea { resize: vertical; }
#contact-form .button { justify-self: start; cursor: pointer; }
.operator { margin-top: 12px; color: var(--muted); }
.not-found .button { margin-top: 15px; }
@media (max-width: 600px) {
  .header-inner { min-height: 75px; }
  .product-name img { width: 112px; }
  .home-hero { min-height: 510px; }
  .home-ideas { grid-auto-rows: auto; }
  .home-ideas h2 { min-height: auto; }
}
@media (max-width: 350px) {
  .header-inner { width: calc(100% - 24px); }
  .product-name img { width: 89px; }
}


#contact-form fieldset { display: grid; gap: 12px; min-width: 0; padding: 0; border: 0; }
#contact-form fieldset:disabled { opacity: 0.65; }
#contact-form [role=status]:empty { display: none; }
