:root {
  color-scheme: light;
  --page: #f4f7f6;
  --surface: #ffffff;
  --surface-soft: #e9f0ee;
  --surface-strong: #dce8e5;
  --ink: #102729;
  --ink-soft: #516769;
  --ink-faint: #718385;
  --line: #cedbd8;
  --primary: #008792;
  --primary-deep: #07545a;
  --primary-dark: #083f43;
  --primary-ink: #063438;
  --primary-soft: #d8eeee;
  --worker: #c02c38;
  --worker-deep: #7f2029;
  --worker-soft: #f6dfe1;
  --white: #fdfefe;
  --shadow: 0 28px 80px rgba(7, 63, 67, 0.12);
  --shadow-soft: 0 16px 40px rgba(7, 63, 67, 0.08);
  --radius: 16px;
  --radius-large: 28px;
  --header-height: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d1718;
  --surface: #142123;
  --surface-soft: #192a2c;
  --surface-strong: #23383a;
  --ink: #edf5f4;
  --ink-soft: #a8bbba;
  --ink-faint: #869b9b;
  --line: #2c4143;
  --primary: #29a6ad;
  --primary-deep: #167c83;
  --primary-dark: #0b4b50;
  --primary-ink: #d9f7f7;
  --primary-soft: #173537;
  --worker: #d95a64;
  --worker-deep: #b83a44;
  --worker-soft: #3b2529;
  --white: #f7fbfa;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

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

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

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.shell,
.section-shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-heading h2,
.security-intro h2,
.faq-heading h2,
.platform-layout h2,
.closing-inner h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.section-heading p,
.security-intro > p,
.faq-heading p,
.platform-layout p,
.closing-inner p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(244, 247, 246, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease;
}

html[data-theme="dark"] .site-header {
  background: rgba(13, 23, 24, 0.9);
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(8, 63, 67, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--primary-dark);
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  top: 16px;
  width: 14px;
  height: 2px;
  background: rgba(255, 255, 255, 0.72);
}

.brand-mark::before {
  left: 5px;
  transform: rotate(-20deg);
}

.brand-mark::after {
  right: 5px;
  transform: rotate(20deg);
}

.brand-node {
  position: absolute;
  z-index: 1;
  width: 7px;
  height: 7px;
  border: 2px solid var(--primary-dark);
  border-radius: 50%;
  background: var(--white);
}

.brand-node-left {
  left: 4px;
  top: 16px;
}

.brand-node-center {
  left: 14px;
  top: 7px;
  background: #87cfd1;
}

.brand-node-right {
  right: 4px;
  top: 16px;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.2vw, 34px);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 200ms ease;
}

.desktop-nav a::after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}

.desktop-nav a:hover {
  color: var(--ink);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 62px;
  height: 34px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  cursor: pointer;
}

.theme-toggle span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-faint);
  font-size: 0.68rem;
  line-height: 1;
}

.theme-toggle-sun {
  background: var(--surface);
  box-shadow: 0 2px 7px rgba(8, 63, 67, 0.12);
  color: var(--ink) !important;
}

html[data-theme="dark"] .theme-toggle-sun {
  background: transparent;
  box-shadow: none;
  color: var(--ink-faint) !important;
}

html[data-theme="dark"] .theme-toggle-moon {
  background: var(--surface);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.24);
  color: var(--ink) !important;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 680;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.header-cta {
  min-height: 40px;
  padding-inline: 18px;
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.88rem;
}

.header-cta:hover,
.button-primary:hover {
  background: var(--primary-deep);
  box-shadow: 0 12px 28px rgba(0, 135, 146, 0.2);
  transform: translateY(-2px);
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.open > span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 auto;
  padding: 16px 24px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--page);
  box-shadow: var(--shadow-soft);
}

.mobile-menu a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 620;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 0.86fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
  min-height: calc(100dvh - var(--header-height));
  padding-top: 40px;
  padding-bottom: 56px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 6.2vw, 6.2rem);
  line-height: 0.99;
  letter-spacing: -0.068em;
}

.hero-summary {
  max-width: 540px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button-primary {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--white);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: flex;
  min-height: 620px;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-large);
}

.hero-visual::before {
  position: absolute;
  z-index: -2;
  content: "";
  width: 530px;
  height: 530px;
  border-radius: 50%;
  background: var(--surface-soft);
}

.visual-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.visual-orbit::before,
.visual-orbit::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.visual-orbit-one {
  width: 440px;
  height: 440px;
  transform: rotate(-16deg);
}

.visual-orbit-one::before {
  top: 42px;
  left: 74px;
}

.visual-orbit-one::after {
  right: 12px;
  bottom: 126px;
}

.visual-orbit-two {
  width: 530px;
  height: 530px;
  border-style: dashed;
  opacity: 0.75;
  transform: rotate(22deg);
}

.visual-orbit-two::before {
  top: 118px;
  right: 24px;
  background: var(--worker);
}

.visual-orbit-two::after {
  bottom: 44px;
  left: 120px;
}

.role-control {
  position: absolute;
  top: 18px;
  right: 8px;
  z-index: 5;
  display: flex;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.role-button {
  padding: 9px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 680;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.role-button.active {
  background: var(--primary-dark);
  color: var(--white);
}

.role-button[data-role="worker"].active {
  background: var(--worker-deep);
}

.phone-stage {
  position: relative;
  transition: transform 400ms var(--ease);
}

.phone-stage.switching {
  transform: translateY(5px) scale(0.985);
}

.phone-shadow {
  position: absolute;
  right: 10%;
  bottom: -24px;
  left: 10%;
  height: 55px;
  border-radius: 50%;
  background: rgba(7, 63, 67, 0.18);
  filter: blur(24px);
}

.phone-frame {
  position: relative;
  width: 310px;
  height: 604px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 44px;
  background: #112426;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    0 34px 70px rgba(7, 63, 67, 0.22);
}

.phone-speaker {
  position: absolute;
  z-index: 10;
  top: 17px;
  left: 50%;
  width: 76px;
  height: 22px;
  border-radius: 20px;
  background: #112426;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: #f5f8f7;
  color: #102729;
}

.phone-status {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.6rem;
  font-weight: 700;
}

.demo-view {
  position: absolute;
  inset: 0;
  display: none;
  padding: 0 15px 68px;
  overflow: hidden;
  background: #f4f8f7;
}

.demo-view.active {
  display: block;
  animation: demo-in 420ms var(--ease) both;
}

@keyframes demo-in {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.demo-topbar {
  margin: 0 -15px 16px;
  padding: 47px 18px 28px;
  background: #07545a;
  color: #fff;
}

.demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-topbar small,
.demo-topbar strong {
  display: block;
}

.demo-topbar small {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.66rem;
}

.demo-topbar strong {
  font-size: 1.05rem;
}

.demo-round-button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.7rem;
}

.demo-progress-card {
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 84, 90, 0.09);
}

.demo-progress-card > span,
.demo-progress-card > strong {
  display: block;
}

.demo-progress-card > span {
  margin-bottom: 5px;
  color: #718385;
  font-size: 0.63rem;
}

.demo-progress-card > strong {
  margin-bottom: 12px;
  font-size: 0.86rem;
}

.demo-progress-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 11px;
  border-top: 1px solid #e6edeb;
  color: #617475;
  font-size: 0.58rem;
}

.demo-progress-meta span:last-child {
  color: #07545a;
  font-weight: 700;
}

.demo-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 18px 2px 10px;
}

.demo-section-title strong {
  font-size: 0.8rem;
}

.demo-section-title span {
  color: #718385;
  font-size: 0.57rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #e5edeb;
  border-radius: 13px;
  background: #fff;
}

.contact-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 800;
}

.avatar-one {
  background: #d8eeee;
  color: #07545a;
}

.avatar-two {
  background: #e7e8f6;
  color: #4b4e86;
}

.contact-copy strong,
.contact-copy span {
  display: block;
}

.contact-copy strong {
  margin-bottom: 3px;
  font-size: 0.68rem;
}

.contact-copy span {
  color: #748687;
  font-size: 0.54rem;
}

.contact-row b {
  color: #08717a;
  font-size: 0.56rem;
}

.demo-bottom-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 58px;
  padding: 0 10px 9px;
  border-top: 1px solid #e3ebe9;
  background: rgba(255, 255, 255, 0.96);
}

.demo-bottom-nav button {
  position: relative;
  border: 0;
  background: transparent;
  color: #809091;
  font-size: 0.58rem;
  cursor: pointer;
}

.demo-bottom-nav button.active {
  color: #07545a;
  font-weight: 800;
}

.demo-bottom-nav button.active::before {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #008792;
  content: "";
  transform: translateX(-50%);
}

.worker-topbar {
  margin-bottom: 12px;
  padding-bottom: 24px;
  background: #8d2730;
}

.filter-row {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.filter-row button {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #ead7d8;
  border-radius: 10px;
  background: #fff;
  color: #786568;
  font-size: 0.56rem;
  cursor: pointer;
}

.filter-row button.active {
  border-color: #c02c38;
  background: #c02c38;
  color: #fff;
}

.task-card {
  margin-bottom: 10px;
  padding: 14px;
  border: 1px solid #ecdfe0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(127, 32, 41, 0.07);
}

.task-card-header,
.task-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.task-card-header span,
.task-card-header strong {
  font-size: 0.54rem;
}

.task-card-header span {
  color: #a34048;
}

.task-card-header strong {
  color: #627475;
}

.task-card h3 {
  margin: 11px 0 5px;
  font-size: 0.76rem;
}

.task-card p {
  margin-bottom: 14px;
  color: #718385;
  font-size: 0.57rem;
  line-height: 1.55;
}

.task-meta {
  padding-top: 10px;
  border-top: 1px solid #eee7e8;
  color: #718385;
  font-size: 0.56rem;
}

.task-meta b {
  color: #a5232d;
}

.compact-card h3 {
  margin-bottom: 12px;
}

.demo-view-worker .demo-bottom-nav button.active {
  color: #a5232d;
}

.demo-view-worker .demo-bottom-nav button.active::before {
  background: #c02c38;
}

.preview-note {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.78rem;
  text-align: center;
}

.value-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  align-items: center;
  min-height: 146px;
}

.value-item {
  padding: 24px 18px;
}

.value-item span,
.value-item strong {
  display: block;
}

.value-item span {
  margin-bottom: 4px;
  color: var(--ink-faint);
  font-size: 0.72rem;
}

.value-item strong {
  font-size: 1.05rem;
}

.value-connector {
  position: relative;
  height: 1px;
  background: var(--line);
}

.value-connector::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.roles {
  background: var(--page);
}

.role-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 24px;
}

.role-panel {
  min-height: 520px;
  padding: clamp(28px, 4vw, 54px);
  border-radius: var(--radius-large);
  overflow: hidden;
}

.boss-panel {
  background: var(--primary-dark);
  color: var(--white);
}

.worker-panel {
  border: 1px solid var(--line);
  background: var(--surface);
}

.role-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 72px;
}

.role-index,
.role-color-name {
  font-size: 0.78rem;
  font-weight: 700;
}

.boss-panel .role-index,
.boss-panel .role-color-name {
  color: rgba(255, 255, 255, 0.68);
}

.worker-panel .role-index,
.worker-panel .role-color-name {
  color: var(--worker-deep);
}

.role-panel h3 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.role-panel > p {
  max-width: 510px;
  margin-bottom: 42px;
  color: inherit;
  opacity: 0.75;
  font-size: 1rem;
}

.role-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.role-feature-grid > div {
  padding: 19px 18px;
  background: var(--primary-dark);
}

.role-feature-grid strong,
.role-feature-grid span {
  display: block;
}

.role-feature-grid strong {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.role-feature-grid span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

.worker-flow {
  counter-reset: worker-flow;
}

.worker-flow > div {
  position: relative;
  display: grid;
  grid-template-columns: 98px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.worker-flow > div:last-child {
  border-bottom: 0;
}

.worker-flow span {
  color: var(--worker-deep);
  font-size: 0.78rem;
  font-weight: 720;
}

.worker-flow strong {
  font-size: 0.94rem;
}

.capabilities {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.capability-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.capability-cell {
  position: relative;
  min-height: 310px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--page);
  overflow: hidden;
}

.capability-cell h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.capability-cell p {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.capability-main {
  display: grid;
  grid-column: 1;
  grid-row: 1 / span 2;
  grid-template-rows: auto 1fr;
  min-height: 640px;
  background: var(--primary-soft);
}

.match-visual {
  align-self: end;
  margin-top: 50px;
}

.match-source {
  width: min(350px, 78%);
  padding: 20px;
  border-radius: var(--radius);
  background: var(--primary-dark);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.match-source span,
.match-source strong {
  display: block;
}

.match-source span {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
}

.match-source strong {
  font-size: 1.05rem;
}

.match-line {
  width: 1px;
  height: 48px;
  margin-left: 42px;
  background: var(--primary-deep);
}

.match-results {
  display: grid;
  gap: 8px;
  width: min(420px, 92%);
  margin-left: 42px;
}

.match-results > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  padding: 15px 18px;
  border: 1px solid rgba(0, 135, 146, 0.18);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
}

.match-results span {
  color: var(--primary-deep);
  font-size: 0.7rem;
  font-weight: 800;
}

.match-results strong {
  font-size: 0.86rem;
}

.capability-location {
  min-height: 310px;
  background: var(--primary-dark);
  color: var(--white);
}

.capability-location p {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.66);
}

.radar-visual {
  position: absolute;
  right: -50px;
  bottom: -58px;
  width: 245px;
  height: 245px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.radar-visual::before,
.radar-visual::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.radar-visual::before {
  width: 64%;
  height: 64%;
}

.radar-visual::after {
  width: 32%;
  height: 32%;
}

.radar-center,
.radar-point {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--primary-dark);
  border-radius: 50%;
  background: #a8e3e2;
}

.radar-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radar-point-one {
  top: 19%;
  left: 48%;
}

.radar-point-two {
  top: 46%;
  left: 20%;
}

.radar-point-three {
  right: 21%;
  bottom: 21%;
  background: #d95a64;
}

.capability-media {
  grid-column: 1;
  min-height: 340px;
}

.media-visual {
  position: absolute;
  right: 34px;
  bottom: 28px;
  display: flex;
  align-items: end;
  gap: 10px;
}

.media-main,
.media-side {
  position: relative;
  border-radius: var(--radius);
  background: var(--surface-strong);
  overflow: hidden;
}

.media-main {
  width: 190px;
  height: 128px;
}

.media-side {
  width: 84px;
  height: 84px;
}

.media-main::before,
.media-side::before {
  position: absolute;
  content: "";
  border-radius: 50%;
  background: var(--primary);
}

.media-main::before {
  top: 20px;
  right: 22px;
  width: 26px;
  height: 26px;
}

.media-side::before {
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  background: var(--worker);
}

.media-main span,
.media-side span {
  position: absolute;
  right: -10%;
  bottom: -48%;
  left: 12%;
  height: 100%;
  border-radius: 50% 0 0;
  background: var(--primary-deep);
  transform: rotate(-16deg);
}

.capability-trace {
  display: grid;
  grid-column: 2;
  grid-row: 3;
  min-height: 340px;
  background: var(--worker-soft);
}

.trace-line {
  align-self: end;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.trace-line li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: var(--ink-faint);
  font-size: 0.8rem;
}

.trace-line li::before {
  position: absolute;
  top: 17px;
  left: 1px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  content: "";
}

.trace-line li:not(:last-child)::after {
  position: absolute;
  top: 27px;
  bottom: -7px;
  left: 6px;
  width: 1px;
  background: var(--line);
  content: "";
}

.trace-line li.done,
.trace-line li.active {
  color: var(--ink);
  font-weight: 650;
}

.trace-line li.done::before {
  border-color: var(--worker);
  background: var(--worker);
}

.trace-line li.active::before {
  border-color: var(--worker);
}

.security {
  background: var(--primary-dark);
  color: var(--white);
}

.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 8vw, 130px);
}

.security-intro {
  position: sticky;
  top: calc(var(--header-height) + 48px);
  align-self: start;
}

.security-intro .eyebrow {
  color: #88d3d5;
}

.security-intro > p {
  color: rgba(255, 255, 255, 0.68);
}

.text-link {
  display: inline-flex;
  margin-top: 30px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
  font-weight: 680;
}

.text-link:hover {
  border-color: #88d3d5;
  color: #b6e9e9;
}

.security-details article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.security-details article:first-child {
  padding-top: 0;
}

.security-details article:last-child {
  border-bottom: 0;
}

.security-code {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #9cdddd;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.7rem;
  font-weight: 800;
}

.security-details h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.security-details p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.65);
}

.workflow {
  background: var(--page);
}

.workflow-board {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  min-height: 570px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
  overflow: hidden;
}

.workflow-list {
  margin: 0;
  padding: 22px;
  border-right: 1px solid var(--line);
  list-style: none;
}

.workflow-list li {
  margin-bottom: 8px;
}

.workflow-list button {
  display: grid;
  grid-template-columns: 62px 1fr;
  width: 100%;
  min-height: 104px;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.workflow-list button:hover {
  background: var(--surface-soft);
}

.workflow-list li.active button {
  background: var(--primary-soft);
  color: var(--ink);
}

.workflow-list button span {
  color: var(--primary-deep);
  font-size: 0.75rem;
  font-weight: 780;
}

.workflow-list button strong {
  font-size: 0.96rem;
}

.workflow-preview {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 46px;
  padding: clamp(34px, 5vw, 72px);
}

.workflow-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 780;
}

.workflow-heading {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.workflow-description {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.workflow-art {
  display: grid;
  min-height: 360px;
  place-items: center;
  border-radius: var(--radius-large);
  background: var(--surface-soft);
}

.workflow-sheet {
  width: min(230px, 72%);
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transform: rotate(3deg);
  transition: transform 420ms var(--ease);
}

.workflow-board.is-changing .workflow-sheet {
  transform: rotate(0) scale(0.97);
}

.workflow-sheet span {
  display: block;
  height: 8px;
  margin-bottom: 15px;
  border-radius: 6px;
  background: var(--surface-strong);
}

.workflow-sheet span:nth-child(1) {
  width: 58%;
  height: 14px;
  background: var(--primary-deep);
}

.workflow-sheet span:nth-child(2) {
  width: 88%;
}

.workflow-sheet span:nth-child(3) {
  width: 72%;
}

.workflow-sheet b {
  display: block;
  width: 44%;
  height: 36px;
  margin-top: 34px;
  margin-left: auto;
  border-radius: 10px;
  background: var(--primary);
}

.platforms {
  padding-top: 0;
}

.platform-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
}

.platform-layout h2 {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.platform-list span {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 680;
}

.faq {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(60px, 9vw, 150px);
}

.faq-heading {
  align-self: start;
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item:first-child {
  border-top: 1px solid var(--line);
}

.accordion-item h3 {
  margin: 0;
}

.accordion-item h3 button {
  display: grid;
  grid-template-columns: 1fr 28px;
  width: 100%;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 680;
  text-align: left;
  cursor: pointer;
}

.accordion-item h3 button b {
  position: relative;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.accordion-item h3 button b::before,
.accordion-item h3 button b::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 220ms var(--ease);
}

.accordion-item h3 button b::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-item.open h3 button b::after {
  transform: translate(-50%, -50%) rotate(0);
}

.accordion-answer {
  overflow: hidden;
}

.accordion-answer p {
  max-width: 680px;
  margin-bottom: 0;
  padding: 0 48px 28px 0;
  color: var(--ink-soft);
}

.closing {
  background: var(--primary-deep);
  color: var(--white);
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.closing-mark {
  position: relative;
  display: flex;
  width: 160px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}

.closing-mark::before,
.closing-mark::after {
  position: absolute;
  z-index: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.38);
  content: "";
}

.closing-mark::before {
  left: 14px;
  width: 64px;
}

.closing-mark::after {
  right: 14px;
  width: 64px;
}

.closing-mark span {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 4px solid var(--primary-deep);
  border-radius: 50%;
  background: #b5e2e1;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.closing-mark span:nth-child(2) {
  background: var(--white);
}

.closing-mark span:last-child {
  background: #f1a7ad;
}

.closing-inner h2 {
  max-width: 900px;
  font-size: clamp(2.7rem, 6vw, 6rem);
}

.closing-inner p {
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.68);
}

.button-light {
  border-color: var(--white);
  background: var(--white);
  color: #083f43;
}

.button-light:hover {
  border-color: #b5e2e1;
  background: #b5e2e1;
  transform: translateY(-2px);
}

.site-footer {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a2528;
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 38px;
}

.footer-brand .brand-mark {
  background: #d8eeee;
}

.footer-brand .brand-mark::before,
.footer-brand .brand-mark::after {
  background: #0a4a4e;
}

.footer-brand .brand-node {
  border-color: #d8eeee;
  background: #0a4a4e;
}

.footer-brand .brand-node-center {
  background: #c02c38;
}

.footer-inner > div:first-child p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.footer-links a:hover {
  color: #b5e2e1;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.75rem;
}

.footer-records {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.75rem;
}

.footer-records a {
  transition: color 180ms ease;
}

.footer-records a:hover {
  color: #b5e2e1;
}

.footer-record-divider {
  color: rgba(255, 255, 255, 0.24);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.8fr);
    gap: 30px;
  }

  .hero-copy h1 {
    font-size: clamp(3.1rem, 6.5vw, 5.2rem);
  }

  .hero-visual {
    transform: scale(0.93);
  }

  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }

  .capability-main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 590px;
  }

  .capability-location,
  .capability-media,
  .capability-trace {
    grid-column: auto;
    grid-row: auto;
  }

  .capability-media {
    min-height: 340px;
  }

  .workflow-preview {
    grid-template-columns: 1fr;
  }

  .workflow-art {
    min-height: 260px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 88px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 76px;
  }

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

  .hero-visual {
    min-height: 650px;
    transform: none;
  }

  .hero-visual::before {
    width: min(530px, 94vw);
    height: min(530px, 94vw);
  }

  .role-control {
    right: calc(50% - 220px);
  }

  .value-grid {
    grid-template-columns: 1fr 1fr;
    padding: 18px 0;
  }

  .value-item {
    padding: 22px 12px;
  }

  .value-connector {
    display: none;
  }

  .role-showcase,
  .security-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .role-panel {
    min-height: auto;
  }

  .role-panel-head {
    margin-bottom: 48px;
  }

  .security-intro {
    position: static;
  }

  .workflow-board {
    grid-template-columns: 1fr;
  }

  .workflow-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-list button {
    min-height: 86px;
  }

  .platform-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .platform-list {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 64px;
  }

  .shell,
  .section-shell {
    width: min(100% - 32px, 1240px);
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .security-intro h2,
  .faq-heading h2,
  .platform-layout h2,
  .closing-inner h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    letter-spacing: -0.045em;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .header-cta {
    display: none;
  }

  .theme-toggle {
    width: 58px;
    height: 32px;
  }

  .hero {
    gap: 32px;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
    line-height: 1.02;
  }

  .hero-summary {
    margin-bottom: 28px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .hero-visual::before {
    width: calc(100vw - 20px);
    height: calc(100vw - 20px);
    max-height: 500px;
  }

  .visual-orbit-one {
    width: 94vw;
    height: 94vw;
    max-width: 440px;
    max-height: 440px;
  }

  .visual-orbit-two {
    display: none;
  }

  .role-control {
    top: 0;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .phone-stage {
    margin-top: 30px;
  }

  .phone-frame {
    width: 286px;
    height: 558px;
    border-radius: 40px;
  }

  .phone-screen {
    border-radius: 32px;
  }

  .phone-speaker {
    top: 16px;
  }

  .preview-note {
    bottom: 2px;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-item {
    display: grid;
    grid-template-columns: 74px 1fr;
    align-items: baseline;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
  }

  .value-item:last-child {
    border-bottom: 0;
  }

  .role-panel {
    padding: 28px 24px;
    border-radius: 22px;
  }

  .role-panel h3 {
    font-size: 3rem;
  }

  .role-panel-head {
    margin-bottom: 36px;
  }

  .role-feature-grid {
    grid-template-columns: 1fr;
  }

  .worker-flow > div {
    grid-template-columns: 78px 1fr;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-cell,
  .capability-main,
  .capability-location,
  .capability-media,
  .capability-trace {
    grid-column: 1;
    min-height: 330px;
    padding: 26px;
    border-radius: 22px;
  }

  .capability-main {
    min-height: 570px;
  }

  .match-results {
    width: calc(100% - 22px);
    margin-left: 22px;
  }

  .match-line {
    margin-left: 22px;
  }

  .capability-media p {
    max-width: 260px;
  }

  .media-visual {
    right: 24px;
    bottom: 24px;
  }

  .media-main {
    width: 156px;
    height: 106px;
  }

  .security-layout {
    gap: 44px;
  }

  .security-details article {
    grid-template-columns: 56px 1fr;
    gap: 18px;
  }

  .security-code {
    width: 52px;
    height: 52px;
    font-size: 0.58rem;
  }

  .workflow-board {
    border-radius: 22px;
  }

  .workflow-list {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .workflow-list button {
    grid-template-columns: 56px 1fr;
    min-height: 70px;
    padding: 13px 16px;
  }

  .workflow-preview {
    padding: 28px;
  }

  .workflow-art {
    min-height: 240px;
  }

  .platform-layout {
    gap: 30px;
    padding: 32px 24px;
    border-radius: 22px;
  }

  .platform-list {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .platform-list span {
    text-align: center;
  }

  .faq-layout {
    gap: 38px;
  }

  .accordion-item h3 button {
    font-size: 0.96rem;
  }

  .closing-inner {
    align-items: stretch;
  }

  .closing-inner h2 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .closing-mark {
    width: 130px;
  }

  .closing-mark::before,
  .closing-mark::after {
    width: 50px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: start;
  }

  .footer-legal {
    grid-column: 1;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-records {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-record-divider {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: var(--page);
  }
}

/* 首屏使用真实 App 截图，设备框只负责展示与角色切换。 */
.hero-visual {
  min-height: 690px;
}

.role-control {
  top: 12px;
  right: 6px;
}

.phone-shadow {
  right: 6%;
  bottom: -22px;
  left: 6%;
}

.phone-frame {
  width: 268px;
  height: 628px;
  padding: 7px;
  border-radius: 38px;
  background: #173537;
  transition:
    background-color 260ms ease,
    box-shadow 260ms ease;
}

.phone-screen {
  display: grid;
  height: 100%;
  place-items: center;
  border-radius: 31px;
  background: #eaf9fb;
}

.phone-stage.worker-mode .phone-frame {
  background: #33463f;
}

.phone-stage.worker-mode .phone-screen {
  background: #f0faf6;
}

.app-home-image {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.app-home-image.active {
  display: block;
  animation: demo-in 420ms var(--ease) both;
}

.preview-note {
  bottom: -6px;
}

@media (max-width: 900px) {
  .role-control {
    right: calc(50% - 192px);
  }
}

@media (max-width: 680px) {
  .hero-visual {
    min-height: 680px;
  }

  .role-control {
    top: 0;
    right: auto;
  }

  .phone-frame {
    width: 252px;
    height: 608px;
    border-radius: 36px;
  }

  .phone-screen {
    border-radius: 29px;
  }

  .preview-note {
    bottom: -2px;
  }
}
