:root {
  color-scheme: light;
  --ink: #17181e;
  --black: #14151a;
  --paper: #f7f4eb;
  --white: #fffdf6;
  --line: #d5d0c5;
  --quiet: #5e5d57;
  --accent: #f6a47d;
  --copper: #903d2a;
  --display: "Songti SC", STSong, "Noto Serif CJK SC", SimSun, serif;
  --body: system-ui, "Microsoft YaHei", "PingFang SC", sans-serif;
  --snap: cubic-bezier(.22, .8, .24, 1);
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
.dark :focus-visible, .site-header :focus-visible { outline-color: var(--accent); }
.frame { width: min(100% - 112px, 1260px); margin-inline: auto; }
.keep { white-space: nowrap; }
.dark { background: var(--black); color: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 10px; z-index: 10; padding: 12px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 4; background: #14151af7; color: var(--paper); border-bottom: 1px solid #ffffff28; }
.header-inner, .footer-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 1.08rem; font-weight: 760; }
.site-header nav { display: flex; align-items: center; gap: clamp(17px, 3vw, 43px); font-size: .9rem; }
.site-header nav a, .footer-inner > a:last-child { min-height: 44px; display: inline-grid; align-items: center; }
.desktop-nav { color: #d7d5d3; transition: color 160ms; }
.desktop-nav:hover, .footer-inner > a:last-child:hover { color: var(--accent); }
.header-download { padding-inline: 14px; border: 1px solid #f7a58090; color: var(--accent); transition: background 180ms; }
.header-download:hover { background: #f6a47d1f; }
@supports (animation-timeline: scroll()) {
  .site-header::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--accent); transform-origin: left; animation: reading-progress linear both; animation-timeline: scroll(root); pointer-events: none; }
  @keyframes reading-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
.hero { overflow: clip; }
.hero-inner { min-height: clamp(610px, calc(86svh - 72px), 742px); display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(12px, 3.1vw, 45px); padding-block: 54px 59px; }
.hero-copy { position: relative; z-index: 1; animation: copy-in 700ms var(--snap) both; }
.eyebrow { color: var(--accent); font-size: .86rem; letter-spacing: .105em; font-weight: 650; margin-bottom: 24px; display: flex; align-items: center; gap: 11px; }
.eyebrow::before { content: ""; width: 22px; border-top: 1px solid currentColor; }
.hero h1 { font-family: var(--display); font-size: clamp(3.35rem, 6.05vw, 5.85rem); letter-spacing: -.022em; line-height: 1.1; font-weight: 750; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-summary { color: #dedbd4; margin-top: 25px; max-width: 24em; font-size: clamp(1rem, 1.29vw, 1.175rem); line-height: 1.76; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.button { min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 8px 17px; border: 1px solid transparent; font-size: .9375rem; font-weight: 690; line-height: 1.25; text-align: center; transition: color 180ms, background 180ms, border-color 180ms, transform 180ms var(--snap); }
.button:active { transform: translateY(2px) scale(.985); }
.button span { font-family: var(--body); font-size: 1.1em; }
.primary { background: var(--accent); color: #301c17; }
.primary:hover { background: #ffc0a2; }
.secondary { background: transparent; color: var(--paper); border-color: #f6f4ec61; }
.secondary:hover { background: #ffffff19; border-color: #f7f5ed; }
.outline { border-color: #211e1b66; background: transparent; }
.outline:hover { background: #211e1b0d; border-color: #211e1bc7; }
.cover { position: relative; align-self: stretch; display: grid; align-content: center; min-width: 0; --tilt-x: 0deg; --tilt-y: 0deg; }
.cover-rule { position: absolute; inset: 7% -22% 9% 10%; border: 1px solid #e0d4b92d; border-right: 0; transform: skewY(-9deg); background: #1d1e26; }
.cover-rule::after { content: ""; position: absolute; inset: 9% 0; border-block: 1px solid #e0d4b91c; }
.cover-forms { aspect-ratio: 1.25; position: relative; z-index: 1; transform: perspective(1250px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transition: transform 390ms var(--snap); }
.cover-sheet { position: absolute; padding: 10px; background: var(--white); box-shadow: 0 21px 41px #0008; border: 1px solid #ffffffad; }
.cover-sheet img { width: 100%; object-fit: contain; }
.cover-plan { width: 52%; left: 8%; top: 14%; rotate: -16deg; animation: paper-from-left 940ms var(--snap) both; }
.cover-practice { width: 58%; left: 42%; top: 28%; rotate: 16deg; animation: paper-from-right 1080ms var(--snap) both; }
.cover-slide { width: 81%; left: 4%; top: 36%; rotate: -7deg; background: #faf6e7; animation: paper-in 870ms 40ms var(--snap) both; }
.cover figcaption { position: relative; z-index: 1; color: #ded7c9; font-size: .8125rem; border-top: 1px solid #ffffff3b; margin-top: 13px; padding-top: 10px; animation: copy-in 700ms 130ms var(--snap) both; }
@keyframes copy-in { from { opacity: 0; transform: translateY(19px); } to { opacity: 1; transform: translateY(0); } }
@keyframes paper-in { from { opacity: 0; transform: translate(18px, 42px) rotate(6deg); } to { opacity: 1; transform: translate(0); } }
@keyframes paper-from-left { from { opacity: 0; transform: translate(19%, 25%) rotate(17deg); } to { opacity: 1; transform: translate(0); } }
@keyframes paper-from-right { from { opacity: 0; transform: translate(-16%, 15%) rotate(-17deg); } to { opacity: 1; transform: translate(0); } }

.download { padding-block: clamp(60px, 7vw, 104px); }
.section-title { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); gap: 22px 42px; align-items: end; margin-bottom: 34px; }
.section-title h2, .faq h2 { font-family: var(--display); font-size: clamp(2.45rem, 5.2vw, 4.95rem); font-weight: 740; line-height: 1.09; letter-spacing: -.045em; }
.section-title p { max-width: 29em; color: var(--quiet); font-size: clamp(1rem, 1.27vw, 1.12rem); line-height: 1.76; }
.features { padding-block: clamp(42px, 5.7vw, 78px); }
.features h2 { font: 740 clamp(2rem, 3.9vw, 3.7rem)/1.16 var(--display); letter-spacing: -.025em; margin-bottom: 23px; }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 26px; }
.feature-list > div { padding-top: 15px; border-top: 1px solid var(--line); }
.feature-list dt { font-size: clamp(1.12rem, 1.75vw, 1.35rem); font-weight: 740; }
.feature-list dd { margin-top: 7px; color: var(--quiet); line-height: 1.68; }

.style-gallery { padding-block: clamp(52px, 7vw, 97px); background: #212228; }
.style-gallery .section-title h2 { font-size: clamp(2.25rem, 4.65vw, 4.25rem); }
.style-gallery .section-title p { color: #dcd7cb; }
.style-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; gap: 25px 16px; }
.style-sample { display: block; grid-column: span 3; min-width: 0; width: 100%; padding: 0; border: 0; background: transparent; color: var(--paper); text-align: left; }
.style-sample:first-child { grid-column: span 7; }
.style-sample:nth-child(2) { grid-column: span 5; }
.style-image { display: block; overflow: hidden; border: 1px solid #f7f2e136; background: #14151a; transition: border-color 190ms; }
.style-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; transition: scale 420ms var(--snap); }
.style-label { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 0 7px; border-bottom: 1px solid #f7f2e136; font-size: clamp(.925rem, 1.4vw, 1.08rem); font-weight: 700; transition: color 190ms; }
.style-label > [aria-hidden] { color: var(--accent); }
.style-sample:hover .style-label, .style-sample:focus-visible .style-label { color: var(--accent); }
.style-sample:hover .style-image, .style-sample:focus-visible .style-image { border-color: var(--accent); }
.style-sample:hover img { scale: 1.032; }
.style-sample:active img { scale: 1.012; }

.workflow { background: #eae7de; padding-block: 82px 50px; }
.workflow > .frame { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 12px 57px; align-items: start; }
.workflow .section-title, .demonstration .section-title { display: block; }
.workflow .section-title p, .demonstration .section-title p { margin-top: 18px; }
.workflow .section-title h2 { font-size: clamp(2.7rem, 4.8vw, 4.7rem); }
.paths { display: grid; gap: 10px; align-items: start; }
.paths details { min-width: 0; background: #f4f0e5; border-top: 2px solid #697a64; padding-inline: 19px; }
.paths details + details { border-color: #b96a54; }
summary { list-style: none; position: relative; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1px; top: 50%; translate: 0 -50%; color: var(--copper); font-family: var(--body); font-size: 1.22rem; font-weight: 400; transition: rotate 200ms var(--snap); }
details[open] > summary::after { rotate: 45deg; }
.paths summary { padding: 14px 27px 14px 0; min-height: 58px; font-weight: 720; font-size: 1.09rem; }
.paths details p, .faq details p { padding: 0 12px 17px 0; color: var(--quiet); line-height: 1.8; max-width: 48em; }
@supports (interpolate-size: allow-keywords) {
  details { interpolate-size: allow-keywords; }
  details::details-content { height: 0; overflow: clip; transition: height 240ms var(--snap), content-visibility 240ms allow-discrete; }
  details[open]::details-content { height: auto; }
}
.unfold { position: relative; grid-column: 1 / -1; margin-top: 8px; min-height: clamp(306px, 33vw, 458px); isolation: isolate; view-timeline-name: --unfold; view-timeline-axis: block; }
.unfold::before { content: ""; position: absolute; inset: 24% 3% 12%; border: 1px solid #695e4e29; transform: skewY(-6deg); }
.unfold-paper { position: absolute; left: 50%; top: 47%; width: 38%; max-width: 540px; padding: 9px 9px 0; background: #fbfaf1; border: 1px solid #8b806d45; box-shadow: 0 14px 32px #322a2238; transform: translate(-50%, -50%) translate(var(--paper-x), var(--paper-y)) rotate(var(--paper-r)); }
.unfold-paper img { width: 100%; }
.unfold-paper span { display: block; padding: 8px 1px; color: #463c32; font-size: .825rem; font-weight: 700; }
.unfold-a { --paper-x: -68%; --paper-y: 10%; --paper-r: -11deg; }
.unfold-b { --paper-x: 0%; --paper-y: -13%; --paper-r: -2deg; z-index: 2; }
.unfold-c { --paper-x: 68%; --paper-y: 13%; --paper-r: 11deg; }
@supports (animation-timeline: view()) {
  .unfold-paper { animation: fan-open linear both; animation-timeline: --unfold; animation-range: entry 5% cover 47%; }
  @keyframes fan-open {
    from { transform: translate(-50%, -50%) rotate(2deg) scale(.83); }
    to { transform: translate(-50%, -50%) translate(var(--paper-x), var(--paper-y)) rotate(var(--paper-r)) scale(1); }
  }
}

.demonstration { padding-block: clamp(55px, 7vw, 95px); }
.demonstration > .frame { display: grid; grid-template-columns: minmax(0, .49fr) minmax(0, 1fr); align-items: start; gap: 0 clamp(25px, 5vw, 62px); }
.demonstration .section-title h2 { font-size: clamp(2.5rem, 4.65vw, 4.42rem); }
.demonstration .section-title p { color: #d7d3cb; }
.demonstration h2 { color: var(--accent); }
.compare { --comparison: 51%; background: #202127; border: 1px solid #f7f2e537; }
.compare-stage { position: relative; isolation: isolate; aspect-ratio: 16/9; background: #ece3cd; }
.compare-stage img { position: absolute; width: 100%; height: 100%; object-fit: cover; inset: 0; pointer-events: none; user-select: none; }
@media (pointer: fine) { .compare-stage { cursor: ew-resize; } }
.edited-image { clip-path: inset(0 calc(100% - var(--comparison)) 0 0); }
.compare-line { position: absolute; inset: 0 auto 0 var(--comparison); width: 2px; background: #fff9ee; box-shadow: 0 0 5px #28211f7a; pointer-events: none; }
.compare-line span { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; border: 1px solid #fff5e3; border-radius: 50%; background: #202127; color: white; width: 38px; height: 38px; font-size: 1.04rem; white-space: nowrap; }
.compare:has(input:focus-visible) .compare-line span { outline: 3px solid var(--accent); outline-offset: 3px; }
.compare.is-endpoint .compare-line { visibility: hidden; }
.compare-tag { position: absolute; top: 12px; padding: 6px 8px; font-size: .8rem; background: #17181ee8; color: var(--white); pointer-events: none; }
.tag-edit { left: 12px; }
.tag-source { right: 12px; }
.compare[data-mode="source"] .tag-edit, .compare[data-mode="edit"] .tag-source { visibility: hidden; }
.compare-controls { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; align-items: center; gap: clamp(8px, 2vw, 28px); padding: 10px 15px; border-top: 1px solid #fff5e447; }
.compare-controls button { padding: 3px 8px; min-height: 44px; border: 0; background: transparent; color: #e5ddd0; transition: color 180ms, background 180ms; }
.compare-controls button:hover, .compare-controls button[aria-pressed="true"] { color: var(--accent); background: #f6a47d19; }
.compare-slider { display: grid; align-items: center; min-height: 44px; }
.compare-slider input { width: 100%; min-width: 0; margin: 0; height: 29px; accent-color: var(--accent); cursor: ew-resize; }
.demo-foot { grid-column: 2; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; column-gap: 18px; margin-top: 9px; color: #ccc6bb; font-size: .925rem; }
.text-button { padding: 0; border: 0; min-height: 44px; background: transparent; color: var(--accent); text-underline-offset: 4px; }
.text-button:hover { text-decoration: underline; }
.toolkit { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 25px; margin-top: 29px; padding-top: 23px; border-top: 1px solid #fff5e439; }
.toolkit dt { font-size: 1.06rem; font-weight: 740; }
.toolkit dd { color: #dad4c8; margin-top: 6px; line-height: 1.7; }

.download .section-title { display: block; padding-bottom: 24px; margin: 0 auto; text-align: center; }
.download .section-title p { margin: 17px auto 0; }
.platform-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.platform { padding: 18px; border: 1px solid var(--line); border-top: 2px solid var(--ink); background: #fbf7ed; }
.platform-main { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; }
.platform h3 { font-size: clamp(1.35rem, 2.7vw, 2.12rem); line-height: 1.2; font-weight: 640; letter-spacing: -.02em; }
.platform-status { color: var(--copper); font-size: .95rem; }
.release-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 10px; }
.release-button { background: var(--ink); color: var(--paper); }
.release-button:hover { background: #32333b; }
.release-retry { margin-top: 10px; }
.release-retry:disabled { cursor: wait; opacity: .65; }
.release-meta { color: var(--quiet); font-size: .9rem; }
.release-description { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin-top: 20px; }
.release-description h3 { margin-bottom: 6px; font-size: 1rem; }
.release-description p { margin: 0; color: var(--quiet); line-height: 1.67; white-space: pre-wrap; overflow-wrap: anywhere; }
.requirements { margin-top: 17px; line-height: 1.67; color: var(--quiet); font-size: .95rem; }
.requirements strong { color: var(--ink); margin-right: 6px; }
.faq { padding-block: 19px 76px; display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: 23px 34px; }
.faq h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.faq-items { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 54px; padding: 15px 25px 15px 0; font-weight: 690; }
.faq summary:hover, .paths summary:hover { color: var(--copper); }
.footer-inner { min-height: 80px; }
.footer-inner > a:last-child { display: inline-flex; gap: 9px; font-size: .9rem; color: #d6d0c5; white-space: nowrap; }

.lightbox { max-width: min(94vw, 1100px); max-height: 93dvh; width: 100%; padding: clamp(12px, 2.4vw, 22px); color: var(--ink); background: var(--white); border: 1px solid #aaa193; overflow: auto; overscroll-behavior: contain; }
.lightbox[open] { animation: lightbox-in 280ms var(--snap) both; }
.lightbox::backdrop { background: #14151acb; }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.976) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.lightbox-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.lightbox-head h2 { font-size: clamp(1.12rem, 3vw, 1.45rem); }
.lightbox-head .button { padding-inline: 12px; }
.lightbox img { width: 100%; max-height: 67dvh; object-fit: contain; background: #ede9df; }
.lightbox-nav { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; }
.lightbox-position { color: var(--quiet); font-variant-numeric: tabular-nums; }

@media (max-width: 1050px) {
  .frame { width: calc(100% - 72px); }
  .hero-inner { min-height: 590px; }
  .hero h1 { font-size: clamp(3.3rem, 6.25vw, 5.9rem); }
  .workflow > .frame { gap: 11px 30px; }
}
@media (max-width: 730px) {
  :root { scroll-padding-top: 74px; }
  .frame { width: calc(100% - 38px); }
  .header-inner { min-height: 58px; }
  .brand { gap: 6px; font-size: .9375rem; }
  .brand img { width: 27px; height: 27px; }
  .site-header .desktop-nav { display: none; }
  .header-download { padding-inline: 10px; }
  .hero-inner { display: block; min-height: 0; padding: 37px 0 29px; }
  .eyebrow { margin-bottom: 17px; }
  .hero h1 { font-size: clamp(2.94rem, 10.4vw, 4.7rem); }
  .hero-summary { margin-top: 16px; font-size: 1rem; }
  .hero-actions { margin-top: 19px; }
  .cover { margin-top: 21px; }
  .cover-forms { aspect-ratio: 1.47; }
  .cover-sheet { padding: 5px; }
  .cover-rule { inset: 2% -28% 17% 20%; }
  .cover figcaption { margin-top: 9px; font-size: .76rem; }
  .cover-plan { top: 7%; }
  .cover-practice { top: 23%; }
  .cover-slide { top: 28%; }
  .download { padding-block: 48px; }
  .release-description { grid-template-columns: minmax(0, 1fr); }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .style-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px 12px; }
  .style-sample { grid-column: span 1; }
  .style-sample:first-child, .style-sample:nth-child(2) { grid-column: span 2; }
  .style-label { padding-block: 8px 7px; }
  .section-title, .faq { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .section-title { margin-bottom: 20px; }
  .section-title h2 { font-size: clamp(2.26rem, 8vw, 3.25rem); }
  .section-title p { font-size: 1rem; }
  .workflow { padding-block: 44px 22px; }
  .workflow > .frame, .demonstration > .frame { grid-template-columns: minmax(0, 1fr); }
  .workflow .section-title h2, .demonstration .section-title h2 { font-size: clamp(2.26rem, 8vw, 3.25rem); }
  .workflow .section-title { margin-bottom: 0; }
  .workflow .section-title p, .demonstration .section-title p { margin-top: 12px; }
  .paths { gap: 8px; }
  .unfold { min-height: clamp(174px, 50vw, 289px); margin-top: 15px; }
  .unfold-paper { width: 44%; padding: 4px 4px 0; }
  .unfold-paper span { font-size: .73rem; padding: 5px 1px; }
  .unfold-a { --paper-x: -53%; }
  .unfold-c { --paper-x: 53%; }
  .demonstration { padding-block: 43px 46px; }
  .demo-foot { grid-column: 1; }
  .compare-controls { padding: 3px 4px; gap: 5px; }
  .compare-controls button { font-size: .875rem; padding-inline: 6px; }
  .compare-line span { width: 30px; height: 30px; }
  .toolkit { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 19px; }
  .download .section-title { text-align: left; }
  .download .section-title p { margin-left: 0; }
  .platform-list { grid-template-columns: minmax(0,1fr); }
  .faq { padding-bottom: 51px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  details::details-content { transition: none; }
  .site-header::after { display: none; }
  .cover-forms { transform: none; }
}

