:root {
  color-scheme: light;
  --paper: #fafaf8;
  --paper-2: #f0f0ee;
  --ink: #0a0a0a;
  --muted: #737373;
  --line: #d4d4d2;
  --line-soft: rgba(10, 10, 10, 0.12);
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --deep: #0a0a0a;
  --deep-2: #141414;
  --accent: #004391;
  --accent-soft: rgba(0, 67, 145, 0.08);
  --accent-mid: rgba(0, 67, 145, 0.18);
  --teal: #004391;
  --teal-2: #004391;
  --blue: #004391;
  --orange: #ff6b35;
  --green: #1f8a52;
  --shadow: none;
  --radius: 0;
  --container: 1240px;
  --header-h: 36px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 1024px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, Helvetica Neue, Helvetica, "PingFang SC", "Microsoft YaHei UI",
    "Noto Sans SC", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.no-scroll {
  overflow: hidden;
}

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

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

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

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

.section {
  position: relative;
  padding: 68px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.section-dark {
  background: var(--deep);
  color: var(--paper);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-width: 1024px;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
  padding: 0 max(32px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(250, 250, 248, 0.94);
  color: var(--ink);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(250, 250, 248, 0.98);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.brand-full {
  display: none;
  width: 148px;
  height: auto;
}

.brand-mark {
  display: block;
  width: 15px;
  height: 15px;
}

.brand-name {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
}

.ghost-link {
  font-size: 12px;
  font-weight: 500;
}

.desktop-nav a,
.ghost-link {
  opacity: 0.68;
  transition:
    opacity 160ms ease,
    color 160ms ease;
}

.desktop-nav a:hover,
.ghost-link:hover {
  opacity: 1;
  color: var(--accent);
}

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

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0 22px;
  background: transparent;
  color: currentColor;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

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

.button:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(0, 67, 145, 0.28);
  outline-offset: 3px;
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background-color: rgb(1 14 48 / 70%);
}

.button-secondary:hover {
  background: #ffffff;
  color: var(--accent);
}

.hero .button-primary {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--accent);
  min-width: 240px;
}

.hero .button-primary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent);
}

.section:not(.section-dark) .button-secondary,
.button-secondary.on-light {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.section:not(.section-dark) .button-secondary:hover,
.button-secondary.on-light:hover {
  color: #ffffff;
  background: var(--ink);
}

.button-small {
  min-height: 28px;
  padding: 0 12px;
  font-size: 12px;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--accent);
}

.menu-toggle svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle.is-open svg {
  transform: rotate(90deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: flex-start;
  padding: 76px 0 0;
  background-color: #0d1323;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    url("./assets/generated/hero-dark-bg-img.png");
  background-position:
    center,
    bottom center;
  background-repeat:
    no-repeat,
    no-repeat;
  background-size:
    cover,
    100% auto;
  color: #ffffff;
  overflow: hidden;
}

.final-bg {
  position: absolute;
  inset: 0;
  opacity: 1;
}

.final-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.final-bg::after {
  background:
    linear-gradient(90deg, rgba(0, 28, 94, 0.92), rgba(0, 28, 94, 0.54) 48%, rgba(0, 28, 94, 0.24)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.3), transparent 58%);
}

.final-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 22px;
}
.eyebrow {
  margin: 0;
  color: currentColor;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.68;
  text-transform: uppercase;
}

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

h1 {
  max-width: 1120px;
  margin-bottom: 15px;
  font-size: 3.65rem;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: 0;
}

h1 span {
  display: inline;
}

h2 {
  max-width: 900px;
  margin-bottom: 12px;
  font-size: 3rem;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.22;
}

.hero-lede {
  max-width: 1120px;
  margin-bottom: 17px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
  text-align: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-copy {
  max-width: 1120px;
  padding-top: 85px;
  margin: 0 auto;
  text-align:center;
}

.hero-copy h1 {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.hero-copy .cta-row {
  justify-content: center;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.66;
}

.pain-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: stretch;
}

.image-placeholder {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--muted);
}

.image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(10, 10, 10, 0.07) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(10, 10, 10, 0.07) 0 1px, transparent 1px 56px);
}

.section-dark .image-placeholder,
.hero .image-placeholder,
.final-cta .image-placeholder {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--accent);
  color: rgba(255, 255, 255, 0.7);
}

.section-dark .image-placeholder::before,
.hero .image-placeholder::before,
.final-cta .image-placeholder::before {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 44px);
}

.image-placeholder > span {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid currentColor;
  border-radius: 0;
  padding: 0 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
}

.section-dark .image-placeholder > span,
.hero .image-placeholder > span,
.final-cta .image-placeholder > span {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.78);
}

.placeholder-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 12px);
  opacity: 0.08;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 84%, transparent);
}

.placeholder-scan {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 22%;
  background: rgba(255, 255, 255, 0.14);
  animation: scan 7s linear infinite;
}

.factory-silhouette {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 18%;
  z-index: 2;
  height: 34%;
  opacity: 0.76;
  background:
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(0, 67, 145, 0.24) 37px 39px),
    var(--paper-2);
  clip-path: polygon(0 100%, 0 48%, 14% 48%, 14% 28%, 28% 28%, 28% 56%, 46% 56%, 46% 18%, 62% 18%, 62% 44%, 78% 44%, 78% 30%, 100% 30%, 100% 100%);
}

.image-panel {
  min-height: 420px;
}

.generated-visual {
  position: relative;
  overflow: visible;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.generated-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.generated-visual-contain img {
  object-fit: contain;
}

.generated-visual-cover img {
  object-fit: contain;
}

.generated-visual-dark {
  border-color: rgba(255, 255, 255, 0.2);
  background: #001c5e;
}

.generated-visual-dark::after,
.matrix-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.generated-visual-dark::after {
  background: rgba(0, 0, 0, 0.28);
}

.matrix-bg::after {
  background: rgba(240, 240, 238, 0.3);
}

.matrix-bg,
.flow-stage {
  overflow: hidden;
}

.matrix-bg img,
.flow-stage img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.matrix-bg img {
  object-fit: contain;
}

.pain-visual-panel {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.pain-visual-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 520ms ease,
    transform 720ms ease;
}

.pain-visual-panel img.is-active {
  opacity: 1;
  transform: scale(1);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.pain-card,
.capability-block,
.matrix-card,
.value-card,
.outcome-card {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel-strong);
  box-shadow: none;
}

.pain-card {
  min-height: 132px;
  display: block;
  width: 100%;
  appearance: none;
  border-top: 0;
  border-left: 0;
  padding: 14px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.pain-card img {
  display: none;
}

.pain-card.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .pain-card:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
    box-shadow: none;
  }
}

.pain-card.is-active {
  outline: 1px solid var(--accent);
  outline-offset: -1px;
}

.pain-card:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid rgba(0, 67, 145, 0.26);
  outline-offset: -3px;
}

.pain-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.pain-card p,
.capability-block p,
.value-card p,
.outcome-card p,
.industry-copy p,
.solution-copy p,
.outcome-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.turning-point {
  margin: 26px 0 0;
  border-left: 0;
  border-top: 2px solid var(--accent);
  padding: 12px 0 0;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 400;
}

.turning-point span {
  color: var(--accent);
}

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

.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: 32px;
  align-items: center;
}

.solution-copy p {
  max-width: 600px;
  font-size: 14px;
  line-height: 1.66;
}

.solution-visual {
  min-height: 0;
}

.solution-visual img,
.industry-visual img {
  padding: 8px;
}

.hub-node,
.cap-node {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
}

.hub-node {
  top: 50%;
  left: 50%;
  width: 108px;
  height: 108px;
  transform: translate(-50%, -50%);
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 500;
}

.cap-node {
  width: 88px;
  height: 46px;
  font-weight: 500;
}

.node-a {
  top: 18%;
  left: 24%;
}

.node-b {
  top: 18%;
  right: 22%;
}

.node-c {
  bottom: 18%;
  left: 24%;
}

.node-d {
  right: 22%;
  bottom: 18%;
}

.hub-line {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 28%;
  height: 2px;
  background: var(--accent);
  transform-origin: left center;
  animation: dataFlow 3.6s linear infinite;
}

.line-a {
  transform: rotate(218deg);
}

.line-b {
  transform: rotate(322deg);
}

.line-c {
  transform: rotate(142deg);
}

.line-d {
  transform: rotate(38deg);
}

.capability-blocks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-block {
  border-top: 0;
  border-left: 0;
  padding: 15px;
}

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

.capability-matrix-wrap {
  position: relative;
  min-height: 465px;
}

.matrix-bg {
  position: absolute;
  inset: 0;
}

.capability-matrix {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 28px;
}

.matrix-card {
  min-height: 118px;
  margin: -1px 0 0 -1px;
  padding: 13px;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(8px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.matrix-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: #ffffff;
}

.matrix-card span {
  display: block;
  min-height: 0;
  margin-bottom: 15px;
  padding: 0;
  background: transparent;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.matrix-card strong {
  display: block;
  font-size: 1.24rem;
  font-weight: 400;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.value-card {
  overflow: hidden;
  border-top: 0;
  border-left: 0;
}

.value-visual {
  height: auto;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.value-visual img {
  padding: 10px;
}

.value-card h3,
.value-card p {
  padding-inline: 15px;
}

.value-card h3 {
  margin-top: 14px;
}

.value-card p {
  padding-bottom: 16px;
}

.value-statement {
  margin: 26px 0 0;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 400;
  text-align: left;
}

.flow-section {
  padding-bottom: 56px;
}

.flow-section .section-heading p,
.flow-section .section-heading {
  color: inherit;
}

.flow-scroll {
  overflow: visible;
}

.flow-stage {
  min-height: 0;
  aspect-ratio: 1960 / 802;
  border-color: rgba(255, 255, 255, 0.2);
  background: #001c5e;
}

.flow-stage img {
  object-fit: contain;
}

.flow-callouts {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.flow-callouts li {
  position: absolute;
  width: 154px;
  min-height: 64px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.94);
  color: #0a0a0a;
  box-shadow: 0 14px 34px rgba(0, 13, 42, 0.24);
}

.flow-callouts li::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: var(--line-h, 58px);
  border-left: 1px dashed rgba(255, 255, 255, 0.86);
  transform: translateX(-50%);
}

.flow-callouts li::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + var(--line-h, 58px));
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(65, 184, 255, 0.32);
  transform: translate(-50%, -50%);
}

.flow-callouts strong,
.flow-callouts span {
  display: block;
}

.flow-callouts strong {
  color: #050505;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.18;
}

.flow-callouts span {
  margin-top: 4px;
  color: rgba(10, 10, 10, 0.78);
  font-size: 12px;
  line-height: 1.35;
}

.callout-inbound {
  left: 9.2%;
  top: 21%;
  --line-h: 62px;
}

.callout-promise {
  left: 22.6%;
  top: 11%;
  --line-h: 74px;
}

.callout-plan {
  left: 35.5%;
  top: 4.8%;
  --line-h: 106px;
}

.callout-production {
  left: 48.8%;
  top: 12%;
  --line-h: 84px;
}

.callout-quality {
  left: 62%;
  top: 5.6%;
  --line-h: 102px;
}

.callout-outbound {
  left: 76%;
  top: 17.8%;
  --line-h: 70px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 36px;
  align-items: center;
}

.outcome-copy p {
  font-size: 14px;
}

.outcome-visual {
  margin-top: 18px;
}

.outcome-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.outcome-card {
  min-height: 186px;
  border-top: 0;
  border-left: 0;
  padding: 15px;
}

.outcome-icon {
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  margin-bottom: 21px;
  background: transparent;
  color: var(--accent);
  font-size: 3rem;
  font-weight: 200;
}

.outcome-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.25rem;
  font-weight: 400;
}

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

.industries-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.92fr);
  gap: 36px;
  align-items: center;
}

.industry-visual {
  min-height: 0;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 16px 0 14px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.industry-tags span {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0 18px;
  background: transparent;
  font-weight: 500;
}

.support-copy {
  font-size: 14px;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.pricing-card {
  min-height: 360px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px;
  background: rgba(250, 250, 248, 0.92);
}

.pricing-card-featured {
  background: #ffffff;
}

.pricing-card-head {
  min-height: 76px;
  margin-bottom: 24px;
}

.pricing-card-head span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.pricing-card-head strong {
  display: block;
  max-width: 420px;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.28;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}

.price-line small {
  color: var(--muted);
  font-size: 14px;
}

.price-line strong {
  color: var(--accent);
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 1;
}

.renewal-price {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.renewal-price span {
  color: var(--accent);
  font-weight: 600;
}

.renewal-explain {
  margin: -12px 0 20px;
  border-left: 2px solid var(--accent);
  padding-left: 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.1;
}

.pricing-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 0;
  list-style: none;
}

.pricing-list li {
  min-height: 46px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.pricing-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  border-top: 2px solid var(--accent);
  padding-top: 12px;
}

.pricing-note strong {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 500;
  white-space: nowrap;
}

.pricing-note span {
  color: var(--muted);
  font-size: 14px;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.faq-item {
  min-height: 168px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px;
  background: rgba(255, 255, 255, 0.52);
}

.faq-item h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.28;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.final-cta {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--accent);
  color: #ffffff;
}

.final-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: left;
}

.final-content h2 {
  margin-bottom: 11px;
}

.final-content p:not(.eyebrow) {
  margin-bottom: 17px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.66;
}

.site-footer {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: grid;
  gap: 7px;
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-main img {
  width: 28px;
  height: 28px;
}

.footer-brand-text {
  display: grid;
}

.footer-brand-text strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.footer-brand-text span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.1;
}

.footer-record a {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  text-decoration: none;
}

.footer-record a:hover {
  color: var(--accent);
}

.footer-qr-list {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  text-align: center;
}

.footer-qr-list figure {
  margin: 0;
  text-align: center;
}

.footer-qr-list img {
  display: block;
  width: 86px;
  height: 86px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.footer-qr-list figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.apply-page {
  min-height: 100vh;
  background-color: #001c5e;
  color: #ffffff;
}

.apply-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 28, 94, 0.95), rgba(0, 28, 94, 0.78) 46%, rgba(0, 28, 94, 0.4)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), transparent 56%),
    url("./assets/generated/final-controlled-factory-web.png") right bottom / cover no-repeat;
}

.apply-header {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(32px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.apply-header .brand-name {
  color: #ffffff;
}

.apply-header .brand-mark {
  width: 18px;
  height: 18px;
}

.apply-shell {
  display: grid;
  width: min(var(--container), calc(100% - 64px));
  min-height: calc(100vh - 48px);
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 48px;
  align-items: center;
  margin: 0 auto;
  padding: 56px 0;
}

.apply-intro {
  max-width: 580px;
}

.apply-mobile-title {
  display: none;
}

.apply-intro h1 {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 3rem;
}

.apply-intro p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.72;
}

.apply-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.apply-proof span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.apply-panel {
  border: 1px solid var(--line);
  background: rgba(250, 250, 248, 0.98);
  color: var(--ink);
}

.apply-form {
  padding: 24px;
}

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

.apply-form label {
  display: grid;
  gap: 7px;
}

.apply-form label span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.apply-form input,
.apply-form select {
  height: 44px;
}

.apply-form input[type="checkbox"] {
  padding: 0;
}

.apply-form textarea {
  min-height: 112px;
  padding-top: 10px;
  resize: vertical;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.form-wide,
.consent-row,
.form-actions {
  margin-top: 16px;
}

.checkbox-group {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.checkbox-group legend {
  margin-bottom: 7px;
  padding: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.multi-select-trigger {
  display: flex;
  width: 100%;
  height: 44px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.multi-select-trigger:focus-visible,
.multi-select-trigger[aria-expanded="true"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  outline: none;
}

.multi-select-trigger span {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.multi-select-trigger svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--muted);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.multi-select-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.checkbox-options {
  display: grid;
  position: absolute;
  z-index: 6;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
  padding: 10px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.checkbox-options[hidden] {
  display: none;
}

.checkbox-options label {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 10px 5px;
  background: #ffffff;
}

.checkbox-options label:last-child {
  border-bottom: 0;
}

@media (hover: hover) and (pointer: fine) {
  .checkbox-options label:hover {
    background: rgba(0, 70, 160, 0.06);
  }

  .checkbox-options label:hover span {
    color: var(--accent);
  }
}

.checkbox-options input {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--accent);
}

.checkbox-options label span {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.consent-row {
  display: flex;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: flex-start;
}

.consent-row input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.consent-row span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-actions .button {
  min-width: 180px;
}

.form-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

[data-apply-status] {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

[data-apply-status][data-state="success"] {
  color: var(--accent);
}

[data-apply-status][data-state="loading"] {
  color: var(--muted);
}

[data-apply-status][data-state="error"] {
  color: var(--orange);
}

.modal-open {
  overflow: hidden;
}

.success-modal[hidden] {
  display: none;
}

.success-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family:
    Inter, Helvetica Neue, Helvetica, "PingFang SC", "Microsoft YaHei UI",
    "Noto Sans SC", Arial, sans-serif;
}

.success-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 28, 94, 0.64);
  backdrop-filter: blur(8px);
}

.success-modal-panel {
  position: relative;
  width: min(420px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  padding: 34px 30px 30px;
  background: #ffffff;
  box-shadow: 0 26px 80px rgba(0, 20, 72, 0.28);
  color: var(--ink);
  text-align: center;
  animation: modalIn 180ms ease-out;
}

.success-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(0, 70, 160, 0.1);
  color: var(--accent);
}

.success-icon svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.success-modal-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
}

.success-modal-panel p {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.success-modal-panel .button {
  width: 100%;
  justify-content: center;
}

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

.js-ready .reveal {
  transform: translateY(16px);
  opacity: 1;
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.js-ready .reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes scan {
  0% {
    left: -24%;
  }
  100% {
    left: 102%;
  }
}

@keyframes modalIn {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes dataFlow {
  0% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.72;
  }
}

@media (max-width: 520px) {
  :root {
    --header-h: 32px;
  }

  body,
  .site-header,
  .apply-page {
    min-width: 0;
  }

  .site-header {
    grid-template-columns: auto 1fr;
    min-height: var(--header-h);
    padding: 0 18px;
  }

  .apply-header {
    min-height: 44px;
    padding: 0 14px;
  }

  .apply-shell {
    width: min(100% - 28px, var(--container));
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0 42px;
  }

  .apply-desktop-eyebrow,
  .apply-desktop-title,
  .apply-proof {
    display: none;
  }

  .apply-mobile-title {
    display: block;
  }

  .apply-intro h1 {
    font-size: 2.2rem;
  }

  .apply-intro p:not(.eyebrow) {
    margin-bottom: 0;
    font-size: 14px;
  }

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

  .checkbox-options {
    grid-template-columns: 1fr;
  }

  .apply-form {
    padding: 16px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .footer-qr-list {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
  }

  .footer-qr-list img {
    width: 78px;
    height: 78px;
  }

  .desktop-nav,
  .ghost-link,
  .header-actions .button {
    display: none;
  }

  .apply-header .ghost-link {
    display: inline-flex;
    font-size: 12px;
  }

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

  .menu-toggle {
    display: inline-flex;
  }

  .brand-name {
    font-size: 14px;
  }

  .mobile-nav {
    position: fixed;
    top: var(--header-h);
    left: 12px;
    right: 12px;
    display: grid;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    box-shadow: none;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .mobile-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav a {
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 14px;
    font-weight: 500;
  }

  .mobile-nav a:hover {
    background: var(--accent-soft);
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 46px 0;
  }

  .generated-visual {
    min-height: 0;
    overflow: visible;
  }

  .generated-visual img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 300px;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)),
      url("./assets/generated/hero-dark-bg-img.png");
    background-size:
      cover,
      auto 580px;
  }
  .solution-grid,
  .pain-layout,
  .outcomes-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .pain-layout {
    display: block;
  }

  .pain-visual-panel {
    display: none;
  }

  .pain-grid {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 0;
    border-left: 0;
    padding: 0 0 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .pain-card {
    flex: 0 0 min(82vw, 335px);
    min-height: auto;
    border: 1px solid var(--line);
    padding: 0 0 15px;
    scroll-snap-align: start;
  }

  .pain-card + .pain-card {
    margin-left: 12px;
  }

  .pain-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1.5 / 1;
    border-bottom: 1px solid var(--line);
    object-fit: cover;
  }

  .pain-card span,
  .pain-card h3,
  .pain-card p {
    padding-inline: 14px;
  }

  .pain-card span {
    margin: 14px 0 5px;
  }

  .pain-card h3 {
    margin: 0;
  }

  .pain-card p {
    margin-top: 4px;
  }

  .hero-grid {
    gap: 26px;
  }

  .solution-visual,
  .image-panel,
  .industry-visual {
    min-height: 0;
  }

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

  .outcome-cards {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.68rem;
  }

  h3 {
    font-size: 1.18rem;
  }

  .hero-lede {
    font-size: 0.75rem;
  }

  .capability-blocks,
  .capability-matrix,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .capability-matrix {
    padding: 10px;
  }

  .capability-matrix-wrap {
    min-height: auto;
  }

  .matrix-bg {
    position: relative;
    min-height: 195px;
    margin-bottom: 9px;
    overflow: hidden;
  }

  .matrix-bg img {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .value-visual {
    height: 158px;
  }

  .value-grid {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 0;
    border-left: 0;
    padding: 0 0 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .value-card {
    flex: 0 0 min(82vw, 335px);
    border: 1px solid var(--line);
    scroll-snap-align: start;
  }

  .value-card + .value-card {
    margin-left: 12px;
  }

  .value-visual {
    height: auto;
  }

  .flow-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .flow-stage {
    aspect-ratio: auto;
    width: 1040px;
    min-height: 426px;
    overflow: hidden;
  }

  .flow-stage img {
    position: absolute;
    inset: 0;
    width: 1040px;
    height: 100%;
    max-width: none;
    object-fit: contain;
  }

  .flow-callouts li {
    width: 126px;
    min-height: 54px;
    padding: 8px 9px;
  }

  .flow-callouts strong {
    font-size: 14px;
  }

  .flow-callouts span {
    font-size: 10.5px;
  }

  .outcome-card {
    display: grid;
    min-height: auto;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: start;
    padding: 14px;
  }

  .outcome-icon {
    grid-row: 1 / span 2;
    margin: 0;
    font-size: 2rem;
    line-height: 1;
  }

  .outcome-card strong {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.35;
  }

  .outcome-card p {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.45;
  }

  .pricing-grid {
    display: block;
  }

  .pricing-card {
    width: 100%;
    min-height: auto;
    padding: 18px;
  }

  .price-line strong {
    font-size: 2.45rem;
  }

  .pricing-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .solution-visual,
  .image-panel,
  .industry-visual {
    min-height: 0;
  }

  .solution-visual {
    min-height: 0;
  }

  .hub-node {
    width: 88px;
    height: 88px;
  }

  .node-a {
    left: 12%;
  }

  .node-b {
    right: 10%;
  }

  .node-c {
    left: 12%;
  }

  .node-d {
    right: 10%;
  }

  .turning-point,
  .value-statement {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
