:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #000000;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 40px;
}

.brand-name {
margin-top:8.2px;
  
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--fg);
  text-decoration: underline;
}

/* Intro */
.intro {
  margin: 2.5rem 0 3rem;
}

.intro h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.intro-text {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Sections */
.section-title {
  font-size: 1.4rem;
  margin: 3rem 0 1.5rem;
  border-bottom: 2px solid var(--fg);
  display: inline-block;
  padding-bottom: 0.2rem;
}

/* Grid */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

@media (min-width: 700px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  background: #fff;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.card-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.card-excerpt {
  margin: 0.5rem 0 0;
}

/* Manifesto style */
.manifesto {
  border-left: 4px solid var(--fg);
}

.card-foot {
  margin-top: 1rem;
  display: flex;
  gap: 0.4rem;
}

.tag {
  font-size: 0.75rem;
  border: 1px solid var(--fg);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}


/* Donation page */
.donation {
  max-width: 780px;
  margin: 0 auto;
}

.donation-head {
  margin: 2.5rem 0 2rem;
}

.donation-intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 700px;
}

/* Don box */
.don-box {
  border: 2px solid var(--fg);
  padding: 2rem;
  margin: 2rem 0;
  background: #fff;
}

.don-box h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.don-text {
  margin-bottom: 1.5rem;
}

/* Bitcoin block */
.btc-block {
  border: 1px dashed var(--fg);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

code {
  display: block;              /* CRUCIAL */
  max-width: 100%;
  white-space: normal;         /* CRUCIAL */
  overflow-wrap: anywhere;     /* coupe si nécessaire */
  word-break: break-word;      /* fallback */
}

.btc-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.btc-address {
  display: block;
  font-family: monospace;
  font-size: 0.9rem;
  word-break: break-all;
}

/* QR */
.qr-wrapper {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.qr-code {
  width: 180px;
  border: 1px solid var(--line);
  padding: 0.5rem;
}

/* Notes */
.don-note {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}




/* Why donate */
.donation-info {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.donation-info h3 {
  margin-bottom: 0.6rem;
}

.donation-info ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.donation-info li {
  margin-bottom: 0.4rem;
}


