/* ============================================================
   Snack Signal — Design System
   Aesthetic: Organic Warmth — nurturing, soft, safe
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --sage: #4A7C59;
  --sage-dark: #3A6347;
  --peach: #E8956A;
  --peach-dark: #D47B52;
  --peach-light: #FDE8DE;
  --cream: #FBF7F0;
  --dark: #2D2D2D;
  --dark-muted: #5A5A5A;
  --white: #FFFFFF;
  --light-sage: #E8F0EB;
  --light-peach: #FDE8DE;

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-round: 50%;

  --shadow-soft: 0 2px 20px rgba(74, 124, 89, 0.08);
  --shadow-card: 0 4px 32px rgba(45, 45, 45, 0.06);
  --shadow-card-hover: 0 8px 40px rgba(74, 124, 89, 0.14);
  --shadow-elevated: 0 12px 48px rgba(45, 45, 45, 0.1);

  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --max-width: 1140px;
  --max-width-narrow: 720px;
}

/* --- Reset & Base --- */
*,
*::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: 16px;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

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

a {
  color: var(--sage);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--sage-dark);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

h1 {
  font-size: clamp(2.2rem, 5vw + 0.5rem, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 3vw + 0.3rem, 2.4rem);
  font-weight: 600;

}

h3 {
  font-size: clamp(1.15rem, 1.5vw + 0.3rem, 1.4rem);
  font-weight: 500;
}

p {
  line-height: 1.7;
  color: var(--dark-muted);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

section {
  padding: 72px 0;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
  section {
    padding: 100px 0;
  }
}

/* --- Section Backgrounds --- */
.bg-cream { background-color: var(--cream); }
.bg-white { background-color: var(--white); }
.bg-light-sage { background-color: var(--light-sage); }
.bg-light-peach { background-color: var(--light-peach); }
.bg-sage {
  background-color: var(--sage);
  color: var(--white);
}
.bg-sage h2,
.bg-sage h3,
.bg-sage p {
  color: var(--white);
}
.bg-sage p {
  opacity: 0.9;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 247, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(74, 124, 89, 0.08);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .header-inner {
    height: 72px;
    padding: 0 40px;
  }
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
}

.header-brand:hover {
  color: var(--dark);
}

.header-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.header-wordmark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;

  letter-spacing: -0.01em;
}

/* Desktop Nav */
.header-nav {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-muted);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-base);
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--peach);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.header-nav a:hover {
  color: var(--dark);
}

.header-nav a:hover::after,
.header-nav a.active::after {
  width: 100%;
}

.header-nav a.active {
  color: var(--sage);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  border-radius: 1px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(251, 247, 240, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu li {
  opacity: 0;
  transform: translateY(16px);
}

.mobile-menu.open li {
  animation: menuItemIn 0.4s ease forwards;
}

.mobile-menu.open li:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.open li:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu.open li:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.open li:nth-child(4) { animation-delay: 0.2s; }

@keyframes menuItemIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu a {
  display: block;
  padding: 16px 40px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--sage);
}

/* --- Footer --- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  opacity: 0.9;
}

.footer-brand span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 24px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-nav a:hover {
  color: var(--peach);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);

}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn--peach {
  background: var(--peach);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232, 149, 106, 0.3);
}

.btn--peach:hover {
  background: var(--peach-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 149, 106, 0.4);
}

.btn--sage {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(74, 124, 89, 0.25);
}

.btn--sage:hover {
  background: var(--sage-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(74, 124, 89, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--sage);
  border: 2px solid var(--sage);
}

.btn--outline:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--sage);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn--white:hover {
  color: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

/* App Store Badge */
.app-store-badge {
  display: inline-block;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.app-store-badge:hover {
  transform: scale(1.05);
}

.app-store-badge svg {
  height: 48px;
  width: auto;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: var(--cream);
}

@media (min-width: 768px) {
  .hero {
    padding: 120px 0 100px;
  }
}

/* Organic background shapes */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 149, 106, 0.1) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  animation: floatBlob 18s ease-in-out infinite;
}

.hero::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(74, 124, 89, 0.08) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation: floatBlob 22s ease-in-out infinite reverse;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.hero-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  animation: iconFloat 6s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero h1 {
  margin-bottom: 12px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw + 0.3rem, 1.5rem);
  color: var(--peach);
  font-weight: 400;

  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/* Organic underline */
.hero-tagline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 10%;
  width: 80%;
  height: 6px;
  background: var(--peach-light);
  border-radius: 3px;
  opacity: 0.7;
}

.hero-description {
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 36px;
  color: var(--dark-muted);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 56px;
  }
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--light-sage);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-header p {
  max-width: 520px;
  margin: 12px auto 0;
  font-size: 1.02rem;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(74, 124, 89, 0.06);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--peach));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-icon--sage {
  background: var(--light-sage);
}

.feature-icon--peach {
  background: var(--light-peach);
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Wide card spanning full width */
@media (min-width: 768px) {
  .feature-card--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 24px;
    align-items: start;
  }

  .feature-card--wide .feature-icon {
    grid-row: 1 / 3;
    margin-bottom: 0;
    align-self: center;
  }

  .feature-card--wide h3 {
    align-self: end;
  }
}

/* --- Phone Mockups --- */
.screenshots {
  overflow: hidden;
}

.screenshots-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 10px;
}

@media (min-width: 768px) {
  .screenshots-row {
    gap: 32px;
  }
}

.phone-frame {
  position: relative;
  width: 180px;
  flex-shrink: 0;
  transition: transform var(--transition-bounce);
}

.phone-frame:hover {
  transform: translateY(-10px) rotate(-1.5deg);
}

.phone-frame:nth-child(2) {
  transform: translateY(16px);
}

.phone-frame:nth-child(2):hover {
  transform: translateY(6px) rotate(1.5deg);
}

.phone-bezel {
  background: #1a1a1a;
  border-radius: 28px;
  padding: 8px;
  box-shadow:
    var(--shadow-elevated),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone-screen {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--cream);
}

.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* Dynamic Island */
.phone-bezel::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 14px;
  background: #000;
  border-radius: 10px;
  z-index: 2;
}

.phone-caption {
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

.phone-caption span {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--dark-muted);
  margin-top: 2px;
}

@media (min-width: 768px) {
  .phone-frame {
    width: 230px;
  }

  .phone-bezel {
    border-radius: 36px;
    padding: 10px;
  }

  .phone-screen {
    border-radius: 26px;
  }

  .phone-bezel::before {
    top: 14px;
    width: 56px;
    height: 16px;
  }
}

@media (min-width: 1024px) {
  .phone-frame {
    width: 260px;
  }
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  top: -100px;
  right: -50px;
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* --- Legal Pages --- */
.legal-page {
  padding: 100px 0 80px;
  min-height: 80vh;
}

@media (min-width: 768px) {
  .legal-page {
    padding: 120px 0 100px;
  }
}

.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 8px;
  text-align: center;
}

.legal-meta {
  text-align: center;
  font-size: 0.85rem;
  color: var(--dark-muted);
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(74, 124, 89, 0.1);
}

.legal-content {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  line-height: 1.75;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 40px 0 16px;
  padding-top: 8px;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 28px 0 12px;
}

.legal-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 24px;
  color: var(--dark-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--sage);
  text-decoration: underline;
  text-decoration-color: rgba(74, 124, 89, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition-base);
}

.legal-content a:hover {
  text-decoration-color: var(--sage);
}

/* --- Callout Boxes --- */
.callout {
  padding: 24px 28px;
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.callout--warning {
  background: var(--light-peach);
  border-left: 4px solid var(--peach);
}

.callout--info {
  background: var(--light-sage);
  border-left: 4px solid var(--sage);
}

.callout p {
  margin-bottom: 8px;
  font-size: 0.92rem;
}

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

.callout strong {
  color: var(--dark);
}

/* --- Support Page --- */
.support-contact {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 48px;
}

.support-contact h2 {
  margin-bottom: 12px;
}

.support-contact p {
  margin-bottom: 16px;
}

.support-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sage);
  text-decoration: none;
  padding: 12px 28px;
  background: var(--light-sage);
  border-radius: 50px;
  transition: all var(--transition-base);
}

.support-email:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(74, 124, 89, 0.25);
}

/* FAQ Accordion */
.faq-section {
  margin-bottom: 48px;
}

details {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(74, 124, 89, 0.06);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

details:hover {
  box-shadow: var(--shadow-card);
}

details[open] {
  box-shadow: var(--shadow-card);
}

summary {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition-base);

}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--peach);
  flex-shrink: 0;
  transition: transform var(--transition-base);
  line-height: 1;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details[open] summary {
  color: var(--sage);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--dark-muted);
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Crisis Resources */
.crisis-resources {
  background: var(--light-peach);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 2px solid rgba(232, 149, 106, 0.2);
}

.crisis-resources h2 {
  color: var(--dark);
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.crisis-resources > p {
  margin-bottom: 24px;
}

.crisis-list {
  display: grid;
  gap: 16px;
}

.crisis-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (min-width: 768px) {
  .crisis-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.crisis-item-name {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
}

.crisis-item-detail {
  font-size: 0.9rem;
  color: var(--dark-muted);
}

.crisis-item a {
  font-weight: 600;
  color: var(--sage);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.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;
}

/* --- Print --- */
@media print {
  .site-header,
  .site-footer,
  .hamburger,
  .mobile-menu {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .legal-page {
    padding: 20px 0;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #666;
  }
}
