:root {
  --font-size--2: clamp(0.7813rem, 0.7736rem + 0.0341vw, 0.8rem);
  --font-size--1: clamp(0.9375rem, 0.9119rem + 0.1136vw, 1rem);
  --font-size-4: clamp(2.3328rem, 2.0387rem + 1.3072vw, 3.0518rem);
  --color-page-background: oklch(13% 0.006 264);
  --color-text-body: oklch(82% 0.01 256);
  --color-heading: oklch(90% 0 0);
  --color-accent: oklch(84% 0.1 220);
}

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Noto Sans', Candara, source-sans-pro, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
  color: var(--color-text-body);
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-page-background);
}

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

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100lvh;
  padding-inline: 32px;
  overflow: hidden;
  background: linear-gradient(to bottom, oklch(0.000% 0.0000 0.00) 0.00%, oklch(10.370% 0.0101 240.75) 14.29%, oklch(15.690% 0.0199 254.69) 28.57%, oklch(22.388% 0.0382 255.58) 42.86%, oklch(29.872% 0.0600 255.91) 57.14%, oklch(35.741% 0.0751 255.87) 71.43%, oklch(39.197% 0.0846 256.23) 85.71%, oklch(40.656% 0.0878 255.97) 100.00%);
}

@media (width >= 768px) {
  .hero {
    padding-inline: 10%;
  }
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("images/grain.png"), url("images/grain.png");
  background-image:
    -webkit-image-set(url("images/grain.png") 1x, url("images/grain@2x.png") 2x, url("images/grain@3x.png") 3x),
    -webkit-image-set(url("images/grain.png") 1x, url("images/grain@2x.png") 2x, url("images/grain@3x.png") 3x);
  background-image:
    image-set(url("images/grain.png") 1x, url("images/grain@2x.png") 2x, url("images/grain@3x.png") 3x),
    image-set(url("images/grain.png") 1x, url("images/grain@2x.png") 2x, url("images/grain@3x.png") 3x);
  background-position: 0 0, 29px 13px;
  background-repeat: repeat, repeat;
  background-size: 48px 48px, 53px 53px;
  opacity: 0.45;
  pointer-events: none;
  content: '';
}

.background-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.2;
  mix-blend-mode: plus-lighter;
}

.content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-inline-size: 1282px;
  margin-inline: auto;
  padding-inline-end: 0;
}

@media (width >= 1024px) {
  .content {
    padding-inline-end: 20%;
  }
}

.content-inner .eyebrow {
  font-family: 'Space Mono', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas,
    monospace;
  font-size: var(--font-size--1);
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.content-inner h1 {
  margin-top: 0.75rem;
  color: var(--color-heading);
  font-size: var(--font-size-4);
  font-weight: 600;
  line-height: 1;
}

.content-inner .lead {
  margin-top: 2rem;
  max-inline-size: 34rem;
  font-size: var(--font-size--1);
}
