/* ══════════════════════════════════════════════════════════
   AfterAction AI — Stylesheet
   Mobile-first. Accessible. Clean.
   ══════════════════════════════════════════════════════════ */

:root {
  --navy: #111111;
  --navy-light: #333333;
  --blue: #333333;
  --blue-light: #555555;
  --gold: #C5A55A;
  --gold-light: #E8D5A0;
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F0F2F4;
  --gray-200: #E2E6EA;
  --gray-300: #CED4DA;
  --gray-500: #6C757D;
  --gray-700: #495057;
  --gray-900: #212529;
  --red: #DC3545;
  --red-bg: #FFF3CD;
  --green: #28A745;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--gray-50);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
}

body.no-scroll {
  overflow: hidden;
}

a { color: var(--gray-900); text-decoration: underline; }
a:hover { color: #000; }

/* ── CRISIS BANNER ─────────────────────────────────── */
.crisis-banner {
  background: var(--red);
  color: var(--white);
  padding: 10px 16px;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.4;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  animation: slideDown 0.3s ease-out;
}
.crisis-banner a { color: var(--white); font-weight: 700; text-decoration: underline; }
.crisis-banner p { margin: 2px 0; }
.crisis-banner p:last-child { font-size: 0.8rem; opacity: 0.9; }

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* ── SCREENS ───────────────────────────────────────── */
.screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ── LANDING SCREEN ────────────────────────────────── */
.screen--landing {
  position: relative;
  background: #000;
}

.screen--landing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

.landing {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 24px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.landing__logo { margin-bottom: 32px; }

.logo-mark {
  width: 64px;
  height: 64px;
  background: #000;
  color: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.2);
}

.landing h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.landing__tagline {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.landing__mission {
  margin-bottom: 40px;
}
.landing__mission p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
}

.landing__start { width: 100%; }

.landing__prompt {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.landing__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 56px;
}

.btn--voice {
  background: var(--white);
  color: #000;
  flex: 1;
}
.btn--voice:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.btn--voice:active { transform: translateY(0); }

.btn--text {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  flex: 1;
}
.btn--text:hover { border-color: var(--white); transform: translateY(-1px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.btn--text:active { transform: translateY(0); }

.landing__switch {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

.landing__footer {
  margin-top: auto;
  padding-top: 40px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.landing__footer a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.landing__crisis-link { margin-top: 8px; }
.landing__crisis-link a { color: #FF6B6B; font-weight: 600; }

/* ── CHAT SCREEN ───────────────────────────────────── */
.screen--chat {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--navy);
  color: var(--white);
  flex-shrink: 0;
}

.chat-header__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header__logo {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.15);
  color: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.chat-header__title {
  font-weight: 700;
  font-size: 1rem;
}

.btn-icon {
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-icon:hover { background: rgba(255,255,255,0.2); }

/* ── MESSAGES ──────────────────────────────────────── */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.6;
  animation: fadeIn 0.3s ease-out;
}

.message--ai {
  background: var(--white);
  color: var(--gray-900);
  align-self: flex-start;
  border: 1px solid var(--gray-200);
  border-bottom-left-radius: 4px;
}

.message--user {
  background: var(--navy);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.message--crisis {
  background: #FFF3CD;
  border: 2px solid var(--red);
  color: var(--gray-900);
  align-self: stretch;
  max-width: 100%;
  text-align: center;
  padding: 20px;
}
.message--crisis a { color: var(--red); font-weight: 700; }
.message--crisis strong { display: block; font-size: 1.1rem; margin-bottom: 8px; }

.message--typing {
  background: var(--white);
  border: 1px solid var(--gray-200);
  align-self: flex-start;
  padding: 16px 20px;
  border-bottom-left-radius: 4px;
}

.typing-dots {
  display: flex;
  gap: 4px;
}
.typing-dots span {
  width: 8px;
  height: 8px;
  background: var(--gray-300);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); background: var(--gray-300); }
  40% { transform: translateY(-6px); background: var(--blue); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── TEXT INPUT ─────────────────────────────────────── */
.chat-input {
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
}

.chat-input__inner {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 720px;
  margin: 0 auto;
}

.chat-input textarea {
  flex: 1;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  resize: none;
  outline: none;
  max-height: 120px;
  min-height: 48px;
  transition: border-color 0.2s;
}
.chat-input textarea:focus { border-color: var(--blue); }

.btn-send, .btn-mic {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.btn-send {
  background: var(--navy);
  color: var(--white);
}
.btn-send:hover { background: var(--navy-light); }
.btn-send:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-mic {
  background: var(--gray-100);
  color: var(--gray-700);
}
.btn-mic:hover { background: var(--gray-200); }

.btn-upload {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
  background: var(--gray-100);
  color: var(--gray-700);
}
.btn-upload:hover { background: var(--gray-200); }

.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 16px 0;
  background: var(--white);
}

.upload-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.8rem;
  color: var(--gray-700);
  animation: fadeIn 0.2s ease-out;
}
.upload-chip__remove {
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0 2px;
}
.upload-chip__remove:hover { color: var(--red); }

.message--upload-notice {
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  color: var(--gray-700);
  align-self: flex-start;
  font-size: 0.85rem;
  max-width: 85%;
  border-bottom-left-radius: 4px;
}
.message--upload-notice strong { color: var(--navy); }

/* ── VOICE INPUT ───────────────────────────────────── */
.chat-input--voice {
  padding: 20px 16px;
  text-align: center;
}

.voice-indicator { margin-bottom: 16px; }

.voice-waves {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
  margin-bottom: 8px;
}
.voice-waves span {
  width: 4px;
  background: var(--blue);
  border-radius: 2px;
  animation: voiceWave 1s ease-in-out infinite;
}
.voice-waves span:nth-child(1) { height: 12px; animation-delay: 0s; }
.voice-waves span:nth-child(2) { height: 20px; animation-delay: 0.1s; }
.voice-waves span:nth-child(3) { height: 28px; animation-delay: 0.2s; }
.voice-waves span:nth-child(4) { height: 20px; animation-delay: 0.3s; }
.voice-waves span:nth-child(5) { height: 12px; animation-delay: 0.4s; }

.voice-waves.idle span { animation: none; height: 4px; background: var(--gray-300); }

@keyframes voiceWave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(2.5); }
}

.voice-status {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

.voice-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.btn-voice-stop {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 10px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-voice-stop:hover { background: var(--navy-light); }

.btn-voice-cancel, .btn-voice-switch {
  background: var(--gray-100);
  color: var(--gray-700);
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}
.btn-voice-cancel:hover, .btn-voice-switch:hover { background: var(--gray-200); }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (min-width: 768px) {
  .landing h1 { font-size: 2.25rem; }
  .landing__mission p { font-size: 1.2rem; }
  .message { max-width: 65%; }
  .chat-messages { padding: 24px; }
}

@media (min-width: 1024px) {
  .chat-messages { max-width: 800px; margin: 0 auto; width: 100%; }
}

/* ── ACCESSIBILITY ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* ── SCROLLBAR ─────────────────────────────────────── */
.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
.chat-messages::-webkit-scrollbar-thumb:hover { background: var(--gray-500); }

/* ══════════════════════════════════════════════════════════
   PAGE LAYOUT — NAV, FOOTER, MAIN CONTENT
   ══════════════════════════════════════════════════════════ */

/* ── NAVIGATION ────────────────────────────────────── */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.navbar--landing {
  background: rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.navbar--landing .navbar__logo { color: var(--white); }
.navbar--landing .navbar__logo-mark { background: rgba(255,255,255,0.15); }
.navbar--landing .navbar__nav a { color: rgba(255,255,255,0.8); }
.navbar--landing .navbar__nav a:hover { color: var(--white); }
.navbar--landing .navbar__nav a.active { color: var(--white); font-weight: 700; }
.navbar--landing .navbar__menu-toggle { color: var(--white); }

@media (max-width: 767px) {
  .navbar--landing .navbar__nav {
    background: rgba(0,0,0,0.9);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px;
  }
}

.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--gray-900);
  text-decoration: none;
  font-size: 1.1rem;
}

.navbar__logo-mark {
  width: 40px;
  height: 40px;
  background: #000000;
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.navbar__nav {
  display: none;
  list-style: none;
  gap: 24px;
}

.navbar__nav a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}
.navbar__nav a:hover { color: var(--navy); }
.navbar__nav a.active { color: var(--navy); font-weight: 700; }

.navbar__menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-700);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .navbar__nav { display: flex; }
  .navbar__menu-toggle { display: none; }
}

/* ── PAGE LAYOUT ───────────────────────────────────── */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page__content {
  flex: 1;
  padding: 24px 16px;
}

@media (min-width: 768px) {
  .page__content { padding: 48px 32px; }
}

.page-hero {
  text-align: center;
  margin-bottom: 48px;
}

.page-hero__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.page-hero__subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ── FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 40px 16px;
  border-top: 1px solid var(--gray-200);
  margin-top: auto;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
}

.footer__section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__section a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer__section a:hover { color: var(--white); }

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: background 0.2s;
}
.footer__social a:hover { background: rgba(255,255,255,0.25); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-300);
}

.footer__crisis {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.5);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
.footer__crisis strong { color: var(--white); }
.footer__crisis a { color: #FF9999; font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════ */

.section {
  margin-bottom: 48px;
}

.section__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  text-align: center;
}

.mission-statement {
  background: var(--gray-50);
  border-left: 4px solid var(--navy);
  padding: 24px;
  border-radius: var(--radius);
  font-size: 1.1rem;
  color: var(--gray-700);
  text-align: center;
  line-height: 1.8;
}

.why-exists {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .why-exists { grid-template-columns: 1fr 1fr 1fr; }
}

.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.why-card__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.why-card__label {
  font-size: 0.9rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.why-card__description {
  font-size: 0.95rem;
  color: var(--gray-700);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .founder-grid { grid-template-columns: 1fr 1fr; }
}

.founder-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.founder-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.founder-card__photo {
  width: 120px;
  height: 120px;
  background: var(--gray-200);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-500);
}

.founder-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.founder-card__title {
  font-size: 0.9rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 600;
}

.founder-card__bio {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.7;
}

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

@media (min-width: 768px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
}

.value-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.value-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.value-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card__description {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ══════════════════════════════════════════════════════════
   BOARD PAGE
   ══════════════════════════════════════════════════════════ */

.board-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .board-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.board-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.board-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.board-card__photo {
  width: 100px;
  height: 100px;
  background: var(--gray-200);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gray-500);
}

.board-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.board-card__title {
  font-size: 0.85rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 600;
}

.board-card__bio {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.7;
}

.board-note {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-top: 32px;
}

/* ══════════════════════════════════════════════════════════
   RESOURCES PAGE
   ══════════════════════════════════════════════════════════ */

.resources-search {
  margin-bottom: 24px;
}

.resources-search__input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.resources-search__input:focus {
  outline: none;
  border-color: var(--navy);
}

.resources-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 16px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  border-radius: 20px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

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

@media (min-width: 768px) {
  .resources-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .resources-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.resource-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.resource-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.resource-card__description {
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 12px;
  flex: 1;
}

.resource-card__category {
  display: inline-block;
  background: var(--blue-light);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
  width: fit-content;
}

.resource-card__button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9rem;
}
.resource-card__button:hover { background: var(--navy-light); }

.resources-cta {
  background: var(--gray-50);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  margin-top: 48px;
}

.resources-cta__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.resources-cta__text {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin-bottom: 20px;
}

.resources-cta__button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.resources-cta__button:hover { background: var(--navy-light); }

.submission-form {
  max-width: 500px;
  margin: 32px auto 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  display: none;
}

.submission-form.visible { display: block; }

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

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

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

.form-group__submit {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.form-group__submit:hover { background: var(--navy-light); }

/* ══════════════════════════════════════════════════════════
   BLOG PAGE
   ══════════════════════════════════════════════════════════ */

.blog-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 40px 24px;
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 48px;
}

.blog-hero__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.blog-hero__subtitle {
  font-size: 1.05rem;
  opacity: 0.95;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.blog-card__image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

.blog-card__content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__date {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.blog-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card__link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.blog-card__link:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════ */

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  margin-bottom: 32px;
}

.contact-form__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  text-align: center;
}

.contact-info {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.contact-info__item {
  margin-bottom: 16px;
}

.contact-info__label {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-info__value a {
  color: var(--blue);
}

.contact-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.contact-social a {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.contact-social a:hover { background: var(--navy-light); }

.contact-emergency {
  background: #FFF3CD;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray-900);
  margin-top: 24px;
}
.contact-emergency strong { color: var(--red); }

/* ══════════════════════════════════════════════════════════
   FAQ PAGE
   ══════════════════════════════════════════════════════════ */

.faq-container {
  max-width: 700px;
  margin: 0 auto;
}

.faq-accordion {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child { border-bottom: none; }

.faq-item__button {
  width: 100%;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  text-align: left;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}
.faq-item__button:hover { background: var(--gray-50); }

.faq-item__button.active { background: var(--gray-100); }

.faq-item__toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item__button.active .faq-item__toggle { transform: rotate(180deg); }

.faq-item__content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item__content.visible {
  padding: 20px 24px;
  max-height: 500px;
}

.faq-item__text {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   POLICY PAGES (Privacy, Terms, Disclaimer)
   ══════════════════════════════════════════════════════════ */

.policy-container {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
}

.policy-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 16px;
}

.policy-content h2:first-child { margin-top: 0; }

.policy-content p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 16px;
}

.policy-content ul,
.policy-content ol {
  margin-bottom: 16px;
  margin-left: 20px;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.8;
}

.policy-content li {
  margin-bottom: 8px;
}

.policy-meta {
  color: var(--gray-500);
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
