:root {
  --ink: #17202a;
  --muted: #5d6b78;
  --soft: #edf3f5;
  --line: #d8e0e6;
  --bg: #f7f9fb;
  --panel: #ffffff;
  --brand: #0f766e;
  --brand-strong: #0a5f58;
  --blue: #1d4f91;
  --accent: #b45309;
  --danger: #b42318;
  --shadow: 0 18px 48px rgba(23, 32, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

code {
  padding: 2px 5px;
  color: #233443;
  background: #eef3f6;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

ul {
  padding-left: 0;
  list-style: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.hero-actions,
.panel-actions,
.summary-actions,
.footer,
.site-footer,
.visual-toolbar,
.release-meta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: 0;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.nav-placeholder {
  white-space: nowrap;
}

.nav a:hover,
.text-link:hover {
  color: var(--brand-strong);
}

.nav-muted {
  color: #7b8792;
}

.nav-placeholder {
  cursor: default;
}

.nav-action,
.button {
  border-radius: 8px;
  font-weight: 800;
}

.nav-action {
  color: #fff;
  background: var(--brand);
  padding: 10px 14px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(29, 79, 145, 0.08)),
    var(--soft);
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 48px;
  align-items: center;
  padding: 78px 40px 92px;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(to top, rgba(247, 249, 251, 0.86), rgba(247, 249, 251, 0));
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.page-hero-copy {
  position: relative;
  z-index: 1;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 9vw, 122px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: #2d3b45;
  font-size: 20px;
  line-height: 1.7;
}

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

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  text-align: center;
}

.primary {
  color: #fff;
  background: var(--brand);
}

.secondary {
  color: var(--brand-strong);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(15, 118, 110, 0.26);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 42px 0 0;
  max-width: 720px;
}

.hero-metrics div,
.hero-visual,
.product-panel,
.profile-panel,
.notice-panel,
.download-summary,
.status-panel,
.release-card,
.manifest-panel,
.support-grid article,
.process-list article,
.route-grid article,
.module-grid article,
.contract-list article,
.company-grid article,
.site-map-grid article,
.closed-grid a,
.closed-grid div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-metrics div {
  padding: 16px;
}

.hero-metrics dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-metrics dd {
  margin: 7px 0 0;
  font-size: 16px;
  font-weight: 900;
}

.hero-visual {
  align-self: center;
  min-height: 430px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.visual-toolbar {
  gap: 8px;
  height: 30px;
  border-bottom: 1px solid var(--line);
}

.visual-toolbar span {
  width: 10px;
  height: 10px;
  background: #d1495b;
  border-radius: 50%;
}

.visual-toolbar span:nth-child(2) {
  background: #edae49;
}

.visual-toolbar span:nth-child(3) {
  background: #0f766e;
}

.visual-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
}

.visual-column {
  min-height: 270px;
  padding: 16px;
  background: #f6f8fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.visual-column strong,
.visual-column span {
  display: block;
}

.visual-column strong {
  margin-bottom: 16px;
}

.visual-column span {
  margin-top: 10px;
  padding: 10px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.visual-column.active {
  background: #eef8f6;
  border-color: rgba(15, 118, 110, 0.32);
}

.visual-status {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-size: 14px;
}

.site-map {
  min-height: auto;
}

.site-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
}

.site-map-grid article {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 16px;
  background: #f6f8fb;
}

.site-map-grid article.is-open {
  background: #eef8f6;
  border-color: rgba(15, 118, 110, 0.32);
}

.site-map-grid small {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-map-grid strong,
.site-map-grid span {
  display: block;
}

.site-map-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section {
  padding: 76px 40px;
}

.section-heading,
.product-panel,
.profile-panel,
.notice-panel,
.download-summary,
.support-grid,
.process-list,
.route-grid,
.module-grid,
.contract-list,
.company-grid,
.closed-grid,
.release-layout,
.page-hero-copy {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

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

.section-heading p:not(.eyebrow),
.product-copy p,
.profile-panel p,
.profile-panel dd,
.notice-panel p,
.download-summary p,
.support-grid p,
.process-list p,
.route-grid span,
.module-grid p,
.contract-list p,
.company-grid p,
.closed-grid span,
.status-panel p,
.release-card p,
.manifest-panel p,
.page-hero-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  padding: 30px;
}

.product-copy {
  align-self: start;
}

.product-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.product-panel dl div {
  padding: 14px;
  background: #f6f8fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-panel dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.product-panel dd {
  margin: 6px 0 0;
  color: #263743;
  font-weight: 800;
  line-height: 1.5;
  word-break: break-word;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-bottom: 0;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: #2f3f4a;
  line-height: 1.6;
}

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

.panel-actions {
  grid-column: 1 / -1;
}

.process-list,
.route-grid,
.module-grid,
.contract-list,
.support-grid,
.company-grid,
.closed-grid {
  display: grid;
  gap: 18px;
}

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

.process-list article,
.support-grid article,
.module-grid article,
.contract-list article,
.route-grid article,
.company-grid article,
.closed-grid a,
.closed-grid div {
  padding: 24px;
}

.process-list span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 900;
}

.download-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 28px;
}

.summary-actions {
  justify-content: flex-end;
}

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

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

.route-grid strong {
  margin-bottom: 8px;
  word-break: break-word;
}

.support-grid,
.module-grid,
.contract-list,
.company-grid,
.closed-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 30px;
}

.profile-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.profile-panel dl div {
  padding: 14px;
  background: #f6f8fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-panel dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.profile-panel dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.closed-grid a,
.closed-grid div {
  display: grid;
  gap: 8px;
  min-height: 112px;
}

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

.closed-grid span {
  color: var(--danger);
  font-weight: 900;
}

.notice-panel {
  padding: 28px;
  border-left: 4px solid var(--accent);
}

.notice-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.text-link {
  color: var(--brand-strong);
  font-weight: 900;
}

.page-hero {
  padding: 86px 40px 78px;
}

.compact-hero {
  padding-top: 72px;
  padding-bottom: 72px;
}

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

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(46px, 7vw, 88px);
}

.page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.status-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--danger);
  background: #fff1f0;
  border: 1px solid #ffd8d5;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.release-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 22px;
}

.release-card,
.manifest-panel {
  padding: 28px;
}

.release-meta {
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.release-meta span,
.manifest-field {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  background: #f2f5f7;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #344553;
  font-size: 13px;
  font-weight: 800;
}

.download-table {
  width: 100%;
  border-collapse: collapse;
}

.download-table th,
.download-table td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.download-table th {
  color: var(--muted);
  background: #f2f5f7;
  font-size: 13px;
  font-weight: 900;
}

.download-table tr:last-child td {
  border-bottom: 0;
}

.manifest-fields {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.code-block {
  overflow-x: auto;
  margin: 18px 0 0;
  padding: 16px;
  color: #d9f0ee;
  background: #14212c;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer {
  justify-content: space-between;
  gap: 28px;
  padding: 32px 40px;
  color: var(--muted);
  background: #12212d;
  border-top: 1px solid #243747;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
}

.site-footer p {
  margin-bottom: 0;
  line-height: 1.7;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer a {
  color: #d9e5eb;
  font-weight: 800;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .product-panel,
  .profile-panel,
  .download-summary,
  .status-panel,
  .release-layout {
    grid-template-columns: 1fr;
  }

  .process-list,
  .support-grid,
  .module-grid,
  .contract-list,
  .company-grid,
  .closed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .topbar {
    min-height: auto;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
  }

  .nav {
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 260px;
  }

  .nav > :nth-child(n + 4) {
    display: none;
  }

  .nav-action {
    padding: 9px 12px;
  }

  .hero,
  .page-hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-copy,
  .page-hero-copy {
    min-width: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 66px;
  }

  h1 {
    font-size: 54px;
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .page-hero h1 {
    font-size: 42px;
    line-height: 1.08;
  }

  .lead {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .page-actions,
  .panel-actions,
  .summary-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .hero-metrics,
  .visual-main,
  .site-map-grid,
  .process-list,
  .route-grid,
  .support-grid,
  .module-grid,
  .contract-list,
  .company-grid,
  .closed-grid {
    grid-template-columns: 1fr;
  }

  .visual-column {
    min-height: auto;
  }

  .visual-status {
    display: grid;
  }

  .section {
    padding: 56px 20px;
  }

  .product-panel,
  .profile-panel,
  .notice-panel,
  .download-summary,
  .status-panel,
  .release-card,
  .manifest-panel {
    padding: 22px;
  }

  .download-table,
  .download-table thead,
  .download-table tbody,
  .download-table tr,
  .download-table th,
  .download-table td {
    display: block;
    width: 100%;
  }

  .download-table thead {
    display: none;
  }

  .download-table tr {
    border-bottom: 1px solid var(--line);
  }

  .download-table tr:last-child {
    border-bottom: 0;
  }

  .download-table td {
    border-bottom: 0;
    padding: 10px 0;
  }

  .download-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
  }

  .footer {
    display: grid;
    padding: 24px 20px;
  }

  .site-footer {
    display: grid;
    padding: 28px 20px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

/* Home redesign: HNLX-SITE-DEV-DESIGN-001 */
.home-page {
  background: #f7f9fb;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  gap: 42px;
  align-items: center;
  min-height: 720px;
  padding: 76px 40px 86px;
  background:
    linear-gradient(180deg, #f7f9fb 0%, #edf3f5 100%);
  border-bottom: 1px solid var(--line);
}

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

.home-hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 6vw, 88px);
  line-height: 1.04;
}

.tertiary {
  color: #223342;
  background: #fff;
  border-color: #cbd7df;
}

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

.button:focus-visible,
.text-link:focus-visible,
.brand:focus-visible,
.nav a:focus-visible {
  outline: 3px solid rgba(29, 79, 145, 0.28);
  outline-offset: 3px;
}

.home-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0 0;
}

.home-proof div {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.home-proof dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.home-proof dd {
  margin: 8px 0 0;
  color: #182532;
  font-weight: 900;
}

.workflow-console {
  padding: 18px;
  background: #fff;
  border: 1px solid #cbd7df;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(23, 32, 42, 0.12);
}

.console-head,
.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.console-head {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}

.console-head span,
.console-head strong,
.demo-toolbar small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  position: relative;
  margin: 22px 0;
}

.flow-rail::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: #cbd7df;
}

.flow-node {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 116px;
  padding: 0 6px;
  text-align: center;
}

.flow-node span {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--blue);
  background: #fff;
  border: 2px solid #cbd7df;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.flow-node.is-done span {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.flow-node.is-active span {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  animation: node-pulse 2.8s ease-in-out infinite;
}

.flow-node strong {
  font-size: 15px;
}

.flow-node small {
  color: var(--muted);
  line-height: 1.45;
}

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

.console-grid article,
.pain-grid article,
.capability-grid article,
.deploy-grid article {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.console-grid small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.console-grid strong {
  display: block;
  margin-bottom: 14px;
  line-height: 1.35;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status-running {
  color: #1d4f91;
  background: #e9f2ff;
  border: 1px solid #c8ddf7;
}

.status-done {
  color: #0a5f58;
  background: #e7f6f3;
  border: 1px solid #bfe5df;
}

.status-review {
  color: #9a5b00;
  background: #fff5de;
  border: 1px solid #f2d493;
}

.status-waiting {
  color: #536170;
  background: #eef2f5;
  border: 1px solid #d8e0e6;
}

.home-section {
  padding: 78px 40px;
}

.workflow-section,
.deploy-section,
.contact-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pain-grid,
.capability-grid,
.deploy-grid {
  display: grid;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

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

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

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

.pain-grid p,
.capability-grid p,
.deploy-grid p,
.workflow-steps p,
.product-demo p,
.action-section p {
  color: var(--muted);
  line-height: 1.7;
}

.workflow-board,
.product-demo,
.action-section {
  max-width: 1120px;
  margin: 0 auto;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.workflow-steps li {
  min-height: 250px;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
}

.workflow-steps li:last-child {
  border-right: 0;
}

.workflow-steps span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 900;
}

.workflow-steps strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.demo-section {
  background: #f7f9fb;
}

.product-demo {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 430px;
  background: #fff;
  border: 1px solid #cbd7df;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(23, 32, 42, 0.1);
}

.demo-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  color: #d8e6ee;
  background: #152333;
}

.demo-sidebar strong {
  display: block;
  margin-bottom: 18px;
  color: #fff;
  font-size: 22px;
}

.demo-sidebar span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  font-weight: 800;
}

.demo-main {
  min-width: 0;
  padding: 24px;
}

.demo-toolbar {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.demo-toolbar strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.demo-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.demo-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr 1fr;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.demo-row:last-child {
  border-bottom: 0;
}

.demo-head {
  min-height: 46px;
  color: var(--muted);
  background: #f2f5f7;
  font-size: 13px;
  font-weight: 900;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  vertical-align: middle;
}

.status-dot.done {
  background: var(--brand);
}

.status-dot.review {
  background: #d88a00;
}

.status-dot.running {
  background: var(--blue);
}

.action-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.action-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contact-section {
  border-bottom: 0;
}

@keyframes node-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(29, 79, 145, 0.24);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(29, 79, 145, 0);
  }
}

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

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

  .button:hover {
    transform: none;
  }
}

@media (max-width: 1080px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .flow-rail,
  .workflow-steps,
  .pain-grid,
  .deploy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-rail::before {
    display: none;
  }

  .workflow-steps li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-steps li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 820px) {
  .home-hero,
  .home-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .home-hero {
    padding-top: 48px;
    padding-bottom: 58px;
  }

  .home-proof,
  .console-grid,
  .capability-grid,
  .deploy-grid,
  .product-demo,
  .action-section {
    grid-template-columns: 1fr;
  }

  .action-panel {
    justify-content: flex-start;
  }

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

  .demo-sidebar strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .home-hero h1 {
    font-size: clamp(36px, 12vw, 48px);
  }

  .home-hero .lead {
    font-size: 17px;
  }

  .flow-rail,
  .workflow-steps,
  .pain-grid,
  .capability-grid,
  .deploy-grid {
    grid-template-columns: 1fr;
  }

  .workflow-steps li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .flow-node {
    min-height: auto;
    grid-template-columns: 44px 1fr;
    justify-items: start;
    text-align: left;
  }

  .flow-node small {
    grid-column: 2;
  }

  .demo-sidebar {
    display: none;
  }

  .demo-main {
    padding: 18px;
  }

  .demo-row {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
    padding: 14px;
  }

  .demo-head {
    display: none;
  }

  .action-section {
    padding: 24px 20px;
  }
}

/* 3D digital production service pages */
.dp-page {
  background: #f7f9fb;
}

.dp-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 44px;
  align-items: center;
  min-height: 640px;
  padding: 78px 40px 86px;
  background: linear-gradient(180deg, #f8fafb 0%, #edf3f5 100%);
  border-bottom: 1px solid var(--line);
}

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

.dp-hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.05;
}

.dp-visual {
  display: grid;
  gap: 20px;
  padding: 22px;
  background: #fff;
  border: 1px solid #cbd7df;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(23, 32, 42, 0.12);
}

.mesh-preview,
.model-stack {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(29, 79, 145, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(29, 79, 145, 0.08) 1px, transparent 1px),
    #f8fafb;
  background-size: 28px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mesh-preview span {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(29, 79, 145, 0.45);
  transform: rotate(45deg) skew(8deg, 8deg);
}

.mesh-preview span:nth-child(1) {
  top: 62px;
  left: 64px;
}

.mesh-preview span:nth-child(2) {
  top: 82px;
  left: 132px;
  border-color: rgba(15, 118, 110, 0.48);
}

.mesh-preview span:nth-child(3) {
  top: 126px;
  left: 92px;
  border-color: rgba(180, 83, 9, 0.42);
}

.mesh-preview strong {
  position: absolute;
  right: 18px;
  bottom: 16px;
  font-size: 42px;
  color: rgba(23, 32, 42, 0.16);
}

.model-stack {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 32px;
}

.model-stack span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #213241;
  font-weight: 900;
}

.model-stack span::after {
  content: "";
  width: 42%;
  height: 8px;
  background: #dbe5eb;
  border-radius: 999px;
}

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

.dp-pipeline span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 10px;
  background: #eef4f6;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.dp-section {
  padding: 78px 40px;
}

.dp-band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dp-card-grid,
.resource-grid,
.scenario-grid,
.dp-entry-grid {
  display: grid;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.dp-card-grid,
.resource-grid,
.scenario-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.dp-card-grid article,
.resource-grid article,
.scenario-grid article,
.dp-entry-grid a {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dp-card-grid p,
.scenario-grid p,
.dp-action p,
.dp-entry-grid span {
  color: var(--muted);
  line-height: 1.7;
}

.dp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dp-steps li {
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.dp-steps li:last-child {
  border-right: 0;
}

.dp-steps span,
.dp-entry-grid small {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.dp-steps strong,
.scenario-grid strong,
.dp-entry-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 19px;
}

.dp-steps p {
  color: var(--muted);
  line-height: 1.7;
}

.resource-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
}

.resource-grid h3 {
  margin-bottom: 6px;
}

.resource-grid a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: var(--brand-strong);
  background: #f2f6f7;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.resource-grid a:hover,
.dp-entry-grid a:hover {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 10px 28px rgba(23, 32, 42, 0.08);
}

.dp-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dp-entry-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 1080px) {
  .dp-hero,
  .dp-action {
    grid-template-columns: 1fr;
  }

  .dp-card-grid,
  .resource-grid,
  .scenario-grid,
  .dp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dp-steps li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dp-steps li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .dp-hero,
  .dp-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .dp-hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 58px;
  }

  .dp-card-grid,
  .resource-grid,
  .scenario-grid,
  .dp-entry-grid,
  .dp-steps,
  .dp-pipeline {
    grid-template-columns: 1fr;
  }

  .dp-visual {
    padding: 18px;
  }

  .mesh-preview,
  .model-stack {
    min-height: 220px;
  }

  .dp-steps li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .dp-steps li:last-child {
    border-bottom: 0;
  }

  .dp-action {
    padding: 24px 20px;
  }
}
