:root {
  color-scheme: light;
  --background: #f3f2f6;
  --ink: #36313d;
  --muted: #726a7c;
  --bird: #87738e;
  --focus: #654672;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

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

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

main {
  display: grid;
  place-items: center;
  padding: 80px 24px 48px;
}

.identity {
  text-align: center;
  padding-bottom: clamp(32px, 8vh, 90px);
}

.bird {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 25px;
  background: var(--bird);
  mask: url("/assets/bird.png") center / contain no-repeat;
  -webkit-mask: url("/assets/bird.png") center / contain no-repeat;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 46px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.message {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(24px, 4vw, 56px) 30px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}

.cursor-pointer {
  cursor: pointer;
}

a:hover {
  color: var(--ink);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
  border-radius: 2px;
}

::selection {
  color: var(--background);
  background: var(--focus);
}
