/* =============================================================
   صفحه‌ی Kayren Nest — فقط چیزهایی که page-onyx.css ندارد:
   لوگوی هدر و قاب گوشی برای عکس‌های اپ. رنگ‌ها از tokens.css
   (بلوک data-page="nest") می‌آیند.
   ============================================================= */
.brand-nest { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; color: var(--c-text); text-decoration: none; }
.brand-nest .bb-mark { height: 34px; width: auto; }
.brand-nest .bb-name { font-weight: 800; font-size: 19px; letter-spacing: .2px; white-space: nowrap; }
@media (max-width: 900px) {
  .brand-nest .bb-mark { height: 28px; }
  .brand-nest .bb-name { font-size: 16px; }
}
@media (max-width: 380px) { .brand-nest .bb-name { display: none; } }

/* لوگوی تیره روی زمینه‌ی تیره دیده نمی‌شود؛ مثل نشان N در خود اپ برعکس می‌شود */
html[data-theme="dark"] .brand-nest .bb-mark,
html[data-theme="dark"] .nest-hero-logo { filter: invert(1) hue-rotate(180deg); }

/* عکس‌های گوشی: چهار ستون، روی گوشی کشیدنی افقی */
.nest-phones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nest-phone { margin: 0; text-align: center; }
.nest-phone-frame { border-radius: 34px; padding: 8px; background: #16181C; box-shadow: var(--shadow-lg);
  aspect-ratio: 390 / 844; overflow: hidden; }
.nest-phone-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; }
.nest-phone-cap { margin: 14px 0 0; font-weight: 700; color: var(--c-text); }
@media (max-width: 900px) {
  .nest-phones { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    margin-inline: calc(var(--sp-6) * -1); padding: 4px var(--sp-6) 12px; scrollbar-width: none; }
  .nest-phones::-webkit-scrollbar { display: none; }
  .nest-phone { flex: 0 0 62%; scroll-snap-align: center; }
}
