/* TheReader landing — dark theme matching the app */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  background: #0b0b0d;
  color: #f0f0f0;
  font-family: -apple-system, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: #e8d5b7; }

main { max-width: 960px; margin: 0 auto; padding: 64px 24px; }

/* HERO */
.hero { padding: 40px 0 80px; text-align: center; }
.logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #e8d5b7;
  margin-bottom: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo span { letter-spacing: -0.02em; }
.hero h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 .accent {
  color: #e8d5b7;
  background: linear-gradient(90deg, #e8d5b7, #c9a86e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lede {
  font-size: 20px;
  color: #b0b0b6;
  max-width: 640px;
  margin: 0 auto 40px;
}
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 150ms ease-out;
  cursor: pointer;
}
.btn.primary {
  background: linear-gradient(135deg, #c9a86e, #a8894e);
  color: #0b0b0d;
  border: none;
  box-shadow: 0 2px 8px rgba(201, 168, 110, 0.2);
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 168, 110, 0.3);
}
.btn.ghost {
  background: transparent;
  color: #b0b0b6;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn.ghost:hover { color: #f0f0f0; border-color: rgba(255, 255, 255, 0.3); }
.btn.large { padding: 18px 36px; font-size: 17px; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #7a7a80;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7aae7a;
  box-shadow: 0 0 8px rgba(122, 174, 122, 0.5);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.feature {
  background: #161618;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 32px 28px;
}
.feature .icon { font-size: 32px; margin-bottom: 16px; }
.feature h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f0f0f0;
  margin-bottom: 10px;
}
.feature p {
  font-size: 14px;
  color: #a0a0a6;
  line-height: 1.55;
}

/* WORKS WITH */
.works-with {
  padding: 80px 0 40px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.works-with h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.works-lede { color: #a0a0a6; font-size: 15px; margin-bottom: 32px; }
.sites {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.sites span {
  background: rgba(232, 213, 183, 0.08);
  border: 1px solid rgba(232, 213, 183, 0.2);
  color: #e8d5b7;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

/* FINAL CTA */
.cta-final {
  padding: 100px 0 60px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.cta-final h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  line-height: 1.2;
}
.tiny { color: #6a6a70; font-size: 12px; margin-top: 12px; }

/* FOOTER */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 24px;
  text-align: center;
  color: #7a7a80;
  font-size: 13px;
  max-width: 960px;
  margin: 0 auto;
}
footer strong { color: #e8d5b7; }
footer a { color: #b0b0b6; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.15); }
footer a:hover { color: #f0f0f0; }
.fine { margin-top: 16px; font-size: 11px; color: #5a5a60; }

/* RESPONSIVE */
@media (max-width: 640px) {
  main { padding: 40px 20px; }
  .hero { padding: 20px 0 60px; }
  .hero h1 { font-size: 44px; }
  .hero .lede { font-size: 17px; }
  .cta-final h2 { font-size: 30px; }
  .btn { width: 100%; justify-content: center; }
  .cta { flex-direction: column; }
}
