* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #1a1a1a;
  background: #faf9f7;
  line-height: 1.6;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.125rem;
  color: #444;
  margin-bottom: 32px;
}

.sub {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  font-size: 1rem;
  font-family: system-ui, sans-serif;
  text-decoration: none;
  border-radius: 6px;
  text-align: center;
}

.btn-primary {
  background: #1a1a1a;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #ccc;
}

section {
  margin-bottom: 40px;
}

section h2 {
  font-size: 1rem;
  font-family: system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
  margin-bottom: 12px;
}

ol {
  padding-left: 1.25rem;
}

ol li {
  margin-bottom: 8px;
}

.note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 16px;
}

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
  font-size: 0.875rem;
  color: #666;
  font-family: system-ui, sans-serif;
}

footer a {
  color: #444;
  margin-right: 16px;
}

.legal h2 {
  font-size: 1.25rem;
  text-transform: none;
  letter-spacing: 0;
  color: #1a1a1a;
  margin-top: 32px;
}

.legal p,
.legal ul {
  margin-bottom: 16px;
}

/* ===== Landing page (open beta) ===== */

/* Top bar: wordmark + beta badge */
.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.wordmark {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.badge {
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1a5c2e;
  background: #e3f2e7;
  border: 1px solid #bcdfc6;
  border-radius: 999px;
  padding: 3px 10px;
}

/* Numbered "Step 1 / Step 2" labels in the install section */
.step-label {
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
  margin: 28px 0 8px;
}

/* Collapsible per-platform install instructions */
details {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  margin-bottom: 10px;
  padding: 0 16px;
}

details summary {
  cursor: pointer;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 0;
  list-style-position: inside;
}

details[open] summary {
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
}

details ol,
details p {
  padding-bottom: 8px;
}

/* Inline file paths / filenames */
code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.85em;
  background: #f0efec;
  border-radius: 4px;
  padding: 1px 5px;
  word-break: break-all;
}
