:root {
  --bg: #f5f5f7; --ink: #1f2d3d; --muted: #65656b; --blue: #00b67a;
  --line: #dedee3; --ease: cubic-bezier(.22,.68,0,1.01);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: var(--bg); font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
body, button, textarea { font: inherit; }
button, a, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, textarea { color: inherit; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
button, a, textarea { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 10px; left: 14px; z-index: 100; padding: 14px 20px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #e9e9ed; background: #fafafc; }
@supports (backdrop-filter: blur(1px)) {
  .site-nav { background: rgba(250,250,252,.9); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); }
}
.nav-inner { width: min(1180px,calc(100% - 48px)); min-height: 64px; margin: auto; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; white-space: nowrap; }
.brand-mark { width: 30px; height: 34px; object-fit: contain; flex: 0 0 auto; }
.brand-wordmark { display: grid; gap: 0; line-height: 1; }
.brand-wordmark strong { font-size: 16px; font-weight: 750; letter-spacing: .04em; color: var(--ink); }
.brand-wordmark small { margin-top: 4px; font-size: 7px; font-weight: 650; letter-spacing: .34em; color: #48606c; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 12px; }
.nav-links a, .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover, .footer-links a:hover { color: var(--blue); }
.nav-download { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 0 16px; border-radius: 24px; color: white; background: var(--blue); font-size: 12px; white-space: nowrap; }
.menu-toggle { display: none; border: 0; background: none; min-width: 64px; min-height: 44px; font-size: 13px; }
.hero { background: linear-gradient(#fff 0%, #fff 48%, #f1f3f7 100%); text-align: center; padding: 78px 24px 80px; }
.eyebrow { margin: 0 0 20px; color: var(--muted); font-size: 15px; font-weight: 600; letter-spacing: .03em; }
.hero h1 { margin: 0; font-size: clamp(40px,5.45vw,78px); line-height: 1.2; font-weight: 700; letter-spacing: -.048em; }
.hero h1 span { color: #76767d; }
.hero-copy { margin: 25px 0 0; color: var(--muted); font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; justify-content: center; gap: 16px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; padding: 0 25px; border: 0; border-radius: 28px; font-size: 15px; font-weight: 550; transition: transform 180ms var(--ease), background 180ms ease; }
.button.primary { background: var(--blue); color: white; }
.button.ghost { color: var(--blue); background: transparent; }
.button.white { color: var(--ink); background: #fff; }
.button:active:not(:disabled):not([aria-disabled="true"]) { transform: scale(.98); }
@media (hover:hover) and (pointer:fine) {
  .button:hover:not(:disabled):not([aria-disabled="true"]) { transform: translateY(-2px); }
  .button.primary:hover { background: #009c68; }
}
.hero-meta { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.product-stage { max-width: 1180px; margin: 55px auto 0; scroll-margin-top: 82px; text-align: left; }
.product-window { overflow: hidden; background: white; border: 1px solid #e0e2e8; border-radius: 22px; box-shadow: 0 28px 70px -25px #18274430, 0 4px 16px #18274408; }
.window-topbar { min-height: 62px; padding: 15px 27px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e9e9ed; }
.window-brand { display: flex; align-items: center; gap: 10px; }
.window-brand h2 { margin: 0; font-size: 15px; font-weight: 600; }
.mini-mark { width: 9px; height: 9px; border: 2px solid var(--blue); border-radius: 50%; }
.demo-badge { padding: 5px 10px; border: 1px solid #dce0e8; border-radius: 16px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.window-body { display: grid; grid-template-columns: 1fr 1.06fr; }
.demo-editor { padding: 29px; min-width: 0; }
.editor-heading, .editor-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.editor-heading label, .template-options legend, .preview-caption { font-size: 13px; font-weight: 550; }
.step-number { color: #7b7b83; font-size: 11px; font-variant-numeric: tabular-nums; margin-right: 6px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--blue); min-height: 44px; padding: 0 6px; font-size: 12px; }
.text-button:disabled { color: var(--muted); }
#demo-text { display: block; width: 100%; height: 252px; resize: vertical; min-height: 160px; max-height: 550px; padding: 18px; background: #fafafb; border: 1px solid #dadbe1; border-radius: 12px; font-size: 14px; line-height: 1.95; }
#demo-text:focus-visible { background: white; outline-offset: 2px; }
.editor-meta { color: var(--muted); font-size: 11px; min-height: 34px; }
.template-options { padding: 0; margin: 20px 0 23px; border: 0; }
.template-options legend { padding: 0; margin-bottom: 12px; }
.template-chips { display: flex; gap: 9px; flex-wrap: wrap; }
.template-chip { min-height: 44px; min-width: 74px; padding: 0 20px; border: 1px solid #d5d7de; border-radius: 10px; background: white; font-size: 13px; transition: background 160ms ease, border-color 160ms ease; }
.template-chip[aria-pressed="true"] { background: #edf5ff; color: #0059b3; border-color: #0066cc; box-shadow: inset 0 0 0 1px #0066cc; }
.demo-actions { display: flex; align-items: center; gap: 16px; }
.demo-actions>span { color: var(--muted); font-size: 11px; }
.demo-actions .button { font-size: 13px; padding: 0 20px; }
.demo-note { margin: 17px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.demo-preview { padding: 28px 34px 24px; background: #f0f2f6; min-width: 0; border-left: 1px solid #e8e9ee; }
.preview-caption { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 20px; color: #595b65; }
#preview-template { font-size: 11px; font-weight: 400; }
.paper { width: 100%; max-width: 402px; margin: auto; min-height: 435px; padding: 29px 32px 22px; background: white; box-shadow: 0 4px 14px #222f4310; font-family: "Songti SC", SimSun, serif; overflow-wrap: anywhere; }
.paper-letterhead { text-align: center; color: #a53b37; font-size: 16px; font-weight: 700; letter-spacing: .15em; padding-bottom: 11px; border-bottom: 2px solid #af4943; }
.paper h3 { margin: 21px 0 18px; font-size: 16px; line-height: 1.7; text-align: center; font-weight: 700; }
#paper-body { font-size: 11px; line-height: 1.95; }
#paper-body p { margin: 5px 0; white-space: pre-wrap; }
#paper-body p:not(:first-child) { text-indent: 2em; }
#paper-body .paper-subheading { font-weight: 700; }
.paper-footer { margin-top: 24px; text-align: center; font-size: 9px; color: #73737a; }
.paper[data-style="request"] .paper-letterhead { color: #333; border-color: #777; letter-spacing: .35em; }
.paper[data-style="request"] h3 { margin-top: 30px; }
.paper[data-style="letter"] .paper-letterhead { color: #315473; border-color: #315473; text-align: center; }
.paper[data-style="letter"] h3 { text-align: center; }
.preview-disclaimer { max-width: 402px; margin: 14px auto 0; color: #686b74; font-size: 10px; line-height: 1.7; }
.demo-status { padding: 13px 27px; border-top: 1px solid #e4e6eb; color: var(--muted); font-size: 11px; line-height: 1.6; }
.noscript-note { margin: 0; padding: 16px 27px; font-size: 13px; line-height: 1.7; background: #fff4db; }
.section { padding: 115px 24px; }
.section-head { width: min(1080px,100%); margin: 0 auto 58px; }
.section-head h2, .download-card h2 { margin: 0; font-weight: 650; font-size: clamp(32px,4.3vw,60px); letter-spacing: -.04em; line-height: 1.25; }
.section-head>p:last-child { max-width: 650px; margin: 23px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.section-dark { background: #161617; color: #f5f5f7; }
.eyebrow.light, .section-dark .section-head>p:last-child { color: #aaaab1; }
.feature-grid { width: min(1180px,100%); margin: auto; display: grid; grid-template-columns: 1.12fr 1fr; gap: 22px; }
.feature-card { display: flex; flex-direction: column; padding: 35px; min-width: 0; border: 1px solid #343437; border-radius: 24px; background: #222224; }
.feature-large { grid-row: span 2; }
.feature-number { color: #b2b2bb; font-size: 12px; }
.feature-card h3 { font-size: clamp(25px,2.7vw,36px); line-height: 1.3; margin: 22px 0 15px; letter-spacing: -.03em; }
.feature-card p { color: #b3b3bc; margin: 0; font-size: 14px; line-height: 1.85; }
.writing-visual { background: #2c2c30; border: 1px solid #3d3d42; border-radius: 16px; padding: 30px; margin: 45px 0 25px; display: grid; gap: 21px; min-height: 250px; font-size: 13px; line-height: 1.9; }
.writing-visual i { display: block; height: 4px; border-radius: 3px; background: #4c4c53; width: 90%; }
.writing-visual i:nth-of-type(2) { width: 72%; }
.writing-visual i:nth-of-type(3) { width: 83%; }
.writing-caret { color: #d7e7ff; }
.feature-footnote { margin-top: auto; padding-top: 24px; font-size: 11px; color: #adadb6; }
.template-visual { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 27px; }
.template-visual span { padding: 9px 13px; border: 1px solid #4a4a51; border-radius: 8px; color: #e0e0e6; font-size: 12px; }
.file-chip { margin-top: 25px; display: flex; align-items: center; gap: 14px; }
.file-chip>span { width: 42px; height: 48px; display: grid; place-items: center; background: #244f88; border-radius: 8px; font-size: 20px; font-weight: 600; }
.file-chip strong, .file-chip small { display: block; font-size: 13px; }
.file-chip small { margin-top: 4px; color: #b3b3bc; font-size: 11px; }
.capability-section { background: white; }
.capability-list { max-width: 1080px; margin: auto; border-top: 1px solid var(--line); }
.capability-row { display: grid; grid-template-columns: 154px 1fr auto; gap: 24px; align-items: center; padding: 25px 0; border-bottom: 1px solid var(--line); }
.capability-row>span { font-size: 13px; color: var(--muted); }
.capability-row strong { font-size: 15px; line-height: 1.8; font-weight: 500; }
.status { display: inline-flex; align-items: center; padding: 6px 10px; font-size: 11px; font-style: normal; border-radius: 20px; white-space: nowrap; }
.status.preview { background: #eff4fb; color: #315779; }
.status.roadmap { background: #eeeef1; color: #5e5e65; }
.updates-section { background: var(--bg); }
.updates-layout { max-width: 1080px; margin: auto; display: grid; grid-template-columns: 320px 1fr; gap: 80px; }
.current-release { position: sticky; top: 94px; align-self: start; padding: 30px; background: white; border-radius: 22px; }
.release-label { font-size: 13px; color: var(--muted); }
.release-version { font-size: 45px; letter-spacing: -.04em; font-weight: 650; margin: 15px 0 8px; overflow-wrap: anywhere; }
.current-release>p { font-size: 12px; line-height: 1.8; color: var(--muted); }
.release-lines { padding-top: 20px; margin-top: 25px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.release-lines span { font-size: 13px; line-height: 1.8; color: var(--muted); }
.timeline article { display: grid; grid-template-columns: 78px 1fr; gap: 25px; padding: 27px 0; border-top: 1px solid #d8d8de; }
.timeline time { color: var(--muted); font-size: 13px; line-height: 1.9; }
.timeline time span { font-size: 10px; }
.timeline h3 { margin: 0 0 10px; font-size: 23px; font-weight: 600; letter-spacing: -.025em; }
.timeline p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.9; }
.download-section { padding: 0 24px 100px; }
.download-card { max-width: 1180px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 55px; padding: 65px; color: white; background: #1d1d20; border-radius: 28px; }
.download-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.download-brand img { width: 42px; height: 48px; object-fit: contain; }
.download-brand span { display: grid; line-height: 1; }
.download-brand strong { font-size: 18px; letter-spacing: .05em; }
.download-brand small { margin-top: 5px; font-size: 8px; letter-spacing: .32em; color: #9be8cf; }
.download-card>div>p:not(.eyebrow) { color: #b7b7c1; font-size: 14px; line-height: 1.8; }
.download-actions { width: 300px; flex-shrink: 0; display: grid; gap: 12px; text-align: center; }
.download-secondary { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.download-actions small { color: #b6b6bf; font-size: 11px; line-height: 1.8; }
.download-actions #download-status { margin: 0; color: #cccbd3; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.retry-download { color: #a9cdff; justify-self: center; }
[aria-disabled="true"] { cursor: not-allowed; }
.download-actions [aria-disabled="true"] { opacity: .65; }
.site-footer { width: min(1180px,calc(100% - 48px)); margin: auto; padding: 26px 0 34px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.site-footer>div:first-child { display: flex; gap: 12px; align-items: center; line-height: 1.8; }
.footer-brand img { width: 24px; height: 27px; object-fit: contain; }
.site-footer strong { color: var(--ink); font-weight: 600; }
.footer-links { display: flex; gap: 22px; margin: 10px 0; }
.site-footer p { margin: 0; }
/* Content is visible without JavaScript, IntersectionObserver or motion support. */
@keyframes arrive { from { opacity: .35; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion:no-preference) {
  .reveal.is-visible { animation: arrive 550ms var(--ease) both; }
}
@media (max-width:960px) {
  .nav-inner { gap: 18px; }
  .nav-links { gap: 15px; }
  .demo-editor { padding: 23px; }
  .demo-preview { padding: 25px 23px; }
  .paper { padding: 24px; }
  .demo-actions { align-items: flex-start; flex-direction: column; gap: 9px; }
  .updates-layout { gap: 35px; grid-template-columns: 280px 1fr; }
  .download-card { padding: 44px; gap: 30px; }
}
@media (max-width:720px) {
  .nav-inner { width: calc(100% - 32px); flex-wrap: wrap; gap: 0 12px; min-height: 60px; }
  .brand-mark { width: 27px; height: 30px; }
  .brand-wordmark strong { font-size: 14px; }
  .brand-wordmark small { font-size: 6px; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-left: auto; order: 2; }
  .nav-download { margin-left: auto; font-size: 11px; padding: 0 12px; min-height: 44px; }
  .nav-links { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 4px; padding: 4px 0 12px; }
  .has-menu .nav-links { display: none; }
  .has-menu .nav-links.is-open { display: flex; }
  .hero { padding: 52px 16px 58px; }
  .hero h1 { font-size: clamp(32px,6.6vw,47px); letter-spacing: -.05em; }
  .hero-copy { font-size: 16px; margin-top: 20px; }
  .eyebrow { font-size: 13px; margin-bottom: 18px; }
  .hero-meta { max-width: 290px; margin: 16px auto 0; font-size: 11px; }
  .hero-actions { gap: 6px; margin-top: 23px; }
  .button { font-size: 13px; padding: 0 19px; }
  .product-stage { margin-top: 36px; }
  .product-window { border-radius: 17px; }
  .window-topbar { padding: 13px 18px; }
  .window-brand h2 { font-size: 13px; }
  .window-body { grid-template-columns: 1fr; }
  .demo-editor { padding: 18px; }
  #demo-text { height: 220px; font-size: 16px; }
  .demo-actions { flex-direction: row; align-items: center; gap: 12px; }
  .demo-actions>span { font-size: 10px; }
  .demo-preview { border-left: 0; border-top: 1px solid #e2e4ea; padding: 24px; }
  .paper { min-height: 405px; }
  .demo-status { padding: 13px 18px; }
  .section { padding: 72px 24px; }
  .section-head { margin-bottom: 35px; }
  .section-head h2 { font-size: clamp(29px,5.1vw,39px); }
  .section-head>p:last-child { font-size: 15px; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-large { grid-row: auto; }
  .feature-card { padding: 28px; border-radius: 21px; }
  .feature-card h3 { font-size: 28px; }
  .writing-visual { min-height: 215px; margin-top: 30px; padding: 23px; }
  .capability-row { grid-template-columns: 1fr auto; gap: 7px 16px; padding: 20px 0; }
  .capability-row>span { grid-column: 1; }
  .capability-row strong { grid-column: 1; grid-row: 2; font-size: 14px; }
  .capability-row .status { grid-column: 2; grid-row: 1 / 3; }
  .updates-layout { grid-template-columns: 1fr; }
  .current-release { position: static; }
  .timeline article { gap: 15px; grid-template-columns: 67px 1fr; }
  .timeline h3 { font-size: 21px; }
  .download-section { padding: 0 16px 66px; }
  .download-card { flex-direction: column; align-items: stretch; padding: 36px 27px; border-radius: 22px; gap: 27px; }
  .download-card h2 { font-size: 44px; }
  .download-actions { width: 100%; }
  .site-footer { width: calc(100% - 40px); }
  .site-footer>div:first-child { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button { transform: none !important; }
}
@media (prefers-reduced-transparency:reduce), (prefers-contrast:more) {
  .site-nav { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (forced-colors:active) {
  .template-chip[aria-pressed="true"] { outline: 2px solid Highlight; }
  .paper, .feature-card, .product-window { border: 1px solid CanvasText; }
}
