/* Base Layout */
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #e0ebf0;
  color: #000;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 4rem 4rem 2rem;
  max-width: 1200px;
  margin: auto;
  flex: 1;
  gap: 3rem;
}

/* Left Section */
.left {
  max-width: 50%;
}

.left h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.left p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Buttons */
.buttons {
  margin-top: 2.5rem;
}

.buttons img {
  /* slightly smaller App Store badge */
  height: 48px;
  margin-right: 1rem;
}

/* Social Icons */
.social {
  margin-top: 2rem;
}

.social img {
  /* larger social icons */
  width: 48px;
  margin-right: 1rem;
  vertical-align: middle;
}

/* Right Section */
/* Right Section */
.right .screenshot-wrapper {
  width: 300px;
  /* allow the PNG's own rounded shape to show through */
  overflow: visible;
}

/* Screenshot image itself gets a drop-shadow matching its alpha shape */
.right .screenshot-wrapper img {
  width: 100%;
  display: block;
  /* sharper shadow hugging the device edges */
  filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.6));
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  padding: 2rem 1rem;
  border-top: 1px solid #ccc;
  background-color: #dde7ec;
}

footer a {
  color: #444;
  margin: 0 0.5rem;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Privacy Policy & Terms Styles */
.section {
  margin-bottom: 2rem;
}

.section h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.section h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.section ul {
  display: block;
  padding-left: 2rem;
}

.section ul li {
  display: list-item;
  margin-bottom: 0.5rem;
}

.effective-date, .applies-to {
  margin-bottom: 1rem;
  font-style: italic;
}

/* Override container flex for legal pages (privacy policy, terms) */
.legal-container {
  flex-direction: column !important;
  align-items: flex-start !important;
  max-width: 800px;
  gap: 0 !important;
  padding: 1.25rem !important;
}

.legal-container h1 {
  margin-bottom: 0.5rem;
}

.legal-container h2 {
  margin-top: 0.8rem !important;
  margin-bottom: 0.3rem !important;
}

.legal-container h3 {
  margin-top: 0.6rem !important;
  margin-bottom: 0.2rem !important;
}

.legal-container .section {
  margin-bottom: 0.5rem !important;
}

.legal-container p {
  margin-top: 0.3rem !important;
  margin-bottom: 0.4rem !important;
}

.legal-container ul {
  margin-top: 0.3rem !important;
  margin-bottom: 0.4rem !important;
}

.legal-container ul li {
  margin-bottom: 0.3rem !important;
}

/* Terms of Use specific styles */
.legal-container .welcome {
  margin-bottom: 0.7rem !important;
  font-style: italic;
}

.legal-container .terms-section {
  margin-bottom: 0.5rem !important;
}

/* Responsive */
@media (max-width: 800px) {
  .container {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
  }

  .left, .right {
    max-width: 100%;
    text-align: center;
  }

  .right {
    margin-top: 2rem;
  }

  .right .screenshot-wrapper {
    width: 90%;
  }
}
