/* === home.css — styles only for the homepage === */
main {
  flex: 1;
  background: linear-gradient(180deg, #fff, #e5e8f7);
}

/* Hero */
.hero {
  padding: 56px 0 36px;
  text-align:center;
  flex: 1;  /* This pushes footer down */
}


.hero-title {
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.hero-sub {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}
.divider {
  width:min(520px,90%);
  height:10px;
  margin:14px auto 16px;
  position:relative;
}
.divider::before, .divider::after {
  content:\"\"; position:absolute; left:0; right:0;
  height:2px; background:var(--line);
}
.divider::before{top:0}
.divider::after{bottom:0}
.hero-cta { margin-top:18px; display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.btn {
  display:inline-block; padding:10px 16px; border-radius:999px; border:1px solid var(--primary);
}

.btn-outline { background:transparent; color:var(--primary-ink); }
.preview-trigger:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}


/* Families */
.families { padding:28px 0; }
.section-title { font-size:20px; margin:0 0 10px; text-align:center; }
.family-grid {
  list-style:none; padding:0; margin:0 auto;
  display:grid; gap:10px;
  grid-template-columns:repeat(auto-fit, minmax(160px,1fr));
  max-width:900px;
}
.chip {
  display:block; text-align:center;
  background:var(--chip); border:1px solid var(--line);
  padding:10px 12px; border-radius:999px;
}
.chip:hover { box-shadow:0 2px 10px rgba(0,0,0,.06); }

/* Feature Cards */
.features { padding:18px 0 40px; }
.cards {
  display:grid; gap:16px;
  grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
}
.card {
  background:var(--card); border:1px solid var(--line); border-radius:16px; padding:16px;
  box-shadow:0 2px 10px rgba(10,20,60,.04);
}
.card h3 { margin:4px 0 6px; font-size:18px; }
.card p { margin:0 0 10px; color:var(--muted); }
.card-link {
  display:inline-block; padding:8px 12px; border-radius:10px;
  background:#f6f7ff; border:1px solid var(--line);
}
.card-link:hover { background:#eef0ff; }




.preview-section {
  padding: 40px 0;
}

#preview-panel {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;

  background-position: top center;
  background-size: contain;
  background-repeat: no-repeat;

}

  