/* apps/soundgrid/soundgrid.css — minimal, scoped */

.sg-page{ color: rgba(255,255,255,.92); }

/* Hero */
.sg-hero{
  margin: 10px 0 18px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
}

.sg-heroRow{
  display: flex;
  align-items: center;
  gap: 18px;
}

.sg-heroTitle{
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.sg-logo{
  width: 80px;
  height: 80px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
}

.sg-h1{
  margin: 0;
  font-weight: 900;
  letter-spacing: .2px;
}

.sg-lead{
  margin: 6px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 16px;
}

.sg-install{
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
}

/* Cards */
.sg-card{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
  padding: 16px;
  margin: 14px 0;
}

.sg-h2{
  margin: 0 0 10px;
  font-weight: 900;
  font-size: 20px;
}

.sg-h3{
  margin: 0 0 6px;
  font-weight: 900;
  font-size: 16px;
}

.sg-muted{ color: rgba(255,255,255,.70); }

/* Features */
.sg-features{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sg-feature{
  display: flex;
  gap: 12px;
  align-items: center;
}

.sg-ico{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91,192,222,.14);
  border: 1px solid rgba(91,192,222,.22);
  color: #a8ecff;
  flex: 0 0 auto;
}

.sg-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,.72);
}

.sg-list li{ margin: 4px 0; }

/* Snap badge */
.snap-badge{
  max-width: 260px;
  width: 100%;
  transition: transform .18s ease;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}
.snap-badge:hover{ transform: translateY(-1px); }

/* Embed */
.sg-embed{
  margin-top: 12px;
  position: relative;
  width: 100%;
  height: clamp(860px, 90vh, 1040px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
}

.sg-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sg-tip{
  margin-top: 10px;
  color: rgba(255,255,255,.65);
  font-size: 13.5px;
}

.sg-tip a{ color: #a8ecff; }


.proj-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
  border: 1px solid rgba(91,192,222,.25);
  background: rgba(91,192,222,.14);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.proj-btn:hover{
  transform: translateY(-1px);
  background: rgba(91,192,222,.18);
  border-color: rgba(91,192,222,.35);
}

/* Responsive */
@media (max-width: 768px){
  .sg-embed{ height: clamp(760px, 92vh, 980px); }

  .sg-heroRow{
    flex-direction: column;
    align-items: flex-start;
  }

  .sg-install{
    width: 200px;
    margin-left: 0;
  }

  .sg-features{
    grid-template-columns: 1fr;
  }
}