:root {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: #15211e;
  background: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #15211e;
  --muted: #65736e;
  --line: #dbe3df;
  --soft: #f4f7f6;
  --green: #0f9479;
  --green-dark: #08735f;
  --green-soft: #dff3ed;
  --coral: #d9674c;
  --coral-soft: #fae8e3;
  --blue: #337ca6;
  --blue-soft: #e1eef5;
  --yellow: #f2c14e;
  --yellow-soft: #fff3ce;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--ink); background: #fff; }
body, button, input { letter-spacing: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(15, 148, 121, 0.28); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -60px; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 16px; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.icon { width: 20px; height: 20px; }

.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(219, 227, 223, 0.9); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(16px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; min-width: max-content; align-items: center; gap: 11px; font-size: 17px; font-weight: 800; }
.brand-mark { width: 38px; height: 38px; display: block; flex: 0 0 38px; border-radius: 8px; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 13px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 14px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--green); color: var(--green-dark); }
.nav-download { margin-left: 8px; border: 1px solid var(--green) !important; border-radius: 7px; color: var(--green-dark) !important; font-weight: 700; }
.menu-button { width: 42px; height: 42px; display: none; place-items: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.menu-button svg { width: 23px; height: 23px; }

.hero { position: relative; min-height: min(760px, calc(100svh - 118px)); overflow: hidden; border-bottom: 1px solid var(--line); background: #eef5f2; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: url("../assets/contract-sample.png"); background-repeat: no-repeat; background-position: right 10% center; background-size: min(46vw, 560px) auto; opacity: 0.18; }
.hero-inner { position: relative; z-index: 1; min-height: inherit; display: flex; align-items: center; padding-block: 72px 88px; }
.hero-copy { width: min(690px, 64%); }
.product-kicker { margin: 0 0 22px; color: var(--green-dark); font-size: 14px; font-weight: 800; }
.hero h1 { max-width: 660px; margin: 0; font-size: clamp(42px, 6.2vw, 78px); line-height: 1.05; font-weight: 850; }
.hero-lead { max-width: 620px; margin: 25px 0 0; color: #3d4e48; font-size: 20px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 750; }
.button svg { width: 18px; height: 18px; }
.button:hover { border-color: #aebdb7; background: var(--soft); }
.button.primary { border-color: var(--green); background: var(--green); color: #fff; }
.button.primary:hover { border-color: var(--green-dark); background: var(--green-dark); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 18px 28px; margin: 28px 0 0; padding: 0; color: var(--muted); font-size: 13px; list-style: none; }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts svg { width: 17px; height: 17px; color: var(--green-dark); }

.section { padding: 84px 0; }
.section.soft { background: var(--soft); }
.section.dark { color: #fff; background: var(--ink); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.eyebrow { margin: 0 0 10px; color: var(--green-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.dark .eyebrow { color: #77d1bd; }
.section h2, .page-hero h1 { margin: 0; font-size: clamp(30px, 4vw, 50px); line-height: 1.18; }
.section-heading p, .page-hero p { margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.dark .section-heading p { color: #b8c6c1; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-item { min-width: 0; padding: 26px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 7px; color: var(--green-dark); background: var(--green-soft); }
.feature-item:nth-child(2) .feature-icon { color: var(--blue); background: var(--blue-soft); }
.feature-item:nth-child(3) .feature-icon { color: var(--coral); background: var(--coral-soft); }
.feature-item:nth-child(4) .feature-icon { color: #78590e; background: var(--yellow-soft); }
.feature-icon svg { width: 22px; height: 22px; }
.feature-item h3 { margin: 0 0 10px; font-size: 18px; }
.feature-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.workflow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 0.75fr); gap: 60px; align-items: center; }
.workflow-steps { margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.workflow-steps li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); counter-increment: flow; }
.workflow-steps li::before { content: counter(flow, decimal-leading-zero); color: var(--green-dark); font-size: 13px; font-weight: 850; }
.workflow-steps strong { display: block; margin-bottom: 5px; }
.workflow-steps span { color: var(--muted); font-size: 14px; line-height: 1.65; }
.document-visual { position: relative; min-height: 520px; }
.document-sheet { position: absolute; width: min(76%, 360px); aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid #cfdad5; border-radius: 5px; background: #fff; box-shadow: 0 24px 46px rgba(24, 43, 36, 0.14); }
.document-sheet img { width: 100%; height: 100%; object-fit: cover; }
.document-sheet.back { right: 0; top: 0; transform: rotate(5deg); }
.document-sheet.front { left: 0; bottom: 0; transform: rotate(-3deg); }
.local-badge { position: absolute; z-index: 2; right: 0; bottom: 40px; width: 170px; padding: 16px; border: 1px solid #b9d9cf; border-radius: 7px; background: #fff; box-shadow: 0 14px 30px rgba(24, 43, 36, 0.11); }
.local-badge svg { width: 22px; height: 22px; color: var(--green-dark); }
.local-badge strong { display: block; margin: 8px 0 4px; font-size: 14px; }
.local-badge span { color: var(--muted); font-size: 11px; line-height: 1.5; }

.tool-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #3a4843; }
.tool-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px 18px; border-right: 1px solid #3a4843; border-bottom: 1px solid #3a4843; }
.tool-row:nth-child(2n) { border-right: 0; }
.tool-row svg { width: 21px; height: 21px; color: #77d1bd; }
.tool-row strong { display: block; margin-bottom: 5px; }
.tool-row span { color: #b8c6c1; font-size: 13px; line-height: 1.6; }

.privacy-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.privacy-stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.privacy-stat:last-child { border-right: 0; }
.privacy-stat strong { display: block; margin-bottom: 7px; font-size: 22px; }
.privacy-stat span { color: var(--muted); font-size: 13px; line-height: 1.6; }

.page-hero { padding: 84px 0 70px; border-bottom: 1px solid var(--line); background: #f1f6f4; }
.page-hero .container { max-width: 880px; margin-left: max(24px, calc((100vw - var(--max)) / 2)); }
.page-hero p { max-width: 740px; }
.page-hero .page-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 25px; color: var(--muted); font-size: 13px; }

.detail-sections { display: grid; gap: 0; }
.detail-band { padding: 66px 0; border-bottom: 1px solid var(--line); }
.detail-layout { display: grid; grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr); gap: 70px; }
.detail-layout h2 { margin: 0; font-size: 27px; line-height: 1.3; }
.detail-layout > div > p { margin: 12px 0 0; color: var(--muted); line-height: 1.7; }
.capability-list { margin: 0; padding: 0; list-style: none; }
.capability-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.capability-list li:last-child { border-bottom: 0; }
.capability-list svg { width: 18px; height: 18px; margin-top: 2px; color: var(--green-dark); }
.capability-list strong { display: block; margin-bottom: 5px; }
.capability-list span { color: var(--muted); font-size: 14px; line-height: 1.7; }
.limit-note { margin-top: 24px; padding: 16px 18px; border-left: 3px solid var(--coral); background: var(--coral-soft); color: #6f392d; font-size: 13px; line-height: 1.7; }

.data-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.flow-step { min-height: 178px; padding: 24px; background: #fff; }
.flow-step .flow-number { color: var(--green-dark); font-size: 12px; font-weight: 850; }
.flow-step h3 { margin: 28px 0 8px; font-size: 17px; }
.flow-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.permission-table { width: 100%; border-collapse: collapse; }
.permission-table th, .permission-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.permission-table th { color: var(--muted); font-size: 12px; }
.permission-table td { font-size: 14px; line-height: 1.7; }
.permission-table code { color: var(--green-dark); font-weight: 750; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 750; cursor: pointer; }
.faq-question svg { flex: 0 0 auto; width: 18px; height: 18px; transition: transform 160ms ease; }
.faq-answer { display: none; max-width: 800px; padding: 0 42px 20px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.faq-item[data-open="true"] .faq-answer { display: block; }
.faq-item[data-open="true"] .faq-question svg { transform: rotate(90deg); }

.release-panel { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.45fr); gap: 56px; align-items: start; }
.release-meta { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.release-meta li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.release-meta span { color: var(--muted); }
.release-status { padding: 24px; border: 1px solid #efd2ca; border-radius: 7px; background: var(--coral-soft); }
.release-status h3 { margin: 0 0 9px; font-size: 18px; }
.release-status p { margin: 0; color: #714237; font-size: 13px; line-height: 1.7; }
.release-status .button { width: 100%; margin-top: 18px; opacity: 0.58; cursor: not-allowed; }

.site-footer { padding: 42px 0 28px; border-top: 1px solid var(--line); background: #fff; }
.legal-page { background: var(--soft); }
.legal-header { padding: 54px 0 30px; background: #fff; border-bottom: 1px solid var(--line); }
.legal-header h1 { margin: 8px 0; font-size: 44px; line-height: 1.18; letter-spacing: 0; }
.legal-header p:last-child { margin: 0; color: var(--muted); }
.legal-container { max-width: 820px; }
.legal-body { margin-top: 28px; margin-bottom: 54px; padding: 34px 42px 50px; background: #fff; border: 1px solid var(--line); border-radius: 7px; line-height: 1.82; }
.legal-body h2 { margin: 34px 0 10px; font-size: 21px; letter-spacing: 0; }
.legal-body p, .legal-body li { color: var(--ink); font-size: 15px; }
.legal-body ul { padding-left: 22px; }
.legal-body a { color: var(--green-dark); }
.legal-notice { margin: 0 0 26px; padding: 15px 17px; border-left: 4px solid var(--green); background: var(--green-soft); }
.legal-contact { padding: 16px 18px; background: var(--soft); border-radius: 6px; }
.legal-contact p { margin: 4px 0; }
@media (max-width: 640px) { .legal-header { padding: 38px 0 24px; } .legal-header h1 { font-size: 30px; } .legal-body { margin-top: 0; margin-bottom: 0; padding: 28px 20px 44px; border-width: 0; border-radius: 0; } }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 42px; }
.footer-brand p { max-width: 430px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--green-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: #82908b; font-size: 11px; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow { grid-template-columns: 1fr; }
  .document-visual { width: min(100%, 560px); justify-self: center; }
  .detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .data-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--max)); }
  .header-inner { min-height: 64px; }
  .menu-button { display: grid; }
  .site-nav { position: absolute; top: 64px; right: 0; left: 0; display: none; align-items: stretch; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); background: #fff; }
  .site-nav[data-open="true"] { display: grid; }
  .site-nav a { min-height: 46px; padding-inline: 8px; border-bottom: 1px solid var(--line); }
  .nav-download { margin: 10px 0 0; justify-content: center; border-bottom: 1px solid var(--green) !important; }
  .hero { min-height: min(720px, calc(100svh - 92px)); }
  .hero::before { background-position: center bottom -40px; background-size: 86vw auto; opacity: 0.11; }
  .hero-inner { align-items: flex-start; padding-block: 62px 120px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(39px, 13vw, 58px); }
  .hero-lead { font-size: 17px; line-height: 1.7; }
  .section { padding: 64px 0; }
  .section-heading { margin-bottom: 32px; }
  .feature-grid, .tool-list, .privacy-strip, .data-flow { grid-template-columns: 1fr; }
  .tool-row, .privacy-stat { border-right: 0; }
  .document-visual { min-height: 450px; }
  .page-hero { padding: 62px 0 52px; }
  .page-hero .container { margin-inline: auto; }
  .detail-band { padding: 52px 0; }
  .permission-table thead { display: none; }
  .permission-table, .permission-table tbody, .permission-table tr, .permission-table td { display: block; width: 100%; }
  .permission-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .permission-table td { padding: 4px 0; border: 0; }
  .release-panel { grid-template-columns: 1fr; gap: 32px; }
  .footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .brand { font-size: 15px; }
  .brand-mark { width: 35px; height: 35px; flex-basis: 35px; }
  .hero-actions .button { width: 100%; }
  .feature-grid { border-left: 0; }
  .feature-item { border-left: 1px solid var(--line); }
  .document-visual { min-height: 390px; }
  .local-badge { width: 150px; bottom: 18px; }
  .release-meta li { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
