:root {
  color-scheme: light;
  --brand: #d97654;
  --accent: #a94729;
  --ink: #302822;
  --body: #554a43;
  --muted: #74675f;
  --line: #e9ddd4;
  --cream: #fcf7f1;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 82px; }
body { margin: 0; background: white; color: var(--ink); font: 16px/1.66 "Segoe UI","Microsoft YaHei",system-ui,sans-serif; }
h1,h2,h3,p,ol,figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1220px,calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: -80px; left: 12px; background: var(--ink); color: white; padding: 8px 16px; }
.skip:focus { top: 8px; }
.site-head { position: sticky; top: 0; z-index: 3; background: #fffc; backdrop-filter: blur(15px); border-bottom: 1px solid var(--line); }
.nav-inner,footer>.wrap,footer nav,.site-head nav,.product,.actions,.dialog-bar,.dialog-bar>div { display: flex; align-items: center; }
.nav-inner,footer>.wrap,.dialog-bar { justify-content: space-between; gap: 16px; }
.nav-inner { min-height: 62px; }
.brand { display: block; }
.brand img { width: 122px; }
.site-head nav,footer nav { flex-wrap: wrap; gap: 20px; }
.site-head nav { font-size: 14px; font-weight: 650; }
.nav-download { color: var(--accent); }
.hero { background: linear-gradient(112deg,#fffdfa 0%,#fbf4ec 53%,#f5e7d9 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); gap: clamp(24px,4.7vw,76px); align-items: center; padding: clamp(40px,4.9vw,76px) 0 32px; }
.product { gap: 13px; }
.product img { object-fit: contain; flex: none; }
.product strong,.product small { display: block; }
.product strong { font-size: 24px; letter-spacing: -.045em; line-height: 1.22; }
.product small { color: var(--muted); font-size: 12px; letter-spacing: .13em; margin-top: 3px; }
h1 { font-size: clamp(42px,4vw,62px); letter-spacing: -.062em; line-height: 1.19; margin: 23px 0 15px; }
h1 em { font-style: normal; color: var(--accent); }
.hero-copy>p:not(.hero-meta),.lesson-copy>p,.download p { font-size: 16px; color: var(--body); line-height: 1.88; }
.hero-meta { margin: 15px 0 0; color: var(--muted); font-size: 13px; }
.hero-meta span { color: var(--brand); margin: 0 5px; }
.shot { position: relative; display: block; cursor: zoom-in; }
.shot img { width: 100%; height: auto; }
.hero-view,.screen { min-width: 0; }
.hero-view .shot,.screen .shot { overflow: hidden; border: 1px solid #d9c7b9; border-radius: 9px; }
.hero-view .shot { background: white; box-shadow: 0 14px 30px -18px #75523780; }
.hero-view figcaption { margin-top: 9px; font-size: 12px; text-align: right; color: var(--muted); }
.zoom-icon { position: absolute; right: 8px; bottom: 8px; width: 28px; height: 28px; display: grid; place-items: center; font-size: 21px; line-height: 1; border: 1px solid #d8c4b3; border-radius: 6px; background: #fffffff2; color: #62412f; }
.hero-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; border-top: 1px solid #e2cfc0; padding-block: 20px 25px; }
.feature-links { display: flex; flex-wrap: wrap; gap: 7px; }
.feature-links a { padding: 5px 10px; border: 1px solid #ddc9b9; border-radius: 6px; background: #ffffff9e; font-size: 13px; line-height: 1.45; }
.feature-links a:hover { background: white; border-color: var(--brand); color: var(--accent); }
.actions { flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 7px; font-weight: 700; font-size: 14px; line-height: 1.45; }
.primary { background: var(--brand); color: #24150e; border: 1px solid #c96846; }
.primary:hover { background: #ca6a49; color: #180c05; }
.link { color: var(--accent); font-weight: 650; font-size: 14px; }
.link:hover,.site-head a:hover,footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.guide { padding-block: clamp(40px,5vw,72px) 10px; }
.section-heading { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.section-heading p { color: var(--muted); margin-top: 6px; }
h2 { font-size: clamp(30px,3.05vw,44px); line-height: 1.24; letter-spacing: -.045em; }
.lesson { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); align-items: center; gap: clamp(32px,6vw,84px); padding: clamp(26px,3.8vw,54px) 0; border-bottom: 1px solid var(--line); }
.lesson:nth-of-type(even) { grid-template-columns: minmax(0,1.17fr) minmax(0,.83fr); }
.lesson:nth-of-type(even) .lesson-copy { grid-column: 2; grid-row: 1; }
.lesson:nth-of-type(even) .screen { grid-column: 1; grid-row: 1; }
.lesson:last-child { border-bottom: 0; }
h3 { font-size: clamp(24px,2.4vw,35px); letter-spacing: -.04em; line-height: 1.3; margin-bottom: 10px; }
.lesson-copy ol { padding-left: 1.45em; margin-top: 12px; font-size: 14px; color: var(--body); }
.lesson-copy li::marker { color: var(--accent); font-weight: 650; }
.lesson-copy li+li { margin-top: 6px; }
.lesson-copy .link { display: inline-block; margin-top: 14px; }
.lesson-copy .preview-version { display: inline-block; color: var(--accent); font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.edit-screens { min-width: 0; display:grid; gap:10px; }
.ribbon-detail { overflow:hidden; border:1px solid var(--line); border-radius:6px; }
.ribbon-detail .zoom-icon { width:22px; height:22px; font-size:17px; right:5px; bottom:5px; }
.screen { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: clamp(7px,1.1vw,14px); }
.screen .shot { border-radius: 5px; border-color: #ded1c6; }
.download { background: #faf0e6; border-block: 1px solid #e4cfc0; padding-block: clamp(36px,5vw,66px); }
.download-grid { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(200px,.75fr); gap: clamp(25px,7vw,90px); align-items: center; }
.download h2 { margin: 14px 0 10px; }.download .product strong { font-size: 19px; }
.download .upgrade { font-size: 14px; margin-top: 14px; }
.release-notes { margin-top: 12px; font-size: 14px; color: var(--body); }
.release-notes summary { font-weight: 650; cursor: pointer; }
.release-notes ol { padding-left: 1.45em; margin-top: 8px; }
.release-notes li+li { margin-top: 4px; }
.download-action { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.download-action small,footer { font-size: 13px; color: var(--muted); }
footer>.wrap { padding: 20px 0; }
dialog { width: fit-content; max-width: min(1550px,96vw); max-height: 94dvh; margin: auto; padding: 0; color: var(--ink); background: #fffdfa; border: 1px solid var(--line); border-radius: 10px; }
dialog::backdrop { background: #211914ba; }
.dialog-bar { padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.dialog-bar>div { gap: 7px; flex: none; }
.dialog-bar button { padding: 4px 8px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--ink); }
.image-scroll { overflow: auto; max-height: calc(94dvh - 64px); }
.image-scroll img { object-fit: contain; max-height: calc(94dvh - 64px); }
dialog[data-original="true"] { width: min(1550px,96vw); }
dialog[data-original="true"] .image-scroll img { width: auto; max-width: none; max-height: none; }
body:has(dialog[open]) { overflow: hidden; }
@media (max-width:880px) {
  .wrap { width: calc(100% - 48px); }.hero-grid,.lesson,.lesson:nth-of-type(even) { grid-template-columns: 1fr 1.08fr; gap: 24px; }
  h1 { font-size: clamp(32px,4.6vw,42px); }.hero-copy>p:not(.hero-meta),.lesson-copy>p { font-size: 14px; }
  .lesson:nth-of-type(even) { grid-template-columns: 1.08fr 1fr; }
}
@media (max-width:660px) {
  html { scroll-padding-top: 66px; }.wrap { width: calc(100% - 32px); }
  .nav-inner { min-height: 53px; }.brand img { width: 96px; }.site-head nav { font-size: 13px; gap: 13px; }
  .hero-grid,.lesson,.lesson:nth-of-type(even),.download-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 30px 0 14px; gap: 20px; }.product img { width: 42px; height: 42px; }
  .product strong { font-size: 20px; }h1 { font-size: clamp(35px,8.4vw,52px); margin: 15px 0 10px; }
  .hero-copy>p:not(.hero-meta),.lesson-copy>p { font-size: 15px; }.hero-meta { margin-top: 8px; }
  .hero-toolbar { padding: 14px 0 20px; gap: 13px; }.feature-links { gap: 6px; }.feature-links a { padding: 4px 8px; font-size: 12px; }
  .lesson { gap: 16px; }.lesson:nth-of-type(even) .lesson-copy,.lesson:nth-of-type(even) .screen { grid-column: auto; grid-row:auto; }
  .download-grid { gap: 18px; }.download .product img { width: 36px; height: 36px; }
  footer>.wrap { flex-wrap: wrap; gap: 5px 16px; }footer nav { gap: 6px 12px; }
  .dialog-bar { padding: 7px; flex-wrap: wrap; gap: 5px; }
}

.lite-download {border-top:1px solid var(--line);background:#fff9f5;padding-block:46px}
.lite-download>.wrap {display:flex;gap:28px;align-items:center;justify-content:space-between}
.lite-download h2 {font-size:clamp(23px,2.6vw,35px);margin:0 0 10px}
.lite-download p {max-width:45em;color:var(--text);line-height:1.8}
.lite-download .button {flex-shrink:0}
@media(max-width:700px){.lite-download>.wrap{align-items:flex-start;flex-direction:column;gap:16px}}
.product-film { padding:clamp(28px,4vw,60px) 0; background:#fbf4ee; border-block:1px solid var(--line); }
.product-film header { max-width:850px; margin-bottom:20px; }
.product-film h2 { margin:0 0 10px; font-size:clamp(23px,3vw,36px); line-height:1.35; }
.product-film p { margin:0 0 8px; line-height:1.75; }
.product-film a { color:var(--accent); font-weight:600; }
.product-film video { display:block; width:100%; max-width:1100px; aspect-ratio:16 / 9; background:#211e1b; border-radius:8px; }
