:root {
  color-scheme: light;
  --ink: #15181f;
  --muted: #5f6875;
  --paper: #f8faf9;
  --line: #d9e1df;
  --blue: #2d6cdf;
  --green: #2f8f6f;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--white);
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: clamp(16px, 3vw, 28px);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  opacity: 0.78;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  background-image: url("assets/hero-background.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(8, 12, 17, 0.86) 0%, rgba(8, 12, 17, 0.62) 44%, rgba(8, 12, 17, 0.16) 100%),
    linear-gradient(0deg, rgba(8, 12, 17, 0.46) 0%, rgba(8, 12, 17, 0) 36%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 40px));
  margin-left: clamp(20px, 8vw, 112px);
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.75rem, 12vw, 8.75rem);
  line-height: 0.92;
  letter-spacing: 0;
}

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

.lede {
  max-width: 34rem;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}

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

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

.section {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 9vw, 104px) clamp(20px, 5vw, 72px);
}

.section__inner {
  max-width: 960px;
}

.section p {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

@media (max-width: 720px) {
  .site-header {
    padding: 18px 20px;
  }

  .nav {
    gap: 14px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 82vh;
  }

  .hero__media {
    background-position: 58% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(8, 12, 17, 0.9) 0%, rgba(8, 12, 17, 0.7) 68%, rgba(8, 12, 17, 0.38) 100%),
      linear-gradient(0deg, rgba(8, 12, 17, 0.5) 0%, rgba(8, 12, 17, 0) 36%);
  }

  .hero__content {
    margin: 0 20px;
    padding-top: 84px;
  }

  h1 {
    font-size: clamp(3.4rem, 21vw, 5.5rem);
  }
}
