/* Geist Mono: the same mono face x.ai uses (their sans, Universal Sans, is a
   licensed commercial font we can't ship). Open source via Google Fonts. */
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600&display=swap');

:root { color-scheme: dark; }
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  color: #e8e8e8;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.6;
  padding: 2rem 1.25rem;
}
main { max-width: 34rem; width: 100%; }
.home { text-align: center; }
.guy { display: block; margin: 0 auto 1.25rem; }
h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}
p { margin: 0 0 1.5rem; color: #b8b8b8; }
p strong { color: #e8e8e8; }
.steps { color: #e8e8e8; margin-bottom: 0.75rem; }
.signin {
  display: inline-block;
  background: #e8e8e8;
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.7rem 1.6rem;
  margin-bottom: 1.5rem;
}
.signin:hover { background: #fff; }
.x-logo {
  height: 0.95em;
  width: 0.95em;
  vertical-align: -0.08em;
  margin-left: 0.15em;
}
.claim {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  margin-bottom: 1.5rem;
}
.claim .at { color: #777; }
.claim input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #e8e8e8;
  font: inherit;
}
.claim button {
  flex-shrink: 0;
  background: #e8e8e8;
  color: #0a0a0a;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.claim button:hover { background: #fff; }
.card {
  text-align: left;
  background: #121212;
  border: 1px solid #262626;
  border-radius: 12px;
  padding: 1.5rem 1.5rem 0.6rem;
  margin-top: 2rem;
}
.hi { color: #e8e8e8; }
.how {
  margin: 0 0 1.5rem;
  padding-left: 0;
  list-style-position: inside;
  color: #b8b8b8;
}
.how li { margin-bottom: 0.9rem; }
.how li strong { color: #e8e8e8; }
.how a { color: #7db9ff; }
.card .paste { background: #0a0a0a; margin-bottom: 1rem; }
.card .paste code { color: #e8e8e8; }
.paste {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.5rem;
}
.paste code {
  flex: 1;
  font-size: 0.85rem;
  word-break: break-all;
  color: #7dd87d;
}
.paste button {
  flex-shrink: 0;
  background: #2a2a2a;
  color: #e8e8e8;
  border: none;
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}
.paste button:hover { background: #383838; }
.fine { font-size: 0.85rem; color: #777; margin: 0 0 0.5rem; }
.legal { margin-top: 2rem; font-size: 0.75rem; }
/* On centered pages the links sit at the viewport bottom, away from the main
   elements; on scrolling .doc pages they stay in-flow at the end. */
.home .legal {
  position: fixed;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  text-align: center;
  margin: 0;
}
.legal a { color: #4a4a4a; text-decoration: none; margin: 0 0.5rem; }
.legal a:hover { color: #888; text-decoration: underline; }
.doc { text-align: left; }
.doc h1 { font-size: 1.3rem; }
.doc h2 { font-size: 1rem; font-weight: 600; margin: 1.75rem 0 0.5rem; }
.doc p { margin: 0 0 1rem; }
.doc a { color: #7db9ff; }
.doc .legal { text-align: center; }
.doc .legal a { color: #4a4a4a; }
