/*
  Homepage: Saharvi's seven products.
  Loaded after styles.css, which is an unchanged copy of the live site's stylesheet.
*/

/* ---------- hero: the family of apps ---------- */
.family { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.family a { display: block; border-radius: 24%; transition: transform .2s ease; }
.family a:hover { transform: translateY(-3px); }
.family img { width: 54px; height: 54px; border-radius: 24%; box-shadow: 0 12px 22px -14px rgba(60, 20, 50, 0.6); }
.family .first img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--rose), 0 12px 22px -14px rgba(60, 20, 50, 0.6); }

/* ---------- life stages ---------- */
.roadmap.stages::before { background: var(--line); }
.roadmap.stages li:last-child::before { border-color: var(--line); color: var(--dim); }
.roadmap.stages li.now::before { border-color: var(--rose); color: #fff; }
.roadmap .app { display: flex; align-items: center; gap: 10px; }
.roadmap .app img { width: 36px; height: 36px; border-radius: 24%; }
.roadmap .age { font-family: var(--mono); font-size: 0.75rem; color: var(--dim); }
.across { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 16px; }
.across h3 { font-size: var(--step-1); }
.across ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.across li { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; min-width: 0; }
.across img { width: 44px; height: 44px; border-radius: 24%; flex: none; }
.across strong { display: block; }
.across span { color: var(--dim); font-size: var(--step--1); }

/* ---------- Lunelle band ---------- */
.product .wordmark { width: 170px; }
.product .status { display: flex; align-items: center; gap: 12px; }

/* ---------- six apps in design ---------- */
.apps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.apps li { --accent: var(--rose); --tint: var(--pink-soft); background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 24px; }
.apps .screens { background: var(--tint); border-bottom: 1px solid var(--line); }
.apps .screens img { width: 100%; aspect-ratio: 1400 / 872; object-fit: cover; object-position: top; }
.apps .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.apps .name { display: flex; align-items: center; gap: 12px; }
.apps .name img { width: 48px; height: 48px; border-radius: 24%; flex: none; }
.apps h3 { font-size: 1.5rem; letter-spacing: -0.02em; color: var(--accent); }
.apps .about { font-family: var(--mono); font-size: 0.75rem; color: var(--dim); }
.apps p { color: var(--dim); font-size: var(--step--1); }
.apps .what { color: var(--text); font-size: var(--step-0); line-height: 1.5; }
.apps .foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.apps .foot strong { color: var(--text); }
.apps li { position: relative; }
.apps .pill { position: absolute; top: 14px; left: 14px; background: #fff; border-color: transparent; color: var(--accent); box-shadow: 0 6px 14px -8px rgba(60, 20, 50, 0.5); }
.apps .prya { --accent: #5b2a6e; --tint: #f1eaf6; }
.apps .mira { --accent: #c9482f; --tint: #fff0e6; }
.apps .evara { --accent: #7a1f4b; --tint: #f6e9ea; }
.apps .dewra { --accent: #0b7672; --tint: #e9f6f4; }
.apps .nouria { --accent: #557a48; --tint: #f6f1e2; }
.apps .serein { --accent: #3e3f9b; --tint: #ecedf8; }
.fineprint { margin-top: 28px; color: var(--dim); font-size: 0.78rem; max-width: 80ch; }

@media (max-width: 960px) {
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .apps, .across ul { grid-template-columns: 1fr; }
  .family img { width: 44px; height: 44px; }
}
