@font-face {
  font-family: 'Familjen Grotesk';
  src: url('/fonts/FamiljenGrotesk_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/fonts/HankenGrotesk_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/fonts/HankenGrotesk_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #fffaf0;
  --ink: #1c1824;
  --soft: #5f5a66;
  --rule: #e6dfd1;
  --link: #3554b8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1c1824;
    --ink: #fffaf0;
    --soft: #b9b3c0;
    --rule: #3a3442;
    --link: #a9b9f5;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Hanken Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

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

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 28px;
}

.mark {
  color: var(--ink);
  font-family: 'Familjen Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

/* Home */
.hero {
  padding: 96px 0 64px;
}

h1,
h2 {
  font-family: 'Familjen Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 18vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.hero p {
  max-width: 480px;
  margin: 24px 0 0;
  font-size: 22px;
  line-height: 1.4;
}

.hero .soon {
  margin-top: 16px;
  color: var(--soft);
  font-size: 16px;
}

.posters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 72px;
}

.posters span {
  aspect-ratio: 2 / 3;
  border-radius: 4px;
}

/* Legal and info pages */
main.page {
  padding-top: 56px;
  padding-bottom: 72px;
}

.page h1 {
  margin: 0 0 8px;
  font-size: clamp(36px, 8vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.page h2 {
  margin: 40px 0 8px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page p,
.page ul {
  margin: 0 0 16px;
}

.page ul {
  padding-left: 22px;
}

.page li {
  margin-bottom: 6px;
}

.dated {
  color: var(--soft);
  font-size: 16px;
}

footer {
  border-top: 1px solid var(--rule);
  padding: 24px 0 40px;
  color: var(--soft);
  font-size: 15px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 8px;
}

footer a {
  color: inherit;
  font-weight: 600;
}
