@font-face {
  font-family: 'Klima Heavy';
  src: url('fonts/klima-heavy-web.woff2') format('woff2'),
       url('fonts/klima-heavy-web.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


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

:root {
  --dark:       #172B2E;
  --blue:       #0F81E9;
  --orange:     #FFA902;
  --red:        #ff6112;
  --teal:       #40D7D4;
  --light-gray: #E6eefa;
  --white:      #fff;
  --border:     #d0dce0;
  --text:       #172B2E;
  --muted:      #354d52;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: var(--light-gray);
  color: var(--text);
  line-height: 1.6;
}

/* ── FOCUS STYLES ── */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── LANG SWITCHER ── */
.lang-switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 200;
}

.lang-switcher__toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  background: var(--dark);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: background 0.15s;
}

.lang-switcher__toggle:hover {
  background: #1e3a3f;
}

.lang-switcher__toggle svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.lang-chevron {
  width: 0.75rem !important;
  height: 0.75rem !important;
  transition: transform 0.15s;
}

.lang-switcher__toggle[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-switcher__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 140px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  list-style: none;
  padding: 0.35rem 0;
  margin: 0;
}

.lang-switcher__menu.is-open {
  display: block;
}

.lang-switcher__menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.1s;
}

.lang-switcher__menu a:hover {
  background: var(--light-gray);
}

.lang-switcher__menu a.active {
  font-weight: 700;
  color: var(--blue);
}

/* ── HEADER ── */
header {
  background: var(--dark);
  color: var(--white);
  padding: 3.5rem 2rem 3rem;
  text-align: center;
}

header h1 {
  font-family: 'Klima Heavy', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: normal;
  letter-spacing: 0.01em;
  line-height: 1.0;
  text-transform: uppercase;
}

header h1 span {
  color: var(--orange);
}

header p.embargo {
  display: none;
  margin-top: 1.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--orange);
  color: var(--dark);
  font-family: 'Klima Heavy', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: normal;
  letter-spacing: 0.05em;
  border-radius: 2px;
  box-shadow: 0 0 0 4px rgba(255,169,2,0.25);
}

header p.intro {
  max-width: 720px;
  margin: 1.75rem auto 0;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  font-weight: 400;
}

.header-add-org {
  margin-top: 1.75rem;
}

/* ── MAIN ── */
main {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.demands-intro {
  font-family: 'Klima Heavy', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: normal;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 2.5rem;
}

/* ── DEMAND CARDS ── */
.demands {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.demand {
  border-left: 4px solid var(--dark);
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: border-left-color 0.15s;
}

.demand:first-child { border-top-left-radius: 4px; border-top-right-radius: 4px; }
.demand:last-child  { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom: none; }
.demand:hover { border-left-color: var(--orange); }

.demand-number {
  display: inline-block;
  font-family: 'Klima Heavy', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.6rem;
}

.demand h2 {
  font-family: 'Klima Heavy', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: normal;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.demand h2 svg {
  flex-shrink: 0;
  position: relative;
  top: 0.05em;
}

.demand p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.demand p:last-child { margin-bottom: 0; }

.demand ul {
  list-style: none;
  margin-top: 0.5rem;
  padding: 0;
}

.demand ul li {
  font-size: 0.93rem;
  color: var(--muted);
  padding: 0.35rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.demand ul li:first-child { border-top: none; }

.demand ul li svg {
  flex-shrink: 0;
  position: relative;
  top: 0.15em;
}

/* ── CLOSING ── */
.closing {
  margin-top: 2.5rem;
  padding: 2.5rem 2rem;
  background: var(--dark);
  color: var(--white);
  border-radius: 4px;
  text-align: center;
}

.closing p {
  font-family: 'Klima Heavy', Arial, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: normal;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* Organic pen-drawn orange underline */
.em-underline {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='18' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M1 13 C25 6,60 16,110 11 C160 6,200 15,245 10 C268 7,285 13,299 11' stroke='%23FFA902' stroke-width='8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 16px;
  padding-bottom: 6px;
}

/* ── SIGNATORIES ── */
.signatories {
  margin-top: 5rem;
}

.signatories h3 {
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 1rem;
}

.org-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.org-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.5rem 1rem;
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

.add-org {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.4rem;
  background: var(--orange);
  color: var(--dark);
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  padding: 0.9rem 2rem;
  background: var(--red);
  color: var(--white);
  font-family: 'Klima Heavy', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: normal;
  letter-spacing: 0.03em;
  border: none;
  border-bottom: 3px solid rgba(0,0,0,0.15);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
}

.add-org:hover {
  background: #e04a00;
  transform: translateY(-1px);
}

/* ── SHARE ── */
.share {
  margin-top: 2.5rem;
}

.share h3 {
  font-family: 'Klima Heavy', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: normal;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  border-radius: 3px;
  font-family: 'Klima Heavy', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: normal;
  letter-spacing: 0.03em;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.15s;
}

.share-btn:hover { opacity: 0.85; }

.share-btn svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
}

.share-facebook  { background: #1877F2; }
.share-linkedin  { background: #0A66C2; }
.share-bluesky   { background: #0085ff; }

.bsky-wrap {
  position: relative;
}

.bsky-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 0.78rem;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  border: 1px solid rgba(255,255,255,0.2);
  z-index: 10;
}

.bsky-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--dark);
}

.bsky-tooltip.is-visible { opacity: 1; }
.share-whatsapp  { background: #25D366; }

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2rem;
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: var(--white);
}

footer p {
  margin-bottom: 0.5rem;
}

footer p:last-child {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: underline;
}

.footer-links a:hover {
  color: var(--blue);
}

/* ── MOBILE ── */
@media (max-width: 600px) {
  .add-org {
    display: block;
    text-align: center;
  }

  .share-buttons {
    flex-direction: column;
  }

  .share-btn {
    justify-content: center;
    padding: 0.8rem 1rem;
  }

  .bsky-wrap {
    width: 100%;
  }

  .bsky-wrap .share-bluesky {
    width: 100%;
  }
}
