:root {
  --ink: #10251b;
  --green: #17623d;
  --green-2: #287b51;
  --lime: #d9f36b;
  --paper: #f7f6ef;
  --white: #fffefa;
  --muted: #627168;
  --line: #d9dfd7;
  --soft: #eaf1e9;
  --red: #bd574d;
  --shadow: 0 24px 70px rgba(18, 53, 35, .12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Noto Sans CJK SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.topbar { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(217,223,215,.8); background: rgba(247,246,239,.88); backdrop-filter: blur(18px); }
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: block; width: 38px; height: 38px; }
.nav-links { display: flex; align-items: center; gap: 26px; color: #48584f; font-size: 14px; font-weight: 650; }
.nav-links a:hover { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-switch { display: inline-grid; place-items: center; min-width: 42px; height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--green); background: rgba(255,254,250,.72); font-size: 13px; font-weight: 800; }
.language-switch:hover { border-color: #a9bcad; background: var(--white); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 19px; border: 1px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 750; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,37,27,.14); }
.button.primary { color: white; background: var(--ink); }
.button.light { border-color: var(--line); background: var(--white); }
.eyebrow { margin: 0 0 18px; color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.hero { position: relative; overflow: hidden; padding: 100px 0 70px; }
.hero::before { position: absolute; top: -330px; right: -170px; width: 750px; height: 750px; border-radius: 50%; background: radial-gradient(circle, rgba(217,243,107,.27), rgba(217,243,107,0) 68%); content: ""; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
h1, h2, h3 { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 25px; font: 500 clamp(46px, 4.7vw, 64px)/1.1 var(--serif); letter-spacing: -.04em; }
h1 strong { color: var(--green); font-weight: 700; }
.lede { max-width: 670px; margin: 0 0 34px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 42px; color: var(--muted); font-size: 13px; }
.lab-badge { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: white; background: var(--green); font-size: 11px; font-weight: 850; }
.hero-card { position: relative; padding: 12px; border: 1px solid #dce4da; border-radius: 26px; background: rgba(255,254,250,.84); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.hero-card::after { position: absolute; z-index: -1; inset: 30px -26px -26px 38px; border-radius: 26px; background: #dcebdd; content: ""; }
.hero-card img { aspect-ratio: 16/10; border-radius: 17px; object-fit: cover; object-position: top; }
.mini-tag { position: absolute; right: -28px; bottom: 34px; padding: 12px 16px; border-radius: 14px; color: white; background: var(--green); box-shadow: 0 14px 30px rgba(23,98,61,.25); font-size: 12px; font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(4,1fr); margin: 46px 0 0; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,254,250,.68); }
.stat { padding: 22px 25px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 700 28px/1 var(--serif); }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.section { padding: 100px 0; }
.section.white { background: var(--white); }
.section.dark { color: white; background: var(--ink); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 45px; }
.section-head h2 { max-width: 730px; margin-bottom: 0; font: 600 clamp(34px, 3.4vw, 49px)/1.14 var(--serif); letter-spacing: -.025em; }
.section-head p { max-width: 390px; margin: 0; color: var(--muted); }
.dark .section-head p { color: #aabdb0; }
.feature-heading { align-items: center; margin-bottom: 38px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { position: relative; display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto 1fr; column-gap: 20px; min-height: 158px; padding: 25px 27px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, var(--white), #fbfcf8); box-shadow: 0 10px 28px rgba(16,37,27,.035); }
.feature::after { position: absolute; right: -42px; bottom: -48px; width: 118px; height: 118px; border-radius: 50%; background: rgba(40,123,81,.055); content: ""; }
.feature-number { z-index: 1; display: inline-grid; grid-row: 1 / 3; place-items: center; width: 48px; height: 48px; margin: 0; border-radius: 14px; color: white; background: var(--green); font-size: 12px; font-weight: 850; }
.feature h3 { z-index: 1; margin: 1px 0 9px; font: 700 21px/1.25 var(--sans); }
.feature p { z-index: 1; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.video-frame { overflow: hidden; padding: 12px; border: 1px solid #365344; border-radius: 26px; background: #173125; box-shadow: 0 35px 100px rgba(0,0,0,.28); }
.video-frame video { width: 100%; border-radius: 16px; background: #0b1d13; }
.video-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 0 8px 5px; color: #a9bcae; font-size: 12px; }
.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 20px 50px rgba(16,37,27,.07); }
.comparison { width: 100%; min-width: 880px; border-collapse: collapse; }
.comparison th, .comparison td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: center; font-size: 13px; }
.comparison th:first-child, .comparison td:first-child { width: 31%; text-align: left; font-weight: 700; }
.comparison thead th { color: var(--muted); background: #f0f3ed; font-size: 12px; }
.comparison thead th.highlight { color: white; background: var(--green); }
.comparison tbody tr:last-child td { border-bottom: 0; }
.mark { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; font-weight: 900; }
.mark.yes { color: #145a37; background: #dcefe2; }
.mark.no { color: #9b4a43; background: #f5dfdc; }
.mark.partial { color: #806410; background: #f7edc5; }
.comparison-note { margin: 18px 4px 0; color: var(--muted); font-size: 12px; }
.comparison-cta { margin-top: 34px; }
.cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 30px 36px; border-radius: 20px; color: white; background: var(--green); }
.cta h2 { margin: 0 0 5px; font: 700 27px/1.2 var(--sans); }
.cta p { margin: 0; color: #d9e7dc; }
.cta .button.light { color: var(--ink); background: var(--white); }
.footer { padding: 54px 0 36px; color: #a5b8ab; background: #0d1f16; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 40px; }
.footer h4 { margin: 0 0 14px; color: white; font-size: 13px; }
.footer a, .footer p { display: block; margin: 7px 0; color: #9eb0a3; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 22px; border-top: 1px solid #294034; font-size: 12px; }

/* Documentation */
.docs-layout { display: grid; grid-template-columns: 245px minmax(0, 790px); gap: 62px; align-items: start; padding: 58px 0 100px; }
.docs-sidebar { position: sticky; top: 100px; }
.docs-sidebar h5 { margin: 0 0 12px; color: #8b988f; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.docs-sidebar a { display: block; margin: 3px 0; padding: 7px 10px; border-radius: 8px; color: #536158; font-size: 13px; }
.docs-sidebar a:hover, .docs-sidebar a.active { color: var(--green); background: var(--soft); font-weight: 700; }
.docs-content { min-width: 0; }
.docs-content h1 { margin: 0 0 20px; font-size: 57px; }
.docs-content h2 { margin: 58px 0 18px; padding-top: 10px; border-top: 1px solid var(--line); font: 700 33px/1.2 var(--serif); }
.docs-content h3 { margin: 35px 0 12px; font: 700 22px/1.25 var(--serif); }
.docs-content p, .docs-content li { color: #46554c; font-size: 15px; }
.docs-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.docs-content pre { overflow-x: auto; padding: 20px; border-radius: 14px; color: #dceadd; background: var(--ink); font-size: 13px; line-height: 1.65; }
.docs-content code { padding: .15em .35em; border-radius: 5px; background: #e8ece6; font-size: .9em; }
.docs-content pre code { padding: 0; background: transparent; }
.callout { margin: 24px 0; padding: 19px 22px; border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; background: var(--soft); }
.callout strong { display: block; margin-bottom: 4px; }
.doc-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin: 28px 0; }
.doc-card { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.doc-card h3 { margin: 0 0 8px; font-size: 19px; }
.doc-card p { margin: 0; font-size: 13px; }
.doc-table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; }
.doc-table th, .doc-table td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; font-size: 13px; }
.doc-table th { background: #eef1eb; }
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding-top: 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-card { max-width: 650px; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 10px; scrollbar-width: thin; }
  .docs-sidebar h5 { display: none; }
  .docs-sidebar a { flex: 0 0 auto; border: 1px solid var(--line); background: var(--white); }
  .mobile-nav { display: block; margin-bottom: 30px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .shell { width: min(100% - 24px, 1180px); }
  h1 { font-size: 48px; }
  .section { padding: 72px 0; }
  .feature-grid, .doc-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .cta { grid-template-columns: 1fr; padding: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .nav-actions .button { display: none; }
}
