/* =============================================================
   The Democratic Consilist Party — style.css
   ============================================================= */

/* --- Custom Properties --- */
:root {
  /* Greens */
  --green-darkest:  #17261f;
  --green-dark:     #2c4336;
  --green-primary:  #3a5a49;
  --green-mid:      #4e7a63;
  --green-light:    #7aac91;
  --green-pale:     #d0e8da;
  --green-tint:     #eef5f1;

  /* Neutrals */
  --bg:             #faf9f7;
  --bg-white:       #ffffff;
  --bg-tint:        #f4f3f0;
  --charcoal:       #1c1917;

  /* Text */
  --text:           #1c1917;
  --text-secondary: #3d3935;
  --text-muted:     #6b7280;
  --text-faint:     #a8a29e;

  /* On dark */
  --on-dark:        #ffffff;
  --on-dark-muted:  rgba(255, 255, 255, 0.72);
  --on-dark-faint:  rgba(255, 255, 255, 0.35);

  /* Borders */
  --border:         #d6d3ce;
  --border-light:   #ece9e4;

  /* Typography */
  --font-heading: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container:    1120px;
  --nav-height:   4rem;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 200ms ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

section[id] { scroll-margin-top: calc(var(--nav-height) + 1rem); }

/* =============================================================
   Accessibility
   ============================================================= */
.skip-link {
  position: absolute;
  top: -200%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--green-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 2px;
  z-index: 9999;
}
.skip-link:focus { top: 0.75rem; }

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

/* =============================================================
   Layout
   ============================================================= */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* =============================================================
   Typography helpers
   ============================================================= */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}
.section-label--pale  { color: var(--green-pale); }
.section-label--green { color: var(--green-light); }
.section-label--muted { color: var(--text-muted); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.125rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 1.375rem;
}
.section-title--light { color: var(--on-dark); }

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 3rem;
}

.body-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 62ch;
  margin-bottom: 1rem;
}
.body-text:last-child { margin-bottom: 0; }
.body-text strong { color: var(--text); font-weight: 700; }

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.625rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 3px solid var(--green-light);
  outline-offset: 3px;
}

.btn-large {
  font-size: 1rem;
  padding: 1rem 2.25rem;
}

.btn-hero {
  background: var(--green-pale);
  color: var(--green-dark);
  border-color: var(--green-pale);
  font-weight: 700;
}
.btn-hero:hover {
  background: #fff;
  border-color: #fff;
}

.btn-primary {
  background: var(--green-primary);
  color: #fff;
  border-color: var(--green-primary);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn-inverted {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-inverted:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

/* =============================================================
   Navigation
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  height: var(--nav-height);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-brand:focus-visible {
  outline: 3px solid var(--green-mid);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Logo_Blank image in nav */
.nav-logo-img {
  height: 2.25rem;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-link {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 2px;
  transition: color var(--t-fast), background-color var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}
.nav-link:hover {
  color: var(--text);
  background: var(--bg-tint);
}
.nav-link:focus-visible {
  outline: 3px solid var(--green-mid);
  outline-offset: 2px;
}

.nav-link--cta {
  background: var(--green-dark);
  color: #fff !important;
  font-weight: 600;
  padding: 0.4rem 1rem;
}
.nav-link--cta:hover { background: var(--green-darkest); color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 2px;
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--bg-tint); }
.nav-toggle:focus-visible {
  outline: 3px solid var(--green-mid);
  outline-offset: 2px;
}

.hamburger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 1px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-name { display: none; }

  .nav-menu {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1.5rem 1rem;
    gap: 0.125rem;
    display: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }
  .nav-menu--open { display: flex; }
  .nav-link { padding: 0.75rem; font-size: 0.9375rem; }
  .nav-link--cta { text-align: center; margin-top: 0.375rem; }
}

/* =============================================================
   Section base
   ============================================================= */
.section         { padding-block: 5.5rem; }
.section--white  { background: var(--bg-white); }
.section--tint   { background: var(--bg-tint); }
.section--green  { background: var(--green-primary); }
.section--dark   { background: var(--green-dark); }
.section--charcoal { background: var(--charcoal); }

@media (max-width: 640px) { .section { padding-block: 3.5rem; } }

/* =============================================================
   HERO
   ============================================================= */
/* Full-width dark green hero with inverted logo + text side by side */
.hero {
  background: var(--green-dark);
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.018) 60px,
      rgba(255,255,255,0.018) 61px
    );
  padding-block: 6rem 5.5rem;
  border-bottom: 3px solid var(--green-primary);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-logo-col {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-img {
  display: block;
  width: clamp(180px, 22vw, 300px);
  height: auto;
}

.hero-content-col {
  flex: 1;
}

/* Visually hidden but present for screen readers / SEO */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1.75rem;
}

.hero-tagline {
  font-size: clamp(1rem, 1.75vw, 1.25rem);
  color: var(--on-dark-muted);
  line-height: 1.65;
  max-width: 52ch;
  margin-bottom: 2.75rem;
}

@media (max-width: 860px) {
  .hero { padding-block: 4rem 3.5rem; }
  .hero-inner { flex-direction: column; gap: 2.5rem; text-align: center; }
  .hero-logo-img { width: clamp(140px, 40vw, 220px); }
  .hero-tagline { max-width: none; }
}

@media (max-width: 480px) {
  .hero { padding-block: 3rem 2.5rem; }
}

/* =============================================================
   MANIFESTO STRIP
   ============================================================= */
.manifesto-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding-block: 3.5rem;
}

.manifesto-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.1875rem, 2.5vw, 1.625rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 76ch;
  margin-inline: auto;
  line-height: 1.55;
  letter-spacing: -0.01em;
  padding-inline: 1.5rem;
  position: relative;
}
.manifesto-quote::before {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--green-primary);
  margin: 0 auto 1.5rem;
}
.manifesto-quote::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--green-primary);
  margin: 1.5rem auto 0;
}

/* =============================================================
   ABOUT
   ============================================================= */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-definition {
  border-left: 4px solid var(--green-primary);
  padding: 1.75rem 0 1.75rem 2rem;
  margin-top: 0.5rem;
}

.definition-word {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.definition-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 760px) {
  .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* =============================================================
   BELIEFS GRID
   ============================================================= */
.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 0;
}

.belief-card {
  background: var(--bg-white);
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-top: 3px solid var(--green-primary);
  transition: background-color var(--t-base);
}
.belief-card:nth-child(3n) { border-right: none; }
.belief-card:nth-child(4),
.belief-card:nth-child(5),
.belief-card:nth-child(6) { border-bottom: none; }
.belief-card:hover { background: var(--green-tint); }

.belief-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.belief-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .beliefs-grid { grid-template-columns: repeat(2, 1fr); }
  .belief-card:nth-child(3n)   { border-right: 1px solid var(--border); }
  .belief-card:nth-child(2n)   { border-right: none; }
  .belief-card:nth-child(5),
  .belief-card:nth-child(6)    { border-bottom: none; }
  .belief-card:nth-child(4)    { border-bottom: 1px solid var(--border); }
}
@media (max-width: 520px) {
  .beliefs-grid { grid-template-columns: 1fr; }
  .belief-card  { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .belief-card:last-child { border-bottom: none !important; }
}

/* =============================================================
   AGAINST
   ============================================================= */
.against-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.against-item {
  padding: 2rem 1.75rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.against-item:last-child { border-right: none; }
.against-item::before {
  content: '';
  display: block;
  width: 2rem;
  height: 3px;
  background: var(--green-light);
  margin-bottom: 1.25rem;
}

.against-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.against-body {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .against-grid { grid-template-columns: repeat(2, 1fr); border-bottom: none; }
  .against-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .against-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 480px) {
  .against-grid { grid-template-columns: 1fr; }
  .against-item { border-right: none; }
}

/* =============================================================
   GREEN SECTION
   ============================================================= */
.green-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem 4rem;
  margin-top: 2.75rem;
}

.green-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.green-check {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
  color: var(--green-pale);
}
.green-check svg { width: 100%; height: 100%; }

@media (max-width: 640px) {
  .green-list { grid-template-columns: 1fr; }
}

/* =============================================================
   STATS BAR
   ============================================================= */
.stats-bar {
  background: var(--green-darkest);
  padding-block: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  gap: 0.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 700;
  color: var(--green-pale);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  align-self: stretch;
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-divider { width: 100%; height: 1px; }
  .stat-item { padding: 2rem 1.5rem; }
}

/* =============================================================
   GOVERNANCE
   ============================================================= */
.governance-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2.5rem 5rem;
  align-items: start;
  padding-bottom: 5rem;
  margin-bottom: 5rem;
  border-bottom: 1px solid var(--border-light);
}

.governance-prose    { grid-column: 1; grid-row: 1; }
.setup-phase-callout { grid-column: 1; grid-row: 2; }
.governance-principles { grid-column: 2; grid-row: 1 / 3; }

.setup-phase-callout {
  background: var(--green-tint);
  border: 1px solid var(--green-pale);
  border-left: 3px solid var(--green-primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 2px 2px 0;
}

.setup-phase-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 0.625rem;
}

.setup-phase-body {
  font-size: 0.9375rem;
  color: var(--charcoal);
  line-height: 1.7;
}

.governance-principles {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-top: 3px solid var(--green-primary);
}

.principle {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}
.principle:last-child { border-bottom: none; }

.principle-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--green-primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.principle-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 760px) {
  .governance-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
  }
}

/* =============================================================
   FUNDING
   ============================================================= */
.funding-block {}

/* =============================================================
   JOIN / CTA
   ============================================================= */
.join-inner { max-width: 680px; }

.join-body {
  font-size: 1.125rem;
  color: var(--on-dark-muted);
  line-height: 1.72;
  margin-bottom: 2.25rem;
  max-width: 50ch;
}

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: var(--charcoal);
  padding-block: 1.25rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.875rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
}

.footer-sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.875rem;
  user-select: none;
}

.footer-link {
  font-size: 0.8125rem;
  color: var(--green-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
}
.footer-link:hover { color: var(--green-pale); }

.footer-meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
}

/* =============================================================
   PAGE HEADER — inner pages
   ============================================================= */
.page-header {
  background: var(--green-dark);
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.018) 60px,
      rgba(255,255,255,0.018) 61px
    );
  padding-block: 4rem 3.5rem;
  border-bottom: 3px solid var(--green-primary);
}

.page-header-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.page-header-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--on-dark-muted);
  max-width: 60ch;
  line-height: 1.65;
  margin-top: 1rem;
}

/* Active nav link on current page */
.nav-link--current {
  color: var(--green-primary) !important;
  font-weight: 600;
}

/* Inline text links */
.inline-link {
  color: var(--green-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: color var(--t-fast);
}
.inline-link:hover { color: var(--green-dark); }

/* =============================================================
   TOPIC CARDS — home page explore grid
   ============================================================= */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.topic-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green-primary);
  text-decoration: none;
  color: inherit;
  transition: border-top-color var(--t-base), transform var(--t-base);
  cursor: pointer;
}
.topic-card:hover {
  border-top-color: var(--green-dark);
  transform: translateY(-2px);
}
.topic-card:focus-visible {
  outline: 3px solid var(--green-mid);
  outline-offset: 2px;
}

.topic-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.625rem;
}

.topic-card-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.topic-card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-primary);
  letter-spacing: 0.03em;
}
.topic-card:hover .topic-card-link { color: var(--green-dark); }

/* =============================================================
   CONSTITUTION PAGE
   ============================================================= */
.constitution-note {
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green-mid);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.9375rem;
  color: var(--charcoal);
  line-height: 1.75;
  max-width: 72ch;
}

.constitution-tier {
  padding-bottom: 3.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-light);
}
.constitution-tier:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.tier-number {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 0.5rem;
}

.tier-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 1.375rem;
}

.constitution-core-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.constitution-core-list li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.constitution-core-list li::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-primary);
  flex-shrink: 0;
  margin-top: 0.55em;
}

.policy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.policy-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green-primary);
  padding: 1.5rem;
}

.policy-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.625rem;
}

.policy-card-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================================
   INTERIM COUNCIL PAGE
   ============================================================= */
.interim-prose {
  max-width: 700px;
}

/* =============================================================
   DONATE PAGE
   ============================================================= */
.hero-location {
  font-size: 0.95rem;
  color: var(--on-dark-muted);
  margin-top: -1.5rem;
  margin-bottom: 2.75rem;
  letter-spacing: 0.01em;
}

.wallet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.wallet-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green-primary);
  padding: 2rem 1.75rem;
}

.wallet-network {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 0.4rem;
}

.wallet-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.wallet-instruction {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.wallet-address {
  display: block;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.78rem;
  word-break: break-all;
  background: var(--green-tint);
  border: 1px solid var(--green-pale);
  padding: 0.85rem 1rem;
  color: var(--charcoal);
  line-height: 1.6;
  user-select: all;
}

.donation-note {
  background: var(--green-tint);
  border-left: 3px solid var(--green-primary);
  padding: 1rem 1.25rem;
  margin-top: 2.5rem;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 66ch;
}

/* =============================================================
   ELECTIONS PAGE
   ============================================================= */
.elections-layout {
  max-width: 780px;
}

.elections-intro {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-light);
}

.election-section {
  padding-bottom: 2.75rem;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid var(--border-light);
}

.election-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

.election-note {
  background: var(--green-tint);
  border-left: 3px solid var(--green-primary);
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.election-note--strong {
  background: #fff8f0;
  border-left-color: #b05c00;
  color: #5a3000;
}

.election-summary {
  background: var(--green-dark);
  color: #fff;
  padding: 2.25rem 2rem;
  margin-top: 1rem;
}

.election-summary-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-pale);
  margin-bottom: 0.875rem;
}

.election-summary-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
}

.election-subsection-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.election-tier-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.election-tier-list li {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-light);
  align-items: baseline;
}

.election-tier-list li:last-child {
  border-bottom: 1px solid var(--border-light);
}

.election-tier-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--charcoal);
}

.election-tier-rule {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 540px) {
  .election-tier-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* =============================================================
   Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .btn:hover, .topic-card:hover { transform: none; }
}

