:root {
  --ink: #171a1f;
  --ink-soft: #444b55;
  --paper: #f7f4ee;
  --paper-bright: #fffdfa;
  --line: #d9d3c8;
  --teal: #1f8a84;
  --teal-dark: #12645f;
  --copper: #bd5b35;
  --charcoal: #101317;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(16, 19, 23, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-bright);
  line-height: 1.6;
}

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

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

.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 {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(16, 19, 23, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(420px, 100%);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--copper));
  border-radius: 8px;
  font-size: 0.86rem;
}

.brand-text {
  font-size: 1rem;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 19, 23, 0.92) 0%, rgba(16, 19, 23, 0.74) 46%, rgba(16, 19, 23, 0.38) 100%),
    linear-gradient(0deg, rgba(16, 19, 23, 0.72) 0%, rgba(16, 19, 23, 0.12) 42%);
}

.hero-content {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 86px;
  align-self: end;
}

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

.hero .eyebrow {
  color: #72d1ca;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: clamp(68px, 9vw, 120px) clamp(18px, 4vw, 56px);
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 38px;
}

.section-heading h2,
.about-layout h2,
.contact-panel h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p + h2,
.about-layout p + h2,
.contact-panel p + h2 {
  margin-top: 0;
}

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

.feature-list {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.feature-list article {
  min-height: 220px;
  padding: 24px 22px 10px 0;
  border-right: 1px solid var(--line);
}

.feature-list article + article {
  padding-left: 22px;
}

.feature-list article:last-child {
  border-right: 0;
}

.feature-number {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-list h3,
.service-card h3,
.industry-grid h3 {
  margin: 12px 0 10px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.feature-list p,
.service-card p,
.industry-grid p,
.about-copy p,
.contact-panel p,
.site-footer p {
  margin: 0;
  color: var(--ink-soft);
}

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

.service-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 250px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card-wide {
  grid-column: span 2;
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.service-card-wide p {
  color: rgba(255, 255, 255, 0.75);
}

.vendor-table {
  width: min(1120px, 100%);
  margin: 24px auto 0;
}

.vendor-table-header {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.vendor-table-header .eyebrow {
  margin: 0;
}

.vendor-table-header h3 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.2;
}

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--line);
}

.vendor-card {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 62px;
  padding: 14px 16px;
  background: var(--paper-bright);
  text-align: center;
}

.vendor-card img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
}

.vendor-name {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}

.vendor-card-dark {
  background: var(--charcoal);
}

.vendor-card-dark .vendor-name {
  color: rgba(255, 255, 255, 0.8);
}

.vendor-card-dark img {
  max-height: 38px;
}

.section-industries {
  color: var(--white);
  background: var(--charcoal);
}

.section-industries .eyebrow {
  color: #72d1ca;
}

.section-industries .section-heading h2 {
  color: var(--white);
}

.industry-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.industry-grid div {
  min-height: 184px;
  padding: 26px;
  background: var(--charcoal);
}

.industry-grid h3 {
  color: var(--white);
}

.industry-grid p {
  color: rgba(255, 255, 255, 0.72);
}

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

.about-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(32px, 8vw, 110px);
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 20px;
  font-size: 1.08rem;
}

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

.contact-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(34px, 5vw, 58px);
  color: var(--white);
  background: linear-gradient(135deg, var(--charcoal), #26312f);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel .eyebrow {
  color: #72d1ca;
}

.contact-panel p {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.contact-details {
  display: grid;
  gap: 14px;
  align-content: center;
}

.contact-link {
  display: grid;
  gap: 4px;
  min-height: 84px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.18rem;
  font-weight: 900;
}

.contact-link span {
  color: #72d1ca;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: #0c0f12;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.66);
}

@media (max-width: 980px) {
  .feature-list,
  .service-grid,
  .vendor-grid,
  .industry-grid,
  .about-layout,
  .contact-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-list article:nth-child(2) {
    border-right: 0;
  }

  .feature-list article:nth-child(3) {
    padding-left: 0;
  }

  .service-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 12px;
    background: rgba(16, 19, 23, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: grid;
    gap: 4px;
  }

  .primary-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 19, 23, 0.94) 0%, rgba(16, 19, 23, 0.74) 100%),
      linear-gradient(0deg, rgba(16, 19, 23, 0.72) 0%, rgba(16, 19, 23, 0.12) 42%);
  }

  .hero-content {
    width: min(100% - 32px, 1120px);
    padding: 132px 0 62px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .section {
    padding: 62px 16px;
  }

  .feature-list,
  .service-grid,
  .industry-grid,
  .about-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .vendor-card {
    min-height: 112px;
    padding: 20px 16px;
  }

  .vendor-card img {
    max-height: 34px;
  }

  .vendor-name {
    font-size: 0.76rem;
  }

  .vendor-card-dark img {
    max-height: 30px;
  }

  .feature-list article,
  .feature-list article + article {
    min-height: auto;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-list article:last-child {
    border-bottom: 0;
  }

  .service-card,
  .industry-grid div {
    min-height: auto;
  }

  .service-card-wide {
    grid-column: auto;
  }

  .contact-panel {
    padding: 28px;
  }

  .site-footer {
    display: grid;
  }
}
