/* Base layout */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #E0E0E0; /* off grey like your app */
  color: #222;
}

/*headrer*/
.site-header {
  position: relative;
  height: 260px;
  background: url("../assets/head.png") center/cover no-repeat;
}

.site-header {
  position: relative;
  width: 100%;
  height: 320px; /* adjust as needed */
  background-color: #808080;  /* Solid grey base */
  background-image: url("../assets/head.png");
  background-size: contain;    /* ensures full width without cropping */
  background-position: center bottom;  /* moves text up slightly */
  background-repeat: no-repeat;
}
/* Top nav bar */
.site-nav {
  background: #333;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 10px 0;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-nav a:hover {
  text-decoration: underline;
}

/* Main content */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px 60px 20px;
}

/* App hero section: icon + text */
.app-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

/* Left column: icon + store links */
.app-left {
  flex: 0 0 260px;
  text-align: center;
}

.app-icon {
  width: 220px;
  max-width: 100%;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

.store-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-button {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  background: #263F6A;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.store-button span {
  font-size: 11px;
  opacity: 0.85;
  display: block;
}

.store-button:hover {
  background: #1c2e4a;
}

/* Right column: description text */
.app-right {
  flex: 1 1 260px;
}

.app-title {
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 10px;
}

.app-tagline {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 16px;
  color: #444;
}

.app-text {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.app-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* Footer */
footer {
  text-align: center;
  font-size: 12px;
  color: #777;
  padding: 15px 10px 25px;
}

.store-links {
  display: flex;
  flex-direction: row; /* side by side */
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.store-badge {
  height: 40px; /* clean size that fits both */
  width: auto;
  display: block;
}

.policy-card {
  max-width: 900px;
  margin: 20px auto 60px auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 24px 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.policy-title {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 26px;
}

.policy-intro {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 18px;
  color: #333;
}

.policy-section-title {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 18px;
}

.policy-card p,
.policy-card ul {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.policy-card ul {
  padding-left: 20px;
}

.policy-updated {
  margin-top: 24px;
  font-size: 12px;
  color: #777;
}


/* Mobile layout adjustments */
@media (max-width: 768px) {

  /* Shorter header for phones */
  .site-header {
    height: 180px;
    background-size: contain;
    background-position: center;
  }

  /* Make nav tighter */
  .site-nav {
    gap: 20px;
    padding: 8px 0;
    font-size: 12px;
  }

  /* Hero section stack and center */
  .app-hero {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  /* Icon slightly smaller */
  .app-icon {
    width: 160px;
    margin-bottom: 15px;
  }

  /* Badges fit better */
  .store-badge {
    height: 42px;
  }

  /* Reduce text margins + better readability */
  .app-right {
    width: 100%;
    max-width: 500px;
  }
  .app-title {
    font-size: 24px;
  }
  .app-text {
    font-size: 14px;
  }

  /* Policy card spacing on small screens */
  .policy-card {
    border-radius: 10px;
    padding: 18px;
  }
}

