:root {
  --ground: #06070a;
  --ink: #eef1f5;
  --muted: #8a93a3;
  --accent: #9fd8ff;
  --line: #1c2028;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: max(2rem, env(safe-area-inset-top)) clamp(1rem, 6vw, 5rem) max(2rem, env(safe-area-inset-bottom));
}

main {
  flex: 1;
  width: min(40rem, 100%);
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.tagline {
  margin: 1.25rem 0 2.5rem;
  color: var(--muted);
  font-size: 1.125rem;
}

section {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
}

h2 {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.5rem;
  margin: 0 0 1rem;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  overflow-wrap: anywhere;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

textarea {
  width: 100%;
  padding: 0.75rem;
  background: #0d0f14;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  resize: vertical;
}

textarea:focus {
  outline: 1px solid var(--accent);
}

button {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}

button:hover {
  background: rgba(159, 216, 255, 0.1);
}

pre {
  margin: 1rem 0 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

footer {
  color: var(--muted);
  font-size: 0.85rem;
}
