:root {
  color-scheme: light;
  --bg: hsl(42 35% 96%);
  --ink: hsl(45 9% 9%);
  --muted: hsl(0 0% 35%);
  --border: hsl(0 0% 82%);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

main {
  min-height: 100vh;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.intro {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0;
}

.label,
.preview-badge,
.links {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.preview-badge {
  width: fit-content;
  margin: 0 0 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  padding: 0.34rem 0.56rem;
  text-transform: uppercase;
}

.label {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  line-height: 1;
}

h1 {
  max-width: 9ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5.8rem, 19vw, 16rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.78;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  margin-top: 2.7rem;
  font-size: clamp(0.76rem, 1vw, 0.9rem);
  line-height: 1.4;
}

.links a {
  color: var(--muted);
  text-decoration-color: transparent;
  text-underline-offset: 0.22em;
}

.links a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

@media (max-width: 720px) {
  main {
    width: min(100% - 1.4rem, 1180px);
  }

  .intro {
    justify-content: flex-start;
    padding-top: 18vh;
  }

  h1 {
    font-size: clamp(4.7rem, 27vw, 8rem);
  }
}
