/* Plastic Liberation — shared styles (mobile-first)
   Palette: cream #F7F3EC, oat #E8DFD0, clay #B5735A, olive #6B705C, charcoal #2F2F2B */

:root {
  --cream: #F7F3EC;
  --oat: #E8DFD0;
  --clay: #B5735A;
  --clay-dark: #9A5F48;
  --olive: #6B705C;
  --charcoal: #2F2F2B;

  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--olive);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--charcoal);
  text-decoration-color: var(--clay);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--clay-dark);
}

:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding-inline: 1rem;
}

/* Hero */

.hero {
  text-align: center;
  padding-block: 2rem 3rem;
}

.logo {
  display: block;
  width: min(220px, 60%);
  margin: 0 auto 2rem;
}

.hero h1 {
  font-size: clamp(1.6rem, 5.5vw, 2.25rem);
  text-wrap: balance;
  margin-bottom: 1rem;
}

.hero .sub {
  max-width: 34rem;
  margin: 0 auto;
  font-size: 1.2rem;
}

/* Signup (Brevo form lives here) */

.signup {
  padding-block: 0 3rem;
}

/* Facebook group */

.community {
  background: var(--oat);
  padding: 4.5rem 0;
  text-align: center;
}

.community h2 {
  font-size: clamp(1.5rem, 5vw, 2rem);
}

.btn {
  display: inline-block;
  background: var(--clay);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem; /* large + bold keeps white-on-clay readable */
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 3px;
  transition: background-color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--clay-dark);
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer */

.site-footer {
  padding: 2rem 0 2.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.site-footer p {
  margin: 0 0 0.35rem;
}

/* Privacy page */

.page-header {
  padding: 1.5rem 0 0.5rem;
  text-align: center;
}

.page-header .logo {
  width: min(120px, 40%);
  margin-bottom: 1rem;
}

.policy {
  padding: 1.5rem 0 3rem;
}

.policy h1 {
  font-size: clamp(1.75rem, 6vw, 2.5rem);
}

.policy h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.policy .updated {
  font-size: 0.95rem;
  color: var(--olive);
}

.policy ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.policy li {
  margin-bottom: 0.4rem;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

@media (min-width: 640px) {
  .wrap {
    padding-inline: 1.5rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .community {
    padding: 5rem 0;
  }
}
