/* Base Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: #fdfdfd;
  color: #333;
  line-height: 1.6;
}

/* Container */
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 0;
}

/* Header */
header {
  text-align: center;
  padding: 2rem 0 1.2rem;
}
header .logo {
  width: 90px;
  height: 90px;
  margin-bottom: 1rem;
}
header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.3rem;
}
header p {
  font-size: 1.1rem;
  color: #666;
}

/* Research Highlight */
.research-highlight {
  background: #fff4db;
  border: 1px solid #ffe2a8;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}
.rh-badge {
  display: inline-block;
  background: #ffb347;
  color: #fff;
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}
.research-highlight h2 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}
.research-highlight .rh-copy { margin-bottom: 1rem; }
.rh-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #ff9800;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}
.rh-button:hover { background: #e68900; }

/* Hero */
.hero {
  text-align: center;
  margin: 2rem 0;
}
.hero img.app-screenshot {
  max-width: 260px;   /* smaller default */
  width: 80%;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.hero p.hero-copy {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #444;
}
.hero img.appstore {
  max-width: 200px;   /* smaller default badge */
  width: 70%;
}

/* Story & Sections */
.story { margin: 2.5rem 0; }
.story h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  text-align: center;
}
.story p { margin-bottom: 0.8rem; text-align: left; }
.muted { color: #777; font-size: 0.95rem; }

/* Photos */
.story-media {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1rem;
}
.photo-frame { width: 280px; text-align: center; }
.photo-aspect {
  width: 100%;
  padding-top: 75%; /* 4:3 box */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}
.photo {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
}
figcaption { margin-top: 0.5rem; font-size: 0.9rem; color: #555; }

/* Donations */
#donations p { text-align: center; }

/* FAQ */
#faq h3 {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #444;
}
#faq p { margin-bottom: 0.6rem; }

/* Share Buttons */
.share-buttons {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}
.share-btn {
  padding: 0.6rem 1.2rem;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.85; }
.share-btn.twitter  { background: #1da1f2; }
.share-btn.facebook { background: #1877f2; }
.share-btn.linkedin { background: #0077b5; }

/* Contact */
.contact {
  background: #f6f6f6;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}
.contact a { color: #0077b5; font-weight: bold; text-decoration: none; }
.contact a:hover { text-decoration: underline; }

/* Footer */
footer {
  text-align: center;
  padding: 1.2rem 0;
  font-size: 0.9rem;
  color: #777;
  border-top: 1px solid #eee;
  margin-top: 2rem;
}

/* Responsive */
@media (min-width: 768px) {
  .hero img.app-screenshot { max-width: 320px; } /* reduced from 450px */
  .hero img.appstore       { max-width: 220px; } /* keep proportional */
  .photo-frame             { width: 320px; }
}
