/* PigeonBox.io Unified Stylesheet */

@font-face {
  font-family: 'Inter';
  src: url('/assets/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-top: #4a6078;
  --bg-bottom: #0e1a2b;
  --text-primary: #f3d78c;
  --text-secondary: #c9d1d9;
  --text-link: #f4c851;
  --gold: #f3d78c;
  --accent: #f4c851;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background: linear-gradient(to bottom, var(--bg-top), var(--bg-bottom));
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  animation: fadeIn 0.6s ease-in-out both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 10vh;
}

h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

p.subtitle {
  font-size: 1.1rem;
  margin-top: 0.2rem;
  color: #d8dee9;
}

.logo-card {
  margin-top: 2.5rem;
  width: 200px;
  height: 200px;
  border-radius: 12px;
  background: url('/assets/logo-hero-full.webp') center/cover no-repeat;
  box-shadow: 0 6px 24px rgba(0,0,0,0.45);
}

.brand-mark {
  width: 56px;
  height: 56px;
  background: url('/assets/logo-badge.webp') center/contain no-repeat;
  margin-bottom: 2rem;
}

.tagline {
  margin-top: 2.2rem;
  max-width: 480px;
  line-height: 1.65;
}

.footer-links {
  margin-top: 2rem;
  font-size: 1rem;
}

a {
  color: var(--text-link);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

footer {
  font-size: 0.9rem;
  color: #b8c1cc;
  margin-bottom: 1.5rem;
}

/* Prose pages (about, why) */
.prose-page main {
  padding-top: 8vh;
  padding-bottom: 4rem;
}

.prose-page h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

article.prose {
  max-width: 560px;
  width: 90%;
  text-align: left;
  line-height: 1.8;
}

article.prose p {
  margin: 0 0 1.4rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

article.prose p.cta {
  margin-top: 2.4rem;
  text-align: center;
}

@media (max-width: 600px) {
  h1 { font-size: 2.2rem; }
  .logo-card { width: 150px; height: 150px; }
  .prose-page h1 { font-size: 1.6rem; }
}
