/* populus.social — design system skeleton */

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

:root {
  --color-bg:        #0f0f14;
  --color-surface:   #1a1a24;
  --color-brand:     #8b5cf6;
  --color-brand-dim: #6d3fd1;
  --color-text:      #e8e8f0;
  --color-muted:     #9090a8;
  --color-border:    #2a2a3a;

  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-size-base: 1rem;
  --line-height: 1.6;

  --wrap: 1120px;
  --pad: clamp(1.25rem, 5vw, 3rem);
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
}

a { color: var(--color-brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Button */
.btn {
  display: inline-block;
  padding: 0.65em 1.5em;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--color-brand);
  color: #fff;
}
.btn-primary:hover { background: var(--color-brand-dim); text-decoration: none; }

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,15,20,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.nav-brand:hover { text-decoration: none; color: var(--color-brand); }

/* Hero */
.hero {
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
  background: radial-gradient(ellipse 80% 60% at 50% -10%, #3b1f7a22 0%, transparent 70%);
}
.hero-inner { max-width: 680px; }
.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--color-brand);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.hero-desc {
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

/* CTA band */
.cta-band {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 3rem 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text {
  font-size: 1.1rem;
  color: var(--color-text);
  max-width: 500px;
}

/* Fediwall section */
.fediwall-section { padding: 4rem 0 0; }
.fediwall-header { margin-bottom: 2rem; }
.fediwall-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.fediwall-sub { color: var(--color-muted); margin-top: 0.4rem; }
.fediwall-frame-wrap { width: 100%; }
.fediwall-frame {
  width: 100%;
  min-height: 600px;
  border: none;
  display: block;
  background: var(--color-surface);
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-copy { font-size: 0.85rem; color: var(--color-muted); }
.footer-links { font-size: 0.8rem; color: var(--color-muted); }
.footer-links a { color: var(--color-muted); }
.footer-links a:hover { color: var(--color-text); }

@media (max-width: 600px) {
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
