:root {
  color-scheme: light;
  --ink: #201f1b;
  --muted: #645f55;
  --rule: #cfc7b9;
  --paper: #faf7f1;
  --gutter: clamp(20px, 5.2vw, 80px);
  font: 100%/1.6 "Segoe UI","Microsoft YaHei UI","Microsoft JhengHei",sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body,h1,h2,p { margin: 0; }
button,select { font: inherit; color: inherit; }
button,a,select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .25em; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #985b13; outline-offset: 5px; }
.showcases,.document,.hero-inner {max-width:1440px;margin-inline:auto}
.hero { background: #f2ece1 url('/assets/desk.webp') center bottom / 100% 100% no-repeat; border-bottom: 1px solid var(--rule); }
.hero-inner { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; padding: clamp(16px,2vw,35px) var(--gutter) clamp(15px,2vw,30px); min-height: clamp(460px,43vw,638px); }
.hero-copy { align-self: center; padding: 0 0 1rem 1.3vw; }
h1,h2 { text-wrap: balance; }
.hero h1 { font-size: clamp(3.3rem,5.75vw,5.75rem); letter-spacing: -.065em; line-height: 1.14; font-weight: 800; }
.hero h1 span { display: block; }
.hero .download-group { margin-top: clamp(23px,2.8vw,44px); }
site-downloads { display:block; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; background: var(--ink); color: #fffdf8; border: 1px solid var(--ink); border-radius: .75rem; padding: .92rem 1.52rem; font-weight: 650; font-size: 1.08rem; line-height: 1.45; }
.primary:hover { background: #37342e; text-decoration: none; }
.windows { width: 15px; height: 15px; background: linear-gradient(90deg, transparent 45%,var(--ink) 45% 55%,transparent 55%),linear-gradient(transparent 45%,var(--ink) 45% 55%,transparent 55%),currentColor; }
.release-meta,.mobile-hint,.copy-status { font-size: .85rem; margin-top: .6rem; color: #504c43; }
.release-meta { display:flex; gap:.5rem; flex-wrap:wrap; }
.release-meta i { font-style:normal; }
.download-buttons { display:flex; flex-wrap:wrap; align-items:flex-start; gap:.65rem; }
.download-buttons .primary { padding-inline:clamp(.85rem,1.5vw,1.52rem); white-space:nowrap; }
@media (min-width:701px) and (max-width:1150px) {
  .download-buttons .primary { padding-inline:.7rem; gap:.45rem; font-size:1rem; }
}
.mac-download { position:relative; }
.mac-download summary { cursor:pointer; list-style:none; }
.mac-download summary::-webkit-details-marker { display:none; }
.mac-download summary::after { content:""; width:.4rem; height:.4rem; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:translateY(-.1rem) rotate(45deg); }
.mac-download[open] summary::after { transform:translateY(.1rem) rotate(225deg); }
.download-buttons > .download:nth-child(2),.download-buttons > :nth-child(2) summary { background:#fff; color:var(--ink); }
.download-buttons > .download:nth-child(2):hover,.download-buttons > :nth-child(2) summary:hover { background:#f3eee6; }
.download-buttons > :nth-child(2) summary img { filter:brightness(0); }
.download-buttons > .download:nth-child(2) .windows { --ink:#fff; }
.mac-panel { position:absolute; z-index:2; inset:calc(100% + .4rem) auto auto 0; width:max(100%,14rem); max-width:calc(100vw - 2 * var(--gutter)); padding:.35rem; text-align:start; background:var(--paper); border:1px solid var(--rule); border-radius:.75rem; box-shadow:0 .5rem 1.5rem #32291829; }
.mac-packages { display:grid; }
.mac-packages a { padding:.55rem .8rem; border-radius:.45rem; font-weight:600; }
.mac-packages a:hover,.mac-packages a:focus-visible { background:#f0e6d5; text-decoration:none; }
.mac-panel p { padding:.65rem .8rem .4rem; border-top:1px solid var(--rule); font-size:.8rem; color:var(--muted); }
html.mobile-device .mac-download {display:none}
html.mobile-device .mac-download:target {display:block}
html.mobile-device .help-document .mac-download {display:block; margin-bottom:.65rem}
.copy,.mobile-hint,.touch-hint { display: none; }
.copy-status { display:block; overflow-wrap:anywhere; }
.copy-status:empty { display:none; }
.copy-status input { width:min(100%,24rem); padding:.45rem; font:inherit; }
.trial-wrap { text-align:center; align-self: end; }
#trial-note {font-size:.85rem;color:#514335;margin:.15rem 0 .4rem}
button#trial { display:block; position:relative; width:min(100%,600px); margin:auto; padding:0; border:0; border-radius:18px; background:transparent; touch-action:manipulation; cursor:pointer; }
button#trial img { display:block; width:100%; height:auto; pointer-events:none; user-select:none; }
.trial-hint { display:inline-flex; align-items:center; gap:.55rem; margin:.05rem auto .1rem; color:#473b2b; font-size:.95rem; font-weight:550; }
.spark { color:#b7771c; font-size:1.15em; }
.showcases { padding: 0 var(--gutter); }
.showcase { display:grid; grid-template-columns: .8fr 1.2fr; gap:clamp(20px,4vw,60px); align-items:center; padding:clamp(30px,4vw,68px) 0; }
.showcase + .showcase { border-top:1px solid var(--rule); }
.showcase img,.showcase video,.help-photo { width:100%; height:auto; border-radius:6px; display:block; }
.section-copy h2,.articles h2 { font-size:clamp(1.7rem,3.1vw,3rem); line-height:1.25; letter-spacing:-.045em; }
.section-copy p { max-width:31ch; margin-top:1rem; color:var(--muted); }
.text-link { display:inline-block; margin-top:1rem; border-bottom:1px solid #9d907a; font-size:.93rem; }
.document { display:grid; grid-template-columns:minmax(155px,.95fr) minmax(0,3.35fr); gap:clamp(20px,3vw,45px); padding:clamp(30px,4vw,64px) var(--gutter); }
.document aside { border-right:1px solid var(--rule); padding-inline-end:clamp(12px,2vw,30px); }
.document h1 { font-size:clamp(2rem,3.8vw,3.75rem); line-height:1.16; margin-bottom:2rem; letter-spacing:-.055em; }
.document aside nav { display:grid; justify-items:stretch; gap:.8rem; position:sticky; top:20px; }
.articles section { padding-bottom:1.65rem; scroll-margin:1rem; }
.articles section + section { border-top:1px solid var(--rule); padding-top:1.65rem; }
.articles h2 { margin-bottom:.65rem; }
.articles section p,.articles li { max-width:66ch; margin-top:.8rem; }
.articles ol { padding-left:1.3rem; }
.articles .download-group { margin:1.2rem 0; }
.help-photo { max-width:540px; }
.help-document #start { position:relative; isolation:isolate; display:grid; align-content:center; min-height:clamp(260px,22vw,340px); }
.help-document #start:has(.mac-download[open]) { z-index:1; }
.help-illustration { position:absolute; z-index:-1; inset:auto 0 .65rem auto; width:54%; height:auto; mask-image:linear-gradient(to right,transparent,#000 10%); }
.help-step { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:clamp(1rem,2.4vw,2.5rem); align-items:start; }
.shot-link { display:block; width:min(100%,24rem); justify-self:end; border-radius:.5rem; cursor:zoom-in; }
.shot-link img { display:block; width:100%; height:auto; border:1px solid var(--rule); border-radius:inherit; }
.settings-shots { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:1.15rem 1.5rem; max-width:46rem; margin-top:1.2rem; }
.settings-shots figure { margin:0; }
.settings-shots figure:first-child { grid-row:span 2; }
.settings-shots figcaption { margin-bottom:.45rem; font-weight:600; }
.settings-shots .shot-link { width:100%; }
@media(max-width:620px) {
  .settings-shots { grid-template-columns:minmax(0,1fr); max-width:25rem; }
  .settings-shots figure:first-child { grid-row:auto; }
}
@media(max-width:950px) {
  .help-step { grid-template-columns:1fr; }
  .shot-link { justify-self:start; }
}
#shot-dialog { width:min(var(--shot-width,68rem) + 2rem,96vw); max-width:96vw; max-height:96dvh; padding:.85rem; border:1px solid var(--rule); border-radius:.85rem; background:var(--paper); color:var(--ink); }
#shot-dialog::backdrop { background:#201c18ab; }
html:has(#shot-dialog[open]) { overflow:hidden; }
.shot-toolbar { display:flex; align-items:center; gap:.5rem; margin-bottom:.65rem; }
.shot-toolbar h2 { margin:0 auto 0 0; font-size:1.1rem; line-height:1.25; }
.shot-toolbar button { min-height:44px; padding:.4rem .65rem; font:inherit; color:inherit; background:#fff; border:1px solid var(--rule); border-radius:.4rem; cursor:pointer; }
.shot-frame { overflow:auto; max-height:calc(96dvh - 6rem); overscroll-behavior:contain; }
.shot-frame img { display:block; width:auto; height:auto; max-width:100%; max-height:calc(96dvh - 6rem); margin-inline:auto; }
.shot-frame.actual-size img { max-width:none; max-height:none; }
.start-copy { width:49%; }
.start-copy .download-buttons { gap:.45rem; }
.start-copy .primary { font-size:1rem; gap:.45rem; padding:.75rem .8rem; }
.install-guide-link { display:block; padding:.4rem .8rem .6rem; color:#795016; font-size:.93rem; text-decoration:underline; text-underline-offset:.22em; }
.install-guide-link:hover { color:var(--ink); }
.install-dialog .guide-close { padding:.32rem .6rem; border:1px solid var(--rule); border-radius:.4rem; background:transparent; white-space:nowrap; }
@media (min-width:701px) and (max-width:1190px) {
  .document { grid-template-columns:minmax(9rem,.7fr) minmax(0,3fr); }
  .help-document #start { min-height:15rem; }
  .start-copy { width:60%; }
  .help-illustration { width:41%; }
}
@media(max-width:700px) {
  .help-document #start { min-height:0; }
  .start-copy { width:100%; }
  .help-illustration { position:static; width:100%; max-width:30rem; justify-self:center; order:1; margin-top:1rem; }
}
.features {max-width:1440px;margin:auto;padding:0 var(--gutter) clamp(36px,5vw,72px)}
.features figure {margin:0}
.features figure img {border:1px solid #d8d0c4;border-radius:10px;box-shadow:0 2px 4px #30251b14}
.mac-desktop {position:relative}
.mac-desktop::after {content:"";position:absolute;right:2.5%;bottom:4%;width:24%;aspect-ratio:640/560;background:url('/assets/cat/idle-still.webp') center/contain no-repeat;pointer-events:none}
.coat-lineup {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.9rem .45rem;background:#f2ece2;border-radius:10px;padding:1.4rem .8rem .95rem;text-align:center}
.coat-lineup figure img {width:100%;max-width:108px;margin:auto;border:0;border-radius:0;box-shadow:none}
.coat-lineup figcaption {margin-top:.5rem;font-size:.8rem;color:var(--muted)}
.setting-list {margin:0;display:grid;grid-template-columns:fit-content(32%) 1fr;align-items:baseline;gap:1.1rem 1.25rem}
.setting-list dt {font-weight:650}
.setting-list dd {margin:0;color:var(--muted);max-width:50ch}
@media(max-width:510px){
  .coat-lineup {grid-template-columns:repeat(3,minmax(0,1fr))}
  .setting-list {display:block}
  .setting-list dt:not(:first-child) {margin-top:1rem}
}
.features .section-copy {padding-left:clamp(24px,2.8vw,42px)}
.features .section-copy h2 {position:relative}
.features .section-copy h2::before {
  inset-inline-start:auto;inset-inline-end:calc(100% + .15em);
  top:.08em;width:clamp(16px,.56em,24px);height:clamp(16px,.56em,24px);
}
.feature-note {border-top:1px solid var(--rule);padding-top:2rem}
.feature-note h2 {font-size:1.65rem}
@media(min-width:701px) {
  .feature-note {display:grid;grid-template-columns:auto 1fr;column-gap:clamp(20px,2.8vw,40px);align-items:start}
  .feature-note h2 {grid-row:span 2;border-right:2px solid #df8a19;padding-right:clamp(20px,2.8vw,40px)}
  .features .feature-note p {margin-top:0}
  .feature-note a {justify-self:start}
}
.feature-note p {margin-top:.5rem;max-width:62ch;color:var(--muted)}
html[lang="en"] .hero h1 { font-size:clamp(3rem,4.8vw,4.95rem); }
@media(prefers-reduced-motion:reduce){button#trial.responding{outline:2px solid #b7771c;outline-offset:-4px}}
html.mobile-device .download,html.mobile-device .release-meta,html.mobile-device .desk-hint { display:none; }
html.mobile-device .copy { display:inline-flex; }
html.mobile-device .touch-hint,html.mobile-device .mobile-hint { display:inline-block; }
html.mobile-device .mobile-hint { display:block; }
@media(max-width:700px) {
  .hero { background:var(--paper); }
  .hero-inner { grid-template-columns:1fr; gap:0; padding:0; min-height:0; isolation:isolate; }
  .hero-inner::before { content:""; grid-row:1 / 3; grid-column:1; z-index:-1; background:#f2ece1 url('/assets/desk.webp') 58% bottom / auto 100% no-repeat; }
  .hero h1,.trial-wrap,.hero .download-group { grid-column:1; }
  .hero-copy { display:contents; }
  .hero h1 { grid-row:1; padding:1.6rem var(--gutter) 0; font-size:clamp(3rem,10vw,4.4rem); }
  .trial-wrap { grid-row:2; padding:0 var(--gutter) .75rem; }
  button#trial { width:min(82%,310px); }
  .hero .download-group { grid-row:3; margin:0; padding:1.1rem var(--gutter); background:var(--paper); text-align:center; }
  .hero .primary { width:100%; }
  .download-buttons > .download,.download-buttons > .mac-download,.mac-download summary { width:100%; }
  .hero .release-meta { justify-content:center; }
  .showcase { grid-template-columns:1fr; gap:1.1rem; padding:1.9rem 0; }
  .section-copy p { max-width:none; margin-top:.45rem; }
  .document { display:block; }
  .document aside { padding:0; border:0; margin-bottom:2rem; }
  .document aside nav { display:flex; flex-wrap:wrap; gap:.8rem; }
  .document h1 { margin-bottom:1rem; }
}

.privacy-document {
  grid-template-areas:"sidebar title" "sidebar articles";
  grid-template-columns:minmax(10rem,.74fr) minmax(0,2.9fr);
  row-gap:0;
}
.privacy-document > h1 {
  grid-area:title; margin:0; padding-bottom:clamp(1.2rem,2.4vw,2rem);
  border-bottom:1px solid var(--rule); font-size:clamp(2.75rem,5vw,4.7rem);
}
.privacy-document > aside { grid-area:sidebar; padding-top:clamp(3rem,7vw,7rem); }
.privacy-document > .articles { grid-area:articles; padding-top:1.65rem; }
.privacy-document > h1,.privacy-document > .articles { width:min(100%,58rem); }
@media(max-width:700px) {
  .privacy-document > aside { padding:0; margin-block:1.1rem 0; }
}
