:root {
  color-scheme: light dark;
  --ink: #111513;
  --text: #202725;
  --muted: #66706b;
  --quiet: #8c9791;
  --paper: #f8f8f4;
  --surface: #ffffff;
  --surface-soft: #efeee9;
  --accent: #0f6b52;
  --accent-soft: #dceee7;
  --line: rgba(17, 21, 19, 0.12);
  --shadow: 0 30px 90px rgba(17, 21, 19, 0.1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(15, 107, 82, 0.08), transparent 28rem),
    linear-gradient(180deg, var(--paper), #f1f0ea);
  color: var(--text);
  font-family: "Avenir Next", "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(17, 21, 19, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 21, 19, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000, transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(var(--max), calc(100% - 40px));
  height: 72px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(17, 21, 19, 0.1);
  border-radius: 14px;
  background: rgba(248, 248, 244, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 54px rgba(17, 21, 19, 0.08);
}

.brand,
.nav-links,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 900;
}

.nav-links {
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 180ms cubic-bezier(0.16, 1, 0.3, 1), color 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
  background: rgba(15, 107, 82, 0.08);
  color: var(--accent);
}

.button,
.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 760;
  white-space: nowrap;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), background 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.header-cta,
.primary-button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.primary-button:hover,
.header-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.secondary-button:hover {
  border-color: rgba(15, 107, 82, 0.32);
  background: var(--accent-soft);
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100dvh - 98px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 44px;
  align-items: center;
  padding: 86px 0 72px;
}

.hero-copy {
  max-width: 610px;
}

.small-label {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(48px, 6.2vw, 80px);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  width: min(570px, 100%);
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  margin: 0;
  min-height: 470px;
  border: 1px solid rgba(17, 21, 19, 0.1);
  border-radius: 18px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  pointer-events: none;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(248, 248, 244, 0.82), transparent 40%),
    linear-gradient(180deg, transparent 60%, rgba(248, 248, 244, 0.5));
}

.hero-visual picture,
.hero-visual img {
  width: 100%;
  height: 100%;
}

.hero-visual img {
  min-height: 454px;
  object-fit: cover;
  border-radius: 12px;
}

.definition-section,
.system-section,
.workflow-section,
.platform-section,
.commercial-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0;
}

.definition-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 54px;
  align-items: end;
  border-top: 1px solid var(--line);
}

.definition-mark {
  color: var(--ink);
  font-size: clamp(84px, 15vw, 190px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: 0;
}

.definition-copy {
  max-width: 720px;
  padding-bottom: 10px;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.definition-copy p,
.section-intro p,
.system-list p,
.workflow-list p,
.platform-table span,
.commercial-section p {
  color: var(--muted);
}

.definition-copy p,
.section-intro p,
.commercial-section p {
  max-width: 700px;
  font-size: 18px;
}

.section-intro {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-intro.narrow {
  max-width: 620px;
}

.system-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.system-list article {
  display: grid;
  grid-template-columns: 180px minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 30px;
  background: rgba(255, 255, 255, 0.66);
}

.system-list span,
.workflow-list span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 780;
}

h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

.system-list p {
  margin-bottom: 0;
}

.workflow-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 170px minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-height: 126px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--line);
}

.workflow-list li:last-child {
  border-bottom: 0;
}

.workflow-list strong {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.32;
  font-weight: 760;
}

.workflow-list p {
  margin-bottom: 0;
}

.platform-section {
  padding-bottom: 88px;
}

.platform-table {
  border-top: 1px solid var(--line);
}

.platform-table div {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.platform-table strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.commercial-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 72px;
  padding: 38px;
  border: 1px solid rgba(17, 21, 19, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(15, 107, 82, 0.12), transparent 24rem),
    var(--surface);
  box-shadow: 0 18px 60px rgba(17, 21, 19, 0.08);
}

.commercial-section h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.6vw, 46px);
}

.commercial-section p {
  margin-bottom: 0;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  justify-content: space-between;
  gap: 18px;
  min-height: 84px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.updates-page {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 96px;
}

.article-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 96px;
}

.updates-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: end;
  padding: 44px 0 40px;
  border-bottom: 1px solid var(--line);
}

.updates-hero h1,
.article-head h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.updates-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

.updates-note {
  display: grid;
  gap: 10px;
  min-height: 150px;
  align-content: end;
  border-left: 1px solid var(--line);
  padding: 0 0 5px 24px;
}

.updates-note span,
.article-rail-card span {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.updates-note a,
.article-rail-card a,
.updates-read-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(15, 107, 82, 0.28);
  text-underline-offset: 5px;
}

.updates-featured {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 36px;
  margin: 34px 0 12px;
  padding: 34px;
  border: 1px solid rgba(17, 21, 19, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.52)),
    var(--surface);
  box-shadow: 0 18px 70px rgba(17, 21, 19, 0.07);
}

.updates-featured-meta {
  display: grid;
  gap: 8px;
  align-content: start;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.updates-featured h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.08;
}

.updates-featured p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.updates-featured .article-tags {
  margin: 24px 0 18px;
}

.updates-list {
  display: grid;
  gap: 0;
}

.update-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.update-card time,
.article-shell time,
.article-back {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.update-card h2 {
  max-width: 760px;
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
}

.update-card p,
.article-summary {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.updates-empty {
  padding: 34px 0;
  color: var(--muted);
}

.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.article-rail {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 18px;
  padding-top: 14px;
}

.article-back {
  display: inline-flex;
}

.article-rail-card {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.article-head {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.article-summary {
  max-width: 780px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.62;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}

.article-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.42);
}

.article-body {
  max-width: 780px;
  padding-top: 38px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.82;
}

.article-body p {
  margin-bottom: 26px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual,
  .definition-section,
  .system-list,
  .workflow-list,
  .platform-table,
  .commercial-section {
    animation: rise-in 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-visual {
    animation-delay: 100ms;
  }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f7f4;
    --text: #e2e6e2;
    --muted: #a2aaa5;
    --quiet: #79847e;
    --paper: #101412;
    --surface: #171d1a;
    --surface-soft: #1c2420;
    --accent: #80d6b8;
    --accent-soft: rgba(128, 214, 184, 0.14);
    --line: rgba(245, 247, 244, 0.13);
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  }

  body {
    background:
      radial-gradient(circle at 12% 8%, rgba(128, 214, 184, 0.11), transparent 28rem),
      linear-gradient(180deg, var(--paper), #0b0f0d);
  }

  .site-header,
  .hero-visual,
  .system-list article,
  .commercial-section,
  .updates-featured {
    background: rgba(23, 29, 26, 0.72);
  }

  .article-tags span {
    background: rgba(255, 255, 255, 0.04);
  }

  .secondary-button {
    background: rgba(255, 255, 255, 0.04);
    color: var(--ink);
  }

  .hero-visual::before {
    background:
      linear-gradient(90deg, rgba(16, 20, 18, 0.62), transparent 42%),
      linear-gradient(180deg, transparent 60%, rgba(16, 20, 18, 0.38));
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .definition-section,
  .system-list article,
  .workflow-list li,
  .platform-table div,
  .updates-board,
  .updates-featured,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 34px;
    padding-top: 64px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual img {
    min-height: 344px;
  }

  .definition-section,
  .system-section,
  .workflow-section,
  .platform-section,
  .commercial-section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .commercial-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .updates-note {
    min-height: auto;
    align-content: start;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 0 0;
  }

  .article-rail {
    position: static;
    grid-template-columns: repeat(3, max-content);
    gap: 14px;
    align-items: center;
    padding-top: 0;
  }

  .article-rail-card {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 24px);
    height: 64px;
    margin-top: 12px;
    padding-left: 12px;
  }

  .brand {
    gap: 9px;
    font-size: 14px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero,
  .definition-section,
  .system-section,
  .workflow-section,
  .platform-section,
  .commercial-section,
  .site-footer {
    width: calc(100% - 28px);
  }

  .updates-page,
  .article-page {
    width: calc(100% - 28px);
    padding-top: 62px;
    padding-bottom: 68px;
  }

  .updates-board {
    gap: 26px;
    padding-top: 28px;
  }

  .updates-featured {
    gap: 20px;
    padding: 24px;
    border-radius: 14px;
  }

  .update-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0;
  }

  .article-layout {
    gap: 30px;
  }

  .article-rail {
    grid-template-columns: 1fr;
  }

  .article-body {
    padding-top: 30px;
    font-size: 18px;
  }

  .hero {
    padding: 54px 0 56px;
  }

  h1 {
    font-size: 46px;
    line-height: 1.05;
  }

  .lead,
  .definition-copy p,
  .section-intro p,
  .commercial-section p {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 260px;
    border-radius: 14px;
    padding: 6px;
  }

  .hero-visual img {
    min-height: 248px;
    border-radius: 10px;
  }

  .definition-section,
  .system-section,
  .workflow-section,
  .platform-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .definition-mark {
    font-size: 78px;
  }

  h2 {
    font-size: 32px;
  }

  .system-list article,
  .workflow-list li {
    gap: 12px;
    padding: 22px 18px;
  }

  .workflow-list strong,
  .platform-table strong {
    font-size: 20px;
  }

  .platform-table div {
    min-height: auto;
    padding: 20px 0;
    gap: 8px;
  }

  .commercial-section {
    margin-bottom: 48px;
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 128px;
  }
}
