:root {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color: var(--asset-theme-text);
  background: var(--asset-theme-canvas);
  --ink: var(--asset-theme-text);
  --muted: var(--asset-theme-text-muted);
  --green: var(--asset-theme-accent-ink);
  --line: var(--asset-theme-border);
  --gutter: clamp(1rem, 4.3vw, 4.3rem);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 5rem; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid #237c65; outline-offset: 4px; }
svg { display: block; width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.frame { width: calc(100% - 2 * var(--gutter)); max-width: 83rem; margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 2; background: var(--asset-theme-surface); border-bottom: 1px solid var(--line); }
.header-layout { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; width: calc(100% - 2 * var(--gutter)); max-width: 83rem; margin-inline: auto; }
.site-brand { display: inline-flex; align-items: center; gap: .62rem; font-weight: 750; line-height: 1.3; }
.brand-mark { display: grid; width: 2.22rem; height: 2.22rem; place-items: center; flex: none; border-radius: .64rem; background: var(--asset-theme-brand); color: #f2fffa; }
.header-layout nav { display: flex; gap: 2rem; margin-left: auto; margin-right: .95rem; color: var(--muted); font-size: .94rem; font-weight: 600; }
.header-layout nav a:hover, .return-link:hover, .site-footer a:hover { color: var(--green); text-decoration: underline; }
.site-button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .7rem 1.1rem; border: 1px solid var(--asset-theme-brand); border-radius: .46rem; background: var(--asset-theme-brand); color: #fff; font-weight: 700; white-space: nowrap; }
.site-button:hover { background: var(--asset-theme-brand-hover); }
.site-button:disabled { opacity: .65; cursor: wait; }
.site-button.compact { min-height: 2.35rem; padding: .4rem .9rem; font-size: .9rem; }
.site-button.secondary { border-color: #a8beb4; background: var(--asset-theme-surface); color: #204d40; }
.site-button.secondary:hover { background: #eaf4ee; }
.site-actions { display: flex; align-items: center; gap: .75rem; }
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(26rem, 39vw, 36rem); margin-top: clamp(1rem, 3vw, 2.5rem); overflow: hidden; border: 1px solid #055b53; border-radius: 1rem; background: #032d29; color: #f2fffa; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #021b19fa 0%, #032523e8 30%, #052b2794 54%, #05383315 100%); pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(100deg,#55bfa329 1px,transparent 1px) 0 0 / 4rem 4rem; mask-image: linear-gradient(90deg,#000,transparent 66%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding: clamp(1.6rem, 5vw, 5rem); }
.hero h1 { font-size: clamp(2.5rem, 5vw, 5.05rem); line-height: 1.09; letter-spacing: -.04em; font-weight: 780; }
.hero p { max-width: 26rem; margin-top: 1.25rem; color: #d4eae2; font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.55rem; }
.hero .site-button { background: #a1edda; color: #07372e; border-color: #a1edda; }
.hero .site-button:hover { background: #c5faec; }
.hero .site-button.secondary { background: #103c33b5; color: #f0fff9; border-color: #8ac6b6; }
.hero .site-button.secondary:hover { background: #225348; }
.login-media { min-height: 0; position: relative; background: #103c33; overflow: hidden; }
.login-media img { display: block; position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.section-intro { margin-bottom: 1rem; }
.section-intro h2, .workflow h2 { font-size: clamp(1.55rem, 2.5vw, 2.08rem); line-height: 1.25; }
.section-intro p, .workflow p { margin-top: .47rem; color: var(--muted); line-height: 1.65; }
.workflow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.15rem; padding: clamp(1.15rem, 3vw, 2rem); background: var(--asset-theme-surface-subtle); border: 1px solid var(--line); border-radius: .76rem; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; padding: 1rem 0 1.6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

.login-body { min-height: 100dvh; position: relative; isolation: isolate; display: flex; flex-direction: column; }
.login-landscape {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  color: var(--asset-theme-accent);
  background:
    radial-gradient(ellipse at 4% 38%, color-mix(in srgb, currentColor 17%, transparent), transparent 48%),
    radial-gradient(ellipse at 97% 75%, color-mix(in srgb, currentColor 13%, transparent), transparent 45%);
}
.login-landscape canvas { display: block; width: 100%; height: 100%; }
.login-signal {
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: .12rem;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, currentColor 82%, transparent);
  filter: drop-shadow(0 0 .26rem currentColor);
  opacity: 0;
  offset-anchor: right center;
  offset-distance: var(--signal-position, 12%);
}
.login-signal[style] { opacity: .9; }
.login-signal:nth-of-type(2) { --signal-position: 83%; --signal-delay: -17s; }
.login-signal:nth-of-type(3) { --signal-position: 93%; --signal-delay: -22s; }
@media (prefers-reduced-motion: no-preference) {
  .login-signal[style] { animation: login-field-scan 25s linear var(--signal-delay, -3s) infinite; }
}
@keyframes login-field-scan {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
.return-link { color: var(--green); font-weight: 650; font-size: .93rem; }
.login-main { flex: 1; display: grid; place-items: center; padding-block: 1.7rem; }
.login-card { overflow: hidden; display: grid; grid-template-columns: .95fr 1.05fr; width: min(100%, 60rem); min-height: 29rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--asset-theme-surface); box-shadow: 0 12px 38px #152e2d0d; }
.login-content { padding: clamp(1.6rem, 5vw, 3.45rem); display: flex; flex-direction: column; justify-content: center; }
.login-content h1 { font-size: clamp(1.8rem, 3.1vw, 2.45rem); }
.login-content > p { margin-top: .55rem; color: var(--muted); line-height: 1.6; }
.login-content form { display: grid; gap: .53rem; margin-top: 1.32rem; }
.login-content form label { font-weight: 650; font-size: .94rem; }
.login-content form input { width: 100%; min-height: 2.8rem; padding-inline: .62rem; border: 1px solid var(--asset-theme-border); border-radius: .43rem; background: var(--asset-theme-surface-subtle); color: var(--ink); }
.login-content form input + label { margin-top: .35rem; }
.login-content form button { margin-top: .65rem; cursor: pointer; }
.login-error { color: #a4292b; font-size: .9rem; line-height: 1.35; }
@media (max-width: 780px) {
  .hero { min-height: 22rem; }
  .hero-content { padding: 1.5rem; }
}
@media (max-width: 620px) {
  .header-layout nav { display: none; }
  .login-card { grid-template-columns: 1fr; }
  .hero { min-height: 26rem; }
  .hero::before { background: linear-gradient(90deg,#031f1ced 0%, #03252291 100%),linear-gradient(0deg,#01211f 0%,transparent 65%); }
  .hero p { margin-top: .8rem; }
  .hero-actions { margin-top: 1.05rem; }
  .login-card { min-height: 0; }
  .login-media { min-height: 10.25rem; }
}

.remember-option { display: flex; align-items: center; gap: .55rem; margin-top: .4rem; cursor: pointer; }
.login-content .remember-option input { width: 1.05rem; min-height: 0; height: 1.05rem; padding: 0; margin: 0; accent-color: var(--asset-theme-brand); }
.remember-note { margin-left: .55rem; color: var(--muted); font-size: .78rem; font-weight: 400; }
:root[data-theme="night"] .login-error { color: #ffa7a2; }
@media (max-width: 450px) {
  .header-layout { gap: .4rem; }
  .site-brand { font-size: .85rem; gap: .38rem; }
  .brand-mark { width: 1.9rem; height: 1.9rem; }
  .site-actions { gap: .36rem; }
  .site-actions > a { padding-inline: .45rem; font-size: .8rem; }
  .site-actions .site-button.compact { padding-inline: .54rem; }
  .site-actions .theme-picker button { padding-inline: .36rem; }
}

.home-section { margin-block: clamp(2.8rem, 6.1vw, 6rem); }
.home-section :is(h2, h3) { line-height: 1.25; text-wrap: balance; }
.home-section h2 { font-size: clamp(1.72rem, 2.85vw, 2.65rem); }
.home-section h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.home-section :is(p, dd, li) { color: var(--muted); line-height: 1.7; }
.home-section .section-intro { margin-bottom: 1.5rem; }
.overview-feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(1.4rem, 4vw, 4rem); align-items: center; }
.overview-copy > p, .asset-copy > p { margin-top: .7rem; }
.overview-topics { margin: 1.35rem 0; border-top: 1px solid var(--line); }
.overview-topics > div { display: grid; gap: .28rem; padding-block: .65rem; border-bottom: 1px solid var(--line); }
.overview-topics dt { font-weight: 700; }
.overview-topics dd { margin: 0; font-size: .94rem; }
.product-visual {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--asset-theme-surface-subtle);
}
.product-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1120 / 650; object-fit: cover; object-position: top; }
.product-visual img[data-screenshot-theme="night"],
:root[data-theme="night"] .product-visual img[data-screenshot-theme="day"] { display: none; }
:root[data-theme="night"] .product-visual img[data-screenshot-theme="night"] { display: block; }
.product-visual figcaption { padding: .55rem .8rem; color: var(--muted); font-size: .85rem; line-height: 1.4; border-top: 1px solid var(--line); }
.overview-visual { box-shadow: 0 12px 35px #0f372d12; }
.scenario-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 2.4vw, 2rem); }
.scenario-card { overflow: hidden; border: 1px solid var(--line); border-radius: .85rem; background: var(--asset-theme-surface); }
.scenario-card figure { border: none; border-radius: 0; }
.scenario-card .product-visual img { aspect-ratio: 1.9; }
.scenario-copy { padding: clamp(1.1rem, 2.2vw, 1.8rem); }
.scenario-copy p { margin-block: .5rem .9rem; }
.home-text-link { display: inline-flex; padding-block: .15rem; color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: .26em; }
.home-text-link:hover { color: var(--asset-theme-text); }
.asset-feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(1rem, 4vw, 4rem); align-items: center; padding-block: 1.4rem; border-top: 1px solid var(--line); }
.asset-feature.reverse { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
.asset-feature > figure { grid-column: 1; grid-row: 1; }
.asset-feature.reverse > figure { grid-column: 2; }
.asset-copy { grid-column: 2; grid-row: 1; }
.asset-feature.reverse .asset-copy { grid-column: 1; }
.asset-copy ul { padding-left: 1.25rem; margin-block: .6rem .9rem; }
.asset-copy li::marker { color: var(--asset-theme-accent); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .55rem 1.05rem; }
@media (max-width: 900px) {
  .header-layout nav { gap: 1rem; margin-right: 0; }
  .overview-feature { grid-template-columns: 1fr; }
}
@media (max-width: 730px) {
  .asset-feature, .asset-feature.reverse, .scenario-grid { grid-template-columns: 1fr; }
  .asset-feature > figure, .asset-feature.reverse > figure, .asset-feature .asset-copy { grid-column: 1; grid-row: auto; }
}
