/* Loop Manifesto - Static CSS */
/* Timeless, minimal, manifesto-like */

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

:root {
  --color-bg: #faf9f7;
  --color-text: #1a1a1a;
  --color-muted: #6b6b6b;
  --color-border: #e0e0e0;
  --color-accent: #4a5568;
  
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  --max-width: 640px;
  --spacing: 2rem;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.7;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3rem 0;
}

.section--hero {
  padding-top: 6rem;
  padding-bottom: 2rem;
}

/* Navigation */
.nav {
  padding: 2rem 0;
}

.nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.875rem;
  margin-right: 1.5rem;
  transition: color 0.2s;
}

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

.nav a.active {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Hero Icon */
.hero-icon {
  width: 48px;
  height: 48px;
  stroke: var(--color-text);
  stroke-width: 1.5;
  margin-bottom: 1.25rem;
  display: block;
}

/* Typography - Homepage */
.title {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1rem;
}

.tagline {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.lead--muted {
  color: var(--color-muted);
}

/* Typography - Manifesto */
.page-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 1.125rem;
  color: var(--color-muted);
  margin-top: 1rem;
}

.heading {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

/* Statements */
.statement {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.statement--muted {
  color: var(--color-muted);
}

.statement-group {
  margin-bottom: 2.5rem;
}

/* Body text */
.body {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.small {
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* Lists */
.beliefs {
  list-style: none;
}

.beliefs li {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.principles {
  list-style: none;
}

.principles li {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  padding-left: 1.25rem;
  position: relative;
}

.principles li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-muted);
}

/* Values */
.values {
  list-style: none;
}

.values li {
  font-size: 1.0625rem;
  margin-bottom: 0.75rem;
}

.values strong {
  font-weight: 600;
}

.values span {
  color: var(--color-muted);
}

/* Replacements */
.replacements {
  list-style: none;
}

.replacements li {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.replacements s {
  color: var(--color-muted);
  text-decoration: line-through;
}

/* Cycle */
.cycle {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 1.5rem 0;
}

/* Blockquote */
blockquote {
  border-left: 2px solid var(--color-text);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

blockquote p {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-style: italic;
  line-height: 1.5;
}

/* Links */
.link {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-border);
  transition: text-decoration-color 0.2s;
}

.link:hover {
  text-decoration-color: var(--color-text);
}

.links {
  list-style: none;
}

.links li {
  margin-bottom: 0.75rem;
}

/* Loop Diagram */
.diagram {
  margin: 2.5rem 0;
  max-width: 400px;
}

.diagram svg {
  width: 100%;
  height: auto;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  margin-top: 2rem;
  padding: 3rem 0;
}

/* Responsive */
@media (max-width: 640px) {
  html {
    font-size: 16px;
  }
  
  .title {
    font-size: 3rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .statement {
    font-size: 1.375rem;
  }
  
  .section--hero {
    padding-top: 4rem;
  }
}

@media (min-width: 768px) {
  .title {
    font-size: 5.5rem;
  }
  
  .page-title {
    font-size: 3rem;
  }
  
  .statement {
    font-size: 2rem;
  }
}
