:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --background: #11111b;
  --surface: #141521;
  --text: #f6f7fb;
  --muted: #9a9dad;
  --red: #ff405f;
  --orange: #ff8a3d;
  --blue: #42b6de;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--text);
  background: var(--background);
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(100% - 2.5rem, 76rem);
  margin-inline: auto;
}

.site-header {
  padding-block: 1.35rem;
}

.brand {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
}

.home-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
  border-radius: 2px;
}

.brand-mark {
  position: relative;
  width: 4rem;
  height: 2rem;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark img {
  position: absolute;
  top: -1.05rem;
  left: 0;
  width: 4rem;
  height: 4rem;
  max-width: none;
}

.brand-name {
  font-size: 0.86rem;
  font-weight: 720;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  width: min(100% - 2.5rem, 76rem);
  margin-inline: auto;
  display: grid;
  align-items: center;
  padding-block: clamp(4rem, 12vh, 8rem);
  padding-inline: 1rem;
  border-radius: 0 1.25rem 0 1.25rem;
  background:
    radial-gradient(circle at 12% 85%, rgb(255 64 95 / 12%), transparent 25rem),
    radial-gradient(circle at 88% 20%, rgb(66 182 222 / 12%), transparent 28rem);
}

.hero-content {
  width: 100%;
  max-width: none;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 720;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.75rem, 9.5vw, 8.7rem);
  font-weight: 760;
  letter-spacing: -0.07em;
  line-height: 0.87;
  white-space: nowrap;
}

h1 span {
  display: inline-block;
  padding-right: 0.12em;
  color: transparent;
  background: linear-gradient(105deg, var(--red), var(--orange) 42%, var(--blue) 78%);
  background-clip: text;
  -webkit-background-clip: text;
}

.intro {
  max-width: 35rem;
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.home-tagline {
  margin: 12px 0 0 36px;
  white-space: nowrap;
}

.site-footer {
  padding-block: 1.4rem 1.8rem;
  color: #696c7c;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.not-found .hero-content {
  max-width: 44rem;
}

.not-found h1 {
  max-width: 9ch;
  white-space: normal;
}

.home-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--text);
  font-weight: 700;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35rem;
}

@media (max-width: 34rem) {
  .site-header,
  .site-footer,
  .hero {
    width: min(100% - 2rem, 76rem);
  }

  .brand-name {
    font-size: 0.75rem;
    letter-spacing: 0.11em;
  }

  h1 {
    font-size: clamp(2.75rem, 13.5vw, 5rem);
  }

  .home-tagline {
    margin-left: 30px;
    font-size: clamp(0.95rem, 4.3vw, 1.05rem);
  }
}
