:root {
  color-scheme: light;
  --ink: #10131a;
  --muted: #536070;
  --paper: #f7f8fa;
  --line: #dde3ea;
  --orange: #ff7a1a;
  --teal: #22a7a5;
  --navy: #071725;
  --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;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(620px, 88vh, 820px);
  overflow: hidden;
  color: var(--white);
}

.hero__image,
.hero__shade,
.hero__content {
  grid-area: 1 / 1;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(4, 12, 20, 0.88), rgba(4, 12, 20, 0.52) 48%, rgba(4, 12, 20, 0.18)),
    linear-gradient(0deg, rgba(5, 11, 18, 0.68), rgba(5, 11, 18, 0) 38%);
}

.hero__content {
  position: relative;
  align-self: center;
  padding-block: 84px 140px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #ffbe83;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: #c85510;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

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

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--orange);
  color: #190900;
}

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

.overview {
  margin-top: -92px;
  padding-bottom: 74px;
  position: relative;
  z-index: 2;
}

.overview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.metric {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 60px rgba(7, 23, 37, 0.14);
}

.metric__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8fbfb;
  color: #087c79;
  font-weight: 900;
}

.metric h2,
.next h2 {
  margin: 18px 0 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.metric p,
.next p {
  margin: 14px 0 0;
  color: var(--muted);
}

.next {
  padding: 68px 0 92px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.next__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: 56px;
  align-items: start;
}

.next h2 {
  max-width: 720px;
  margin-top: 0;
}

.next p {
  font-size: 1.05rem;
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 28px, 620px);
  }

  .hero {
    min-height: 720px;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(4, 12, 20, 0.58), rgba(4, 12, 20, 0.88) 64%),
      linear-gradient(90deg, rgba(4, 12, 20, 0.66), rgba(4, 12, 20, 0.24));
  }

  .hero__content {
    align-self: end;
    padding-block: 64px 132px;
  }

  .overview {
    margin-top: -78px;
  }

  .overview__grid,
  .next__layout {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
