/* YourFeed - Minimal Dark Theme */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --text: #fafafa;
  --text-muted: #a3a3a3;
  --accent: #e5e5e5;
  --border: #262626;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 320ms ease-out both;
}

main {
  flex: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent);
}

/* Header */
.site-header {
  padding: 1.5rem 1.5rem 0;
  text-align: center;
}

.logo-link {
  display: inline-block;
}

.logo {
  height: 96px;
  width: auto;
}

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 0 2rem;
}

.hero h1 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Features */
.features {
  margin-top: 2.5rem;
}

.features ul {
  list-style: none;
}

.features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.features li:last-child {
  border-bottom: none;
}

/* CTA */
.cta {
  margin-top: 2.5rem;
  text-align: center;
}

.cta a {
  display: inline-block;
  transition: opacity 0.15s ease;
}

.cta a:hover {
  opacity: 0.85;
}

.app-store-badge {
  height: 40px;
  width: auto;
  display: block;
}

/* Footer */
.site-footer {
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.site-footer a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--text);
}

/* Privacy page */
.privacy-content {
  padding-top: 0.5rem;
}

.privacy-content h1 {
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.privacy-content h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.privacy-content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.privacy-content ul {
  margin: 0 0 1rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.privacy-content li {
  margin-bottom: 0.25rem;
}

@media (min-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
}

/* Motion & focus accessibility */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header a:focus-visible,
.cta a:focus-visible,
.site-footer a:focus-visible {
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
