:root {
  --ink: #111827;
  --muted: #667085;
  --line: #d8dee8;
  --paper: #f7f9fc;
  --white: #ffffff;
  --graphite: #1f2933;
  --blue: #1d6fdc;
  --green: #19a974;
  --amber: #f5a524;
  --red: #d94f45;
  --shadow: 0 24px 70px rgba(18, 28, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  font-weight: 600;
}

.top-nav a {
  border-bottom: 1px solid transparent;
}

.top-nav a:hover {
  border-color: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 118px clamp(18px, 4vw, 56px) 96px;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 16, 28, 0.92) 0%, rgba(8, 16, 28, 0.76) 36%, rgba(8, 16, 28, 0.24) 72%, rgba(8, 16, 28, 0.1) 100%),
    linear-gradient(180deg, rgba(8, 16, 28, 0.28) 0%, rgba(8, 16, 28, 0.42) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.8rem, 11vw, 9.4rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 1.8vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  font-weight: 750;
}

.button.primary {
  border-color: var(--amber);
  background: var(--amber);
  color: #15100a;
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.intro-band {
  margin-top: -52px;
  position: relative;
  z-index: 4;
  padding: 0 clamp(18px, 4vw, 56px);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
  background: var(--white);
  box-shadow: var(--shadow);
}

.intro-grid article {
  min-height: 224px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.intro-grid article:last-child {
  border-right: 0;
}

.intro-grid span,
.card-index {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.intro-grid h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  line-height: 1.15;
}

.intro-grid p,
.section-heading p,
.company-card p {
  color: var(--muted);
}

.companies {
  padding: clamp(74px, 10vw, 132px) clamp(18px, 4vw, 56px) clamp(64px, 8vw, 100px);
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.company-card {
  position: relative;
  min-height: 248px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.company-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--amber), var(--red));
}

.company-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 111, 220, 0.45);
  box-shadow: 0 18px 46px rgba(18, 28, 45, 0.11);
}

.company-card.featured {
  background: var(--graphite);
  color: var(--white);
}

.company-card.featured p,
.company-card.featured em {
  color: rgba(255, 255, 255, 0.7);
}

.company-card strong {
  margin: 18px 0 6px;
  font-size: clamp(1.18rem, 2vw, 1.58rem);
  line-height: 1.08;
}

.company-card em {
  color: var(--blue);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 700;
}

.company-card p {
  margin: 22px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 900px) {
  .intro-grid,
  .company-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intro-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-grid article:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .top-nav {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding-top: 112px;
    padding-bottom: 92px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(8, 16, 28, 0.94), rgba(8, 16, 28, 0.56));
  }

  h1 {
    font-size: clamp(3.6rem, 19vw, 6rem);
  }

  .intro-grid,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid article:last-child {
    grid-column: auto;
  }

  .company-card {
    min-height: 220px;
  }

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