:root {
  color-scheme: light;
  --ink: #10261a;
  --ink-soft: #45584a;
  --forest: #153123;
  --forest-2: #0d2418;
  --ivory: #f7f6ef;
  --paper: #fffef9;
  --line: #dfe5da;
  --lime: #c9e9a5;
  --lime-strong: #b7df83;
  --sage: #7f9a83;
  --white: #ffffff;
  --gold: #d9b771;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ivory);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
  padding: 0 max(28px, calc((100vw - 1320px) / 2));
  background: rgba(247, 246, 239, .96);
  border-bottom: 1px solid rgba(21, 49, 35, .08);
  backdrop-filter: blur(14px);
}

.logo { display: inline-flex; align-items: center; gap: 11px; min-width: 190px; }
.logo-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--lime); }
.logo-mark img { width: 24px; filter: invert(15%) sepia(13%) saturate(1392%) hue-rotate(95deg) brightness(83%); }
.logo strong { display: block; font-size: 18px; letter-spacing: -.03em; }
.logo small { display: block; margin-top: 2px; color: #748176; font-size: 9px; letter-spacing: .04em; }

.site-nav { justify-self: center; display: flex; align-items: center; gap: 34px; }
.site-nav a { position: relative; color: #34463a; font-size: 13px; font-weight: 700; }
.site-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -12px; height: 2px; background: var(--forest); transition: .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { left: 0; right: 0; }
.header-actions { display: flex; gap: 10px; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle img { width: 24px; }

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button img { width: 17px; height: 17px; }
.button-primary { background: var(--forest); color: var(--white); box-shadow: 0 8px 26px rgba(18, 52, 32, .18); }
.button-primary:hover { background: #214a32; }
.button-primary img, .button-on-dark img { filter: invert(1); }
.button-ghost { color: var(--ink); border-color: #9ba99f; background: rgba(255,255,255,.45); }
.button-outline { background: transparent; border-color: #697d6e; color: var(--ink); }
.button-large { min-height: 54px; padding: 0 28px; border-radius: 11px; font-size: 15px; }
.button-lime { background: var(--lime); color: var(--forest-2); }
.button-on-dark { color: var(--white); border-color: rgba(255,255,255,.7); background: transparent; }
.full { width: 100%; }

.hero {
  min-height: 675px;
  display: grid;
  grid-template-columns: minmax(560px, 1.04fr) minmax(540px, .96fr);
  align-items: center;
  gap: 46px;
  padding: 74px max(28px, calc((100vw - 1320px) / 2)) 56px;
  overflow: hidden;
}
.kicker, .eyebrow { margin: 0 0 18px; color: #51705a; font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 0; font-family: "Microsoft YaHei UI", "PingFang SC", sans-serif; font-size: clamp(42px, 3.2vw, 52px); line-height: 1.2; letter-spacing: -.055em; }
.hero h1 span, .hero h1 em { display: block; white-space: nowrap; }
.hero h1 em { color: #2b6541; font-style: normal; }
.hero-lead { max-width: 650px; margin: 26px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.benefit-strip { display: grid; grid-template-columns: repeat(5, 1fr); margin: 48px 0 0; padding: 0; list-style: none; }
.benefit-strip li { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 0 11px; border-right: 1px solid #cfd8cd; }
.benefit-strip li:first-child { padding-left: 0; }
.benefit-strip li:last-child { border-right: 0; }
.benefit-strip img { width: 23px; height: 23px; opacity: .88; }
.benefit-strip span { color: #56675a; font-size: 10px; line-height: 1.45; }
.benefit-strip b { color: var(--ink); font-size: 11px; }
.hero-visual { position: relative; align-self: stretch; min-height: 540px; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; border-radius: 24px 0 0 24px; box-shadow: 0 28px 80px rgba(24, 47, 32, .18); }
.hero-proof { position: absolute; left: 26px; bottom: 22px; display: flex; align-items: center; gap: 9px; padding: 12px 15px; border-radius: 10px; background: rgba(255,255,255,.92); color: #35543f; font-size: 11px; font-weight: 700; box-shadow: 0 8px 28px rgba(16,38,26,.14); }
.hero-proof img { width: 18px; }

.section-head h2 { margin: 0; font-size: clamp(30px, 3.1vw, 48px); line-height: 1.24; letter-spacing: -.045em; }
.section-head > p:not(.eyebrow) { margin: 16px 0 0; color: #647368; font-size: 14px; line-height: 1.8; }
.section-head.centered { max-width: 820px; margin: 0 auto 44px; text-align: center; }
.section-head.inverse .eyebrow, .section-head.inverse > p { color: #a9bcae; }
.section-head.inverse h2 { color: var(--white); }

.ai-team { padding: 70px max(28px, calc((100vw - 1320px) / 2)) 78px; background: var(--forest-2); }
.ai-team .section-head { max-width: 940px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.team-grid article { position: relative; min-height: 260px; padding: 38px 40px; border-right: 1px solid rgba(255,255,255,.18); }
.team-grid article:last-child { border-right: 0; }
.team-icon { width: 42px; height: 42px; filter: invert(92%) sepia(30%) saturate(570%) hue-rotate(32deg); }
.team-grid h3 { margin: 24px 0 10px; color: var(--white); font-size: 25px; }
.team-grid p { margin: 0; color: #c1ccc4; font-size: 14px; line-height: 1.78; }
.team-grid span { display: block; margin-top: 22px; color: var(--lime); font-size: 11px; font-weight: 800; }

.advantages { padding: 88px max(28px, calc((100vw - 1180px) / 2)); background: var(--paper); }
.transformation-list { display: grid; grid-template-columns: minmax(0, .92fr) 56px minmax(0, 1.08fr); gap: 10px 16px; align-items: stretch; }
.pain, .result { display: flex; align-items: center; gap: 18px; min-height: 82px; padding: 17px 21px; border-radius: 11px; }
.pain { background: #f4f2eb; }
.result { background: #e8f1db; }
.pain > img, .result > img { width: 28px; height: 28px; flex: none; }
.result > img { filter: invert(29%) sepia(24%) saturate(1200%) hue-rotate(86deg); }
.pain b, .result b { display: block; font-size: 15px; }
.pain small, .result small { display: block; margin-top: 5px; color: #6e786f; font-size: 11px; line-height: 1.5; }
.transform-arrow { align-self: center; justify-self: center; width: 23px; opacity: .65; }

.solutions { padding: 88px max(28px, calc((100vw - 1320px) / 2)) 96px; }
.section-head-row { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 40px; }
.section-head-row > p { max-width: 360px; text-align: right; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.solution-grid article { display: grid; grid-template-columns: 38% 1fr; min-height: 310px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 12px 40px rgba(29, 55, 37, .06); }
.solution-grid article > img { width: 100%; height: 100%; object-fit: cover; }
.solution-grid article > div { padding: 26px 24px; }
.solution-grid article span { color: #9dbd76; font-weight: 900; font-size: 13px; }
.solution-grid h3 { margin: 12px 0 4px; font-size: 22px; }
.solution-grid p { margin: 0; color: #4c5e50; font-size: 13px; }
.solution-grid ul { margin: 22px 0 0; padding: 0; list-style: none; }
.solution-grid li { position: relative; padding-left: 20px; margin-top: 12px; color: #667268; font-size: 11px; line-height: 1.55; }
.solution-grid li::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-strong); }

.pricing { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 72px max(28px, calc((100vw - 1320px) / 2)); background: var(--forest); color: var(--white); }
.pricing .eyebrow { color: var(--lime); }
.pricing h2 { max-width: 820px; margin: 0; font-size: clamp(31px, 3vw, 48px); letter-spacing: -.045em; }
.pricing p:not(.eyebrow) { margin: 15px 0 0; color: #bac8bf; }
.pricing-actions { display: flex; gap: 12px; }

footer { min-height: 125px; display: flex; align-items: center; gap: 35px; padding: 26px max(28px, calc((100vw - 1320px) / 2)); background: #0a1b12; color: #a6b4a9; font-size: 11px; }
.footer-logo { color: var(--white); }
footer > p { flex: 1; }
footer > a:last-child { color: var(--lime); }

.auth-dialog { width: min(480px, calc(100vw - 28px)); border: 1px solid #dce6d9; border-radius: 20px; padding: 36px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 90px rgba(7, 28, 16, .35); }
.auth-dialog::backdrop { background: rgba(6, 22, 13, .7); backdrop-filter: blur(6px); }
.auth-dialog h2 { margin: 0; font-size: 29px; letter-spacing: -.035em; }
.auth-dialog > p:not(.eyebrow):not(.dialog-foot) { color: #637166; line-height: 1.65; }
.dialog-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #eef1ea; cursor: pointer; }
.dialog-close img { width: 18px; }
.dialog-icon { width: 36px; margin-bottom: 20px; }
.auth-dialog form { display: grid; gap: 15px; margin-top: 24px; }
.auth-dialog label { display: grid; gap: 7px; color: #4c5b50; font-size: 12px; font-weight: 700; }
.auth-dialog input, .auth-dialog select { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #d5ded2; border-radius: 9px; outline: 0; background: #fbfcf8; color: var(--ink); }
.auth-dialog input:focus, .auth-dialog select:focus { border-color: #75a17e; box-shadow: 0 0 0 3px #dfeedd; }
.code-field { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.text-action { border: 1px solid #cad8c8; border-radius: 9px; background: #edf3e8; color: #376344; padding: 0 13px; font-size: 11px; font-weight: 800; cursor: pointer; }
.dialog-foot { margin-bottom: 0; text-align: center; color: #909a92; font-size: 10px; }
.form-error { margin: 0; padding: 10px 12px; border-radius: 8px; color: #8e342b; background: #f8e8e4; font-size: 11px; }
.form-success { padding-top: 25px; text-align: center; }
.form-success > img { width: 46px; margin: 0 auto; filter: invert(29%) sepia(24%) saturate(1200%) hue-rotate(86deg); }
.form-success h3 { margin: 16px 0 6px; }
.form-success p { margin: 0 0 22px; color: #68766b; font-size: 13px; }
.toast { position: fixed; z-index: 80; right: 24px; bottom: 24px; max-width: 360px; padding: 0; border-radius: 11px; color: white; background: var(--forest); box-shadow: 0 15px 45px rgba(9, 31, 17, .25); font-size: 12px; transition: .2s; }
.toast.show { padding: 14px 18px; }

:focus-visible { outline: 3px solid #89bd68; outline-offset: 3px; }

@media (max-width: 1120px) {
  .site-nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; padding-top: 58px; }
  .hero-copy { max-width: 820px; }
  .hero-visual { min-height: 520px; }
  .team-grid article { padding: 32px 24px; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-grid article { min-height: 260px; grid-template-columns: 260px 1fr; }
  .pricing { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .site-header { height: 68px; grid-template-columns: 1fr auto; padding: 0 18px; }
  .nav-toggle { display: block; grid-column: 2; grid-row: 1; }
  .header-actions { display: none; }
  .site-nav { display: none; position: absolute; top: 68px; left: 12px; right: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); box-shadow: 0 15px 45px rgba(16,38,26,.16); }
  .site-nav.open { display: grid; gap: 0; }
  .site-nav a { padding: 13px 8px; border-bottom: 1px solid #e8ece5; }
  .site-nav a:last-child { border-bottom: 0; }
  .hero { min-height: auto; gap: 34px; padding: 45px 18px 38px; }
  .hero h1 { font-size: clamp(38px, 11vw, 53px); }
  .hero h1 span, .hero h1 em { white-space: normal; }
  .hero-lead { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .benefit-strip { grid-template-columns: repeat(2, 1fr); gap: 16px 0; margin-top: 36px; }
  .benefit-strip li { border-right: 0; padding-left: 0; }
  .hero-visual { min-height: 360px; }
  .hero-visual > img { border-radius: 18px; object-position: 62% center; }
  .hero-proof { left: 12px; right: 12px; bottom: 12px; }
  .ai-team, .advantages, .solutions { padding: 64px 18px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .team-grid article:last-child { border-bottom: 0; }
  .transformation-list { grid-template-columns: 1fr; }
  .transform-arrow { transform: rotate(90deg); margin: 4px 0; }
  .section-head-row { display: block; }
  .section-head-row > p { text-align: left; }
  .solution-grid article { grid-template-columns: 120px 1fr; }
  .pricing { padding: 58px 18px; }
  .pricing-actions { flex-direction: column; }
  footer { align-items: flex-start; flex-direction: column; gap: 14px; padding: 35px 18px; }
  .auth-dialog { padding: 30px 22px 24px; }
}

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