/* ======== Base ======== */
:root {
  --bg: #1f1f1f;
  --text: #e0e0e0;
  --accent: #fff;
  --muted: #969696;
  --font-main: "Libre Franklin", serif;
}

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


html, body {
  color: var(--text);
  font-family: var(--font-main);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100%;
}

/* ======== Layout ======== */
main {
  max-width: 750px;
  margin: 0 auto;
  padding: 0;
}

h1 {
  font-size: 2.75rem;
  text-align: center;
  letter-spacing: -0.02em;
  margin: 0;
  margin-bottom: .5rem;
  font-weight: 700;
}

/* ======== Manifesto Text ======== */
.manifesto {
  max-width: 650px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  line-height: 1.2;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.manifesto p {
  margin: 0;
}

.manifesto em {
  font-style: italic;
  opacity: 0.85;
}

.manifesto strong {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.manifesto hr {
  width: 50%;
  margin: .5rem auto;
  border: none;
  border-top: 1px dashed var(--muted);
}

/* Waving flag background */
.flag-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}

.flag-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scaleY(-1) scaleX(-1);
  object-fit: cover;
  filter: brightness(0.25) contrast(1.2) saturate(1.1);
}

.flag-background .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
  z-index: 1;
  pointer-events: none;
}


/* ======== Responsive ======== */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  main {
    padding: 0;
  }
  .manifesto hr {
    width: 75%;
  }
}
