:root {
  color-scheme: light;
  --page-bg: #f7f6f2;
  --sidebar-bg: #f4f2ed;
  --surface: #fffefa;
  --surface-soft: #eeeee8;
  --ink: #1c201d;
  --muted: #747d77;
  --faint: #9aa19b;
  --line: #e4e2dc;
  --accent: #2d5a49;
  --accent-hover: #366d58;
  --accent-soft: #e6eee8;
  --page-width: min(1216px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--page-bg); font-family: "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.page-wrap { width: var(--page-width); margin-inline: auto; }

.site-header { height: 76px; width: var(--page-width); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.brand img { object-fit: cover; border-radius: 10px; }
.site-nav { display: flex; align-items: center; gap: 8px; color: #606b64; font-size: 13px; }
.site-nav a { padding: 8px 12px; border-radius: 8px; transition: background 150ms ease, color 150ms ease; }
.site-nav a:hover { color: var(--accent); background: var(--accent-soft); }
.site-nav .nav-github { color: var(--accent); font-weight: 650; }
.site-nav .nav-github span, .footer-link span { margin-left: 3px; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

.hero { min-height: 625px; padding-block: 66px 50px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 54px; }
.hero-copy { padding-bottom: 10px; }
.eyebrow { margin: 0 0 14px; display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 12px; font-weight: 650; letter-spacing: .045em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { margin: 0; font-size: clamp(42px, 5.3vw, 67px); line-height: 1.23; letter-spacing: -.065em; font-weight: 760; }
.hero h1 span { color: var(--accent); }
.hero-description { max-width: 445px; margin: 22px 0 28px; color: #606b64; font-size: 15px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 21px; }
.button { min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 650; transition: background 150ms ease, transform 150ms ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fffefa; background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.text-link { color: #5f6d64; font-size: 13px; }
.text-link:hover, .footer-link:hover { color: var(--accent); }
.text-link span { margin-left: 5px; color: var(--accent); }
.product-facts { margin-top: 29px; display: flex; align-items: center; flex-wrap: wrap; gap: 11px; color: var(--muted); font-size: 11px; }
.product-facts i { width: 3px; height: 3px; border-radius: 50%; background: #a4aaa4; }
.screen-frame { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #e2e0d9; border-radius: 13px; background: var(--surface); box-shadow: 0 12px 38px rgba(42, 47, 41, .09); }
.screen-frame img { width: 100%; height: auto; }
.hero-screen { padding: 7px; border-radius: 14px; }

.experience { padding-block: 85px 100px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 32px; }
.section-title .eyebrow { margin-bottom: 8px; }
.section-title h2, .start h2 { margin: 0; font-size: clamp(28px, 3.35vw, 41px); font-weight: 730; letter-spacing: -.045em; line-height: 1.4; }
.section-title > p { max-width: 420px; margin: 0 0 3px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.experience-card { min-height: 214px; padding: 25px 27px; position: relative; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.card-number { position: absolute; top: 23px; right: 24px; color: #a4aaa4; font-size: 11px; font-weight: 650; }
.experience-icon { width: 39px; height: 39px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.experience-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.experience-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.experience-card p { margin: 0; max-width: 290px; color: var(--muted); font-size: 12px; line-height: 1.85; }

.screenshots { padding-block: 92px 100px; border-block: 1px solid var(--line); background: var(--sidebar-bg); }
.screenshots-inner { display: flex; flex-direction: column; gap: 54px; }
.screenshot-heading { margin-bottom: 0; }
.screenshot-heading h2 { max-width: 580px; }
.showcase { min-width: 0; }
.showcase-copy { display: grid; grid-template-columns: 1fr 1fr; align-items: baseline; gap: 8px 30px; margin-bottom: 17px; }
.showcase-label { grid-column: 1 / -1; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.showcase-copy h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.025em; }
.showcase-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.showcase-wide .screen-frame { padding: 6px; }
.showcase-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 27px; }
.showcase-card .showcase-copy { display: block; min-height: 92px; }
.showcase-card .showcase-copy h3 { margin: 4px 0 5px; font-size: 17px; }
.showcase-card .showcase-copy p { max-width: 460px; }
.showcase-card .screen-frame { padding: 5px; border-radius: 11px; }
.image-note { margin: -21px 0 0; color: #828981; text-align: right; font-size: 10px; }

.start { padding-block: 105px; display: grid; grid-template-columns: 1fr .87fr; align-items: center; gap: 95px; }
.start-copy .eyebrow { margin-bottom: 9px; }
.start h2 { max-width: 510px; font-size: clamp(31px, 3.7vw, 45px); }
.start-copy > p:not(.eyebrow) { max-width: 465px; margin: 15px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.95; }
.start-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.start-steps li { min-height: 83px; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.start-steps li > span { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #c7d7cd; border-radius: 50%; color: var(--accent); background: #f1f5f0; font-size: 11px; font-weight: 650; }
.start-steps strong { font-size: 13px; }
.start-steps p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }

.site-footer { min-height: 83px; display: flex; align-items: center; gap: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer-brand { color: var(--ink); font-size: 13px; }
.footer-brand img { border-radius: 8px; }
.site-footer > p { margin: 0; padding-left: 18px; border-left: 1px solid #d4d2cb; }
.footer-link { margin-left: auto; color: #56655c; }

@media (max-width: 960px) {
  :root { --page-width: min(100% - 48px, 800px); }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 32px; padding-block: 54px 40px; }
  .hero-copy { max-width: 660px; }
  .hero-screen { max-width: 800px; }
  .section-title { align-items: start; flex-direction: column; gap: 12px; }
  .section-title > p { max-width: 600px; }
  .start { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  :root { --page-width: calc(100% - 34px); }
  html { scroll-padding-top: 70px; }
  .site-header { height: 66px; }
  .brand { font-size: 14px; }
  .brand img { width: 31px; height: 31px; }
  .menu-toggle { display: inline-flex; padding: 8px; }
  .site-nav { display: none; position: absolute; top: 57px; right: 0; min-width: 194px; padding: 8px; flex-direction: column; align-items: stretch; gap: 1px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); box-shadow: 0 12px 28px rgba(28, 32, 29, .14); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 12px; }
  .hero { gap: 26px; padding-block: 43px 30px; }
  .eyebrow { font-size: 10px; }
  .hero h1 { font-size: clamp(38px, 10.3vw, 54px); }
  .hero-description { margin-block: 15px 21px; font-size: 13px; line-height: 1.9; }
  .hero-actions { gap: 16px; }
  .button { min-height: 43px; padding-inline: 13px; gap: 8px; font-size: 12px; }
  .product-facts { margin-top: 20px; gap: 8px; font-size: 9px; }
  .screen-frame { border-radius: 8px; }
  .hero-screen { padding: 4px; border-radius: 9px; }
  .experience { padding-block: 62px 70px; }
  .section-title { gap: 9px; margin-bottom: 24px; }
  .section-title h2, .start h2 { font-size: 29px; }
  .section-title > p { font-size: 12px; }
  .experience-grid { grid-template-columns: 1fr; gap: 10px; }
  .experience-card { min-height: 0; padding: 18px 19px; }
  .experience-icon { width: 34px; height: 34px; margin-bottom: 12px; }
  .experience-icon svg { width: 21px; height: 21px; }
  .experience-card h3 { font-size: 14px; }
  .experience-card p { font-size: 11px; }
  .screenshots { padding-block: 64px 69px; }
  .screenshots-inner { gap: 37px; }
  .showcase-copy { display: block; margin-bottom: 11px; }
  .showcase-copy h3 { margin: 4px 0; font-size: 17px; }
  .showcase-copy p { font-size: 11px; }
  .showcase-pair { grid-template-columns: 1fr; gap: 31px; }
  .showcase-card .showcase-copy { min-height: 0; }
  .showcase-card .showcase-copy h3 { font-size: 16px; }
  .showcase-wide .screen-frame, .showcase-card .screen-frame { padding: 3px; }
  .image-note { margin-top: -17px; font-size: 9px; text-align: left; }
  .start { gap: 32px; padding-block: 69px; }
  .start-copy > p:not(.eyebrow) { font-size: 12px; }
  .start-steps li { min-height: 75px; }
  .start-steps strong { font-size: 12px; }
  .start-steps p { font-size: 10px; }
  .site-footer { min-height: 96px; flex-wrap: wrap; gap: 8px 12px; padding-block: 15px; }
  .footer-brand { font-size: 12px; }
  .footer-brand img { width: 26px; height: 26px; }
  .site-footer > p { padding-left: 10px; font-size: 9px; }
  .footer-link { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
