/* Stellaria public-site refinements: development notice, featured carousel, readable articles. */
.dev-note {
  flex: 0 0 auto;
  max-width: 170px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(124, 106, 167, .10);
  color: rgba(23,24,29,.56);
  font-size: 10.5px;
  font-weight: 850;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.core-tech-grid article { min-height: 286px; }
.article-grid a.article-card,
.article-grid a {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.62);
  box-shadow: 0 16px 45px rgba(20,24,33,.06);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.article-grid a:hover { transform: translateY(-5px); background: rgba(255,255,255,.88); box-shadow: 0 22px 60px rgba(20,24,33,.10); }
.featured-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 18px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x mandatory; }
.featured-card { scroll-snap-align: start; min-height: 260px; padding: 28px; border: 1px solid rgba(23,24,29,.10); border-radius: 30px; background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(237,231,247,.62)); box-shadow: 0 18px 52px rgba(20,24,33,.08); display: flex; flex-direction: column; justify-content: space-between; transition: transform .24s ease, box-shadow .24s ease; }
.featured-card:hover { transform: translateY(-6px); box-shadow: 0 26px 70px rgba(20,24,33,.12); }
.featured-card span { color: var(--violet); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.featured-card h3 { margin: 18px 0 12px; font-size: clamp(26px, 3vw, 38px); line-height: 1.02; letter-spacing: -.055em; }
.featured-card p { color: var(--muted); margin: 0; }
.team-card { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(22px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 58px); border: 1px solid rgba(23,24,29,.10); border-radius: 36px; background: rgba(255,255,255,.64); box-shadow: 0 22px 70px rgba(20,24,33,.08); }
.team-card h2 { margin: 0; font-size: clamp(38px, 7vw, 86px); line-height: .92; letter-spacing: -.075em; }
.team-card p { color: var(--muted); font-size: 18px; line-height: 1.85; }
.team-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.team-tags span { padding: 8px 12px; border-radius: 999px; background: #ede7ff; color: #6741b7; font-size: 13px; font-weight: 900; }
.demo-shot { background: rgba(255,255,255,.7); min-height: 260px; }
.demo-shot img { width: 100%; height: 260px; object-fit: cover; object-position: top center; border-radius: 24px 24px 0 0; background: #fff; }
.article-hero { padding: 150px min(7vw,80px) 42px; }
.article-hero h1 { max-width: 960px; font-size: clamp(46px, 8vw, 92px); line-height: .92; letter-spacing: -.075em; margin: 10px 0 20px; }
.article-hero p { max-width: 820px; color: var(--muted); font-size: 19px; }
.article-body { width: min(860px, calc(100% - 42px)); margin: 0 auto; padding: 42px 0 100px; }
.article-body h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.05; letter-spacing: -.055em; margin: 46px 0 14px; }
.article-body p, .article-body li { color: rgba(67,70,82,.92); font-size: 18px; line-height: 1.92; }
.article-body .note { padding: 20px 22px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.68); color: var(--muted); }
.article-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@media (max-width: 1120px) { .dev-note { max-width: 120px; font-size: 10px; padding: 4px 7px; } }
@media (max-width: 920px) {
  .dev-note {
    position: absolute;
    left: 28px;
    top: calc(100% + 6px);
    z-index: 4;
    display: inline-flex;
    max-width: none;
    padding: 4px 8px;
    font-size: 9.5px;
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(124,106,167,.18);
    backdrop-filter: blur(16px) saturate(150%);
    box-shadow: 0 8px 24px rgba(20,24,33,.08);
  }
  .core-tech-grid { grid-template-columns: 1fr; }
  .featured-carousel { grid-auto-columns: minmax(78vw, 1fr); }
  .team-card { grid-template-columns: 1fr; border-radius: 28px; }
  .article-hero { padding: 128px 24px 34px; }
  .article-body { width: min(100% - 30px, 860px); }
  .article-body p, .article-body li { font-size: 16px; line-height: 1.85; }
}
@media (max-width: 520px) { .demo-shot img { height: 220px; } }
