:root {
  --ink: #182420;
  --muted: #53645b;
  --green: #254e39;
  --deep: #14261f;
  --light: #e4f0d5;
  --line: #dce5dc;
  --paper: #f7f8f3;
  --white: #fff;
  --shell: 1220px;
  color-scheme: light;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; }
svg { display: inline-block; width: 1.1em; height: 1.1em; stroke-width: 1.75; flex: 0 0 auto; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid #488459; outline-offset: 4px; }
[id] { scroll-margin-top: 96px; }
.content-shell { width: min(var(--shell), calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 14px; z-index: 20; padding: 10px 15px; color: var(--white); background: var(--green); }
.skip-link:focus { top: 10px; }

.site-header { z-index: 5; position: sticky; top: 0; background: rgba(247, 248, 243, .96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 17px; }
.brand-mark { display: block; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; background: var(--green); }
.site-header nav { display: flex; gap: 33px; color: var(--muted); font-size: 14px; }
.site-header nav a { padding-block: 10px; }
.site-header nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.action { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 18px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 700; line-height: 1.5; text-align: center; }
.header-action { min-height: 40px; justify-self: end; color: var(--green); border-color: #c6d7c7; }
.header-action:hover { background: #e8eee4; }
.primary { color: #1d3628; background: var(--light); }
.primary:hover { background: #d5e8c2; }
.ghost { color: #edf4eb; border-color: #697b6f; }
.ghost:hover { background: #304438; }

.hero {
  padding: clamp(62px, 7vw, 104px) 0 clamp(47px, 6vw, 78px);
  color: #f5f8ee;
  background: radial-gradient(ellipse at right top, #304539 0, transparent 62%), var(--deep);
  border-bottom: 1px solid #34493c;
}
.hero-layout { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); align-items: center; gap: clamp(34px, 6vw, 86px); }
.eyebrow { margin-bottom: 16px; color: #cadfba; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.hero h1 { font-size: clamp(42px, 5.25vw, 76px); font-weight: 800; line-height: 1.14; letter-spacing: -.06em; }
.hero h1 span { color: #d0e7ae; }
.hero-copy > p:not(.eyebrow) { max-width: 465px; margin-top: 24px; color: #d0ddd1; font-size: clamp(15px, 1.33vw, 18px); line-height: 1.9; }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 29px; }
.hero-media { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.reel { margin: 0; overflow: hidden; border: 1px solid #596b5e; border-radius: 15px; background: #1b2d24; }
.reel video { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; background: #101e18; }
.reel figcaption { min-height: 73px; display: grid; align-content: center; gap: 6px; padding: 9px 13px; }
.reel figcaption strong { font-size: 14px; }
.reel figcaption span { color: #b9ccbe; font-size: 12px; }
.reel-caption { grid-column: 1 / -1; color: #bdcec0; font-size: 12px; line-height: 1.55; }

.section { padding: clamp(55px, 7vw, 94px) 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px 36px; margin-bottom: 30px; }
.section h2, .experience h2 { color: var(--ink); font-size: clamp(25px, 3vw, 41px); letter-spacing: -.045em; line-height: 1.22; }
.section-heading > p { max-width: 430px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.workflow-grid, .feature-grid, .scenario-grid { display: grid; gap: 14px; }
.workflow-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; }
.workflow-grid li, .feature { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.workflow-grid li > svg, .feature > svg { width: 30px; height: 30px; color: var(--green); }
.workflow-grid h3, .feature h3, .scenario h3 { margin-top: 17px; font-size: 17px; line-height: 1.45; }
.workflow-grid p, .feature p, .scenario p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.feature-section { background: #eff3e9; border-block: 1px solid var(--line); }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { min-height: 170px; }
.feature > a { width: fit-content; display: flex; align-items: center; gap: 5px; margin-top: 15px; color: var(--green); font-size: 13px; font-weight: 700; }
.feature > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scenario { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.scenario img { width: 100%; height: clamp(170px, 26vw, 325px); object-fit: cover; object-position: center 48%; }
.scenario > div { padding: 20px 24px 24px; }
.scenario h3 { margin-top: 0; }
.experience { padding: 46px 0; color: #f4f8ee; background: var(--green); }
.experience-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.experience h2 { color: inherit; font-size: clamp(25px, 2.8vw, 36px); }
.experience p { margin-top: 10px; color: #e0eade; line-height: 1.75; }
.experience .action { flex: 0 0 auto; }
.site-footer { color: var(--muted); }
.footer-inner { min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.footer-inner .brand { color: var(--ink); }
.footer-inner p { font-size: 13px; line-height: 1.6; }

.login-page { min-height: 100vh; display: flex; flex-direction: column; }
.login-page .header-inner { display: flex; justify-content: space-between; }
.login-layout { flex: 1; min-height: min(700px, calc(100vh - 75px)); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: stretch; }
.login-art { display: grid; align-content: center; padding: clamp(30px, 7vw, 118px); color: #eef4e9; background: radial-gradient(ellipse at top right, #375043 0, transparent 65%), var(--deep); }
.login-art h2 { font-size: clamp(30px, 3.6vw, 53px); letter-spacing: -.04em; line-height: 1.25; }
.login-art > p { margin-top: 12px; max-width: 420px; color: #d2dfd1; line-height: 1.8; }
.login-media { width: min(100%, 430px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 24px; }
.login-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; border: 1px solid #687e70; border-radius: 12px; object-fit: cover; object-position: center top; }
.login-panel { width: min(100% - 64px, 400px); margin: auto; padding: 54px 0; }
.login-panel h1 { margin-bottom: 9px; font-size: clamp(29px, 3.5vw, 42px); line-height: 1.3; letter-spacing: -.045em; }
.login-panel > p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.login-form { display: grid; gap: 18px; margin-top: 26px; }
.login-form label { display: grid; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 700; }
.login-form input { width: 100%; min-height: 47px; padding: 10px 13px; border: 1px solid #bfcec3; border-radius: 8px; color: var(--ink); background: var(--white); }
.login-form input:focus-visible { outline-offset: 1px; }
.login-form .action { width: 100%; cursor: pointer; color: var(--white); background: var(--green); }
.login-form .action:hover { background: #1c422f; }
.login-form .action:disabled { cursor: wait; opacity: .75; }
.login-form .form-error { color: #a12a30; font-size: 14px; line-height: 1.5; }
.login-panel .login-footnote { margin-top: 19px; font-size: 13px; }

@media (max-width: 1040px) {
  .content-shell { width: calc(100% - 52px); }
  .header-inner { gap: 20px; }
  .site-header nav { gap: 18px; }
  .hero-layout { gap: 34px; }
}

@media (max-width: 760px) {
  .content-shell { width: calc(100% - 36px); }
  [id] { scroll-margin-top: 74px; }
  .header-inner { min-height: 64px; display: flex; justify-content: space-between; }
  .site-header nav { display: none; }
  .brand { font-size: 15px; }
  .brand-mark { flex-basis: 33px; width: 33px; height: 33px; }
  .header-action { min-height: 36px; padding: 6px 10px; }
  .hero-layout, .login-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 47px; }
  .hero h1 { font-size: clamp(37px, 9vw, 58px); }
  .hero-media { max-width: 540px; }
  .reel figcaption { min-height: 62px; padding: 8px 9px; }
  .section-heading, .experience-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
  .workflow-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-grid li, .feature, .scenario > div { padding: 16px; }
  .footer-inner { padding-block: 18px; }
  .login-art { display: none; }
  .login-panel { padding-block: 42px; }
}

@media (max-width: 415px) {
  .hero-media, .workflow-grid, .feature-grid, .scenario-grid { gap: 9px; }
  .reel figcaption strong { font-size: 12px; }
  .reel figcaption span { font-size: 11px; }
  .workflow-grid h3, .scenario h3, .feature h3 { font-size: 16px; }
  .scenario img { height: 150px; }
  .feature-grid, .scenario-grid { grid-template-columns: minmax(0, 1fr); }
  .feature { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
