/* Additions to the accepted Dream Desktop direction. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 3px solid #985b3d; outline-offset: 4px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand img { object-fit: contain; flex: 0 0 auto; }
.header-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.header-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 14px; }
.language-toggle, .text-button { min-height: 44px; padding: 8px 12px; border: 0; background: transparent; color: var(--brown); text-decoration: underline; text-underline-offset: 5px; }
.primary-button, .quiet-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 8px; padding: 11px 16px; font-size: 14px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.primary-button { border: 1px solid #6b4633; background: #77533f; color: #fff9ee; }
.primary-button:hover { background: #664331; }
.quiet-button { border: 1px solid #a99c8c; background: #efe8da; color: #473b31; }
.quiet-button:hover { background: #e8decc; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0 10px; }
.hero-cta .primary-button { text-align: center; }
.demo-note { font-size: 12px; color: #806b58; line-height: 1.6; }
.copy-block h1 { max-width: none; text-wrap: balance; }
.copy-block h1 > span { white-space: nowrap; }
html:lang(zh) .copy-block h1 {
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-size: clamp(36px, 14cqw, 60px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.025em;
}
html:lang(zh) .eyebrow { letter-spacing: 0; }
.hero-cta .primary-button { white-space: nowrap; }
.desktop-app-icon { display: block; object-fit: contain; margin-inline: auto; }
.demo-actions { margin-top: 16px; }
.demo-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.demo-actions span { color: #806b58; }
.desktop-info-window { width: min(76%, 420px); }
.desktop-info-body { font-size: 14px; line-height: 1.55; }
.desktop-info-body h2 { font-size: 20px; }
.desktop-info-body .tiny-note, .desktop-info-body .full-page-link { font-size: 12px; color: #64584c; }
.desktop-info-body .full-page-link { min-height: 36px; padding: 8px 10px; }
.window-close { width: 32px; height: 32px; flex: 0 0 auto; }
.skip-link { position: fixed; z-index: 50; left: 16px; top: 12px; padding: 12px 16px; background: #fff8ea; color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
/* One reading column and a shared type rhythm below the desktop demo. */
.page-content { position: relative; z-index: 2; width: 100%; max-width: 880px; margin: 88px auto 0; }
.product-section { margin: 0; padding: 0; }
.product-section + .product-section { margin-top: 76px; padding-top: 48px; border-top: 1px solid #d9c7b1; }
.section-heading { margin-bottom: 28px; }
.product-section h2 { margin: 0 0 12px; font: 400 clamp(28px, 2.6vw, 36px)/1.3 Georgia, "Times New Roman", serif; letter-spacing: -.025em; text-wrap: balance; }
html:lang(zh) .product-section h2 { font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-weight: 600; line-height: 1.4; letter-spacing: -.015em; }
.product-section h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.55; }
.product-section p { margin: 0; font-size: 16px; line-height: 1.8; color: #705b49; }
.section-heading p { max-width: 56ch; }
.inbox-story { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.inbox-figure { margin: 0; min-width: 0; }
.inbox-screenshot { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 15px #6f4c3420); }
.inbox-figure figcaption { margin-top: 16px; text-align: center; color: #806b58; font-size: 13px; line-height: 1.6; }
.handling-notes { display: grid; gap: 32px; margin: 0; padding: 0; list-style: none; }
.handling-notes li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; }
.handling-notes img { object-fit: contain; margin-top: 2px; }
.handling-notes p { margin-top: 7px; }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 40px 150px minmax(0, 1fr); gap: 22px; align-items: center; padding: 24px 0; }
.feature-list li:first-child { padding-top: 0; }
.feature-list li + li { border-top: 1px solid #e0d0bd; }
.feature-list img { object-fit: contain; }
.product-section .section-note { font-size: 13px; color: #806b58; margin-top: 8px; }
.faq-section details { border-bottom: 1px solid #deccb6; }
.faq-section details:first-of-type { border-top: 1px solid #deccb6; }
.faq-section summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; font-size: 16px; font-weight: 500; line-height: 1.6; list-style: none; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+"; flex: 0 0 20px; text-align: center; font-size: 22px; font-weight: 400; color: #806b58; }
.faq-section details[open] summary::after { content: "−"; }
.faq-section details p { max-width: 65ch; padding-right: 44px; margin-bottom: 20px; }
.faq-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 14px; }
.text-link { display: inline-block; min-height: 44px; padding-block: 12px; font-size: 14px; line-height: 1.6; color: #5b4332; text-underline-offset: 5px; }
.release-note { display: flex; align-items: center; gap: 20px; padding: 24px 0; margin-top: 40px; border-block: 1px solid #d9c7b1; }
.release-note img { object-fit: contain; flex: 0 0 auto; }
.release-note h3 { font-size: 16px; }
.release-note p { margin-top: 6px; font-size: 14px; }
.site-footer { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; max-width: 880px; width: 100%; margin: 32px auto 0; color: #705b49; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-size: 14px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.site-footer small { width: 100%; font-size: 12px; line-height: 1.6; }
@media (max-width: 1100px) {
  .hero-cta, .copy-block .demo-note { grid-column: 1 / -1; }
  .hero-cta { margin-top: 8px; }
}
@media (max-width: 680px) {
  .hero-header { flex-wrap: wrap; gap: 12px; }
  .header-links { width: 100%; justify-content: space-between; gap: 6px; }
  .header-links a, .language-toggle { font-size: 13px; }
  .header-links .quiet-button { padding-inline: 10px; }
  .crt-shell { width: 100%; }
  .copy-block h1 { max-width: none; font-size: clamp(30px, 8vw, 40px); }
  html:lang(zh) .copy-block h1 { font-size: clamp(34px, 10vw, 44px); }
  .stage { margin-top: 22px; gap: 16px; }
  .copy-block { padding-block: 8px; }
  .hero-cta { margin-top: 20px; }
  .page-content { margin-top: 60px; }
  .product-section + .product-section { margin-top: 48px; padding-top: 32px; }
  .section-heading { margin-bottom: 22px; }
  .inbox-story { grid-template-columns: 1fr; gap: 28px; }
  .inbox-figure { max-width: 300px; width: 100%; margin-inline: auto; }
  .handling-notes { gap: 24px; }
  .feature-list li { grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; row-gap: 5px; padding-block: 20px; }
  .feature-list img { width: 32px; height: 32px; grid-row: 1 / 3; align-self: start; }
  .feature-list p { grid-column: 2; }
  .release-note { align-items: flex-start; gap: 14px; margin-top: 28px; }
  .release-note img { width: 44px; height: 44px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (min-width: 681px) and (max-width: 1100px) {
  html:lang(zh) .copy-block h1 { font-size: clamp(34px, 4.5vw, 46px); }
  .copy-block .eyebrow, .copy-block .subcopy { align-self: start; }
  .copy-block .subcopy { margin-top: 4px; }
}

/* Latin text needs a larger reading size than the Chinese setting. */
html:lang(en) body { font-size: 18px; }
html:lang(en) .header-links a,
html:lang(en) .language-toggle,
html:lang(en) .primary-button,
html:lang(en) .quiet-button,
html:lang(en) .text-button { font-size: 16px; }
html:lang(en) .copy-block h1 {
  font-size: clamp(40px, 4vw, 64px);
  font-size: clamp(40px, 12cqw, 64px);
  line-height: 1.18;
}
html:lang(en) .copy-block .eyebrow { font-size: 15px; }
html:lang(en) .subcopy { font-size: 19px; line-height: 1.7; }
html:lang(en) .demo-note { font-size: 14px; }
html:lang(en) .demo-actions span { font-size: 16px; line-height: 1.65; }
html:lang(en) .desktop-info-body { font-size: 16px; line-height: 1.6; }
html:lang(en) .desktop-info-body h2 { font-size: 22px; }
html:lang(en) .desktop-info-body .tiny-note,
html:lang(en) .desktop-info-body .full-page-link { font-size: 14px; }
html:lang(en) .product-section h2 { font-size: clamp(30px, 3vw, 40px); }
html:lang(en) .product-section h3 { font-size: 20px; }
html:lang(en) .product-section p { font-size: 18px; line-height: 1.7; }
html:lang(en) .faq-section summary { font-size: 18px; }
html:lang(en) .inbox-figure figcaption,
html:lang(en) .product-section .section-note { font-size: 14px; }
html:lang(en) .text-link,
html:lang(en) .site-footer a { font-size: 16px; }
html:lang(en) .release-note h3 { font-size: 18px; }
html:lang(en) .release-note p { font-size: 16px; }
html:lang(en) .site-footer small { font-size: 14px; }
@media (min-width: 681px) and (max-width: 1100px) {
  html:lang(en) .copy-block h1 { font-size: clamp(40px, 4.5vw, 50px); }
}
@media (max-width: 680px) {
  html:lang(en) .header-links a,
  html:lang(en) .language-toggle { font-size: 15px; }
  html:lang(en) .copy-block h1 { font-size: clamp(36px, 9vw, 44px); }
  html:lang(en) .subcopy { font-size: 18px; }
  html:lang(en) .product-section p { font-size: 17px; }
  html:lang(en) .product-section h3 { font-size: 19px; }
  html:lang(en) .release-note h3 { font-size: 18px; }
  html:lang(en) .release-note p { font-size: 16px; }
}
