/* =====================================================
   5708SMS Light Theme Design System
   Clean, airy, minimalist — matching current Squarespace site
   White backgrounds, dark text, blue/navy CTA accent
   ===================================================== */

:root {
  /* Brand Colors — Primary (navy) */
  --primary:          #1a3a6b;
  --primary-light:    #2956a0;
  --primary-dark:     #0f2748;
  --primary-bg:       rgba(26, 58, 107, 0.06);

  /* Gold — retained for Hebrew/Judaica branding elements */
  --gold:            #C9A84C;
  --gold-light:      #dcc06e;

  /* Backgrounds */
  --bg-primary:      #ffffff;
  --bg-elevated:     #f7f8fa;
  --bg-card:         #ffffff;
  --bg-card-hover:   #f9fafb;

  /* Text */
  --text-primary:    #1a1a2e;
  --text-secondary:  #4a4a68;
  --text-muted:      #8a8aa0;
  --text-on-primary: #ffffff;

  /* Backward-compatible aliases */
  --accent: var(--primary);
  --accent-light: var(--primary-light);
  --accent-dark: var(--primary-dark);
  --accent-bg: var(--primary-bg);
  --text-on-accent: var(--text-on-primary);
  --bg-alt: var(--bg-elevated);

  /* Borders */
  --border:          #e8e8ee;
  --border-strong:   #d0d0dc;

  /* Typography */
  --font-display:    'Playfair Display', Georgia, serif;
  --font-body:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad:     clamp(72px, 9vw, 120px);
  --container:       1100px;

  /* Motion */
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --duration:        0.6s;

  /* Shadows */
  --shadow-sm:       0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md:       0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg:       0 12px 40px rgba(0, 0, 0, 0.10);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* =====================================================
   Scroll Reveal
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* =====================================================
   Header — clean, minimal, transparent -> white on scroll
   ===================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
}
/* Canonical 5708SMS wordmark (Drive: "5708SMS Logo.png", 310x59).
   Displayed at 26px tall (~137px wide) so the 310px-native asset stays >2x on retina. */
.logo-img {
  height: 26px;
  width: auto;
  display: block;
}

/* On hero (before scroll), render the blue wordmark white for contrast over the photo.
   brightness(0) flattens the single-color mark to black, invert(1) flips it to white. */
.header:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color 0.3s, background 0.3s;
}
.nav-link:hover,
.nav-link.active { color: var(--text-primary); }

/* On hero, nav link is white */
.header:not(.scrolled) .nav-link { color: rgba(255,255,255,0.85); }
.header:not(.scrolled) .nav-link:hover,
.header:not(.scrolled) .nav-link.active { color: #ffffff; }

.btn-login {
  padding: 8px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid var(--text-primary);
  border-radius: 4px;
  color: var(--text-primary);
  background: transparent;
  transition: all 0.3s;
}
.btn-login:hover {
  background: var(--text-primary);
  color: #ffffff;
}

/* On hero, login is white bordered */
.header:not(.scrolled) .btn-login {
  border-color: #ffffff;
  color: #ffffff;
}
.header:not(.scrolled) .btn-login:hover {
  background: #ffffff;
  color: var(--text-primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.header:not(.scrolled) .menu-toggle span {
  background: #ffffff;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-on-primary);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--text-on-primary);
  transform: translateY(-2px);
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }

/* =====================================================
   Hero — full-width photo background, centered text
   ===================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 72px 0 0;
  overflow: hidden;
  /* Original Squarespace hero photo (Israeli flag over Jerusalem Old City).
     Fallback brand color shows while the image loads. */
  background: #2c3e6b url('/assets/images/hero.jpg') center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Legibility scrim tuned for a bright photo: darker top+bottom, deep enough
     center to carry white H1/subhead over the light sky and white flag. */
  background:
    linear-gradient(180deg, rgba(20, 30, 60, 0.55) 0%, rgba(20, 30, 60, 0.42) 45%, rgba(20, 30, 60, 0.60) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  /* Bottom-aligned: copy sits in the lower third with breathing room from the border. */
  padding: 80px 20px 64px;
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero .btn-primary {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  padding: 18px 48px;
  font-size: 1.05rem;
  border-radius: 6px;
}
.hero .btn-primary:hover {
  background: #f0f0f0;
  box-shadow: var(--shadow-lg);
}

/* =====================================================
   Gematria Banner
   ===================================================== */
.gematria-banner {
  padding: 40px 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.gematria-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.gematria-hebrew {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  direction: rtl;
}

.gematria-explanation {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gematria-equals {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.gematria-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.03em;
}

.gematria-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  width: 100%;
  margin-top: 4px;
}

/* =====================================================
   Sections — shared
   ===================================================== */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-light {
  background: var(--bg-elevated);
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.section-header h2 em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* =====================================================
   Mission Card
   ===================================================== */
.mission-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.mission-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
}
.mission-icon svg { width: 22px; height: 22px; }

.mission-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.mission-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =====================================================
   Tabs — Platform Overview
   ===================================================== */
.tabs {
  max-width: 840px;
  margin: 0 auto;
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  flex-shrink: 0;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-panels {
  padding-top: 0;
}

.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}

/* Navattic interactive-demo container. Holds a 16:9 embed; a placeholder shows
   until the demo URL is dropped in (see index.njk tab-panels comment). */
.demo-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  background: #eaecf0;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}
.demo-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.demo-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.demo-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 460px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.demo-badge {
  display: inline-block;
  padding: 7px 18px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-bg);
  border-radius: 100px;
}

/* =====================================================
   Features Grid
   ===================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s var(--ease-out);
}
.feature-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--primary-bg);
  color: var(--primary);
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =====================================================
   Pricing
   ===================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 56px;
}

.pricing-card {
  position: relative;
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.4s var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary), var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
  border-radius: 16px 16px 0 0;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.pricing-popular-tag {
  position: absolute;
  top: 16px; right: 16px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-primary);
  background: var(--primary);
  border-radius: 4px;
}

.plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.plan-price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.1;
}
.plan-price .period {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-credits {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.plan-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%231a3a6b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-card .btn { width: 100%; margin-top: 28px; }

/* =====================================================
   Donation Block
   ===================================================== */
.donation-block {
  text-align: center;
  padding: 48px 40px;
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 16px;
  max-width: 680px;
  margin: 0 auto;
}

.donation-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  margin: 0 auto 20px;
}
.donation-icon svg { width: 26px; height: 26px; }

.donation-block h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.donation-block p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 24px;
}

/* =====================================================
   FAQ Accordion
   ===================================================== */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s;
}
.faq-question:hover { color: var(--primary); }

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
  color: var(--text-muted);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}
.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 0 22px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =====================================================
   Contact Form
   ===================================================== */
.contact-form-wrapper {
  max-width: 560px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8aa0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* =====================================================
   Footer — clean, minimal
   ===================================================== */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-contact p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.footer-contact a {
  color: var(--primary);
  text-decoration: underline;
}
.footer-contact a:hover { color: var(--primary-light); }

.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-muted);
  transition: color 0.3s, background 0.3s;
}
.social-icon:hover {
  color: var(--primary);
  background: var(--primary-bg);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-bottom a {
  color: var(--primary);
  text-decoration: underline;
}

.footer-compliance {
  margin-top: 8px;
  font-size: 0.75rem !important;
  color: var(--text-muted);
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav.open .nav-link { color: var(--text-primary); }
  .nav.open .btn-login {
    border-color: var(--text-primary);
    color: var(--text-primary);
    align-self: flex-start;
  }
  .menu-toggle { display: flex; }

  .hero { min-height: 70vh; }
  .hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }

  .features-grid,
  .pricing-grid { grid-template-columns: 1fr; }

  .gematria-inner { flex-direction: column; gap: 12px; }

  .mission-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 32px 24px;
  }

  .tab-btn { padding: 12px 16px; font-size: 0.82rem; }
  .demo-embed { min-height: 240px; }
  .demo-placeholder { padding: 32px 20px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .donation-block { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .hero { min-height: 60vh; padding-top: 72px; }
  .hero-content { padding: 60px 16px 72px; }
  .hero .btn-primary { padding: 16px 36px; font-size: 0.95rem; }
}
