:root {
  --ink: #15120d;
  --charcoal: #24211c;
  --paper: #fbf7ef;
  --warm: #efe2ce;
  --warm-2: #f5ecdf;
  --gold: #c88318;
  --gold-2: #e9ba57;
  --teal: #1b756f;
  --blue: #2d5976;
  --line: rgba(31, 27, 20, 0.14);
  --white: #fffdf8;
  --muted: #70685e;
  --shadow: 0 20px 55px rgba(26, 22, 16, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

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

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

.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;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 10px 56px;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(31, 27, 20, 0.12);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 12px 30px rgba(31, 27, 20, 0.08);
}

.brand-link {
  display: block;
  flex: 0 0 auto;
}

.brand-link img {
  width: clamp(176px, 16vw, 206px);
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: rgba(21, 18, 13, 0.74);
  font-size: 14px;
  font-weight: 720;
}

.site-nav a {
  padding: 12px 0;
}

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

.header-note {
  color: rgba(21, 18, 13, 0.64);
  font-size: 13px;
  white-space: nowrap;
}

.button {
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 780;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--gold);
  color: #15120d;
  box-shadow: 0 12px 28px rgba(200, 131, 24, 0.26);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.32);
  background: rgba(255, 253, 248, 0.08);
}

.nav-toggle {
  display: none;
}

.hero-section {
  min-height: calc(100svh - 104px);
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 13, 10, 0.88) 0%, rgba(15, 13, 10, 0.7) 38%, rgba(15, 13, 10, 0.28) 74%, rgba(15, 13, 10, 0.54) 100%),
    image-set(
      url("./assets/factory-ai-discovery.webp") type("image/webp"),
      url("./assets/factory-ai-discovery.png") type("image/png")
    ) center / cover no-repeat;
}

.hero-content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 650px) 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 56px 70px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 840;
  text-transform: uppercase;
  margin: 0;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero-copy h1 {
  margin: 18px 0;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 650px;
}

.hero-lead {
  margin: 0;
  color: rgba(255, 253, 248, 0.84);
  font-size: 22px;
  line-height: 1.55;
  max-width: 610px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  max-width: 620px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  background: rgba(255, 253, 248, 0.14);
}

.hero-stats div {
  min-height: 88px;
  padding: 18px;
  background: rgba(19, 16, 12, 0.72);
}

.hero-stats strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  color: var(--gold-2);
  margin-bottom: 10px;
}

.hero-stats span {
  display: block;
  color: rgba(255, 253, 248, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.diagnosis-panel {
  justify-self: end;
  width: min(440px, 100%);
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 253, 248, 0.58);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.panel-title span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.panel-title strong {
  font-size: 22px;
}

.score-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: conic-gradient(var(--teal) 0 62%, #ded4c3 62% 100%);
  box-shadow: inset 0 0 0 10px rgba(255, 253, 248, 0.94);
  font-weight: 860;
  font-size: 20px;
}

.audit-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.audit-row {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 8px;
  padding: 10px 12px;
}

.audit-row i {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: block;
  background:
    linear-gradient(135deg, transparent 43%, var(--teal) 43% 57%, transparent 57%) 7px 10px / 12px 8px no-repeat,
    #edf7f4;
}

.audit-row strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.audit-row span {
  color: var(--muted);
  font-size: 12px;
}

.audit-row b {
  font-size: 12px;
  color: var(--blue);
  background: #edf5f8;
  border: 1px solid #d2e4eb;
  padding: 5px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.service-strip {
  max-width: 1168px;
  margin: -44px auto 0;
  position: relative;
  z-index: 3;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(48, 37, 22, 0.08);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.service-strip article {
  min-height: 154px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.service-strip article:last-child {
  border-right: 0;
}

.service-strip span,
.process-grid span {
  color: var(--gold);
  font-weight: 860;
  font-size: 13px;
}

.service-strip h3,
.process-grid h3,
.industry-grid h3 {
  margin: 14px 0 10px;
  font-size: 20px;
}

.service-strip p,
.process-grid p,
.industry-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.proof-section {
  background: #16130f;
  color: var(--white);
  padding: 120px 56px 74px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 54px;
  align-items: center;
}

.section-copy,
.product-preview,
.section-head,
.process-grid,
.industry-grid,
.identity-section,
.faq-section,
.contact-section {
  max-width: 1168px;
}

.section-copy {
  justify-self: end;
}

.section-copy h2,
.section-head h2,
.identity-copy h2,
.contact-copy h2 {
  margin: 12px 0 18px;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-copy p,
.identity-copy p,
.contact-copy p {
  margin: 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: 17px;
  line-height: 1.75;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.metric-grid div {
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.06);
}

.metric-grid strong {
  display: block;
  color: var(--gold-2);
  font-size: 28px;
  margin-bottom: 8px;
}

.metric-grid span {
  color: rgba(255, 253, 248, 0.7);
  font-size: 13px;
}

.product-preview {
  min-height: 392px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.18);
  background: linear-gradient(135deg, rgba(233, 186, 87, 0.14), rgba(27, 117, 111, 0.1)), #211d17;
  padding: 28px;
  display: grid;
  align-content: space-between;
  gap: 28px;
}

.preview-window {
  background: rgba(255, 253, 248, 0.94);
  border-radius: 8px;
  border: 1px solid rgba(255, 253, 248, 0.26);
  overflow: hidden;
  color: var(--ink);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

.preview-top {
  min-height: 68px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(31, 27, 20, 0.12);
}

.preview-top img {
  width: 156px;
  height: auto;
  display: block;
}

.preview-top span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 820;
  background: #edf7f4;
  border: 1px solid #d8ece8;
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}

.preview-body {
  padding: 22px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.preview-body h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.preview-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.progress {
  height: 12px;
  border-radius: 999px;
  background: #e9dfd0;
  overflow: hidden;
  margin: 20px 0 14px;
}

.progress span {
  display: block;
  width: 68%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}

.preview-body ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.preview-body li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 27, 20, 0.1);
  border-radius: 7px;
  background: #fffaf1;
  font-size: 13px;
}

.preview-body b {
  color: var(--teal);
}

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

.preview-cards div {
  min-height: 78px;
  border-radius: 8px;
  border: 1px solid rgba(233, 186, 87, 0.36);
  background: rgba(255, 253, 248, 0.06);
  padding: 14px;
}

.preview-cards strong {
  display: block;
  color: var(--gold-2);
  margin-bottom: 8px;
}

.preview-cards span {
  display: block;
  color: rgba(255, 253, 248, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.process-section,
.industries-section,
.faq-section {
  padding: 74px 56px 90px;
}

.process-section {
  background: var(--warm);
}

.industries-section {
  background: var(--paper);
}

.section-head {
  margin: 0 auto 30px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}

.section-head h2 {
  margin: 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
}

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

.process-grid article,
.industry-grid article {
  background: var(--white);
  border: 1px solid rgba(31, 27, 20, 0.12);
  border-radius: 8px;
  padding: 26px;
  min-height: 220px;
}

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

.industry-grid article {
  min-height: 190px;
}

.identity-section {
  margin: 0 auto;
  padding: 88px 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
}

.identity-media {
  border-radius: 8px;
  overflow: hidden;
  background: #17130f;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.identity-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.identity-copy p {
  color: var(--muted);
}

.identity-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.identity-list div {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.identity-list b {
  color: var(--gold);
}

.identity-list span {
  color: var(--muted);
}

.faq-section {
  background: #15120d;
  color: var(--white);
}

.faq-section .section-head p {
  color: rgba(255, 253, 248, 0.68);
}

.faq-list {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: 8px;
  padding: 0 20px;
}

.faq-list summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-weight: 820;
}

.faq-list summary::after {
  content: "+";
  color: var(--gold-2);
  font-size: 24px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 0 22px;
  color: rgba(255, 253, 248, 0.72);
  line-height: 1.75;
}

.contact-section {
  margin: 0 auto;
  padding: 88px 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: start;
}

.contact-copy p {
  color: var(--muted);
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--teal);
  font-weight: 760;
}

.contact-methods-title {
  color: var(--teal);
  font-weight: 820;
}

.wechat-card {
  width: min(100%, 430px);
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(31, 27, 20, 0.12);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 16px 34px rgba(48, 37, 22, 0.08);
}

.wechat-card .wechat-qr {
  display: block;
  width: 118px !important;
  min-width: 118px;
  max-width: 118px;
  height: 118px !important;
  aspect-ratio: 1;
  object-fit: contain;
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid rgba(31, 27, 20, 0.1);
  border-radius: 8px;
  background: var(--white);
}

.wechat-card-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.wechat-card-copy strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}

.wechat-card-copy span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.5;
}

.wechat-card-copy a {
  color: var(--teal);
  font-weight: 820;
  word-break: break-all;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 18px 46px rgba(48, 37, 22, 0.08);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label:nth-child(3) {
  grid-column: span 2;
}

.contact-form span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(31, 27, 20, 0.18);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 131, 24, 0.12);
}

.contact-form button,
.form-status {
  grid-column: span 2;
}

.form-status {
  margin: 0;
  color: var(--teal);
  line-height: 1.6;
  min-height: 22px;
}

.page-main {
  background: var(--paper);
}

.page-hero {
  padding: 82px 56px 66px;
  background:
    linear-gradient(110deg, rgba(255, 253, 248, 0.96), rgba(245, 236, 223, 0.92)),
    image-set(
      url("./assets/factory-ai-discovery.webp") type("image/webp"),
      url("./assets/factory-ai-discovery.png") type("image/png")
    ) center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 1040px;
}

.page-hero h1 {
  margin: 12px 0 18px;
  max-width: 900px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.page-lead {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
}

.page-band {
  padding: 72px 56px;
}

.page-band.alt {
  background: var(--warm-2);
}

.page-band.dark {
  background: var(--ink);
  color: var(--white);
}

.page-band.dark .page-lead,
.page-band.dark p,
.page-band.dark li {
  color: rgba(255, 253, 248, 0.72);
}

.page-band h2 {
  margin: 0 0 16px;
  max-width: 820px;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.page-band > p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

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

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

.page-card {
  min-height: 190px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
}

.page-card h2,
.page-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: 0;
}

.page-card p,
.page-card li {
  color: var(--muted);
  line-height: 1.72;
}

.page-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.page-step {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.page-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-list {
  margin: 24px 0 0;
  padding-left: 20px;
  max-width: 820px;
  color: var(--muted);
  line-height: 1.9;
}

.page-list code {
  background: rgba(31, 27, 20, 0.08);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.92em;
}

.compact-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.dark-ghost {
  color: var(--ink);
  border-color: rgba(31, 27, 20, 0.22);
  background: rgba(255, 253, 248, 0.72);
}

.timeline-grid,
.case-study-grid,
.monitor-grid,
.reference-list {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.timeline-grid,
.case-study-grid,
.monitor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.timeline-card,
.case-study-card,
.monitor-card,
.reference-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
}

.timeline-card {
  min-height: 360px;
}

.timeline-card span,
.case-study-card span,
.monitor-card span,
.reference-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 820;
}

.timeline-card h3,
.case-study-card h3,
.monitor-card h3,
.reference-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.32;
}

.timeline-card p,
.timeline-card li,
.case-study-card p,
.case-study-card dd,
.monitor-card p,
.reference-card p {
  color: var(--muted);
  line-height: 1.72;
}

.timeline-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.case-study-card {
  min-height: 520px;
}

.case-study-card dl {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.case-study-card dl div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.case-study-card dt {
  color: var(--ink);
  font-weight: 820;
  margin-bottom: 6px;
}

.case-study-card dd {
  margin: 0;
}

.evidence-table {
  max-width: 980px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.evidence-table div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.evidence-table div:last-child {
  border-bottom: 0;
}

.evidence-table strong {
  color: var(--gold);
}

.evidence-table span {
  color: var(--muted);
  line-height: 1.7;
}

.reference-card.primary {
  max-width: 820px;
}

.reference-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 820;
  border-bottom: 1px solid rgba(27, 117, 111, 0.32);
}

.monitor-card {
  min-height: 220px;
}

.site-footer {
  min-height: 142px;
  padding: 30px 56px;
  background: #11100d;
  color: var(--white);
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.footer-logo-frame {
  width: 104px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.footer-logo-frame img {
  width: 92px;
  height: 102px;
  object-fit: contain;
  display: block;
}

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

.site-footer span,
.site-footer p {
  color: rgba(255, 253, 248, 0.62);
}

.site-footer p {
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .site-header {
    padding-left: 32px;
    padding-right: 32px;
  }

  .site-nav {
    gap: 18px;
  }

  .proof-section,
  .identity-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-copy {
    justify-self: stretch;
    max-width: 760px;
  }

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

@media (max-width: 900px) {
  .site-header {
    min-height: 88px;
    padding: 10px 18px;
  }

  .brand-link img {
    width: 154px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    display: grid;
    place-content: center;
    gap: 7px;
    padding: 0;
    order: 3;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--ink);
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    background: rgba(255, 253, 248, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 45px rgba(31, 27, 20, 0.12);
    padding: 12px 18px 18px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(31, 27, 20, 0.08);
  }

  .header-note {
    display: none;
  }

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

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(15, 13, 10, 0.9) 0%, rgba(15, 13, 10, 0.76) 52%, rgba(15, 13, 10, 0.42) 100%),
      image-set(
        url("./assets/factory-ai-discovery-mobile.webp") type("image/webp"),
        url("./assets/factory-ai-discovery.webp") type("image/webp"),
        url("./assets/factory-ai-discovery.png") type("image/png")
      ) center / cover no-repeat;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 34px 18px 82px;
    gap: 26px;
    align-items: start;
  }

  .hero-copy h1 {
    font-size: 48px;
    max-width: 350px;
  }

  .hero-lead {
    font-size: 18px;
    max-width: 340px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 260px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 28px;
    max-width: 340px;
  }

  .diagnosis-panel {
    justify-self: stretch;
    width: 100%;
    padding: 18px;
  }

  .service-strip {
    margin: -44px 18px 0;
    grid-template-columns: 1fr;
  }

  .service-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-section,
  .process-section,
  .industries-section,
  .identity-section,
  .faq-section,
  .contact-section,
  .page-hero,
  .page-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-hero {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .page-lead {
    font-size: 17px;
  }

  .proof-section {
    padding-top: 88px;
  }

  .section-copy h2,
  .section-head h2,
  .identity-copy h2,
  .contact-copy h2 {
    font-size: 31px;
  }

  .metric-grid,
  .preview-body,
  .preview-cards,
  .process-grid,
  .industry-grid,
  .contact-form,
  .page-grid,
  .page-grid.two,
  .timeline-grid,
  .case-study-grid,
  .monitor-grid,
  .reference-list.two,
  .reference-list.three {
    grid-template-columns: 1fr;
  }

  .timeline-card,
  .case-study-card,
  .monitor-card {
    min-height: auto;
  }

  .evidence-table div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .product-preview {
    min-height: 260px;
    padding: 16px;
  }

  .preview-top {
    align-items: start;
    flex-direction: column;
  }

  .preview-top img {
    width: 150px;
  }

  .section-head {
    display: grid;
  }

  .identity-section,
  .contact-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .identity-media {
    min-height: 280px;
  }

  .identity-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-form label:nth-child(3),
  .contact-form button,
  .form-status {
    grid-column: auto;
  }

  .wechat-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .wechat-card .wechat-qr {
    width: 104px !important;
    min-width: 104px;
    max-width: 104px;
    height: 104px !important;
    padding: 7px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 30px 18px;
  }

  .site-footer p {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .header-actions .button {
    min-height: 40px;
    padding: 0 14px;
  }

  .audit-row {
    grid-template-columns: 26px 1fr;
  }

  .audit-row b {
    grid-column: 2;
    width: max-content;
  }

  .wechat-card {
    grid-template-columns: 1fr;
    max-width: 260px;
  }

  .wechat-card .wechat-qr {
    width: 150px !important;
    min-width: 150px;
    max-width: 150px;
    height: 150px !important;
  }
}
