:root {
  color-scheme: light;
  --cloud: #f7f9fe;
  --ink: #24304a;
  --muted: #58647c;
  --blue: #3259b8;
  --lilac: #e8ddfa;
  --mint: #dff2e8;
  --line: #d5deec;
  --body-font: "Trebuchet MS", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--cloud); color: var(--ink); font: 16px/1.75 var(--body-font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.16; text-wrap: balance; }
h1 { font-size: clamp(3rem, 4.7vw, 5.2rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.1rem, 3.7vw, 3.6rem); letter-spacing: -.045em; }
h3 { font-size: 1.15rem; letter-spacing: -.02em; }
html[lang="zh-Hans"] h1 { font-size: clamp(3.3rem, 5.4vw, 5.6rem); letter-spacing: -.045em; line-height: 1.22; }
html[lang="zh-Hans"] h2 { line-height: 1.3; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--blue); }
:where(a, button):focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
button { font: inherit; }
::selection { color: var(--ink); background: var(--lilac); }
.shell { width: min(1320px, calc(100% - 7rem)); margin-inline: auto; }
.skip-link { position: absolute; top: 1rem; left: 1rem; z-index: 10; padding: .7rem 1rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.2rem; font-weight: 700; text-decoration: none; letter-spacing: -.04em; white-space: nowrap; }
.brand-mark { width: 2.5rem; height: 2.5rem; flex-shrink: 0; border-radius: .65rem; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; font-size: .9rem; }
.site-nav a { text-decoration: none; }
.lang-switch { border-left: 1px solid var(--line); padding-left: 1.3rem; }
.site-nav .nav-install { padding: .55rem 1rem; border: 1px solid var(--line); border-radius: .5rem; }
.site-nav .nav-install:hover { border-color: var(--blue); }
.hero { display: grid; grid-template-columns: .88fr 1.12fr; gap: 3rem; align-items: center; padding-block: 6rem 5rem; }
.hero-icon { width: 5rem; height: 5rem; margin-bottom: 1.5rem; border-radius: 1.2rem; }
.product-context { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.8rem; font-size: .86rem; color: var(--muted); }
.context-dot, .saved-dot { width: .5rem; height: .5rem; flex-shrink: 0; border-radius: 50%; background: #667cb5; }
.lede { max-width: 33rem; margin-top: 1.6rem; color: var(--muted); font-size: 1.08rem; line-height: 1.85; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem; margin-top: 1.9rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.35rem; border-radius: .6rem; color: white; background: var(--blue); font-weight: 700; font-size: .95rem; text-decoration: none; line-height: 1.5; }
.button:hover { background: #264895; color: white; }
.text-link { font-size: .94rem; font-weight: 700; text-decoration-thickness: 1px; }
.compat { margin-top: 1.1rem; font-size: .77rem; color: var(--muted); }
.hero-canvas { position: relative; border: 1px solid #c6d1e7; border-radius: 1rem 1rem 2.7rem 1rem; background: white; box-shadow: 12px 16px 0 #e5eaf7; transform: rotate(-1.5deg); }
.canvas-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-bottom: 1px solid #e8ebf2; color: var(--muted); font-size: .68rem; }
.canvas-file { display: flex; align-items: center; gap: .5rem; }
.canvas-file svg { width: .9rem; height: .9rem; fill: none; stroke: currentColor; stroke-width: 1.1; }
.hero-canvas > a { display: block; padding-block: 1.5rem; background: #fbfcf8; }
.hero-canvas figcaption { display: flex; align-items: center; gap: .45rem; padding: .8rem 1.1rem 1rem; font-size: .69rem; color: var(--muted); }
.saved-dot { background: #5d8272; width: .35rem; height: .35rem; }
.feature-path { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 1.9rem; border-block: 1px solid var(--line); gap: 2rem; }
.feature-path > a { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.feature-path strong, .feature-path a > span > span { display: block; }
.feature-path strong { font-size: 1rem; }
.feature-path a > span > span { color: var(--muted); font-size: .79rem; margin-top: .15rem; }
.feature-symbol { display: grid; place-items: center; flex-shrink: 0; width: 3rem; height: 3rem; font-size: 1.9rem; line-height: 1; }
.ai-symbol { background: var(--lilac); border-radius: 42% 58% 50% 50%; color: #5b4384; }
.map-symbol { background: var(--mint); border-radius: .8rem; color: #396951; }
.theme-symbol { background: #dce8ff; border-radius: 50%; color: var(--blue); }
.feature-section { padding-block: 6.5rem; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 4rem; align-items: end; margin-bottom: 3rem; }
.section-tag { grid-column: 1 / -1; justify-self: start; padding: .25rem .7rem; font-size: .8rem; font-weight: 700; border-radius: .3rem; margin-bottom: .4rem; }
.tag-ai { background: var(--lilac); color: #5b4384; }
.tag-map { background: var(--mint); color: #396951; }
.tag-theme { background: #dce8ff; color: #2a4f9f; }
.section-heading > p { max-width: 33rem; color: var(--muted); font-size: 1.03rem; line-height: 1.9; }
.ai-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3.5rem; align-items: center; }
.screenshot { min-width: 0; }
.screenshot > a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: .7rem; background: white; }
.screenshot img { width: 100%; }
.screenshot figcaption { margin-top: .8rem; color: var(--muted); font-size: .75rem; line-height: 1.7; }
.feature-detail { display: grid; gap: 1.6rem; }
.feature-detail p { margin-top: .45rem; color: var(--muted); font-size: .9rem; }
.feature-detail > a { justify-self: start; }
.disclosure { margin-top: 2rem; padding: 1.1rem 1.3rem; border-left: 3px solid #bba8db; background: #f0edf8; color: #54536b; font-size: .8rem; }
.mapping-section { padding-block: 6rem; background: #edf5f1; }
.map-shot { max-width: 1100px; margin-inline: auto; }
.shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
.shortcuts > div { border-left: 2px solid #b6cfc1; padding-left: 1.1rem; }
.shortcuts dt { min-height: 2rem; font-size: .88rem; font-weight: 700; }
.shortcuts dd { color: var(--muted); font-size: .85rem; margin-top: .6rem; }
kbd { display: inline-block; padding: .1rem .45rem; border: 1px solid #becfc6; border-bottom-width: 3px; border-radius: .3rem; background: #fcfefd; font: inherit; }
.section-note { margin-top: 1.4rem; color: var(--muted); font-size: .78rem; }
.theme-picker { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.theme-choice { display: inline-flex; align-items: center; gap: .55rem; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 2rem; text-decoration: none; font-size: .82rem; line-height: 1.4; background: white; cursor: pointer; }
.theme-choice[aria-pressed="true"], .theme-choice[aria-current="true"] { border-color: var(--blue); color: var(--blue); background: #e9efff; }
.swatch { display: block; width: .9rem; height: .9rem; flex-shrink: 0; border: 1px solid #8290a5; }
.swatch-soft { border-radius: 50% 40% 45% 30%; background: #e6c8f6; }
.swatch-rounded { border-radius: .3rem; background: #bcdfd3; }
.swatch-research { background: #e9e0ca; }
.swatch-sketch { border-style: dashed; border-radius: .2rem; background: #f9e3b8; transform: rotate(-8deg); }
.swatch-scrapbook { border-radius: .1rem; background: #e9c6bb; transform: rotate(8deg); }
.swatch-default { background: #f0f1f4; border-radius: .15rem; }
.theme-preview figcaption { display: flex; gap: 1.2rem; font-size: .85rem; align-items: baseline; min-height: 3rem; }
.theme-preview figcaption strong { color: var(--ink); flex-shrink: 0; }
.more-tools { border-top: 1px solid var(--line); padding-block: 3.5rem 5rem; }
.more-tools h2 { font-size: clamp(1.6rem, 2.5vw, 2.3rem); }
.more-tools > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-block: 2rem; }
.more-tools > div p { font-size: .92rem; color: var(--muted); }
.more-tools strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: .5rem; }
.install-section { background: #e5ebfa; padding-block: 5rem; }
.install-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 5rem; align-items: center; }
.install-layout > div > p { max-width: 34rem; margin-top: 1.2rem; color: var(--muted); }
.manual-install { padding: 2rem; background: #f7f9fe; border-radius: .7rem; }
.manual-install p { overflow-wrap: anywhere; font-size: .88rem; }
.manual-install .text-link { display: block; width: fit-content; margin-top: 1rem; }
.site-footer { padding-block: 3rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.site-footer > div > p { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: start; gap: .7rem 1.4rem; font-size: .8rem; }
.site-footer nav a { text-decoration: none; }
.footer-note { grid-column: 1 / -1; max-width: 60rem; color: var(--muted); font-size: .72rem; }

@media (min-width: 1600px) {
  .hero { gap: 5rem; padding-block: 7rem 6rem; }
}
@media (max-width: 1100px) {
  .shell { width: calc(100% - 4rem); }
  .site-nav { gap: 1rem; font-size: .8rem; }
  .hero { gap: 2rem; padding-block: 4rem; }
  .hero h1 { font-size: 3.6rem; }
  .hero-canvas { transform: none; }
  .hero-canvas > a { padding-block: 2rem; }
  .canvas-toolbar > span:last-child { display: none; }
  .ai-layout { gap: 2rem; grid-template-columns: 1.2fr 1fr; }
  .feature-detail { gap: 1.1rem; }
  .install-layout { gap: 3rem; }
}
@media (max-width: 800px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .site-nav { width: 100%; justify-content: space-between; gap: .7rem; }
  .site-nav .nav-install { padding: .3rem .6rem; }
  .lang-switch { padding-left: .7rem; }
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-block: 3.5rem; }
  .hero-copy { max-width: 35rem; }
  .hero h1 { font-size: 4.4rem; }
  .hero-canvas { transform: none; max-width: 42rem; }
  .canvas-toolbar > span:last-child { display: inline; }
  .hero-canvas > a { padding-block: 0; }
  .feature-path { gap: 1rem; }
  .feature-path > a { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .feature-path strong { font-size: .9rem; }
  .feature-path a > span > span { font-size: .73rem; }
  .section-heading { gap: 1rem 2rem; }
  .section-heading > p { font-size: .94rem; }
  .ai-layout { grid-template-columns: 1fr; }
  .feature-detail { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .feature-detail > a { grid-column: 1 / -1; }
  .feature-detail h3 { font-size: 1rem; }
  .feature-detail p { font-size: .83rem; }
  .feature-section { padding-block: 4.5rem; }
  .mapping-section { padding-block: 4.5rem; }
  .shortcuts { grid-template-columns: 1fr 1fr; }
  .install-layout { grid-template-columns: 1fr; }
  .manual-install { max-width: 35rem; }
}
@media (max-width: 520px) {
  .shell { width: calc(100% - 2.5rem); }
  .site-header { padding-block: 1rem; }
  .site-nav { flex-wrap: wrap; justify-content: flex-start; gap: .9rem 1.2rem; font-size: .76rem; }
  .site-nav .nav-install { margin-left: auto; }
  .lang-switch { border: 0; padding-left: 0; }
  .hero { padding-block: 2.6rem 3rem; gap: 2rem; }
  .hero h1 { font-size: clamp(2.7rem, 11vw, 3.5rem); }
  html[lang="zh-Hans"] .hero h1 { font-size: 3.4rem; }
  .product-context { margin-bottom: 1.2rem; font-size: .76rem; }
  .lede { font-size: .96rem; margin-top: 1.2rem; }
  .actions { gap: 1rem; margin-top: 1.5rem; }
  .button { font-size: .85rem; padding: .8rem 1rem; }
  .actions .text-link { font-size: .81rem; }
  .hero-canvas { border-bottom-right-radius: 1.6rem; box-shadow: 6px 8px 0 #e5eaf7; }
  .canvas-toolbar { padding: .7rem .8rem; font-size: .59rem; gap: .4rem; }
  .hero-canvas figcaption { font-size: .6rem; padding: .6rem .8rem; }
  .feature-path { grid-template-columns: 1fr; padding-block: 1.4rem; gap: 1.3rem; }
  .feature-path > a { flex-direction: row; align-items: center; gap: .9rem; }
  .feature-symbol { width: 2.6rem; height: 2.6rem; font-size: 1.6rem; }
  .feature-path a > span > span { font-size: .76rem; }
  .section-heading { grid-template-columns: 1fr; margin-bottom: 1.8rem; gap: 1.1rem; }
  .section-tag { margin-bottom: 0; }
  h2 { font-size: 2.25rem; }
  .feature-section, .mapping-section { padding-block: 3.4rem; }
  .feature-detail { grid-template-columns: 1fr; gap: 1.4rem; }
  .feature-detail h3 { font-size: 1.1rem; }
  .feature-detail p { font-size: .9rem; }
  .disclosure { padding: .9rem 1rem; font-size: .76rem; }
  .shortcuts { gap: 1.4rem 1rem; }
  .shortcuts dt { font-size: .75rem; }
  .shortcuts dd { font-size: .78rem; }
  .section-note { font-size: .74rem; }
  .theme-picker { gap: .6rem .45rem; }
  .theme-choice { font-size: .73rem; padding: .6rem .7rem; }
  .theme-preview figcaption { flex-direction: column; gap: .3rem; font-size: .8rem; min-height: 5rem; }
  .more-tools { padding-block: 2.5rem 3rem; }
  .more-tools > div { grid-template-columns: 1fr; gap: 1.5rem; }
  .install-section { padding-block: 3rem; }
  .manual-install { padding: 1.5rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-footer nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
