/* Zen Loop Website - Zen/Japanese-inspired aesthetic */

:root {
  /* Light theme (Washi Paper) */
  --background: #f7f4ed;
  --surface: #fffef9;
  --surface-secondary: #f0ebe0;
  --text: #2d2a26;
  --text-secondary: #5c5650;
  --text-muted: #9a9389;
  --primary: #c73e1d;
  --primary-light: #d9573a;
  --accent: #d4a574;
  --border: #e0dacf;
  --border-light: #f0ebe0;
  --shadow: rgba(45, 42, 38, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Dark theme (Indigo Night) */
    --background: #0d1117;
    --surface: #1c2128;
    --surface-secondary: #262c36;
    --text: #e8e4d9;
    --text-secondary: #b8b2a4;
    --text-muted: #6e6a60;
    --primary: #e8725c;
    --primary-light: #f08d7a;
    --accent: #d4a574;
    --border: #2e343e;
    --border-light: #1c2128;
    --shadow: rgba(0, 0, 0, 0.2);
  }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 3rem;
}

.logo {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--primary);
}

.tagline {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Navigation */
nav {
  margin-top: 2rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--primary);
}

/* Main content */
main {
  background-color: var(--surface);
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px var(--shadow);
}

/* Typography */
h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-light);
}

/* Lists */
ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

li {
  margin-bottom: 0.5rem;
}

/* Landing page specific */
.hero {
  text-align: center;
  padding: 2rem 0;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.app-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.app-badge {
  height: 44px;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.app-badge:hover {
  opacity: 1;
}

/* Legal links on landing */
.legal-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.legal-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-links a:hover {
  color: var(--primary);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.875rem;
}

footer a {
  color: var(--text-muted);
}

footer a:hover {
  color: var(--primary);
}

/* Last updated date */
.last-updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 2rem 1rem;
  }

  main {
    padding: 1.5rem;
    border-radius: 8px;
  }

  .logo {
    font-size: 2rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  nav ul {
    gap: 1rem;
  }
}

