:root {
  --flag-red: #D21034;
  --flag-white: #FFFFFF;
  --flag-black: #0B0B0B;
  --flag-green: #007A3D;

  --bg: #f7f4ee;
  --bg-elev: #ffffff;
  --fg: #14110f;
  --muted: #5b5650;
  --line: #e6e1d8;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12), 0 30px 60px rgba(0, 0, 0, 0.08);

  --max-w: 1100px;
  --gutter: 48px;
}

@media (max-width: 820px) {
  :root { --gutter: 32px; }
}
@media (max-width: 480px) {
  :root { --gutter: 24px; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

img { display: block; max-width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  min-width: 0;
}
.brand-flag {
  width: 36px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.brand-accent { color: var(--flag-red); }

.nav-links a {
  margin-left: 28px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--flag-red); }

@media (max-width: 820px) {
  .nav-links a { margin-left: 18px; font-size: 14px; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
}

/* ---------- Layout ---------- */
main { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.section:first-of-type { border-top: none; }

.section-alt {
  background: var(--bg-elev);
  margin: 0 calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 820px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 480px) {
  .section { padding-top: 48px; padding-bottom: 48px; }
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: var(--flag-red);
  margin: 0 0 14px;
}

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.section-title em {
  font-style: italic;
  color: var(--flag-red);
}

.section-lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 32px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 520px;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(0, 122, 61, 0.18), transparent 70%),
    radial-gradient(50% 50% at 75% 40%, rgba(210, 16, 52, 0.18), transparent 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(20px);
}
.hero > * { position: relative; z-index: 1; }

.hero-flag-wrap {
  display: inline-block;
  padding: 6px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  margin-bottom: 36px;
  transition: transform 0.4s ease;
}
.hero-flag-wrap:hover { transform: rotate(0deg) scale(1.02); }
.hero-flag {
  width: 280px;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 700;
  color: var(--flag-green);
  margin: 0 0 12px;
}

.headline {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(56px, 10vw, 120px);
  line-height: 0.95;
  margin: 0 0 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.headline .accent {
  color: var(--flag-red);
}

.tagline {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--muted);
  margin: 0 auto 36px;
  max-width: 620px;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.08s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  border: 2px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--flag-green);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 122, 61, 0.28);
}
.btn-primary:hover {
  background: #006030;
  box-shadow: 0 10px 22px rgba(0, 122, 61, 0.35);
}
.btn-ghost {
  background: transparent;
  border-color: var(--flag-black);
  color: var(--flag-black);
}
.btn-ghost:hover { background: var(--flag-black); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.stat-row {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.stat-num {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--flag-red);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .stat-row { grid-template-columns: 1fr; }
}

/* ---------- Card grid (coalitions) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}
@media (max-width: 760px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.12);
}

.card-mark {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-mark-pride {
  background: linear-gradient(
    180deg,
    #e40303 0 16.66%,
    #ff8c00 16.66% 33.33%,
    #ffed00 33.33% 50%,
    #008026 50% 66.66%,
    #004dff 66.66% 83.33%,
    #750787 83.33% 100%
  );
  box-shadow: inset 0 0 0 2px #fff, 0 4px 10px rgba(0, 0, 0, 0.15);
}
.card-mark-jews {
  background: #f0f6ff;
  color: #0038b8;
  border: 2px solid #cfe0ff;
}
.card-mark-jews svg { width: 40px; height: 40px; }

.card-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.card-sub {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 700;
  color: var(--flag-red);
  margin: 0 0 14px;
}
.card p { color: var(--muted); margin: 0 0 18px; }
.card-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--flag-green);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.card-link:hover { border-bottom-color: var(--flag-green); }

/* ---------- Feature sections (coalitions) ---------- */
.section-feature { padding-top: 72px; padding-bottom: 72px; }
@media (max-width: 820px) {
  .section-feature { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 480px) {
  .section-feature { padding-top: 40px; padding-bottom: 40px; }
}
.section-feature-alt {
  background: linear-gradient(180deg, #fff 0%, #faf7f0 100%);
  margin: 0 calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-reverse { grid-template-columns: 1fr 1.1fr; }
.feature-reverse .feature-media { order: 2; }
.feature-reverse .feature-body  { order: 1; }

@media (max-width: 820px) {
  .feature, .feature-reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature-reverse .feature-media { order: 0; }
  .feature-reverse .feature-body  { order: 0; }
}

.feature-body .section-title { margin-top: 6px; }
.feature-body .section-lead  { margin-bottom: 14px; }
.feature-body .section-lead:last-of-type { margin-bottom: 24px; }
.feature-body .btn { margin-top: 4px; }

.feature-media-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(0, 56, 184, 0.15), transparent 70%),
    linear-gradient(135deg, #f0f6ff 0%, #e7eefc 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid #d8e3f5;
}
.big-mark { color: #0038b8; }
.big-mark svg { width: 200px; height: 200px; }

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  aspect-ratio: 3 / 2;
}
.carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--flag-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: background 0.15s ease, transform 0.12s ease, opacity 0.2s ease;
  opacity: 0;
  z-index: 2;
}
.carousel-btn svg { width: 22px; height: 22px; }
.carousel:hover .carousel-btn,
.carousel:focus-within .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.carousel-btn:active { transform: translateY(-50%) scale(0.97); }
.carousel-btn[disabled] { opacity: 0 !important; pointer-events: none; }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.15s ease, transform 0.15s ease, width 0.18s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}
.carousel-dot.is-active {
  background: #fff;
  width: 22px;
  border-radius: 999px;
}
.carousel[data-single] .carousel-btn,
.carousel[data-single] .carousel-dots { display: none; }

/* ---------- Why / manifesto section ---------- */
.section-manifesto { text-align: center; }
.section-manifesto .kicker {
  margin-left: auto;
  margin-right: auto;
}
.section-manifesto .section-title {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-manifesto .section-lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 19px;
}
.section-manifesto .section-lead strong {
  color: var(--flag-red);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Speakers grid ---------- */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px auto 0;
  max-width: 620px;
}
@media (max-width: 820px) {
  .speakers-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 500px; }
}
@media (max-width: 560px) {
  .speakers-grid { grid-template-columns: 1fr; gap: 12px; max-width: none; }
}

.speaker {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.speaker:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.12);
}

.speaker-photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  display: block;
  background: #eee;
}

.speaker-body { padding: 16px 18px 18px; }

.speaker-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 700;
  color: var(--flag-red);
  background: rgba(210, 16, 52, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0 0 8px;
}

.speaker-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 2px;
  letter-spacing: -0.01em;
}

.speaker-title {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Mobile: compact horizontal card */
@media (max-width: 560px) {
  .speaker {
    display: grid;
    grid-template-columns: 104px 1fr;
    align-items: stretch;
  }
  .speaker-photo {
    width: 104px;
    height: 104px;
    aspect-ratio: 1 / 1;
  }
  .speaker-body { padding: 14px 16px; align-self: center; }
  .speaker-tag { font-size: 9px; padding: 3px 8px; margin-bottom: 6px; }
  .speaker-name { font-size: 17px; line-height: 1.2; }
  .speaker-title { font-size: 13px; }
}

/* ---------- Action list ---------- */
.action-list {
  list-style: none;
  counter-reset: act;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.action-list li {
  counter-increment: act;
  padding: 22px 22px 22px 72px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.action-list li::before {
  content: counter(act);
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--flag-black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

/* ---------- CTA section ---------- */
.section-cta {
  text-align: center;
  background: linear-gradient(180deg, var(--flag-black) 0%, #1a1714 100%);
  color: #fff;
  margin: 0 calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  border-radius: 0;
}
.section-cta .cta-headline {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 52px);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.section-cta .cta-sub {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 28px;
  font-size: 18px;
}
.section-cta .btn-ghost {
  border-color: #fff;
  color: #fff;
}
.section-cta .btn-ghost:hover { background: #fff; color: var(--flag-black); }

.kicker-light { color: var(--flag-green); }

.donate-card {
  margin: 36px auto 0;
  max-width: 720px;
  text-align: left;
}
.donate-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 10px;
}
.wallet {
  display: flex;
  align-items: stretch;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 10px 12px;
}
.wallet-address {
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 14px;
  color: #fff;
  word-break: break-all;
  line-height: 1.5;
  align-self: center;
}
.wallet-copy {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--flag-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease;
}
.wallet-copy:hover { background: #006030; }
.wallet-copy:active { transform: translateY(1px); }
.wallet-copy.is-copied { background: #0b6e35; }

@media (max-width: 600px) {
  .wallet { flex-direction: column; }
  .wallet-copy { justify-content: center; }
}

.donate-steps {
  margin: 36px auto 0;
  max-width: 720px;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px 28px;
}
.donate-steps-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 14px;
  color: #fff;
}
.donate-steps ol {
  margin: 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.85);
}
.donate-steps ol li { margin-bottom: 8px; }
.donate-steps ol li::marker { color: var(--flag-red); font-weight: 700; }
.donate-steps strong { color: #fff; }
.donate-disclaimer {
  margin: 16px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 36px 24px 48px;
  color: var(--muted);
  font-size: 14px;
  background: var(--flag-black);
  color: rgba(255, 255, 255, 0.7);
}
.footer-flag {
  width: 56px;
  height: 28px;
  object-fit: cover;
  margin: 0 auto 12px;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
