:root {
  --ink: #171717;
  --muted: #525252;
  --faint: #a3a3a3;
  --line: #e5e5e5;
  --paper: #fafafa;
  --panel: #ffffff;
  --sans: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 2rem;
}

.mark {
  width: 80px;
  height: auto;
  display: block;
  margin-bottom: 1.25rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.lede {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
}

.use {
  position: relative;
  width: min(100%, 28rem);
  margin-top: 1.85rem;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.use pre {
  margin: 0;
  padding: 1.1rem 4.1rem 1.1rem 1.25rem;
  overflow-x: auto;
}

.use code {
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ink);
  white-space: pre;
}

.copy {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.15rem 0.1rem;
}

.copy:hover,
.copy:focus-visible {
  color: var(--ink);
  outline: none;
}

.cta {
  margin: 1.5rem 0 0;
}

.cta a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.08rem;
}

.cta a:hover {
  border-bottom-color: transparent;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.1rem 1.25rem 1.35rem;
  border-top: 1px solid var(--line);
}

.footer-mark {
  width: 22px;
  height: auto;
  display: block;
  opacity: 0.72;
}

.build {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--faint);
  letter-spacing: 0.01em;
}

@media (max-width: 480px) {
  main {
    padding: 2.5rem 1.15rem 1.75rem;
  }

  .lede {
    font-size: 1.05rem;
  }
}
