* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  color: #111;
  background: #fafafa;
  line-height: 1.6;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: #fff;
  border-bottom: 1px solid #eee;
}
nav a { color: #111; text-decoration: none; margin-left: 16px; font-weight: 500; font-size: 14px; }
.logo { color: #7c3aed; font-weight: 700; font-size: 18px; }
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 32px;
}
h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.lead { font-size: 20px; color: #555; margin-bottom: 32px; max-width: 560px; }
.sub { font-size: 14px; color: #999; margin-top: 32px; font-style: italic; }

.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background: #7c3aed;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  margin-right: 12px;
}
.btn-primary:hover { background: #6d28d9; }
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  color: #7c3aed !important;
  border: 1px solid #7c3aed;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.cta { margin-top: 32px; }

section { max-width: 760px; margin: 0 auto; padding: 64px 32px; }
section h2 { font-size: 28px; font-weight: 700; margin-bottom: 24px; }
section ol { padding-left: 24px; font-size: 18px; line-height: 1.8; color: #444; }

footer { text-align: center; padding: 32px; color: #999; font-size: 14px; }

/* install page */
.install h1 { font-size: 36px; margin-bottom: 8px; }
.step { display: flex; gap: 24px; margin: 32px 0; padding: 24px; background: #fff; border-radius: 12px; border: 1px solid #eee; }
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: #7c3aed; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.step-body { flex: 1; }
.step-body h2 { font-size: 18px; margin-bottom: 8px; }
.step-body p { font-size: 14px; color: #555; margin-bottom: 12px; }
.hint { font-size: 13px; color: #888; margin-top: 8px; }

.code-block {
  display: flex;
  background: #1a1a1a;
  color: #f0f0f0;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  align-items: center;
  gap: 12px;
}
.code-block code { flex: 1; word-break: break-all; }
.code-block button {
  flex-shrink: 0;
  padding: 4px 12px;
  background: #7c3aed;
  color: #fff;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}
.code-block button:hover { background: #6d28d9; }

.pair-status {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
}
.pair-status.pending { background: #fef9c3; color: #92400e; }
.pair-status.paired { background: #d1fae5; color: #065f46; }
.pair-status .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.5s ease-in-out infinite;
}
.pair-status.paired .dot { animation: none; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* install options (side by side) */
.install-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}
@media (max-width: 700px) {
  .install-options { grid-template-columns: 1fr; }
}
.option {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #eee;
  position: relative;
}
.option-primary {
  border: 2px solid #7c3aed;
  background: #faf5ff;
}
.option-soon {
  background: #f9f9f9;
  opacity: 0.85;
}
.option-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: #666;
}
.option-primary .option-badge {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
}
.option h3 {
  font-size: 15px;
  margin: 0 0 12px;
}
.install-steps {
  font-size: 13px;
  line-height: 1.8;
  color: #444;
  padding-left: 20px;
  margin: 0;
}
.install-steps code {
  background: #1a1a1a;
  color: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
}
.soon-text { font-size: 13px; color: #666; }
.btn-small { padding: 6px 14px; font-size: 13px; }
.btn-mini {
  padding: 1px 6px;
  font-size: 11px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 3px;
  cursor: pointer;
  margin-left: 4px;
}
.btn-mini:hover { background: #f0f0f0; }
.why-safe { margin-top: 12px; font-size: 12px; color: #666; }
.why-safe summary { cursor: pointer; color: #7c3aed; }
.why-safe p { margin-top: 8px; }

.cta-footer { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; font-size: 13px; color: #888; }
.cta-footer a { color: #7c3aed; text-decoration: none; }
