:root {
  --text: #080807;
  --background: #f8f9f8;
  --primary: #8b9876;
  --secondary: #bec8b0;
  --accent: #a5b48c;
  --max-width: 960px;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.25rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.3125rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}
small {
  font-size: 0.875rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
}

* {
  box-sizing: border-box;
  margin: 0;
}

body {
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

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

a {
  color: var(--primary);
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: left;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 0 0 3rem;
  min-height: 100vh;
  min-height: 100svh;
}
header img {
  width: 256px;
  border-radius: 24px;
}
header p {
  color: var(--text);
  font-size: 1.3125rem;
}
header .download {
  margin-top: 1.5rem;
}

.store-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.store-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  color: var(--text);
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.store-button.outline {
  border: 1.5px solid var(--text);
}
.store-button:hover,
.store-button:focus-visible {
  background: rgba(8, 8, 7, 0.08);
}
.store-button img,
.store-button svg {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.releases-link {
  display: inline-block;
  margin-top: 0.3rem;
}

header .screenshots {
  height: 100vh;
  height: 100svh;
  flex-shrink: 0;
  overflow-y: auto;
  scrollbar-width: none;
  scroll-snap-type: y mandatory;
  margin-left: auto;
  margin-right: min(0px, calc((var(--max-width) - 100vw) / 2));
}
header .screenshots img {
  width: auto;
  height: 100%;
  scroll-snap-align: start;
}

section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 3rem;
}

footer {
  max-width: none;
  background: var(--text);
  color: var(--background);
  font-size: 0.875rem;
  padding: 3rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: wrap;
}
footer a {
  color: var(--secondary);
}
