:root {
  --burgundy: #6B1E3A;
  --burgundy-dark: #4A1428;
  --burgundy-light: #8B2E4A;
  --cream: #FDF8F5;
  --soft-white: #FFFBF9;
  --text: #2C1A1F;
  --muted: #6B4A52;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  background: var(--burgundy);
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(107, 30, 58, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

nav a:hover,
nav a.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

/* Main content */
main {
  flex: 1;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

/* Hero (home) */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.hero-image {
  max-width: 100%;
  width: 480px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(107, 30, 58, 0.18);
  margin-bottom: 2.25rem;
  background: white;
}

h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  font-weight: 700;
  color: var(--burgundy-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 1.75rem;
}

.tagline strong {
  color: var(--burgundy);
  font-weight: 600;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  justify-content: center;
  margin-bottom: 2.25rem;
}

.feature {
  background: white;
  border: 1.5px solid rgba(107, 30, 58, 0.15);
  color: var(--burgundy);
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(107, 30, 58, 0.06);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--burgundy);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 1.7rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(107, 30, 58, 0.3);
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: var(--burgundy-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--burgundy);
  color: white;
}

/* Page content */
.page-header {
  margin-bottom: 2rem;
  text-align: center;
}

.page-header p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0.5rem auto 0;
}

.content-card {
  background: white;
  border-radius: 16px;
  padding: 1.75rem 1.75rem;
  box-shadow: 0 4px 20px rgba(107, 30, 58, 0.08);
  border: 1px solid rgba(107, 30, 58, 0.08);
  margin-bottom: 1.5rem;
}

.content-card h2 {
  color: var(--burgundy-dark);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.content-card p {
  color: var(--text);
  margin-bottom: 0.85rem;
}

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

.content-card ul {
  margin: 0.75rem 0 0.75rem 1.25rem;
  color: var(--text);
}

.content-card li {
  margin-bottom: 0.4rem;
}

/* Contact form */
.contact-info {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: white;
  padding: 1.25rem 1.4rem;
  border-radius: 12px;
  border: 1px solid rgba(107, 30, 58, 0.1);
}

.contact-item .icon {
  font-size: 1.5rem;
  line-height: 1;
}

.contact-item a {
  color: var(--burgundy);
  font-weight: 600;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Petition */
.petition-box {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(107, 30, 58, 0.08);
  border: 1px solid rgba(107, 30, 58, 0.1);
}

.petition-box h2 {
  color: var(--burgundy-dark);
  margin-bottom: 1rem;
}

.petition-box p {
  margin-bottom: 1rem;
}

.signature-count {
  display: inline-block;
  background: rgba(107, 30, 58, 0.08);
  color: var(--burgundy);
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  margin: 1rem 0 1.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid rgba(107, 30, 58, 0.2);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--soft-white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--burgundy);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Footer */
footer {
  background: var(--burgundy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.75rem 1.5rem;
  text-align: center;
  font-size: 0.95rem;
}

footer a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

footer a:hover {
  border-bottom-color: white;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.footer-links span {
  opacity: 0.7;
}

/* Responsive */
/* Current Tjirps dropdown */
.tjirps-dropdown {
  margin: 1.75rem 0 2rem;
  width: 100%;
  max-width: 360px;
  text-align: left;
}

.tjirps-dropdown label {
  display: block;
  font-weight: 600;
  color: var(--burgundy-dark);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.tjirps-dropdown select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(107, 30, 58, 0.25);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: white;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B1E3A' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  box-shadow: 0 2px 8px rgba(107, 30, 58, 0.06);
}

.tjirps-dropdown select:focus {
  outline: none;
  border-color: var(--burgundy);
}

@media (max-width: 640px) {
  header {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }

  nav {
    justify-content: center;
  }

  nav a {
    padding: 0.35rem 0.7rem;
    font-size: 0.9rem;
  }

  .hero-image {
    width: 100%;
    max-width: 360px;
  }

  main {
    padding: 1.75rem 1.1rem 2.5rem;
  }

  .content-card,
  .petition-box {
    padding: 1.35rem;
  }
}
