:root {
  --brand: #167c80;
  --brand-dark: #123f47;
  --brand-deep: #0c3037;
  --brand-soft: #e6f4f3;
  --accent: #f36b2b;
  --accent-soft: #fff0e8;
  --page: #f4f7f8;
  --surface: #ffffff;
  --text: #18343a;
  --muted: #60757a;
  --line: #dce6e8;
  --shadow: 0 20px 60px rgba(18, 63, 71, 0.1);
  --shadow-small: 0 10px 30px rgba(18, 63, 71, 0.08);
  --radius: 18px;
  --radius-small: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  position: fixed;
  z-index: -1;
  top: -22vw;
  right: -18vw;
  width: 52vw;
  height: 52vw;
  min-width: 520px;
  min-height: 520px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 124, 128, 0.14) 0, rgba(22, 124, 128, 0) 68%);
  pointer-events: none;
}

a {
  color: inherit;
}

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

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

:focus-visible {
  outline: 3px solid rgba(243, 107, 43, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand-dark);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(220, 230, 232, 0.8);
  background: rgba(244, 247, 248, 0.9);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(18, 63, 71, 0.14);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav > a,
.mobile-links a {
  padding: 9px 13px;
  border-radius: 9px;
  color: #425e64;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.desktop-nav > a:hover,
.mobile-links a:hover {
  color: var(--brand);
  background: rgba(22, 124, 128, 0.08);
}

.desktop-nav .nav-login {
  margin-left: 8px;
  padding-inline: 17px;
  color: #fff;
  background: var(--brand-dark);
}

.desktop-nav .nav-login:hover {
  color: #fff;
  background: var(--brand);
}

.mobile-menu {
  position: relative;
  display: none;
}

.mobile-menu summary {
  display: grid;
  width: 42px;
  height: 42px;
  cursor: pointer;
  list-style: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary::before {
  width: 18px;
  height: 12px;
  content: "";
  border-top: 2px solid var(--brand-dark);
  border-bottom: 2px solid var(--brand-dark);
  box-shadow: inset 0 5px #fff, inset 0 7px var(--brand-dark);
}

.mobile-links {
  position: absolute;
  top: 50px;
  right: 0;
  display: grid;
  width: min(280px, calc(100vw - 40px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-small);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 74px;
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(22, 124, 128, 0.18);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(243, 107, 43, 0.12);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--brand-deep);
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero h1 span {
  position: relative;
  color: var(--brand);
  white-space: nowrap;
}

.hero h1 span::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 7px;
  content: "";
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.78;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(22, 124, 128, 0.22);
}

.button-primary:hover {
  background: #106b6f;
}

.button-secondary {
  border-color: rgba(18, 63, 71, 0.2);
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.78);
}

.button-secondary:hover {
  border-color: var(--brand);
  background: #fff;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-list li::before {
  display: grid;
  width: 18px;
  height: 18px;
  content: "✓";
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.product-stage {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(230, 244, 243, 0.86));
  box-shadow: var(--shadow);
}

.product-stage::before,
.product-stage::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
}

.product-stage::before {
  top: -38px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: var(--accent-soft);
}

.product-stage::after {
  bottom: -44px;
  left: -35px;
  width: 120px;
  height: 120px;
  background: var(--brand-soft);
}

.orchestration-stage {
  overflow: hidden;
}

.orchestration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.orchestration-card {
  min-width: 0;
  padding: 19px;
  border: 1px solid rgba(22, 124, 128, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
}

.orchestration-card:nth-child(2),
.orchestration-card:nth-child(4) {
  background: rgba(230, 244, 243, 0.78);
}

.orchestration-index,
.orchestration-card strong,
.orchestration-card small {
  display: block;
}

.orchestration-index {
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.orchestration-card strong {
  margin-bottom: 4px;
  color: var(--brand-dark);
  font-size: 18px;
}

.orchestration-card small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orchestration-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.orchestration-foot span {
  flex: 1;
  min-width: 112px;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.stage-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.stage-brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.live-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 700;
}

.live-badge::before {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: #22a06b;
}

.stage-card {
  padding: 24px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 5%, rgba(255, 255, 255, 0.14), transparent 38%),
    var(--brand-dark);
}

.stage-label {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.stage-number {
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.route-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.route-stop {
  position: relative;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  text-align: center;
}

.route-stop::before {
  position: absolute;
  top: 2px;
  left: 50%;
  z-index: 1;
  width: 9px;
  height: 9px;
  content: "";
  border: 3px solid var(--brand-dark);
  border-radius: 50%;
  background: #77d6c7;
  transform: translateX(-50%);
}

.route-stop:not(:last-child)::after {
  position: absolute;
  top: 6px;
  left: 56%;
  width: 88%;
  height: 1px;
  content: "";
  background: rgba(119, 214, 199, 0.5);
}

.stage-stats {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mini-stat {
  padding: 13px 10px;
  border: 1px solid rgba(22, 124, 128, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.mini-stat strong,
.mini-stat span {
  display: block;
}

.mini-stat strong {
  color: var(--brand-dark);
  font-size: 15px;
}

.mini-stat span {
  color: var(--muted);
  font-size: 11px;
}

.section {
  padding: 90px 0;
}

.section-white {
  background: rgba(255, 255, 255, 0.72);
}

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(22, 124, 128, 0.42), transparent 36%),
    var(--brand-deep);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  margin-bottom: 11px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-dark .section-kicker {
  color: #77d6c7;
}

h2 {
  margin-bottom: 15px;
  color: var(--brand-dark);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-dark h2 {
  color: #fff;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-dark .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.role-card,
.security-card,
.status-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.feature-card {
  padding: 27px;
}

.feature-icon,
.role-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 19px;
  place-items: center;
  border-radius: 13px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 20px;
  font-weight: 800;
}

.feature-card:nth-child(3n + 2) .feature-icon {
  color: var(--accent);
  background: var(--accent-soft);
}

.feature-card h3,
.role-card h3,
.security-card h3,
.status-card h3 {
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 18px;
}

.feature-card p,
.role-card p,
.security-card p,
.status-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.capability-tags,
.workbench-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.capability-tags span,
.workbench-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #496368;
  background: var(--page);
  font-size: 11px;
  font-weight: 700;
}

.flow {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}

.flow-item {
  position: relative;
  padding: 22px 8px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.flow-item:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -11px;
  width: 20px;
  height: 20px;
  content: "›";
  color: var(--brand);
  background: var(--page);
  font-size: 19px;
  font-weight: 800;
  line-height: 18px;
}

.flow-number {
  display: block;
  margin-bottom: 5px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.flow-name {
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 700;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.role-card {
  display: flex;
  flex-direction: column;
  padding: 25px;
}

.role-card:nth-child(2) .role-icon,
.role-card:nth-child(4) .role-icon {
  color: var(--accent);
  background: var(--accent-soft);
}

.role-list,
.expansion-points {
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.role-list {
  margin-top: auto;
}

.role-list li,
.expansion-points li {
  position: relative;
  padding-left: 15px;
  color: var(--muted);
  font-size: 12px;
}

.role-list li + li,
.expansion-points li + li {
  margin-top: 7px;
}

.role-list li::before,
.expansion-points li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--brand);
}

.expansion-grid,
.workbench-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.expansion-card,
.workbench-card {
  min-width: 0;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-small);
}

.expansion-card.is-accent {
  border-color: rgba(243, 107, 43, 0.18);
  background: linear-gradient(145deg, #fff, var(--accent-soft));
}

.expansion-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 800;
}

.expansion-card.is-accent .expansion-kicker {
  color: #a74b22;
  background: rgba(243, 107, 43, 0.12);
}

.expansion-card h3 {
  margin-bottom: 12px;
  color: var(--brand-dark);
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.28;
}

.expansion-card > p,
.workbench-card > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.workbench-card.is-dark {
  border-color: var(--brand-dark);
  color: #fff;
  background: var(--brand-dark);
}

.workbench-heading span,
.workbench-heading strong {
  display: block;
}

.workbench-heading span {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.workbench-heading strong {
  margin-bottom: 14px;
  color: var(--brand-dark);
  font-size: 24px;
}

.workbench-card.is-dark .workbench-heading span {
  color: #77d6c7;
}

.workbench-card.is-dark .workbench-heading strong {
  color: #fff;
}

.workbench-card.is-dark > p {
  color: rgba(255, 255, 255, 0.7);
}

.workbench-card.is-dark .workbench-tags span {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
}

.platform-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 70px;
}

.platform-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.platform-points {
  display: grid;
  margin: 26px 0 30px;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.platform-points li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.platform-points li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  border: 2px solid #77d6c7;
  border-radius: 50%;
}

.platform-panel {
  display: grid;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.platform-status {
  min-height: 128px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.platform-status strong {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: 15px;
}

.platform-status span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.platform-boundary {
  margin-top: 30px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
}

.status-dot {
  width: 9px;
  height: 9px;
  margin-bottom: 17px;
  border-radius: 50%;
  background: #ffc49e;
  box-shadow: 0 0 0 6px rgba(243, 107, 43, 0.15);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.security-card {
  padding: 25px;
}

.security-card::before {
  display: block;
  width: 32px;
  height: 4px;
  margin-bottom: 20px;
  content: "";
  border-radius: 99px;
  background: var(--brand);
}

.capability-boundary {
  margin-top: 24px;
  padding: 21px 24px;
  border: 1px solid rgba(22, 124, 128, 0.16);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  background: var(--brand-soft);
}

.capability-boundary strong {
  display: block;
  margin-bottom: 5px;
  color: var(--brand-dark);
}

.capability-boundary p {
  margin-bottom: 0;
  color: #496368;
  font-size: 13px;
}

.cta-card {
  display: grid;
  align-items: center;
  padding: 46px 52px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(130deg, var(--brand), var(--brand-dark));
  box-shadow: var(--shadow);
  grid-template-columns: 1fr auto;
  gap: 40px;
}

.cta-card h2 {
  margin-bottom: 9px;
  color: #fff;
}

.cta-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-card {
  min-width: 240px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-label {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.contact-value {
  display: block;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-footer {
  padding: 48px 0 28px;
  color: rgba(255, 255, 255, 0.68);
  background: #09272d;
}

.footer-grid {
  display: grid;
  padding-bottom: 34px;
  grid-template-columns: minmax(280px, 1.5fr) repeat(2, minmax(150px, 0.5fr));
  gap: 48px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.footer-intro {
  max-width: 440px;
  margin-bottom: 0;
  font-size: 13px;
}

.footer-column h3 {
  margin-bottom: 13px;
  color: #fff;
  font-size: 14px;
}

.footer-column a,
.footer-column span {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.footer-bottom p {
  margin-bottom: 0;
}

.icp-link {
  text-decoration: none;
}

.icp-link:hover {
  color: #fff;
}

/* 内页 */
.page-hero {
  padding: 74px 0 54px;
  text-align: center;
}

.page-hero h1 {
  max-width: 860px;
  margin-inline: auto;
  font-size: clamp(36px, 5vw, 58px);
}

.page-hero > .container > p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.status-card {
  padding: 26px;
}

.status-card .status-badge {
  margin-bottom: 18px;
}

.status-card .status-badge.available {
  color: #16744d;
  background: #e5f5ed;
}

.status-card .status-badge.planned {
  color: #a74b22;
  background: var(--accent-soft);
}

.boundary-note {
  margin-top: 30px;
  padding: 24px 26px;
  border: 1px solid rgba(243, 107, 43, 0.2);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  color: #6e4937;
  background: var(--accent-soft);
}

.boundary-note strong {
  color: #873d1d;
}

.steps {
  display: grid;
  counter-reset: steps;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.step {
  counter-increment: steps;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.step::before {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  content: counter(steps);
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.step strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-dark);
}

.step span {
  color: var(--muted);
  font-size: 13px;
}

.legal-shell {
  display: grid;
  align-items: start;
  padding: 62px 0 90px;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 42px;
}

.legal-aside {
  position: sticky;
  top: 104px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.legal-aside strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
}

.legal-aside p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-content {
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-small);
}

.legal-content h1 {
  margin-bottom: 12px;
  font-size: clamp(32px, 4vw, 46px);
}

.legal-meta {
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 13px;
}

.legal-content h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 23px;
}

.legal-content h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 17px;
}

.legal-content p,
.legal-content li {
  color: #496368;
  font-size: 15px;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 7px;
}

.legal-content a {
  color: var(--brand);
}

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

  .mobile-menu {
    display: block;
  }

  .hero-grid,
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

  .product-stage {
    width: min(100%, 620px);
  }

  .feature-grid,
  .security-grid,
  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .flow-item:nth-child(4)::after {
    display: none;
  }

  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-wrap {
    min-height: 68px;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding: 58px 0 50px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 50px);
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-copy {
    font-size: 16px;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
    gap: 9px;
  }

  .product-stage {
    padding: 18px;
    border-radius: 22px;
  }

  .stage-card {
    padding: 20px;
  }

  .stage-stats {
    gap: 6px;
  }

  .section {
    padding: 66px 0;
  }

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

  h2 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .section-heading > p:last-child {
    font-size: 15px;
  }

  .feature-grid,
  .role-grid,
  .security-grid,
  .status-grid,
  .platform-panel,
  .expansion-grid,
  .workbench-grid {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .flow-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    text-align: left;
  }

  .flow-item:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -15px;
    left: 50%;
    display: block;
    content: "⌄";
    line-height: 18px;
  }

  .flow-number {
    min-width: 26px;
    margin-bottom: 0;
  }

  .platform-points {
    grid-template-columns: 1fr;
  }

  .expansion-card,
  .workbench-card {
    padding: 26px 22px;
    border-radius: 19px;
  }

  .cta-card {
    padding: 32px 24px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-card {
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

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

  .page-hero {
    padding: 54px 0 38px;
  }

  .page-hero > .container > p:last-child {
    font-size: 16px;
  }

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

  .legal-shell {
    padding: 36px 0 66px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 390px) {
  .brand span {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .stage-stats {
    grid-template-columns: 1fr;
  }

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

  .orchestration-card {
    padding: 16px;
  }

  .orchestration-index {
    margin-bottom: 10px;
  }

  .mini-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

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

  .footer-grid > div:first-child {
    grid-column: auto;
  }
}

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

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