* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1b2d54;
  --navy-2: #243660;
  --teal: #028090;
  --teal-bright: #02a8be;
  --teal-dark: #026e7a;
  --paper: #f0f4f8;
  --white: #ffffff;
  --ink: #1b2d54;
  --muted: #4a5568;
  --line: #d8e2ec;
  --risk: #7f1d1d;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Work Sans", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}

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

a {
  color: inherit;
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 3px solid var(--teal);
  box-shadow: 0 2px 12px rgba(27, 45, 84, 0.09);
}

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

.logo img {
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-family: "Space Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 4px;
}

.nav-cta:hover {
  background: var(--teal-dark);
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 74px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(27, 45, 84, 0.96) 0%, rgba(27, 45, 84, 0.88) 52%, rgba(27, 45, 84, 0.66) 100%),
    url("../images/factory-readiness.png") center center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 74px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(260px, 360px);
  gap: 44px;
  align-items: end;
}

.eyebrow {
  font-family: "Space Mono", monospace;
  color: var(--teal-bright);
  letter-spacing: 2.8px;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero h1 {
  font-family: "Space Mono", monospace;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 1.06;
  margin: 18px 0 24px;
  max-width: 820px;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 690px;
  color: #dbe6ef;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.offer-box .hero-actions {
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 4px;
  border: 2px solid transparent;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.82);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

.signal-panel {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-top: 5px solid var(--teal);
  padding: 26px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.signal-panel h2 {
  font-family: "Space Mono", monospace;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.signal-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.signal-row:first-of-type {
  border-top: 0;
}

.signal-num {
  font-family: "Space Mono", monospace;
  color: var(--teal);
  font-weight: 700;
}

.signal-row p {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 72px 0;
}

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

.section.dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-family: "Space Mono", monospace;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.22;
  margin: 10px 0 14px;
  letter-spacing: 0;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 1.03rem;
}

.dark .section-head p,
.dark .lead {
  color: #cbd5e0;
}

.truth-box {
  background: var(--white);
  border-left: 6px solid var(--risk);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 12px 32px rgba(27, 45, 84, 0.08);
}

.truth-box p {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.45;
  font-weight: 700;
  margin-bottom: 22px;
}

.risk-grid,
.work-grid,
.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.risk-card,
.work-card,
.fit-card {
  background: var(--white);
  border-left: 5px solid var(--teal);
  padding: 26px;
  min-height: 100%;
  box-shadow: 0 4px 18px rgba(27, 45, 84, 0.08);
}

.risk-card h3,
.work-card h3,
.fit-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.risk-card p,
.work-card p,
.fit-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.fit-section .section-head {
  margin-bottom: 30px;
}

.fit-section .fit-grid {
  max-width: 1040px;
  margin: 0 auto;
}

.fit-card {
  display: flex;
  flex-direction: column;
}

.dark .work-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 5px solid var(--teal-bright);
  box-shadow: none;
}

.dark .work-card h3 {
  color: var(--white);
}

.dark .work-card p {
  color: #dbe6ef;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 14px;
  height: 3px;
  background: var(--teal);
}

.transaction-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 28px;
}

.transaction-item {
  padding: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.transaction-item:first-child {
  border-left: 0;
}

.transaction-item strong {
  display: block;
  font-family: "Space Mono", monospace;
  color: var(--teal-bright);
  margin-bottom: 8px;
}

.transaction-item span {
  color: #dbe6ef;
  font-size: 0.94rem;
}

.offer-box {
  background: var(--navy);
  color: var(--white);
  padding: 44px;
  border-top: 5px solid var(--teal-bright);
}

.offer-box h2 {
  margin-top: 0;
}

.offer-box p {
  color: #dbe6ef;
  margin-bottom: 24px;
}

.contact-band {
  background: var(--paper);
}

.vop-form {
  background: var(--white);
  border-top: 5px solid var(--teal);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 6px 24px rgba(27, 45, 84, 0.09);
  max-width: 980px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.vop-form label,
.checkbox-panel p {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--ink);
}

.vop-form input,
.vop-form select,
.vop-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.vop-form textarea {
  resize: vertical;
}

.vop-form input:focus,
.vop-form select:focus,
.vop-form textarea:focus {
  outline: 2px solid rgba(2, 128, 144, 0.25);
  border-color: var(--teal);
}

.checkbox-panel {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 22px;
  margin-bottom: 20px;
}

.checkbox-panel p {
  margin-bottom: 14px;
}

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

.checkbox-grid label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  font-weight: 500;
  color: var(--muted);
}

.checkbox-grid input {
  width: auto;
  margin-top: 5px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.form-print {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: stretch;
}

.contact-card {
  background: var(--white);
  border-top: 5px solid var(--teal);
  padding: 34px;
  box-shadow: 0 4px 18px rgba(27, 45, 84, 0.08);
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 12px;
}

.contact-card a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 42px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer h4 {
  color: var(--teal-bright);
  margin-bottom: 12px;
}

.footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer a:hover {
  color: var(--teal-bright);
}

.footer-logo {
  width: 158px;
  background: var(--white);
  padding: 8px;
  margin-bottom: 14px;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .risk-grid,
  .work-grid,
  .fit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fit-section .fit-grid {
    grid-template-columns: 1fr;
  }

  .transaction-strip {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav-links {
    display: none;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 28px 20px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 14px 30px rgba(27, 45, 84, 0.12);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero {
    padding: 54px 0 36px;
    background:
      linear-gradient(180deg, rgba(27, 45, 84, 0.97) 0%, rgba(27, 45, 84, 0.9) 100%),
      url("../images/factory-readiness.png") center center / cover no-repeat;
  }

  .section {
    padding: 54px 0;
  }

  .risk-grid,
  .work-grid,
  .fit-grid,
  .checkbox-grid,
  .transaction-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .transaction-item,
  .transaction-item:first-child {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .transaction-item:first-child {
    border-top: 0;
  }

  .offer-box {
    padding: 30px 24px;
  }
}

@media print {
  .navbar,
  .hero,
  .footer,
  .form-actions {
    display: none;
  }

  .section {
    padding: 24px 0;
  }

  .vop-form {
    box-shadow: none;
    border: 1px solid #999;
  }
}
