html {
  scroll-behavior: smooth;
  background: #f8fbff;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 0%, rgba(99, 102, 241, 0.12), transparent 34rem),
    radial-gradient(circle at 84% 12%, rgba(20, 184, 166, 0.1), transparent 30rem),
    linear-gradient(180deg, #fbfdff 0%, #f3f7fb 48%, #f9fbff 100%);
  color: #0f172a;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
}

body > main {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

header nav {
  max-width: 80rem;
  height: 4rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header a {
  text-decoration: none;
}

section {
  position: relative;
}

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

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2.3rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

main > section:first-of-type {
  min-height: 100vh;
  padding: 9rem 1.5rem 5rem;
}

main > section:first-of-type > div,
section > div {
  max-width: 80rem;
  margin: 0 auto;
}

main > section:first-of-type > div {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  main > section:first-of-type > div {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

section[id] {
  scroll-margin-top: 6rem;
  padding: 5rem 0;
}

section[id] > div {
  padding: 0 1.5rem;
}

article {
  border-radius: 0.5rem;
}

.noise-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.14;
}

.grid-surface {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
