/* Dark-first theme */
:root {
  --bg: #0d0d0d;
  --text: #f5f5f5;
  --accent: #ff9900;
  --muted: #888;
  --border: rgba(255,255,255,0.1);
  color-scheme: dark;
}
html.light {
  --bg: #ffffff;
  --text: #111111;
  --muted: #555555;
  --border: rgba(0,0,0,0.1);
  color-scheme: light;
}
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

body.launching {
  opacity: 0;
  transform: scale(0.98);
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.6);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
html.light .site-header {
  background: rgba(255,255,255,0.6);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  cursor: pointer;
}
.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--accent);
  font-weight: 600;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
}
.hero {
  display: grid;
  gap: 2rem;
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-aside {
  font-size: 6rem;
  text-align: center;
}
.hero-pills {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pill {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.875rem;
}
.value-props {
  display: grid;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.value-props .card {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  background: rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
html.light .value-props .card {
  background: rgba(0,0,0,0.03);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.features .grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
}
.features h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.feature-item {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
}
.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}
.why, .community, .big-cta {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}
.community-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.big-cta .btn {
  margin-top: 1rem;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 980px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
