:root {
  --ink: #142027;
  --muted: #5c6971;
  --line: #d5dce1;
  --soft: #f3f6f8;
  --white: #ffffff;
  --blue: #0b61e8;
  --blue-dark: #064dbd;
  --yellow: #f5bc2e;
  --green: #17815d;
  --charcoal: #17242b;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(20, 32, 39, .1);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(20, 32, 39, .08); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 6px; }
.brand b { color: var(--blue); }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 30px; }
.main-nav a { color: #34424a; font-size: 14px; font-weight: 600; }
.main-nav a:hover { color: var(--blue); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.button svg { width: 17px; height: 17px; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.button-quiet { color: var(--ink); background: transparent; }
.button-quiet:hover { background: var(--soft); }
.button-outline { color: var(--ink); background: rgba(255, 255, 255, .65); border-color: rgba(20, 32, 39, .28); }
.button-outline:hover { background: var(--white); border-color: var(--ink); }
.button-large { min-height: 50px; padding: 0 22px; font-size: 15px; }
.menu-button { display: none; width: 42px; height: 42px; padding: 0; align-items: center; justify-content: center; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 6px; }
.menu-button svg { width: 21px; height: 21px; }

.hero {
  position: relative;
  min-height: min(710px, calc(100svh - 122px));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-image { position: absolute; inset: 0; background: url("hero-factory.png?v=20260718-4") center center / cover no-repeat; }
.hero-wash { position: absolute; inset: 0 auto 0 0; width: 56%; background: rgba(255, 255, 255, .9); border-right: 1px solid rgba(255, 255, 255, .4); }
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(70px, 10vh, 112px) 0 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--blue); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.eyebrow span { display: block; width: 34px; height: 3px; background: var(--yellow); }
.hero h1 { margin: 0; max-width: 610px; font-size: clamp(54px, 7vw, 88px); line-height: .98; font-weight: 800; }
.hero-claim { max-width: 620px; margin: 22px 0 0; font-size: clamp(25px, 3vw, 38px); line-height: 1.16; font-weight: 700; }
.hero-copy { max-width: 570px; margin: 20px 0 0; color: #44525a; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; color: #33424a; font-size: 12px; font-weight: 700; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 17px; height: 17px; color: var(--green); }
.hero-caption {
  position: absolute;
  right: max(24px, calc((100% - var(--max)) / 2));
  bottom: 24px;
  z-index: 2;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(20, 32, 39, .86);
  border-left: 4px solid var(--yellow);
  border-radius: 4px;
}
.hero-caption span, .hero-caption strong { display: block; }
.hero-caption span { margin-bottom: 4px; color: #ced8de; font-size: 11px; text-transform: uppercase; }
.hero-caption strong { font-size: 14px; }

.proof-strip {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 58px);
  padding: 18px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.proof-strip > div { display: flex; align-items: center; gap: 12px; }
.proof-strip b { color: var(--blue); font-size: 24px; }
.proof-strip span { color: #435159; font-size: 13px; font-weight: 700; }
.proof-strip > svg { width: 18px; color: #9aa6ad; }

.product-section, .modules-section, .system-section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 100px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: 70px; align-items: end; margin-bottom: 42px; }
.section-heading.compact { align-items: center; }
.section-heading .eyebrow { margin-bottom: 13px; }
.section-heading h2, .system-copy h2, .final-cta h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.1; font-weight: 800; }
.section-heading > p, .system-copy > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.product-window { overflow: hidden; background: var(--soft); border: 1px solid #bac6ce; border-radius: 7px; box-shadow: 0 28px 64px rgba(26, 47, 60, .13); }
.window-bar { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: #edf2f5; border-bottom: 1px solid #c8d1d7; font-size: 12px; font-weight: 700; }
.window-brand { display: inline-flex; align-items: center; gap: 8px; }
.window-brand img { width: 24px; height: 24px; border-radius: 4px; }
.window-status { display: inline-flex; align-items: center; gap: 7px; color: var(--green); }
.window-status i { width: 8px; height: 8px; background: var(--green); border-radius: 50%; }
.product-window > img { width: 100%; aspect-ratio: 1.9 / 1; object-fit: cover; object-position: top left; }
.product-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-facts > div { display: grid; grid-template-columns: 42px 1fr; align-items: center; column-gap: 14px; padding: 26px 30px; border-right: 1px solid var(--line); }
.product-facts > div:last-child { border-right: 0; }
.product-facts svg { grid-row: 1 / span 2; width: 30px; height: 30px; color: var(--blue); }
.product-facts strong, .product-facts span { display: block; }
.product-facts strong { margin-bottom: 4px; font-size: 15px; }
.product-facts span { color: var(--muted); font-size: 12px; line-height: 1.5; }

.modules-section { padding-top: 40px; }
.module-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: 7px; }
.module-tabs button { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; color: #44525a; background: transparent; border: 0; border-radius: 5px; font-size: 13px; font-weight: 700; cursor: pointer; }
.module-tabs button svg { width: 17px; height: 17px; }
.module-tabs button[aria-selected="true"] { color: var(--white); background: var(--blue); }
.module-stage { min-height: 550px; display: grid; grid-template-columns: 390px minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 30px; padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.module-index { color: var(--blue); font-size: 12px; font-weight: 800; }
.module-copy h3 { margin: 14px 0; font-size: 34px; }
.module-copy > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.module-copy ul { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 12px; }
.module-copy li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.module-copy li svg { width: 18px; height: 18px; padding: 3px; color: var(--white); background: var(--green); border-radius: 50%; }
.module-copy > a { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 14px; font-weight: 800; }
.module-copy > a svg { width: 17px; }
.module-visual { height: 500px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #e8edf1; border: 1px solid #bec9d1; border-radius: 7px; }
.module-visual img { width: 100%; height: 100%; object-fit: contain; object-position: center; }

.workflow-section { padding: 96px max(24px, calc((100% - var(--max)) / 2)); color: var(--white); background: var(--charcoal); }
.workflow-section .section-heading { max-width: var(--max); margin: 0 auto 48px; }
.workflow-section .section-heading > p { color: #b9c4ca; }
.eyebrow.light { color: #bcd2ff; }
.workflow-list { max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #45545c; border-bottom: 1px solid #45545c; }
.workflow-list li { min-height: 236px; padding: 24px 22px; border-right: 1px solid #45545c; }
.workflow-list li:last-child { border-right: 0; }
.workflow-list b { color: var(--yellow); font-size: 12px; }
.workflow-list svg { width: 30px; height: 30px; margin-top: 36px; color: #8db7ff; }
.workflow-list h3 { margin: 15px 0 8px; font-size: 17px; }
.workflow-list p { margin: 0; color: #b9c4ca; font-size: 12px; line-height: 1.6; }

.system-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(500px, 1.15fr); gap: 80px; align-items: center; }
.system-copy .eyebrow { margin-bottom: 14px; }
.system-copy > p { margin-top: 22px; }
.system-points { display: grid; gap: 18px; margin-top: 32px; }
.system-points > div { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 14px; }
.system-points svg { width: 38px; height: 38px; padding: 9px; color: var(--blue); background: #eaf2ff; border-radius: 6px; }
.system-points span, .system-points strong { display: block; }
.system-points strong { margin-bottom: 3px; font-size: 14px; }
.system-points span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.system-diagram { display: grid; grid-template-columns: 190px 110px minmax(0, 1fr); align-items: center; min-height: 430px; padding: 34px; background: var(--soft); border: 1px solid var(--line); border-radius: 7px; }
.system-node { min-height: 96px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px; background: var(--white); border: 1px solid #bdc9d1; border-radius: 6px; }
.system-node.primary { min-height: 180px; align-items: center; color: var(--white); background: var(--blue); border-color: var(--blue); text-align: center; }
.system-node.primary img { width: 56px; height: 56px; border-radius: 7px; }
.system-node span { color: #d6e4ff; font-size: 11px; }
.system-node svg { width: 22px; color: var(--blue); }
.system-line { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #77858d; font-size: 10px; font-weight: 700; text-align: center; }
.system-line svg { width: 30px; color: var(--blue); }
.system-nodes { display: grid; gap: 12px; }
.system-nodes .system-node { display: grid; grid-template-columns: 30px 1fr; align-items: center; min-height: 84px; }

.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 76px max(24px, calc((100% - var(--max)) / 2)); color: var(--white); background: #0f334b; border-top: 8px solid var(--yellow); }
.final-cta h2 { max-width: 760px; font-size: clamp(33px, 4vw, 50px); }
.final-cta p:not(.eyebrow) { margin: 16px 0 0; color: #c1d1da; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.button-yellow { color: var(--ink); background: var(--yellow); }
.button-yellow:hover { background: #ffd15a; }
.button-dark-outline { color: var(--white); border-color: #7792a2; }
.button-dark-outline:hover { background: rgba(255, 255, 255, .1); }

.site-footer { min-height: 170px; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 28px 50px; padding: 40px max(24px, calc((100% - var(--max)) / 2)); color: #d5dfe4; background: #101a20; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 42px; height: 42px; border-radius: 6px; }
.footer-brand span, .footer-brand strong { display: block; }
.footer-brand span { color: #8fa0a9; font-size: 11px; line-height: 1.6; }
.footer-brand strong { color: var(--white); font-size: 15px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; font-size: 12px; font-weight: 700; }
.footer-links a:hover { color: var(--yellow); }
.site-footer > p { grid-column: 1 / -1; margin: 0; padding-top: 22px; color: #798991; border-top: 1px solid #2a373e; font-size: 11px; }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .main-nav { gap: 16px; }
  .nav-actions .button-quiet { display: none; }
  .hero-wash { width: 66%; }
  .module-stage { grid-template-columns: 320px minmax(0, 1fr); gap: 32px; }
  .system-section { grid-template-columns: 1fr; gap: 48px; }
  .system-diagram { min-height: 360px; }
}

@media (max-width: 800px) {
  .site-header { height: 64px; grid-template-columns: auto 1fr auto; padding: 0 18px; }
  .brand { font-size: 18px; }
  .brand img { width: 32px; height: 32px; }
  .nav-actions { justify-self: end; }
  .nav-actions .button { display: none; }
  .menu-button { display: inline-flex; }
  .main-nav { position: absolute; top: 64px; left: 0; right: 0; display: none; padding: 10px 18px 18px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(20, 32, 39, .1); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }

  .hero { min-height: 690px; }
  .hero-image { background-position: 63% center; }
  .hero-wash { width: 100%; background: rgba(255, 255, 255, .85); }
  .hero-inner { width: calc(100% - 36px); padding: 56px 0 120px; justify-content: flex-end; }
  .hero h1 { font-size: 52px; }
  .hero-claim { max-width: 520px; font-size: 29px; }
  .hero-copy { font-size: 15px; line-height: 1.65; }
  .hero-meta { gap: 12px 16px; }
  .hero-caption { left: 18px; right: 18px; bottom: 18px; }

  .proof-strip { justify-content: flex-start; overflow-x: auto; }
  .proof-strip > div { min-width: 180px; }
  .proof-strip > svg { flex: 0 0 auto; }
  .product-section, .modules-section, .system-section { width: calc(100% - 36px); padding: 72px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .section-heading h2, .system-copy h2 { font-size: 36px; }
  .product-window > img { aspect-ratio: 1.45 / 1; }
  .product-facts { grid-template-columns: 1fr; }
  .product-facts > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .product-facts > div:last-child { border-bottom: 0; }
  .module-tabs { width: 100%; display: grid; grid-template-columns: 1fr; }
  .module-tabs button { justify-content: flex-start; }
  .module-stage { grid-template-columns: 1fr; min-height: 0; }
  .module-visual { height: 380px; grid-row: 1; }
  .module-copy { grid-row: 2; }
  .workflow-section { padding: 72px 18px; }
  .workflow-list { grid-template-columns: repeat(2, 1fr); }
  .workflow-list li:nth-child(2) { border-right: 0; }
  .workflow-list li:nth-child(-n+2) { border-bottom: 1px solid #45545c; }
  .system-diagram { grid-template-columns: 1fr; gap: 16px; }
  .system-line { flex-direction: row; justify-content: center; }
  .system-line svg { transform: rotate(90deg); }
  .final-cta { display: grid; padding: 64px 18px; }
  .final-actions { justify-content: flex-start; }
  .site-footer { grid-template-columns: 1fr; padding: 40px 18px; }
}

@media (max-width: 480px) {
  .hero { min-height: 720px; }
  .hero h1 { font-size: 44px; }
  .hero-claim { font-size: 25px; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-meta span { width: calc(50% - 8px); }
  .proof-strip { gap: 14px; }
  .product-window > img { aspect-ratio: 1.1 / 1; }
  .module-visual { height: 300px; }
  .workflow-list { grid-template-columns: 1fr; }
  .workflow-list li { min-height: 190px; border-right: 0; border-bottom: 1px solid #45545c; }
  .workflow-list li:last-child { border-bottom: 0; }
  .system-diagram { padding: 20px; }
  .final-actions .button { width: 100%; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; }
}
