body {
  margin: 0;
  font-family: sans-serif;
  background: linear-gradient(135deg, #23243a 0%, #3a3d5c 100%);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow-x: hidden;
}

.container a:not(.cta-btn),
footer a:not(.cta-btn),
main a:not(.cta-btn),
header a:not(.cta-btn) {
  color: #9ecbff; /* high-contrast on #23243a-#3a3d5c */
  text-decoration: underline;
  text-underline-offset: 2px;
}

.container a:not(.cta-btn):hover,
footer a:not(.cta-btn):hover,
main a:not(.cta-btn):hover,
header a:not(.cta-btn):hover {
  color: #cfe6ff;
}

.container a:not(.cta-btn):focus-visible,
footer a:not(.cta-btn):focus-visible,
main a:not(.cta-btn):focus-visible,
header a:not(.cta-btn):focus-visible {
  outline: 2px solid #9ecbff;
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  padding: 2rem 1rem;
  max-width: 480px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.logo {
  display: none;
}

.logo-img {
  height: 160px;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(163, 191, 250, 0.18));
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem;
  max-width: 80vw;
  width: auto;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #d1d5f0;
  text-align: center;
}

.cta-btn {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0.2rem 0 2rem 0;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  display: inline-block;
  min-width: 56px;
  min-height: 56px;
  border-radius: 16px;
}

.cta-btn:active {
  outline: none;
  box-shadow: 0 0 0 2px #a3bffa44;
}

.cta-btn img {
  height: 4.2rem;
  vertical-align: middle;
  max-width: 90vw;
  width: auto;
}

/* Inline text CTA variant (e.g., in article content) */
.cta-btn.inline {
  display: inline;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: #9ecbff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

.cta-btn.inline:hover {
  color: #cfe6ff;
}

.cta-btn.inline:focus-visible {
  outline: 2px solid #9ecbff;
  outline-offset: 2px;
  border-radius: 4px;
}

.footer {
  text-align: center;
  padding: 1.2rem 0 0.7rem 0;
  font-size: 0.95rem;
  color: #7b7e9e;
  word-break: break-word;
}

@media (max-width: 600px) {
  .container {
    padding: 1.2rem 0.5rem;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 1rem 0.3rem;
  }
}

/* Animated Night Sky Background */
.sky-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #23243a 0%, #3a3d5c 100%);
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  animation: twinkle 2.5s infinite ease-in-out;
}

.star:nth-child(2n) {
  animation-duration: 3.2s;
}

.star:nth-child(3n) {
  animation-duration: 1.8s;
}

.star:nth-child(5n) {
  animation-duration: 2.1s;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 0.2;
  }
}

/* Natural, Fluffy Clouds */
.cloud-group {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  animation: cloud-move 60s linear infinite;
}

.cloud-blob {
  position: absolute;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  filter: blur(4px);
}

/* Individual cloud groups and their animation durations */
.cloud1 {
  top: 12vh;
  left: -240px;
  animation-duration: 70s;
  width: 140px;
  height: 60px;
  animation-delay: -20s;
}

.cloud2 {
  top: 28vh;
  left: -100px;
  animation-duration: 90s;
  width: 110px;
  height: 44px;
  animation-delay: -45s;
}

.cloud3 {
  top: 55vh;
  left: -400px;
  animation-duration: 110s;
  width: 180px;
  height: 70px;
  animation-delay: -60s;
}

@keyframes cloud-move {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(120vw);
  }
}

/* Ensure content is above background */
header,
main,
footer,
.container {
  position: relative;
  z-index: 1;
}

/* Screen reader only content */
.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;
}

/* Article readability */
.article {
  width: 100%;
  padding: 0 0.75rem; /* extra horizontal padding for readability */
  box-sizing: border-box;
  text-align: left;
}

.article p {
  line-height: 1.7;
  margin: 0 0 1rem 0;
  color: #e6e9ff;
}

.article h2 {
  font-size: 1.25rem;
  margin: 0 0 0.8rem 0;
}

.article h3 {
  font-size: 1.1rem;
  margin: 1.2rem 0 0.6rem 0;
  color: #f5f7ff;
}

.article ul,
.article ol {
  margin: 0 0 1rem 0;
  padding-left: 1.2rem;
}

.article li {
  line-height: 1.7;
  margin: 0.3rem 0;
}
