* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  background: #ffffff;
  color: #2f3337;
  text-align: center;
}

/* ───────────────────────────── */
/* HERO / LANDING */
/* ───────────────────────────── */

.hero {
  padding: 56px 16px 48px;
}

.hero > * {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero .logo {
  width: 180px;
  max-width: 65%;
  height: auto;
  margin-bottom: 32px;
}

.hero .copy {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero .copy p {
  margin: 0 0 16px;
}

.hero .contrast {
  font-size: 15px;
  color: #555;
}

/* NAV */

.links {
  margin: 32px auto 20px;
  max-width: 720px;     
  width: 100%;         

  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

.links a {
  color: #5a6168;
  text-decoration: none;
  padding: 6px 8px;
}

.links a:hover {
  color: #2b6cb0;
}

/* FOOTER TEXT */

.muted {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 16px;
}

/* ───── Desktop bump ───── */

@media (min-width: 768px) {
  .hero {
    padding: 88px 24px 72px;
  }

  .hero .logo {
    width: 240px;
  }

  .hero .copy {
    font-size: 17px;
  }

  .hero .contrast {
    font-size: 16px;
  }
}

/* ───────────────────────────── */
/* EXISTING SITE STYLES */
/* ───────────────────────────── */

.top {
  padding: 40px 20px 20px;
}

.logo.small {
  width: 280px;
  margin-bottom: 24px;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.page h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.subtitle {
  color: #6b7280;
  margin-bottom: 48px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);

  display: flex;
  flex-direction: column;
  min-height: 620px;
}

.media {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.media img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.header {
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header h3 {
  margin: 0 0 4px;
}

.tagline {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.card li {
  margin-bottom: 8px;
}

.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: auto;
}

button {
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  border: none;
}

button.primary {
  background: #2b6cb0;
  color: white;
}

button.secondary {
  background: #e5e7eb;
  color: #111827;
}

.footnote {
  margin-top: 48px;
  font-size: 12px;
  color: #9ca3af;
}

/* IMAGE TUNING */

.card.continuum .media img {
  transform: scale(0.70) translateY(40px);
}

.card.aichemy .media img {
  transform: scale(1.05) translateY(-10px);
}

.card.familiars .media img {
  transform: scale(1.05) translateY(40px);
}

