/* =========================
   HOMEPAGE VISUALS v5.3
   ========================= */

.public-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 16px;
}

/* HERO */
.brand-headline {
  font-family: 'Bungee', system-ui, sans-serif;
  font-size: clamp(64px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}

.brand-sub {
  max-width: 720px;
  margin: 0 auto 12px;
  font-size: 14px;
  opacity: 0.9;
}

/* CTA SPACE */
#cta-root {
  min-height: 260px;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ENTRY ANIMATION — SAME FOR ALL STATES */
.cta {
  opacity: 0;
  transform: translateX(8px);
}

.cta.is-visible {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 500ms ease-out,
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* HOMEPAGE BUTTONS (STRICTLY SCOPED) */
.public-wrap .home-action-btn {
  font-family: 'Bungee', system-ui, sans-serif;
  font-size: 20px;
  letter-spacing: 1px;

  width: 360px;
  max-width: 92vw;
  padding: 18px 22px;
  border-radius: 999px;

  background: #ffffff;
  color: #0b4f8f;

  box-shadow: 0 6px 22px rgba(0,0,0,0.25);
  text-decoration: none;
  text-align: center;
}

.public-wrap .home-action-btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* LAYOUTS */
.public-wrap .cta.single .home-actions {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.public-wrap .cta.grid .home-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin-top: 10px;
  justify-items: center;
}

.public-wrap .home-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin-top: 20px;
  opacity: 0.85;
  justify-items: center;
}

/* FOOTER */
.footer {
  margin-top: 18px;
  font-size: 12px;
  opacity: 0.8;
}

/* MOBILE */
@media (max-width: 640px) {
  .public-wrap .cta.grid .home-actions,
  .public-wrap .home-secondary {
    grid-template-columns: 1fr;
  }
}

/* --- APP HEADER ACTIONS (RESTORED) --- */

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
}
