/* Strong reset and predictable box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
html, body {
  height: 100%;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg,#ffffff 0%,#f0f0f0 100%);
  color: #000;
  line-height: 1.6;
}

/* Page wrapper: single column, centred */
.page {
  display: flex;
  flex-direction: column;
  align-items: center; /* centre the column */
  width: 100%;
  padding: 0 16px;
}

/* Constrain content width but keep boxes full inside it */
.content {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: stretch; /* boxes fill the column width */
}

/* Header */
.site-header {
  width: 100%;
  text-align: center;
  margin-top: 28px;
  margin-bottom: 18px;
}

.site-title {
  font-size: 2.0rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Hero image: block-level, centred by column */
.hero-image {
  display: block;
  width: 100%;
  max-width: 650px;
  height: auto;
  border-radius: 12px;
  margin: 0 auto 20px;
}

/* Generic box styling — full width of the content column */
.box {
  width: 100%;
  background: #fff;
  padding: 28px;
  margin: 16px 0;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  text-align: center;
}

/* Variants */
.cream-box { background: #fae3a0; }
.screen-box { background: #f7f7f7; }

/* Typography */
.verse { font-size: 1.12rem; margin-bottom: 8px; }
.ref { font-size: 0.9rem; opacity: 0.75; }
.message, .download-text { font-size: 1.0rem; line-height: 1.6; }

/* Button */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 12px 28px;
  border-radius: 44px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 14px;
}

/* Footer */
.footer {
  margin: 36px 0 28px;
  font-size: 0.85rem;
  opacity: 0.7;
  text-align: center;
  width: 100%;
  max-width: 760px;
}

/* MOBILE TUNING */
@media (max-width: 600px) {
  .site-title { font-size: 1.8rem; margin-top: 20px; margin-bottom: 12px; }
  .box { padding: 18px; margin: 12px 0; border-radius: 12px; }
  .verse { font-size: 1.02rem; }
  .ref { font-size: 0.82rem; }
  .message, .download-text { font-size: 0.95rem; line-height: 1.5; }
  .button { font-size: 0.92rem; padding: 10px 22px; }
  .hero-image { margin-bottom: 16px; }
}

/* Safety: prevent accidental horizontal scroll */
html, body, .page, .content {
  overflow-x: hidden;
}
