:root {
  color-scheme: light;
  --paper: #f8f9f3;
  --ink: #142821;
  --muted: #52645c;
  --green: #0c5c47;
  --line: #d8e2d9;
  --tint: #ecf3eb;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { width: min(1160px, calc(100% - 88px)); margin-inline: auto; }
.bar { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 22px; }
.page-header { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.02em; white-space: nowrap; }
.brand img { flex: none; mix-blend-mode: multiply; }
.brand small { margin-inline-start: 5px; color: var(--muted); font-weight: 550; font-size: .75em; }
nav { display: flex; align-items: center; gap: 29px; font-size: 14px; }
.nav-download { border: 1px solid #bdccc0; border-radius: 8px; padding: 8px 19px; color: var(--green); font-weight: 700; }
.skip { position: absolute; left: 10px; top: -60px; z-index: 2; background: white; padding: 10px; }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid #277e69; outline-offset: 4px; }
.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: 68px 76px; }
.eyebrow { margin-bottom: 19px; font-size: 14px; font-weight: 750; color: var(--green); letter-spacing: .13em; }
h1 { font-size: clamp(37px, 4.42vw, 66px); font-weight: 800; letter-spacing: -.065em; line-height: 1.19; }
h1 em { color: var(--green); font-style: normal; white-space: nowrap; }
.intro { max-width: 430px; margin-top: 23px; font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); line-height: 1.8; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 13px; min-height: 45px; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.primary { background: var(--green); color: white; }
.primary:hover { background: #084733; }
.secondary { border-color: #c8d5ca; background: #fefef9; }
.secondary:hover, .nav-download:hover { background: #e6efe6; }
.platform-note { margin-top: 14px; color: var(--muted); font-size: 12px; }
.demo { background: #eaf1e7; padding: 12px; border: 1px solid #d3dfd2; border-radius: 22px; box-shadow: 0 18px 48px #23433410; }
.demo-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 5px 10px; font-size: 12px; color: var(--muted); }
.demo-heading span:first-child { color: var(--ink); font-weight: 750; }
.demo-heading i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #38866c; }
.demo video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 11px; background: #f1efe3; }
.demo figcaption { padding: 9px 5px 1px; color: var(--muted); font-size: 12px; }
.section { padding-block: 58px; }
.gallery, .downloads { border-block: 1px solid var(--line); background: var(--tint); }
.section-heading { margin-bottom: 24px; }
h2 { font-size: clamp(26px, 3vw, 39px); line-height: 1.3; letter-spacing: -.05em; }
.section-heading p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.work-grid, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.work-card button { position: relative; display: block; width: 100%; padding: 0; text-align: left; border: 1px solid #d1dfd3; border-radius: 15px; background: #fffefa; cursor: pointer; overflow: hidden; }
.work-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 16px; color: var(--green); font-size: 14px; font-weight: 700; }
.work-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.work-card button:hover { border-color: #55917a; box-shadow: 0 5px 17px #173a2210; }
.work-visual { display: grid; background: #e8eee5; height: clamp(120px, 15vw, 192px); padding: 13px 15px 0; overflow: hidden; place-items: start center; }
.work-visual img { width: 100%; height: auto; border: 1px solid #d1ddd5; border-radius: 8px; }
.work-visual.data { background: #e5eee8; }
.work-visual.team { background: #efece0; }
.work-visual.team img { width: 72%; }
.card-copy { display: grid; gap: 5px; padding: 16px 36px 18px 16px; }
.card-copy strong { font-size: 18px; }
.card-copy span, .steps p, .installer p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.arrow { position: absolute; right: 15px; bottom: 23px; color: var(--green); }
.steps { padding: 0 0 0 1.35em; margin-block: 0; }
.steps li { padding-inline-start: 4px; }
.steps li::marker { font-weight: 750; color: var(--green); }
.steps p { margin-top: 6px; }
.installer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.installer { background: #fffefa; border: 1px solid var(--line); border-radius: 15px; padding: 21px; }
.installer h3 { font-size: 20px; }
.installer small { font-size: 13px; color: var(--muted); margin-left: 5px; }
.installer p { margin: 7px 0 12px; }
.installer details { margin-top: 13px; font-size: 14px; }
summary { cursor: pointer; }
.installer code { display: block; overflow-wrap: anywhere; color: var(--muted); font-size: 12px; }
footer { font-size: 13px; color: var(--muted); }
dialog { width: min(860px, calc(100% - 28px)); max-height: 94vh; padding: 20px; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; background: #fffefa; }
dialog::backdrop { background: #14282180; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
dialog h2 { font-size: 24px; }
dialog p { margin: 8px 0 14px; line-height: 1.65; color: var(--muted); }
dialog img { margin-inline: auto; max-height: 70vh; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; }
.close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--tint); cursor: pointer; font-size: 24px; }
@media (max-width: 840px) {
  .wrap { width: calc(100% - 44px); }
  .hero { gap: 26px; }
  .wide-break { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .bar { min-height: 62px; gap: 12px; }
  nav { gap: 12px; font-size: 12px; }
  .nav-download { padding: 7px 10px; }
  .brand small { display: none; }
  .hero { grid-template-columns: 1fr; gap: 29px; padding-block: 38px 37px; }
  h1 { max-width: 440px; }
  .wide-break { display: initial; }
  .demo { width: 100%; }
  .section { padding-block: 37px; }
  .work-grid, .steps, .installer-grid { grid-template-columns: 1fr; }
  .work-visual { height: 170px; }
  footer.bar { padding-block: 14px; flex-wrap: wrap; }
}
@media (max-width: 360px) {
  nav a[href="#start"] { display: none; }
  h1 { font-size: 34px; }
}
[hidden] { display: none !important; }
