/* robot.wtf landing page */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
  background: #fafafa;
  padding: 0 1.5rem;
}

.page {
  max-width: 740px;
  margin: 0 auto;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.wordmark {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a2e;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.sign-in {
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
  padding: 0.4rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.15s, color 0.15s;
}

.sign-in:hover {
  color: #1a1a2e;
  border-color: #1a1a2e;
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #1a1a2e;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: #555;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.cta {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: #fafafa;
  background: #1a1a2e;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}

.cta:hover {
  background: #2d2d4e;
}

/* Sections */
section {
  padding: 2.5rem 0;
}

section + section {
  border-top: 1px solid #e8e8e8;
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

section p {
  margin-bottom: 1rem;
  color: #333;
}

section p:last-child {
  margin-bottom: 0;
}

/* How it works */
.steps {
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 0.75rem 0;
  padding-left: 2.5rem;
  position: relative;
  color: #333;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 1.8rem;
  height: 1.8rem;
  background: #1a1a2e;
  color: #fafafa;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li strong {
  font-weight: 600;
}

/* FAQ */
details {
  border-bottom: 1px solid #e8e8e8;
}

details:first-of-type {
  border-top: 1px solid #e8e8e8;
}

summary {
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a2e;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "+";
  display: inline-block;
  width: 1.5rem;
  font-weight: 400;
  color: #888;
  transition: transform 0.15s;
}

details[open] summary::before {
  content: "\2212";
}

details p {
  padding: 0 0 1rem 1.5rem;
  color: #444;
  line-height: 1.6;
}

details code {
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  font-size: 0.88em;
  background: #eee;
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

/* Code */
code {
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: #ededee;
  padding: 0.15em 0.4em;
  border-radius: 3px;
  border: 1px solid #ddd;
}

pre {
  background: #ededee;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Footer */
footer {
  padding: 2rem 0;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}

footer a {
  color: #555;
  text-decoration: none;
}

footer a:hover {
  color: #1a1a2e;
}

footer p + p {
  margin-top: 0.4rem;
}

/* Responsive */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  .hero {
    padding: 3rem 0 2rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  header {
    padding: 1rem 0;
  }
}
