:root { color-scheme:light; --paper:#f7f6ef; --ink:#203b32; --muted:#55645b; --orange:#d16a22; --orange-ink:#a4511a; --line:#d9ded4; --green:#e9ede2; --white:#fffef8; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:var(--reading-offset,100px); }
html[lang=zh-CN] [lang=en], html[lang=en] [lang=zh-CN], [hidden] { display:none !important; }
.changing-language { overflow-anchor:none; }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.7 "Avenir Next","PingFang SC","Microsoft YaHei",sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; touch-action:manipulation; }
a:hover { color:var(--orange-ink); }
a:focus-visible, button:focus-visible, select:focus-visible, [tabindex="0"]:focus-visible { outline:3px solid var(--orange); outline-offset:3px; }
button, select { font:inherit; touch-action:manipulation; }
img { display:block; width:100%; height:auto; }
figure,p,h1,h2,h3,h4 { margin:0; }
h1,h2,h3,h4 { text-wrap:balance; }
p,dd { text-wrap:pretty; }
.wrap { width:min(1120px,calc(100% - 80px)); margin-inline:auto; }
.section { padding-block:48px; border-bottom:1px solid var(--line); }
.eyebrow { font-size:12px; font-weight:650; letter-spacing:.1em; line-height:1.5; }
.skip-link { position:fixed; top:12px; left:12px; z-index:40; padding:12px; background:var(--ink); color:white; transform:translateY(-150%); }
.skip-link:focus { transform:none; }
#main:focus { outline:none; }
.site-header { position:sticky; top:0; z-index:10; min-height:76px; padding-block:10px; display:flex; align-items:center; gap:28px; background:var(--paper); border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; flex-shrink:0; gap:9px; font-size:22px; font-weight:650; letter-spacing:-1px; line-height:1.1; }
.brand-sun { width:36px; height:36px; flex-shrink:0; background:var(--orange); mask:url("assets/brand-mark.svg") center / contain no-repeat; }
.brand-sub { display:block; font-size:11px; font-weight:500; letter-spacing:3.5px; margin-top:4px; }
.nav-strip { flex:1; min-width:0; position:relative; }
.site-header nav { display:flex; gap:8px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none; }
.site-header nav::-webkit-scrollbar { display:none; }
.site-header nav a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; flex-shrink:0; padding:6px 10px; border-bottom:2px solid transparent; white-space:nowrap; font-size:14px; }
.site-header nav a[aria-current] { color:var(--orange-ink); border-bottom-color:var(--orange-ink); }
.site-header nav a:focus-visible { outline-offset:-3px; }
.nav-strip::before,.nav-strip::after { content:""; position:absolute; inset-block:0; width:12px; z-index:1; pointer-events:none; opacity:0; }
.nav-strip::before { left:0; background:linear-gradient(to right,var(--paper),transparent); }
.nav-strip::after { right:0; background:linear-gradient(to left,var(--paper),transparent); }
.nav-strip[data-more-start=true]::before,.nav-strip[data-more-end=true]::after { opacity:1; }
.header-actions,.languages { display:flex; align-items:center; flex-shrink:0; gap:12px; font-size:13px; }
.languages { gap:0; color:#97a096; }
.languages button { min-width:44px; min-height:44px; padding:8px 5px; background:none; border:0; color:var(--muted); cursor:pointer; font-size:13px; }
.languages button[aria-pressed=true] { color:var(--ink); font-weight:700; }
.repo-link { padding:8px 12px; min-height:44px; display:inline-flex; align-items:center; gap:10px; border:1px solid var(--line); border-radius:5px; }
.hero { display:grid; grid-template-columns:1fr 1.12fr; align-items:center; gap:40px; padding-block:56px 42px; }
.hero-copy,.hero-preview { min-width:0; }
.hero .eyebrow { display:flex; align-items:center; gap:8px; }
.status-dot,.caption-dot { flex-shrink:0; width:6px; height:6px; border-radius:50%; background:var(--orange); }
h1 { margin-top:18px; font-size:clamp(40px,4vw,54px); font-weight:550; line-height:1.25; letter-spacing:-.045em; }
html[lang=en] h1 { font-size:clamp(44px,4.3vw,60px); line-height:1.06; letter-spacing:-.05em; }
.highlight { color:var(--orange); }
.hero-description { margin-top:20px; max-width:460px; font-size:15px; color:var(--muted); line-height:1.8; }
.hero-buttons { display:flex; flex-wrap:wrap; align-items:center; gap:22px; margin-top:24px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:20px; min-height:44px; padding:11px 20px; border-radius:5px; font-size:14px; font-weight:600; }
.primary { background:var(--ink); color:var(--white); }
.primary:hover { background:#315545; color:var(--white); }
.text-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; font-size:14px; font-weight:600; }
.hero-note { margin-top:16px; font-size:12px; color:var(--muted); }
.hero-note span { margin-inline:6px; }
.hero-preview { padding:8px 4px; }
.sun-disc { display:none; }
.browser-frame { border:1px solid #c8cec1; border-radius:8px; overflow:hidden; background:var(--white); box-shadow:0 18px 35px -24px #30483366; }
.browser-bar { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; font-size:12px; color:var(--muted); background:var(--green); border-bottom:1px solid var(--line); }
.window-dots { color:#aeb7a7; font-size:8px; letter-spacing:2px; }
.frame-tag { font-size:10px; white-space:nowrap; }
.hero-preview figcaption { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:12px; font-size:12px; color:var(--muted); }
.principles { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; padding-block:16px; border-block:1px solid var(--line); }
.principles p { display:flex; align-items:center; gap:9px; font-size:13px; }
.principle-symbol { font-size:20px; color:var(--orange-ink); }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:36px; margin-bottom:24px; }
h2 { font-size:32px; font-weight:550; line-height:1.35; letter-spacing:-.035em; }
.section-heading .eyebrow,.first-copy>.eyebrow { color:var(--orange-ink); margin-bottom:10px; }
.section-intro { max-width:330px; font-size:15px; color:var(--muted); }
.feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; margin-block:24px 0; }
.feature { display:flex; flex-direction:column; min-width:0; padding-top:18px; border-top:1px solid var(--line); }
.feature-label { display:flex; align-items:center; gap:12px; font-size:12px; letter-spacing:.06em; }
.feature-number { color:var(--orange-ink); }
.feature h3 { font-size:20px; font-weight:550; line-height:1.45; margin:12px 0 10px; }
.feature p:not(.feature-label) { font-size:15px; line-height:1.8; color:var(--muted); }
.feature .text-link { margin-top:auto; padding-top:12px; }
.screenshot-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:24px; }
.screenshot-grid figure { min-width:0; }
.image-heading { display:flex; justify-content:space-between; padding:10px 12px; font-size:12px; letter-spacing:.04em; border:1px solid var(--line); border-bottom:0; border-radius:6px 6px 0 0; background:var(--green); }
.screenshot-grid img { border:1px solid var(--line); border-radius:0 0 6px 6px; }
.screenshot-grid figcaption,.feature-footnote { margin-top:10px; font-size:13px; color:var(--muted); }
.feature-footnote { margin-top:16px; }
.feature-footnote a,.setup-footnote a,.project-notes a,.comparison-sources a,.research-note a { text-decoration:underline; text-underline-offset:3px; }
.calibration-context { display:grid; grid-template-columns:300px minmax(0,1fr); gap:36px; align-items:center; }
.calibration-photo { min-width:0; }
.photo-labels { display:flex; justify-content:space-between; padding-bottom:8px; font-size:10px; font-weight:650; letter-spacing:.06em; }
.square-photo { display:block; aspect-ratio:1; overflow:hidden; border:1px solid var(--line); border-radius:5px; background:var(--white); }
.square-photo img { height:100%; object-fit:cover; object-position:50% 83%; }
.calibration-photo figcaption { margin-top:10px; font-size:12px; line-height:1.6; color:var(--muted); }
.calibration-story h3 { margin:10px 0 14px; font-size:25px; font-weight:550; line-height:1.3; }
.calibration-story p:not(.feature-label) { font-size:15px; line-height:1.8; color:var(--muted); }
.calibration-story .calibration-limit { margin-top:12px; }
.calibration-story .text-link { margin-top:12px; }
.requirements { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; margin:0; }
.requirements>div { padding-top:16px; border-top:1px solid var(--line); }
.requirements dt { margin-bottom:8px; font-size:17px; font-weight:600; }
.requirements dd { margin:0; font-size:15px; color:var(--muted); }
.setup-footnote { margin-top:24px; padding-top:16px; border-top:1px solid var(--line); font-size:13px; color:var(--muted); }
.data-note { display:flex; gap:14px; margin-top:24px; padding:18px 20px; border-radius:5px; background:var(--green); }
.note-symbol { display:grid; place-items:center; flex-shrink:0; width:22px; height:22px; margin-top:3px; border:1px solid var(--muted); border-radius:50%; font:italic 15px Georgia,serif; }
.data-note p { font-size:15px; line-height:1.8; color:var(--muted); }
.data-note strong { display:block; margin-bottom:5px; color:var(--ink); }
.setup-section { background:var(--green); }
.try-card { display:grid; grid-template-columns:1fr 1fr; border:1px solid var(--line); border-radius:6px; background:var(--white); overflow:hidden; }
.try-card>div:first-child { padding:26px; }
.pill { font-size:12px; font-weight:600; color:var(--orange-ink); }
.try-card h3 { margin-block:10px; font-size:24px; font-weight:550; }
.try-card p { font-size:15px; color:var(--muted); }
.try-card .requirement { margin-top:12px; font-size:13px; }
.terminal { min-width:0; padding:24px; background:var(--ink); color:var(--white); display:flex; flex-direction:column; justify-content:center; }
.terminal-title { display:flex; justify-content:space-between; font-size:12px; color:#b4c1ae; }
.terminal pre { font:13px/1.8 "SFMono-Regular",Consolas,monospace; margin-block:18px; overflow-x:auto; padding-bottom:5px; }
.terminal p { color:#c5d0bd; font-size:13px; }
.terminal a { color:#f4cb7e; }
.deploy-heading { margin:30px 0 20px; }
.deploy-heading h3 { font-size:24px; font-weight:550; }
.setup-steps { display:grid; grid-template-columns:1fr 1fr; gap:24px 36px; list-style:none; padding:0; margin:0; }
.setup-steps li { display:flex; align-items:start; gap:18px; padding-top:18px; border-top:1px solid #c6cfbe; }
.step-number { font:23px Georgia,serif; color:var(--orange-ink); }
.setup-steps h4 { font-size:17px; line-height:1.5; margin-bottom:8px; }
.setup-steps p { font-size:15px; color:var(--muted); }
.setup-steps .text-link { padding-top:6px; }
.first-use { display:grid; grid-template-columns:.75fr 1.25fr; align-items:center; gap:60px; }
.phone-preview { text-align:center; }
.phone-frame { width:190px; margin-inline:auto; border:6px solid var(--ink); border-radius:26px; overflow:hidden; background:var(--white); }
.phone-preview p { margin-top:14px; font-size:14px; }
.phone-preview small { font-size:12px; color:var(--muted); }
.use-steps { list-style:none; margin:24px 0 0; padding:0; }
.use-steps li { display:flex; gap:16px; padding-block:16px; border-top:1px solid var(--line); }
.use-steps li>span { font:20px Georgia,serif; color:var(--orange-ink); }
.use-steps h3 { font-size:17px; font-weight:600; margin-bottom:6px; }
.use-steps p { font-size:15px; color:var(--muted); }
.architecture-flow { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; list-style:none; padding:0; margin:24px 0; }
.architecture-flow li { position:relative; padding:18px 14px; border:1px solid var(--line); border-radius:5px; background:var(--green); }
.architecture-flow li+li::before { content:"→"; position:absolute; left:-20px; top:22px; }
.architecture-flow strong,.architecture-flow li>span { display:block; }
.architecture-flow strong { font-size:14px; }
.architecture-flow li>span { margin-top:6px; font-size:13px; color:var(--muted); }
.architecture-summary,.project-notes { font-size:15px; color:var(--muted); }
.project-notes { max-width:850px; }
.project-notes p+p { margin-top:14px; }
.reference-table { max-width:100%; overflow-x:auto; border-top:1px solid var(--line); }
.reference-table table { width:100%; min-width:720px; border-collapse:collapse; text-align:left; font-size:13px; line-height:1.7; }
.reference-table th,.reference-table td { padding:14px 16px; border-bottom:1px solid var(--line); vertical-align:top; }
.reference-table thead { background:var(--green); }
.reference-table td { color:var(--muted); }
.research .reference-table th,.research .reference-table td { width:33.333%; }
.research .reference-table a { overflow-wrap:anywhere; }
.research-identity { margin-bottom:18px; font-size:13px; color:var(--muted); }
.research-note { margin-top:20px; font-size:15px; color:var(--muted); }
.solution-table table { min-width:1000px; table-layout:fixed; }
.solution-table tr>:first-child { position:sticky; left:0; width:130px; background:var(--paper); z-index:1; }
.solution-table thead tr>:first-child { background:var(--green); }
.solution-table tr>*+* { border-left:1px solid var(--line); }
.solution-table strong { display:block; font-size:14px; font-weight:600; line-height:1.55; color:var(--ink); }
.solution-table small { display:block; margin-top:5px; font-size:13px; font-weight:400; line-height:1.6; color:var(--muted); }
.solution-table td[colspan] { text-align:center; }
.shared-scope { margin-bottom:6px; font-size:12px; color:var(--muted); }
.comparison-strength { background:#edf2e8; }
.comparison-condition { background:#f5ecde; }
.comparison-key { display:flex; flex-wrap:wrap; gap:8px 18px; margin-bottom:12px; font-size:13px; color:var(--muted); }
.comparison-key>span::before { content:""; display:inline-block; width:9px; height:9px; margin-right:6px; border:1px solid #b9c9ac; background:#edf2e8; border-radius:2px; }
.comparison-key>.condition::before { border-color:#cdb791; background:#f5ecde; }
.comparison-hint { margin-left:auto; }
.comparison-definition { margin-top:16px; font-size:14px; color:var(--muted); }
.comparison-notes { margin-top:24px; padding-top:20px; border-top:1px solid var(--line); font-size:13px; color:var(--muted); }
.comparison-notes h3 { font-size:16px; color:var(--ink); }
.comparison-notes p { margin-top:12px; }
.mobile-comparison,.mobile-comparison-hint { display:none; }
.site-footer { display:flex; justify-content:space-between; align-items:center; gap:24px; padding-block:24px; font-size:12px; color:var(--muted); }
.footer-brand { display:inline-flex; align-items:center; gap:6px; color:var(--ink); font-size:14px; font-weight:650; }
.footer-brand .brand-sun { width:16px; height:16px; }
.image-open { overflow:hidden; }
.image-viewer { width:min(1280px,calc(100% - 48px)); max-height:calc(100dvh - 48px); padding:16px; color:var(--ink); background:var(--paper); border:1px solid var(--line); border-radius:8px; overscroll-behavior:contain; }
.image-viewer::backdrop { background:#152b24dd; }
.viewer-toolbar,.viewer-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.viewer-toolbar { margin-bottom:12px; }
.viewer-toolbar h2 { font-size:16px; letter-spacing:0; }
.viewer-toolbar button { min-height:44px; padding:8px 14px; font-size:13px; cursor:pointer; border:1px solid var(--line); border-radius:5px; color:var(--ink); background:var(--white); }
.viewer-actions a { min-height:44px; display:inline-flex; align-items:center; font-size:14px; }
.image-viewer img { max-height:calc(100dvh - 220px); object-fit:contain; }
.image-viewer figcaption,.viewer-help { margin-top:10px; text-align:center; font-size:13px; color:var(--muted); }
@media (max-width:900px) {
  .wrap { width:calc(100% - 48px); }
  .site-header { flex-wrap:wrap; gap:0 20px; padding-block:8px 0; }
  .header-actions { margin-left:auto; }
  .nav-strip { order:3; flex-basis:100%; }
  .site-header nav { justify-content:center; }
  .hero { gap:24px; padding-block:40px 32px; }
  h1,html[lang=en] h1 { font-size:42px; }
  .section-heading { gap:24px; }
  h2 { font-size:28px; }
  .section-intro { max-width:280px; }
  .feature-grid,.requirements { gap:20px; }
  .feature h3 { font-size:18px; }
  .calibration-context { grid-template-columns:260px 1fr; gap:24px; }
  .first-use { gap:32px; }
  .architecture-flow { grid-template-columns:1fr 1fr; }
  .architecture-flow li::before { display:none; }
  .site-footer { flex-wrap:wrap; gap:10px; }
  .site-footer p { order:3; width:100%; }
}
@media (max-width:600px) {
  .wrap { width:calc(100% - 36px); }
  .section { padding-block:32px; }
  .brand { font-size:20px; gap:7px; }
  .brand-sun { width:30px; height:30px; }
  .brand-sub { font-size:10px; letter-spacing:3px; }
  .header-actions { gap:6px; }
  .repo-link { padding:8px; font-size:12px; gap:4px; }
  .site-header nav { justify-content:space-between; gap:0; }
  .site-header nav a { padding:6px 8px; font-size:13px; }
  .hero { grid-template-columns:1fr; gap:24px; padding-block:32px 24px; }
  h1,html[lang=en] h1 { font-size:40px; }
  .hero h1 { margin-top:14px; }
  .hero-description { margin-top:16px; }
  .hero-buttons { margin-top:20px; gap:16px; }
  .hero-preview { padding:0; }
  .hero .eyebrow { font-size:11px; letter-spacing:.03em; }
  .principles { grid-template-columns:1fr 1fr; gap:8px 12px; padding-block:12px; }
  .principles p { font-size:12px; gap:6px; }
  .section-heading { display:block; margin-bottom:20px; }
  .section-heading>.button { margin-top:16px; }
  h2 { font-size:27px; }
  .section-intro { max-width:none; margin-top:12px; font-size:14px; }
  .feature-grid,.requirements { grid-template-columns:1fr; gap:20px; }
  .feature h3 { font-size:20px; margin-top:10px; }
  .feature-grid { margin-top:20px; }
  .feature .text-link { padding-top:6px; }
  .screenshot-grid { grid-template-columns:1fr; gap:20px; }
  .calibration-context { grid-template-columns:1fr; gap:20px; }
  .calibration-photo { width:min(100%,300px); margin-inline:auto; }
  .calibration-story h3 { font-size:24px; }
  .try-card,.setup-steps { grid-template-columns:1fr; }
  .try-card>div:first-child,.terminal { padding:20px; }
  .first-use { display:flex; flex-direction:column-reverse; gap:24px; }
  .first-copy { width:100%; }
  .architecture-flow { gap:12px; }
  .data-note { padding:16px; gap:10px; }
  .has-mobile-comparison .solution-table,.has-mobile-comparison .desktop-comparison-hint { display:none; }
  .has-mobile-comparison .mobile-comparison { display:block; }
  .has-mobile-comparison .mobile-comparison-hint { display:inline; }
  .mobile-comparison-controls { position:sticky; top:calc(var(--reading-offset,130px) - 24px); z-index:7; padding:10px 0; background:var(--paper); border-bottom:1px solid var(--line); }
  .mobile-comparison-controls label { display:block; margin-bottom:5px; font-size:13px; color:var(--muted); }
  .mobile-comparison-controls select { width:100%; min-height:44px; padding:8px 12px; font-size:15px; color:var(--ink); background:var(--white); border:1px solid var(--line); border-radius:5px; }
  .mobile-comparison table { width:100%; table-layout:fixed; border-collapse:collapse; text-align:left; font-size:13px; line-height:1.65; }
  .mobile-comparison th,.mobile-comparison td { padding:12px 8px; vertical-align:top; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
  .mobile-comparison tr>:first-child { width:22%; font-weight:600; }
  .mobile-comparison [data-product] { width:39%; }
  .mobile-comparison [data-product="0"] { border-inline:1px solid #cad7bf; background:#edf2e8; }
  .mobile-comparison thead { background:var(--green); }
  .mobile-comparison strong,.mobile-comparison small { display:block; }
  .mobile-comparison strong { color:var(--ink); font-weight:600; }
  .mobile-comparison small { margin-top:6px; font-size:12px; font-weight:400; color:var(--muted); }
  .comparison-hint { margin:0; width:100%; }
  .research .reference-table table { min-width:0; }
  .research .reference-table thead { display:none; }
  .research .reference-table tr,.research .reference-table th,.research .reference-table td { display:block; width:100%; }
  .research .reference-table th { padding:14px 0 6px; background:var(--green); }
  .research .reference-table td { padding:6px 0 12px; }
  .research .reference-table td:nth-child(2) { border-bottom:0; }
  .image-viewer { width:calc(100% - 20px); max-height:calc(100dvh - 20px); padding:12px; }
}
@media (max-width:360px) {
  .brand { font-size:17px; }
  .brand-sub { letter-spacing:2px; }
  .brand-sun { width:25px; height:25px; }
  .repo-link { border:0; padding:8px 0; }
  .header-actions { gap:0; }
  .site-header nav a { padding:6px; }
  h1,html[lang=en] h1 { font-size:35px; }
  .mobile-comparison th,.mobile-comparison td { padding-inline:6px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
html[lang] .page-title { margin:0; font-size:36px; line-height:1.35; letter-spacing:-.035em; }
@media (max-width:600px) { html[lang] .page-title { font-size:29px; } }
@media (max-width:600px) {
  .research .reference-table thead { display:block; position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .research .reference-table tbody td:last-child::before { content:"借鉴内容"; display:block; margin-bottom:4px; color:var(--ink); font-weight:600; font-size:12px; }
  html[lang=en] .research .reference-table tbody td:last-child::before { content:"Ideas used"; }
}
