:root {
  color-scheme: light;
  --ink: #182820;
  --muted: #536358;
  --line: #cbd5c9;
  --leaf: #d8ed9e;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei UI", system-ui, sans-serif;
  color: var(--ink);
  background: #f9fbf6;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #5b7021; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1170px, calc(100% - 72px)); margin-inline: auto; }
.topbar { border-bottom: 1px solid var(--line); }
.nav, nav, .brand, .actions, .window-bar, .demo-toolbar, .release, footer { display: flex; align-items: center; }
.nav { justify-content: space-between; min-height: 79px; }
.brand { gap: 10px; font-size: 1.3rem; letter-spacing: .04em; font-weight: 800; }
.brand img { object-fit: contain; }
nav { gap: 30px; font-weight: 600; font-size: .94rem; }
nav a:hover, footer > a:last-child:hover { text-decoration: underline; text-underline-offset: .3em; }
.nav-download { padding: 9px 17px; border: 1px solid var(--ink); border-radius: 9px; }
.hero { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(32px, 6vw, 90px); padding-block: clamp(50px, 6.5vw, 95px); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(3.2rem, 5.4vw, 5rem); line-height: 1.24; letter-spacing: -.06em; }
h1 span { position: relative; isolation: isolate; white-space: nowrap; }
h1 span::after { content: ""; position: absolute; z-index: -1; bottom: .01em; inset-inline: 0 .15em; height: .27em; background: var(--leaf); transform: rotate(-1.5deg); }
.intro p { color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.19rem); line-height: 1.9; max-width: 26em; margin-block: 22px 30px; }
.actions { gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; border: 1px solid var(--ink); border-radius: 10px; padding: .77em 1.38em; font-weight: 700; }
.primary { background: var(--ink); color: #fff; }
.primary:hover { background: #344b38; }
.outline:hover, .nav-download:hover { background: #eaf0df; }
.demo-window { overflow: hidden; border: 1.5px solid #738579; border-radius: 18px; background: #fff; box-shadow: 6px 7px 0 #e1e9d6; scroll-margin-top: 24px; }
.window-bar { padding: 12px 19px; gap: 12px; border-bottom: 1px solid #aebbae; background: #f4f7ed; }
.window-bar h2 { font-size: .95rem; letter-spacing: .04em; }
.lights { display: flex; gap: 5px; }
.lights i { width: 9px; height: 9px; border-radius: 50%; background: #e3b879; }
.lights i:nth-child(2) { background: #cdcf79; }
.lights i:nth-child(3) { background: #93b49e; }
.live-name { margin-left: auto; color: var(--muted); font-size: .9rem; }
.stage-wrap { position: relative; height: clamp(260px, 28vw, 340px); overflow: hidden; background-color: #dbe9d9; background-image: radial-gradient(#acbfab 1px, transparent 1px); background-size: 14px 14px; }
.poster { width: 77%; height: 84%; object-fit: contain; position: absolute; inset: 7% auto auto 11.5%; }
#stage { position: absolute; inset: 0; }
#stage:focus-visible { outline-offset: -4px; }
#stage canvas { display: block; width: 100%; height: 100%; }
.zzz { display: none; }
.demo-toolbar { padding: 11px 18px 0; justify-content: flex-end; }
.tap { border: 1px solid #a0afa0; border-bottom-width: 3px; border-radius: 7px; padding: 5px 13px; background: #f3f7ed; font-size: .93rem; font-weight: 650; }
.tap:active { transform: translateY(1px); }
.demo-caption { color: var(--muted); font-size: .88rem; line-height: 1.6; padding: 12px 18px; }
.features { padding: 42px 0 62px; border-top: 1px solid var(--line); }
.features h2, .downloads h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); letter-spacing: -.045em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
.feature-grid article { padding-inline: 32px; border-left: 1px solid var(--line); }
.feature-grid article:first-child { padding-left: 0; border-left: 0; }
.feature-grid article:last-child { padding-right: 0; }
.feature-grid h3 { margin-top: 14px; font-size: 1.24rem; }
.feature-grid p, .downloads p { color: var(--muted); line-height: 1.8; margin-top: 6px; }
.feature-art { height: 39px; display: flex; align-items: center; }
.keys { gap: 5px; }
.keys b { font: 700 1rem/1.8 monospace; text-align: center; width: 30px; color: #475642; border: 1px solid #98a590; border-bottom-width: 4px; background: #edf1e0; border-radius: 6px; }
.keys b:nth-child(2) { transform: translateY(3px); background: #d6e8ac; }
.coats i { width: 31px; height: 31px; margin-left: -4px; border-radius: 50%; border: 2px solid #f9fbf6; background: #253028; }
.coats i:first-child { margin-left: 0; }
.coats i:nth-child(2) { background: repeating-linear-gradient(125deg,#eaaa6c 0 8px,#b87945 9px 12px); }
.coats i:nth-child(3) { background: linear-gradient(120deg,#dad7be 45%,#747a72 46%); }
.snooze { color: #5f8064; gap: 2px; font-family: Georgia, serif; }
.snooze b:nth-child(1) { transform: translateY(7px); font-size: 1.2rem; }
.snooze b:nth-child(2) { font-size: 1.6rem; }
.snooze b:nth-child(3) { transform: translateY(-4px) rotate(8deg); font-size: 2rem; }
.downloads { padding: clamp(26px,4vw,52px); background: #e5efda; border: 1px solid #c5d4ba; border-radius: 20px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: center; }
.platforms { display: flex; flex-wrap: wrap; gap: 6px; }
.platforms a { padding: 6px 10px; border: 1px solid #bdcdb4; border-radius: 8px; font-size: .9rem; }
.platforms a[aria-current] { color: white; background: #344b38; border-color: #344b38; }
.checksum { color: var(--muted); font-size: .88rem; margin-top: 8px; }
.checksum summary { cursor: pointer; }
.checksum code { display: block; overflow-wrap: anywhere; margin-top: 6px; }
.release { gap: 16px; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid #bdcdb4; }
.release:last-child { border: 0; }
.release h3 { font-size: 1.18rem; }
.release small { font-size: .85rem; font-weight: 500; color: #4f614e; }
.release p { margin: 3px 0 0; font-size: .91rem; }
footer { justify-content: space-between; padding-block: 35px; gap: 15px; font-size: .88rem; color: var(--muted); }
footer .brand { font-size: 1rem; }
@media (max-width: 760px) {
  .wrap { width: min(620px, calc(100% - 36px)); }
  .nav { min-height: 65px; }
  nav { gap: 15px; }
  nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; gap: 33px; padding: 44px 0; }
  h1 { font-size: clamp(3rem, 9vw, 4.2rem); }
  .stage-wrap { height: clamp(260px, 63vw, 340px); }
  .features { padding: 32px 0; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 14px; }
  .feature-grid article, .feature-grid article:first-child { border-left: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .feature-grid article:last-child { border-bottom: 0; }
  .downloads { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 390px) {
  .brand { font-size: 1.1rem; }
  nav { gap: 10px; font-size: .88rem; }
  .nav-download { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
