:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #64716b;
  --surface: #ffffff;
  --soft: #eef3ec;
  --line: #d8e0d8;
  --primary: #146c5f;
  --primary-strong: #0d4f47;
  --amber: #ba7a15;
  --red: #ba3b3b;
  --blue: #2f69a0;
  --purple: #7357a5;
  --shadow: 0 18px 50px rgba(23, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f5f7f3;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #f7fbf5;
  background: rgba(13, 23, 20, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.site-brand,
.login-link,
.site-header nav {
  display: flex;
  align-items: center;
}

.site-brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #10211c;
  background: #e9f6ef;
  font-size: 0.78rem;
}

.site-header nav {
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(247, 251, 245, 0.84);
  font-size: 0.94rem;
}

.site-header nav a,
.login-link {
  min-height: 36px;
  align-items: center;
}

.login-link {
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: clamp(620px, 92vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #17211d;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 19, 17, 0.92) 0%, rgba(12, 19, 17, 0.76) 38%, rgba(12, 19, 17, 0.18) 72%, rgba(12, 19, 17, 0.08) 100%),
    linear-gradient(0deg, rgba(245, 247, 243, 0.98) 0%, rgba(245, 247, 243, 0) 16%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 82px);
  padding-top: 54px;
  color: #f7fbf5;
}

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

.hero .eyebrow {
  color: #8fe3c5;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(3.3rem, 9vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 680px;
  color: rgba(247, 251, 245, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.56;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-action {
  color: #ffffff;
  background: var(--primary);
}

.secondary-action {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.secondary-action.dark {
  color: var(--ink);
  border-color: var(--line);
}

.signal-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 36px));
  margin: -48px auto 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.signal-strip span {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #ffffff;
  font-weight: 900;
  text-align: center;
}

.signal-strip span:nth-child(1) { background: var(--primary); }
.signal-strip span:nth-child(2) { background: var(--blue); }
.signal-strip span:nth-child(3) { background: var(--amber); }
.signal-strip span:nth-child(4) { background: var(--red); }
.signal-strip span:nth-child(5) { background: var(--purple); }
.signal-strip span:nth-child(6) { background: #34433d; }

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 0;
}

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

.section-heading p,
.proof-section p,
.contact-section p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.standards-section {
  padding-bottom: 0;
}

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

.standards-grid article {
  min-height: 210px;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(23, 33, 29, 0.06);
}

.standards-grid article strong {
  color: var(--ink);
  font-size: 1rem;
}

.standards-grid article span {
  color: var(--muted);
  line-height: 1.56;
}

.standards-grid article:nth-child(4n + 1) {
  border-top: 4px solid var(--primary);
}

.standards-grid article:nth-child(4n + 2) {
  border-top: 4px solid var(--blue);
}

.standards-grid article:nth-child(4n + 3) {
  border-top: 4px solid var(--amber);
}

.standards-grid article:nth-child(4n + 4) {
  border-top: 4px solid var(--purple);
}

.module-grid,
.pilot-grid,
.operations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.module-grid article,
.pilot-grid article,
.operations-grid article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.module-grid article span,
.pilot-grid article strong {
  align-self: flex-start;
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
}

.module-grid article:nth-child(2) span { background: var(--amber); }
.module-grid article:nth-child(3) span { background: var(--blue); }
.module-grid article:nth-child(4) span { background: var(--purple); }

.module-grid p,
.pilot-grid p,
.operations-grid p {
  color: var(--muted);
  line-height: 1.62;
}

.modules-section {
  padding-top: 0;
}

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

.complete-module-grid article {
  min-height: 138px;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(23, 33, 29, 0.05);
}

.complete-module-grid article strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.complete-module-grid article span {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.94rem;
}

.complete-module-grid article:nth-child(4n + 1) {
  border-top: 4px solid var(--primary);
}

.complete-module-grid article:nth-child(4n + 2) {
  border-top: 4px solid var(--blue);
}

.complete-module-grid article:nth-child(4n + 3) {
  border-top: 4px solid var(--amber);
}

.complete-module-grid article:nth-child(4n + 4) {
  border-top: 4px solid var(--purple);
}

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

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

.operations-grid article {
  min-height: 250px;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 6vw, 84px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-list {
  display: grid;
  gap: 10px;
}

.proof-list span {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-left: 6px solid var(--primary);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(23, 33, 29, 0.06);
  font-weight: 800;
}

.proof-list span:nth-child(2) { border-color: var(--amber); }
.proof-list span:nth-child(3) { border-color: var(--blue); }
.proof-list span:nth-child(4) { border-color: var(--red); }
.proof-list span:nth-child(5) { border-color: var(--purple); }
.proof-list span:nth-child(6) { border-color: #34433d; }

.industries-section {
  padding-top: 0;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(23, 33, 29, 0.04);
}

.pilot-section {
  border-bottom: 1px solid var(--line);
}

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

.pilot-grid article strong {
  width: 42px;
  border-radius: 50%;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 42px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-section h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 19, 17, 0.92), rgba(12, 19, 17, 0.42)),
      linear-gradient(0deg, rgba(245, 247, 243, 0.98) 0%, rgba(245, 247, 243, 0) 18%);
  }

  .signal-strip,
  .standards-grid,
  .module-grid,
  .pilot-grid,
  .operations-grid,
  .complete-module-grid,
  .proof-section,
  .contact-section {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 12px 16px;
  }

  .login-link {
    padding: 0 10px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
  }

  .signal-strip,
  .standards-grid,
  .module-grid,
  .pilot-grid,
  .operations-grid,
  .complete-module-grid,
  .proof-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    margin-top: -24px;
  }

  .signal-strip span {
    min-height: 58px;
  }

  .contact-section {
    padding: 24px;
  }
}
