:root {
  color-scheme: light;
  --paper: #f8f7ef;
  --ink: #203a2b;
  --muted: #526154;
  --line: #dce0d2;
  --green: #315d45;
  --mint: #e8eddc;
  --coral: #b75539;
  --display: "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
  --body: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--body); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, iframe:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 1.2em; height: 1.2em; flex: none; }
svg:not([fill]) { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; top: .6rem; left: .6rem; z-index: 10; padding: .5rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.brand, .source { display: inline-flex; align-items: center; gap: 9px; width: fit-content; }
.brand strong { font: 800 24px/1 "Segoe UI", sans-serif; letter-spacing: -.065em; }
.brand span { color: var(--muted); border-left: 1px solid var(--line); padding-left: 9px; font-size: 13px; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 3.5vw, 48px); }
.site-header nav a, .source, .footer { font-size: 13px; font-weight: 600; }
.site-header nav a:hover, .source:hover, .footer > a:last-child:hover { color: var(--coral); }
.source { justify-self: end; border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; }
.hero { display: grid; grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr); align-items: center; gap: clamp(28px, 4vw, 72px); padding-block: clamp(58px, 7vw, 108px) 72px; }
.hero-copy { padding-bottom: 24px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green); font: 700 12px/1.5 var(--mono), var(--body); letter-spacing: .1em; }
.eyebrow > span { width: 8px; height: 8px; background: #829971; border-radius: 50%; box-shadow: 0 0 0 3px var(--mint); }
h1, h2, .feature-main h3 { font-family: var(--display); font-weight: 800; line-height: 1.17; }
h1 { margin-block: 22px 24px; font-size: clamp(46px, 5.05vw, 81px); letter-spacing: -.06em; }
.hero-break { display: block; }
.accent { color: var(--green); }
.period { color: var(--coral); }
.intro { max-width: 26em; color: var(--muted); font-size: clamp(15px, 1.22vw, 18px); line-height: 1.9; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 28px 14px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 11px 17px; min-height: 46px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 700; transition: background .18s, border-color .18s; }
.primary { background: var(--green); color: #fffdf3; }
.primary:hover { background: #204733; }
.secondary { border-color: #cfd7c8; }
.secondary:hover { background: var(--mint); }
.platform { color: var(--muted); font-size: 12px; }
.platform span { margin-inline: 4px; color: #65796a; }

.demo { min-width: 0; scroll-margin-top: 20px; }
.desktop { position: relative; isolation: isolate; overflow: hidden; container-type: inline-size; aspect-ratio: 1.34; min-height: 420px; background: #b8c8aa url("assets/desktop.svg") center/cover; border: 1px solid #b2c3a6; border-radius: 22px; box-shadow: 0 20px 46px -30px #294b3b6b, inset 0 0 0 5px #fffff64d; }
.desktop-label { position: absolute; top: 5.5%; left: 5%; display: flex; align-items: center; gap: 7px; color: #35523b; font: 700 clamp(8px, 1.65cqw, 12px)/1 var(--mono); letter-spacing: .1em; }
.desktop-label span { width: 6px; height: 6px; background: #658768; border-radius: 50%; }
.calendar { position: absolute; width: 54%; left: 8%; top: 16%; border-radius: 3cqw; box-shadow: 0 15px 26px #253a2b30; }
.task-window { position: absolute; width: min(51%, 410px); min-width: 300px; height: 72%; right: 5%; top: 16%; border: 0; border-radius: 12px; box-shadow: 0 16px 30px #263b2a4d; }
.desktop-dock { position: absolute; bottom: 3%; left: 50%; translate: -50% 0; height: 5.5cqw; min-height: 21px; display: flex; align-items: center; gap: 1.25cqw; padding: 0 1.8cqw; background: #f4f7e8ca; border: 1px solid #f7f9eea6; border-radius: 1.4cqw; color: var(--green); }
.desktop-dock svg { width: 1.75cqw; height: 1.75cqw; }
.desktop-dock img { width: 3.2cqw; }
.desktop-dock i { width: 1px; height: 45%; background: #a5b29c; }
figcaption { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 12px; }
figcaption i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #73916c; vertical-align: 2px; }

.features { padding-block: clamp(48px, 6vw, 92px); background: #f1f2e7; border-block: 1px solid var(--line); }
h2 { margin-block: 12px 26px; font-size: clamp(31px, 4vw, 56px); letter-spacing: -.045em; }
.feature-layout { display: grid; grid-template-columns: 1.18fr 1fr; gap: 18px; }
.feature-main, .feature-stack { border: 1px solid #dce2d3; border-radius: 17px; }
.feature-main { position: relative; overflow: hidden; min-height: 350px; padding: clamp(24px, 3vw, 42px); background: #e4ebd7; }
.feature-main > div { position: relative; z-index: 1; max-width: 19em; }
.feature-tag { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.feature-main h3 { margin-block: 8px 10px; font-size: clamp(25px, 3vw, 38px); }
.feature-main p:not(.feature-tag), .feature-item p, .download-card p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.8; }
.feature-main img { position: absolute; width: 51%; min-width: 215px; right: 5%; top: 54%; border-radius: 14px; box-shadow: 0 10px 30px #1f382932; transform: rotate(-6deg); }
.feature-stack { display: grid; align-content: center; background: #faf9f2; padding: 8px 24px; }
.feature-item { display: flex; align-items: flex-start; gap: 16px; padding-block: 18px; }
.feature-item + .feature-item { border-top: 1px solid var(--line); }
.feature-item svg { width: 38px; height: 38px; padding: 8px; background: var(--mint); color: var(--green); border-radius: 8px; }
.feature-item h3 { font-size: 16px; margin-bottom: 3px; }
.download { padding-block: clamp(42px, 7vw, 88px); }
.download-card { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); padding: clamp(24px, 4vw, 54px); border: 1px solid var(--line); background: #ecf0e1; border-radius: 18px; }
.download-card h2 { margin-block: 7px 9px; font-size: clamp(28px, 3.4vw, 46px); }
.download-card > img { width: clamp(48px, 7vw, 80px); flex: none; }
.download-card .button { margin-left: auto; flex: none; }
.footer { min-height: 72px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); }
.footer p { font-family: var(--mono); font-weight: 400; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; }
}
@media (max-width: 920px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 62px; }
  .site-header nav { gap: 16px; }
  .source { border: 0; padding-inline: 0; }
  .source span, .site-header .brand span { display: none; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 44px 40px; }
  .hero-copy { padding-bottom: 0; }
  h1 { font-size: clamp(44px, 9vw, 66px); }
  .demo { max-width: 600px; }
  .feature-layout { grid-template-columns: 1fr; }
  .feature-main { min-height: 290px; }
  .download-card { flex-wrap: wrap; }
  .download-card .button { margin-left: 0; }
}
@media (max-width: 520px) {
  .desktop { min-height: 438px; }
  .calendar { display: none; }
  .task-window { min-width: 0; width: 92%; height: 79%; right: 4%; top: 10%; }
}
@media (max-width: 410px) {
  .wrap { width: calc(100% - 32px); }
  .brand img { width: 29px; }
  .brand strong { font-size: 20px; }
  .source { font-size: 12px; gap: 4px; }
  .site-header nav { gap: 11px; }
  .site-header nav a { font-size: 12px; }
  .desktop { border-radius: 14px; }
  .download-card > img, .footer p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
