* {
  box-sizing: border-box;
}

html {
  font-family: Arial, sans-serif;
  color: #18181b;
  background: #ffffff;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid #e5e7eb;
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  color: #18181b;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: #52525b;
  text-decoration: none;
}

nav a:hover {
  color: #18181b;
}

main {
  flex: 1;
}

.hero,
.page {
  padding: 100px 0;
}

.hero {
  max-width: 720px;
}

.eyebrow {
  color: #71717a;
  margin: 0 0 12px;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1;
}

h2 {
  margin-top: 0;
}

p {
  color: #52525b;
  line-height: 1.7;
}

.button {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 18px;
  color: #fff;
  background: #18181b;
  border-radius: 8px;
  text-decoration: none;
}

.button:hover {
  background: #3f3f46;
}

.card {
  max-width: 600px;
  margin-top: 40px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid #e5e7eb;
  color: #71717a;
  font-size: 14px;
}

.error {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.code {
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
}

.error h1 {
  font-size: 36px;
}

@media (max-width: 600px) {
  .nav {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    gap: 14px;
  }

  .hero,
  .page {
    padding: 70px 0;
  }
}
