/* InfoTown manifesto page */

:root {
  --background: #f4efe4;
  --surface: rgba(255, 255, 255, 0.42);
  --text: #18231f;
  --muted: #647069;
  --accent: #8a4935;
  --line: rgba(24, 35, 31, 0.14);
  --max-width: 48rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.85), transparent 32rem),
    var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 5rem);
  padding: clamp(2rem, 7vw, 6rem) 1.25rem;
}

.manifesto {
  width: min(100%, var(--max-width));
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 1.25rem 4rem rgba(24, 35, 31, 0.08);
  backdrop-filter: blur(10px);
}

.hero {
  margin-bottom: clamp(3rem, 8vw, 5rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 9vw, 6.75rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.manifesto-text {
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
}

.manifesto-text > p,
.declaration,
.progression,
.welcome {
  margin: 0 0 2.25rem;
}

.paired-line span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
}

.declaration,
.progression {
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
}

.declaration p,
.progression p,
.welcome p {
  margin: 0.35rem 0;
}

.welcome {
  margin-top: 3.5rem;
}

.final-line {
  padding-top: 1.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.site-footer {
  padding: 0 1.25rem 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

::selection {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 38rem) {
  .page {
    align-items: start;
    padding-top: 1rem;
  }

  .manifesto {
    padding: 2rem 1.35rem 2.5rem;
    border-radius: 1rem;
  }

  .hero {
    margin-bottom: 2.75rem;
  }

  .manifesto-text > p,
  .declaration,
  .progression,
  .welcome {
    margin-bottom: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
